]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update scripts/list-sources.sh for ports repository merge.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
354426bb
JM
12014-06-26 Joseph Myers <joseph@codesourcery.com>
2
3 * scripts/list-sources.sh: Do not handle ports specially.
4
28b0a8c9
RM
52014-06-26 Roland McGrath <roland@hack.frob.com>
6
a3dd035d
RM
7 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8 * sysdeps/arm/feupdateenv.c: Likewise.
9
28b0a8c9
RM
10 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11
e66a8203
JM
122014-06-26 Joseph Myers <joseph@codesourcery.com>
13
14 * manual/texinfo.tex: Update to version 2014-05-05.10 with
15 trailing whitespace removed.
16 * scripts/config.guess: Update to version 2014-03-23.
17 * scripts/config.sub: Update to version 2014-05-01
18 * scripts/install-sh: Update to version 2013-12-25.23.
19 * scripts/move-if-change: Update from gnulib.
20
74171115
SP
212014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22
b97c9ce5
SP
23 * debug/memmove_chk.c: Remove pagecopy.h include.
24
4000f892
SP
252014-06-26 Paul Eggert <eggert@cs.ucla.edu>
26
74171115
SP
27 * time/mktime.c (leapyear): Remove inline keyword. The code is now
28 identical to gnulib mktime.
29
a8779c28
JM
302014-06-26 Joseph Myers <joseph@codesourcery.com>
31
e64708de
JM
32 * configure.ac: Do not test for machine being rs6000. Do not test
33 for powerpc*-*soft.
34 * configure: Regenerated.
35
a8779c28
JM
36 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37 test.
38 * configure: Regenerated.
39 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
40 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41 Remove configure test.
42 * sysdeps/arm/configure: Regenerated.
43 * sysdeps/nptl/configure.ac: Do not check
44 libc_cv_asm_cfi_directives.
45 * sysdeps/nptl/configure: Regenerated.
46 * sysdeps/x86_64/nptl/configure.ac: Remove file.
47 * sysdeps/x86_64/nptl/configure: Remove generated file.
48 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
49 unconditional.
50 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
51
2aac0a86
SP
522014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53
059bf913
SP
54 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
55 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
56 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
57 it is defined.
58
4cf5b6d0
SP
59 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
60 instead of whether it is defined.
61 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
62 * sysdeps/hppa/dl-machine.h: Likewise.
63 * sysdeps/ia64/dl-machine.h: Likewise.
64 * sysdeps/m68k/dl-machine.h: Likewise.
65 * sysdeps/microblaze/dl-machine.h: Likewise.
66 * sysdeps/mips/dl-machine.: Likewise.
67 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71 * sysdeps/sh/dl-machine.h: Likewise.
72 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74 * sysdeps/tile/dl-machine.h: Likewise.
75 * sysdeps/x86_64/dl-machine.h: Likewise.
76
2aac0a86
SP
77 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
78 code.
79 (verify_persistent_db): Likewise.
80
6ad2df0b
RM
812014-06-26 Roland McGrath <roland@hack.frob.com>
82
d8a483f3
RM
83 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
84 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
85 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
87 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
88 Moved ...
89 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
90 ... here.
91 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
93 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
94 Identical file removed.
95 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
97 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
99 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
106 Moved ...
107 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
109 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
111 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
113 Moved ...
114 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
118 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
120 Identical file removed.
121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
122 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
124 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
126 Moved ...
127 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
128 ... here.
129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
136 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
140 Moved ...
141 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
143 Moved ...
144 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
146 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
148 Moved ...
149 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
152
52ae23b4
RM
153 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
154 folded into ...
155 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
156 * sysdeps/unix/sysv/linux/s390/Versions
157 (libpthread: GLIBC_2.19): New version set.
158 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
159 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
160 (librt: GLIBC_2.3.3): New version set.
161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
162 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
163 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
164 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
165 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
166 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
167 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
168 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
169 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
170 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
171 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
172 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
173 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
174 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
175 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
176 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
177 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
178 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
179 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
180 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
181 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
182 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
183 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
184 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
185 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
186 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
187 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
188 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
189 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
190 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
191 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
192 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
197 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
198 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
199 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
200 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
201 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
203 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
204 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
205 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
206
39507e4a
RM
207 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
208 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
209 (__libc_vfork): Define the function under this name.
210 [!NOT_IN_libc] (__vfork): Make this an alias.
211 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
212 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
213 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
214 (__libc_vfork): Define the function under this name.
215 [!NOT_IN_libc] (__vfork): Make this an alias.
216 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
217 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
218 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
220 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
221 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
222
e549ee56
RM
223 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
224 code that was previously under [RESET_PID].
225 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
226 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
228
6ad2df0b
RM
229 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
230 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
231 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
232 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
233 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
234 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
235 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
236 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
237 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
238 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
239 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
240 Moved ...
241 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
242 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
243 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
244 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
246 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
248 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
249 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
250 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
251 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
252 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
253 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
254 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
256 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
257 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
258 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
260 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
261 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
262 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
263 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
264 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
265 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
266 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
267 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
268 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
269 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
270
7c1c1d8e
RM
2712014-06-25 Roland McGrath <roland@hack.frob.com>
272
273 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
274 that was previously under [RESET_PID].
275 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
276
3e239be6
JM
2772014-06-25 Joseph Myers <joseph@codesourcery.com>
278
74385da5
JM
279 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
280 not undefine and redefine.
281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
282 [O_CLOEXEC]: Make code unconditional.
283 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
284 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
285 <kernel-features.h>.
286 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
287 conditional variable definition.
288 (shm_open) [O_CLOEXEC]: Make code unconditional.
289 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
290 code.
291
c2570a0b
JM
292 * configure.ac (USE_REGPARMS): Don't define here.
293 * configure: Regenerated.
294 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
295 * sysdeps/i386/configure: Regenerated.
296
11b076bb
JM
297 * nptl/createthread.c: Don't include kernel-features.h.
298 * nptl/pthread_cancel.c: Likewise.
299 * nptl/pthread_condattr_setclock.c: Likewise.
300 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
301 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
302 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
303 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
304 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
305 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
306 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
309 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
310 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
311 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
312 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
313 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
314 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
315 * nscd/gai.c: Likewise.
316 * nss/nss_db/db-open.c: Likewise.
317 * sysdeps/generic/ldsodefs.h: Likewise.
318 * sysdeps/sh/nptl/tls.h: Likewise.
319 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
320 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
321 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
322 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
323 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
324 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
325 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
326 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
327 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
328 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
329 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
330 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
331 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
332 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
333 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
334 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
335 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
336 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
337 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
338 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
339 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
340 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
341 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
342 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
343 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
344 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
345 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
346 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
347 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
348 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
349 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
350 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
351 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
352 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
353 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
354 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
355 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
356 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
357 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
358 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
359 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
360 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
361 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
362 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
363 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
364 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
365 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
366 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
367 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
368 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
369 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
370 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
371 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
372 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
373 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
374 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
375 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
399 * sysdeps/unix/sysv/linux/pread.c: Likewise.
400 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
401 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
402 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
403 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
404 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
405 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
406 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
407 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
408 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
409 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
410 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
411 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
412 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
413 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
414 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
415 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
416 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
417 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
418 * sysdeps/unix/sysv/linux/system.c: Likewise.
419 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
420 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
421 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
422 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
423 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
424 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
425 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
426
92072d57
JM
427 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
428 * configure: Regenerated.
429 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
430
3e239be6
JM
431 * configure.ac (base_machine): Do not set specially for particular
432 machines here.
433 * configure: Regenerated.
434 * sysdeps/powerpc/preconfigure: Move machine and base_machine
435 settings from configure.ac.
436 * sysdeps/i386/preconfigure: New file.
437 * sysdeps/s390/preconfigure: Likewise.
438 * sysdeps/sh/preconfigure: Likewise.
439 * sysdeps/sparc/preconfigure: Likewise.
440
06d50baa
RM
4412014-06-25 Roland McGrath <roland@hack.frob.com>
442
74836003
RM
443 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
444 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
445 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
446 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
447 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
448 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
449 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
450 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
451 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
452 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
453 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
454 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
455 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
456 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
457 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
458 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
459 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
460 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
461 * sysdeps/sparc/sparc64/Makefile: ... appended here.
462
463 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
464 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
465 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
466 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
467 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
468 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
469 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
470 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
471 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
472 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
473 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
474 * sysdeps/sparc/sparc32/sem_post.c: ... here.
475 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
476 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
477 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
478 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
479 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
480 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
481 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
482 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
483 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
484 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
485 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
486 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
488 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
489 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
490 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
491 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
492 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
493 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
494 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
495 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
496 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
497 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
498 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
499 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
500 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
501
06d50baa
RM
502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
503 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
505 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
507 Moved ...
508 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
509 ... here.
510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
511 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
513 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
515 Moved ...
516 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
518 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
522 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
524 Moved ...
525 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
527 Moved ...
528 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
530 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
532 Moved ...
533 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
535 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
537 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
539 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
543 Moved ...
544 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
545 ... here.
546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
547 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
549 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
551 Moved ...
552 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
554 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
556 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
560 Moved ...
561 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
563 Moved ...
564 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
568 Moved ...
569 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
571 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
573 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
574
a4ccbc9b
JM
5752014-06-25 Joseph Myers <joseph@codesourcery.com>
576
0828edbf
JM
577 * timezone/checktab.awk: Update from tzcode 2014e.
578 * timezone/private.h: Likewise.
579 * timezone/tzfile.h: Likewise.
580 * timezone/zdump.c: Likewise.
581 * timezone/zic.c: Likewise.
582
a4ccbc9b
JM
583 * sysdeps/unix/sysv/linux/kernel-features.h
584 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
585 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
586 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
587 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
588 Remove conditional code.
589
9aea0cb8
WN
5902014-06-25 Will Newton <will.newton@linaro.org>
591
592 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
593 (_dl_arm_cap_flags): Add HWCAP2 values.
594 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
595 (_DL_HWCAP_COUNT): Increase to 37.
596 (_DL_HWCAP_LAST): New define.
597 (_DL_HWCAP2_LAST): New define.
598 (_dl_procinfo): Add support for printing
599 AT_HWCAP2 entries.
600 (_dl_string_hwcap): Use _dl_hwcap_string.
601
6eaa65ce
AZ
6022014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
603
604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
605
0f5b7185
JM
6062014-06-25 Joseph Myers <joseph@codesourcery.com>
607
cfd2ea50
JM
608 * README: Do not mention ports directory.
609
cecf2ed4
JM
610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
611 Remove macro.
612 * sysdeps/unix/sysv/linux/futimes.c: Do not include
613 <kernel-features.h>.
614 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
615 conditional variable definition.
616 (__futimes): Update comment.
617 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
618 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
619
a638de82
JM
620 [BZ #16560]
621 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
622 arguments close to 0.
623 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
624 Likewise.
625 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
626 Likewise.
627 * math/auto-libm-test-in: Add more tests of exp10.
628 * math/auto-libm-test-out: Regenerated.
629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
630
0f5b7185
JM
631 * sysdeps/unix/sysv/linux/kernel-features.h
632 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
633 * sysdeps/unix/sysv/linux/readv.c: Do not include
634 <kernel-features.h>.
635 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
636 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
637 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
638 unconditional.
639 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
640 conditional code.
641 * sysdeps/unix/sysv/linux/writev.c: Do not include
642 <kernel-features.h>.
643 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
644 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
645 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
646 unconditional.
647 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
648 conditional code.
649
c7aec4be
WN
6502014-06-25 Will Newton <will.newton@linaro.org>
651
652 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
653 comment changes throughout the file. Remove checks
654 for HAVE_*_H definitions that are not required.
655 (__gen_tempname): Call abort if an unknown kind value is
656 passed.
657
c5241f95
AS
6582014-06-25 Andreas Schwab <schwab@suse.de>
659
660 [BZ #17086]
661 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
662 scalbln, scalblnf, scalblnl in libc.
663
911422da
SP
6642014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
665
666 [BZ #17086]
667 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
668 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
669 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
670
0d749bbe
RM
6712014-06-24 Roland McGrath <roland@hack.frob.com>
672
673 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
674 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
675 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
676 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
677 Update #include.
678 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
679 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
680 Update #include.
681 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
682 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
683 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
684 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
685 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
686 * sysdeps/x86/bits/pthreadtypes.h: ... here.
687 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
688 * sysdeps/x86/bits/semaphore.h: ... here.
689 * sysdeps/x86/nptl/elide.h: Moved ...
690 * sysdeps/x86/elide.h: ... here.
691 * sysdeps/x86_64/nptl/Implies: File removed.
692 * sysdeps/i386/nptl/Implies: File removed.
693
0ea5d373
JM
6942014-06-24 Joseph Myers <joseph@codesourcery.com>
695
4060283d
JM
696 [BZ #16539]
697 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
698 return the argument for normal arguments with exponent below -64.
699 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
700 Likewise.
701 * math/auto-libm-test-in: Add another test of expm1.
702 * math/auto-libm-test-out: Regenerated.
703
e7dd3c8c
JM
704 [BZ #16287]
705 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
706 calling __erfcl for arguments at least 16.
707 * math/auto-libm-test-in: Add more tests of erf.
708 * math/auto-libm-test-out: Regenerated.
709
0ea5d373
JM
710 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
711 individual architectures.
712 * sysdeps/unix/sysv/linux/configure: Regenerated.
713 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
714 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
715 * sysdeps/unix/sysv/linux/powerpc/configure.ac
716 (ldd_rewrite_script): Define variable.
717 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
719 file.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
721 generated file.
722 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
723 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
724 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
725 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
726 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
727 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
728 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
729 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
730
2307e126
SP
7312014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
732
733 [BZ #17084]
734 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
735 Rename member __data.d to __data.__elision_data.
736
c0a4ed77
W
7372014-06-24 Wilco <wdijkstr@arm.com>
738
739 * NEWS: Add 16918 to fixed bug list.
740
b8c00573
W
7412014-06-24 Wilco <wdijkstr@arm.com>
742
743 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
744
b5570d92
W
7452014-06-24 Wilco <wdijkstr@arm.com>
746
747 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
748 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
749 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
750 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
751 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
752 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
753 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
754 Use _FPU_MASK_RM.
755
947bdca2
W
7562014-06-24 Wilco <wdijkstr@arm.com>
757
758 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
759
00f669ed
W
7602014-06-24 Wilco <wdijkstr@arm.com>
761
762 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
763 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
764 * sysdeps/arm/fesetround.c (fesetround): Remove space.
765 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
766
db59bad3
W
7672014-06-24 Wilco <wdijkstr@arm.com>
768
769 [BZ #16918]
770 * sysdeps/arm/feupdateenv.c (feupdateenv):
771 Rewrite to reduce FPSCR accesses and fix return value.
772
001f7b77
W
7732014-06-24 Wilco <wdijkstr@arm.com>
774
775 * sysdeps/arm/fclrexcpt.c (feclearexcept):
776 Optimize to avoid unnecessary FPSCR writes.
777 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
778 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
779 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
780 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
781
4841e6a6
W
7822014-06-24 Wilco <wdijkstr@arm.com>
783
784 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
785 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
786 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
787 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
788 Call libc_fetestexcept_vfp.
789 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
790 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
791 __SOFTFP__ ifdef so that they can be built for softfp.
792
0813022c
SP
7932014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
794
08e5862f
SP
795 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
796 argument type signed char.
797
0813022c
SP
798 * Makerules (check-abi): Dump diff of symlist if the test
799 fails.
800
3fc7236a
RM
8012014-06-23 Roland McGrath <roland@hack.frob.com>
802
aba8ef95
RM
803 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
804 using abort.
805
3fc7236a
RM
806 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
807 Remove unused variable ST.
808
4da6db51
JM
8092014-06-23 Joseph Myers <joseph@codesourcery.com>
810
4648909d
JM
811 [BZ #16354]
812 [BZ #17061]
813 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
814 small arguments before calling __expm1.
815 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
816 small arguments before calling __expm1f.
817 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
818 small arguments before calling __expm1l.
819 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
820 Likewise.
821 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
822 * math/auto-libm-test-in: Add more cosh tests. Do not allow
823 spurious underflow for some cosh tests.
824 * math/auto-libm-test-out: Regenerated.
825 * sysdeps/i386/fpu/libm-test-ulps: Update.
826
46a3d3c7
JM
827 [BZ #17050]
828 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
829 (__ieee754_y1): Set errno if return value overflows.
830 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
831 (__ieee754_y1f): Set errno if return value overflows.
832 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
833 (__ieee754_y1l): Set errno if return value overflows.
834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
835 (__ieee754_y1l): Set errno if return value overflows.
836 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
837 * math/auto-libm-test-out: Regenerated.
838
863893ec
JM
839 * math/gen-auto-libm-tests.c: Document use of
840 ignore-zero-inf-sign.
841 (input_flag_type): Add value flag_ignore_zero_inf_sign.
842 (input_flags): Add ignore-zero-inf-sign.
843 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
844 * math/gen-libm-test.pl (generate_testfile): Handle
845 ignore-zero-inf-sign.
846 * math/auto-libm-test-in: Mark some cpow tests with
847 ignore-zero-inf-sign and some with xfail-rounding.
848 * math/auto-libm-test-out: Regenerated.
849 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
850 * sysdeps/i386/fpu/libm-test-ulps: Update.
851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
852
4da6db51
JM
853 [BZ #16315]
854 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
855 overflowing or underflowing operations take place with sign of
856 result.
857 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
858 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
859 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
860 (__ieee754_pow): Recompute overflowing and underflowing results in
861 original rounding mode.
862 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
863 (__powl_helper): Allow negative argument X and scale negated value
864 as needed. Avoid passing value outside [-1, 1] to f2xm1.
865 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
866 overflowing or underflowing operations take place with sign of
867 result.
868 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
869 Include <math.h>.
870 * math/auto-libm-test-in: Add more tests of pow.
871 * math/auto-libm-test-out: Regenerated.
872 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
873 (pow_tonearest_test_data): Remove.
874 (pow_test_tonearest): Likewise.
875 (pow_towardzero_test_data): Likewise.
876 (pow_test_towardzero): Likewise.
877 (pow_downward_test_data): Likewise.
878 (pow_test_downward): Likewise.
879 (pow_upward_test_data): Likewise.
880 (pow_test_upward): Likewise.
881 (main): Don't call removed functions.
882 * sysdeps/i386/fpu/libm-test-ulps: Update.
883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
884
5686b236
RM
8852014-06-23 Roland McGrath <roland@hack.frob.com>
886
887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
888 Moved ...
889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
891 Moved ...
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
894 Moved ...
895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
897 Moved ...
898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
900 File removed.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
902 File removed.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
904 File removed.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
906 File removed.
907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
908 File removed.
909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
910 File removed.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
912 File removed.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
914 File removed.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
916 File removed.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
918 File removed.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
920 File removed.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
922 File removed.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
924 Moved ...
925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
927 Moved ...
928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
929 ... here.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
931 Moved ...
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
934 Moved ...
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
937 Moved ...
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
940 Moved ...
941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
943 Moved ...
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
946 Moved ...
947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
949 Moved ...
950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
953 ... here.
954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
955 Moved ...
956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
958 Moved ...
959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
960 ... here.
961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
962 Moved ...
963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
964 ... here.
965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
966 Moved ...
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
968 ... here.
969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
970 Moved ...
971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
973 Moved ...
974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
978 Moved ...
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
980 ... here.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
982 Moved ...
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
984 ... here.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
986 Moved ...
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
989 Moved ...
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
992 Moved ...
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
995 Moved ...
996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
998 Moved ...
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1000 ... here.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1002 Moved ...
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1005 Moved ...
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1008 Moved ...
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1011 Moved ...
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1016 Moved ...
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1019 Moved ...
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1022 Moved ...
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1024 ... here.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1026 Moved ...
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1028 ... here.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1030 Moved ...
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1032 ... here.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1034 Moved ...
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1037 Moved ...
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1040 Moved ...
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1043 Moved ...
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1045 ... here.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1047 Moved ...
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1049 ... here.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1051 Moved ...
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1053 ... here.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1055 Moved ...
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1058 Moved ...
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1060
e6d90d67
WD
10612014-06-23 Will Newton <will.newton@linaro.org>
1062 Wilco <wdijkstr@arm.com>
1063
1064 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1065 implementation. Include get-rounding-mode.h.
1066 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1067 [!libc_feholdsetround_noex_ctx]: Define
1068 libc_feholdsetround_noex_ctx.
1069 [!libc_feholdsetround_noexf_ctx]: Define
1070 libc_feholdsetround_noexf_ctx.
1071 [!libc_feholdsetround_noexl_ctx]: Define
1072 libc_feholdsetround_noexl_ctx.
1073 (libc_feholdsetround_ctx): New function.
1074 (libc_feresetround_ctx): New function.
1075 (libc_feholdsetround_noex_ctx): New function.
1076 (libc_feresetround_noex_ctx): New function.
1077
d42df555
RM
10782014-06-23 Roland McGrath <roland@hack.frob.com>
1079
88a46474
RM
1080 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1081 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1082 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1083 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1084 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1085 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1086
15bed472
RM
1087 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1088 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1089 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1090 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1091 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1092 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1093 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1094 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1095 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1096 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1097 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1098 Moved ...
1099 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1100 ... here.
1101 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1102 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1104 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1105 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1106 Moved ...
1107 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1109 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1111 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1113 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1115 Moved ...
1116 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1118 Moved ...
1119 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1123 Moved ...
1124 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1125 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1126 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1127 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1128 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1129 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1130 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1131 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1132 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1134 Moved ...
1135 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1136 ... here.
1137 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1150 Moved ...
1151 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1153 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1155 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1157 Moved ...
1158 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1162 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1163
d42df555
RM
1164 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1165 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1166 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1191 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1192
76e5216e
JM
11932014-06-23 Joseph Myers <joseph@codesourcery.com>
1194
1195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1196 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1197 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1198 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1199 (IPV6_PMTUDISC_INTERFACE): Likewise.
1200 (IPV6_PMTUDISC_OMIT): Likewise.
1201
7a81cbcc
AS
12022014-06-23 Andreas Schwab <schwab@suse.de>
1203
1204 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1205 Remove unused errout label.
1206
db224009
AZ
12072014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1208
1209 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1210 macro: hardware supports Vector Crypto instructions.
1211
f393b4aa
WN
12122014-06-23 Will Newton <will.newton@linaro.org>
1213
cc7d0447
WN
1214 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1215 rather than __builtin_expect.
1216
d6d06225
WN
1217 * elf/dl-lookup.c (undefined_msg): Remove variable.
1218 (_dl_lookup_symbol_x): Replace undefined_msg with string
1219 literal.
1220
f393b4aa
WN
1221 * elf/dl-lookup.c (do_lookup_unique): New function.
1222 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1223 to a separate function.
1224
ac60763e
AS
12252014-06-23 Andreas Schwab <schwab@suse.de>
1226
1227 [BZ #17079]
1228 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1229 before reading the next line.
1230
c5c13355
WN
12312014-06-23 Will Newton <will.newton@linaro.org>
1232
1233 * test-skeleton.c (signal_handler): Use printf and %m
1234 rather than perror. Use printf rather than fprintf to
1235 stderr. Use puts rather than fputs to stderr.
1236 (main): Likewise.
1237
bd3675f9
LC
12382014-06-22 Ludovic Courtès <ludo@gnu.org>
1239
1240 * nscd/nscd.c (thread_info_t): Remove typedef.
1241 (thread_info): Remove variable.
1242
d03efb2f
AM
12432014-06-21 Allan McRae <allan@archlinux.org>
1244
1245 * NEWS: Mention CVE-2014-4043.
1246
bc4a86fa
RM
12472014-06-20 Roland McGrath <roland@hack.frob.com>
1248
dc9a54f8
RM
1249 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1250 * nptl/smp.h: ... here.
1251
bd7022c4
RM
1252 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1253
26ffd5e6
RM
1254 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1255 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1256 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1257 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1258
93a6d082
RM
1259 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1260 * nptl/stack-aliasing.h: New file.
1261 * sysdeps/i386/i686/stack-aliasing.h: New file.
1262 * sysdeps/i386/i686/nptl/Makefile: File removed.
1263 * sysdeps/x86_64/stack-aliasing.h: New file.
1264 * sysdeps/x86_64/nptl/Makefile
1265 (CFLAGS-pthread_create.c): Variable removed.
1266
bc4a86fa
RM
1267 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1268 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1269 old file.
1270 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1271 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1272 old file.
1273
2272ffc1
JM
12742014-06-21 Joseph Myers <joseph@codesourcery.com>
1275
1276 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1277 (__ASSUME_SIGFRAME_V2): Remove macro.
1278 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1279 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1280 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1281 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1282 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1283 Declare as function. Remove conditional macro definitions.
1284 (__default_rt_sa_restorer): Likewise.
1285 (__default_sa_restorer_v1): Remove declaration.
1286 (__default_sa_restorer_v2): Likewise.
1287 (__default_rt_sa_restorer_v1): Likewise.
1288 (__default_rt_sa_restorer_v2): Likewise.
1289 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1290 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1291 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1292
4b88139b
RM
12932014-06-20 Roland McGrath <roland@hack.frob.com>
1294
1295 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1296 (libpthread-routines): Add sysdep.
1297 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1298 * sysdeps/unix/sysv/linux/sparc/Versions
1299 (libpthread: GLIBC_2.3.3): New version set.
1300 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1301 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1302 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1303 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1304 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1305 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1306 Moved ...
1307 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1309 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1311 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1313 * sysdeps/sparc/nptl/sem_init.c: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1315 * sysdeps/sparc/nptl/sem_post.c: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1317 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1319 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1321 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1322 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1323 (libpthread-routines): Add cpu_relax.
1324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1325 File removed.
1326 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1327 (librt: GLIBC_2.3.3): New version set.
1328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1329 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1331 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1334 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1336 Moved ...
1337 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1339 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1341 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1343 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1345 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1347 Moved ...
1348 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1349 Update #include.
1350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1351 Moved ...
1352 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1353 Update #include.
1354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1355 Moved ...
1356 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1357 Update #include.
1358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1359 Moved ...
1360 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1361 Update #include.
1362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1363 Moved ...
1364 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1365 Update #include.
1366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1367 Moved ...
1368 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1369 Update #include.
1370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1371 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1377 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1379 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1381 Moved ...
1382 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1384 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1386 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1387
d7109027
JM
13882014-06-20 Joseph Myers <joseph@codesourcery.com>
1389
9bc6103d
JM
1390 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1391 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1392 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1393 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1394 * nscd/nscd.c: Likewise.
1395 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1396 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1397 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1398 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1399
d7109027
JM
1400 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1401 <kernel-features.h>.
1402 (init_mq_netlink): Remove conditional have_sock_cloexec
1403 definitions. Remove code conditional on have_sock_cloexec < 0.
1404 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1405 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1406 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1407 <kernel-features.h>.
1408 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1409 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1410
d92d8f8a
L
14112014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1412
1413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1414 Add tests for memset_chk and memset.
1415
1416 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1417 with AVX2_Usable.
1418
4e6d2347
MR
14192014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1420
257ce712
MR
1421 [BZ #16046]
1422 * elf/tst-dl-iter-static.c: New file.
1423 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1424
4e6d2347
MR
1425 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1426 error.
1427
a2a76afe
JM
14282014-06-20 Joseph Myers <joseph@codesourcery.com>
1429
7fd00f99
JM
1430 * sysdeps/unix/sysv/linux/kernel-features.h
1431 (__ASSUME_F_GETOWN_EX): Remove macro.
1432 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1433 <kernel-features.h>.
1434 (miss_F_GETOWN_EX): Remove variable or macro.
1435 (do_fcntl): Do not check miss_F_GETOWN_EX.
1436 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1437
4a103975
JM
1438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1439 Remove macro.
1440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1441 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1442 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1443
a2a76afe
JM
1444 * sysdeps/unix/sysv/linux/kernel-features.h
1445 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1446 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1447 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1448 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1449
90e5dd48
MR
14502014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1451
1452 [BZ #17075]
1453 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1454 Fix calculation of the symbol's value.
1455 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1456 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1457 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1458 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1459 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1460 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1461 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1462 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1463 (modules-names): Add `tst-armtlsdescmod',
1464 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1465 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1466 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1467 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1468 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1469 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1470 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1471 ($(objpfx)tst-armtlsdescloc): New dependency.
1472 ($(objpfx)tst-armtlsdescextnow): Likewise.
1473 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1474 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1475 TLS scheme support.
1476 * sysdeps/arm/configure: Regenerate.
1477
809fdf0d
JM
14782014-06-20 Joseph Myers <joseph@codesourcery.com>
1479
1480 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1481 (__atfct_seterrno_2): Likewise.
1482 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1483 <kernel-features.h>.
1484 (__ASSUME_ATFCTS): Do not undefine and redefine.
1485 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1486 (__have_atfcts): Remove conditional definition.
1487 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1488 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1489 unreachable if [__ASSUME_ATFCTS].
1490 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1491 not undefine and redefine.
1492 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1493 <kernel-features.h>.
1494 (faccessat) [__NR_faccessat]: Make code unconditional.
1495 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1496 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1497 <kernel-features.h>.
1498 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1499 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1500 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1501 <kernel-features.h>.
1502 (fchownat) [__NR_fchownat]: Make code unconditional.
1503 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1504 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1505 <kernel-features.h>.
1506 (futimesat) [__NR_futimesat]: Make code unconditional.
1507 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1508 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1509 <kernel-features.h>.
1510 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1511 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1512 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1513 <kernel-features.h>.
1514 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1515 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1516 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1517 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1518 <kernel-features.h>.
1519 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1520 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1521 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1522 <kernel-features.h>.
1523 (linkat) [__NR_linkat]: Make code unconditional.
1524 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1525 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1526 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1527 <kernel-features.h>.
1528 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1529 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1530 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1531 <kernel-features.h>.
1532 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1533 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1534 * sysdeps/unix/sysv/linux/openat.c: Do not include
1535 <kernel-features.h>.
1536 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1537 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1538 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1539 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1540 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1541 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1542 <kernel-features.h>.
1543 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1544 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1545 result of INLINE_SYSCALL directly, not via int variable.
1546 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1547 <kernel-features.h>.
1548 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1549 (renameat) [__NR_renameat]: Make code unconditional.
1550 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1551 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1552 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1553 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1554 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1555 (__ASSUME_ATFCTS): Do not undefine and redefine.
1556 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1557 <kernel-features.h>.
1558 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1559 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1560 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1561 <kernel-features.h>.
1562 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1563 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1564 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1565 (__ASSUME_ATFCTS): Do not undefine and redefine.
1566 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1567 <kernel-features.h>.
1568 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1569 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1570 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1571 <kernel-features.h>.
1572 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1573 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1574
224c6c51
L
15752014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1578
aa6ec754
AS
15792014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1580
1581 [BZ #17069]
1582 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1583 constructed tree before returning error.
1584 * posix/bug-regexp36.c: Expand test case.
1585
d8c2869d
SL
15862014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1587
3ef6b850
SL
1588 [BZ #6803]
1589 * math/libm-test.inc (scalbln_test_date):
1590 Add errno expectations.
1591 * math/w_scalblnf.c: New File.
1592 Add wrapper which checks for setting errno to ERANGE.
1593 Add weak_alias for corresponding scalbln function.
1594 * math/w_scalbln.c: Likewise.
1595 * math/w_scalblnl.c: Likewise.
1596 * math/Makefile (libm-calls): Add w_scalbln.
1597 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1598 Remove weak_alias for corresponding scalbln function.
1599 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1601 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1603 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1604 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1605 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1606 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1607 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1608 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1609 Remove long_double_symbol for scalblnl function in libm, libc.
1610 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1611 Add wrapper which checks for setting errno to ERANGE.
1612 Add long_double_symbol for scalblnl function in libm, libc.
1613 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1614 Remove long_double_symbol for scalblnl in libm.
1615 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1616 Add wrapper which checks for setting errno to ERANGE.
1617 Add long_double_symbol for scalblnl function in libm.
1618 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1619 Do not use wrapper because of own implementation.
1620
c8daec5c
L
16212014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1624 3 bytes for __pad1 for x32.
1625 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1626
5c74e47c
LM
16272014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1628 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1631 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1632 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1633 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1634 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1635
4d43ef1e
AS
16362014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1637
1638 [BZ #17069]
1639 * posix/regcomp.c (parse_expression): Deallocate partially
1640 constructed tree before returning error.
1641 * posix/Makefile.c (tests): Add bug-regex36.
1642 (generated): Add bug-regex36.mtrace.
1643 (tests-special): Add $(objpfx)bug-regex36-mem.out
1644 (bug-regex36-ENV): New variable.
1645 ($(objpfx)bug-regex36-mem.out): New rule.
1646 * posix/bug-regex36.c: New file.
1647
51a7380b
WN
16482014-06-19 Will Newton <will.newton@linaro.org>
1649
1650 * malloc/malloc.c (systrim): If extra is zero then return
1651 early.
1652
91b84fe5
SP
16532014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1654
1655 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1656
f940b965
RE
16572014-06-19 Richard Earnshaw <rearnsha@arm.com>
1658
1659 * sysdeps/aarch64/strchr.S: New file.
1660
4ba7a00f
JM
16612014-06-18 Joseph Myers <joseph@codesourcery.com>
1662
1663 [BZ #17022]
1664 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1665 from arguments -2 or below.
1666 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1667 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1668
b3a9f56b
AS
16692014-06-18 Andreas Schwab <schwab@suse.de>
1670
1671 [BZ #17062]
1672 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1673 of a bracket expr not to run off the end of the string.
1674 * posix/Makefile (tests): Add tst-fnmatch3.
1675 * posix/tst-fnmatch3.c: New file.
1676
85d89278
JM
16772014-06-18 Joseph Myers <joseph@codesourcery.com>
1678
1679 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1680 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1681 [$(cross-compiling) = no]: Likewise.
1682 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1683 [$(cross-compiling) = no]: Likewise.
1684
754c5a08
RS
16852014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1686
1687 [BZ #17031]
1688 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1689 double, adjusted for any remainder from the high double.
1690 * math/libm-test.inc (nearbyint): Add tests.
1691 (rint): Likewise.
1692
556f529d
AZ
16932014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694
1695 * nptl/sysdeps/powerpc/Makefile: Moved ...
1696 * sysdeps/powerpc/nptl/Makefile: ... here.
1697 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1698 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1699 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1700 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1701 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1702 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1703 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1704 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1705 * nptl/sysdeps/powerpc/tls.h: Moved ...
1706 * sysdeps/powerpc/nptl/tls.h: ... here.
1707
91c03c53
JM
17082014-06-16 Joseph Myers <joseph@codesourcery.com>
1709
1710 [BZ #16681]
1711 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1712 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1713 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1714 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1715 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1716 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1717 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1718 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1719 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1720
a76e63c5
AS
17212014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1722
1723 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1724
f2f6d82f
AS
17252014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1726
ea8a15f6
AS
1727 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1728 defined operator.
1729
f2f6d82f
AS
1730 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1731 $TIMEOUTFACTOR.
1732
a7291117
FW
17332014-06-16 Florian Weimer <fweimer@redhat.com>
1734
1735 [BZ #17058]
1736 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1737 non-executed part of the test.
1738
3d7c00e3
AS
17392014-06-16 Andreas Schwab <schwab@suse.de>
1740
1741 * string/bits/string2.h (strdup, strndup): Update feature guard.
1742
6957fb31
DM
17432014-06-14 David S. Miller <davem@davemloft.net>
1744
1745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1746
11b9e55b
AS
17472014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1748
1d2a0492
AS
1749 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1750 that was previously under [RESET_PID].
1751 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1752
11b9e55b
AS
1753 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1754 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1755 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1756 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1757 (__libc_vfork): New strong alias.
1758 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1759
0f6901d0
AK
17602014-06-14 Andi Kleen <ak@linux.intel.com>
1761
1762 * sysdeps/generic/elide.h: New file.
1763
38bbbb9f
SL
17642014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1765
1766 * Makefile (installed-headers): Adjust path of pthread.h header.
1767
45193bb8
RM
17682014-06-13 Roland McGrath <roland@hack.frob.com>
1769
9a25fd1e
RM
1770 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1771 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1773 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1774
4004f7e4
RM
1775 * nptl/sysdeps/s390/Makefile: Moved ...
1776 * sysdeps/s390/nptl/Makefile: ... here.
1777 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1778 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1779 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1780 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1781 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1782 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1783 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1784 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1785 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1786 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1787 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1788 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1789 * nptl/sysdeps/s390/tls.h: Moved ...
1790 * sysdeps/s390/nptl/tls.h: ... here.
1791
45193bb8
RM
1792 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1793 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1794
f6fdf533
DM
17952014-06-13 David S. Miller <davem@davemloft.net>
1796
1797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1800 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1804 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1805 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1806 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1808 Remove RESET_PID cpp guards.
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1810 Remove RESET_PID cpp guards.
1811 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1812
f5d71e14
AS
18132014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1814
1815 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1816 __sp to uintptr_t.
1817
b7aa8caa
AK
18182014-06-13 Andi Kleen <ak@linux.intel.com>
1819
4b266200
AZ
1820 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1821 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1822 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1823 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1826 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1827 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1828 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1829 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1830 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1831 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1832 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1833 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1834 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1835 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1836 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1837 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1838 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1839 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
1840
1841 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
1842 (pthread_rwlock_rdlock): Add elision.
1843 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1844 (pthread_rwlock_wrlock): Add elision.
1845 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1846 (pthread_rwlock_trywrlock): Add elision.
1847 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1848 (pthread_rwlock_tryrdlock): Add elision.
1849 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1850 (pthread_rwlock_tryrdlock): Add elision unlock.
1851 * nptl/sysdeps/pthread/pthread.h:
1852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1853 (PTHREAD_RWLOCK_INITIALIZER,
1854 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1855 Handle new elision field.
1856 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1857 * sysdeps/arm/nptl/bits/pthreadtypes.h
1858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1859 * sysdeps/sh/nptl/bits/pthreadtypes.h
1860 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1861 * sysdeps/tile/nptl/bits/pthreadtypes.h
1862 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1863 * sysdeps/a/nptl/bits/pthreadtypes.h
1864 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1865 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1866 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1867 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1868 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1869 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1870 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1871 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1872 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1873 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1874 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1875 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1876 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1877 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1878 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1879 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1880 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1881 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1882 (elision_init): Set try_xbegin to zero when no RTM.
1883 * sysdeps/x86/nptl/bits/pthreadtypes.h
1884 (pthread_rwlock_t): Change __pad1 to __rwelision.
1885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 1886
a832bdd3
AK
18872014-06-13 Andi Kleen <ak@linux.intel.com>
1888
1889 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1890 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1891 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1892 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1893
995a46bb
MI
18942014-06-13 Meador Inge <meadori@codesourcery.com>
1895
1896 [BZ #16996]
03ed7738 1897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
1898 that the cached result has been set before returning it.
1899
45262aee
RM
19002014-06-12 Roland McGrath <roland@hack.frob.com>
1901
febf6cc5
RM
1902 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1903 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1904 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1905 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1906 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1907 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1908
e2682246
RM
1909 * nptl/sysdeps/sparc/Makefile: Moved ...
1910 * sysdeps/sparc/nptl/Makefile: ... here.
1911 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1912 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1913 * nptl/sysdeps/sparc/tls.h: Moved ...
1914 * sysdeps/sparc/nptl/tls.h: ... here.
1915 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1916 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1917 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1918 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1919 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1920 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1921 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1922 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1923 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1924 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1925 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1926 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1927 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1928 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1929 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1930 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1931 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1932 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1933 Update #include.
1934 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1935 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1936 Update #include.
1937 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1938 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1939 Update #include.
1940 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1941 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1942 Update #include.
1943
b0725f43
RM
1944 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1945
b14368b8
RM
1946 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1947 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1948
c5620eb3
RM
1949 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1950 (struct list_links): Type removed.
1951 (struct thread_node, struct timer_node): Replace struct list_links
1952 with struct list_head.
1953 (list_unlink_ip): Likewise.
1954 * sysdeps/pthread/timer_routines.c
1955 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1956 (list_append, list_insbefore): Likewise.
1957 (list_init): Function removed.
1958 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
1959 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1960 * sysdeps/pthread/Makefile: ... here, new file.
1961
1962 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1963 * sysdeps/nptl/Implies: ... here.
1964 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1965 * nptl/sysdeps/pthread/list.h: Moved ...
1966 * include/list.h: ... here.
1967 * nptl/sysdeps/pthread/createthread.c: Moved ...
1968 * nptl/createthread.c: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1970 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1971 * nptl/pt-longjmp.c: ... here.
1972 * nptl/sysdeps/pthread/Makefile: Moved ...
1973 * sysdeps/nptl/Makefile: ... here.
1974 * nptl/sysdeps/pthread/Subdirs: Moved ...
1975 * sysdeps/nptl/Subdirs: ... here.
1976 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1977 * sysdeps/nptl/aio_misc.h: ... here.
1978 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1979 * sysdeps/nptl/bits/libc-lock.h: ... here.
1980 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1981 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1982 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1983 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1984 * nptl/sysdeps/pthread/configure: Moved ...
1985 * sysdeps/nptl/configure: ... here.
1986 * nptl/sysdeps/pthread/configure.ac: Moved ...
1987 * sysdeps/nptl/configure.ac: ... here.
1988 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1989 * sysdeps/nptl/gai_misc.h: ... here.
1990 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1991 * sysdeps/nptl/librt-cancellation.c: ... here.
1992 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1993 * sysdeps/nptl/malloc-machine.h: ... here.
1994 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1995 * sysdeps/nptl/pthread-functions.h: ... here.
1996 * nptl/sysdeps/pthread/pthread.h: Moved ...
1997 * sysdeps/nptl/pthread.h: ... here.
1998 * nptl/sysdeps/pthread/setxid.h: Moved ...
1999 * sysdeps/nptl/setxid.h: ... here.
2000 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2001 * sysdeps/nptl/sigfillset.c: ... here.
2002 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2003 * sysdeps/nptl/tcb-offsets.h: ... here.
2004 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2005 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2006 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2007 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2008 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2009 * sysdeps/pthread/allocalim.h: ... here.
2010 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2011 * sysdeps/pthread/bits/sigthread.h: ... here.
2012 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2013 * sysdeps/pthread/flockfile.c: ... here.
2014 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2015 * sysdeps/pthread/ftrylockfile.c: ... here.
2016 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2017 * sysdeps/pthread/funlockfile.c: ... here.
2018 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2019 * sysdeps/pthread/posix-timer.h: ... here.
2020 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2021 * sysdeps/pthread/timer_create.c: ... here.
2022 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2023 * sysdeps/pthread/timer_delete.c: ... here.
2024 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2025 * sysdeps/pthread/timer_getoverr.c: ... here.
2026 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2027 * sysdeps/pthread/timer_gettime.c: ... here.
2028 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2029 * sysdeps/pthread/timer_routines.c: ... here.
2030 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2031 * sysdeps/pthread/timer_settime.c: ... here.
2032 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2033 * sysdeps/pthread/tst-timer.c: ... here.
2034 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2035 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2036
e876b090
RM
2037 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2038 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2039
f6b07b3d
RM
2040 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2041 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2042 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2043 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2044 Update #include target.
2045 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2046 * sysdeps/i386/i686/nptl/Makefile: ... here.
2047 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2048 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2049 Update #include target.
2050 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2051 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2052 * nptl/sysdeps/i386/Makefile: Moved ...
2053 * sysdeps/i386/nptl/Makefile: ... here.
2054 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2055 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2056 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2057 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2058 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2059 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2060 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2061 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2062 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2063 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2064 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2065 * nptl/sysdeps/i386/tls.h: Moved ...
2066 * sysdeps/i386/nptl/tls.h: ... here.
2067
45262aee
RM
2068 * sysdeps/sh/Makefile [$(subdir) = csu]
2069 (gen-as-const-headers): Add tcb-offsets.sym.
2070 * nptl/sysdeps/sh/Makefile: File removed.
2071 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2072 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2073 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2074 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2075 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2076 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2077 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2078 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2079 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2080 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2081 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2082 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2083 * nptl/sysdeps/sh/tls.h: Moved ...
2084 * sysdeps/sh/nptl/tls.h: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2086 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2087 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2088 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2090 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2091 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2092 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2093 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2094 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2095 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2096 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2097 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2098 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2099 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2100 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2102 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2103 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2104 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2105 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2106 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2107 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2108 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2109 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2110 Moved ...
2111 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2113 Moved ...
2114 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2115 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2116 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2117 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2118 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2119 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2120 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2121 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2122 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2123 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2124 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2125 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2126 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2127 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2128 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2129 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2130 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2131 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2132 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2133
35a5e3e3
SL
21342014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2135
2136 * posix/spawn_faction_addopen.c: Include string.h.
2137
14642b85
RM
21382014-06-11 Roland McGrath <roland@hack.frob.com>
2139
2140 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2141 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2142 * nptl/sysdeps/x86_64/Makefile: Moved ...
2143 * sysdeps/x86_64/nptl/Makefile: ... here.
2144 * nptl/sysdeps/x86_64/configure: Moved ...
2145 * sysdeps/x86_64/nptl/configure: ... here.
2146 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2147 * sysdeps/x86_64/nptl/configure.ac: ... here.
2148 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2149 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2150 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2151 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2152 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2153 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2154 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2155 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2156 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2157 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2158 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2159 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2160 * nptl/sysdeps/x86_64/tls.h: Moved ...
2161 * sysdeps/x86_64/nptl/tls.h: ... here.
2162 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2163 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2164 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2165 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2166
2167 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2168
31c44fea
AZ
21692014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2170
2171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2172
e81a4f9a
JM
21732014-06-11 Joseph Myers <joseph@codesourcery.com>
2174
2175 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2176 type.
2177 [POSIX] (off_t): Likewise.
2178 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2179 [POSIX] (S_ISBLK): Require macro.
2180 [POSIX] (S_ISCHR): Likewise.
2181 [POSIX] (S_ISDIR): Likewise.
2182 [POSIX] (S_ISFIFO): Likewise.
2183 [POSIX] (S_ISREG): Likewise.
2184 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2185 optional-macro.
2186 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2187 type.
2188 [POSIX] (time_t): Likewise.
2189 [POSIX] (timer_t): Likewise.
2190
89e435f3
FW
21912014-06-11 Florian Weimer <fweimer@redhat.com>
2192
2193 [BZ #17048]
2194 * posix/spawn_int.h (struct __spawn_action): Make the path string
2195 non-const to support deallocation.
2196 * posix/spawn_faction_addopen.c
2197 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2198 * posix/spawn_faction_destroy.c
2199 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2200 path in all spawn_do_open actions.
2201 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2202 posix_spawn_file_actions_addopen.
2203
c3a2ebe1
CM
22042014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2205
2206 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2207 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2208 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2209 conditional code always true.
2210 (__libc_vfork): New alias.
2211
9503784a
RM
22122014-06-11 Roland McGrath <roland@hack.frob.com>
2213
c9cab3d2
RM
2214 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2215 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2216
d3996c79
RM
2217 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2218
ba5ec611
RM
2219 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2220 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2221
f12b4814
RM
2222 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2223 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2224
9503784a
RM
2225 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2226 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2227
e23d3d26
VR
22282014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2229
2230 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2231 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2232 multiarch strcmp for PPC64.
2233 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2234 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2236 multiarch optimizations.
2237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2238 (__libc_ifunc_impl_list): Likewise.
2239
42b1161e
SP
22402014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2241
2242 * benchtests/scripts/validate_benchout.py: New script.
2243 * benchtests/Makefile (bench-func): Call it.
2244 * benchtests/scripts/benchout.schema.json: New file.
2245
2d0fc4dc
CM
22462014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2247
4a594c34
AZ
2248 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2249 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2250 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2251 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2252 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2253 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2254 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2255 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2256 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2257 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2258 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2259 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2260 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2261 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2262 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2263 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2265 Moved ...
4a594c34 2266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2267 ... here.
4a594c34 2268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2269 Moved ...
4a594c34
AZ
2270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2272 Moved ...
4a594c34 2273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2274 ... here.
4a594c34 2275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2276 Moved ...
4a594c34 2277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2278 ... here.
4a594c34 2279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2280 Moved ...
4a594c34
AZ
2281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2283 Moved ...
4a594c34 2284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2285 ... here.
4a594c34 2286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2287 Moved ...
4a594c34 2288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2289 ... here.
4a594c34 2290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2291 Moved ...
4a594c34
AZ
2292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2294 Moved ...
4a594c34 2295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2296 ... here.
4a594c34 2297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2298 Moved ...
4a594c34 2299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2300 ... here.
4a594c34 2301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2302 Moved ...
4a594c34 2303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2304 ... here.
4a594c34 2305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2306 Moved ...
4a594c34
AZ
2307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2309 Moved ...
4a594c34 2310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2311 ... here.
4a594c34 2312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2313 Moved ...
4a594c34 2314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2315 ... here.
4a594c34 2316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2317 Moved ...
4a594c34 2318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2319 ... here.
4a594c34 2320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2321 Moved ...
4a594c34
AZ
2322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2324 Moved ...
4a594c34 2325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2326 ... here.
4a594c34 2327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2328 Moved ...
4a594c34 2329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2330 ... here.
4a594c34 2331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2332 Moved ...
4a594c34
AZ
2333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2335 Moved ...
4a594c34 2336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2337 ... here.
4a594c34 2338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2339 Moved ...
4a594c34
AZ
2340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2342 Moved ...
4a594c34
AZ
2343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2345 Moved ...
4a594c34 2346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2347 ... here.
4a594c34 2348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2349 Moved ...
4a594c34 2350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2351 ... here.
4a594c34 2352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2353 Moved ...
4a594c34 2354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2355 ... here.
4a594c34 2356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2357 Moved ...
4a594c34
AZ
2358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2360 Moved ...
4a594c34 2361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2362 ... here.
4a594c34 2363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2364 Moved ...
4a594c34 2365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2366 ... here.
4a594c34
AZ
2367 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2368 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2369 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2372 Moved ...
4a594c34 2373 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2374 ... here.
4a594c34
AZ
2375 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2388 Moved ...
4a594c34
AZ
2389 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2391 Moved ...
4a594c34
AZ
2392 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2396 Moved ...
4a594c34
AZ
2397 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2401 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2402 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2403 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2404
0570cfed
W
24052014-06-10 Wilco <wdijkstr@arm.com>
2406
2407 * math/test-fenv-return.c: New file.
2408 * math/Makefile: Add new test test-fenv-return.
2409
f8ba1b56
JM
24102014-06-10 Joseph Myers <joseph@codesourcery.com>
2411
2412 [BZ #17042]
2413 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2414 when x - 1 is zero.
2415 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2416 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2417 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2418 0.0L for an argument of 1.0L.
2419 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2420 Likewise.
2421 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2422 value when x - 1 is zero.
2423 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2424 * sysdeps/i386/fpu/libm-test-ulps: Update.
2425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2426
2c3520d9
BO
24272014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2428
2429 [BZ #15119]
2430 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2431
acaa4d24
RM
24322014-06-09 Roland McGrath <roland@hack.frob.com>
2433
2434 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2435 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2436
962b744d
RM
24372014-06-09 Roland McGrath <roland@hack.frob.com>
2438
d752f0cc
RM
2439 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2440 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2441
34eda6d1
RM
2442 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2443 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2444
50f0a637
RM
2445 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2446 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2447
08f41f04
RM
2448 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2449 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2450
962b744d
RM
2451 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2452 if not already defined.
2453 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2454 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2455 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2456 (TLS_INIT_TP): Use it.
2457 (TLS_DEFINE_INIT_TP): New macro.
2458 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2459
09f19b05
JM
24602014-06-09 Joseph Myers <joseph@codesourcery.com>
2461
2462 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2463 constant.
2464 [POSIX] (IXANY): Likewise.
2465 [POSIX] (OLCUC): Likewise.
2466 [POSIX || POSIX2008] (CBAUD): Do not allow.
2467 [POSIX || POSIX2008] (DEFECHO): Likewise.
2468 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2469 [POSIX || POSIX2008] (ECHOKE): Likewise.
2470 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2471 [POSIX || POSIX2008] (EXTA): Likewise.
2472 [POSIX || POSIX2008] (EXTB): Likewise.
2473 [POSIX || POSIX2008] (FLUSHO): Likewise.
2474 [POSIX || POSIX2008] (LOBLK): Likewise.
2475 [POSIX || POSIX2008] (PENDIN): Likewise.
2476 [POSIX || POSIX2008] (SWTCH): Likewise.
2477 [POSIX || POSIX2008] (VDISCARD): Likewise.
2478 [POSIX || POSIX2008] (VDSUSP): Likewise.
2479 [POSIX || POSIX2008] (VLNEXT): Likewise.
2480 [POSIX || POSIX2008] (VREPRINT): Likewise.
2481 [POSIX || POSIX2008] (VSTATUS): Likewise.
2482 [POSIX || POSIX2008] (VWERASE): Likewise.
2483 (B*): Change to B[0123456789]*.
2484 * conform/data/time.h-data [POSIX || UNIX98]
2485 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2486 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2487 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2488 [POSIX] (tm_*): Do not allow.
2489
686554bf
JM
24902014-06-07 Joseph Myers <joseph@codesourcery.com>
2491
2492 * Makefile (install): Don't set LANGUAGE.
2493 * Makefile.in (install): Likewise.
2494 * assert/Makefile (test-assert-ENV): Remove variable.
2495 (test-assert-perr-ENV): Likewise.
2496 * elf/Makefile (neededtest4-ENV): Likewise.
2497 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2498 [$(cross-compiling) = no]: Don't set LANGUAGE.
2499 * io/ftwtest-sh (LANG): Remove variable.
2500 * libio/Makefile (tst-widetext-ENV): Likewise.
2501 * manual/install.texi (Running make install): Don't refer to
2502 environment settings for make install.
2503 * INSTALL: Regenerated.
2504 * nptl/tst-tls6.sh: Don't set LANG.
2505 * posix/globtest.sh (LANG): Remove variable.
2506 * string/Makefile (tester-ENV): Likewise.
2507 (inl-tester-ENV): Likewise.
2508 (noinl-tester-ENV): Likewise.
2509 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2510 [$(cross-compiling) = no]: Don't set LANGUAGE.
2511 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2512 without explicit environment settings.
2513
68e6b6b1
RM
25142014-06-06 Roland McGrath <roland@hack.frob.com>
2515
2516 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2517 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2518 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2519 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2520
4d3ae034
CM
25212014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2522
2523 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2524 other files in the crypt directory.
2525 * crypt/crypt.c: Remove duplicate includes.
2526 * crypt/crypt-entry.c: Likewise.
2527 * crypt/crypt_util.c: Likewise.
2528
8540f6d2
JM
25292014-06-06 Joseph Myers <joseph@codesourcery.com>
2530
2531 * Makeconfig (run-program-env): New variable.
2532 (run-program-prefix-before-env): Likewise.
2533 (run-program-prefix-after-env): Likewise.
2534 (run-program-prefix): Define in terms of new variables.
2535 (built-program-cmd-before-env): New variable.
2536 (built-program-cmd-after-env): Likewise.
2537 (built-program-cmd): Define in terms of new variables.
2538 (test-program-prefix-before-env): New variable.
2539 (test-program-prefix-after-env): Likewise.
2540 (test-program-prefix): Define in terms of new variables.
2541 (test-program-cmd-before-env): New variable.
2542 (test-program-cmd-after-env): Likewise.
2543 (test-program-cmd): Define in terms of new variables.
2544 * Rules (make-test-out): Use $(run-program-env).
2545 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2546 (help): Do not mention environment variables. Mention
2547 --timeoutfactor option.
2548 (timeoutfactor): New variable.
2549 (blacklist_exports): Remove function.
2550 (exports): Remove variable.
2551 (command): Do not include ${exports}.
2552 * manual/install.texi (Configuring and compiling): Do not mention
2553 test wrappers preserving environment variables. Mention that last
2554 assignment to a variable must take precedence.
2555 * INSTALL: Regenerated.
2556 * benchtests/Makefile (run-bench): Use $(run-program-env).
2557 * catgets/Makefile ($(objpfx)test1.cat): Use
2558 $(built-program-cmd-before-env), $(run-program-env) and
2559 $(built-program-cmd-after-env).
2560 ($(objpfx)test2.cat): Do not specify environment variables
2561 explicitly.
2562 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2563 $(run-program-env) and $(built-program-cmd-after-env).
2564 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2565 $(run-program-env) and $(test-program-cmd-after-env).
2566 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2567 explicitly.
2568 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2569 run_program_env and test_program_cmd_after_env arguments.
2570 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2571 * elf/tst-pathopt.sh: Use run_program_env argument.
2572 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2573 $(test-wrapper-env) and $(run-program-env).
2574 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2575 run_program_env arguments.
2576 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2577 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2578 $(test-program-prefix-before-env), $(run-program-env) and
2579 $(test-program-prefix-after-env).
2580 ($(objpfx)tst-gettext2.out): Likewise.
2581 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2582 run_program_env and test_program_prefix_after_env arguments.
2583 * intl/tst-gettext2.sh: Likewise.
2584 * intl/tst-gettext4.sh: Do not set environment variables
2585 explicitly.
2586 * intl/tst-gettext6.sh: Likewise.
2587 * intl/tst-translit.sh: Likewise.
2588 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2589 $(test-program-prefix-before-env), $(run-program-env) and
2590 $(test-program-prefix-after-env).
2591 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2592 run_program_env and test_program_prefix_after_env arguments.
2593 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2594 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2595 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2596 explicitly with each use of ${test_wrapper_env}.
2597 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2598 $(test-program-prefix-before-env), $(run-program-env) and
2599 $(test-program-prefix-after-env).
2600 * posix/tst-getconf.sh: Do not set environment variables
2601 explicitly.
2602 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2603 run_program_env and test_program_prefix_after_env arguments.
2604 * stdio-common/tst-printf.sh: Do not set environment variables
2605 explicitly.
2606 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2607 $(test-program-prefix-before-env), $(run-program-env) and
2608 $(test-program-prefix-after-env).
2609 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2610 run_program_env and test_program_prefix_after_env arguments.
2611 Split $test calls into $test_pre and $test.
2612 * timezone/Makefile (build-testdata): Use
2613 $(built-program-cmd-before-env), $(run-program-env) and
2614 $(built-program-cmd-after-env).
2615
ed36bfa1
AZ
26162014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2617
2618 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2619 strlen for non SHARED builds.
2620
fc75bf46
SP
26212014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2622
2623 * nptl/allocatestack.c (check_list): Inlined function...
2624 (__reclaim_stacks): ... here.
2625
d89b3d80
OB
26262014-06-05 Ondřej Bílka <neleai@seznam.cz>
2627
2628 [BZ #15698]
2629 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2630 memory overrun.
2631
2bf18041
JM
26322014-06-05 Joseph Myers <joseph@codesourcery.com>
2633
2634 * Rules (make-test-out): Include
2635 LOCPATH=$(common-objpfx)localedata in default environment.
2636 * debug/Makefile (tst-chk1-ENV): Remove variable.
2637 (tst-chk2-ENV): Likewise.
2638 (tst-chk3-ENV): Likewise.
2639 (tst-chk4-ENV): Likewise.
2640 (tst-chk5-ENV): Likewise.
2641 (tst-chk6-ENV): Likewise.
2642 (tst-lfschk1-ENV): Likewise.
2643 (tst-lfschk2-ENV): Likewise.
2644 (tst-lfschk3-ENV): Likewise.
2645 (tst-lfschk4-ENV): Likewise.
2646 (tst-lfschk5-ENV): Likewise.
2647 (tst-lfschk6-ENV): Likewise.
2648 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2649 (tst-iconv7-ENV): Likewise.
2650 * intl/Makefile (LOCPATH-ENV): Likewise.
2651 (tst-codeset-ENV): Likewise.
2652 (tst-gettext3-ENV): Likewise.
2653 (tst-gettext5-ENV): Likewise.
2654 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2655 (tst-fopenloc-ENV): Likewise.
2656 (tst-fgetws-ENV): Remove variable.
2657 (tst-ungetwc1-ENV): Likewise.
2658 (tst-ungetwc2-ENV): Likewise.
2659 (bug-ungetwc2-ENV): Likewise.
2660 (tst-swscanf-ENV): Likewise.
2661 (bug-ftell-ENV): Likewise.
2662 (tst-fgetwc-ENV): Likewise.
2663 (tst-fseek-ENV): Likewise.
2664 (tst-ftell-partial-wide-ENV): Likewise.
2665 (tst-ftell-active-handler-ENV): Likewise.
2666 (tst-ftell-append-ENV): Likewise.
2667 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2668 (tst-regexloc-ENV): Likewise.
2669 (bug-regex1-ENV): Likewise.
2670 (tst-regex-ENV): Likewise.
2671 (tst-regex2-ENV): Likewise.
2672 (bug-regex5-ENV): Likewise.
2673 (bug-regex6-ENV): Likewise.
2674 (bug-regex17-ENV): Likewise.
2675 (bug-regex18-ENV): Likewise.
2676 (bug-regex19-ENV): Likewise.
2677 (bug-regex20-ENV): Likewise.
2678 (bug-regex22-ENV): Likewise.
2679 (bug-regex23-ENV): Likewise.
2680 (bug-regex25-ENV): Likewise.
2681 (bug-regex26-ENV): Likewise.
2682 (bug-regex30-ENV): Likewise.
2683 (bug-regex32-ENV): Likewise.
2684 (bug-regex33-ENV): Likewise.
2685 (bug-regex34-ENV): Likewise.
2686 (bug-regex35-ENV): Likewise.
2687 (tst-rxspencer-ENV): Likewise.
2688 (tst-rxspencer-no-utf8-ENV): Likewise.
2689 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2690 (tst-sscanf-ENV): Likewise.
2691 (tst-swprintf-ENV): Likewise.
2692 (tst-swscanf-ENV): Likewise.
2693 (test-vfprintf-ENV): Likewise.
2694 (scanf13-ENV): Likewise.
2695 (bug14-ENV): Likewise.
2696 (tst-grouping-ENV): Likewise.
2697 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2698 (tst-strtod3-ENV): Likewise.
2699 (tst-strtod4-ENV): Likewise.
2700 (tst-strtod5-ENV): Likewise.
2701 (testmb2-ENV): Likewise./
2702 * string/Makefile (tst-strxfrm-ENV): Likewise.
2703 (tst-strxfrm2-ENV): Likewise.
2704 (bug-strcoll1-ENV): Likewise.
2705 (test-strcasecmp-ENV): Likewise.
2706 (test-strncasecmp-ENV): Likewise.
2707 * time/Makefile (tst-strptime-ENV): Likewise.
2708 (tst-ftime_l-ENV): Likewise.
2709 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2710 (tst-mbrtowc-ENV): Likewise.
2711 (tst-wcrtomb-ENV): Likewise.
2712 (tst-mbrtowc2-ENV): Likewise.
2713 (tst-c16c32-1-ENV): Likewise.
2714 (tst-mbsnrtowcs-ENV): Likewise.
2715
cd1fb604
OB
27162014-06-05 Ondřej Bílka <neleai@seznam.cz>
2717
2718 * manual/resource.texi (How to get information about the memory
2719 subsystem?): Fix typo.
2720 Reported by Peon de la Parra Ivan <peon@keba.com>
2721
b42eca7d
GY
27222014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2723
2724 [BZ #16882]
2725 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2726 (pthread_spin_lock): Branch out of spin loop to proper location.
2727 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2728 (pthread_spin_lock): Likewise.
2729
902b71f9
DM
2730 * nptl/tst-spin4.c: New test.
2731 * nptl/Makefile (tests): Add tst-spin4.
2732
f9d2d032
AS
27332014-06-03 Andreas Schwab <schwab@suse.de>
2734
2735 [BZ #15946]
2736 * resolv/res_send.c (send_dg): Reload file descriptor after
2737 calling reopen.
2738
cf7bfd28
SL
27392014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2740
2741 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2742
111cc714
RH
27432014-06-03 Richard Henderson <rth@redhat.com>
2744
89b4bd6b
RH
2745 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2746 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2747 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2748 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2749 in the SAVE_PID block.
2750 (__libc_vfork): New alias.
71840409 2751 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 2752
111cc714
RH
2753 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2754 child in registers, not on the stack. Remove RESET_PID conditionals.
2755 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2756
ccc39911
MS
27572014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2758
2759 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2760
693096cc
W
27612014-06-03 Wilco <wdijkstr@arm.com>
2762
2763 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2764 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2765 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2766 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2767 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2768 Likewise.
2769
0b4366bc
W
27702014-06-03 Wilco <wdijkstr@arm.com>
2771
2772 * sysdeps/aarch64/fpu/math_private.h
2773 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2774 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2775 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2776 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2777 Fix declarations.
2778
8747cd03
KS
27792014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2780
2781 * crypt/crypt-private.h: Include ufc-crypt.h.
2782 (__b64_from_24bit): Declare extern.
2783 * crypt/crypt_util.c(__b64_from_24bit): New function.
2784 (b64t): New static const variable.
2785 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2786 (b64t): Remove variable.
2787 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2788 * crypt/sha256-crypt.c: Include crypt-private.h.
2789 (b64t): Remove variable.
2790 (__sha256_crypt_r): Remove b64_from_24bit and replace
2791 with __b64_from_24bit.
2792 * crypt/sha512-crypt.c: Likewise.
2793
d936d379
RM
27942014-06-02 Roland McGrath <roland@hack.frob.com>
2795
2796 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2797 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2798 Label the code __libc_vfork rather than __vfork.
2799 [!NOT_IN_libc] (vfork): Define as weak alias.
2800 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2801 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2802 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2803
9fa76613
SP
28042014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2805
2806 * malloc/malloc.c (malloc_info): Fix format specifier for
2807 n_mmaps.
2808
a88dadbe
W
28092014-06-02 Wilco <wdijkstr@arm.com>
2810
2811 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2812 FPCR write.
2813
c95b3011
W
28142014-06-02 Wilco <wdijkstr@arm.com>
2815
2816 [BZ #17009]
2817 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2818 Rewrite to reduce FPCR/FPSR accesses.
2819
6b4d7a90
DM
28202014-06-01 David S. Miller <davem@davemloft.net>
2821
2822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2823
30f3d07c
DM
28242014-05-31 David S. Miller <davem@davemloft.net>
2825
2826 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2827 to occur in round to nearest mode when |x| >= 2.0
2828
74f31c18
RH
28292014-05-30 Richard Henderson <rth@twiddle.net>
2830
f0712b54
RH
2831 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2832 (PSEUDO_RET_NOERRNO): Remove.
2833 (ret): Don't redefine.
2834 (ret_NOERRNO): Define in terms of ret.
2835 (ret_ERRVAL): Likewise.
2836
74f31c18
RH
2837 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2838 use of PSEUDO_RET; perform the error check directly.
2839
30477995
MM
28402014-05-30 Marko Myllynen <myllynen@redhat.com>
2841
2842 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2843 with __int128_t.
2844
62a58816
SP
28452014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2846
2847 * malloc/malloc (malloc_info): Fix formatting.
2848
4d653a59
SP
28492014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2850 Roland McGrath <roland@hack.frob.com>
2851
2852 * malloc/malloc (malloc_info): Also print mmapped statistics.
2853
5190c17f
RM
28542014-05-30 Roland McGrath <roland@hack.frob.com>
2855
2856 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2857 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2858
987c0269
OB
28592014-05-30 Ondřej Bílka <neleai@seznam.cz>
2860
2861 * malloc/malloc.c (malloc_info): Inline mi_arena.
2862
af4e8ef9
RH
28632014-05-29 Richard Henderson <rth@twiddle.net>
2864
1670e207
RH
2865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2866 Remove comma before expanding ASM_ARGS_##nr.
2867 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2868 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2869 of ASM_ARGS_##nr.
2870 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2871 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2872 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2873 (ASM_ARGS_1): Add leading comma.
2874
11a28aee
RH
2875 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2876 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2877 to __errno_location.
2878 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2879 Remove the expected plt for __errno_location.
2880
a17e5ffb 2881 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 2882 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
2883 call to __read_tp.
2884
b5be4597
RH
2885 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2886 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2887 it and break it down.
2888 (DOCARGS_0, DOCARGS_1): Do nothing.
2889 (DOCARGS_2): Update to store into the new stack frame.
2890 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2891 (UNDOCARGS_1): Update to restore from the new stack frame.
2892 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2893 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2894
645d44ab
RH
2895 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2896 (SINGLE_THREAD_P): New parameter for result regno.
2897 (PSEUDO): Update to match; use cbz instead of beq.
2898
a8b4f04a
RH
2899 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2900 Use ENTRY to define the _nocancel entry point. Share the syscall
2901 and syscall error check paths with the cancel path.
2902 (PSEUDO_END): New.
2903
af4e8ef9
RH
2904 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2905 whitespace; tabs before and after asm mnemonics.
2906
26b0d2e1
EW
29072014-05-29 Eric Wong <normalperson@yhbt.net>
2908
2909 [BZ #15132]
2910 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2911 Call fstat64 or stat64 internally, depending on arguments passed.
2912 Replace stat buffer argument with file descriptor argument.
2913 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2914 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2915 Pass fd to __internal_statvfs instead of calling fstat64.
2916 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2917 Pass fd to __internal_statvfs64 instead of calling fstat64.
2918 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2919 Pass -1 to __internal_statvfs instead of calling stat64.
2920 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2921 Pass -1 to __internal_statvfs64 instead of calling stat64.
2922
1efe2bd9
RM
29232014-05-28 Roland McGrath <roland@hack.frob.com>
2924
0d3b7a19
RM
2925 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2926 that was previously under [RESET_PID].
2927 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2928
1efe2bd9
RM
2929 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2930 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2931
a6bea3ca
RM
29322014-05-27 Roland McGrath <roland@hack.frob.com>
2933
30b6629e
RM
2934 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2935
a6bea3ca
RM
2936 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2937 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2938
3dfb9a5c
OB
29392014-05-27 Ondřej Bílka <neleai@seznam.cz>
2940
2941 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2942
774f9285
AS
29432014-05-27 Andreas Schwab <schwab@suse.de>
2944
2945 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2946 TLS_INIT_TP macro.
2947 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2948 * elf/rtld.c (init_tls, dl_main): Likewise.
2949 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2950 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2951 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2952 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2953 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2954 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2955 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2956 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2957 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2958 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2959 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2960 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2961 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2962 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2963 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2964 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2965 * sysdeps/generic/tls.h: Update description.
2966
36ffe739
WN
29672014-05-27 Will Newton <will.newton@linaro.org>
2968
2969 [BZ #16990]
2970 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2971 and restore r2 rather than just restoring.
2972
2482ae43
SP
29732014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2974
2975 [BZ #16724]
2976 * libio/tst-ftell-append.c: New test case.
2977 * libio/Makefile (tests): Add test case.
2978 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2979 append mode.
2980 * libio/wfileops.c (do_ftell_wide): Likewise.
2981
3d1024e8
AZ
29822014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2983
bab90016
AZ
2984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2985
c7a8d667
AZ
2986 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2987 ...
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2990 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2991 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2992 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2993 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2994 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2995 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2996 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2997 Moved ...
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2999 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3000 Moved ...
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3003 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3005 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3006 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3007 ...
3008 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3009 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3010 Moved ...
3011 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3012 here.
3013 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3014 ...
3015 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3017 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3018
daee7851
AZ
3019 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3020 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3022 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3023
50a40819
AZ
3024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3025 merge into ...
3026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3028 ...
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3031 ...
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3034 Moved ...
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3036 here.
3037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3038 Moved ...
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3041 Moved ...
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3043
8464c2a1
AZ
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3045 conditional [RESET_PID].
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3048 removed.
3049 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3050 removed.
3051
3d1024e8
AZ
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3053 <tcb-offsets.h>.
3054 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3055 (__libc_vfork): New strong alias.
3056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3057 removed.
3058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3059 Removed.
3060
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3062 <tcb-offsets.h>.
3063 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3064 (__libc_vfork): New strong alias.
3065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3066 removed.
3067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3068 removed.
3069
fdfd175d
CD
30702014-05-26 Carlos O'Donell <carlos@redhat.com>
3071
3072 * malloc/malloc.c (mi_arena): New function.
3073 (malloc_info): Remove nested function mi_arena. Call non-nosted
3074 function mi_arena.
3075
d298c416
AZ
30762014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3077
3078 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3079 by insrwi.
3080 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3081 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3082 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3083 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3084 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3085 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3086 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3087
b60ea6ff
AS
30882014-05-26 Andreas Schwab <schwab@suse.de>
3089
3090 [BZ #16984]
3091 * locale/programs/repertoire.c (repertoire_read): Add slash
3092 between I18NPATH element and file name.
3093 * locale/programs/locfile.c (locfile_read): Likewise.
3094
67365926
SL
30952014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3096
3097 * nptl/pthread_mutexattr_settype.c
3098 (__pthread_mutexattr_settype):
3099 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3100
f8bdf1f0
SL
31012014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3102
3103 * nptl/tst-mutex5 (do_test):
3104 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3105
15eaf6ff
SP
31062014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3107
3108 * benchtests/README: Document 'init' directive.
3109 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3110 BENCH_INIT.
3111 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3112 (parse_file): Recognize 'init' directive.
3113
75f11331
KM
31142014-05-26 Kyle McMartin <kyle@redhat.com>
3115
3116 [BZ #16796]
3117 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3118 alignment of struct pthread.
3119
c3ec475c
SP
31202014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3121
3122 [BZ #16878]
3123 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3124 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3125 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3126 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3127
82aab97c
RH
31282014-05-25 Richard Henderson <rth@twiddle.net>
3129
aa2f176d
RH
3130 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3131 (SINGLE_THREAD_P_PIC): Remove.
3132 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3133 (SINGLE_THREAD_P_PIC): Remove.
3134
ca3cfa40
RH
3135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3136 branch to syscall error ...
3137 (PSEUDO): ... here.
3138 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3139 from __local_syscall_error to .Lsyscall_error.
3140 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3141 (SYSCALL_ERROR): Update label name.
3142
6e6c2d01
RH
3143 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3144 Do not use DOARGS/UNDOARGS.
3145 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3146 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3147 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3148 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3149 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3150
c69abcee
RH
3151 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3152 block comment.
3153
82aab97c
RH
3154 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3155 define if !NOT_IN_libc.
3156 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3157 define with non-default symbol versions.
3158
8820e3ac
RH
31592014-05-23 Richard Henderson <rth@twiddle.net>
3160
900e445f
RH
3161 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3162 (vfork, __vfork): Define via compat_symbol.
3163
8820e3ac
RH
3164 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3165 [!HAVE_IFUNC] (vfork_compat): Remove.
3166 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3167
e59252a5
JM
31682014-05-23 Joseph Myers <joseph@codesourcery.com>
3169
3170 [BZ #16978]
3171 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3172 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3173 variable.
3174
132c7f5f
RH
31752014-05-23 Richard Henderson <rth@twiddle.net>
3176
bc89e962
RH
3177 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3178 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3179 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3180 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3181
3182 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3183 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3184 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3185 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3186 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3187 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3188 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3189 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3190 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3191 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3192 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3193 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3194 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3195 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3196 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3197 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3198 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3199 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3200 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3201 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3202 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3203 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3204 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3205 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3206 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3207 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3209 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3210 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3211 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3212 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3213 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3214 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3215 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3217 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3218 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3219 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3220 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3221 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3222 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3223 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3224 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3225 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3226 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3227 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3228 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3229 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3230 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3231 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3232 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3233 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3234 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3235 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3236 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3237 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3238
e2fa4bc2
RH
3239 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3240 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3241 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3242 before exiting on error.
3243 (__libc_vfork): New strong alias.
3244 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3245 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3246
279b24e2
RH
3247 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3248 that was previously under [RESET_PID].
3249 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3250
132c7f5f
RH
3251 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3252
b72592e7
JM
32532014-05-23 Joseph Myers <joseph@codesourcery.com>
3254
3255 [BZ #16977]
3256 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3257 value when x - 1 is zero.
3258 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3259 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3260 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3261 0.0L for an argument of 1.0L.
3262 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3263 Likewise.
3264 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3265 value when x - 1 is zero.
3266 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269
2302d679
RV
32702014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3271
3272 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3273 alphasort and versionsort.
3274
32999d63
AZ
32752014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3276
3277 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3278 macro.
3279 [copysignf]: Likewise.
3280
019324d0
SP
32812014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3282
3283 * crypt/md5-crypt.c: Fix formatting.
3284
34fff5c2
KS
32852014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3286
3287 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3288 (b64_from_24bit): New function.
3289
3d2badac
AZ
32902014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3291
3292 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3293 libc_hidden_builtin_def to ifunc.
3294 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3295 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3296
f7bb179f 32972014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3298
3299 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3300 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3301
4134b50d
JM
33022014-05-21 Joseph Myers <joseph@codesourcery.com>
3303
bb7d0337
JM
3304 * nscd/Depend (linuxthreads): Remove.
3305 (nptl): Add.
3306 * resolv/Depend (linuxthreads): Remove.
3307 * rt/Depend (linuxthreads): Remove.
3308
4134b50d
JM
3309 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3310 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3311 $(common-objpfx)elf/.
3312 (link-libc-before-gnulib): Likewise.
3313 (elfobjdir): Remove variable.
3314 * Makefile (install): Use $(elf-objpfx) instead of
3315 $(common-objpfx)elf/.
3316 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3317 $(elfobjdir)/.
3318 (link-libc-deps): Likewise.
3319 ($(common-objpfx)libc.so): Likewise.
3320 ($(common-objpfx)linkobj/libc.so): Likewise.
3321 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3322 instead of $(common-objpfx)elf/.
3323 (symbolic-link-list): Likewise.
3324 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3325 [$(cross-compiling) = no]: Likewise.
3326 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3327 $(elfobjdir)/.
3328 (static-gnulib-arch): Likewise.
3329 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3330 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3331 $(common-objpfx)elf/.
3332
3612eb8f
RH
33332014-05-21 Richard Henderson <rth@redhat.com>
3334
a6b3657b
RH
3335 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3336 (SINGLE_THREAD_P): Use the correct width load. Fold
3337 into the ldr offset.
3338
3612eb8f
RH
3339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3340 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3341
175cef41
JM
33422014-05-20 Joseph Myers <joseph@codesourcery.com>
3343
3344 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3345 (libgcc_s_resume): Use __attribute_used__.
3346 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3347 Likewise.
3348
e13bccd3
AZ
33492014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3350
3351 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3352 optimization when used with float constants.
3353
7c112a38
AZ
3354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3355
ae75a883
AJ
33562014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3357
3358 [BZ #16915]
3359 * locale/nl_langinfo_l.c: Make direct reference to every
3360 _nl_current_CATEGORY symbol.
3361 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3362 (tests-static): Add tst-langinfo-static.
3363 (tests-special): Add tst-langinfo-static.out.
3364 ($(objpfx)tst-langinfo.out): Redirect output.
3365 ($(objpfx)tst-langinfo-static.out): New.
3366 * localedata/tst-langinfo.sh: Send output to stdout.
3367 * localedata/tst-langinfo-static.c: New file.
3368
4406c41c
AJ
3369 [BZ #16965]
3370 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3371 when the shift amount is modulo the limb size.
3372
4c0a1e63
RH
33732014-05-20 Richard Henderson <rth@redhat.com>
3374
de9d8f20
RH
3375 [BZ #16967]
3376 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3377 Change type of sa_flags from unsigned int to int.
3378
4c0a1e63
RH
3379 [BZ #16966]
3380 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3381
3382 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3383
a60339aa
WN
33842014-05-20 Will Newton <will.newton@linaro.org>
3385
3386 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3387 Test the return value of the system call in the nocancel case.
3388
7d05a816
YR
33892014-05-20 Will Newton <will.newton@linaro.org>
3390 Yvan Roux <yvan.roux@linaro.org>
3391
3392 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3393 #include of asm/ptrace.h.
3394 (PTRACE_GET_THREAD_AREA): Remove #undef.
3395 (PTRACE_GETHBPREGS): Likewise.
3396 (PTRACE_SETHBPREGS): Likewise.
3397 (struct user_regs_struct): New structure.
3398 (struct user_fpsimd_struct): New structure.
3399 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3400 #include of asm/ptrace.h and second #include of sys/user.h.
3401 (PTRACE_GET_THREAD_AREA): Remove #undef.
3402 (PTRACE_GETHBPREGS): Likewise.
3403 (PTRACE_SETHBPREGS): Likewise.
3404 (ELF_NGREG): Use new struct user_regs_struct.
3405 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3406
af121e37
AZ
34072014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3408
3409 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3410 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3411
834caf06
JM
34122014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3413
3414 [BZ #16958]
3415 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3416 membar to avoid block loads/stores to overlap previous stores.
3417
e184a918
RH
34182014-05-17 Richard Henderson <rth@redhat.com>
3419
3420 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3421 Create the __##syscall_name##_nocancel entry point.
3422 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3423 Remove; let the sysdep-cancel.h code create it.
3424
f56c7a6a
DM
34252014-05-17 David S. Miller <davem@davemloft.net>
3426
3427 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3428 Protect with __USE_GNU.
3429 (TIOCSET_TEMPT): Likewise.
3430 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3431 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3432 these are already provided in bits/ioctl-types.h
3433
f75616b2
RM
34342014-05-16 Roland McGrath <roland@hack.frob.com>
3435
3edeca86
RM
3436 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3437 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3438
f75616b2
RM
3439 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3440 Use wait4 regardless of [__NR_waitpid].
3441
deb0f7f6
MR
34422014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3443
3444 PR libgcc/60166
3445 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3446 (_FP_NANSIGN_Q): Set the quiet bit.
3447
79520f4b
JM
34482014-05-16 Joseph Myers <joseph@codesourcery.com>
3449
3450 * benchtests/Makefile
3451 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3452 not $(common-objpfx)math/libm.so.
3453 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3454 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3455 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3456 $(common-objpfx)dlfcn/libdl.so.
3457 ($(objpfx)tst-audit8): Depend on $(libm), not
3458 $(common-objpfx)math/libm.so.
3459 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3460 not $(common-objpfx)dlfcn/libdl.so.
3461 * math/Makefile
3462 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3463 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3464 [$(build-shared) = yes].
3465 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3466 $(common-objpfx)nptl/libpthread.so.
3467 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3468 $(common-objpfx)math/libm.so$(libm.so-version) or
3469 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3470 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3471 $(common-objpfx)dlfcn/libdl.so.
3472 * setjmp/Makefile (link-libm): Remove variable.
3473 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3474 * stdio-common/Makefile (link-libm): Remove variable.
3475 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3476 * stdlib/Makefile (link-libm): Remove variable.
3477 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3478 ($(objpfx)tst-strtod-round): Likewise.
3479 ($(objpfx)tst-tininess): Likewise.
3480 ($(objpfx)tst-strtod-underflow): Likewise.
3481 ($(objpfx)tst-strtod6): Likewise.
3482 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3483 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3484 $(common-objpfx)dlfcn/libdl.so.
3485
026b0fe4
AZ
34862014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3487
3488 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3489 BSD terminal modes definitions.
3490
def4bcb2
RM
34912014-05-16 Roland McGrath <roland@hack.frob.com>
3492
fe39b021
RM
3493 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3494 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3495
1d1fc46e 3496 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3497 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3498 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3499 Don't do #include_next.
3500 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3501 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3502 Don't do #include_next.
3503 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3504 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3505 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3506 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3507
c72399fb
AM
35082014-05-16 Allan McRae <allan@archlinux.org>
3509
d51d659d
AM
3510 * po/sv.po: Update Swedish translation from translation project.
3511
c72399fb
AM
3512 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3513 in sed expression.
3514
d0583c40
AJ
35152014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3516
3517 [BZ #16917]
3518 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3519 errno if the TIOCGPTN ioctl fails with an error different than
3520 EINVAL.
3521 * login/tst-ptsname.c: New file.
3522 * login/Makefile (tests): Add tst-ptsname.
3523
d16e6ec7
AJ
3524 [BZ #16943]
3525 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3526 and prlimit64.
3527
cf26a0cb
SP
35282014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3529
3530 [BZ #16849]
3531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3532 herrno to return EAI_AGAIN.
3533
5675da1e
RM
35342014-05-14 Roland McGrath <roland@hack.frob.com>
3535
a5d87b3d
RM
3536 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3537 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3538 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3541 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3542 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3543 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3544 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3545 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3546 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3547 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3549 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3557 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3558 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3559 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3560 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3561 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3563 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3564 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3565 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3567 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3569 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3571 Moved ...
3572 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3596 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3600 Moved ...
3601 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3603 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3605 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3607 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3609 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3621 Moved ...
3622 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3624 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3625
039890a6
RM
3626 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3627 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3628 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3629 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3630 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3632 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3633 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3634 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3636 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3638 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3640 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3642 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3644 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3646 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3647 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3648 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3649 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3650 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3651 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3652 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3653 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3654 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3655 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3656 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3657
65c89320
RM
3658 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3659 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3660
348f8e8c
RM
3661 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3662 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3663 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3664 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3665 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3666 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3667 Moved ...
3668 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3669 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3670 Moved ...
3671 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3673 Moved ...
3674 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3676 Moved ...
3677 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3679 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3681 Moved ...
3682 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3683 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3684 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3685 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3686 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3687 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3688 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3689 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3690 Moved ...
3691 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3693 Moved ...
3694 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3695 ... here.
3696 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3697 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3698 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3699 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3701 Moved ...
3702 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3703 ... here.
3704 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3705 Moved ...
3706 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3707 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3708 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3710 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3711 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3712 Moved ...
3713 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3714 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3715 Moved ...
3716 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3717 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3718 Moved ...
3719 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3721 Moved ...
3722 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3724 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3725 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3726 Moved ...
3727 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3729 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3731 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3733 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3735 Moved ...
3736 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3738 Moved ...
3739 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3740 ... here.
3741 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3742 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3743 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3744 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3746 Moved ...
3747 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3748 ... here.
3749 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3750 Moved ...
3751 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3753 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3755 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3757 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3759 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3761 Moved ...
3762 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3764 Moved ...
3765 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3767 Moved ...
3768 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3769 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3770 Moved ...
3771 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3773 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3775 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3776 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3777 Moved ...
3778 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3780 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3782 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3784 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3786 Moved ...
3787 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3789 Moved ...
3790 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3791 ... here.
3792 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3793 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3795 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3797 Moved ...
3798 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3799 ... here.
3800 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3801 Moved ...
3802 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3804 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3806 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3808 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3810 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3812 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3813
5085af05
RM
3814 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3815 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3816
708f0813
RM
3817 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3818 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3819
c96067bc
RM
3820 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3821 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3822 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3823 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3824 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3826 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3828 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3830 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3832 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3834 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3836 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3838 Moved ...
3839 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3841 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3843 Moved ...
3844 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3846 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3848 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3850 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3851 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3852 Moved ...
3853 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3855 Moved ...
3856 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3858 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3859 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3860 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3861 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3862 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3863 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3864 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3865 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3866 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3867 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3868 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3869 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3870 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3871 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3872 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3873
ec136444
RM
3874 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3875 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3876 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3877 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3878 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3879
2fbdf533
RM
3880 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3881 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3883 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3884 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3885 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3886 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3887 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3888 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3889 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3890
4c68138b
RM
3891 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3892 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3893
4eaae765
RM
3894 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3895 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
3896 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3897 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3899 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3900 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3901 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3902 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3903 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3904 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3905 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3906 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3907 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3908 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3909 Update #include.
3910 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3911 Likewise.
3912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3913 Likewise.
3914 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3915 Likewise.
3916 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3917 Likewise.
3918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3919 Likewise.
3920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3921 Likewise.
3922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3923 Likewise.
3924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3925 Likewise.
3926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3927 Likewise.
4ef6befa
RM
3928 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3930 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3932 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
3933 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3934 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3935 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3937 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3938 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3939 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3940 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3941 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3942 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 3943
941d7dfd
RM
3944 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3945 that was previously under [RESET_PID].
3946 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3947 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3948 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3949
1b731c35
RM
3950 * sysdeps/i386/nptl/Implies: New file.
3951 * sysdeps/x86_64/nptl/Implies: New file.
3952 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3953 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3955 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3956
e2787137
RM
3957 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3958 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3959 (__libc_vfork): New strong alias.
3960 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3961 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3962
3963 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3964 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3965 (__libc_vfork): New strong alias.
3966 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3967 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3968
5675da1e
RM
3969 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3970 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3971 (__libc_vfork): New strong alias.
3972 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3973 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3974 * nptl/pt-vfork.c: New file.
3975 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3976 (libpthread: GLIBC_2.20): New version set (empty).
3977
4f02e2b8
WN
39782014-05-14 Will Newton <will.newton@linaro.org>
3979
3980 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3981 rather than #if.
3982
0bf061d3
JM
39832014-05-14 Joseph Myers <joseph@codesourcery.com>
3984
1a84c3d6
JM
3985 [BZ #16564]
3986 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3987 arguments with exponent 65 or above.
3988 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3989 arguments 0x1p113L or above.
3990 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3991 to arguments 0x1p107L or above.
3992 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3993 positive arguments with exponent 65 or above.
3994 * math/auto-libm-test-in: Add more tests of log1p.
3995 * math/auto-libm-test-out: Regenerated.
3996
01dbacd2
JM
3997 [BZ #16928]
3998 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3999 non-finite arguments is +0.
4000 * math/s_cacosf.c (__cacosf): Likewise.
4001 * math/s_cacosl.c (__cacosl): Likewise.
4002 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4003 * sysdeps/i386/fpu/libm-test-ulps: Update.
4004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005
913d03c8
JM
4006 [BZ #16927]
4007 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4008 value.
4009 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4010 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4011 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4012 for explicit high bit of mantissa when testing for argument equal
4013 to 1.
4014 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4015 * sysdeps/i386/fpu/libm-test-ulps: Update.
4016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4017
0bf061d3
JM
4018 [BZ #16516]
4019 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4020 (__erf): Scale by 16 instead of 8 in potentially underflowing
4021 case. Ensure exception if result actually underflows.
4022 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4023 (__erff): Scale by 16 instead of 8 in potentially underflowing
4024 case. Ensure exception if result actually underflows.
4025 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4026 (efx8): Remove variable.
4027 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4028 case. Ensure exception if result actually underflows.
4029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4030 (efx8): Remove variable.
4031 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4032 case. Ensure exception if result actually underflows.
4033 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4034 (efx8): Remove variable.
4035 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4036 case. Ensure exception if result actually underflows.
4037 * math/auto-libm-test-in: Add more tests of erf.
4038 * math/auto-libm-test-out: Regenerated.
4039
73ba67cb
AS
40402014-05-14 Andreas Schwab <schwab@suse.de>
4041
3d8c8bff
AS
4042 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4043 Remove code conditionalized on USE___THREAD.
4044
73ba67cb
AS
4045 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4046 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4047 not definedness.
4048
5c521ecd
JM
40492014-05-14 Joseph Myers <joseph@codesourcery.com>
4050
5e7698c6
JM
4051 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4052 Define unconditionally.
4053 (__ASSUME_O_CLOEXEC): Likewise.
4054 (__ASSUME_SOCK_CLOEXEC): Likewise.
4055 (__ASSUME_IN_NONBLOCK): Likewise.
4056 (__ASSUME_PIPE2): Likewise.
4057 (__ASSUME_EVENTFD2): Likewise.
4058 (__ASSUME_SIGNALFD4): Likewise.
4059 (__ASSUME_DUP3): Likewise.
4060 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4061 (__ASSUME_DUP3): Do not define.
4062 (__ASSUME_EVENTFD2): Likewise.
4063 (__ASSUME_IN_NONBLOCK): Likewise.
4064 (__ASSUME_O_CLOEXEC): Likewise.
4065 (__ASSUME_PIPE2): Likewise.
4066 (__ASSUME_SIGNALFD4): Likewise.
4067 (__ASSUME_SOCK_CLOEXEC): Likewise.
4068 (__ASSUME_UTIMES): Undefine.
4069 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4070 (__ASSUME_UTIMES): Do not define.
4071 (__ASSUME_O_CLOEXEC): Likewise.
4072 (__ASSUME_SOCK_CLOEXEC): Likewise.
4073 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4074 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4075 0x020621].
4076 (__ASSUME_PIPE2): Likewise.
4077 (__ASSUME_EVENTFD2): Likewise.
4078 (__ASSUME_SIGNALFD4): Likewise.
4079 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4080 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4081 Do not define.
4082 (__ASSUME_EVENTFD2): Likewise.
4083 (__ASSUME_SIGNALFD4): Likewise.
4084 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4085 (__ASSUME_32BITUIDS): Likewise.
4086 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4087 (__ASSUME_IPC64): Likewise.
4088 (__ASSUME_ST_INO_64_BIT): Likewise.
4089 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4090 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4091 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4092 (__ASSUME_UTIMES): Do not define.
4093 (__ASSUME_PSELECT): Likewise.
4094 (__ASSUME_PPOLL): Likewise.
4095 (__ASSUME_O_CLOEXEC): Likewise.
4096 (__ASSUME_SOCK_CLOEXEC): Likewise.
4097 (__ASSUME_IN_NONBLOCK): Likewise.
4098 (__ASSUME_PIPE2): Likewise.
4099 (__ASSUME_EVENTFD2): Likewise.
4100 (__ASSUME_SIGNALFD4): Likewise.
4101 (__ASSUME_DUP3): Likewise.
4102 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4103 (__ASSUME_UTIMES): Likewise.
4104 (__ASSUME_O_CLOEXEC): Likewise.
4105 (__ASSUME_SOCK_CLOEXEC): Likewise.
4106 (__ASSUME_IN_NONBLOCK): Likewise.
4107 (__ASSUME_PIPE2): Likewise.
4108 (__ASSUME_EVENTFD2): Likewise.
4109 (__ASSUME_SIGNALFD4): Likewise.
4110 (__ASSUME_DUP3): Likewise.
4111 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4112 (__ASSUME_UTIMES): Likewise.
4113 (__ASSUME_O_CLOEXEC): Likewise.
4114 (__ASSUME_SOCK_CLOEXEC): Likewise.
4115 (__ASSUME_IN_NONBLOCK): Likewise.
4116 (__ASSUME_PIPE2): Likewise.
4117 (__ASSUME_EVENTFD2): Likewise.
4118 (__ASSUME_SIGNALFD4): Likewise.
4119 (__ASSUME_DUP3): Likewise.
4120 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4121 Likewise.
4122 (__ASSUME_UTIMES): Likewise.
4123 (__ASSUME_EVENTFD2): Likewise.
4124 (__ASSUME_SIGNALFD4): Likewise.
4125 * sysdeps/unix/sysv/linux/tile/kernel-features.h
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 (__ASSUME_UTIMES): Undefine.
4134
5c521ecd
JM
4135 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4136 feclearexcept. Remove symbol versioning code.
4137 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4138 symbol versioning code.
4139 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4140 symbol versioning code.
4141 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4142 feupdateenv. Remove symbol versioning code.
4143 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4144 fegetexceptflag. Remove symbol versioning code.
4145 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4146 fesetexceptflag. Remove symbol versioning code.
4147 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4148 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4149 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4150 (__posix_fadvise64_l32): Remove prototype.
4151 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4152 code.
4153
5da9dfad
RM
41542014-05-13 Roland McGrath <roland@hack.frob.com>
4155
4156 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4157 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4158 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4159 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4160
893b4f37
SK
41612014-05-13 Sami Kerola <kerolasa@iki.fi>
4162
4163 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4164 current working directory
4165
e0db6517
RM
41662014-05-13 Roland McGrath <roland@hack.frob.com>
4167
58aa195d
RM
4168 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4169 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4170 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4171 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4172 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4173 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4174 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4179 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4181 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4182 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4183 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4184 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4185 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4186 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4187 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4189 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4191 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4192 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4193 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4194 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4195 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4196 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4197 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4198 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4199 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4200 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4201 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4202 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4203 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4204 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4205 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4206 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4207 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4208 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4209 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4210
8c6d01f0
RM
4211 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4212 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4213
4214 * sysdeps/unix/sysv/linux/arm/Makefile
4215 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4216 Add rt-aeabi_unwind_cpp_pr1.
4217 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4218 Add nptl-aeabi_unwind_cpp_pr1.
4219 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4220 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4221 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4222 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4223 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4224 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4225
4226 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4227 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4228 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4229 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4230
bba6da4e
RM
4231 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4232 Deconditionalize the code that was previously under [RESET_PID].
4233 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4234
e0db6517
RM
4235 * sysdeps/generic/exit-thread.h: New file.
4236 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4237 * include/unistd.h (__exit_thread): Remove declaration.
4238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4239 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4240 * csu/libc-start.c: Include <exit-thread.h>.
4241 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4242 * nptl/pthread_create.c: Include <exit-thread.h>.
4243 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4244 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4245 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4246 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4247 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4248 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4249 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4250 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4251 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4252 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4253 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4254 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4255 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4256 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4257 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4258 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4259 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4260
01eb16fd
AS
42612014-05-13 Andreas Schwab <schwab@suse.de>
4262
4263 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4264
637461d9
JM
42652014-05-12 Joseph Myers <joseph@codesourcery.com>
4266
4267 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4268 (__ASSUME_UTIMES): Do not condition on kernel version.
4269 (__ASSUME_PSELECT): Define unconditionally.
4270 (__ASSUME_PPOLL): Likewise.
4271 (__ASSUME_ATFCTS): Likewise.
4272 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4273 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4274 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4275 (__ASSUME_UTIMENSAT): Define unconditionally.
4276 (__ASSUME_PRIVATE_FUTEX): Likewise.
4277 (__ASSUME_FALLOCATE): Likewise.
4278 (__ASSUME_O_CLOEXEC): Likewise.
4279 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4280 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4281 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4282 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4283 (__ASSUME_IN_NONBLOCK): Likewise.
4284 (__ASSUME_PIPE2): Likewise.
4285 (__ASSUME_EVENTFD2): Likewise.
4286 (__ASSUME_SIGNALFD4): Likewise.
4287 (__ASSUME_DUP3): Likewise.
4288 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4289 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4290 (__ASSUME_AT_RANDOM): Likewise.
4291 (__ASSUME_PREADV): Likewise.
4292 (__ASSUME_PWRITEV): Likewise.
4293 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4294 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4295 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4296 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4297 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4299 (__ASSUME_O_CLOEXEC): Define unconditionally.
4300 (__ASSUME_PSELECT): Do not undefine conditionally.
4301 (__ASSUME_PPOLL): Likewise.
4302 (__ASSUME_ATFCTS): Likewise.
4303 (__ASSUME_SET_ROBUST_LIST): Likewise.
4304 (__ASSUME_UTIMENSAT): Likewise.
4305 (__ASSUME_FDATASYNC): Define unconditionally.
4306 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4307 (__ASSUME_SIGFRAME_V2): Likewise.
4308 )__ASSUME_EVENTFD2): Likewise.
4309 (__ASSUME_SIGNALFD4): Likewise.
4310 (__ASSUME_PSELECT): Do not undefine conditionally.
4311 (__ASSUME_PPOLL): Likewise.
4312 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4313 (__ASSUME_PSELECT): Define unconditionally.
4314 (__ASSUME_PPOLL): Likewise.
4315 (__ASSUME_O_CLOEXEC): Likewise.
4316 (__ASSUME_SOCK_CLOEXEC): Likewise.
4317 (__ASSUME_IN_NONBLOCK): Likewise.
4318 (__ASSUME_PIPE2): Likewise.
4319 (__ASSUME_EVENTFD2): Likewise.
4320 (__ASSUME_SIGNALFD4): Likewise.
4321 (__ASSUME_DUP3): Likewise.
4322 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4323 (__ASSUME_O_CLOEXEC): Likewise.
4324 (__ASSUME_SOCK_CLOEXEC): Likewise.
4325 (__ASSUME_IN_NONBLOCK): Likewise.
4326 (__ASSUME_PIPE2): Likewise.
4327 (__ASSUME_EVENTFD2): Likewise.
4328 (__ASSUME_SIGNALFD4): Likewise.
4329 (__ASSUME_DUP3): Likewise.
4330 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4331 (__ASSUME_EVENTFD2): Likewise.
4332 (__ASSUME_SIGNALFD4): Likewise.
4333 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4334
315eb1d8
AS
43352014-05-12 Andreas Schwab <schwab@suse.de>
4336
4337 [BZ #16932]
4338 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4339 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4340 than maximum RPC packet size.
4341 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4342 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4343 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4344 (_nss_nis_getservbyport_r): Likewise.
4345
91df99f7
WN
43462014-05-12 Will Newton <will.newton@linaro.org>
4347
4348 * malloc/Makefile (tests): Add tst-mallopt.
4349 * malloc/tst-mallopt.c: New file.
4350
0a982a29
RM
43512014-05-09 Roland McGrath <roland@hack.frob.com>
4352
4353 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4354 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4355
0ded08a5
AZ
43562014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4357
4358 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4359 (tst-tlsmod6.so): Likewise.
4360
55d4d550
RM
43612014-05-09 Roland McGrath <roland@hack.frob.com>
4362
4363 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4364
77d08aca
JM
43652014-05-09 Joseph Myers <joseph@codesourcery.com>
4366
4367 [BZ #16064]
4368 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4369 and <dl-procinfo.h>.
4370 (__fegetenv): Save SSE state in envp->__eip if supported.
4371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4372 envp->__eip if supported.
4373 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4374 and <dl-procinfo.h>.
4375 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4376 __data_offset and __data_selector in environment to 0. Set SSE
4377 state if supported.
4378 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4379 test-fenv-sse.
4380 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4381 -mfpmath=sse.
4382 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4383
28162f4d
WN
43842014-05-09 Will Newton <will.newton@linaro.org>
4385
4386 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4387 and libc_relro_required for ARM.
4388 * sysdeps/arm/preconfigure: Regenerate.
4389
5a414ff7
DV
43902014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4391 Stefan Liebler <stli@linux.vnet.ibm.com>
4392
4393 * config.make.in (enable-lock-elision): New Makefile variable.
4394 * configure.ac: Likewise.
4395 * configure: Regenerate.
4396 * sysdeps/s390/configure.ac:
4397 Add check for gcc transactions support.
4398 * sysdeps/s390/configure: Regenerate.
4399 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4400 Build elision files if enabled.
4401 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4402 Add lock elision support for s390.
4403 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4404 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4405 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4406 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4407 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4408 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4409 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4410 Likewise.
4411 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4412 Likewise.
4413 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4414 Likewise.
4415 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4416 Likewise.
4417 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4418 (__lll_timedlock_elision, __lll_lock_elision)
4419 (__lll_unlock_elision, __lll_trylock_elision)
4420 (lll_timedlock_elision, lll_lock_elision)
4421 (lll_unlock_elision, lll_trylock_elision): Add.
4422 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4423 (pthread_mutex_t): Add lock elision support for s390.
4424
1a2f40e5
W
44252014-05-14 Wilco <wdijkstr@arm.com>
4426
4427 * sysdeps/arm/fclrexcpt.c: Cleanup.
4428 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4429 * sysdeps/arm/feenablxcpt.c: Cleanup.
4430 * sysdeps/arm/fegetenv.c: Cleanup.
4431 * sysdeps/arm/fegetexcept.c: Cleanup.
4432 * sysdeps/arm/fegetround.c: Cleanup.
4433 * sysdeps/arm/feholdexcpt.c: Cleanup.
4434 * sysdeps/arm/fesetenv.c: Cleanup.
4435 * sysdeps/arm/fesetround.c: Cleanup.
4436 * sysdeps/arm/feupdateenv.c: Cleanup.
4437 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4438 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4439 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4440 * sysdeps/arm/ftestexcept.c: Cleanup.
4441 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4442 * sysdeps/arm/setfpucw.c: Cleanup.
4443
f63c86fe
WN
44442014-05-09 Will Newton <will.newton@linaro.org>
4445
4446 * sysdeps/arm/armv7/strcmp.S: New file.
4447 * NEWS: Mention addition of ARMv7 optimized strcmp.
4448
7a1a51b5
RM
44492014-05-08 Roland McGrath <roland@hack.frob.com>
4450
95afbbe5
RM
4451 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4452 look for %.ac rather than %.in.
4453
4454 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4455 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4456 * sysdeps/mach/hurd/configure: Regenerated.
4457 * sysdeps/unix/sysv/linux/configure: Regenerated.
4458
7a1a51b5
RM
4459 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4460
5057ad3b
SE
44612014-05-07 Steve Ellcey <sellcey@mips.com>
4462
4463 [BZ# 16922]
4464 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4465 (LONG_SUB): Ditto.
4466 (PTR_SUB): Ditto.
4467
8dc97517
AS
44682014-05-07 Andreas Schwab <schwab@suse.de>
4469
4470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4471 when skipping over non-matching result from nscd.
4472
ce0c5b8f
OB
44732014-05-07 Ondřej Bílka <neleai@seznam.cz>
4474
4475 [BZ #16876]
4476 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4477
a1189263
OB
4478 [BZ #16877]
4479 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4480 nscd security class.
ce0c5b8f 4481
0f58d252
RM
44822014-05-06 Roland McGrath <roland@hack.frob.com>
4483
4484 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4485 * sysdeps/arm/unwind.h: ... here.
4486
83df9ad0
AJ
44872014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4488
ce0c5b8f
OB
4489 [BZ# 16916]
4490 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4491 Define.
83df9ad0 4492
f360f94a
VR
44932014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4494
4495 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4496 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4497 multiarch strncpy for PPC64.
4498 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4499 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4501 multiarch optimizations.
4502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4503 (__libc_ifunc_impl_list): Likewise.
4504 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4505 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4506 multiarch stpncpy for PPC64.
4507 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4508 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4509
978a41c3
AS
45102014-05-06 Andreas Schwab <schwab@suse.de>
4511
4512 [BZ #16912]
4513 * gmon/mcount.c (_MCOUNT_DECL): Use
4514 atomic_compare_and_exchange_bool_acq instead of
4515 catomic_compare_and_exchange_bool_acq.
4516
eb1ed03d
RM
45172014-05-05 Roland McGrath <roland@hack.frob.com>
4518
fe658845
RM
4519 * elf/Makefile (others, install-bin): Remove pldd.
4520 (pldd-modules): Variable removed.
4521 ($(objpfx)pldd): Target removed.
4522 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4523 (others, install-bin): Append pldd here.
4524 ($(objpfx)pldd): New target.
4525
eb1ed03d
RM
4526 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4527 to 0, so the first #if test emitted later doesn't see it undefined.
4528 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4529 * sysdeps/gnu/errlist.c: Regenerated.
4530
19c4bec0
AZ
45312014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4532
4533 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4534 [libc_hidden_builtin_def]: Define to empty value.
4535 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4536 [libc_hidden_builtin_def]: Likewise.
4537 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4538 [libc_hidden_builtin_def]: Likewise.
4539 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4540 [libc_hidden_builtin_def]: Likewise.
4541 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4542 __redirect_memcpy and define ifunc as default hidden symbol.
4543 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4544 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4545
7776e669
AC
45462014-05-04 Adam Conrad <adconrad@0c3.net>
4547
4548 * locale/iso-4217.def: Reintroduce XDR currency.
4549
d69aeb12
AM
45502014-05-04 Allan McRae <allan@archlinux.org>
4551
4552 * po/eo.po: Update Esperanto translation from translation project.
4553
8f1df5cf
CD
45542014-05-02 Carlos O'Donell <carlos@redhat.com>
4555
4556 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4557 and FEATURE_INDEX_MAX to 1.
4558 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4559
13e402e7
SE
45602014-05-01 Steve Ellcey <sellcey@mips.com>
4561
4562 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4563 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4564 * iconvdata/big5.c (ONE_DIRECTION): Define.
4565 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4566 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4567 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4568 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4569 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4570 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4571 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4572 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4573 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4574 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4575 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4576 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4577 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4578 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4579 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4580 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4581 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4582 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4583 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4584 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4585 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4586 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4587 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4588 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4589 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4590 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4591 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4592 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4593 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4594 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4595 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4596 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4597 * iconvdata/johab.c (ONE_DIRECTION): Define.
4598 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4599 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4600 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4601 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4602 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4603 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4604 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4605 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4606 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4607 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4608
c727f032
RM
46092014-05-01 Roland McGrath <roland@hack.frob.com>
4610
8f2f08d0
RM
4611 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4612 (_IO_JUMPS_OFFSET): Define to 0.
4613
c727f032
RM
4614 * nptl/sysdeps/pthread/bits/libc-lock.h
4615 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4616 (__libc_lock_define_initialized_recursive): Always define using
4617 initializer. Modern compilers treat uninitialized (implicit zero) and
4618 explicit zero initializers the same (i.e. put the datum in bss).
4619
a849e800
AS
46202014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4621
4622 * nscd/nscd-client.h: Include <string.h>.
4623
5331255b
DM
46242014-05-01 David S. Miller <davem@davemloft.net>
4625
4626 [BZ #16885]
4627 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4628 multiple zero bytes exist at the end of a string.
4629 Reported by Aurelien Jarno <aurelien@aurel32.net>
4630
4631 * string/test-strcmp.c (check): Add explicit test for situations where
4632 there are multiple zero bytes after the first.
4633
4fdfe821
AS
46342014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4635
4636 [BZ #16890]
4637 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4638 when compiling wprintf.
4639 * stdio-common/tstdiomisc.c (t3): New function.
4640 (main): Call it.
4641
0cdddc25
SE
46422014-05-01 Steve Ellcey <sellcey@mips.com>
4643
4644 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4645 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4646 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4647 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4648
6426d77e
SE
46492014-05-01 Steve Ellcey <sellcey@mips.com>
4650
4651 * stdlib/longlong.h: Updated from GCC.
4652
6d96f5e4
WN
46532014-05-01 Will Newton <will.newton@linaro.org>
4654 Bernard Ogden <bernie.ogden@linaro.org>
4655
7470db0c
WN
4656 * NEWS: Update fixed bug list.
4657
6d96f5e4
WN
4658 [BZ #15119]
4659 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4660
211d653c
DM
46612014-04-30 David S. Miller <davem@davemloft.net>
4662
4fa262fa
DM
4663 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4664 (libc_feholdexcept_setround_sparc_ctx): New function.
4665 (libc_fesetenv_sparc_ctx): Likewise.
4666 (libc_feupdateenv_sparc_ctx): Likewise.
4667 (libc_feholdsetround_sparc_ctx): Likewise.
4668 (libc_feholdexcept_setround_ctx): Define.
4669 (libc_feholdexcept_setroundf_ctx): Likewise.
4670 (libc_feholdexcept_setroundl_ctx): Likewise.
4671 (libc_fesetenv_ctx): Likewise.
4672 (libc_fesetenvf_ctx): Likewise.
4673 (libc_fesetenvl_ctx): Likewise.
4674 (libc_feupdateenv_ctx): Likewise.
4675 (libc_feupdateenvf_ctx): Likewise.
4676 (libc_feupdateenvl_ctx): Likewise.
4677 (libc_feresetround_ctx): Likewise.
4678 (libc_feresetroundf_ctx): Likewise.
4679 (libc_feresetroundl_ctx): Likewise.
4680 (libc_feholdsetround_ctx): Likewise.
4681 (libc_feholdsetroundf_ctx): Likewise.
4682 (libc_feholdsetroundl_ctx): Likewise.
4683
1d3d93ef
DM
4684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4685 with __USE_GNU instead of XOPEN cpp guards.
4686
8aa583c3
DM
4687 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4688 0.
4689
211d653c
DM
4690 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4691 with XOPEN cpp guards.
4692
60c8f1f6
JB
46932014-04-30 Julian Brown <julian@codesourcery.com>
4694
4695 [BZ #16888]
4696 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4697 handling.
4698
9a461d46
JM
46992014-04-30 Joseph Myers <joseph@codesourcery.com>
4700
d0f5b3f8
JM
4701 [BZ #9894]
4702 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4703 Change to 2.6.32.
4704 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4705 * sysdeps/unix/sysv/linux/configure: Regenerated.
4706 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4707 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4708 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4709 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4710 * README: Update reference to required Linux kernel version.
4711 * manual/install.texi (Linux): Update reference to required Linux
4712 kernel headers version.
4713 * INSTALL: Regenerated.
4714
9a461d46
JM
4715 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4716 header inclusion.
4717 [POSIX] (limits.h): Likewise.
4718 [POSIX] (math.h): Likewise.
4719 [POSIX] (sys/wait.h): Likewise.
4720 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4721 function.
4722 [POSIX] (stddef.h): Do not allow header inclusion.
4723
1775babf
AZ
47242014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4725
57f41c40 4726 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 4727
8f630cca
YY
47282014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4729
4730 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4731 Return immediately after lll_futex_wake.
4732
1cdeb237
SP
47332014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4734
bc8f194c
SP
4735 [BZ #16791]
4736 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4737 structure.
4738 (datahead_init_pos): Call datahead_init_common early.
4739 (datahead_init_neg): Likewise.
4740
1cdeb237
SP
4741 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4742 datahead_init_neg): New functions.
4743 * nscd/aicache.c (addhstaiX): Use them.
4744 * nscd/grpcache.c (cache_addgr): Likewise.
4745 * nscd/hstcache.c (cache_addhst): Likewise.
4746 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4747 * nscd/netgroupcache.c (do_notfound): Likewise.
4748 (addgetnetgrentX): Likewise.
4749 (addinnetgrX): Likewise.
4750 * nscd/pwdcache.c (cache_addpw): Likewise.
4751 * nscd/servicescache.c (cache_addserv): Likewise.
4752
16b293a7
SP
47532014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4754 Atsushi Onoe <atsushi@onoe.org>
4755
4756 [BZ #14308]
4757 [BZ #12994]
4758 [BZ #13651]
4759 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4760 one response is valid.
4761 * resolv/res_send.c (send_dg): Check for validity of other
4762 response if the current response is a referral.
4763
a28a9b94
SE
47642014-04-29 Steve Ellcey <sellcey@mips.com>
4765
4766 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4767
2ca180e9
SL
47682014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4769
4770 [BZ #16823]
4771 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4772 Always divide by positive zero when computing -Inf result.
4773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4774 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4775
18f2945a
AZ
47762014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4777
4778 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4779 FPSCR if value do not change.
4780 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4781 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4782 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4783 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4784 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4785 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4786 function.
4787
5abebba4
CD
47882014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4789
4790 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4791 * sysdeps/unix/sysv/linux/hppa: Move directory from
4792 ports/systeps/unix/sysv/linux/hppa.
4793 * README: Update listing for hppa-*-linux-gnu.
4794
f7ed60c2
OB
47952014-04-28 Ondřej Bílka <neleai@seznam.cz>
4796
fff763a5
OB
4797 [BZ #16754]
4798 * manual/stdio.texi (Hook functions): Fix types of stream hook
4799 functions.
f7ed60c2
OB
4800 [BZ #16854]
4801 * socket/sys/socket.h: Fix typo in comment.
4802
df639d73
WD
48032014-04-28 Wilco <wdijkstr@arm.com>
4804
f7ed60c2 4805 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
4806 * sysdeps/arm/math_private.h: New file.
4807 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4808
48332d82
L
48092014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4810
4811 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4812 with __int128_t.
4813 (La_x86_64_retval): Likewise.
4814
e5e0d9a4
IB
48152014-04-24 Ian Bolton <ian.bolton@arm.com>
4816
4817 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4818 fpsr if value didn't change.
4819 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4820 to fpcr if value didn't change.
4821 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4822 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4823 fpsr or fpcr if value didn't change.
4824 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4825 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4826 fpcr if value didn't change.
4827 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4828 to fpsr if value didn't change.
4829
bacc75f7
SP
48302014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4831
4832 * nptl/tst-sem3.c: Use test-skeleton.c
4833 (main): Rename to do_test. Use return instead of
4834 exit.
4835 * nptl/tst-sem4.c: Use test-skeleton.c
4836 (main): Rename to do_test.
4837
a059d359
DM
48382014-04-22 David S. Miller <davem@davemloft.net>
4839
4840 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4841 (struct sigaction): New struct member __glibc_reserved0, change
4842 type of sa_flags to int.
4843
ea6c92f3
YZ
48442014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4845
4846 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4847 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4848
766c4a36
SP
48492014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4850
4851 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4852 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4853
140cc7ab
VK
48542014-04-22 Will Newton <will.newton@linaro.org>
4855 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4856
4857 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4858 (__longjmp): Add longjmp and longjmp_target SystemTap
4859 probes.
4860 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4861 (__sigsetjmp): Add setjmp SystemTap probe.
4862
c54e5cf7
CD
48632014-04-17 Carlos O'Donell <carlos@redhat.com>
4864
4865 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4866 match manual order.
4867
75ffb047
AZ
48682014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4869
4870 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4871
2cd925f7
AZ
4872 * sysdeps/powerpc/fpu/fenv_private.h
4873 (libc_feholdexcept_setroundl_ctx): Define to
4874 libc_feholdexcept_setround_ppc_ctx.
4875 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4876 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4877 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4878 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4879
39e6cd8d
IB
48802014-04-17 Ian Bolton <ian.bolton@arm.com>
4881
4882 * sysdeps/aarch64/math-tests.h: New file.
4883
f9281df9
SY
48842014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4885
4886 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4887 New.
4888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4889 Check and set bit_AVX2_Usable.
4890 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4891 macro.
4892 (bit_AVX2): Likewise.
4893 (index_AVX2_Usable): Likewise.
4894 (CPUID_AVX2): Likewise.
4895 (HAS_AVX2): Likewise.
4896
37d35007
WN
48972014-04-17 Will Newton <will.newton@linaro.org>
4898
7c677662
WN
4899 * manual/setjmp.texi (System V contexts): Add note that
4900 calling setcontext on a context created by a call to a
4901 signal handler is undefined. Update text to note that
4902 setcontext from a signal handler is possible but not
4903 recommended.
4904
37d35007 4905 [BZ #16629]
e04a4e9d
WN
4906 * stdlib/tst-setcontext.c: Include signal.h.
4907 (main): Check that the signal stack before and
4908 after swapcontext is the same.
4909
37d35007
WN
4910 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4911 Re-implement to restore registers in user code and avoid
4912 rt_sigreturn system call.
4913
423a7160
W
49142014-04-17 Wilco <wdijkstr@arm.com>
4915
4916 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4917 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4918 * math/test-fenv.c: Skip exception trap tests on targets which only
4919 support non-stop mode.
4920
bc93ab29
IB
49212014-04-17 Ian Bolton <ian.bolton@arm.com>
4922 Wilco Dijkstra <wilco.dijkstra@arm.com>
4923
4924 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4925 (libc_feholdsetround_aarch64_ctx)
4926 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4927 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4928 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4929 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4930 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4931 (libc_feresetround_noexl_ctx): Define.
4932
95fc5fa3
RH
49332014-04-16 Richard Henderson <rth@redhat.com>
4934
ddb04724
RH
4935 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4936
d77c0899
RH
4937 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4938 unwind tables.
4939
a3df56fc
RH
4940 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4941 const from the non-libc, non-ldso copy.
4942
95fc5fa3
RH
4943 * sysdeps/alpha/libm-test-ulps: Regenerate.
4944
7e0b6763
IB
49452014-04-16 Ian Bolton <ian.bolton@arm.com>
4946 Wilco Dijkstra <wilco.dijkstra@arm.com>
4947
4948 * sysdeps/aarch64/fpu/math_private.h: New file.
4949
a9ea2e0c
MS
49502014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4951
4952 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4953
ea8ba7cd
IZ
49542014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4955
4956 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4957 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4959 Intel MPX bound registers before _dl_profile_fixup.
4960 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4961 registers after _dl_profile_fixup. Save and restore bound
4962 registers bnd0/bnd1 when calling _dl_call_pltexit.
4963 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4964 (LR_BND_OFFSET): Likewise.
4965 (LRV_BND0_OFFSET): Likewise.
4966 (LRV_BND1_OFFSET): Likewise.
4967
9f2a4fbc
ST
49682014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4969
4970 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4971 to...
4972 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
4973 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4974 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4975 fields.
9f2a4fbc 4976
fd15a59b
ST
49772014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4978
4979 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4980
f19dfa0a
SL
49812014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4982
4983 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4984
4fa8bc3b
SL
49852014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4986
4987 [BZ #14770]
4988 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4989 * sysdeps/s390/configure: Regenerate.
4990
8ea587db
SL
4991 [BZ #16824]
4992 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4993 Set round-to-nearest internally to reduce error accumulation.
4994
aa5f0ff1
AM
49952014-04-16 Alan Modra <amodra@gmail.com>
4996
4997 [BZ #16740]
4998 [BZ #16619]
4999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5000 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5001 * NEWS: Update fixed bug list.
aa5f0ff1 5002
bb9c256f
SP
50032014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
5005 * benchtests/Makefile: Depend on libraries in build directory.
5006 (bench-math): Separate out math tests.
5007 (bench-pthread): Separate out pthread tests.
5008 (bench): Include math and pthread tests.
5009
f737dfd0
CD
50102014-04-14 Carlos O'Donell <carlos@redhat.com>
5011
5012 [BZ #16831]
5013 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5014 _dl_debug_initialize.
5015
0699f766
CD
5016 * configure.ac: Remove SELinux header check.
5017 * configure: Regenerate.
5018 * nscd/selinux.c (perms): Array of const char* to permission names.
5019 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5020 default policy. Call string_to_security_class and string_to_av_perm to
5021 translate strings. Enforce default policy and call avs_has_perm with
5022 results of translated strings.
5023
809bd45f
DM
50242014-04-13 David S. Miller <davem@davemloft.net>
5025
5026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5027
89e691f2
AM
50282014-04-12 Allan McRae <allan@archlinux.org>
5029
5030 [BZ #16838]
5031 * manual/string.texi (Collation Functions): Fix qsort argument
5032 order in example.
5033 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5034
9c9daaeb
CM
50352014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5036
5037 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5038 Make the test a no-op if there are no exceptions defined.
5039
95561fb9
PP
50402014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5041
fe8d072c 5042 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5043 enable-hardcoded-path-in-tests
5044
970c602a
WN
50452014-04-11 Will Newton <will.newton@linaro.org>
5046
5047 * benchtests/Makefile (extra-objs): Add json-lib.o.
5048 (bench-func): Tidy up JSON output.
5049 * benchtests/bench-skeleton.c: Include json-lib.h.
5050 (main): Use JSON library functions to do output of
5051 benchmark results.
5052 * benchtests/bench-timing-type.c (main): Output the
5053 timing type simply, leaving formatting to the user.
5054 * benchtests/json-lib.c: New file.
5055 * benchtests/json-lib.h: Likewise.
5056
36875b06
TR
50572014-04-11 Torvald Riegel <triegel@redhat.com>
5058
5059 [BZ #15215]
5060 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5061 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5062 memory barriers. Add comments.
5063 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5064 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5065 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5066 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5067 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5068 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5069
579db35a
SL
50702014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5071
5072 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5073 * sysdeps/s390/s390-64/configure.ac: ... this ...
5074 * sysdeps/s390/configure.ac: ... to here.
5075 * sysdeps/s390/s390-32/configure: Delete file.
5076 * sysdeps/s390/s390-64/configure: Delete file.
5077 * sysdeps/s390/configure: Regenerate.
5078
c12e9f37
JAPH
50792014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5080
5081 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5082
439bda32
WN
50832014-04-11 Will Newton <will.newton@linaro.org>
5084
5085 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5086 to zero if it is not defined elsewhere. (mtrim): Test
5087 the value of MALLOC_DEBUG with #if rather than #ifdef.
5088
6a5d6ea1
TR
50892014-04-10 Torvald Riegel <triegel@redhat.com>
5090
5091 * benchtests/pthread_once-inputs: New file.
5092 * benchtests/pthread_once-source.c: New file.
5093 * benchtests/README: Update documentation.
5094
a4c75cfd
IZ
50952014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5096 H.J. Lu <hongjiu.lu@intel.com>
5097
5098 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5099 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5100 * sysdeps/x86_64/configure: Regenerated.
5101 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5102 macro.
5103 (REGISTER_SAVE_RAX): Likewise.
5104 (REGISTER_SAVE_RCX): Likewise.
5105 (REGISTER_SAVE_RDX): Likewise.
5106 (REGISTER_SAVE_RSI): Likewise.
5107 (REGISTER_SAVE_RDI): Likewise.
5108 (REGISTER_SAVE_R8): Likewise.
5109 (REGISTER_SAVE_R9): Likewise.
5110 (REGISTER_SAVE_BND0): Likewise.
5111 (REGISTER_SAVE_BND1): Likewise.
5112 (REGISTER_SAVE_BND2): Likewise.
5113 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5114 bound registers when calling _dl_fixup.
5115
27822ce6
AZ
51162014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117
5118 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5119 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5120 of its definition.
27822ce6
AZ
5121 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5122 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5123 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5124 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5125 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5126 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5127 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5128
a88ddc90
PTB
51292014-04-09 Peter Brett <peter@peter-b.co.uk>
5130
5131 [BZ #15514]
5132 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5133 pathconf(_PC_NAME_MAX).
5134
01f8eac2
AZ
51352014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5136
5137 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5138 Remove macro usage.
5139 (__PTHREAD_SPINS): Move definition to ...
5140 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5141 (__PTHREAD_SPINS): ... here.
5142 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5143 (__PTHREAD_SPIN): Likewise.
5144 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5145 (__PTHREAD_SPIN): Likewise.
5146 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5147 (__PTHREAD_SPIN): Likewise.
5148 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5149 (__PTHREAD_SPIN): Likewise.
5150 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5151 (__PTHREAD_SPIN): Likewise.
5152 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5153 (__PTHREAD_SPIN): Likewise.
5154 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5155 (__PTHREAD_SPIN): Likewise.
5156 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5157 (__PTHREAD_SPIN): Likewise.
5158 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5159 (__PTHREAD_SPIN): Likewise.
5160 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5161 (__PTHREAD_SPIN): Likewise.
5162 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5163 (__PTHREAD_SPIN): Likewise.
5164 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5165 (__PTHREAD_SPIN): Likewise.
5166
de21c33c
AZ
5167 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5168 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5169 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5170 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5171 imply folder.
5172 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5173 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5174 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5175 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5176 correct imply path.
5177 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5178 strlen symbol for non multi-arch builds.
5179 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5180 missing hidden_def and weak_alias.
5181
862c472e
CD
51822014-04-08 Carlos O'Donell <carlos@redhat.com>
5183
5184 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5185
8667f90e
WN
51862014-04-07 Will Newton <will.newton@linaro.org>
5187
5188 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5189 and contents. [!_LIBC] Remove #ifndef and contents.
5190 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5191 * string/memccpy.c (__memccpy): Use ANSI prototype.
5192 * string/memfrob.c (memfrob): Likewise.
5193 * string/strcoll.c (STRCOLL): Likewise.
5194 * string/strlen.c (strlen): Likewise.
5195 * string/strtok.c (STRTOK): Likewise.
5196 * string/strcat.c: Remove unused #include of memcopy.h.
5197 (strcat): Use ANSI prototype.
5198 * string/strchr.c: Remove unused #include of memcopy.h.
5199 (strchr): Use ANSI prototype.
5200 * string/strcmp.c: Remove unused #include of memcopy.h.
5201 (strcmp): Use ANSI prototype.
5202 * string/strcpy.c: Remove unused #include of memcopy.h.
5203 (strcpy): Use ANSI prototype.
5204
7ffa9423
AZ
52052014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5206
5207 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5208 * config.make.in (config-extra-cppflags): Set it from
5209 libc_extra_cppflags.
5210 * configure.ac (libc_extra_cflags): Make it accumulate over
5211 configure fragments.
5212 (libc_extra_cppflags): New flag.
5213 * configure. Regenerate.
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5215 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5216 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5218
8bd70862
AZ
5219 [BZ #16815]
5220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5221 result for FE_DOWNWARD rounding mode.
5222 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5223 Likewise.
5224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5225
d42f3448
CM
52262014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5227
5228 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5229 in function argument name.
5230
1c21d115
DS
52312014-04-03 David Svoboda <svoboda@cert.org>
5232
5233 [BZ #5666]
5234 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5235 explicitly.
5236
fcccd512
RM
52372014-04-03 Roland McGrath <roland@hack.frob.com>
5238
5239 * elf/dl-unmap-segments.h: New file.
5240 * sysdeps/generic/ldsodefs.h
5241 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5242 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5243 * elf/dl-fptr.c: Likewise.
5244 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5245 * sysdeps/aarch64/tlsdesc.c: Likewise.
5246 * sysdeps/arm/tlsdesc.c: Likewise.
5247 * sysdeps/i386/tlsdesc.c: Likewise.
5248 * sysdeps/tile/dl-runtime.c: Likewise.
5249 * sysdeps/x86_64/tlsdesc.c: Likewise.
5250 * elf/dl-load.h: New file.
5251 * elf/dl-load.c: Include it.
5252 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5253 Macros moved to dl-load.h.
5254 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5255 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5256 Use _dl_unmap_segments in place of __munmap.
5257 Break out segment-mapping loop into ...
5258 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5259
f6488e2b
WN
52602014-04-03 Will Newton <will.newton@linaro.org>
5261
5262 * elf/dl-lookup.c (do_lookup_x): Remove comment
5263 referring to nested function and move variable
5264 declarations down to before first use.
5265
6f05bafe
JM
52662014-04-02 Joseph Myers <joseph@codesourcery.com>
5267
a84e78c8
JM
5268 [BZ #16799]
5269 [BZ #16800]
5270 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5271 with 0 numerator.
5272 * math/s_catanf.c (__catanf): Likewise.
5273 * math/s_catanh.c (__catanh): Likewise.
5274 * math/s_catanhf.c (__catanhf): Likewise.
5275 * math/s_catanhl.c (__catanhl): Likewise.
5276 * math/s_catanl.c (__catanl): Likewise.
5277 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5278 by positive zero when computing -Inf result.
5279 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5280 (catanh_test): Likewise.
5281 * sysdeps/i386/fpu/libm-test-ulps: Update.
5282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5283
6f05bafe
JM
5284 [BZ #16789]
5285 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5286 instead of using underflowing value in computing result.
5287 * math/s_clog10.c (__clog10): Likewise.
5288 * math/s_clog10f.c (__clog10f): Likewise.
5289 * math/s_clog10l.c (__clog10l): Likewise.
5290 * math/s_clogf.c (__clogf): Likewise.
5291 * math/s_clogl.c (__clogl): Likewise.
5292 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5293 (clog10_test): Likewise.
5294 * sysdeps/i386/fpu/libm-test-ulps: Update.
5295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5296
b0abbc21
AM
52972014-04-02 Alan Modra <amodra@gmail.com>
5298
5299 [BZ #16739]
5300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5301 output when value is near a power of two. Use int64_t for lx and
5302 remove casts. Use decimal rather than hex exponent constants.
5303 Don't use long double multiplication when double will suffice.
5304 * math/libm-test.inc (nextafter_test_data): Add tests.
5305 * NEWS: Add 16739 and 16786 to bug list.
5306
af6b1797
AM
5307 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5308
483818d7
AM
5309 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5310
f6c55796
WN
53112014-04-01 Will Newton <will.newton@linaro.org>
5312
5313 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5314 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5315
13f7fe35
FW
53162014-04-01 Florian Weimer <fweimer@redhat.com>
5317
5318 [BZ #13347]
5319 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5320 * nptl/tst-setuid2.c: New file.
5321 * nptl/Makefile (xtests): Add tst-setuid2.
5322
c859b32e
AM
53232014-04-01 Alan Modra <amodra@gmail.com>
5324
5325 [BZ #16786]
5326 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5327
54fa2475
JM
53282014-03-31 Joseph Myers <joseph@codesourcery.com>
5329
8795b4a4
JM
5330 [BZ #6803]
5331 [BZ #6804]
5332 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5333 set errno as appropriate.
5334 * math/w_scalbf.c (__scalbf): Likewise.
5335 * math/w_scalbl.c (__scalbl): Likewise.
5336 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5337 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5338 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5339 Add more NaN tests.
5340
54fa2475
JM
5341 [BZ #16349]
5342 * math/w_atan2.c: Include <errno.h>.
5343 (__atan2): Set errno for result underflowing to zero.
5344 * math/w_atan2f.c: Include <errno.h>.
5345 (__atan2f): Set errno for result underflowing to zero.
5346 * math/w_atan2l.c: Include <errno.h>.
5347 (__atan2l): Set errno for result underflowing to zero.
5348 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5349 tests.
5350 * math/auto-libm-test-out: Regenerated.
5351
757d9dd5
AZ
53522014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
5354 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5355 Encode instruction correctly in little endian.
5356 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5357 Likewise.
5358 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5359 Likewise.
5360 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5361 Likewise.
5362 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5363 Likewise.
5364
d7a68734
JM
53652014-03-31 Joseph Myers <joseph@codesourcery.com>
5366
47c5adeb
JM
5367 [BZ #9894]
5368 * sysdeps/unix/sysv/linux/kernel-features.h
5369 [__sparc__ && !__arch64__ && !__sparc_v9__]
5370 (__ASSUME_SET_ROBUST_LIST): Do not define.
5371 [__sparc__ && !__arch64__ && !__sparc_v9__]
5372 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5373 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5374 Likewise.
5375 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5376 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5377 (__ASSUME_REQUEUE_PI): Likewise.
5378 (__ASSUME_SET_ROBUST_LIST): Likewise.
5379 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5380 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5381 Undefine.
5382 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5383 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5384 Likewise.
5385 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5386 Likewise.
5387 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5388 Likewise.
5389 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5390 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5391 Undefine.
5392 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5393 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5394 Likewise.
5395
d7a68734
JM
5396 [BZ #16648]
5397 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5398 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5399 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5400
c760f5c2
WN
54012014-03-31 Will Newton <will.newton@linaro.org>
5402
5403 * benchtests/Makefile (bench): Add ffs and ffsll to list
5404 of tests.
5405 * benchtests/ffs-inputs: New file.
5406 * benchtests/ffsll-inputs: Likewise.
5407
ea6029b1
JM
54082014-03-29 Joseph Myers <joseph@codesourcery.com>
5409
5410 [BZ #16770]
5411 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5412 too large before casting to int.
5413 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5414 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5415 * math/libm-test.inc (scalb_test_data): Add more tests.
5416
cf806aff
SP
54172014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5418
56737508
SP
5419 * benchtests/Makefile (DETAILED_OPT): New make option.
5420 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5421 set.
5422 * benchtests/bench-skeleton.c: Include stdbool.h.
5423 (main): Store and print timings per input.
5424 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5425 member to each argument value.
5426 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5427 (_print_arg_data): Initialize per-input timing to 0.
5428
cb5e4aad
SP
5429 * benchtests/Makefile (timing-type): New binary.
5430 (bench-clean): Also remove bench-timing-type.
5431 (bench): New target for timing-type.
5432 (bench-func): Print output in JSON format.
5433 * benchtests/bench-skeleton.c (main): Print output in JSON
5434 format.
5435 * benchtests/bench-timing-type.c: New file.
5436 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5437 (TIMING_PRINT_STATS): Remove.
5438 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5439 name separately.
5440
cf806aff
SP
5441 * benchtests/bench-modf.c: Remove.
5442 * benchtests/modf-inputs: New inputs file.
5443
289e0779
JM
54442014-03-28 Joseph Myers <joseph@codesourcery.com>
5445
5446 [BZ #16362]
5447 * math/s_clog10.c (M_PI_LOG10E): New macro.
5448 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5449 imaginary parts are 0.
5450 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5451 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5452 imaginary parts are 0.
5453 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5454 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5455 imaginary parts are 0.
5456 * math/libm-test.inc (clog10_test_data): Update expected results
5457 for when real and imaginary parts are 0.
5458
277ae3f1
PP
54592014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5460
5461 * elf/dl-load.c: Finish conversion of __builtin_expect into
5462 __glibc_{un}likely.
5463
03a7091f
JM
54642014-03-27 Joseph Myers <joseph@codesourcery.com>
5465
5466 [BZ #16348]
5467 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5468 1+x for argument with exponent below -67.
5469 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5470 Likewise.
5471 * math/auto-libm-test-in: Add more tests of exp.
5472 * math/auto-libm-test-out: Regenerated.
5473
ea7d8b95
SP
54742014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5475
dd3022d7
SP
5476 [BZ #16759]
5477 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5478 (nscd_getnetgrent): Use it.
5479
ea7d8b95
SP
5480 [BZ #16760]
5481 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5482 of stpcpy.
5483
df5b85da
AK
54842014-03-27 Andi Kleen <ak@linux.intel.com>
5485
57f41c40
AS
5486 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5487 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5488 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5489 (lll_robust_unlock): Remove out of line section. Use cfi
5490 intrinsics.
df5b85da 5491 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5492 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5493 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5494 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5495 (lll_robust_unlock): Remove out of line section. Use cfi
5496 intrinsics.
df5b85da
AK
5497 (LLL_STUB_UNWIND_INFO*): Remove.
5498
fbd6b5a4
SP
54992014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5500
5501 [BZ #16758]
5502 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5503 blank values.
5504
1b26b855
PP
55052014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5506
5507 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5508
9be36fb8
JM
55092014-03-26 Joseph Myers <joseph@codesourcery.com>
5510
5511 [BZ #16198]
5512 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5513 fnstenv.
5514 * math/test-fenv-preserve.c: New file.
5515 * math/Makefile (tests): Add test-fenv-preserve.
5516
60a2f3c1
WN
55172014-03-26 Will Newton <will.newton@linaro.org>
5518
5519 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5520
a5e5f1e2
RM
55212014-03-25 Roland McGrath <roland@hack.frob.com>
5522
5523 * scripts/versionlist.awk: Partition the version sets and emit all
5524 GLIBC_* (sorted) before all others (sorted).
5525
00f4012a
JM
55262014-03-25 Joseph Myers <joseph@codesourcery.com>
5527
5528 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5529 GLIBC_2.2.5 version.
5530
7bc5a741
AZ
55312014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5532
5533 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5534 calls.
5535
7578473b
AZ
5536 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5537 previous change.
5538
f3f1dab3
AZ
5539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5540
6da36183
AS
55412014-03-25 Andreas Schwab <schwab@suse.de>
5542
5543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5544 label to be used after in6ailist is initialized.
5545
f3f1dab3 55462014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 5547
7578473b 5548 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
5549 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5550
046651c1
JM
55512014-03-25 Joseph Myers <joseph@codesourcery.com>
5552
5553 [BZ #16357]
5554 [BZ #16599]
5555 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5556 min_plus_half.
5557 (fp_formats): Update initializers.
5558 (init_fp_formats): Initialize new field.
5559 (output_for_one_input_case): Allow underflow for results up to
5560 min_plus_half.
5561 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5562 * math/auto-libm-test-in: Don't mark some underflows from asin and
5563 atanh as spurious.
5564 * math/auto-libm-test-out: Regenerated.
5565 * sysdeps/i386/fpu/libm-test-ulps: Update.
5566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5567
003e49ed
AS
55682014-03-25 Andreas Schwab <schwab@suse.de>
5569
5570 * libio/Makefile (tst-ftell-partial-wide-ENV)
5571 (tst-ftell-active-handler-ENV): Define.
5572
de031874
SL
55732014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5574
5575 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5576
55a81e3b
PP
55772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5578
5579 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5580
f3426898
JM
55812014-03-24 Joseph Myers <joseph@codesourcery.com>
5582
5583 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5584 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5585 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5586
a42faf59
PP
55872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5588
5589 [BZ #16634]
a42faf59 5590 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
5591 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5592 (open_path): Change from boolean 'secure' to complete flag 'mode'
5593 (_dl_map_object): Adjust.
a42faf59
PP
5594 * elf/Makefile (tests): Add tst-dlopen-aout.
5595 * elf/tst-dlopen-aout.c: New test.
5596
50936127
SL
55972014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5598
5599 [BZ #16714]
5600 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5601 (struct stat): Rename member pad0 to __glibc_reserved0.
5602
26011b5c
SL
5603 [BZ #16712]
5604 * sysdeps/s390/s390-32/bits/wordsize.h
5605 (__WORDSIZE32_SIZE_ULONG): New define.
5606 * sysdeps/s390/s390-64/bits/wordsize.h
5607 (__WORDSIZE32_SIZE_ULONG): Likewise.
5608 * sysdeps/generic/stdint.h (SIZE_MAX):
5609 Define as UL if __WORDSIZE32_SIZE_ULONG.
5610
a2d86bf1
SL
5611 [BZ #16713]
5612 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5613 (__glibc_reserved0): New variable.
5614 (sa_flags): Change type to int.
5615
78b6eebc
SL
5616 * posix/Makefile (before-compile): Use += before-compile instead
5617 of a :=.
5618
f1399b5a
SL
5619 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5620 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5621
a071766e
AS
56222014-03-20 Andreas Schwab <schwab@suse.de>
5623
5624 [BZ #16743]
5625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5626 non-matching result from nscd.
5627
27c673b8
SP
56282014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5629
5630 * scripts/bench.py: Moved to ...
5631 * benchtests/scripts/bench.py: ... here.
5632 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5633
44152e4b
AS
56342014-03-24 Andreas Schwab <schwab@suse.de>
5635
5636 [BZ #16002]
5637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5638 alloca_account and account alloca use for struct in6ailist.
5639
b376a11a
JM
56402014-03-24 Joseph Myers <joseph@codesourcery.com>
5641
5642 [BZ #16284]
5643 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5644 rounding mode to recompute results that overflow to infinity or
5645 underflow to zero.
5646 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5647 bug 16284.
5648 * math/auto-libm-test-out: Regenerated.
5649 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5650 (ccosh_test): Likewise.
5651 (csin_test_data): Use plus_oflow.
5652 (csin_test): Use ALL_RM_TEST.
5653 (csinh_test_data): Use plus_oflow.
5654 (csinh_test): Use ALL_RM_TEST.
5655 * sysdeps/i386/fpu/libm-test-ulps: Update.
5656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5657
f7be7376
JM
56582014-03-21 Joseph Myers <joseph@codesourcery.com>
5659
1ca2d03e
JM
5660 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5661 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5662 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5663
f7be7376
JM
5664 [BZ #16731]
5665 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5666 when x - 1 is zero.
5667 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5668 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5669 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5671 argument is 1.
5672 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5673 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5674 zero.
5675 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5676 * sysdeps/i386/fpu/libm-test-ulps: Update.
5677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5678
fdf4534d
SP
56792014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5680
df26ea53
SP
5681 * scripts/bench.pl: Remove file.
5682 * scripts/bench.py: New benchmark script.
5683 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5684 * benchtests/README: Mention python dependency.
5685 * scripts/pylintrc: New file.
5686 * scripts/pylint: New file.
5687
fdf4534d
SP
5688 * bits/mathdef.h: Use #ifdef instead of #if.
5689 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5690 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5691 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5692 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5693 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5694 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5695
6f23d093
AZ
56962014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5697 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5698
5699 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5701 and strpbrk-ppc64 objects.
5702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5703 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5704 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5705 multiarch strpbrk for POWER7.
5706 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5707 multiarch strpbrk for PPC64.
5708 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5709 ifunc selector.
5710 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5711 strpbrk for POWER7.
5712
8c92dfff
JM
57132014-03-20 Joseph Myers <joseph@codesourcery.com>
5714
5715 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5716 (atan_test): Likewise.
5717 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5718 (atanh_test): Use ALL_RM_TEST.
5719 (atan2_test_data): Likewise.
5720 (cabs_test): Likewise.
5721 (cacosh_test): Likewise.
5722 (carg_test): Likewise.
5723 (casin_test): Likewise.
5724 (casinh_test): Likewise.
5725 (cbrt_test): Likewise.
5726 (csqrt_test): Likewise.
5727 (erf_test): Likewise.
5728 (erfc_test): Likewise.
5729 (pow10_test): Likewise.
5730 (exp2_test): Likewise.
5731 (hypot_test): Likewise.
5732 (j0_test): Likewise.
5733 (j1_test): Likewise.
5734 (lgamma_test): Likewise.
5735 (gamma_test): Likewise.
5736 (sincos_test): Likewise.
5737 (tanh_test): Likewise.
5738 (y0_test): Likewise.
5739 (y1_test): Likewise.
5740 * sysdeps/i386/fpu/libm-test-ulps: Update.
5741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5742
6eaf95cb
AZ
57432014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744
a387428c
SP
5745 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
5747 and strcspn-ppc64 objects.
5748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5749 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5750 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5751 multiarch strcspn for POWER7.
5752 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5753 multiarch strcspn for PPC64.
5754 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5755 ifunc selector.
5756 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5757 strcspn for POWER7.
5758
ae3a5dff
JM
57592014-03-20 Joseph Myers <joseph@codesourcery.com>
5760
5761 * math/gen-libm-test.pl (generate_testfile): Expect only function
5762 name as argument to AUTO_TESTS_* and pass results for all rounding
5763 modes to parse_args.
5764 (parse_auto_input): Separate inputs of automatic tests from
5765 outputs before storing in %auto_tests.
5766 * math/libm-test.inc (acos_test_data): Update call to
5767 AUTO_TESTS_f_f.
5768 (acos_test): Use ALL_RM_TEST.
5769 (acos_tonearest_test_data): Remove.
5770 (acos_test_tonearest): Likewise.
5771 (acos_towardzero_test_data): Likewise.
5772 (acos_test_towardzero): Likewise.
5773 (acos_downward_test_data): Likewise.
5774 (acos_test_downward): Likewise.
5775 (acos_upward_test_data): Likewise.
5776 (acos_test_upward): Likewise.
5777 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5778 (asin_test_data): Likewise.
5779 (asin_test): Use ALL_RM_TEST.
5780 (asin_tonearest_test_data): Remove.
5781 (asin_test_tonearest): Likewise.
5782 (asin_towardzero_test_data): Likewise.
5783 (asin_test_towardzero): Likewise.
5784 (asin_downward_test_data): Likewise.
5785 (asin_test_downward): Likewise.
5786 (asin_upward_test_data): Likewise.
5787 (asin_test_upward): Likewise.
5788 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5789 (atan_test_data): Likewise.
5790 (atanh_test_data): Likewise.
5791 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5792 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5793 (carg_test_data): Likewise.
5794 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5795 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5796 (ccosh_test_data): Likewise.
5797 (cexp_test_data): Likewise.
5798 (clog_test_data): Likewise.
5799 (clog10_test_data): Likewise.
5800 (cos_test_data): Update call to AUTO_TESTS_f_f.
5801 (cos_test): Use ALL_RM_TEST.
5802 (cos_tonearest_test_data): Remove.
5803 (cos_test_tonearest): Likewise.
5804 (cos_towardzero_test_data): Likewise.
5805 (cos_test_towardzero): Likewise.
5806 (cos_downward_test_data): Likewise.
5807 (cos_test_downward): Likewise.
5808 (cos_upward_test_data): Likewise.
5809 (cos_test_upward): Likewise.
5810 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5811 (cosh_test): Use ALL_RM_TEST.
5812 (cosh_tonearest_test_data): Remove.
5813 (cosh_test_tonearest): Likewise.
5814 (cosh_towardzero_test_data): Likewise.
5815 (cosh_test_towardzero): Likewise.
5816 (cosh_downward_test_data): Likewise.
5817 (cosh_test_downward): Likewise.
5818 (cosh_upward_test_data): Likewise.
5819 (cosh_test_upward): Likewise.
5820 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5821 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5822 (ctan_test_data): Likewise.
5823 (ctan_test): Use ALL_RM_TEST.
5824 (ctan_tonearest_test_data): Remove.
5825 (ctan_test_tonearest): Likewise.
5826 (ctan_towardzero_test_data): Likewise.
5827 (ctan_test_towardzero): Likewise.
5828 (ctan_downward_test_data): Likewise.
5829 (ctan_test_downward): Likewise.
5830 (ctan_upward_test_data): Likewise.
5831 (ctan_test_upward): Likewise.
5832 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5833 (ctanh_test): Use ALL_RM_TEST.
5834 (ctanh_tonearest_test_data): Remove.
5835 (ctanh_test_tonearest): Likewise.
5836 (ctanh_towardzero_test_data): Likewise.
5837 (ctanh_test_towardzero): Likewise.
5838 (ctanh_downward_test_data): Likewise.
5839 (ctanh_test_downward): Likewise.
5840 (ctanh_upward_test_data): Likewise.
5841 (ctanh_test_upward): Likewise.
5842 (erf_test_data): Update call to AUTO_TESTS_f_f.
5843 (erfc_test_data): Likewise.
5844 (exp_test_data): Likewise.
5845 (exp_test): Use ALL_RM_TEST.
5846 (exp_tonearest_test_data): Remove.
5847 (exp_test_tonearest): Likewise.
5848 (exp_towardzero_test_data): Likewise.
5849 (exp_test_towardzero): Likewise.
5850 (exp_downward_test_data): Likewise.
5851 (exp_test_downward): Likewise.
5852 (exp_upward_test_data): Likewise.
5853 (exp_test_upward): Likewise.
5854 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5855 (exp10_test): Use ALL_RM_TEST.
5856 (exp10_tonearest_test_data): Remove.
5857 (exp10_test_tonearest): Likewise.
5858 (exp10_towardzero_test_data): Likewise.
5859 (exp10_test_towardzero): Likewise.
5860 (exp10_downward_test_data): Likewise.
5861 (exp10_test_downward): Likewise.
5862 (exp10_upward_test_data): Likewise.
5863 (exp10_test_upward): Likewise.
5864 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5865 (expm1_test_data): Likewise.
5866 (expm1_test): Use ALL_RM_TEST.
5867 (expm1_tonearest_test_data): Remove.
5868 (expm1_test_tonearest): Likewise.
5869 (expm1_towardzero_test_data): Likewise.
5870 (expm1_test_towardzero): Likewise.
5871 (expm1_downward_test_data): Likewise.
5872 (expm1_test_downward): Likewise.
5873 (expm1_upward_test_data): Likewise.
5874 (expm1_test_upward): Likewise.
5875 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5876 (fma_test): Use ALL_RM_TEST.
5877 (fma_towardzero_test_data): Remove.
5878 (fma_test_towardzero): Likewise.
5879 (fma_downward_test_data): Likewise.
5880 (fma_test_downward): Likewise.
5881 (fma_upward_test_data): Likewise.
5882 (fma_test_upward): Likewise.
5883 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5884 (j0_test_data): Update call to AUTO_TESTS_f_f.
5885 (j1_test_data): Likewise.
5886 (jn_test_data): Update call to AUTO_TESTS_if_f.
5887 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5888 (log_test_data): Update call to AUTO_TESTS_f_f.
5889 (log10_test_data): Likewise.
5890 (log1p_test_data): Likewise.
5891 (log2_test_data): Likewise.
5892 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5893 (pow_tonearest_test_data): Likewise.
5894 (sin_test_data): Update call to AUTO_TESTS_f_f.
5895 (sin_test): Use ALL_RM_TEST.
5896 (sin_tonearest_test_data): Remove.
5897 (sin_test_tonearest): Likewise.
5898 (sin_towardzero_test_data): Likewise.
5899 (sin_test_towardzero): Likewise.
5900 (sin_downward_test_data): Likewise.
5901 (sin_test_downward): Likewise.
5902 (sin_upward_test_data): Likewise.
5903 (sin_test_upward): Likewise.
5904 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5905 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5906 (sinh_test): Use ALL_RM_TEST.
5907 (sinh_tonearest_test_data): Remove.
5908 (sinh_test_tonearest): Likewise.
5909 (sinh_towardzero_test_data): Likewise.
5910 (sinh_test_towardzero): Likewise.
5911 (sinh_downward_test_data): Likewise.
5912 (sinh_test_downward): Likewise.
5913 (sinh_upward_test_data): Likewise.
5914 (sinh_test_upward): Likewise.
5915 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5916 (sqrt_test): Use ALL_RM_TEST.
5917 (sqrt_tonearest_test_data): Remove.
5918 (sqrt_test_tonearest): Likewise.
5919 (sqrt_towardzero_test_data): Likewise.
5920 (sqrt_test_towardzero): Likewise.
5921 (sqrt_downward_test_data): Likewise.
5922 (sqrt_test_downward): Likewise.
5923 (sqrt_upward_test_data): Likewise.
5924 (sqrt_test_upward): Likewise.
5925 (tan_test_data): Update call to AUTO_TESTS_f_f.
5926 (tan_test): Use ALL_RM_TEST.
5927 (tan_tonearest_test_data): Remove.
5928 (tan_test_tonearest): Likewise.
5929 (tan_towardzero_test_data): Likewise.
5930 (tan_test_towardzero): Likewise.
5931 (tan_downward_test_data): Likewise.
5932 (tan_test_downward): Likewise.
5933 (tan_upward_test_data): Likewise.
5934 (tan_test_upward): Likewise.
5935 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5936 (tgamma_test_data): Likewise.
5937 (y0_test_data): Likewise.
5938 (y1_test_data): Likewise.
5939 (yn_test_data): Update call to AUTO_TESTS_if_f.
5940 (main): Do not call removed functions.
5941
d71aeee8
JM
59422014-03-19 Joseph Myers <joseph@codesourcery.com>
5943
5944 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5945 (ldexp_test_data): Remove.
5946 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5947 scalbn_test_data.
5948 (scalb_test): Use ALL_RM_TEST.
5949
baaf1ded
AS
59502014-03-19 Andreas Schwab <schwab@suse.de>
5951
5952 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5953
b1115e91
JM
59542014-03-19 Joseph Myers <joseph@codesourcery.com>
5955
5956 [BZ #16649]
5957 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5958 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5959 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5961 (__ASSUME_PREADV): Undefine.
5962 (__ASSUME_PWRITEV): Likewise.
5963
0283ecca
RM
59642014-03-18 Roland McGrath <roland@hack.frob.com>
5965
7d375303
RM
5966 * bits/mman-linux.h: Add comment about non-Linux use.
5967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5968 bits/mman-linux.h resting place.
5969
0283ecca
RM
5970 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5971 * bits/mman-linux.h: ... here.
5972
aebe1003
AZ
59732014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974
5975 * conform/conformtest.pl: Add standard definition when calling C
5976 preprocessor on data files.
5977 (checknamespace): Remove unused variable.
5978
b29b6bb8
JM
59792014-03-18 Joseph Myers <joseph@codesourcery.com>
5980
5981 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5982 minus_oflow, plus_uflow and minus_uflow in expected results.
5983 * math/libm-test.inc (scalbn_test_data): Add more tests of
5984 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5985 minus_uflow.
5986 (scalbn_test): Use ALL_RM_TEST.
5987 (scalbln_test_data): Add more tests of negative arguments. Use
5988 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5989 (scalbln_test): Use ALL_RM_TEST.
5990
c8f8fa15
RM
59912014-03-18 Roland McGrath <roland@hack.frob.com>
5992
5993 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5994
fede7a5f
WN
59952014-03-18 Will Newton <will.newton@linaro.org>
5996
5997 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5998 inaccurate comment.
5999
80cf0a58
JM
60002014-03-18 Joseph Myers <joseph@codesourcery.com>
6001
6002 * Makerules [!subdir] (check-abi): Exit with error status if a
6003 test failed.
6004
b3620862
JM
60052014-03-17 Joseph Myers <joseph@codesourcery.com>
6006
6007 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6008 for rint. Include results for all rounding modes.
6009 (nearbyint_test): Use ALL_RM_TEST.
6010 (rint_test_data): Include all tests used for nearbyint.
6011
788bba36
WN
60122014-03-17 Will Newton <will.newton@linaro.org>
6013
04ec140a
WN
6014 * nptl/sysdeps/pthread/pthread.h: Revert previous
6015 change.
6016
7579d8d5
WN
6017 * sysdeps/generic/ldsodefs.h: Revert previous
6018 change.
6019
c15cf13a
WN
6020 * libio/genops.c: Revert previous change.
6021 * libio/libioP.h: Likewise.
6022 * stdio-common/vfprintf.c: Likewise.
6023
d0ac1324
WN
6024 * sysdeps/generic/math_private.h: Revert previous
6025 change.
6026
9290130a
WN
6027 * sysdeps/generic/math_private.h: Check whether
6028 HAVE_RM_CTX is defined with #ifdef rather
6029 than #if.
6030
afb466fc
WN
6031 * argp/argp-fmtstream.h: Check whether
6032 __STRICT_ANSI__ is defined with #ifdef rather
6033 than #if.
6034 * argp/argp.h: Likewise.
6035
f7efd7c3
WN
6036 * libio/genops.c: Check whether
6037 _IO_JUMPS_OFFSET is defined with #ifdef rather
6038 than #if.
6039 * libio/libioP.h: Likewise.
6040 * stdio-common/vfprintf.c: Likewise.
6041
53f1bed3
WN
6042 * sysdeps/generic/ldsodefs.h: Check whether
6043 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6044 than #if.
6045
788bba36
WN
6046 * nptl/sysdeps/pthread/pthread.h: Check
6047 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6048 its value.
6049
fcd89ebe
SP
60502014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6051
ae42bbc5
SP
6052 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6053 setting O_APPEND.
6054 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6055 test case.
6056
ea33158c
SP
6057 [BZ #16680]
6058 * libio/fileops.c (_IO_file_open): Seek to end of file but
6059 don't cache the offset.
6060 (get_file_offset): Remove function.
6061 (do_ftell): Use cached offset when available.
6062 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6063 don't cache the offset.
6064 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6065 case.
6066 (do_one_test): Call it.
6067 (do_ftell_test): Fix up expected old offset for a+ mode.
6068 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6069 available.
6070
b1dbb426
SP
6071 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6072 up test status with function return status.
6073 (do_write_test): Likewise.
6074 (do_append_test): Likewise.
6075
fcd89ebe
SP
6076 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6077 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6078 Remove.
6079
9962a2d3
JM
60802014-03-17 Joseph Myers <joseph@codesourcery.com>
6081
6082 * math/gen-libm-test.pl (parse_args): Handle results specified for
6083 each rounding mode separately.
6084 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6085 tests and results from lrint_tonearest_test_data,
6086 lrint_towardzero_test_data, lrint_downward_test_data and
6087 lrint_upward_test_data.
6088 (lrint_test): Use ALL_RM_TEST.
6089 (lrint_tonearest_test_data): Remove.
6090 (lrint_test_tonearest): Likewise.
6091 (lrint_towardzero_test_data): Likewise.
6092 (lrint_test_towardzero): Likewise.
6093 (lrint_downward_test_data): Likewise.
6094 (lrint_test_downward): Likewise.
6095 (lrint_upward_test_data): Likewise.
6096 (lrint_test_upward): Likewise.
6097 (llrint_test_data): Merge in per-rounding-mode tests and results
6098 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6099 llrint_downward_test_data and llrint_upward_test_data.
6100 (llrint_test): Use ALL_RM_TEST.
6101 (llrint_tonearest_test_data): Remove.
6102 (llrint_test_tonearest): Likewise.
6103 (llrint_towardzero_test_data): Likewise.
6104 (llrint_test_towardzero): Likewise.
6105 (llrint_downward_test_data): Likewise.
6106 (llrint_test_downward): Likewise.
6107 (llrint_upward_test_data): Likewise.
6108 (llrint_test_upward): Likewise.
6109 (rint_test_data): Merge in per-rounding-mode tests and results
6110 from rint_tonearest_test_data, rint_towardzero_test_data,
6111 rint_downward_test_data and rint_upward_test_data. Add
6112 per-rounding-mode results for tests not in those arrays.
6113 (rint_test): Use ALL_RM_TEST.
6114 (rint_tonearest_test_data): Remove.
6115 (rint_test_tonearest): Likewise.
6116 (rint_towardzero_test_data): Likewise.
6117 (rint_test_towardzero): Likewise.
6118 (rint_downward_test_data): Likewise.
6119 (rint_test_downward): Likewise.
6120 (rint_upward_test_data): Likewise.
6121 (rint_test_upward): Likewise.
6122 (main): Don't call removed functions.
6123
5006148e
RM
61242014-03-14 Roland McGrath <roland@hack.frob.com>
6125
6126 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6127 "Compiled on ..." crapola. It is anti-useful.
6128
d6fe5e58
JM
61292014-03-14 Joseph Myers <joseph@codesourcery.com>
6130
6131 * scripts/evaluate-test.sh: Handle fourth argument to determine
6132 whether test run should stop on failure.
6133 * Makeconfig (stop-on-test-failure): New variable.
6134 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6135 $(stop-on-test-failure).
6136 * Makefile (tests): Give a summary of results from testing and
6137 exit with failure status if they include an ERROR or FAIL.
6138 (xtests): Likewise.
6139 * manual/install.texi (Configuring and compiling): Mention
6140 stop-on-test-failure=y.
6141 * INSTALL: Regenerated.
6142
498a2233
RM
61432014-03-14 Roland McGrath <roland@hack.frob.com>
6144
22dbc19d
RM
6145 * scripts/versionlist.awk: New file.
6146 * Makerules [$(build-shared) = yes]
6147 (postclean-generated): Add Versions.def, not Versions.def.v and
6148 Versions.def.v.i.
6149 ($(common-objpfx)Versions.def.v.i): Target removed.
6150 ($(common-objpfx)Versions.def): New target.
6151 ($(common-objpfx)Versions.all): Depend on that rather that
6152 $(common-objpfx)Versions.def.v.
6153 * Versions.def: File removed.
6154
498a2233
RM
6155 * Makeconfig (+gccwarn): Add -Wundef.
6156 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6157 a dl-sysdep.h breaking its contract.
6158 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6159 * include/stackinfo.h: New file.
6160 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6161 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6162 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6163 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6164 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6165 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6166 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6167 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6168 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6169 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6170 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6171 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6172 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6173 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6174 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6175
c7de5025
AZ
61762014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6177
6178 [BZ #16707]
6179 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6180 implementation.
6181 * math/libm-test.inc (round_test_data): Add more tests.
6182
98fb27a3
AZ
6183 [BZ #16706]
6184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6185 implementation.
6186 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6187
374f7f61
AZ
6188 [BZ #16701]
6189 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6190 implementation.
6191 * math/libm-test.inc (ceil_test_data): Add more tests.
6192
4655c291
AZ
6193 * math/libm-test.inc (trunc_test_data): Add more tests related to
6194 BZ#16414.
6195
d7329d4b
RM
61962014-03-14 Roland McGrath <roland@hack.frob.com>
6197
6198 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6199 with #if rather than #ifdef.
6200 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6201
aa4de9ce
L
62022014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6203
6204 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6205 first. Disable AVX-512 GCC support if assembler doesn't support
6206 it.
6207 * sysdeps/x86_64/configure: Regenerated.
6208
2e03fae7
CD
62092014-03-13 Carlos O'Donell <carlos@redhat.com>
6210
6211 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6212 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6213 (__old_pthread_attr_setstack): Likewise.
6214 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6215 [!_STACK_GROWS_DOWN]: Likewise.
6216
43ca83ec
MF
62172014-03-13 Mike Frysinger <vapier@gentoo.org>
6218
6219 * config.make.in (have-bash2): Delete.
6220 * configure.ac (libc_cv_have_bash2): Delete.
6221 * configure: Regenerate.
6222 * elf/Makefile (common-ldd-rewrite): Rename to ...
6223 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6224 (sh-ldd-rewrite): Delete.
6225 (bash-ldd-rewrite): Delete.
6226 (have-bash2): Delete checks.
57f41c40
AS
6227 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6228 ldd-rewrite.
c66e48b4
MF
6229
6230 * config.make.in (have-ksh): Delete.
6231 (KSH): Delete.
6232 * configure.ac (libc_cv_have_ksh): Delete.
6233 * configure: Regenerate.
6234
b93834ef
MF
6235 * elf/Makefile: Delete $(have-ksh) check.
6236 ($(objpfx)sotruss): Change KSH to BASH.
6237 * elf/sotruss.ksh: Rename to ...
6238 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6239 function style to match POSIX. Drop ksh vim mode setting.
6240
f3a4632a
MF
6241 * manual/time.texi (Specifying the Time Zone with TZ): Change
6242 Tuesday to Thursday.
6243
5896c8bd
MF
6244 * debug/tst-longjmp_chk2.c: Update header comment.
6245 (stackoverflow_handler): Add comment. Call assert on pass value.
6246
2d63a517
IZ
62472014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6248
6249 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6250 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6251 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6252 (La_x86_64_vector): Add zmm.
6253 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6254 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6255 ($(objpfx)tst-audit10): New target.
6256 ($(objpfx)tst-audit10.out): Likewise.
6257 (tst-audit10-ENV): New.
6258 (AVX512-CFLAGS): Likewise.
6259 (CFLAGS-tst-audit10.c): Likewise.
6260 (CFLAGS-tst-auditmod10a.c): Likewise.
6261 (CFLAGS-tst-auditmod10b.c): Likewise.
6262 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6263 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6264 * sysdeps/x86_64/configure: Regenerated.
6265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6266 AVX-512 zmm register support.
6267 (_dl_x86_64_save_sse): Likewise.
6268 (_dl_x86_64_restore_sse): Likewise.
6269 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6270 size vector registers.
6271 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6272 (ZMM_SIZE): Likewise.
6273 * sysdeps/x86_64/tst-audit10.c: New file.
6274 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6275 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6276
44c4e5d5
RM
62772014-03-13 Roland McGrath <roland@hack.frob.com>
6278
6279 * configure.ac (HAVE_EHDR_START): New check.
6280 * configure: Regenerated.
6281 * config.h.in (HAVE_EHDR_START): New #undef.
6282 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6283 assuming the lowest-addressed segment maps the start of the file.
6284
acd6e389
JM
62852014-03-13 Joseph Myers <joseph@codesourcery.com>
6286
6287 * INSTALL: Regenerated.
6288
6f918f36
WN
62892014-03-13 Will Newton <will.newton@linaro.org>
6290
6291 * manual/setjmp.texi (System V contexts): Improve
6292 clarity and grammar of documentation.
6293
798212a0
PP
62942014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6295
6296 [BZ #16381]
798212a0 6297 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6298 (tests-pie): Add tst-pie2.
798212a0
PP
6299 * elf/tst-pie2.c: New file.
6300 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6301 for ET_EXEC.
6302 * elf/rtld.c (map_doit): Load executable as lt_executable.
6303 (dl_main): Likewise.
6304
abe6d90c
JM
63052014-03-12 Joseph Myers <joseph@codesourcery.com>
6306
6307 [BZ #16642]
6308 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6309 (__ASSUME_PSELECT): Undefine.
6310
dd3946c6
AZ
63112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312
6313 [BZ #16689]
6314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6315 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6316 static build.
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6318 selector for static builds.
6319
c44496df
SP
63202014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6321
6322 [BZ #16695]
6323 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6324 key in the buffer.
6325
27c7220a
AZ
63262014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6327
57f41c40
AS
6328 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6329 IFUNC selector for static builds.
27c7220a 6330
600fa361
JM
63312014-03-11 Joseph Myers <joseph@codesourcery.com>
6332
76c96cf7
JM
6333 * sysdeps/mips/math_private.h [__mips_hard_float]
6334 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6335 libc_feresetround_mips_ctx.
6336 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6337 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6338 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6339
600fa361
JM
6340 [BZ #16677]
6341 * math/s_nextafter.c (__nextafter): Do not return value from
6342 overflowing computation.
6343 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6344 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6346 Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6348 Likewise.
6349 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6350 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6351
d7706c32
RM
63522014-03-11 Roland McGrath <roland@hack.frob.com>
6353
6354 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6355 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6356 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6357 the new mov targetting sp.
6358
4facea47
AZ
63592014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6360
6361 [BZ #16683]
6362 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6363 Define it for static builds as well.
6364 (NO_BZERO_IMPL): Likewise.
6365
e65caf1f
VR
63662014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6367
6368 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6369 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6370 multiarch strspn for PPC64.
6371 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6372 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6374 (__libc_ifunc_impl_list): Likewise.
6375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6376 multiarch optimizations
6377 * string/strspn.c (strspn): Using macro to redefine symbol name.
6378
ba9cc071
AZ
63792014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6380 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381
6382 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6383 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6384 multiarch strncat for PPC64.
6385 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6386 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6388 (__libc_ifunc_impl_list): Likewise.
6389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6390 multiarch optimizations
6391
8b4ff974
SP
63922014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6393
6394 [BZ #16639]
6395 * nscd/nscd.service: Make service type forking.
6396
54b46a4b
AZ
63972014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398
6399 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6400 sign in non default rounding modes.
6401 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6402
e9996ef7
JM
64032014-03-08 Joseph Myers <joseph@codesourcery.com>
6404
6405 * math/libm-test.inc (ALL_RM_TEST): New macro.
6406 (ceil_test): Use ALL_RM_TEST.
6407 (cimag_test): Likewise.
6408 (conj_test): Likewise.
6409 (copysign_test): Likewise.
6410 (cproj_test): Likewise.
6411 (creal_test): Likewise.
6412 (fabs_test): Likewise.
6413 (floor_test): Likewise.
6414 (fmax_test): Likewise.
6415 (fmin_test): Likewise.
6416 (fmod_test): Likewise.
6417 (fpclassify_test): Likewise.
6418 (frexp_test): Likewise.
6419 (ilogb_test): Likewise.
6420 (isfinite_test): Likewise.
6421 (finite_test): Likewise.
6422 (isgreater_test): Likewise.
6423 (isgreaterequal_test): Likewise.
6424 (isinf_test): Likewise.
6425 (isless_test): Likewise.
6426 (islessequal_test): Likewise.
6427 (islessgreater_test): Likewise.
6428 (isnan_test): Likewise.
6429 (isnormal_test): Likewise.
6430 (issignaling_test): Likewise.
6431 (isunordered_test): Likewise.
6432 (logb_test): Likewise.
6433 (logb_downward_test_data): Remove.
6434 (logb_test_downward): Likewise.
6435 (lround_test): Use ALL_RM_TEST.
6436 (llround_test): Likewise.
6437 (modf_test): Likewise.
6438 (nexttoward_test): Likewise.
6439 (remainder_test): Likewise.
6440 (drem_test): Likewise.
6441 (remainder_tonearest_test_data): Likewise.
6442 (remainder_test_tonearest): Likewise.
6443 (drem_test_tonearest): Likewise.
6444 (remainder_towardzero_test_data): Likewise.
6445 (remainder_test_towardzero): Likewise.
6446 (drem_test_towardzero): Likewise.
6447 (remainder_downward_test_data): Likewise.
6448 (remainder_test_downward): Likewise.
6449 (drem_test_downward): Likewise.
6450 (remainder_upward_test_data): Likewise.
6451 (remainder_test_upward): Likewise.
6452 (drem_test_upward): Likewise.
6453 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6454 (round_test): Use ALL_RM_TEST.
6455 (signbit_test): Likewise.
6456 (trunc_test): Likewise.
6457 (significand_test): Likewise.
6458 (main): Don't call removed functions.
6459
bc61d27c
JM
64602014-03-07 Joseph Myers <joseph@codesourcery.com>
6461
5c780849
JM
6462 [BZ #16674]
6463 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6464 || __USE_XOPEN2K8].
6465 (ILL_ILLOPN): Likewise.
6466 (ILL_ILLADR): Likewise.
6467 (ILL_ILLTRP): Likewise.
6468 (ILL_PRVOPC): Likewise.
6469 (ILL_PRVREG): Likewise.
6470 (ILL_COPROC): Likewise.
6471 (ILL_BADSTK): Likewise.
6472 (FPE_INTDIV): Likewise.
6473 (FPE_INTOVF): Likewise.
6474 (FPE_FLTDIV): Likewise.
6475 (FPE_FLTOVF): Likewise.
6476 (FPE_FLTUND): Likewise.
6477 (FPE_FLTRES): Likewise.
6478 (FPE_FLTINV): Likewise.
6479 (FPE_FLTSUB): Likewise.
6480 (SEGV_MAPERR): Likewise.
6481 (SEGV_ACCERR): Likewise.
6482 (BUS_ADRALN): Likewise.
6483 (BUS_ADRERR): Likewise.
6484 (BUS_OBJERR): Likewise.
6485 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6486 (TRAP_TRACE): Likewise.
6487 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6488 __USE_XOPEN2K8].
6489 (CLD_KILLED): Likewise.
6490 (CLD_DUMPED): Likewise.
6491 (CLD_TRAPPED): Likewise.
6492 (CLD_STOPPED): Likewise.
6493 (CLD_CONTINUED): Likewise.
6494 (POLL_IN): Likewise.
6495 (POLL_OUT): Likewise.
6496 (POLL_MSG): Likewise.
6497 (POLL_ERR): Likewise.
6498 (POLL_PRI): Likewise.
6499 (POLL_HUP): Likewise.
6500 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6501 Likewise.
6502 (ILL_ILLOPN): Likewise.
6503 (ILL_ILLADR): Likewise.
6504 (ILL_ILLTRP): Likewise.
6505 (ILL_PRVOPC): Likewise.
6506 (ILL_PRVREG): Likewise.
6507 (ILL_COPROC): Likewise.
6508 (ILL_BADSTK): Likewise.
6509 (FPE_INTDIV): Likewise.
6510 (FPE_INTOVF): Likewise.
6511 (FPE_FLTDIV): Likewise.
6512 (FPE_FLTOVF): Likewise.
6513 (FPE_FLTUND): Likewise.
6514 (FPE_FLTRES): Likewise.
6515 (FPE_FLTINV): Likewise.
6516 (FPE_FLTSUB): Likewise.
6517 (SEGV_MAPERR): Likewise.
6518 (SEGV_ACCERR): Likewise.
6519 (BUS_ADRALN): Likewise.
6520 (BUS_ADRERR): Likewise.
6521 (BUS_OBJERR): Likewise.
6522 (BUS_MCEERR_AR): Likewise.
6523 (BUS_MCEERR_AO): Likewise.
6524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6525 (TRAP_TRACE): Likewise.
6526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6527 __USE_XOPEN2K8].
6528 (CLD_KILLED): Likewise.
6529 (CLD_DUMPED): Likewise.
6530 (CLD_TRAPPED): Likewise.
6531 (CLD_STOPPED): Likewise.
6532 (CLD_CONTINUED): Likewise.
6533 (POLL_IN): Likewise.
6534 (POLL_OUT): Likewise.
6535 (POLL_MSG): Likewise.
6536 (POLL_ERR): Likewise.
6537 (POLL_PRI): Likewise.
6538 (POLL_HUP): Likewise.
6539 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6540 (ILL_ILLOPN): Likewise.
6541 (ILL_ILLADR): Likewise.
6542 (ILL_ILLTRP): Likewise.
6543 (ILL_PRVOPC): Likewise.
6544 (ILL_PRVREG): Likewise.
6545 (ILL_COPROC): Likewise.
6546 (ILL_BADSTK): Likewise.
6547 (FPE_INTDIV): Likewise.
6548 (FPE_INTOVF): Likewise.
6549 (FPE_FLTDIV): Likewise.
6550 (FPE_FLTOVF): Likewise.
6551 (FPE_FLTUND): Likewise.
6552 (FPE_FLTRES): Likewise.
6553 (FPE_FLTINV): Likewise.
6554 (FPE_FLTSUB): Likewise.
6555 (SEGV_MAPERR): Likewise.
6556 (SEGV_ACCERR): Likewise.
6557 (BUS_ADRALN): Likewise.
6558 (BUS_ADRERR): Likewise.
6559 (BUS_OBJERR): Likewise.
6560 (BUS_MCEERR_AR): Likewise.
6561 (BUS_MCEERR_AO): Likewise.
6562 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6563 (TRAP_TRACE): Likewise.
6564 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6565 __USE_XOPEN2K8].
6566 (CLD_KILLED): Likewise.
6567 (CLD_DUMPED): Likewise.
6568 (CLD_TRAPPED): Likewise.
6569 (CLD_STOPPED): Likewise.
6570 (CLD_CONTINUED): Likewise.
6571 (POLL_IN): Likewise.
6572 (POLL_OUT): Likewise.
6573 (POLL_MSG): Likewise.
6574 (POLL_ERR): Likewise.
6575 (POLL_PRI): Likewise.
6576 (POLL_HUP): Likewise.
6577 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6578 Likewise.
6579 (ILL_ILLOPN): Likewise.
6580 (ILL_ILLADR): Likewise.
6581 (ILL_ILLTRP): Likewise.
6582 (ILL_PRVOPC): Likewise.
6583 (ILL_PRVREG): Likewise.
6584 (ILL_COPROC): Likewise.
6585 (ILL_BADSTK): Likewise.
6586 (ILL_BADIADDR): Likewise.
6587 (ILL_BREAK): Likewise.
6588 (FPE_INTDIV): Likewise.
6589 (FPE_INTOVF): Likewise.
6590 (FPE_FLTDIV): Likewise.
6591 (FPE_FLTOVF): Likewise.
6592 (FPE_FLTUND): Likewise.
6593 (FPE_FLTRES): Likewise.
6594 (FPE_FLTINV): Likewise.
6595 (FPE_FLTSUB): Likewise.
6596 (FPE_DECOVF): Likewise.
6597 (FPE_DECDIV): Likewise.
6598 (FPE_DECERR): Likewise.
6599 (FPE_INVASC): Likewise.
6600 (FPE_INVDEC): Likewise.
6601 (SEGV_MAPERR): Likewise.
6602 (SEGV_ACCERR): Likewise.
6603 (SEGV_PSTKOVF): Likewise.
6604 (BUS_ADRALN): Likewise.
6605 (BUS_ADRERR): Likewise.
6606 (BUS_OBJERR): Likewise.
6607 (BUS_MCEERR_AR): Likewise.
6608 (BUS_MCEERR_AO): Likewise.
6609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6610 (TRAP_TRACE): Likewise.
6611 (TRAP_BRANCH): Likewise.
6612 (TRAP_HWBKPT): Likewise.
6613 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6614 __USE_XOPEN2K8].
6615 (CLD_KILLED): Likewise.
6616 (CLD_DUMPED): Likewise.
6617 (CLD_TRAPPED): Likewise.
6618 (CLD_STOPPED): Likewise.
6619 (CLD_CONTINUED): Likewise.
6620 (POLL_IN): Likewise.
6621 (POLL_OUT): Likewise.
6622 (POLL_MSG): Likewise.
6623 (POLL_ERR): Likewise.
6624 (POLL_PRI): Likewise.
6625 (POLL_HUP): Likewise.
6626 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6627 (ILL_ILLOPN): Likewise.
6628 (ILL_ILLADR): Likewise.
6629 (ILL_ILLTRP): Likewise.
6630 (ILL_PRVOPC): Likewise.
6631 (ILL_PRVREG): Likewise.
6632 (ILL_COPROC): Likewise.
6633 (ILL_BADSTK): Likewise.
6634 (FPE_INTDIV): Likewise.
6635 (FPE_INTOVF): Likewise.
6636 (FPE_FLTDIV): Likewise.
6637 (FPE_FLTOVF): Likewise.
6638 (FPE_FLTUND): Likewise.
6639 (FPE_FLTRES): Likewise.
6640 (FPE_FLTINV): Likewise.
6641 (FPE_FLTSUB): Likewise.
6642 (SEGV_MAPERR): Likewise.
6643 (SEGV_ACCERR): Likewise.
6644 (BUS_ADRALN): Likewise.
6645 (BUS_ADRERR): Likewise.
6646 (BUS_OBJERR): Likewise.
6647 (BUS_MCEERR_AR): Likewise.
6648 (BUS_MCEERR_AO): Likewise.
6649 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6650 (TRAP_TRACE): Likewise.
6651 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6652 __USE_XOPEN2K8].
6653 (CLD_KILLED): Likewise.
6654 (CLD_DUMPED): Likewise.
6655 (CLD_TRAPPED): Likewise.
6656 (CLD_STOPPED): Likewise.
6657 (CLD_CONTINUED): Likewise.
6658 (POLL_IN): Likewise.
6659 (POLL_OUT): Likewise.
6660 (POLL_MSG): Likewise.
6661 (POLL_ERR): Likewise.
6662 (POLL_PRI): Likewise.
6663 (POLL_HUP): Likewise.
6664 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6665 (ILL_ILLOPN): Likewise.
6666 (ILL_ILLADR): Likewise.
6667 (ILL_ILLTRP): Likewise.
6668 (ILL_PRVOPC): Likewise.
6669 (ILL_PRVREG): Likewise.
6670 (ILL_COPROC): Likewise.
6671 (ILL_BADSTK): Likewise.
6672 (FPE_INTDIV): Likewise.
6673 (FPE_INTOVF): Likewise.
6674 (FPE_FLTDIV): Likewise.
6675 (FPE_FLTOVF): Likewise.
6676 (FPE_FLTUND): Likewise.
6677 (FPE_FLTRES): Likewise.
6678 (FPE_FLTINV): Likewise.
6679 (FPE_FLTSUB): Likewise.
6680 (SEGV_MAPERR): Likewise.
6681 (SEGV_ACCERR): Likewise.
6682 (BUS_ADRALN): Likewise.
6683 (BUS_ADRERR): Likewise.
6684 (BUS_OBJERR): Likewise.
6685 (BUS_MCEERR_AR): Likewise.
6686 (BUS_MCEERR_AO): Likewise.
6687 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6688 (TRAP_TRACE): Likewise.
6689 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6690 __USE_XOPEN2K8].
6691 (CLD_KILLED): Likewise.
6692 (CLD_DUMPED): Likewise.
6693 (CLD_TRAPPED): Likewise.
6694 (CLD_STOPPED): Likewise.
6695 (CLD_CONTINUED): Likewise.
6696 (POLL_IN): Likewise.
6697 (POLL_OUT): Likewise.
6698 (POLL_MSG): Likewise.
6699 (POLL_ERR): Likewise.
6700 (POLL_PRI): Likewise.
6701 (POLL_HUP): Likewise.
6702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6703 (ILL_ILLOPN): Likewise.
6704 (ILL_ILLADR): Likewise.
6705 (ILL_ILLTRP): Likewise.
6706 (ILL_PRVOPC): Likewise.
6707 (ILL_PRVREG): Likewise.
6708 (ILL_COPROC): Likewise.
6709 (ILL_BADSTK): Likewise.
6710 (FPE_INTDIV): Likewise.
6711 (FPE_INTOVF): Likewise.
6712 (FPE_FLTDIV): Likewise.
6713 (FPE_FLTOVF): Likewise.
6714 (FPE_FLTUND): Likewise.
6715 (FPE_FLTRES): Likewise.
6716 (FPE_FLTINV): Likewise.
6717 (FPE_FLTSUB): Likewise.
6718 (SEGV_MAPERR): Likewise.
6719 (SEGV_ACCERR): Likewise.
6720 (BUS_ADRALN): Likewise.
6721 (BUS_ADRERR): Likewise.
6722 (BUS_OBJERR): Likewise.
6723 (BUS_MCEERR_AR): Likewise.
6724 (BUS_MCEERR_AO): Likewise.
6725 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6726 (TRAP_TRACE): Likewise.
6727 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6728 __USE_XOPEN2K8].
6729 (CLD_KILLED): Likewise.
6730 (CLD_DUMPED): Likewise.
6731 (CLD_TRAPPED): Likewise.
6732 (CLD_STOPPED): Likewise.
6733 (CLD_CONTINUED): Likewise.
6734 (POLL_IN): Likewise.
6735 (POLL_OUT): Likewise.
6736 (POLL_MSG): Likewise.
6737 (POLL_ERR): Likewise.
6738 (POLL_PRI): Likewise.
6739 (POLL_HUP): Likewise.
6740 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6741 (ILL_ILLOPN): Likewise.
6742 (ILL_ILLADR): Likewise.
6743 (ILL_ILLTRP): Likewise.
6744 (ILL_PRVOPC): Likewise.
6745 (ILL_PRVREG): Likewise.
6746 (ILL_COPROC): Likewise.
6747 (ILL_BADSTK): Likewise.
6748 (ILL_DBLFLT): Likewise.
6749 (ILL_HARDWALL): Likewise.
6750 (FPE_INTDIV): Likewise.
6751 (FPE_INTOVF): Likewise.
6752 (FPE_FLTDIV): Likewise.
6753 (FPE_FLTOVF): Likewise.
6754 (FPE_FLTUND): Likewise.
6755 (FPE_FLTRES): Likewise.
6756 (FPE_FLTINV): Likewise.
6757 (FPE_FLTSUB): Likewise.
6758 (SEGV_MAPERR): Likewise.
6759 (SEGV_ACCERR): Likewise.
6760 (BUS_ADRALN): Likewise.
6761 (BUS_ADRERR): Likewise.
6762 (BUS_OBJERR): Likewise.
6763 (BUS_MCEERR_AR): Likewise.
6764 (BUS_MCEERR_AO): Likewise.
6765 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6766 (TRAP_TRACE): Likewise.
6767 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6768 __USE_XOPEN2K8].
6769 (CLD_KILLED): Likewise.
6770 (CLD_DUMPED): Likewise.
6771 (CLD_TRAPPED): Likewise.
6772 (CLD_STOPPED): Likewise.
6773 (CLD_CONTINUED): Likewise.
6774 (POLL_IN): Likewise.
6775 (POLL_OUT): Likewise.
6776 (POLL_MSG): Likewise.
6777 (POLL_ERR): Likewise.
6778 (POLL_PRI): Likewise.
6779 (POLL_HUP): Likewise.
6780 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6781 (ILL_ILLOPN): Likewise.
6782 (ILL_ILLADR): Likewise.
6783 (ILL_ILLTRP): Likewise.
6784 (ILL_PRVOPC): Likewise.
6785 (ILL_PRVREG): Likewise.
6786 (ILL_COPROC): Likewise.
6787 (ILL_BADSTK): Likewise.
6788 (FPE_INTDIV): Likewise.
6789 (FPE_INTOVF): Likewise.
6790 (FPE_FLTDIV): Likewise.
6791 (FPE_FLTOVF): Likewise.
6792 (FPE_FLTUND): Likewise.
6793 (FPE_FLTRES): Likewise.
6794 (FPE_FLTINV): Likewise.
6795 (FPE_FLTSUB): Likewise.
6796 (SEGV_MAPERR): Likewise.
6797 (SEGV_ACCERR): Likewise.
6798 (BUS_ADRALN): Likewise.
6799 (BUS_ADRERR): Likewise.
6800 (BUS_OBJERR): Likewise.
6801 (BUS_MCEERR_AR): Likewise.
6802 (BUS_MCEERR_AO): Likewise.
6803 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6804 (TRAP_TRACE): Likewise.
6805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6806 __USE_XOPEN2K8].
6807 (CLD_KILLED): Likewise.
6808 (CLD_DUMPED): Likewise.
6809 (CLD_TRAPPED): Likewise.
6810 (CLD_STOPPED): Likewise.
6811 (CLD_CONTINUED): Likewise.
6812 (POLL_IN): Likewise.
6813 (POLL_OUT): Likewise.
6814 (POLL_MSG): Likewise.
6815 (POLL_ERR): Likewise.
6816 (POLL_PRI): Likewise.
6817 (POLL_HUP): Likewise.
6818 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6819 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6820
bc61d27c
JM
6821 [BZ #16670]
6822 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6823 before #include of <time.h>.
6824 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6825 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6826 (test-xfail-UNIX98/sched.h/conform): Likewise.
6827
302949e2
MS
68282014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6829
6830 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6831 error absence of trapping exception support.
6832 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6833
a00f522a
JM
68342014-03-07 Joseph Myers <joseph@codesourcery.com>
6835
6f99f280
JM
6836 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6837 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6838 * timezone/Makefile (testdata): Move definition above include of
6839 Rules.
6840 (test-zones): New variable.
6841 (tests-special): Add zone files.
6842 (build-testdata): Use $(evaluate-test).
6843
0b20a9e8
JM
6844 * elf/Makefile (tests-special): Rename tests to end with .out.
6845 ($(objpfx)noload-mem): Likewise.
6846 ($(objpfx)tst-leaks1-mem): Likewise.
6847 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6848 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6849 $(objpfx)test-iconvconfig.out.
6850 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6851 set -e inside subshell and redirect output to file.
6852 * iconvdata/Makefile (generated): Rename tests to end with .out.
6853 Correct type.
6854 (tests-special): Rename tests to end with .out.
6855 ($(objpfx)mtrace-tst-loading): Likewise.
6856 * intl/Makefile (generated): Likewise.
6857 (tests-special): Likewise.
6858 ($(objpfx)mtrace-tst-gettext): Likewise.
6859 * misc/Makefile (generated): Likewise.
6860 (tests-special): Likewise.
6861 ($(objpfx)tst-error1-mem): Likewise.
6862 * nptl/Makefile (tests-special): Likewise.
6863 ($(objpfx)tst-stack3-mem): Likewise.
6864 (generated): Likewise.
6865 * posix/Makefile (generated): Likewise.
6866 (tests-special): Likewise.
6867 (xtests-special): Likewise.
6868 ($(objpfx)tst-fnmatch-mem): Likewise.
6869 ($(objpfx)bug-regex2-mem): Likewise.
6870 ($(objpfx)bug-regex14-mem): Likewise.
6871 ($(objpfx)bug-regex21-mem): Likewise.
6872 ($(objpfx)bug-regex31-mem): Likewise.
6873 ($(objpfx)tst-vfork3-mem): Likewise.
6874 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6875 ($(objpfx)tst-pcre-mem): Likewise.
6876 ($(objpfx)tst-boost-mem): Likewise.
6877 ($(objpfx)bug-ga2-mem): Likewise.
6878 ($(objpfx)bug-glob2-mem): Likewise.
6879 * resolv/Makefile (generate): Likewise.
6880 (tests-special): Likewise.
6881 (xtests-special): Likewise.
6882 (generated): Likewise.
6883 ($(objpfx)mtrace-tst-leaks): Likewise.
6884 ($(objpfx)mtrace-tst-leaks2): Likewise.
6885
265d52ab
JM
6886 * scripts/merge-test-results.sh: New file.
6887 * Makefile (tests-special-notdir): New variable.
6888 (tests): Run merge-test-results.sh.
6889 (xtests): Likewise.
6890 * Rules (tests-special-notdir): New variable.
6891 (xtests-special-notdir): Likewise.
6892 (tests): Run merge-test-results.sh
6893 (xtests): Likewise.
6894
54ee292d
JM
6895 * Makeconfig (test-xfail-name): New variable.
6896 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6897 compute variable name for expected failures.
6898 * conform/Makefile (conformtest-headers-data): New variable.
6899 (conformtest-standards): Likewise.
6900 (conformtest-headers-ISO): Likewise.
6901 (conformtest-headers-ISO99): Likewise.
6902 (conformtest-headers-ISO11): Likewise.
6903 (conformtest-headers-POSIX): Likewise.
6904 (conformtest-headers-XPG3): Likewise.
6905 (conformtest-headers-XPG4): Likewise.
6906 (conformtest-headers-UNIX98): Likewise.
6907 (conformtest-headers-XOPEN2K): Likewise.
6908 (conformtest-headers-POSIX2008): Likewise.
6909 (conformtest-headers-XOPEN2K8): Likewise.
6910 (conformtest-header-list-base): Likewise.
6911 (conformtest-header-list-tests): Likewise.
6912 (conformtest-header-base): Likewise.
6913 (conformtest-header-tests): Likewise.
6914 (tests-special): Add $(conformtest-header-list-tests). If
6915 [$(fast-check) && !$(cross-compiling)], add
6916 $(conformtest-header-tests) instead of
6917 $(objpfx)run-conformtest.out.
6918 (generated): Add $(conformtest-header-list-base). If
6919 [$(fast-check) && !$(cross-compiling)], add
6920 $(conformtest-header-base). Remove previous setting.
6921 ($(conformtest-header-list-tests)): New target.
6922 (test-xfail-run-conformtest): Remove variable.
6923 ($(objpfx)run-conformtest.out): Remove target.
6924 (test-xfail-ISO11/complex.h/conform): New variable.
6925 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6926 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6927 (test-xfail-XPG3/varargs.h/conform): Likewise.
6928 (test-xfail-XPG4/varargs.h/conform): Likewise.
6929 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6930 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6931 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6932 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6933 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6934 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6935 (test-xfail-XPG3/ftw.h/conform): Likewise.
6936 (test-xfail-XPG3/grp.h/conform): Likewise.
6937 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6938 (test-xfail-XPG3/limits.h/conform): Likewise.
6939 (test-xfail-XPG3/pwd.h/conform): Likewise.
6940 (test-xfail-XPG3/search.h/conform): Likewise.
6941 (test-xfail-XPG3/signal.h/conform): Likewise.
6942 (test-xfail-XPG3/stdio.h/conform): Likewise.
6943 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6944 (test-xfail-XPG3/string.h/conform): Likewise.
6945 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6946 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6947 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6948 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6949 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6950 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6951 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6952 (test-xfail-XPG3/termios.h/conform): Likewise.
6953 (test-xfail-XPG3/time.h/conform): Likewise.
6954 (test-xfail-XPG3/unistd.h/conform): Likewise.
6955 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6956 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6957 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6958 (test-xfail-XPG4/netdb.h/conform): Likewise.
6959 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6960 (test-xfail-XPG4/signal.h/conform): Likewise.
6961 (test-xfail-XPG4/stdio.h/conform): Likewise.
6962 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6963 (test-xfail-XPG4/stropts.h/conform): Likewise.
6964 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6965 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6966 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6967 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6968 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6969 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6970 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6971 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6972 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6973 (test-xfail-XPG4/termios.h/conform): Likewise.
6974 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6975 (test-xfail-XPG4/unistd.h/conform): Likewise.
6976 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6977 (test-xfail-POSIX/sched.h/conform): Likewise.
6978 (test-xfail-POSIX/signal.h/conform): Likewise.
6979 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6980 (test-xfail-POSIX/tar.h/conform): Likewise.
6981 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6982 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6983 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6984 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6985 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6986 (test-xfail-UNIX98/sched.h/conform): Likewise.
6987 (test-xfail-UNIX98/signal.h/conform): Likewise.
6988 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6989 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6990 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6991 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6992 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6993 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6994 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6995 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6996 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6997 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6998 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6999 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7000 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7001 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7002 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7003 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7004 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7005 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7006 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7007 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7008 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7009 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7010 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7011 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7012 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7013 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7014 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7015 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7016 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7017 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7018 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7019 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7020 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7021 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7022 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7023 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7024 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7025 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7026 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7027 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7028 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7029 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7030 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7031 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7032 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7033 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7034 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7035 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7036 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7037 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7038 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7039 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7040 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7041 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7042 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7043 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7044 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7045 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7046 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7047 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7048 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7049 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7050 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7051 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7052 (conformtest-cc-flags): Likewise.
7053 ($(conformtest-header-tests): New target.
7054 * conform/check-header-lists.sh: New file.
7055 * conform/run-conformtest.sh: Remove.
7056
a00f522a
JM
7057 * conform/conformtest.pl: Allow ' and \ in values given for
7058 constants.
7059 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7060 inclusion.
7061 [POSIX] (sys/types.h): Likewise.
7062 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7063 inclusion.
7064 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7065 inclusion.
7066 * conform/data/signal.h-data (SIGIO): Remove expectation.
7067 [XPG3] (SIGBUS): Do not expect.
7068 [POSIX || XPG3] (SIGPOLL): Likewise.
7069 [POSIX || XPG3] (SIGPROF): Likewise.
7070 [POSIX || XPG3] (SIGSYS): Likewise.
7071 [XPG3] (SIGTRAP): Likewise.
7072 [POSIX || XPG3] (SIGURG): Likewise.
7073 [POSIX || XPG3] (SIGVTALRM): Likewise.
7074 [POSIX || XPG3] (SIGXCPU): Likewise.
7075 [POSIX || XPG3] (SIGXFSZ): Likewise.
7076 [POSIX] (SA_SIGINFO): Expect.
7077 [XPG3] (siginfo_t): Do not expect type or contents.
7078 [POSIX] (si_pid): Do not expect element.
7079 [POSIX] (si_uid): Likewise.
7080 [POSIX] (si_addr): Likewise.
7081 [POSIX] (si_status): Likewise.
7082 [POSIX] (si_band): Likewise.
7083 [XPG4] (si_value): Likewise.
7084 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7085 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7086 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7087 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7088 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7089 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7090 [POSIX || XPG3] (ILL_COPROC): Likewise.
7091 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7092 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7093 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7094 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7095 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7096 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7097 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7098 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7099 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7100 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7101 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7102 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7103 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7104 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7105 [POSIX || XPG3] (CLD_EXITED): Likewise.
7106 [POSIX || XPG3] (CLD_KILLED): Likewise.
7107 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7108 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7109 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7110 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7111 [POSIX || XPG3] (POLL_IN): Likewise.
7112 [POSIX || XPG3] (POLL_OUT): Likewise.
7113 [POSIX || XPG3] (POLL_MSG): Likewise.
7114 [POSIX || XPG3] (POLL_ERR): Likewise.
7115 [POSIX || XPG3] (POLL_PRI): Likewise.
7116 [POSIX || XPG3] (POLL_HUP): Likewise.
7117 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7118 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7119 (SIG*): Do not allow.
7120 [XPG3] (si_*): Likewise.
7121 [XPG3] (SI_*): Likewise.
7122 [XPG3 || XPG4] (sigev_*): Likewise.
7123 [XPG3 || XPG4] (SIGEV_*): Likewise.
7124 [XPG3 || XPG4] (sival_*): Likewise.
7125 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7126 [POSIX || XPG3] (BUS_*): Likewise.
7127 [POSIX || XPG3] (CLD_*): Likewise.
7128 [POSIX || XPG3] (FPE_*): Likewise.
7129 [POSIX || XPG3] (ILL_*): Likewise.
7130 [POSIX || XPG3] (POLL_*): Likewise.
7131 [POSIX || XPG3] (SEGV_*): Likewise.
7132 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7133 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7134 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7135 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7136 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7137 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7138 Specify type and value.
7139 (TVERSLEN): Likewise.
7140 (REGTYPE): Likewise.
7141 (AREGTYPE): Likewise.
7142 (LNKTYPE): Likewise.
7143 (SYMTYPE): Likewise.
7144 (CHRTYPE): Likewise.
7145 (BLKTYPE): Likewise.
7146 (DIRTYPE): Likewise.
7147 (FIFOTYPE): Likewise.
7148 (CONTTYPE): Likewise.
7149 (TSUID): Likewise.
7150 (TSGID): Likewise.
7151 (TSVTX): Likewise.
7152 (TUREAD): Likewise.
7153 (TUWRITE): Likewise.
7154 (TUEXEC): Likewise.
7155 (TGREAD): Likewise.
7156 (TGWRITE): Likewise.
7157 (TGEXEC): Likewise.
7158 (TOREAD): Likewise.
7159 (TOWRITE): Likewise.
7160 (TOEXEC): Likewise.
7161 [POSIX] (TSVTX): Expect constant.
7162
aa97dee1
JM
71632014-03-06 Joseph Myers <joseph@codesourcery.com>
7164
f214606a
JM
7165 * Makefile (tests): Change dependencies to ....
7166 (tests-special): ... additions to this variable.
7167 (tests): Depend on $(tests-special).
7168 * Makerules (check-abi-list): New variable.
7169 (check-abi): Depend on $(check-abi-list).
7170 [$(subdir) = elf] (tests-special): Add
7171 $(objpfx)check-abi-libc.out.
7172 [$(build-shared) = yes && subdir] (tests-special): Add
7173 $(check-abi-list).
7174 [$(build-shared) = yes && subdir] (tests): Do not depend on
7175 check-abi.
7176 * Rules (tests): Depend on $(tests-special).
7177 (xtests): Depend on $(xtests-special).
7178 * catgets/Makefile (tests): Change dependencies to ....
7179 (tests-special): ... additions to this variable.
7180 * conform/Makefile (tests): Change dependencies to ....
7181 (tests-special): ... additions to this variable.
7182 * elf/Makefile (tests): Change dependencies to ....
7183 (tests-special): ... additions to this variable.
7184 * grp/Makefile (tests): Change dependencies to ....
7185 (tests-special): ... additions to this variable.
7186 * iconv/Makefile (xtests): Change dependencies to ....
7187 (xtests-special): ... additions to this variable.
7188 * iconvdata/Makefile (tests): Change dependencies to ....
7189 (tests-special): ... additions to this variable.
7190 * intl/Makefile (tests): Change dependencies to ....
7191 (tests-special): ... additions to this variable. Also add
7192 $(objpfx)tst-gettext.out.
7193 * io/Makefile (tests): Change dependencies to ....
7194 (tests-special): ... additions to this variable.
7195 * libio/Makefile (tests): Change dependencies to ....
7196 (tests-special): ... additions to this variable.
7197 * malloc/Makefile (tests): Change dependencies to ....
7198 (tests-special): ... additions to this variable.
7199 * misc/Makefile (tests): Change dependencies to ....
7200 (tests-special): ... additions to this variable.
7201 * nptl/Makefile (tests): Change dependencies to ....
7202 (tests-special): ... additions to this variable.
7203 * nptl_db/Makefile (tests): Change dependencies to ....
7204 (tests-special): ... additions to this variable.
7205 * posix/Makefile (tests): Change dependencies to ....
7206 (tests-special): ... additions to this variable.
7207 (xtests): Change dependencies to ....
7208 (xtests-special): ... additions to this variable.
7209 * resolv/Makefile (tests): Change dependencies to ....
7210 (tests-special): ... additions to this variable.
7211 (xtests): Change dependencies to ....
7212 (xtests-special): ... additions to this variable.
7213 * stdio-common/Makefile (tests): Change dependencies to ....
7214 (tests-special): ... additions to this variable.
7215 (do-tst-unbputc): Remove target.
7216 (do-tst-printf): Likewise.
7217 * stdlib/Makefile (tests): Change dependencies to ....
7218 (tests-special): ... additions to this variable.
7219 * string/Makefile (tests): Change dependencies to ....
7220 (tests-special): ... additions to this variable.
7221 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7222 (tests-special): ... additions to this variable.
7223
81700b53
JM
7224 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7225 whole file.
7226 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7227 whole file.
7228 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7229 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7230
2ea18461
JM
7231 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7232 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7233 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7234 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7235 * conform/data/libgen.h-data [XPG3]: Likewise.
7236 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7237 * conform/data/ndbm.h-data [XPG3]: Likewise.
7238 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7239 * conform/data/netdb.h-data [XPG3]: Likewise.
7240 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7241 * conform/data/poll.h-data [XPG3]: Likewise.
7242 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7243 * conform/data/strings.h-data [XPG3]: Likewise.
7244 * conform/data/stropts.h-data [XPG3]: Likewise.
7245 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7246 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7247 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7248 Likewise.
7249 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7250 * conform/data/sys/time.h-data [XPG3]: Likewise.
7251 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7252 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7253 * conform/data/sys/un.h-data [XPG3]: Likewise.
7254 * conform/data/syslog.h-data [XPG3]: Likewise.
7255 * conform/data/ucontext.h-data [XPG3]: Likewise.
7256 * conform/data/utmpx.h-data [XPG3]: Likewise.
7257 * conform/data/varargs.h-data [UNIX98]: Enable file.
7258
355bc986
JM
7259 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7260
215db402
JM
7261 * math/libm-test.inc (struct test_f_f_data): Move expected results
7262 into structure for each rounding mode.
7263 (struct test_ff_f_data): Likewise.
7264 (struct test_ff_f_data_nexttoward): Likewise.
7265 (struct test_fi_f_data): Likewise.
7266 (struct test_fl_f_data): Likewise.
7267 (struct test_if_f_data): Likewise.
7268 (struct test_fff_f_data): Likewise.
7269 (struct test_c_f_data): Likewise.
7270 (struct test_f_f1_data): Likewise.
7271 (struct test_fF_f1_data): Likewise.
7272 (struct test_ffI_f1_data): Likewise.
7273 (struct test_c_c_data): Likewise.
7274 (struct test_cc_c_data): Likewise.
7275 (struct test_f_i_data): Likewise.
7276 (struct test_ff_i_data): Likewise.
7277 (struct test_f_l_data): Likewise.
7278 (struct test_f_L_data): Likewise.
7279 (struct test_fFF_11_data): Likewise.
7280 (RM_): New macro.
7281 (RM_FE_DOWNWARD): Likewise.
7282 (RM_FE_TONEAREST): Likewise.
7283 (RM_FE_TOWARDZERO): Likewise.
7284 (RM_FE_UPWARD): Likewise.
7285 (RUN_TEST_LOOP_f_f): Update references to expected results.
7286 (RUN_TEST_LOOP_2_f): Likewise.
7287 (RUN_TEST_LOOP_fff_f): Likewise.
7288 (RUN_TEST_LOOP_c_f): Likewise.
7289 (RUN_TEST_LOOP_f_f1): Likewise.
7290 (RUN_TEST_LOOP_fF_f1): Likewise.
7291 (RUN_TEST_LOOP_fI_f1): Likewise.
7292 (RUN_TEST_LOOP_ffI_f1): Likewise.
7293 (RUN_TEST_LOOP_c_c): Likewise.
7294 (RUN_TEST_LOOP_cc_c): Likewise.
7295 (RUN_TEST_LOOP_f_i): Likewise.
7296 (RUN_TEST_LOOP_f_i_tg): Likewise.
7297 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7298 (RUN_TEST_LOOP_f_b): Likewise.
7299 (RUN_TEST_LOOP_f_b_tg): Likewise.
7300 (RUN_TEST_LOOP_f_l): Likewise.
7301 (RUN_TEST_LOOP_f_L): Likewise.
7302 (RUN_TEST_LOOP_fFF_11): Likewise.
7303 * math/gen-libm-test.pl (parse_args): Output four copies of
7304 expected results for each test.
7305
67737b8f
JM
7306 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7307 (__ASSUME_UTIMES): Remove.
7308 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7309 (__ASSUME_UTIMES): Likewise.
7310
aa97dee1
JM
7311 * math/gen-auto-libm-tests.c: Update comment on output format.
7312 (output_for_one_input_case): Generate before-rounding and
7313 after-rounding information as conditions on output flags not
7314 floating-point format.
7315 * math/auto-libm-test-out: Regenerated.
7316 * math/gen-libm-test.pl (cond_value): New function.
7317 (or_cond_value): Use cond_value.
7318 (generate_testfile): Handle conditional exceptions.
7319
e6b6a857
JM
73202014-03-05 Joseph Myers <joseph@codesourcery.com>
7321
2f0a0f44
JM
7322 * math/libm-test.inc (max_valid_error): New variable.
7323 (init_max_error): Take new argument specifying whether function
7324 results are exactly determined. Set max_valid_error and bound
7325 other variables for errors based on this argument.
7326 (set_max_error): Do not record results above max_valid_error.
7327 (check_float_internal): Only accept errors of up to 0.5ulps if
7328 also at most max_valid_error.
7329 (START): Take new argument EXACT and pass it to init_max_error.
7330 (acos_test): Update call to START.
7331 (acos_test_tonearest): Likewise.
7332 (acos_test_towardzero): Likewise.
7333 (acos_test_downward): Likewise.
7334 (acos_test_upward): Likewise.
7335 (acosh_test): Likewise.
7336 (asin_test): Likewise.
7337 (asin_test_tonearest): Likewise.
7338 (asin_test_towardzero): Likewise.
7339 (asin_test_downward): Likewise.
7340 (asin_test_upward): Likewise.
7341 (asinh_test): Likewise.
7342 (atan_test): Likewise.
7343 (atanh_test): Likewise.
7344 (atan2_test): Likewise.
7345 (cabs_test): Likewise.
7346 (cacos_test): Likewise.
7347 (cacosh_test): Likewise.
7348 (carg_test): Likewise.
7349 (casin_test): Likewise.
7350 (casinh_test): Likewise.
7351 (catan_test): Likewise.
7352 (catanh_test): Likewise.
7353 (cbrt_test): Likewise.
7354 (ccos_test): Likewise.
7355 (ccosh_test): Likewise.
7356 (ceil_test): Likewise.
7357 (cexp_test): Likewise.
7358 (cimag_test): Likewise.
7359 (clog_test): Likewise.
7360 (clog10_test): Likewise.
7361 (conj_test): Likewise.
7362 (copysign_test): Likewise.
7363 (cos_test): Likewise.
7364 (cos_test_tonearest): Likewise.
7365 (cos_test_towardzero): Likewise.
7366 (cos_test_downward): Likewise.
7367 (cos_test_upward): Likewise.
7368 (cosh_test): Likewise.
7369 (cosh_test_tonearest): Likewise.
7370 (cosh_test_towardzero): Likewise.
7371 (cosh_test_downward): Likewise.
7372 (cosh_test_upward): Likewise.
7373 (cpow_test): Likewise.
7374 (cproj_test): Likewise.
7375 (creal_test): Likewise.
7376 (csin_test): Likewise.
7377 (csinh_test): Likewise.
7378 (csqrt_test): Likewise.
7379 (ctan_test): Likewise.
7380 (ctan_test_tonearest): Likewise.
7381 (ctan_test_towardzero): Likewise.
7382 (ctan_test_downward): Likewise.
7383 (ctan_test_upward): Likewise.
7384 (ctanh_test): Likewise.
7385 (ctanh_test_tonearest): Likewise.
7386 (ctanh_test_towardzero): Likewise.
7387 (ctanh_test_downward): Likewise.
7388 (ctanh_test_upward): Likewise.
7389 (erf_test): Likewise.
7390 (erfc_test): Likewise.
7391 (exp_test): Likewise.
7392 (exp_test_tonearest): Likewise.
7393 (exp_test_towardzero): Likewise.
7394 (exp_test_downward): Likewise.
7395 (exp_test_upward): Likewise.
7396 (exp10_test): Likewise.
7397 (exp10_test_tonearest): Likewise.
7398 (exp10_test_towardzero): Likewise.
7399 (exp10_test_downward): Likewise.
7400 (exp10_test_upward): Likewise.
7401 (pow10_test): Likewise.
7402 (exp2_test): Likewise.
7403 (expm1_test): Likewise.
7404 (expm1_test_tonearest): Likewise.
7405 (expm1_test_towardzero): Likewise.
7406 (expm1_test_downward): Likewise.
7407 (expm1_test_upward): Likewise.
7408 (fabs_test): Likewise.
7409 (fdim_test): Likewise.
7410 (floor_test): Likewise.
7411 (fma_test): Likewise.
7412 (fma_test_towardzero): Likewise.
7413 (fma_test_downward): Likewise.
7414 (fma_test_upward): Likewise.
7415 (fmax_test): Likewise.
7416 (fmin_test): Likewise.
7417 (fmod_test): Likewise.
7418 (fpclassify_test): Likewise.
7419 (frexp_test): Likewise.
7420 (hypot_test): Likewise.
7421 (ilogb_test): Likewise.
7422 (isfinite_test): Likewise.
7423 (finite_test): Likewise.
7424 (isgreater_test): Likewise.
7425 (isgreaterequal_test): Likewise.
7426 (isinf_test): Likewise.
7427 (isless_test): Likewise.
7428 (islessequal_test): Likewise.
7429 (islessgreater_test): Likewise.
7430 (isnan_test): Likewise.
7431 (isnormal_test): Likewise.
7432 (issignaling_test): Likewise.
7433 (isunordered_test): Likewise.
7434 (j0_test): Likewise.
7435 (j1_test): Likewise.
7436 (jn_test): Likewise.
7437 (ldexp_test): Likewise.
7438 (lgamma_test): Likewise.
7439 (gamma_test): Likewise.
7440 (lrint_test): Likewise.
7441 (lrint_test_tonearest): Likewise.
7442 (lrint_test_towardzero): Likewise.
7443 (lrint_test_downward): Likewise.
7444 (lrint_test_upward): Likewise.
7445 (llrint_test): Likewise.
7446 (llrint_test_tonearest): Likewise.
7447 (llrint_test_towardzero): Likewise.
7448 (llrint_test_downward): Likewise.
7449 (llrint_test_upward): Likewise.
7450 (log_test): Likewise.
7451 (log10_test): Likewise.
7452 (log1p_test): Likewise.
7453 (log2_test): Likewise.
7454 (logb_test): Likewise.
7455 (logb_test_downward): Likewise.
7456 (lround_test): Likewise.
7457 (llround_test): Likewise.
7458 (modf_test): Likewise.
7459 (nearbyint_test): Likewise.
7460 (nextafter_test): Likewise.
7461 (nexttoward_test): Likewise.
7462 (pow_test): Likewise.
7463 (pow_test_tonearest): Likewise.
7464 (pow_test_towardzero): Likewise.
7465 (pow_test_downward): Likewise.
7466 (pow_test_upward): Likewise.
7467 (remainder_test): Likewise.
7468 (drem_test): Likewise.
7469 (remainder_test_tonearest): Likewise.
7470 (drem_test_tonearest): Likewise.
7471 (remainder_test_towardzero): Likewise.
7472 (drem_test_towardzero): Likewise.
7473 (remainder_test_downward): Likewise.
7474 (drem_test_downward): Likewise.
7475 (remainder_test_upward): Likewise.
7476 (drem_test_upward): Likewise.
7477 (remquo_test): Likewise.
7478 (rint_test): Likewise.
7479 (rint_test_tonearest): Likewise.
7480 (rint_test_towardzero): Likewise.
7481 (rint_test_downward): Likewise.
7482 (rint_test_upward): Likewise.
7483 (round_test): Likewise.
7484 (scalb_test): Likewise.
7485 (scalbn_test): Likewise.
7486 (scalbln_test): Likewise.
7487 (signbit_test): Likewise.
7488 (sin_test): Likewise.
7489 (sin_test_tonearest): Likewise.
7490 (sin_test_towardzero): Likewise.
7491 (sin_test_downward): Likewise.
7492 (sin_test_upward): Likewise.
7493 (sincos_test): Likewise.
7494 (sinh_test): Likewise.
7495 (sinh_test_tonearest): Likewise.
7496 (sinh_test_towardzero): Likewise.
7497 (sinh_test_downward): Likewise.
7498 (sinh_test_upward): Likewise.
7499 (sqrt_test): Likewise.
7500 (sqrt_test_tonearest): Likewise.
7501 (sqrt_test_towardzero): Likewise.
7502 (sqrt_test_downward): Likewise.
7503 (sqrt_test_upward): Likewise.
7504 (tan_test): Likewise.
7505 (tan_test_tonearest): Likewise.
7506 (tan_test_towardzero): Likewise.
7507 (tan_test_downward): Likewise.
7508 (tan_test_upward): Likewise.
7509 (tanh_test): Likewise.
7510 (tgamma_test): Likewise.
7511 (trunc_test): Likewise.
7512 (y0_test): Likewise.
7513 (y1_test): Likewise.
7514 (yn_test): Likewise.
7515 (significand_test): Likewise.
7516
e6b6a857
JM
7517 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7518 individual tests in comment.
7519 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7520 (prev_max_error): New variable.
7521 (prev_real_max_error): Likewise.
7522 (prev_imag_max_error): Likewise.
7523 (compare_ulp_data): Don't refer to test names in comment.
7524 (find_test_ulps): Remove function.
7525 (find_function_ulps): Likewise.
7526 (find_complex_function_ulps): Likewise.
7527 (init_max_error): Take function name as argument. Look up ulps
7528 for that function.
7529 (print_ulps): Remove function.
7530 (print_max_error): Use prev_max_error instead of calling
7531 find_function_ulps.
7532 (print_complex_max_error): Use prev_real_max_error and
7533 prev_imag_max_error instead of calling find_complex_function_ulps.
7534 (check_float_internal): Take max_ulp parameter instead of calling
7535 find_test_ulps. Don't call print_ulps.
7536 (check_float): Update call to check_float_internal.
7537 (check_complex): Update calls to check_float_internal.
7538 (START): Pass argument to init_max_error.
7539 * math/gen-libm-test.pl (%results): Don't include "kind"
7540 information.
7541 (parse_ulps): Don't handle ulps of individual tests.
7542 (print_ulps_file): Likewise.
7543 (output_ulps): Likewise.
7544 * math/README.libm-test: Update.
7545 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7546 individual tests.
7547 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7548 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7549 * sysdeps/arm/libm-test-ulps: Likewise.
7550 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7551 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7552 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7553 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7554 * sysdeps/microblaze/libm-test-ulps: Likewise.
7555 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7556 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7558 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7559 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7560 * sysdeps/sh/libm-test-ulps: Likewise.
7561 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7562 * sysdeps/tile/libm-test-ulps: Likewise.
7563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7564
45adef3c
JM
75652014-03-04 Joseph Myers <joseph@codesourcery.com>
7566
7567 * math/libm-test.inc (print_complex_max_error): Check separately
7568 whether real and imaginary errors are within allowed range and
7569 pass 0 to print_complex_function_ulps instead of value within
7570 allowed range.
7571
000232b9
SP
75722014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7573
d4b17258
SP
7574 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7575 formatting.
7576 (get_handles_fopen): Likewise.
7577 (do_write_test): Likewise.
7578
091eff71
SP
7579 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7580
fa3cd248
SP
7581 * libio/fileops.c (do_ftell): Use cached offset when
7582 available.
7583 * libio/iofwide.c (do_ftell_wide): Likewise.
7584 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7585 _IO_file_attach.
7586 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7587
000232b9
SP
7588 [BZ #16532]
7589 * libio/libioP.h (get_file_offset): New function.
7590 * libio/fileops.c (get_file_offset): Likewise.
7591 (do_ftell): Likewise.
7592 (_IO_new_file_seekoff): Split out ftell logic.
7593 * libio/wfileops.c (do_ftell_wide): Likewise.
7594 (_IO_wfile_seekoff): Split out ftell logic.
7595 * libio/tst-ftell-active-handler.c: New test case.
7596 * libio/Makefile (tests): Add it.
7597
116f4d1a
RM
75982014-03-03 Roland McGrath <roland@hack.frob.com>
7599
7600 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7601 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7602
532a6035
SP
76032014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7604
7605 [BZ #16639]
7606 * nscd/connections.c (nscd_init): Call do_exit.
7607 (start_threads): Call do_exit and notify_parent.
7608 (begin_drop_privileges): Call do_exit.
7609 (finish_drop_privileges): Likewise.
7610 * nscd/selinux.c (preserve_capabilities): Likewise.
7611 (install_real_capabilities): Likewise.
7612 (nscd_selinux_enabled): Likewise.
7613 (avc_create_thread): Likewise.
7614 (avc_alloc_lock): Likewise.
7615 (nscd_avc_init): Likewise.
7616 * nscd/nscd.c (parent_fd): New static variable.
7617 (main): Create a pipe between parent and child processes.
7618 Skip closing parent_fd.
7619 (monitor_child): New function.
7620 (do_exit): Likewise.
7621 (notify_parent): Likewise.
7622 * nscd/nscd.h (notify_parent): Likewise.
7623 (do_exit): Likewise.
7624
d6285c9f
CD
76252014-03-03 Carlos O'Donell <carlos@redhat.com>
7626
7627 * malloc/malloc.c (__libc_calloc): Revert last change.
7628
2b85d2a0
AZ
76292014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630
7631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7632
c7debbdf
RS
76332014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7634
7635 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7637 implementation.
7638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7639 (__libc_ifunc_impl_list): Likewise.
7640 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7641 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7642 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7643 * string/strrchr.c: Define STRRCHR.
7644
235eed86
OB
76452014-02-28 Ondřej Bílka <neleai@seznam.cz>
7646
7647 * benchtest/bench-strtok.c (simple_strtok): Delete.
7648 (strtok_string): Use as benchmark.
7649 * string/strtok (STRTOK): New macro.
7650
8e25d1e7
CD
76512014-02-28 Carlos O'Donell <carlos@redhat.com>
7652
ef563f92
CD
7653 * manual/threads.texi: Add header and standard comments to all
7654 functions.
7655
8e25d1e7
CD
7656 * elf/dl-lookup.c (check_match): New function.
7657 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7658 (do_lookup_x): Remove nested function check_match. Use non-nested
7659 function check_match.
7660
ff71cc37
RM
76612014-02-28 Roland McGrath <roland@hack.frob.com>
7662
f08e9a26
RM
7663 * csu/Makefile (generated, before-compile): Use += rather than =.
7664 * catgets/Makefile (generated, generated-dirs): Likewise.
7665 * debug/Makefile (generated): Likewise.
7666 * dlfcn/Makefile (generated): Likewise.
7667 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7668 * iconvdata/Makefile (before-compile, generated): Likewise.
7669 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7670 * libio/Makefile (generated): Likewise.
7671 * malloc/Makefile (generated): Likewise.
7672 * manual/Makefile (generated, generated-dirs): Likewise.
7673 * misc/Makefile (generated): Likewise.
7674 * posix/Makefile (generated): Likewise.
7675 * resolv/Makefile (generated): Likewise.
7676 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7677 * timezone/Makefile (generated, generated-dirs): Likewise.
7678
ff71cc37
RM
7679 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7680
fe13a20c
AZ
76812014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682
57f41c40
AS
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7684 power8 implementation.
7685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7686 file: POWER8 llround ifunc implementation.
7687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7688 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
7689 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7690 POWER8 llround implementation.
7691
57f41c40
AS
7692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7693 power8 implementation.
7694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7695 file: POWER8 llrint ifunc implementation.
7696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7697 Add POWER8 implementation.
1ad8950a
AZ
7698 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7699 POWER8 llrint implementation.
7700
57f41c40
AS
7701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7702 power8 implementation.
7703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7704 file: POWER8 finite ifunc implementation.
7705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7706 Add POWER8 implementation.
cac626d6
AZ
7707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7708 Likewise.
7709 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7710 POWER8 finite implementation.
7711 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7712
57f41c40
AS
7713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7714 power8 implementation.
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7716 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
7717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7718 POWER8 implementation.
7719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7720 Likewise.
57f41c40
AS
7721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7722 isinf implementation.
4393fc11
AZ
7723 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7724
57f41c40
AS
7725 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7726 (INIT_ARCH): Add hwcap2 initialization.
7727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7728 power8 implementation.
7729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7730 file: POWER8 isnan ifunc implementation.
487972ae
AZ
7731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7732 POWER8 implementation.
7733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7734 Likewise.
57f41c40
AS
7735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7736 isnan implementation.
487972ae
AZ
7737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7738
7d92b787
JY
77392014-02-27 Joey Ye <joey.ye@arm.com>
7740
7741 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7742 (_FP_NANFRAC_Q): Set to zero.
7743
1cadc858
SP
77442014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7745
7746 [BZ #16623]
7747 * math/auto-libm-test-in: New test inputs.
7748 * math/auto-libm-test-out: Regenerate.
7749 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7750 and DA.
7751 (__cos): Likewise.
7752 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7753
f8c17e79
JM
77542014-02-27 Joseph Myers <joseph@codesourcery.com>
7755
7756 * scripts/evaluate-test.sh: Take new argument indicating whether
7757 failure is expected.
7758 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7759 indicating whether failure is expected.
7760 * conform/Makefile (test-xfail-run-conformtest): New variable.
7761 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7762 level.
7763 * posix/Makefile (test-xfail-annexc): New variable.
7764 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7765
a5f891ac
JM
77662014-02-26 Joseph Myers <joseph@codesourcery.com>
7767
7768 * argp/Makefile: Include Makeconfig immediately after defining
7769 subdir.
7770 * assert/Makefile: Likewise.
7771 * benchtests/Makefile: Likewise.
7772 * catgets/Makefile: Likewise.
7773 * conform/Makefile: Likewise.
7774 * crypt/Makefile: Likewise.
7775 * csu/Makefile: Likewise.
7776 (all): Remove target.
7777 * ctype/Makefile: Include Makeconfig immediately after defining
7778 subdir.
7779 * debug/Makefile: Likewise.
7780 * dirent/Makefile: Likewise.
7781 * dlfcn/Makefile: Likewise.
7782 * gmon/Makefile: Likewise.
7783 * gnulib/Makefile: Likewise.
7784 * grp/Makefile: Likewise.
7785 * gshadow/Makefile: Likewise.
7786 * hesiod/Makefile: Likewise.
7787 * hurd/Makefile: Likewise.
7788 (all): Remove target.
7789 * iconvdata/Makefile: Include Makeconfig immediately after
7790 defining subdir.
7791 * inet/Makefile: Likewise.
7792 * intl/Makefile: Likewise.
7793 * io/Makefile: Likewise.
7794 * libio/Makefile: Likewise.
7795 (all): Remove target.
7796 * locale/Makefile: Include Makeconfig immediately after defining
7797 subdir.
7798 * login/Makefile: Likewise.
7799 * mach/Makefile: Likewise.
7800 (all): Remove target.
7801 * malloc/Makefile: Include Makeconfig immediately after defining
7802 subdir.
7803 (all): Remove target.
7804 * manual/Makefile: Include Makeconfig immediately after defining
7805 subdir.
7806 * math/Makefile: Likewise.
7807 * misc/Makefile: Likewise.
7808 * nis/Makefile: Likewise.
7809 * nss/Makefile: Likewise.
7810 * po/Makefile: Likewise.
7811 (all): Remove target.
7812 * posix/Makefile: Include Makeconfig immediately after defining
7813 subdir.
7814 * pwd/Makefile: Likewise.
7815 * resolv/Makefile: Likewise.
7816 * resource/Makefile: Likewise.
7817 * rt/Makefile: Likewise.
7818 * setjmp/Makefile: Likewise.
7819 * shadow/Makefile: Likewise.
7820 * signal/Makefile: Likewise.
7821 * socket/Makefile: Likewise.
7822 * soft-fp/Makefile: Likewise.
7823 * stdio-common/Makefile: Likewise.
7824 * stdlib/Makefile: Likewise.
7825 * streams/Makefile: Likewise.
7826 * string/Makefile: Likewise.
7827 * sunrpc/Makefile: Likewise.
7828 (all): Remove target.
7829 * sysvipc/Makefile: Include Makeconfig immediately after defining
7830 subdir.
7831 * termios/Makefile: Likewise.
7832 * time/Makefile: Likewise.
7833 * timezone/Makefile: Likewise.
7834 (all): Remove target.
7835 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7836 subdir.
7837 * wctype/Makefile: Likewise.
7838
5b456e9d
SE
78392014-02-26 Steve Ellcey <sellcey@mips.com>
7840
7841 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7842 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7843 (libc_feholdexcept_setround_mips): Ditto.
7844 (libc_feholdsetround): New.
7845 (libc_feholdsetroundf): New.
7846 (libc_feholdsetroundl): New.
7847 (libc_feupdateenv_test_mips): New.
7848 (libc_feupdateenv_test): New.
7849 (libc_feupdateenv_testf): New.
7850 (libc_feupdateenv_testl): New.
7851 (libc_feresetround): New.
7852 (libc_feresetroundf): New.
7853 (libc_feresetroundl): New.
7854 (libc_fetestexcept_mips): New.
7855 (libc_fetestexcept): New.
7856 (libc_fetestexceptf): New.
7857 (libc_fetestexceptl): New.
7858 (HAVE_RM_CTX): New.
7859 (libc_feholdexcept_setround_mips_ctx): New.
7860 (libc_feholdexcept_setround_ctx): New.
7861 (libc_feholdexcept_setroundf_ctx): New.
7862 (libc_feholdexcept_setroundl_ctx): New.
7863 (libc_fesetenv_mips_ctx): New.
7864 (libc_fesetenv_ctx): New.
7865 (libc_fesetenv_ctxf): New.
7866 (libc_fesetenv_ctxl): New.
7867 (libc_feupdateenv_mips_ctx): New.
7868 (libc_feupdateenv_ctx): New.
7869 (libc_feupdateenvf_ctx): New.
7870 (libc_feupdateenvl_ctx): New.
7871 (libc_feholdsetround_mips_ctx): New.
7872 (libc_feholdsetround_ctx): New.
7873 (libc_feholdsetroundf_ctx): New.
7874 (libc_feholdsetroundl_ctx): New.
7875 (libc_feresetround_mips_ctx): New.
7876 (libc_feresetround_ctx): New.
7877 (libc_feresetroundf_ctx): New.
7878 (libc_feresetroundl_ctx): New.
7879
085d0e35
CD
78802014-02-26 Carlos O'Donell <carlos@redhat.com>
7881
f067bf1f
CD
7882 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7883
085d0e35
CD
7884 * manual/ipc.texi: New file.
7885 * manual/Makefile (chapters): Add ipc.
7886 * manual/job.texi: Add "Inter-Process Communication" to next.
7887 * manual/process.texi: Add "Inter-Process Communication" to prev.
7888
86e58c08
AZ
78892014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7890
7891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7892
4248f0da
OB
78932014-02-26 Ondřej Bílka <neleai@seznam.cz>
7894
7895 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7896
cf822e3c
OB
7897 * manual/arith.texi: Fix spaces after sentences.
7898 * manual/charset.texi: Likewise.
7899 * manual/errno.texi: Likewise.
7900 * manual/install.texi: Likewise.
7901 * manual/llio.texi: Likewise.
7902 * manual/locale.texi: Likewise.
7903 * manual/maint.texi: Likewise.
7904 * manual/math.texi: Likewise.
7905 * manual/memory.texi: Likewise.
7906 * manual/message.texi: Likewise.
7907 * manual/probes.texi: Likewise.
7908 * manual/resource.texi: Likewise.
7909 * manual/signal.texi: Likewise.
7910 * manual/socket.texi: Likewise.
7911 * manual/stdio.texi: Likewise.
7912 * manual/string.texi: Likewise.
7913 * manual/time.texi: Likewise.
7914 * manual/users.texi: Likewise.
7915
ade40b10
CD
79162014-02-25 Carlos O'Donell <carlos@redhat.com>
7917
7918 [BZ #16632]
7919 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7920 _DEFAULT_SOURCE is defined.
7921
d0503676
CD
79222014-02-25 Ulrich Drepper <drepper@gmail.com>
7923 Carlos O'Donell <carlos@redhat.com>
7924
7925 [BZ #16613]
7926 * elf/dl-tls.c (_dl_count_modids): New function.
7927 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7928 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7929 audit library and increment generation counter.
7930 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7931 * elf/tst-audit9.c: New file.
7932 * elf/tst-auditmod9a.c: New file.
7933 * elf/tst-auditmod9b.c: New file.
7934 * elf/Makefile: Add rules to build and run tst-audit9.
7935
4cbf380c
FW
79362014-02-25 Florian Weimer <fweimer@redhat.com>
7937
7938 [BZ #15347]
7939 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7940
80a56cc3
WN
79412014-02-25 Will Newton <will.newton@linaro.org>
7942
7943 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7944 (__longjmp): Restore sp and lr before restoring callee
7945 saved registers. Add longjmp and longjmp_target
7946 SystemTap probe point.
7947 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7948 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7949 Define to zero to match jmpbuf layout.
7950 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7951 (__sigsetjmp): Save sp and lr before saving callee
7952 saved registers. Add setjmp SystemTap probe point.
7953
3ea0f74e
SL
79542014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7955
7956 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7957
b04acb26
AS
79582014-02-24 Andreas Schwab <schwab@suse.de>
7959
7960 [BZ #15804]
7961 * elf/pldd.c (wait_for_ptrace_stop): New function.
7962 (main): Call it after attaching.
7963
098ad55c
RM
79642014-02-22 Roland McGrath <roland@hack.frob.com>
7965
d4ec6ae1
RM
7966 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7967 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7968 Versions files is now verboten.
7969 * hurd/Versions (libc: GLIBC_2.0):
7970 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7971 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7972 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7973 * mach/Versions: Likewise.
7974
098ad55c
RM
7975 * csu/Versions: Remove unused %include.
7976 * resolv/Versions: Likewise.
7977
acd7f096
JM
79782014-02-21 Joseph Myers <joseph@codesourcery.com>
7979
f0881698
JM
7980 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7981 ($(objpfx)check-local-headers.out): Likewise.
7982 ($(objpfx)begin-end-check.out): Likewise.
7983 * Makerules (check-abi-%.out): Likewise.
7984 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7985 ($(objpfx)test2.cat): Likewise.
7986 ($(objpfx)de/libc.cat): Likewise.
7987 ($(objpfx)test-gencat.out): Likewise.
7988 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7989 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7990 ($(objpfx)noload-mem): Likewise.
7991 ($(objpfx)tst-pathopt.out): Likewise.
7992 ($(objpfx)tst-rtld-load-self.out): Likewise.
7993 ($(objpfx)tst-array1-cmp.out): Likewise.
7994 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7995 ($(objpfx)tst-array2-cmp.out): Likewise.
7996 ($(objpfx)tst-array3-cmp.out): Likewise.
7997 ($(objpfx)tst-array4-cmp.out): Likewise.
7998 ($(objpfx)tst-array5-cmp.out): Likewise.
7999 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8000 ($(objpfx)check-textrel.out): Likewise.
8001 ($(objpfx)check-execstack.out): Likewise.
8002 ($(objpfx)check-localplt.out): Likewise.
8003 ($(objpfx)order2-cmp.out): Likewise.
8004 ($(objpfx)tst-leaks1-mem): Likewise.
8005 ($(objpfx)tst-leaks1-static-mem): Likewise.
8006 ($(objpfx)tst-initorder-cmp.out): Likewise.
8007 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8008 ($(objpfx)tst-unused-dep.out): Likewise.
8009 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8010 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8011 * iconv/Makefile (test-iconvconfig): Likewise.
8012 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8013 ($(objpfx)iconv-test.out): Likewise.
8014 ($(objpfx)tst-tables.out): Likewise.
8015 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8016 ($(objpfx)tst-gettext.out): Likewise.
8017 ($(objpfx)tst-translit.out): Likewise.
8018 ($(objpfx)tst-gettext2.out): Likewise.
8019 ($(objpfx)tst-gettext4.out): Likewise.
8020 ($(objpfx)tst-gettext6.out): Likewise.
8021 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8022 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8023 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8024 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8025 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8026 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8027 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8028 ($(objpfx)wordexp-tst.out): Likewise.
8029 ($(objpfx)annexc.out): Likewise.
8030 ($(objpfx)tst-fnmatch-mem): Likewise.
8031 ($(objpfx)bug-regex2-mem): Likewise.
8032 ($(objpfx)bug-regex14-mem): Likewise.
8033 ($(objpfx)bug-regex21-mem): Likewise.
8034 ($(objpfx)bug-regex31-mem): Likewise.
8035 ($(objpfx)tst-vfork3-mem): Likewise.
8036 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8037 ($(objpfx)tst-pcre-mem): Likewise.
8038 ($(objpfx)tst-boost-mem): Likewise.
8039 ($(objpfx)tst-getconf.out): Likewise.
8040 ($(objpfx)bug-ga2-mem): Likewise.
8041 ($(objpfx)bug-glob2-mem): Likewise.
8042 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8043 ($(objpfx)mtrace-tst-leaks2): Likewise.
8044 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8045 ($(objpfx)tst-printf.out): Likewise.
8046 ($(objpfx)tst-setvbuf1.out): Likewise.
8047 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8048 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8049 ($(objpfx)tst-fmtmsg.out): Likewise.
8050 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8051 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8052
acd7f096
JM
8053 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8054 * bits/sigaction.h [__USE_MISC]: Likewise.
8055 * bits/waitstatus.h: Update #endif comments.
8056 * ctype/ctype.h: Likewise.
8057 * dirent/dirent.h: Likewise.
8058 [__USE_MISC]: Remove redundant conditionals.
8059 * grp/grp.h: Update #endif comments.
8060 [__USE_GNU]: Remove redundant conditionals.
8061 [__USE_MISC]: Likewise.
8062 * inet/netinet/in.h [__USE_GNU]: Likewise.
8063 * io/sys/stat.h [__USE_MISC]: Likewise.
8064 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8065 * libio/bits/stdio.h: Update #endif comments.
8066 [__USE_MISC]: Remove redundant conditionals.
8067 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8068 * libio/stdio.h: Update #endif comments.
8069 [__USE_MISC]: Remove redundant conditionals.
8070 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8071 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8072 * math/math.h: Update #else and #endif comments.
8073 [__USE_MISC]: Remove redundant conditionals.
8074 * misc/sys/uio.h: Update #endif comments.
8075 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8076 * posix/glob.h [__USE_MISC]: Likewise.
8077 * posix/sys/types.h: Update #endif comments.
8078 [__USE_MISC]: Remove redundant conditionals.
8079 * posix/sys/wait.h: Update #endif comments.
8080 [__USE_MISC]: Remove redundant conditionals.
8081 * posix/unistd.h: Update #endif comments.
8082 [__USE_MISC]: Remove redundant conditionals.
8083 * pwd/pwd.h [__USE_GNU]: Likewise.
8084 [__USE_MISC]: Likewise.
8085 * resolv/netdb.h [__USE_GNU]: Likewise.
8086 * signal/signal.h: Update #endif comments.
8087 [__USE_MISC]: Remove redundant conditionals.
8088 * stdlib/stdlib.h: Update #else and #endif comments.
8089 [__USE_MISC]: Remove redundant conditionals.
8090 [__USE_GNU]: Likewise.
8091 * string/bits/string2.h [__USE_MISC]: Likewise.
8092 * string/string.h: Update #endif comments.
8093 [__USE_MISC]: Remove redundant conditionals.
8094 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8095 Likewise.
8096 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8097 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8098 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8099 Likewise.
8100 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8101 Likewise.
8102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8103 comments.
8104 [__USE_MISC]: Remove redundant conditionals.
8105 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8106 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8107 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8108 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8109 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8110 Likewise.
8111 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8112 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8113 Likewise.
8114 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8115 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8116 Likewise.
8117 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8118 Likewise.
8119 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8121 Likewise.
8122 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8123 Likewise.
8124 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8125 * sysdeps/x86/bits/string.h: Update #endif comments.
8126 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8127 conditionals.
8128 * time/sys/time.h: Update #endif comments.
8129 * time/time.h: Likewise.
8130 [__USE_MISC]: Remove redundant conditionals.
8131
a5d82e4e
YG
81322014-02-21 Yury Gribov <y.gribov@samsung.com>
8133
8134 [BZ #16600]
8135 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8136
9a80491d
AS
81372014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8138
8139 * Versions.def (librt): Add GLIBC_2.17.
8140
105fa381
AC
81412014-02-21 Adam Conrad <adconrad@0c3.net>
8142
8143 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8144 synonym for _SYS_AUXV_H to allow direct inclusion.
8145 * sysdeps/sparc/bits/hwcap.h: Likewise.
8146 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8147 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8148 * sysdeps/sparc/sysdep.h: Likewise.
8149
b8cd1c4e
SP
81502014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8151
8152 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8153
bd939d23
RS
81542014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8155
8156 * benchtests/bench-strrchr.c: Print length instead of position.
8157
5d7b57ca
JM
81582014-02-20 Joseph Myers <joseph@codesourcery.com>
8159
bc688c10
JM
8160 [BZ #16611]
8161 * sysdeps/unix/sysv/linux/kernel-features.h
8162 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8163 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8164 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8165 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8166 Likewise.
8167 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8168 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8169 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8170 (__ASSUME_SENDMMSG): Define instead of using previous
8171 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8172 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8173 (__ASSUME_SENDMMSG_SYSCALL): Define.
8174 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8175 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8176 Likewise.
8177 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8178 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8179 Likewise.
8180 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8181 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8182 Likewise.
8183 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8184 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8185 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8186 [__ASSUME_SENDMMSG]: Change conditionals to
8187 [__ASSUME_SENDMMSG_SOCKETCALL].
8188 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8189 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8190 Define.
8191 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8192 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8193 Likewise.
8194 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8195 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8196 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8197 [!__ASSUME_SENDMMSG]: Change conditional to
8198 [!__ASSUME_SENDMMSG_SOCKETCALL].
8199 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8200 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8201 Define.
8202
0e31b18c
JM
8203 [BZ #16610]
8204 * sysdeps/unix/sysv/linux/kernel-features.h
8205 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8206 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8207 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8208 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8209 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8210 [__i386__ || __sparc__]
8211 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8212 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8213 (__ASSUME_RECVMMSG): Define instead of using previous
8214 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8215 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8216 (__ASSUME_RECVMMSG_SYSCALL): Define.
8217 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8218 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8219 Likewise.
8220 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8221 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8222 Likewise.
8223 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8224 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8225 Likewise.
8226 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8227 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8228 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8229 [__ASSUME_RECVMMSG]: Change condition to
8230 [__ASSUME_RECVMMSG_SOCKETCALL].
8231 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8232 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8233 Define.
8234 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8235 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8237 Likewise.
8238 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8239 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8240 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8241 [!__ASSUME_RECVMMSG]: Change condition to
8242 [!__ASSUME_RECVMMSG_SOCKETCALL].
8243 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8244 (__ASSUME_RECVMMSG_SYSCALL): Define.
8245
dd481ccf
JM
8246 [BZ #16609]
8247 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8248 __powerpc__ || __s390__ || __sh__ || __sparc__]
8249 (__ASSUME_SOCKETCALL): Define.
8250 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8251 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8252 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8253 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8254 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8255 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8256 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8257 (__ASSUME_ACCEPT4): Define instead of using previous
8258 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8259 __powerpc__ || __sparc__ || __s390__)] condition.
8260 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8261 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8262 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8263 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8264 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8265 [!__ASSUME_ACCEPT4]: Change condition to
8266 [!__ASSUME_ACCEPT4_SOCKETCALL].
8267 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8268 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8269 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8270 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8271 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8272 __ASSUME_ACCEPT4_SYSCALL.
8273 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8274 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8275 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8276 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8277 __ASSUME_ACCEPT4_SYSCALL.
8278 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8279 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8280 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8281 [__ASSUME_ACCEPT4]: Change condition to
8282 [__ASSUME_ACCEPT4_SOCKETCALL].
8283 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8284 (__ASSUME_SOCKETCALL): Define.
8285 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8287 (__ASSUME_SOCKETCALL): Define.
8288 (__ASSUME_ACCEPT4): Remove.
8289 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8290 Define.
8291 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8292 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8293 Likewise.
8294 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8295 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8296
5d7b57ca
JM
8297 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8298 macro.
8299 (HWCAP_ARM_LPAE): Likewise.
8300 (HWCAP_ARM_EVTSTRM): Likewise.
8301 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8302 Add vpfd32, lpae and evtstrm.
8303 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8304 Increase to 22.
8305
63689d61
JM
83062014-02-19 Joseph Myers <joseph@codesourcery.com>
8307
8308 * math/auto-libm-test-in: Add tests of clog10.
8309 * math/auto-libm-test-out: Regenerated.
8310 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8311 * sysdeps/i386/fpu/libm-test-ulps: Update.
8312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8313
ab09bf61
AS
83142014-02-18 Andreas Schwab <schwab@suse.de>
8315
8316 [BZ #16574]
8317 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8318 Store non-zero if the second buffer was newly allocated.
8319 (send_dg): Likewise.
8320 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8321 to send_vc and send_dg.
8322 (res_nsend): Pass NULL for ansp2_malloced.
8323 * resolv/res_query.c (__libc_res_nquery): Add parameter
8324 answerp2_malloced and pass it down to __libc_res_nsend.
8325 (res_nquery): Pass additional NULL to __libc_res_nquery.
8326 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8327 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8328 second answer buffer if answerp2_malloced was set.
8329 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8330 (__libc_res_nquerydomain): Add parameter
8331 answerp2_malloced and pass it down to __libc_res_nquery.
8332 (res_nquerydomain): Pass additional NULL to
8333 __libc_res_nquerydomain.
8334 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8335 additional NULL to __libc_res_nsend and __libc_res_nquery.
8336 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8337 additional NULL to __libc_res_nsearch.
8338 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8339 parameter of __libc_res_nsearch to check for separately allocated
8340 second buffer.
8341 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8342 __libc_res_nquery.
8343 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8344 additional NULL to __libc_res_nquery.
8345 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8346 __libc_res_nsearch.
8347 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8348 * include/resolv.h: Update prototypes of __libc_res_nquery,
8349 __libc_res_nsearch, __libc_res_nsend.
8350
a4fb7861
JM
83512014-02-18 Joseph Myers <joseph@codesourcery.com>
8352
c6af2d89
JM
8353 * math/auto-libm-test-in: Add tests of fma.
8354 * math/auto-libm-test-out: Regenerated.
8355 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8356 (fma_towardzero_test_data): Likewise.
8357 (fma_downward_test_data): Likewise.
8358 (fma_upward_test_data): Likewise.
8359 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8360 mpc_mode.
8361 (rounding_modes): Add values for new field.
8362 (func_calc_method): Add value mpfr_fff_f.
8363 (func_calc_desc): Add mpfr_fff_f union field.
8364 (test_function): Add field exact_args.
8365 (FUNC): Add macro argument EXACT_ARGS.
8366 (FUNC_mpfr_f_f): Update call to FUNC.
8367 (FUNC_mpfr_f_f): Likewise.
8368 (FUNC_mpfr_ff_f): Likewise.
8369 (FUNC_mpfr_if_f): Likewise.
8370 (FUNC_mpc_c_f): Likewise.
8371 (FUNC_mpc_c_c): Likewise.
8372 (test_functions): Add fma. Update calls to FUNC.
8373 (handle_input_arg): Add argument exact_args.
8374 (add_test): Update call to handle_input_arg.
8375 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8376 (output_for_one_input_case): Update call to calc_generic_results.
8377 Recalculate exact zero results in each rounding mode.
8378
a4fb7861
JM
8379 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8380 non-negative before setting low bit.
8381 * math/auto-libm-test-in: Mark one asin test possibly having
8382 spurious underflow.
8383 * math/auto-libm-test-out: Regenerated.
8384 * sysdeps/i386/fpu/libm-test-ulps: Update.
8385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8386
ef114eaf
DH
83872014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8388
2b7f4f2c
SP
8389 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8390 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8391 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8392 * README: Add missing listing for microblaze*-*-linux-gnu.
8393
c70a4b1d
MF
83942014-02-16 Mike Frysinger <vapier@gentoo.org>
8395
8396 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8397 * sysdeps/unix/sysv/linux/ia64: Move directory from
8398 ports/sysdeps/unix/sysv/linux/ia64.
8399 * README: Update listing for ia64-*-linux-gnu.
8400
591aeaf7
TD
84012014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8402 Joseph Myers <joseph@codesourcery.com>
8403
8404 * Makeconfig (test-name): New variable.
8405 (evaluate-test): Likewise.
8406 * Makerules (do-test-clean): Remove .test-result files.
8407 (common-mostlyclean): Likewise.
8408 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8409 * scripts/evaluate-test.sh: New file.
8410
6e89caf1
JM
84112014-02-14 Joseph Myers <joseph@codesourcery.com>
8412
7f98f180
JM
8413 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8414 separate $(objpfx)tst-fopenloc-cmp.out and
8415 $(objpfx)tst-fopenloc-mem.out targets.
8416 (tests): Update dependencies.
8417 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8418 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8419 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8420 (tst-rxspencer-no-utf8-ARGS): New variable.
8421 (tst-rxspencer-no-utf8-ENV): Likewise.
8422 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8423 instead of $(objpfx)tst-rxspencer-mem.
8424 ($(objpfx)tst-rxspencer-mem): Change target to
8425 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8426 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8427 * posix/tst-rxspencer-no-utf8.c: New file.
8428
6e89caf1
JM
8429 * elf/Makefile ($(objpfx)order.out): Remove rule.
8430 [$(run-built-tests) = yes] (tests): Depend on
8431 $(objpfx)order-cmp.out.
8432 ($(objpfx)order-cmp.out): New rule.
8433 [$(run-built-tests) = yes] (tests): Depend on
8434 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8435 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8436 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8437 $(objpfx)tst-array5-static-cmp.out.
8438 ($(objpfx)tst-array1.out): Remove rule.
8439 ($(objpfx)tst-array1-cmp.out): New rule.
8440 ($(objpfx)tst-array1-static.out): Remove rule.
8441 ($(objpfx)tst-array1-static-cmp.out): New rule.
8442 ($(objpfx)tst-array2.out): Remove rule.
8443 ($(objpfx)tst-array2-cmp.out): New rule.
8444 ($(objpfx)tst-array3.out): Remove rule.
8445 ($(objpfx)tst-array3-cmp.out): New rule.
8446 ($(objpfx)tst-array4.out): Remove rule.
8447 ($(objpfx)tst-array4-cmp.out): New rule.
8448 ($(objpfx)tst-array5.out): Remove rule.
8449 ($(objpfx)tst-array5-cmp.out): New rule.
8450 ($(objpfx)tst-array5-static.out): Remove rule.
8451 ($(objpfx)tst-array5-static-cmp.out): New rule.
8452 [$(run-built-tests) = yes] (tests): Depend on
8453 $(objpfx)order2-cmp.out.
8454 ($(objpfx)order2.out): Remove rule.
8455 ($(objpfx)order2-cmp.out): New rule.
8456 ($(objpfx)tst-initorder.out): Remove rule.
8457 [$(run-built-tests) = yes] (tests): Depend on
8458 $(objpfx)tst-initorder-cmp.out.
8459 ($(objpfx)tst-initorder-cmp.out): New rule.
8460 ($(objpfx)tst-initorder2.out): Remove rule.
8461 [$(run-built-tests) = yes] (tests): Depend on
8462 $(objpfx)tst-initorder2-cmp.out.
8463 ($(objpfx)tst-initorder2-cmp.out): New rule.
8464 [$(run-built-tests) = yes] (tests): Depend on
8465 $(objpfx)tst-unused-dep-cmp.out.
8466 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8467 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8468 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8469 on $(objpfx)tst-setvbuf1-cmp.out.
8470 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8471 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8472 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8473 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8474 ($(objpfx)tst-svc.out): Remove rule.
8475 ($(objpfx)tst-svc-cmp.out): New rule.
8476
ed9a38e2
JM
84772014-02-13 Joseph Myers <joseph@codesourcery.com>
8478
8479 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8480 * ctype/ctype.h [__USE_MISC]: Likewise.
8481 * dirent/dirent.h [__USE_MISC]: Likewise.
8482 * grp/grp.h [__USE_MISC]: Likewise.
8483 * io/fcntl.h [__USE_MISC]: Likewise.
8484 * io/sys/stat.h [__USE_MISC]: Likewise.
8485 * libio/stdio.h [__USE_MISC]: Likewise.
8486 * posix/unistd.h [__USE_MISC]: Likewise.
8487 * pwd/pwd.h [__USE_MISC]: Likewise.
8488 * stdlib.h [__USE_MISC]: Likewise.
8489 * string/bits/string2.h [__USE_MISC]: Likewise.
8490 * string/string.h [__USE_MISC]: Likewise.
8491 * time/time.h [__USE_MISC]: Likewise.
8492
d6680619
AS
84932014-02-13 Andreas Schwab <schwab@suse.de>
8494
8495 [BZ #16574]
8496 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8497 second answer buffer if it was separately allocated.
8498
ace614b8
JM
84992014-02-12 Joseph Myers <joseph@codesourcery.com>
8500
743151ae
JM
8501 * sysdeps/mips/math-tests.h: Include <features.h>.
8502 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8503 (ROUNDING_TESTS_long_double): Do not define.
8504 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8505 (EXCEPTION_TESTS_long_double): Likewise.
8506 * sysdeps/mips/mips64/libm-test-ulps: Update.
8507
498afc54
JM
8508 * include/features.h (__USE_BSD): Remove macro definitions.
8509 (__USE_SVID): Likewise.
8510 (_BSD_SOURCE): Likewise.
8511 (_SVID_SOURCE): Likewise.
8512 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8513 from definition of _DEFAULT_SOURCE.
8514 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8515 [_DEFAULT_SOURCE].
8516 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8517 * bits/mman.h [__USE_BSD]: Likewise.
8518 * bits/termios.h [__USE_BSD]: Likewise.
8519 * bits/waitstatus.h [__USE_BSD]: Likewise.
8520 * ctype/ctype.h [__USE_SVID]: Likewise.
8521 * dirent/dirent.h [__USE_BSD]: Likewise.
8522 * grp/grp.h [__USE_SVID]: Likewise.
8523 [__USE_BSD]: Likewise.
8524 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8525 * io/fcntl.h [__USE_BSD]: Likewise.
8526 * io/ftw.h [__USE_BSD]: Likewise.
8527 * io/sys/stat.h [__USE_BSD]: Likewise.
8528 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8529 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8530 * libio/stdio.h [__USE_SVID]: Likewise.
8531 [__USE_BSD]: Likewise.
8532 * math/math.h [__USE_SVID]: Likewise.
8533 [__USE_BSD]: Likewise.
8534 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8535 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8536 * misc/search.h [__USE_SVID]: Likewise.
8537 * misc/sys/mman.h [__USE_BSD]: Likewise.
8538 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8539 * misc/sys/uio.h [__USE_BSD]: Likewise.
8540 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8541 * posix/glob.h [__USE_BSD]: Likewise.
8542 * posix/regex.h [__USE_BSD]: Likewise.
8543 * posix/sys/types.h [__USE_BSD]: Likewise.
8544 [__USE_SVID]: Likewise.
8545 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8546 * posix/sys/wait.h [__USE_BSD]: Likewise.
8547 [__USE_SVID]: Likewise.
8548 * posix/unistd.h [__USE_BSD]: Likewise.
8549 [__USE_SVID]: Likewise.
8550 * pwd/pwd.h [__USE_SVID]: Likewise.
8551 * resolv/netdb.h [__USE_BSD]: Likewise.
8552 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8553 * signal/signal.h [__USE_BSD]: Likewise.
8554 [__USE_SVID]: Likewise.
8555 * socket/sys/socket.h [__USE_BSD]: Likewise.
8556 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8557 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8558 [__USE_SVID]: Likewise.
8559 * string/bits/string2.h [__USE_BSD]: Likewise.
8560 [__USE_SVID]: Likewise.
8561 * string/bits/string3.h [__USE_BSD]: Likewise.
8562 * string/endian.h [__USE_BSD]: Likewise.
8563 * string/string.h [__USE_SVID]: Likewise.
8564 [__USE_BSD]: Likewise.
8565 * string/strings.h [__USE_BSD]: Likewise.
8566 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8567 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8568 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8569 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8570 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8571 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8572 Likewise.
8573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8574 Likewise.
8575 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8576 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8577 Likewise.
8578 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8579 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8580 Likewise.
8581 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8582 Likewise.
8583 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8584 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8585 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8586 Likewise.
8587 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8588 Likewise.
8589 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8590 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8591 * termios/termios.h [__USE_BSD]: Likewise.
8592 * time/sys/time.h [__USE_BSD]: Likewise.
8593 * time/time.h [__USE_BSD]: Likewise.
8594 [__USE_SVID]: Likewise.
8595
dd7b064c
JM
8596 * Makefile (subdir_targets): Remove subdir_lint.out.
8597
a2c4c199
JM
8598 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8599 (do-tst-printf): Likewise.
8600 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8601 $(objpfx)tst-printf.out.
8602
8756f740
JM
8603 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8604
1b6dd3f1
JM
8605 * Makerules (check-abi-%): Change target to
8606 $(objpfx)check-abi-%.out.
8607 (check-abi target): Update dependencies.
8608 (check-abi-pattern variable): Redirect output of diff to $@.
8609 (check-abi variable): Likewise.
8610 * elf/Makefile (check-abi): Update dependencies.
8611
ace614b8
JM
8612 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8613 unused.
8614 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8615 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8616 subnormal range.
8617 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8618 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8619 value has largest subnormal exponent.
8620 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8621 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8622 * sysdeps/aarch64/soft-fp/sfp-machine.h
8623 (_FP_TININESS_AFTER_ROUNDING): New macro.
8624 * sysdeps/alpha/soft-fp/sfp-machine.h
8625 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8626 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8627 Likewise.
8628 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8629 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8630 * sysdeps/mips/soft-fp/sfp-machine.h
8631 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8632 * sysdeps/powerpc/soft-fp/sfp-machine.h
8633 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8634 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8635 Likewise.
8636 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8637 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8638 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8639 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8640 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8641 Likewise.
8642
fbfdf9cb
DAS
86432014-02-12 Dylan Alex Simon <dylan@dylex.net>
8644
8645 [BZ #16545]
8646 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8647 model 1.
8648
68b7efaa
RH
86492014-02-12 Richard Henderson <rth@redhat.com>
8650
c70a4b1d 8651 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
8652 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8653 * sysdeps/unix/sysv/linux/alpha: Move directory from
8654 ports/sysdeps/unix/sysv/linux/alpha.
8655 * README: Update listing for alpha-*-linux-gnu.
8656
cb4a2928
JM
86572014-02-11 Joseph Myers <joseph@codesourcery.com>
8658
c941736c
JM
8659 * include/features.h: Update comment documenting feature test
8660 macros.
8661 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8662 _DEFAULT_SOURCE.
8663 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8664 (_SVID_SOURCE): Likewise.
8665 (_DEFAULT_SOURCE): Update description of default features.
8666 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8667 with _GNU_SOURCE.
8668 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8669 (S_ISVTX): Likewise.
8670 * manual/math.texi (Mathematical Constants): Likewise.
8671 * manual/signal.texi (Interrupted Primitives): Likewise.
8672 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8673 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8674 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8675 Don't refer to _SVID_SOURCE in warning text.
8676
e8d8d7ec
JM
8677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8678
cb4a2928
JM
8679 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8680 already defined.
8681 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8682 * sysdeps/mips/dl-lookup.c: Remove.
8683 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8684
7e6424e3
AK
86852014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8686
8687 [BZ #16447]
8688 * math/auto-libm-test-in: Add testcase for expl.
8689 * math/auto-libm-test-out: Regenerate.
8690 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8691 calculation of unsafe.
8692 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8693
75eff3fe
MS
86942014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8695
8696 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8697 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8698 ports/sysdeps/unix/sysv/linux/aarch64.
8699 * README: Update listing for aarch64*-*-linux-gnu.
8700
d35f1e80
WN
87012014-02-11 Will Newton <will.newton@linaro.org>
8702
8703 * manual/probes.texi (Mathematical Function Probes): Use
8704 "triggered" instead of "hit".
8705
7b3436d4
WN
8706 * manual/probes.texi (Internal Probes): Add documentation
8707 of setjmp, longjmp and longjmp_target probes.
8708
b4f12ca3
WN
8709 * include/stap-probe.h: Add comment about probe argument
8710 format.
8711
c13a72b7
WN
8712 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8713 definition. (tr_where, tr_freehook, tr_mallochook,
8714 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8715
195b8165
DM
87162014-02-11 David S. Miller <davem@davemloft.net>
8717
8718 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8719 processing int_tests.
8720
2ad7600b
JM
87212014-02-10 Joseph Myers <joseph@codesourcery.com>
8722
8723 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8724 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8725 * sysdeps/unix/sysv/linux/mips: Move directory from
8726 ports/sysdeps/unix/sysv/linux/mips.
8727 * README: Update listing for mips-*-linux-gnu and
8728 mips64-*-linux-gnu.
8729
73588a72
AS
87302014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8731
8732 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8733 * sysdeps/unix/sysv/linux/m68k: Move directory from
8734 ports/sysdeps/unix/sysv/linux/m68k.
8735 * README: Update listing for m68k-*-linux-gnu.
8736
4372980f
CM
87372014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8738
8739 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8740 * sysdeps/unix/sysv/linux/generic: Move directory from
8741 ports/sysdeps/unix/sysv/linux/generic.
8742 * sysdeps/unix/sysv/linux/tile: Move directory from
8743 ports/sysdeps/unix/sysv/linux/tile.
8744 * README: Update listing for tile*-*-linux-gnu.
8745
a1ffb40e
OB
87462014-02-10 Ondřej Bílka <neleai@seznam.cz>
8747
57f41c40
AS
8748 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8749 __builtin_expect.
a1ffb40e
OB
8750 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8751 * catgets/open_catalog.c (__open_catalog): Likewise.
8752 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8753 * debug/confstr_chk.c: Likewise.
8754 * debug/fread_chk.c (__fread_chk): Likewise.
8755 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8756 * debug/getgroups_chk.c: Likewise.
8757 * debug/mbsnrtowcs_chk.c: Likewise.
8758 * debug/mbsrtowcs_chk.c: Likewise.
8759 * debug/mbstowcs_chk.c: Likewise.
8760 * debug/memcpy_chk.c: Likewise.
8761 * debug/memmove_chk.c: Likewise.
8762 * debug/mempcpy_chk.c: Likewise.
8763 * debug/memset_chk.c: Likewise.
8764 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8765 * debug/strcat_chk.c (__strcat_chk): Likewise.
8766 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8767 * debug/strncat_chk.c (__strncat_chk): Likewise.
8768 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8769 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8770 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8771 * debug/wcpncpy_chk.c: Likewise.
8772 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8773 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8774 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8775 * debug/wcsncpy_chk.c: Likewise.
8776 * debug/wcsnrtombs_chk.c: Likewise.
8777 * debug/wcsrtombs_chk.c: Likewise.
8778 * debug/wcstombs_chk.c: Likewise.
8779 * debug/wmemcpy_chk.c: Likewise.
8780 * debug/wmemmove_chk.c: Likewise.
8781 * debug/wmempcpy_chk.c: Likewise.
8782 * debug/wmemset_chk.c: Likewise.
8783 * dirent/scandirat.c (SCANDIRAT): Likewise.
8784 * dlfcn/dladdr1.c (dladdr1): Likewise.
8785 * dlfcn/dladdr.c (dladdr): Likewise.
8786 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8787 * dlfcn/dlerror.c (__dlerror): Likewise.
8788 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8789 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8790 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8791 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8792 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8793 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8794 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8795 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8796 Likewise.
8797 * elf/dl-conflict.c: Likewise.
8798 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8799 * elf/dl-dst.h: Likewise.
8800 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8801 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8802 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8803 * elf/dl-init.c (call_init, _dl_init): Likewise.
8804 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
8805 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8806 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8807 Likewise.
a1ffb40e
OB
8808 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8809 Likewise.
8810 * elf/dl-minimal.c (__libc_memalign): Likewise.
8811 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8812 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8813 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8814 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
8815 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8816 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
8817 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8818 * elf/dl-writev.h (_dl_writev): Likewise.
8819 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
8820 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8821 (dl_main): Likewise.
a1ffb40e
OB
8822 * elf/setup-vdso.h (setup_vdso): Likewise.
8823 * grp/compat-initgroups.c (compat_call): Likewise.
8824 * grp/fgetgrent.c (fgetgrent): Likewise.
8825 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8826 * grp/putgrent.c (putgrent): Likewise.
8827 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8828 Likewise.
8829 * hurd/hurdinit.c: Likewise.
8830 * iconvdata/8bit-gap.c (struct): Likewise.
8831 * iconvdata/ansi_x3.110.c : Likewise.
8832 * iconvdata/big5.c : Likewise.
8833 * iconvdata/big5hkscs.c : Likewise.
8834 * iconvdata/cp1255.c: Likewise.
8835 * iconvdata/cp1258.c : Likewise.
8836 * iconvdata/cp932.c : Likewise.
8837 * iconvdata/euc-cn.c: Likewise.
8838 * iconvdata/euc-jisx0213.c : Likewise.
8839 * iconvdata/euc-jp.c: Likewise.
8840 * iconvdata/euc-jp-ms.c : Likewise.
8841 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8842 * iconvdata/gb18030.c : Likewise.
8843 * iconvdata/gbbig5.c (const): Likewise.
8844 * iconvdata/gbgbk.c: Likewise.
8845 * iconvdata/gbk.c : Likewise.
8846 * iconvdata/ibm1364.c : Likewise.
8847 * iconvdata/ibm930.c : Likewise.
8848 * iconvdata/ibm932.c: Likewise.
8849 * iconvdata/ibm933.c : Likewise.
8850 * iconvdata/ibm935.c : Likewise.
8851 * iconvdata/ibm937.c : Likewise.
8852 * iconvdata/ibm939.c : Likewise.
8853 * iconvdata/ibm943.c: Likewise.
8854 * iconvdata/iso_11548-1.c: Likewise.
8855 * iconvdata/iso-2022-cn.c : Likewise.
8856 * iconvdata/iso-2022-cn-ext.c : Likewise.
8857 * iconvdata/iso-2022-jp-3.c: Likewise.
8858 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8859 * iconvdata/iso-2022-kr.c : Likewise.
8860 * iconvdata/iso646.c (gconv_end): Likewise.
8861 * iconvdata/iso_6937-2.c : Likewise.
8862 * iconvdata/iso_6937.c : Likewise.
8863 * iconvdata/iso8859-1.c: Likewise.
8864 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8865 * iconvdata/shift_jisx0213.c : Likewise.
8866 * iconvdata/sjis.c : Likewise.
8867 * iconvdata/t.61.c : Likewise.
8868 * iconvdata/tcvn5712-1.c : Likewise.
8869 * iconvdata/tscii.c: Likewise.
8870 * iconvdata/uhc.c : Likewise.
8871 * iconvdata/unicode.c (gconv_end): Likewise.
8872 * iconvdata/utf-16.c (gconv_end): Likewise.
8873 * iconvdata/utf-32.c (gconv_end): Likewise.
8874 * iconvdata/utf-7.c (base64): Likewise.
8875 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8876 * iconv/gconv_close.c (__gconv_close): Likewise.
8877 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
8878 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8879 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8880 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8881 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8882 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
8883 * iconv/iconv.c (iconv): Likewise.
8884 * iconv/iconv_close.c: Likewise.
8885 * iconv/loop.c (SINGLE): Likewise.
8886 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8887 * include/atomic.h: Likewise.
8888 * inet/inet6_option.c (option_alloc): Likewise.
8889 * intl/bindtextdom.c (set_binding_values): Likewise.
8890 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8891 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8892 * intl/localealias.c (read_alias_file): Likewise.
8893 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
8894 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8895 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
8896 * libio/fmemopen.c (fmemopen): Likewise.
8897 * libio/iofgets.c (_IO_fgets): Likewise.
8898 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8899 * libio/iofgetws.c (fgetws): Likewise.
8900 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8901 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
8902 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8903 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
8904 * locale/findlocale.c (_nl_find_locale): Likewise.
8905 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8906 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8907 Likewise.
8908 * locale/setlocale.c (setlocale): Likewise.
8909 * login/programs/pt_chown.c (main): Likewise.
8910 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8911 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
8912 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8913 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
8914 * math/e_exp2l.c: Likewise.
8915 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8916 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8917 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8918 * math/s_catan.c (__catan): Likewise.
8919 * math/s_catanf.c (__catanf): Likewise.
8920 * math/s_catanh.c (__catanh): Likewise.
8921 * math/s_catanhf.c (__catanhf): Likewise.
8922 * math/s_catanhl.c (__catanhl): Likewise.
8923 * math/s_catanl.c (__catanl): Likewise.
8924 * math/s_ccosh.c (__ccosh): Likewise.
8925 * math/s_ccoshf.c (__ccoshf): Likewise.
8926 * math/s_ccoshl.c (__ccoshl): Likewise.
8927 * math/s_cexp.c (__cexp): Likewise.
8928 * math/s_cexpf.c (__cexpf): Likewise.
8929 * math/s_cexpl.c (__cexpl): Likewise.
8930 * math/s_clog10.c (__clog10): Likewise.
8931 * math/s_clog10f.c (__clog10f): Likewise.
8932 * math/s_clog10l.c (__clog10l): Likewise.
8933 * math/s_clog.c (__clog): Likewise.
8934 * math/s_clogf.c (__clogf): Likewise.
8935 * math/s_clogl.c (__clogl): Likewise.
8936 * math/s_csin.c (__csin): Likewise.
8937 * math/s_csinf.c (__csinf): Likewise.
8938 * math/s_csinh.c (__csinh): Likewise.
8939 * math/s_csinhf.c (__csinhf): Likewise.
8940 * math/s_csinhl.c (__csinhl): Likewise.
8941 * math/s_csinl.c (__csinl): Likewise.
8942 * math/s_csqrt.c (__csqrt): Likewise.
8943 * math/s_csqrtf.c (__csqrtf): Likewise.
8944 * math/s_csqrtl.c (__csqrtl): Likewise.
8945 * math/s_ctan.c (__ctan): Likewise.
8946 * math/s_ctanf.c (__ctanf): Likewise.
8947 * math/s_ctanh.c (__ctanh): Likewise.
8948 * math/s_ctanhf.c (__ctanhf): Likewise.
8949 * math/s_ctanhl.c (__ctanhl): Likewise.
8950 * math/s_ctanl.c (__ctanl): Likewise.
8951 * math/w_pow.c: Likewise.
8952 * math/w_powf.c: Likewise.
8953 * math/w_powl.c: Likewise.
8954 * math/w_scalb.c (sysv_scalb): Likewise.
8955 * math/w_scalbf.c (sysv_scalbf): Likewise.
8956 * math/w_scalbl.c (sysv_scalbl): Likewise.
8957 * misc/error.c (error_tail): Likewise.
8958 * misc/pselect.c (__pselect): Likewise.
8959 * nis/nis_callback.c (__nis_create_callback): Likewise.
8960 * nis/nis_call.c (__nisfind_server): Likewise.
8961 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8962 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8963 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8964 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8965 * nis/nis_lookup.c (nis_lookup): Likewise.
8966 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
8967 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8968 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 8969 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
8970 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8971 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8972 * nis/nss_compat/compat-initgroups.c (add_group)
8973 (internal_getgrent_r): Likewise.
8974 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8975 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8976 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8977 (internal_getspnam_r): Likewise.
8978 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8979 (_nss_nis_getaliasbyname_r): Likewise.
8980 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8981 (_nss_nis_getntohost_r): Likewise.
8982 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8983 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8984 (_nss_nis_getgrgid_r): Likewise.
8985 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8986 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8987 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8988 (_nss_nis_gethostbyname4_r): Likewise.
8989 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8990 (initgroups_netid): Likewise.
a1ffb40e 8991 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
8992 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8993 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8994 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8995 (_nss_nis_getprotobynumber_r): Likewise.
8996 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8997 (_nss_nis_getsecretkey): Likewise.
8998 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8999 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9000 (_nss_nis_getpwuid_r): Likewise.
9001 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9002 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9003 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9004 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9005 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9006 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9007 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9008 Likewise.
57f41c40
AS
9009 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9010 (_nss_nisplus_getntohost_r): Likewise.
9011 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9012 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9013 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9014 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9015 Likewise.
57f41c40
AS
9016 * nis/nss_nisplus/nisplus-initgroups.c
9017 (_nss_nisplus_initgroups_dyn): Likewise.
9018 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9019 (_nss_nisplus_getnetbyaddr_r): Likewise.
9020 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9021 (_nss_nisplus_getprotobynumber_r): Likewise.
9022 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9023 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9024 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9025 Likewise.
57f41c40
AS
9026 * nis/nss_nisplus/nisplus-service.c
9027 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9028 (_nss_nisplus_getservbyport_r): Likewise.
9029 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9030 (_nss_nisplus_getspnam_r): Likewise.
9031 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9032 Likewise.
a1ffb40e
OB
9033 * nscd/aicache.c (addhstaiX): Likewise.
9034 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9035 * nscd/connections.c (register_traced_file, send_ro_fd)
9036 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9037 (main_loop_epoll): Likewise.
a1ffb40e
OB
9038 * nscd/grpcache.c (addgrbyX): Likewise.
9039 * nscd/hstcache.c (addhstbyX): Likewise.
9040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9041 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9042 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9043 (addinnetgrX): Likewise.
9044 * nscd/nscd-client.h (__nscd_acquire_maplock)
9045 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9046 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9047 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9048 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9049 Likewise.
9050 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9052 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9053 (__nscd_get_map_ref): Likewise.
a1ffb40e 9054 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9055 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9056 Likewise.
a1ffb40e
OB
9057 * nscd/pwdcache.c (addpwbyX): Likewise.
9058 * nscd/selinux.c (preserve_capabilities): Likewise.
9059 * nscd/servicescache.c (addservbyX): Likewise.
9060 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9061 * posix/fnmatch.c (fnmatch): Likewise.
9062 * posix/getopt.c (_getopt_internal_r): Likewise.
9063 * posix/glob.c (glob, glob_in_dir): Likewise.
9064 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9065 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9066 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9067 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9068 * resolv/res_init.c: Likewise.
9069 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9070 * resolv/res_query.c (__libc_res_nquery): Likewise.
9071 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9072 Likewise.
9073 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9074 * stdio-common/perror.c (perror): Likewise.
9075 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9076 * stdio-common/tmpnam.c (tmpnam): Likewise.
9077 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9078 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9079 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9080 Likewise.
a1ffb40e
OB
9081 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9082 * stdlib/putenv.c (putenv): Likewise.
9083 * stdlib/setenv.c (__add_to_environ): Likewise.
9084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9085 * stdlib/strtol_l.c (INTERNAL): Likewise.
9086 * string/memmem.c (memmem): Likewise.
9087 * string/strerror.c (strerror): Likewise.
9088 * string/strnlen.c (__strnlen): Likewise.
9089 * string/test-memmem.c (simple_memmem): Likewise.
9090 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9091 * sunrpc/pm_getport.c (__get_socket): Likewise.
9092 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9093 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9094 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9095 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9096 Likewise.
9097 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9098 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9099 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9100 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9101 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9102 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9103 Likewise.
9104 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9105 Likewise.
a1ffb40e
OB
9106 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9107 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9108 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9109 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9110 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9112 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9113 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9114 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9115 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9116 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9117 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9118 Likewise.
9119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9120 Likewise.
9121 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9122 Likewise.
9123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9126 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9127 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9128 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9129 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9138 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9139 Likewise.
a1ffb40e
OB
9140 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9141 Likewise.
9142 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9143 Likewise.
9144 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9145 Likewise.
9146 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9148 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9149 Likewise.
9150 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9151 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9152 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9153 * sysdeps/posix/sleep.c: Likewise.
9154 * sysdeps/posix/tempname.c: Likewise.
9155 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9156 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9157 Likewise.
57f41c40
AS
9158 * sysdeps/powerpc/powerpc32/dl-machine.h
9159 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9160 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9162 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9163 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9164 Likewise.
9165 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9167 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9168 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9169 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9170 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9171 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9172 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9173 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9174 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9176 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9177 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9179 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9180 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9181 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9182 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9183 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9184 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9185 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9186 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9188 Likewise.
9189 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9190 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9191 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9192 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9193 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9194 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9195 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9196 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9197 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9198 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9199 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9200 Likewise.
9201 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9202 (__posix_fallocate64_l64): Likewise.
9203 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9204 (posix_fallocate): Likewise.
57f41c40
AS
9205 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9206 Likewise.
a1ffb40e 9207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9208 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9209 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9210 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9211 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9212 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9213 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9214 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9215 (__posix_fallocate64_l64): Likewise.
9216 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9217 Likewise.
9218 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9219 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9220 (__get_clockfreq): Likewise.
a1ffb40e
OB
9221 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9222 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9223 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9225 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9226 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9227 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9228 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9229 Likewise.
9230 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9231 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9232 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9233 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9234 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9235 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9236 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9237 Likewise.
9238 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9239 (posix_fallocate): Likewise.
9240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9241 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9242 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9243 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9244 (elf_machine_rela, elf_machine_rela_relative)
9245 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9246 * time/asctime.c (asctime_internal): Likewise.
9247 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9248 * time/tzset.c (__tzset_parse_tz): Likewise.
9249 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9250 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9251 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9252 * wcsmbs/wcsmbsload.h: Likewise.
9253
f3d338c9
OB
9254 [BZ #15894]
9255 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9256
57f41c40
AS
9257 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9258 (arena_get2): Remove THREAD_STATS conditionals.
9259 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9260 (__malloc_stats, int): Likewise.
bdfe308a 9261
d674667c
MF
92622014-02-08 Mike Frysinger <vapier@gentoo.org>
9263
9264 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9265 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9266
6349768c
MF
9267 * manual/setjmp.texi: Fix typos/grammar errors.
9268
0b7c7473
MF
9269 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9270 Only return early when n is <= 0. Delete unused return statement.
9271
ac8cc9e3
MF
9272 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9273 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9274 * debug/tst-longjmp_chk3.c: New file.
9275
c5bb8e23
MF
9276 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9277 (test_main): Replace code with set_fortify_handler call.
9278 * debug/test-strcpy_chk.c: Likewise.
9279 * debug/tst-chk1.c: Likewise.
9280 * debug/tst-longjmp_chk.c: Likewise.
9281 * test-skeleton.c: Include fcntl.h & paths.h
9282 (set_fortify_handler): Define.
9283
10444e42
MF
9284 * debug/tst-longjmp_chk.c: Add header comment and include
9285 ../test-skeleton.c.
9286 (do_test): Mark static.
9287 (TEST_FUNCTION): Define.
9288
1e805e8d
MF
9289 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9290 (IP_PMTUDISC_INTERFACE): Likewise.
9291 (IP_MULTICAST_IF): Likewise.
9292 (IP_MULTICAST_TTL): Likewise.
9293 (IP_MULTICAST_LOOP): Likewise.
9294 (IP_ADD_MEMBERSHIP): Likewise.
9295 (IP_DROP_MEMBERSHIP): Likewise.
9296 (IP_UNBLOCK_SOURCE): Likewise.
9297 (IP_BLOCK_SOURCE): Likewise.
9298 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9299 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9300 (IP_MSFILTER): Likewise.
9301 (MCAST_JOIN_GROUP): Likewise.
9302 (MCAST_BLOCK_SOURCE): Likewise.
9303 (MCAST_UNBLOCK_SOURCE): Likewise.
9304 (MCAST_LEAVE_GROUP): Likewise.
9305 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9306 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9307 (MCAST_MSFILTER): Likewise.
9308 (IP_MULTICAST_ALL): Likewise.
9309 (IP_UNICAST_IF): Likewise.
9310
73f79bb7
MF
9311 * timezone/Makefile: Delete $(have-ksh) check.
9312 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9313 * timezone/tzselect.ksh: Add +x mode bits.
9314
8da79b60
MF
9315 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9316 (ANON_INODE_FS_MAGIC): Likewise.
9317 (BDEVFS_MAGIC): Likewise.
9318 (BINFMTFS_MAGIC): Likewise.
9319 (BTRFS_TEST_MAGIC): Likewise.
9320 (CRAMFS_MAGIC_WEND): Likewise.
9321 (DEBUGFS_MAGIC): Likewise.
9322 (ECRYPTFS_SUPER_MAGIC): Likewise.
9323 (EXT3_SUPER_MAGIC): Likewise.
9324 (EXT4_SUPER_MAGIC): Likewise.
9325 (FUTEXFS_SUPER_MAGIC): Likewise.
9326 (HOSTFS_SUPER_MAGIC): Likewise.
9327 (HUGETLBFS_MAGIC): Likewise.
9328 (MINIX3_SUPER_MAGIC): Likewise.
9329 (MTD_INODE_FS_MAGIC): Likewise.
9330 (NILFS_SUPER_MAGIC): Likewise.
9331 (OPENPROM_SUPER_MAGIC): Likewise.
9332 (PIPEFS_MAGIC): Likewise.
9333 (PSTOREFS_MAGIC): Likewise.
9334 (QNX6_SUPER_MAGIC): Likewise.
9335 (RAMFS_MAGIC): Likewise.
9336 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9337 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9338 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9339 (SECURITYFS_MAGIC): Likewise.
9340 (SELINUX_MAGIC): Likewise.
9341 (SMACK_MAGIC): Likewise.
9342 (SOCKFS_MAGIC): Likewise.
9343 (SQUASHFS_MAGIC): Likewise.
9344 (STACK_END_MAGIC): Likewise.
9345 (TMPFS_MAGIC): Likewise.
9346 (USBDEVICE_SUPER_MAGIC): Likewise.
9347 (V9FS_MAGIC): Likewise.
9348 (XENFS_SUPER_MAGIC): Likewise.
9349 (CRAMFS_MAGIC): Fix typo in comment.
9350 (EXT2_SUPER_MAGIC): Update comment.
9351 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9352
464263cc
JM
93532014-02-08 Joseph Myers <joseph@codesourcery.com>
9354
c6bfe5c4
JM
9355 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9356 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9357 * sysdeps/unix/sysv/linux/arm: Move directory from
9358 ports/sysdeps/unix/sysv/linux/arm.
9359 * README: Update listing for arm-*-linux-gnueabi.
9360
464263cc
JM
9361 * README: Remove mention of am33.
9362
32749f6c
RM
93632014-02-07 Roland McGrath <roland@hack.frob.com>
9364
9365 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9366 than the comma operator, to avoid "rhs of comma has no effect"
9367 compiler warnings.
9368 (__sigfillset, __sigandset, __sigorset): Likewise.
9369 * include/signal.h (__sigemptyset): Likewise.
9370 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9371
d5b396c1
AM
93722014-02-07 Allan McRae <allan@archlinux.org>
9373
9374 * version.h (RELEASE): Set to "development".
9375 (VERSION): Set to "2.19.90"
9376 * NEWS: Add 2.20 section.
9377
3bfff2ed
CD
93782014-02-06 Carlos O'Donell <carlos@redhat.com>
9379
9380 [BZ #16529]
9381 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9382
ee7cc385
SP
93832014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
9385 * manual/contrib.texi: Update entry for Carlos O'Donell,
9386 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9387
f877c4f2
CD
93882014-02-05 Carlos O'Donell <carlos@rehdat.com>
9389
27e839f6
CD
9390 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9391
f877c4f2
CD
9392 * sysdeps/unix/sysv/linux/kernel-features.h
9393 [__LINUX_KERNEL_VERSION >= 0x020621]
9394 (__ASSUME_PROC_PID_TASK_COMM): Define.
9395
68159946
SP
93962014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
ba17cdbd
SP
9398 [BZ #16398]
9399 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9400 conversion when destination buffer does not have enough space.
9401 * libio/tst-ftell-partial-wide.c: New test case.
9402 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9403
68159946
SP
9404 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9405 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9406 Leonard and Allan McRae.
9407
2b528732
DM
94082014-02-04 David S. Miller <davem@davemloft.net>
9409
9410 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9411 32-bit.
9412
0ff82463
AZ
94132014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9414
57f41c40
AS
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9416 New file
c01603f7
AZ
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9418 New file
57f41c40
AS
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9420 New file.
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9422 New file.
c01603f7
AZ
9423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9424 New file.
57f41c40
AS
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9426 New file.
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9428 New file.
c01603f7
AZ
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9430 New file.
9431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9432 New file.
9433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9434 New file.
9435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9436 New file.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9438 New file.
9439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9440 New file.
9441
94422014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9443
0ff82463
AZ
9444 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9445 * shlib-versions: Likewise.
9446
1695c773
AZ
94472014-02-04 Roland McGrath <roland@hack.frob.com>
9448 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9449
9450 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9451 (abilist-pattern): New variable, set to %-le.abilist.
9452
9453 * Makerules (abilist-pattern): New variable.
9454 (vpath): Use $(abilist-pattern) in place of %.abilist.
9455 (check-abi-% pattern rule): Likewise.
9456 (check-abi, update-abi): Likewise.
9457
6c0ce4b4
EW
94582014-02-04 Eric Wong <normalperson@yhbt.net>
9459
9460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9461
481e3524
CD
94622014-02-03 Carlos O'Donell <carlos@redhat.com>
9463
9464 * manual/startup.texi: Add next, previous, and top entries for
9465 the `Program Arguments' and `Environment Variables' nodes.
9466
375592d3
AO
94672014-02-03 Alexandre Oliva <aoliva@redhat.com>
9468
9469 * manual/macros.texi: Add comments before MTASC-safety macros.
9470
f54838ba
AO
9471 * manual/users.texi: Document MTASC-safety properties.
9472
57f41c40
AS
9473 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9474 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9475 @deftypefun, and add @safety note.
9476 * manual/signal.texi: Move comments that analyze the above
9477 functions to their home place.
9478
fd3daba4
AM
94792014-02-03 Allan McRae <allan@archlinux.org>
9480
9481 * po/sl.po: Update Slovenian translation from translation project.
9482
597636d7
AO
94832014-02-02 Alexandre Oliva <aoliva@redhat.com>
9484
9485 * manual/time.texi (timegm): Add missing blank after @c.
9486 Reported by Joseph Myers <joseph@codesourcery.com>.
9487
ee196e3c
AO
94882014-02-01 Alexandre Oliva <aoliva@redhat.com>
9489
9490 * manual/check-safety.sh: New.
9491 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9492
f8d529d5
AO
9493 * manual/terminal.texi: Document MTASC-safety properties.
9494
de55fdf4
AO
9495 * manual/filesys.texi: Document MTASC-safety properties.
9496
c3299c08
AO
9497 * manual/errno.texi: Document MTASC-safety properties.
9498
06e90b14
AO
9499 * manual/intro.texi: Document safety identifiers and
9500 conditionals.
9501
1acd4371
AO
9502 * manual/string.texi (wcstok): Fix prototype.
9503 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9504
23e5b8cb
AO
9505 * manual/time.texi: Document MTASC-safety properties.
9506
11087373
AO
9507 * manual/string.texi: Document MTASC-safety properties.
9508
5da2c93d
AO
9509 * manual/threads.texi: Document MTASC-safety properties.
9510
171e9210
AO
9511 * manual/stdio.texi: Document MTASC-safety properties.
9512
d9e02532
AO
9513 * manual/syslog.texi: Document MTASC-safety properties.
9514
6af8bab7
AO
9515 * manual/sysinfo.texi: Document MTASC-safety properties.
9516
663b02d7
AO
9517 * manual/startup.texi: Document MTASC-safety properties.
9518
973f180b
AO
9519 * manual/socket.texi: Document MTASC-safety properties.
9520
8f3c25c8
AO
9521 * manual/signal.texi: Document MTASC-safety properties.
9522
542210fb
AO
95232014-01-31 Alexandre Oliva <aoliva@redhat.com>
9524
9525 * manual/setjmp.texi: Document MTASC-safety properties.
9526
433c45a2
AO
9527 * manual/search.texi: Document MTASC-safety properties.
9528
c8ce789c
AO
9529 * manual/resource.texi: Document MTASC-safety properties.
9530
19f5d29c
AO
9531 * manual/process.texi: Document MTASC-safety properties.
9532
e2dfb7f4
AO
9533 * manual/platform.texi: Document MTASC-safety properties.
9534
8c1413f5
AO
9535 * manual/pipe.texi: Document MTASC-safety properties.
9536
03483ada
AO
9537 * manual/pattern.texi: Document MTASC-safety properties.
9538
29e7e2df
AO
9539 * manual/message.texi: Document MTASC-safety properties.
9540
9f529d7c
AO
9541 [BZ #12751]
9542 * manual/memory.texi: Document MTASC-safety properties.
9543
27aaa791
AO
9544 * manual/math.texi: Document MTASC-safety properties.
9545
f2d58726
AO
9546 * manual/locale.texi: Document MTASC-safety properties.
9547
2cc3615c
AO
9548 * manual/llio.texi: Document MTASC-safety properties.
9549
d9f0ec97
AO
9550 * manual/libdl.texi: New.
9551
e7c4409a
AO
9552 * manual/lang.texi: Document MTASC-safety properties.
9553
27bdc63c
AO
9554 * manual/job.texi: Document MTASC-safety properties.
9555
a7b90ea9
AO
9556 * manual/getopt.texi: Document MTASC-safety properties.
9557
c49130e3
AO
9558 * manual/ctype.texi: Document MTASC-safety properties.
9559
0d23a5c1
MR
95602014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9561
9562 [BZ #16046]
9563 * csu/libc-tls.c (static_map): Remove variable.
9564 (__libc_setup_tls): Use main executable's link map for TLS data.
9565 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9566 casing for LM_ID_BASE and GL(dl_nns).
9567 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9568 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9569 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9570 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9571 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9572 member.
9573 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9574 l_phnum members.
9575
0037bb60
AO
95762014-01-30 Alexandre Oliva <aoliva@redhat.com>
9577
9578 * manual/debug.texi: Document MTASC-safety properties.
9579
409e00bd
L
95802014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9581
9582 [BZ #16510]
9583 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9584 of __x86_64__ when disabling x87 inline functions.
9585
86e60666
AO
95862014-01-29 Alexandre Oliva <aoliva@redhat.com>
9587
9588 * manual/charset.texi: Document MTASC-safety properties.
9589
76167637
AO
9590 * manual/crypt.texi: Document MTASC-safety properties.
9591
e567f2a0
AO
9592 * manual/conf.texi: Document MTASC-safety properties.
9593
b719dafd
AO
9594 * manual/arith.texi: Document MTASC-safety properties.
9595
4a16c662
AO
9596 * manual/argp.texi: Document MTASC-safety properties.
9597
0a57b83e
AO
9598 * manual/macros.texi: Introduce macros to document multi
9599 thread, asynchronous signal and asynchronous cancellation
9600 safety properties.
9601 * manual/intro.texi: Introduce the properties themselves.
9602
feab2397
KK
96032014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9604
9605 * sysdeps/sh/sh4/Makefile: New file.
9606
1c0d11bc
AS
96072014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9608
9609 * math/gen-libm-test.pl ($srcdir): New variable.
9610 ($auto_input): Use it.
9611
af37a8a3
SP
96122014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9613
d7b00f98
SP
9614 [BZ #16506]
9615 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9616 access beyond array bounds when parsing netgroups file.
9617
af37a8a3
SP
9618 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9619 the old buffer before realloc.
9620
0c00f062
AM
96212014-01-27 Allan McRae <allan@archlinux.org>
9622
9623 * po/fr.po: Update French translation from translation project.
9624
7d69a1b0
KK
96252014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9626
9627 * sysdeps/sh/libm-test-ulps: Regenerate.
9628
6e697ff7
DM
96292014-01-24 David S. Miller <davem@davemloft.net>
9630
9631 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9632
9cadb35c
KK
96332014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9634
9635 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9636 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9637
5d41dadf
SP
96382013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9639
9640 [BZ #16474]
9641 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9642 string pointers after reallocation.
9643
0bad441c
KK
96442014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9645
9646 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9647 __SH4A__ instead of __SH_FPU_ANY__.
9648
7007c661
KK
96492014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9650
9651 * sysdeps/sh/fpu_control.h: New file.
9652 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9653 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9654 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9655 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9656 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9657 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9658 * sysdeps/sh/sys/ucontext.h: Remove.
9659 * sysdeps/sh/sys: Remove directory.
9660
0f0c35e4
AK
96612014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9662
9663 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9664 s390/sys/ucontext.h.
9665 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9666 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9667
4959e284
L
96682014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 [BZ #15605]
9671 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9672
d98720e0
AZ
96732014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9674
9675 [BZ#16431]
9676 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9677 Adjust the vDSO correctly for internal calls.
9678 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9679
91cbd0bc
AM
96802014-01-20 Allan McRae <allan@archlinux.org>
9681
9682 * po/ca.po: Update Catalan translation from translation project.
9683
7a02cfad
MF
96842014-01-16 Mike Frysinger <vapier@gentoo.org>
9685
9686 * sysdeps/s390/sotruss-lib.c: New file.
9687
736c304a
AZ
96882014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9689
9690 [BZ#16430]
6e077ee5 9691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
9692 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9693 local calls issues by not having a PLT stub required for IFUNC calls.
9694 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9695
94d0cea0
JM
96962014-01-16 Joseph Myers <joseph@codesourcery.com>
9697
9698 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9699 * math/test-fpucw-static.c: Likewise.
9700
980cb518
SP
97012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9702
9703 [BZ #16453]
9704 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9705
2393fc01
AZ
97062014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9707
9708 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9709 implementation for powerpc.
9710
d359bcc2
OB
97112014-01-15 Ondřej Bílka <neleai@seznam.cz>
9712
9713 [BZ #14782]
9714 * sysdeps/posix/system.c (__libc_system): Do not enable
9715 asynchronous cancellation.
9716
7beb48cb
AK
97172014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9718
9719 [BZ #16427]
9720 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9721 handling only for numbers special also in the IEEE case.
9722
c20d5bf5
AK
97232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9724
9725 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9726
e83bd4ee
AM
97272014-01-11 Allan McRae <allan@archlinux.org>
9728
76d0ea69
AM
9729 * po/bg.po: Update Bulgarian translation from translation project.
9730
e83bd4ee
AM
9731 * po/de.po: Update German translation from translation project.
9732
bc2ba20a
RM
97332014-01-10 Roland McGrath <roland@hack.frob.com>
9734
9735 * sysdeps/generic/gcc-compat.h: New file.
9736
649ecea2
SP
97372014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9738
9739 * benchtests/asin-inputs: Correct slow inputs.
9740 * benchtests/acos-inputs: Likewise.
9741
1b19c006
AM
97422014-01-10 Allan McRae <allan@archlinux.org>
9743
a46dab08
AM
9744 * po:sv.po: Update Swedish translation from translation project.
9745
421df74a
AM
9746 * po/vi.po: Update Vietnamese translation from translation project.
9747
d61c51a7
AM
9748 * po/eo.po: Update Esperanto translation from translation project.
9749
0339a319
AM
9750 * po/cs.po: Update Czech translation from translation project.
9751
94ad3e99
AM
9752 * po/nl.po: Update Dutch translation from translation project.
9753
e349ca71
AM
9754 * po/pl.po: Update Polish translation from translation project.
9755
ddf930c1
AM
9756 * po/ru.po: Update Russian translation from translation project.
9757
1b19c006
AM
9758 * po/uk.po: Update Ukrainian translation from translation project.
9759
9f236c49
BM
97602014-01-08 Brooks Moses <bmoses@google.com>
9761
9762 * elf/dl-load.c: Fix comment typo.
9763
cd6701cf
CD
97642014-01-08 Carlos O'Donell <carlos@redhat.com>
9765
9766 * po/header.pot: Rename to...
9767 * po/pot.header: ... this.
9768 * po/Makefile: Use pot.header.
9769
66671c84
YK
97702014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9771 Maxim Kuvyrkov <maxim@kugelworks.com>
9772
9773 [BZ #16394]
cd6701cf
CD
9774 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9775 SRC and DEST against LEN.
66671c84 9776
38f34581
AZ
97772014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9778
9779 [BZ #16414]
9780 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9781 implementation.
9782 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9783
97842014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
9785
9786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9787
4c327f2a
JM
97882014-01-08 Joseph Myers <joseph@codesourcery.com>
9789
9790 [BZ #16408]
9791 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9792 for large positive arguments.
9793
b821f414
JM
97942014-01-07 Joseph Myers <joseph@codesourcery.com>
9795
1f0f2067
JM
9796 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9797
a5a326f6
JM
9798 * math/auto-libm-test-in: Mark various tests with
9799 xfail-rounding:ldbl-128ibm.
9800 * math/auto-libm-test-out: Regenerated.
9801
b821f414
JM
9802 [BZ #16407]
9803 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9804 Increase overflow threshold.
9805
94c8a4bc
OB
98062014-01-07 Ondřej Bílka <neleai@seznam.cz>
9807
9808 [BZ #14286]
9809 * stdio-common/vfprintf.c: Check for integer overflow.
9810
87ded0c3
AK
98112014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9812
9813 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9814 the first argument and return value of __tls_get_addr_internal.
9815
c5eebdd0
AK
98162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9817
9818 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9819 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9820
05d138ef
AK
98212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9822
9823 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9824 * sysdeps/s390/rtld-global-offsets.sym: New file.
9825 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9826 GLIBC_2.19 symbol.
9827 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9828 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9829 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9830 ... this.
9831 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9832 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9833 ... this.
9834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9835 Regenerate.
9836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9837 Regenerate.
9838 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9839 halfs of GPRs for high_gprs contexts.
9840 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9841 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9842 field.
9843 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9844 uc_flags field.
9845 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9846 64 bit versions:
9847 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9848 for high GPRs (uc_high_gprs) and for future extensions
9849 (__reserved).
9850 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9851 for future extensions (__reserved).
9852 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9853 64 bit versions:
9854 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9855 SC_HIGHGPRS offset definition.
9856 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9857 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9858
93a45ff1
AK
9859 * Versions.def: Add GLIBC_2.19 for libpthread.
9860 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9861 siglongjmp for libpthread with GLIBC_2.19 symver.
9862 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9863 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9864 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9865 * sysdeps/s390/__longjmp.c: New file.
9866 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9867 * sysdeps/s390/longjmp.c: New file.
9868 * sysdeps/s390/setjmp.S: New file.
9869 * sysdeps/s390/sigjmp.S: New file.
9870 * sysdeps/s390/v1-longjmp.c: New file.
9871 * sysdeps/s390/v1-setjmp.h: New file.
9872 * sysdeps/s390/v1-sigjmp.c: New file.
9873 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9874 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9875 GLIBC_2.19 version.
9876 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9877 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9878 versioned symbols for ____longjmp_chk.
9879 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9880 Likewise.
9881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9882 Regenerate.
9883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9884 Regenerate.
9885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9886 Regenerate.
9887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9888 Regenerate.
9889 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9890 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9891 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9892 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9893 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9894 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9895 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9896 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9897 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9898 * sysdeps/s390/rtld-__longjmp.c: New file.
9899 * sysdeps/s390/rtld-setjmp.S: New file.
9900
eb3fc44b
JM
99012014-01-06 Joseph Myers <joseph@codesourcery.com>
9902
9903 [BZ #16400]
9904 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9905 Return -__logl (x) for small positive arguments without evaluating
9906 a polynomial.
9907
9341dde4
MF
99082014-01-06 Mike Frysinger <vapier@gentoo.org>
9909
9910 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9911 Rename to ...
9912 (__ptrace_peeksiginfo_args): ... this.
9913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9914 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9915 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9916
4cff0293
AM
99172014-01-06 Allan McRae <allan@archlinux.org>
9918
9919 * inet/netinet/in.h: Fix typo in comment.
9920
75595dcf
AJ
99212014-01-05 Andreas Jaeger <aj@suse.de>
9922
9923 * sysdeps/i386/fpu/libm-test-ulps: Update.
9924
79c1e109
AM
99252014-01-05 Allan McRae <allan@archlinux.org>
9926
dd804818
AM
9927 * po/libc.pot: Regenerated.
9928
79c1e109
AM
9929 * malloc/memusagestat.c: Fix gettext call formatting.
9930
0c813d1f
SK
99312014-01-04 Sami Kerola <kerolasa@iki.fi>
9932
9933 * nscd/nscd.c: Improve usage() output.
9934
20f4a8d9
MF
99352014-01-04 Mike Frysinger <vapier@gentoo.org>
9936
9937 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9938 * sysdeps/unix/sysv/linux/configure: Regenerated.
9939 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9940 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9941
22562bb2
JM
99422014-01-03 Joseph Myers <joseph@codesourcery.com>
9943
9944 [BZ #16390]
9945 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9946 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9947
d7ad2d9b
AZ
99482014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9949
9950 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9951 extra tokens at end of #undef directive.
9952 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9953 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9954 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9955
7dd009d8
JM
99562014-01-03 Joseph Myers <joseph@codesourcery.com>
9957
24db925a
JM
9958 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9959
7dd009d8
JM
9960 * math/auto-libm-test-in: Mark various tests with
9961 xfail-rounding:ldbl-128ibm.
9962 * math/auto-libm-test-out: Regenerated.
9963
396e3ecf
JM
99642014-01-02 Joseph Myers <joseph@codesourcery.com>
9965
819e5d50
JM
9966 [BZ #16386]
9967 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9968 numbers with subnormal high part when calculating exponent.
9969
90b6a1e5
JM
9970 [BZ #16385]
9971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9972 fabs.
9973
396e3ecf
JM
9974 [BZ #16384]
9975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9976 M_LN2l.
9977 (__ieee754_acoshl): Use __log1pl not __log1p.
9978
6c8dbf00
OB
99792013-01-02 Ondřej Bílka <neleai@seznam.cz>
9980
57f41c40
AS
9981 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9982 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9983 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9984 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9985 (reused_arena, arena_get2): Convert to GNU style.
9986 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9987 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9988 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 9989 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
9990 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9991 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9992 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9993 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9994 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9995 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 9996 * malloc/malloc.h: Likewise.
57f41c40
AS
9997 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9998 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 9999 * malloc/mcheck.h: Likewise.
57f41c40
AS
10000 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10001 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10002 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10003 * malloc/morecore.c (__default_morecore): Likewise.
10004 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10005 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10006 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10007 (print_and_abort): Likewise.
6c8dbf00
OB
10008 * malloc/obstack.h: Likewise.
10009 * malloc/set-freeres.c (__libc_freeres): Likewise.
10010 * malloc/tst-mallocstate.c (main): Likewise.
10011 * malloc/tst-mtrace.c (main): Likewise.
10012 * malloc/tst-realloc.c (do_test): Likewise.
10013
d4124212
SP
100142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10015
9a3c6a6f
SP
10016 [BZ #16366]
10017 * nscd/netgroupcache.c (do_notfound): New function.
10018 (addgetnetgrentX): Use it.
10019
d4124212
SP
10020 [BZ # 16365]
10021 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10022 NSS_STATUS_NOTFOUND.
10023
97b9a009
JM
100242014-01-01 Joseph Myers <joseph@codesourcery.com>
10025
10026 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10028
d4697bc9
AM
100292014-01-01 Allan McRae <allan@archlinux.org>
10030
ddb3687f
AM
10031 * scripts/update-copyrights: Update configure input file suffix.
10032
88726d48
AM
10033 * NEWS: Update copyright year.
10034 * catgets/gencat.c: Likewise.
10035 * csu/version.c: Likewise.
10036 * debug/catchsegv.sh: Likewise.
10037 * debug/pcprofiledump.c: Likewise.
10038 * debug/xtrace.sh: Likewise.
10039 * elf/ldconfig.c: Likewise.
10040 * elf/ldd.bash.in: Likewise.
10041 * elf/pldd.c: Likewise.
10042 * elf/sotruss.ksh: Likewise.
10043 * elf/sprof.c: Likewise.
10044 * iconv/iconv_prog.c: Likewise.
10045 * iconv/iconvconfig.c: Likewise.
10046 * locale/programs/locale.c: Likewise.
10047 * locale/programs/localedef.c: Likewise.
10048 * login/programs/pt_chown.c: Likewise.
10049 * malloc/memusage.sh: Likewise.
10050 * malloc/memusagestat.c: Likewise.
10051 * malloc/mtrace.pl: Likewise.
10052 * manual/libc.texinfo: Likewise.
10053 * nscd/nscd.c: Likewise.
10054 * nss/getent.c: Likewise.
10055 * nss/makedb.c: Likewise.
10056 * posix/getconf.c: Likewise.
10057 * scripts/test-installation.pl: Likewise.
10058
d4697bc9
AM
10059 * All files with FSF copyright notices: Update copyright dates
10060 using scripts/update-copyrights.
10061 * intl/plural.c: Regenerated.
10062 * locale/programs/charmap-kw.h: Likewise.
10063 * locale/programs/locfile-kw.h: Likewise.
10064
c8590f9d
MF
100652013-12-31 Mike Frysinger <vapier@gentoo.org>
10066
10067 * sysdeps/unix/sysv/linux/configure: Regenerated.
10068 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10069 the linux/fanotify.h header.
10070 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10071 HAVE_LINUX_FANOTIFY_H is defined.
10072
b19221b9
SP
100732013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10074
dd1d85e5
SP
10075 * benchtests/cos-inputs: New inputs.
10076 * benchtests/sin-inputs: Likewise.
10077
1acbb90f
SP
10078 * benchtests/atan-inputs: New inputs. Fix name of multiple
10079 precision fallback inputs.
10080
4c012ed3
SP
10081 * benchtests/atanh-inputs: New inputs.
10082 * benchtests/tanh-inputs: Likewise.
10083
eff98324
SP
10084 * benchtests/acosh-inputs: New inputs.
10085 * benchtests/asinh-inputs: Likewise.
10086
ce641152
SP
10087 * benchtests/cosh-inputs: New inputs.
10088 * benchtests/sinh-inputs: Likewise.
10089
b19221b9
SP
10090 * benchtests/acos-inputs: Add more inputs.
10091 * benchtests/asin-inputs: Likewise.
10092
030a4976 100932013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10094
030a4976 10095 [BZ #16375]
9dcc8f11
VS
10096 * manual/arith.texi: Fix spelling.
10097 * manual/charset.texi: Likewise.
10098 * manual/errno.texi: Likewise.
10099 * manual/filesys.texi: Likewise.
10100 * manual/lang.texi: Likewise.
10101 * manual/llio.texi: Likewise.
10102 * manual/locale.texi: Likewise.
10103 * manual/message.texi: Likewise.
10104 * manual/resource.texi: Likewise.
10105 * manual/search.texi: Likewise.
10106 * manual/setjmp.texi: Likewise.
10107 * manual/stdio.texi: Likewise.
10108 * manual/string.texi: Likewise.
10109 * manual/sysinfo.texi: Likewise.
10110 * manual/time.texi: Likewise.
10111
11520a57
CD
101122013-12-27 Carlos O'Donell <carlos@redhat.com>
10113
10114 * po/sl.po: New file.
10115
471103ae
MF
101162013-12-27 Mike Frysinger <vapier@gentoo.org>
10117
10118 * .gitignore: Add core/.gdbinit/.gdb_history.
10119
6c9642ed
AM
101202013-12-27 Allan McRae <allan@archlinux.org>
10121
10122 [BZ #16369]
10123 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10124 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10125
3f637079
BM
101262013-12-24 Brooks Moses <bmoses@google.com>
10127
10128 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10129 all compilers that claim C++98 compliance, not just GCC.
10130 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10131 Likewise.
10132
abc26e99
MK
101332013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10134
10135 * NEWS: Restore accidentally deleted bug-fix entries.
10136
362b47fe
MK
101372013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10138 Ondřej Bílka <neleai@seznam.cz>
10139
10140 [BZ #15073]
10141 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10142 have_lock.
362b47fe 10143
b9bcbbcb
OB
101442013-12-23 Ondřej Bílka <neleai@seznam.cz>
10145
10146 [BZ #12986]
10147 * manual/stdio.texi (String Input Conversions): Clarify that character
10148 classes are not supported.
10149
fb55fcd2
AZ
101502013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10151
10152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10153
ef7344f0
JM
101542013-12-22 Joseph Myers <joseph@codesourcery.com>
10155
4f40e4b3
JM
10156 [BZ #16337]
10157 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10158 Calculate results for small negative arguments directly rather
10159 than using reflection formula with special underflow handling.
10160
ef7344f0
JM
10161 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10162 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10163 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10164 (fchflags): Likewise.
10165 (revoke): Likewise.
10166 (setlogin): Likewise.
10167 (sigaltstack): Likewise.
10168 (wait4): Likewise.
10169 (sigblock): Remove.
10170 (sigsetmask): Likewise.
10171 (wait3): Likewise.
10172 (waitpid): Likewise.
10173 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10174 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10175 file.
10176 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10177 * sysdeps/unix/bsd/Makefile: ... here.
10178 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10179 * sysdeps/unix/bsd/Versions: ... here.
10180 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10181 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10182 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10183 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10184 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10185 * sysdeps/unix/bsd/sigblock.c: ... here.
10186 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10187 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10188 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10189 * sysdeps/unix/bsd/sigvec.c: ... here.
10190 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10191 * sysdeps/unix/bsd/tcdrain.c: ... here.
10192 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10193 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10194 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10195 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10196 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10197 * sysdeps/unix/bsd/wait.c: ... here.
10198 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10199 * sysdeps/unix/bsd/wait3.c: ... here.
10200 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10201 * sysdeps/unix/bsd/waitpid.c: ... here.
10202
5b0626b9
JM
102032013-12-21 Joseph Myers <joseph@codesourcery.com>
10204
10205 [BZ #16356]
10206 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10207 round-to-nearest for [!USE_AS_EXPM1L].
10208 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10209 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10210 more tests of exp and exp10. Expect some exp10 tests to miss
10211 exceptions or fail in directed rounding modes.
10212 * math/auto-libm-test-out: Regenerated.
10213 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10214 (exp10_test_tonearest): New function.
10215 (exp10_towardzero_test_data): New array.
10216 (exp10_test_towardzero): New function.
10217 (exp10_downward_test_data): New array.
10218 (exp10_test_downward): New function.
10219 (exp10_upward_test_data): New array.
10220 (exp10_test_upward): New function.
10221 (main): Call the new functions.
10222 * sysdeps/i386/fpu/libm-test-ulps: Update.
10223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10224
7fda5682
JM
102252013-12-20 Joseph Myers <joseph@codesourcery.com>
10226
31e3a405
JM
10227 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10228 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10229 * math/auto-libm-test-out: Regenerated.
10230 * math/libm-test.inc (acosh_test_data): Add more tests.
10231 (atanh_test_data): Likewise.
10232 (ceil_test_data): Likewise.
10233 (copysign_test_data): Likewise.
10234 * sysdeps/i386/fpu/libm-test-ulps: Update.
10235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10236
85bff96a
JM
10237 * timezone/checktab.awk: Update from tzcode 2013i.
10238 * timezone/private.h: Likewise.
10239 * timezone/scheck.c: Likewise.
10240 * timezone/tzfile.h: Likewise.
10241 * timezone/tzselect.ksh: Likewise.
10242 * timezone/zdump.c: Likewise.
10243 * timezone/zic.c: Likewise.
10244
b7867a3b
JM
10245 * math/auto-libm-test-in: Add tests of cpow.
10246 * math/auto-libm-test-out: Regenerated.
10247 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10248 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10249 mpc_cc_c.
10250 (func_calc_desc): Add mpc_cc_c union field.
10251 (test_functions): Add cpow.
10252 (special_fill_2pi): New function.
10253 (special_real_inputs): Add 2pi.
10254 (calc_generic_results): Handle mpc_cc_c.
10255 * sysdeps/i386/fpu/libm-test-ulps: Update.
10256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10257
7fda5682
JM
10258 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10259 csqrt, ctan and ctanh.
10260 * math/auto-libm-test-out: Regenerated.
10261 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10262 (TEST_COND_x86): Likewise.
10263 (ccos_test_data): Use AUTO_TESTS_c_c.
10264 (ccosh_test_data): Likewise.
10265 (cexp_test_data): Likewise.
10266 (clog_test_data): Likewise.
10267 (csqrt_test_data): Likewise.
10268 (ctan_test_data): Likewise.
10269 (ctan_tonearest_test_data): Likewise.
10270 (ctan_towardzero_test_data): Likewise.
10271 (ctan_downward_test_data): Likewise.
10272 (ctan_upward_test_data): Likewise.
10273 (ctanh_test_data): Likewise.
10274 (ctanh_tonearest_test_data): Likewise.
10275 (ctanh_towardzero_test_data): Likewise.
10276 (ctanh_downward_test_data): Likewise.
10277 (ctanh_upward_test_data): Likewise.
10278 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10279 mpc_c_c.
10280 (func_calc_desc): Add mpc_c_c union field.
10281 (FUNC_mpc_c_c): New macro.
10282 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10283 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10284 ctanh.
10285 (special_fill_min_subnorm_p120): New function.
10286 (special_real_inputs): Add min_subnorm_p120.
10287 (calc_generic_results): Handle mpc_c_c.
10288 * sysdeps/i386/fpu/libm-test-ulps: Update.
10289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10290
5ff8d60e
SP
102912013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10292
57f41c40
AS
10293 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10294 (do_sin_slow): New functions.
10295 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10296 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10297
84ba214c
SP
10298 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10299 Use M to change sign of result instead of X. Assume X is
10300 positive.
10301 (csloww1): Likewise.
10302 (__sin): Adjust.
10303 (__cos): Adjust.
10304
975195e4
SP
10305 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10306 arguments A and DA.
10307 (__sin): Adjust.
10308 (__cos): Likewise.
10309
5ff8d60e
SP
10310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10311 (__cos): Likewise.
10312 (sloww1): Don't adjust sign of DX.
10313 (csloww1): Likewise.
10314 (sloww2): Use X directly and don't adjust sign of DX.
10315 (csloww2): Likewise.
10316
eb983568
JM
103172013-12-19 Joseph Myers <joseph@codesourcery.com>
10318
64a17f1a
JM
10319 * math/auto-libm-test-in: Add tests of cabs and carg.
10320 * math/auto-libm-test-out: Regenerated.
10321 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10322 (carg_test_data): Likewise.
10323 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10324 mpc_c_f.
10325 (func_calc_desc): Add mpc_c_f union field.
10326 (test_functions): Add cabs and carg.
10327 (calc_generic_results): Handle mpc_c_f.
10328
eb983568
JM
10329 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10330 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10331 as a macro and a compat symbol.
10332 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10333 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10334 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10335 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10336 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10337 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10338 not use .hidden.
10339 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10340 Likewise.
10341 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10342 Likewise.
10343 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10344 Likewise.
10345 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10346 Likewise.
10347 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10348 Likewise.
10349 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10350 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10351 from GLIBC_2.3.2.
10352
6eeb678a
AZ
103532013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10354
10355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10356
6f6fc482
JM
103572013-12-19 Joseph Myers <joseph@codesourcery.com>
10358
21fea2e2
JM
10359 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10360 trailing whitespace removed.
10361 * scripts/config.guess: Update to version 2013-11-29.
10362 * scripts/config.sub: Update to version 2013-10-01.
10363
6f6fc482
JM
10364 * math/auto-libm-test-in: Add tests of sincos.
10365 * math/auto-libm-test-out: Regenerated.
10366 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10368 mpfr_f_11.
10369 (func_calc_desc): Add mpfr_f_11 union field.
10370 (test_functions): Add sincos.
10371 (calc_generic_results): Handle mpfr_f_11.
10372 * sysdeps/i386/fpu/libm-test-ulps: Update.
10373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10374
83f5c32d
AS
103752013-12-19 Andreas Schwab <schwab@suse.de>
10376
10377 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10378 CALL_MCOUNT.
10379 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10380 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10381 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10382
c688b419
JM
103832013-12-19 Joseph Myers <joseph@codesourcery.com>
10384
335ee092
JM
10385 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10386 * sysdeps/i386/fpu/libm-test-ulps: Update.
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10388
f88acd39
JM
10389 [BZ #16293]
10390 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10391 round-to-nearest mode when using frndint.
10392 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10393 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10395 Likewise.
10396 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10397 sinh test to fail.
10398 * math/auto-libm-test-out: Regenerated.
10399 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10400 (TEST_COND_x86): Likewise.
10401 (expm1_tonearest_test_data): New array.
10402 (expm1_test_tonearest): New function.
10403 (expm1_towardzero_test_data): New array.
10404 (expm1_test_towardzero): New function.
10405 (expm1_downward_test_data): New array.
10406 (expm1_test_downward): New function.
10407 (expm1_upward_test_data): New array.
10408 (expm1_test_upward): New function.
10409 (main): Run the new test functions.
10410 * sysdeps/i386/fpu/libm-test-ulps: Update.
10411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10412
c688b419
JM
10413 * include/features.h: Update comment documenting feature test
10414 macros. Mention _DEFAULT_SOURCE in comment.
10415 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10416 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10417 _BSD_SOURCE and _SVID_SOURCE.
10418 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10419 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10420 !_SVID_SOURCE]: Likewise.
10421 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10422 (__USE_POSIX_IMPLICITLY): Define.
10423 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10424 (_POSIX_SOURCE): Undefine and redefine.
10425 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10426 (_POSIX_C_SOURCE): Likewise.
10427 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10428 (Feature Test Macros): Update documentation of default features.
10429
9f6e964c
RS
104302013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10431
10432 * benchtests/Makefile: Add bench-strtok.
10433 * benchtests/bench-strtok.c: New file: strtok benchtest.
10434
ee0a148a
AM
104352013-12-19 Allan McRae <allan@archlinux.org>
10436
10437 * manual/install.texi: Suppress menu for plain text output.
10438 * INSTALL: Regenerated.
10439
b9ab448f
BM
104402013-12-18 Brooks Moses <bmoses@google.com>
10441
10442 [BZ #15846]
10443 * misc/getauxval.c: Include errno.h.
10444 (__getauxval): Set errno to ENOENT if the requested type is not
10445 found.
10446 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10447 don't declare with __attribute_const__.
10448 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10449 * manual/startup.texi: Document that getauxval sets errno.
10450
23776487
JM
104512013-12-18 Joseph Myers <joseph@codesourcery.com>
10452
f889953b
JM
10453 * math/auto-libm-test-in: Add tests of jn and yn.
10454 * math/auto-libm-test-out: Regenerated.
10455 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10456 (yn_test_data): Likewise.
10457 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10458 mpfr_if_f.
10459 (func_calc_desc): Add mpfr_if_f union field.
10460 (FUNC_mpfr_if_f): New macro.
10461 (test_functions): Add jn and yn.
10462 (calc_generic_results): Assert type of second input for
10463 mpfr_ff_f. Handle mpfr_if_f.
10464 (output_for_one_input_case): Disable all checking for arguments
10465 fitting floating-point types in case of an integer argument.
10466 * sysdeps/i386/fpu/libm-test-ulps: Update.
10467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10468
23776487
JM
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10470 Don't expect fegetround reference in libm.so.
10471
cb756c6d
MS
104722013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10473
10474 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10475 $(config-cflags-nofma).
10476
2dec468f
JM
104772013-12-18 Joseph Myers <joseph@codesourcery.com>
10478
5953eb3a
JM
10479 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10480 * math/auto-libm-test-out: Regenerated.
10481
2dec468f
JM
10482 [BZ #16338]
10483 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10484 to determine exponent and adjust argument to have exponent of -1.
10485 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10486 log2.
10487 * math/auto-libm-test-out: Regenerated.
10488 * sysdeps/i386/fpu/libm-test-ulps: Update.
10489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10490
4d84e6ad
OB
104912013-12-18 Ondřej Bílka <neleai@seznam.cz>
10492
10493 * manual/probes.texi: Remove cases when per-thread arenas are
10494 disabled.
10495
1818483b
AS
104962013-12-18 Andreas Schwab <schwab@suse.de>
10497
10498 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10499 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10500 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10501 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10502 * sysdeps/i386/i686/multiarch/Makefile: Update.
10503 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10504
25de95bf
JM
105052013-12-17 Joseph Myers <joseph@codesourcery.com>
10506
10507 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10508 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10509
674762d9
PE
105102013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10511
ed27ed83 10512 [BZ #15968]
0748546f
PE
10513 Support TZ transition times < 00:00:00.
10514 This is needed for version-3 tz-format files; it supports time
10515 stamps past 2037 for America/Godthab (the only entry in the tz
10516 database for which this change is relevant).
10517 * manual/time.texi (TZ Variable): Document transition times
10518 from -167:59:59 through -00:00:01.
10519 * time/tzset.c (tz_rule): Time of day is now signed.
10520 (__tzset_parse_tz): Parse negative time of day.
10521
4480e934
PE
10522 Document TZ transition times >= 25:00:00.
10523 * manual/time.texi (TZ Variable): Document transition times from
10524 25:00:00 through 167:59:59. These are already supported, and this
10525 support will help with version-3 tz-format files.
10526
69947401
PE
10527 * manual/time.texi (TZ Variable): Modernize North America example
10528 to reflect current (i.e., 2007-and-later) daylight saving rules.
10529
674762d9
PE
10530 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10531
7011c262
JM
105322013-12-17 Joseph Myers <joseph@codesourcery.com>
10533
2fc6557e
JM
10534 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10535 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10538 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10539 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10540 * sysdeps/unix/bsd/clock.c: Likewise.
10541 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10542 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10543 * sysdeps/unix/bsd/init-posix.c: Likewise.
10544 * sysdeps/unix/bsd/poll.c: Likewise.
10545 * sysdeps/unix/bsd/ptsname.c: Likewise.
10546 * sysdeps/unix/bsd/seekdir.c: Likewise.
10547 * sysdeps/unix/bsd/setegid.c: Likewise.
10548 * sysdeps/unix/bsd/seteuid.c: Likewise.
10549 * sysdeps/unix/bsd/setgid.c: Likewise.
10550 * sysdeps/unix/bsd/setrgid.c: Likewise.
10551 * sysdeps/unix/bsd/setruid.c: Likewise.
10552 * sysdeps/unix/bsd/setsid.c: Likewise.
10553 * sysdeps/unix/bsd/setuid.c: Likewise.
10554 * sysdeps/unix/bsd/sigaction.c: Likewise.
10555 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10556 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10557 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10558 * sysdeps/unix/bsd/telldir.c: Likewise.
10559 * sysdeps/unix/bsd/times.c: Likewise.
10560 * sysdeps/unix/bsd/usleep.c: Likewise.
10561
029c7b25
JM
10562 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10563 ($(objpfx)libbsd-compat.a): Remove rule.
10564
7011c262
JM
10565 * include/features.h (__FAVOR_BSD): Do not define.
10566 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10567 features conflicting with POSIX.
10568 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10569 (_BSD_SOURCE): Remove description of not being a subset of other
10570 feature test macros.
10571 * manual/job.texi (getpgrp): Do not document BSD version.
10572 (getpgid): Do not document by reference to BSD getpgrp.
10573 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10574 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10575 * signal/signal.h [__FAVOR_BSD]: Likewise.
10576 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10577 instead of making contents conditional on [__FAVOR_BSD].
10578 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10579
affb6f78
AZ
105802013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10581
10582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10583
c88769dd
JM
105842013-12-17 Joseph Myers <joseph@codesourcery.com>
10585
6432a540
JM
10586 [BZ #16314]
10587 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10588 values below 2**-450, not 2**-500.
10589 * math/auto-libm-test-in: Don't allow spurious underflow from
10590 hypot.
10591 * math/auto-libm-test-out: Regenerated.
10592
c88769dd
JM
10593 [BZ #16316]
10594 [BZ #16330]
10595 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10596 values of ha and hb and sort them after adjusting subnormal
10597 arguments.
10598 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10599 Likewise.
10600 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10601 values of ea and eb and sort them after adjusting subnormal
10602 arguments.
10603 * math/auto-libm-test-in: Do not expect some hypot tests of
10604 subnormals to fail. Add more hypot tests.
10605 * math/auto-libm-test-out: Regenerated.
10606
29618f6b
KK
106072013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10608
10609 [BZ #13304]
10610 * sysdeps/sh/s_fma.c: New file.
10611 * sysdeps/sh/s_fmaf.c: New file.
10612 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10613 version.
10614 * sysdeps/sh/Implies: Add sh/soft-fp.
10615
eacfdfbf
RM
106162013-12-16 Roland McGrath <roland@hack.frob.com>
10617
10618 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10619 level of indirection to members `objname', `errstring', `malloced'.
10620 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10621 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10622 it as the __longjmp argument (just pass 1 instead).
10623 (_dl_catch_error): Initialize C with argument pointers and address of
10624 volatile local ERRCODE rather than copying values out of C at return.
10625
ff362e5b
JM
106262013-12-16 Joseph Myers <joseph@codesourcery.com>
10627
10628 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10629 * math/auto-libm-test-out: Regenerated.
10630 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10631 (hypot_test_data): Likewise.
10632 (pow_test_data): Likewise.
10633 (pow_tonearest_test_data): Likewise.
10634 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10635 mpfr_ff_f.
10636 (func_calc_desc): Add mpfr_ff_f union field.
10637 (FUNC_mpfr_ff_f): New macro.
10638 (test_functions): Add atan2, hypot and pow.
10639 (special_fill_min): New function.
10640 (special_fill_minus_min): Likewise.
10641 (special_fill_min_subnorm): Likewise.
10642 (special_fill_minus_min_subnorm): Likewise.
10643 (special_real_inputs): Add min, -min, min_subnorm and
10644 -min_subnorm.
10645 (calc_generic_results): Handle mpfr_ff_f.
10646 * sysdeps/i386/fpu/libm-test-ulps: Update.
10647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10648
5764c27f
WN
106492013-12-16 Will Newton <will.newton@linaro.org>
10650
10651 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10652 (Aligned Memory Blocks): Add documentation for aligned_alloc
10653 and suggest it as an alternative to posix_memalign.
10654 (Hooks for Malloc): Document __memalign_hook is also called
10655 for aligned_alloc. (Summary of Malloc): Add summary for
10656 aligned alloc. Document __memalign_hook is also called
10657 for aligned_alloc.
10658
0a096e44
WN
106592013-12-16 Will Newton <will.newton@linaro.org>
10660
10661 * manual/memory.texi (Malloc Examples): Clarify default
10662 alignment documentation. Suggest posix_memalign rather
10663 than memalign or valloc.
10664 (Aligned Memory Blocks): Remove suggestion to use memalign
10665 or valloc. Remove obsolete comment about BSD.
10666 Document memalign errno values and mark the function obsolete.
10667 Document posix_memalign returned error codes. Mark valloc
10668 as obsolete. (Hooks for Malloc): __memalign_hook is also
10669 called for posix_memalign and valloc.
10670 (Summary of Malloc): Add posix_memalign to function summary.
10671 __memalign_hook is also called for posix_memalign and valloc.
10672
8d561986
SP
106732013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10674
10675 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10676 TAYLOR_SIN.
10677 (__sin): Adjust.
10678 (__cos): Likewise.
10679 (sloww): Use mynumber union. Expand ternary operator into
10680 if-else statements.
10681 (cslow): use mynumber union.
10682
73616a74
AM
106832013-12-16 Allan McRae <allan@archlinux.org>
10684
9e8ac24b
AM
10685 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10686 * configure: Regenerated.
10687
6f8e37eb
AM
10688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10689
8894bad3
AM
10690 [BZ #14120]
10691 * configure.ac: Added --enable-maintainer-mode. Check for
10692 autoconf when enabled.
10693 * configure: Regenerated.
10694
73616a74
AM
10695 * nscd/nscd.service: New file.
10696 * nscd/nscd.tmpfiles: New file.
10697
584b18eb
OB
106982013-12-14 Ondřej Bílka <neleai@seznam.cz>
10699
10700 [BZ #12100]
10701 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10702 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10703 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10704 (strstr): Add __strstr_sse2_unaligned ifunc.
10705 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10706 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10707 (strcasestr): Remove __strcasestr_sse42 ifunc.
10708 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10711
8a5c7897
KK
107122013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10713
10714 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10715 * sysdeps/sh/bits/fenv.h: ... here.
10716 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10717
fd712ef3
AZ
107182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10719
10720 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10721
42fcb46c
AZ
10722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10723 hypotf multiarch implementations.
10724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10725 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10726 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10727 multiarch hypot for PPC64.
10728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10729 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10730 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10731 multiarch hypotf for PPC64.
10732
83efded4
AZ
10733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10734 modff multiarch implementations.
10735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10738 multiarch modf for PPC64.
10739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10742 multiarch modff for PPC64.
10743
43e246d2
AZ
10744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10745 and logl multiarch implementations.
10746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10749 multiarch logb for PPC64.
10750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10753 multiarch logb for PPC64.
10754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10757 multiarch logb for PPC64.
10758
8fdad123
AZ
10759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10760 isinff multiarch implementation.
10761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10762 file.
10763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10765 multiarch isinf for PPC64.
10766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10767 file.
10768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10769 multiarch isinff for PPC64.
10770
1481d706
AZ
10771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10772 finitef multiarch implementation.
10773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10774 file.
10775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10777 multiarch finite for PPC64.
10778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10779 file.
10780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10781 multiarch finitef for PPC64.
10782
5ccd5fc8
AZ
10783 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10784 lrint multiarch implementation.
10785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10786 file.
10787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10789 multiarch llrint for PPC64.
10790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10791 multiarch lrint for PPC64.
10792
2568f3fa
AZ
10793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10794 copysignf multiarch implementation.
10795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10796 file.
10797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10798 file.
10799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10800 multiarch copysign for PPC64.
10801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10802 multiarch copysignf for PPC64.
10803
1cb341fd
AZ
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10805 multiarch implementation.
10806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10807 file.
10808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10809 file.
10810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10811 file.
10812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10813 file.
10814 multiarch llround for PPC64.
10815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10816 multiarch trunc for PPC64.
10817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10818 multiarch truncf for PPC64.
10819
59a3e194
AZ
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10821 multiarch implementation.
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10823 file.
10824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10825 file.
10826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10827 file.
10828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10829 file.
10830 multiarch llround for PPC64.
10831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10832 multiarch round for PPC64.
10833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10834 multiarch roundf for PPC64.
10835
357fd3b4
AZ
10836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10837 multiarch implementation.
10838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10839 file.
10840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10841 file.
10842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10843 file.
10844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10845 file.
10846 multiarch llround for PPC64.
10847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10848 multiarch floor for PPC64.
10849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10850 multiarch floorf for PPC64.
10851
96770f12
AZ
10852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10853 multiarch implementation.
10854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10855 file.
10856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10857 file.
10858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10859 file.
10860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10861 file.
10862 multiarch llround for PPC64.
10863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10864 multiarch ceil for PPC64.
10865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10866 multiarch ceilf for PPC64.
10867
c3627f6e
AZ
10868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10869 multiarch implementation.
10870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10871 file.
10872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10873 file.
10874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10875 file.
10876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10877 multiarch llround for PPC64.
10878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10879 multiarch lround for PPC64.
10880
b2284ad7
AZ
10881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10882 multiarch implementation.
10883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10886 file.
10887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10890 multiarch isnan for PPC64.
10891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10892 multiarch isnanf for PPC64.
10893
69bbc63d
AZ
10894 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10895 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10896 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10897 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10898 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10900
c24517c9
AZ
10901 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10902 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10905
a52374e8
AZ
10906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10907 multiarch implementations.
10908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10909 (__libc_ifunc_impl_list): Likewise.
10910 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10911 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10912 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10913 multiarch stpcpy for PPC64.
10914
7f5ec113
AZ
10915 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10916 multiarch implementations.
10917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10918 (__libc_ifunc_impl_list): Likewise.
10919 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10920 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10921 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10922 multiarch strcpy for PPC64.
10923
e28bcd42
AZ
10924 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10925 redefine function name.
10926 (_wordcopy_fwd_dest_aligned): Likewise.
10927 (_wordcopy_bwd_aligned): Likewise.
10928 (_wordcopy_bwd_dest_aligned): Likewise.
10929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10930 multiarch implementations.
10931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10932 (__libc_ifunc_impl_list): Likewise.
10933 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10934 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10935 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10936 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10937 multiarch wcscpy for PPC64.
10938
92cacfce
AZ
10939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10940 multiarch implementations.
10941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10942 (__libc_ifunc_impl_list): Likewise.
10943 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10944 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10945 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10946 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10947 multiarch wcscpy for PPC64.
10948
7b714620
AZ
10949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10950 multiarch implementations.
10951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10952 (__libc_ifunc_impl_list): Likewise.
10953 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10954 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10955 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10956 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10957 multiarch wcsrchr for PPC64.
10958
16fd2ae3
AZ
10959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10960 multiarch implementations.
10961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10962 (__libc_ifunc_impl_list): Likewise.
10963 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10964 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10965 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10966 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10967 multiarch wcschr for PPC64.
10968
9ee2969b
AZ
10969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10970 multiarch implementations.
10971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10972 (__libc_ifunc_impl_list): Likewise.
10973 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10974 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10975 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10976 multiarch strchrnul for PPC64.
10977
372dc060
AZ
10978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10979 implementations.
10980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10981 (__libc_ifunc_impl_list): Likewise.
10982 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10983 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10984 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10985 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10986 strchr for PPC64.
10987
24c2c3b9
AZ
10988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10989 implementations.
10990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10991 (__libc_ifunc_impl_list): Likewise.
10992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10993 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10994 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10995 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10996 strncmp for PPC64.
10997
1c92d9a0
AZ
10998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10999 multiarch implementations.
11000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11001 (__libc_ifunc_impl_list): Likewise.
11002 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11003 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11004 strncasecmp for PPC64.
11005 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11006 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11007 multiarch strncasecmp_l for PPC64.
11008
17de3ee3
AZ
11009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11010 multiarch implementations.
11011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11012 (__libc_ifunc_impl_list): Likewise.
11013 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11015 multiarch strcasecmp for PPC64.
11016 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11017 file.
11018 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11019 multiarch strcasecmp_l for PPC64.
11020
62982bf9
AZ
11021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11022 implementations.
11023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11024 (__libc_ifunc_impl_list): Likewise.
11025 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11026 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11027 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11028 strnlen for PPC64.
11029
a65f4904
AZ
11030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11031 implementations.
11032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11033 (__libc_ifunc_impl_list): Likewise.
11034 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11035 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11036 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11037 strlen for PPC64.
11038
1fd005ad
AZ
11039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11040 implementations.
11041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11042 (__libc_ifunc_impl_list): Likewise.
11043 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11044 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11045 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11046 rawmemrchr for PPC64.
11047
cd05ba91
AZ
11048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11049 implementation.
11050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11051 (__libc_ifunc_impl_list): Likewise.
11052 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11053 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11054 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11055 memrchr for PPC64.
11056
870f8676
AZ
11057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11058 implementation.
11059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11060 (__libc_ifunc_impl_list): Likewise.
11061 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11062 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11063 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11064 memchr for PPC64.
11065
f00be62b
AZ
11066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11067 implementation.
11068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11069 (__libc_ifunc_impl_list): Likewise.
11070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11071 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11072 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11073 mempcpy for PPC64.
11074
8a29a3d0
AZ
11075 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11076 avoid cretion of __bzero symbol.
11077 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11078 Likewise.
11079 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11080 Likewise.
11081 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11082 Likewise.
11083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11084 multiarch implementations.
11085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11086 (__libc_ifunc_impl_list): Likewise.
11087 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11088 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11089 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11090 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11091 bzero for PPC32.
11092 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11093 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11094 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11095 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11096 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11097 memset for PPC64.
11098 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11099
07253fcf
AZ
11100 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11102 implementations.
11103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11104 (__libc_ifunc_impl_list): Likewise.
11105 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11106 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11107 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11108 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11109 memcmp for PPC64.
11110
b5beafbc
AZ
11111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11112 multiarch for POWER/PPC64.
11113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11114 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11117 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11118 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11119 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11120 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11121 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11122 memcpy for PPC64.
11123
5e6a4d4b
AZ
11124 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11125 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11126 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11127 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11128 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11129 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11130 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11131 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11132 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11133 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11134 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11135 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11136 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11137 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11138 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11146
ddfab6dc
KK
111472013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11148
11149 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11150
19b5525e
SP
111512013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11152
11153 * benchtests/Makefile (bench): Add exp2 and log2.
11154 (LDLIBS-bench-exp2): Add -lm.
11155 (LDLIBS-bench-log2): Likewise.
11156 * benchtests/exp2-inputs: New inputs file.
11157 * benchtests/log2-inputs: New inputs file.
11158 * benchtests/log-inputs: Add new inputs.
11159 * benchtests/tan-inputs: Likewise.
11160
196f7f5d
SP
111612013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11162
7a74607f
SP
11163 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11164 definition...
57f41c40
AS
11165 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11166 (csloww2): ... from here.
7a74607f 11167
196f7f5d
SP
11168 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11169 instead of structures.
11170 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11171 (POLYNOMIAL): Likewise.
11172 (TAYLOR_SLOW): Likewise.
11173 (__sin): Likewise.
11174 (__cos): Likewise.
11175 (slow1): Likewise.
11176 (slow2): Likewise.
11177 (sloww): Likewise.
11178 (sloww1); Likewise.
11179 (sloww2): Likewise.
11180 (bsloww1): Likewise.
11181 (bsloww2): Likewise.
11182 (cslow2): Likewise.
11183 (csloww): Likewise.
11184 (csloww1): Likewise.
11185 (csloww2): Likewise.
11186
0dfa665c
OB
111872013-12-10 Ondřej Bílka <neleai@seznam.cz>
11188
11189 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11190 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11191 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11192 * malloc/hooks.c (realloc_check): Likewise.
11193
5782a80f
OB
11194 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11195 * malloc/arena.c: Remove PER_THREAD conditional.
11196 [!PER_THREAD]: Remove code.
11197 (ptmalloc_unlock_all2): Likewise.
11198 (ptmalloc_init): Likewise.
11199 (_int_new_arena): Likewise.
11200 (arena_get2): Likewise.
11201 * malloc/hooks.c (__malloc_get_state): Likewise.
11202 (__malloc_set_state): Likewise.
11203 * malloc/malloc.c: Likewise.
11204 (struct malloc_state): Likewise.
11205 (struct malloc_par): Likewise.
11206 (__libc_realloc): Likewise.
11207 (__libc_mallopt): Likewise.
11208
aeb95445
AZ
112092013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11210
11211 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11212
e8349efd
OB
112132013-12-09 Ondřej Bílka <neleai@seznam.cz>
11214
11215 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11216 macro to a function. Check for zero perturb_byte.
11217 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11218
f3eeb3fc 11219 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11220 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11221 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11222 force_reg by atomic_forced_read.
11223 * malloc/arena.c (ptmalloc_init): Likewise.
11224 * malloc/hooks.c (top_check): Likewise.
11225
be2f9009
AZ
112262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11227
11228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11229
e7b914bd
MT
112302013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11231
11232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11233
9f0be4f8
JM
112342013-12-08 Joseph Myers <joseph@codesourcery.com>
11235
11236 * math/auto-libm-test-in: Add tests of lgamma.
11237 * math/auto-libm-test-out: Regenerated.
11238 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11239 (M_LOG_2_SQRT_PIl): Likewise.
11240 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11241 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11242 mpfr_f_f1.
11243 (func_calc_desc): Add mpfr_f_f1 union field.
11244 (ARGS1): New macro.
11245 (ARGS2): Likewise.
11246 (ARGS3): Likewise.
11247 (ARGS4): Likewise.
11248 (RET1): Likewise.
11249 (RET2): Likewise.
11250 (CALC): Likewise.
11251 (FUNC): Likewise.
11252 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11253 (test_functions): Add lgamma.
11254 (calc_generic_results): Handle mpfr_f_f1.
11255 * sysdeps/i386/fpu/libm-test-ulps: Update.
11256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11257
24eeafdb
AZ
112582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11259
11260 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11261 __mpn_add_n for PowerPC64/POWER7.
11262 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11263 __mpn_sub_n for PowerPC64/POWER7.
11264
4a2c0fd4
AZ
11265 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11266 __mpn_addmul_1 for PowerPC64.
11267 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11268 __mpn_submul_1 for PowerPC64.
11269 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11270 for PowerPC64.
11271 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11272 for PowerPC64.
11273
4b5b548c
FS
112742013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11275
11276 [BZ #15089]
11277 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11278
0a3ac0aa
AZ
112792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11280
11281 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11282
ccdc8438
AZ
11283 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11284 add multiarch folders.
11285 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11286 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11287 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11288 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11289 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11290 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11291 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11292 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11293 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11294 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11295 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11302
2e973d99
AZ
11303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11304 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11306 New file.
11307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11308 New file.
11309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11310 multiarch __ieee754_hypot for PowerPC32.
11311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11312 New file.
11313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11314 New file.
11315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11316 multiarch __ieee754_hypotf for PowerPC32.
11317
2d9470b2
AZ
11318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11319 long_double_symbol only if __logbl is defined.
11320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11321 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11323 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11325 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11327 path for implementation.
11328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11329 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11331 logb, and logbl multiarch implementations for PowerPC32.
11332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11333 file.
11334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11335 file.
11336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11337 multiarch logb for PowerPC32.
11338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11339 file.
11340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11341 file.
11342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11343 multiarch logbf for PowerPC32.
11344 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11346 file.
11347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11348 multiarch logbl implementation for PowerPC32.
11349
5212ffce
AZ
11350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11351 and modff multiarch implementations.
11352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11353 New file.
11354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11355 New file.
11356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11357 multiarch modf for PowerPC32.
11358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11359 New file.
11360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11361 New file.
11362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11363 multiarch modff for PowerPC32.
11364
79dccf31
AZ
11365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11366 and lrintf multiarch implementations.
11367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11368 New file.
11369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11370 New file.
11371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11372 multiarch lrint for PowerPC32.
11373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11374 file: multiarch lrintf for PowerPC32.
11375
deb66480
AZ
11376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11377 and lroundf multiarch implementations.
11378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11379 New file.
11380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11381 New file.
11382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11383 New file.
11384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11385 multiarch lround for PowerPC32.
11386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11387 file: multiarch lroundf for PowerPC32.
11388
264b036b
AZ
11389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11390 copysign and copysignf multiarch implementations.
11391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11392 New file.
11393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11394 New file.
11395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11396 file: multiarch copysign for PowerPC32.
11397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11398 file: multiarch copysignf for PowerPC32.
11399
d47db6c9
AZ
11400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11401 and truncf multiarch implementations.
11402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11403 New file.
11404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11405 file.
11406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11407 multiarch trunc for PowerPC32.
11408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11409 New file.
11410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11411 New file.
11412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11413 multiarch truncf for PowerPC32.
11414
ddb60b5a
AZ
11415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11416 and roundf multiarch implementations.
11417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11418 New file.
11419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11420 file.
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11422 multiarch round for PowerPC32.
11423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11424 New file.
11425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11426 New file.
11427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11428 multiarch roundf for PowerPC32.
11429
bedcf49b
AZ
11430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11431 and floorf multiarch implementations.
11432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11433 New file.
11434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11435 file.
11436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11437 multiarch floor for PowerPC32.
11438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11439 New file.
11440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11441 New file.
11442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11443 multiarch floorf for PowerPC32.
11444
35ae5b40
AZ
11445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11446 and ceilf multiarch implementations.
11447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11448 New file.
11449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11450 file.
11451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11452 multiarch ceil for PowerPC32.
11453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11454 New file.
11455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11456 file.
11457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11458 multiarch ceilf for PowerPC32.
11459
ae1a4cd9
AZ
11460 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11461 is defined.
11462 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11463 FINITEF is defined.
11464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11465 and finitef multiarch implementations.
11466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11467 New file.
11468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11469 file.
11470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11471 multiarch finite for PowerPC32.
11472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11473 New file.
11474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11475 file: multiarch finitef for PowerPC32.
11476
64fffd65
AZ
11477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11478 and isinff multiarch implementations.
11479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11480 file.
11481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11482 file.
11483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11484 multiarch isinf for PowerPC32.
11485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11486 New file.
11487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11488 multiarch isinff for PowerPC32.
11489
8e4e7ba2
AZ
11490 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11491 alias when __isnan is defined.
11492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11493 and isnanf multiarch implementations.
11494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11495 file.
11496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11497 file.
11498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11499 file.
11500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11501 file.
11502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11503 multiarch isnan for PowerPC32.
11504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11505 New file.
11506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11507 New file.
11508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11509 multiarch isnanf for PowerPC32.
11510
ddba588e
AZ
11511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11512 and sqrtf multiarch implementations.
11513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11514 file.
11515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11516 file.
11517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11518 multiarch sqrt for PowerPC32.
11519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11520 file.
11521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11522 file.
11523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11524 multiarch sqrtf for PowerPC32.
11525
0f96a2f0
AZ
11526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11527 and llroundf multiarch implementations.
11528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11529 New file.
11530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11531 New file.
11532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11533 New file.
11534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11535 file: multiarch llround for PowerPC32.
11536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11537 file: multiarch llroundf for PowerPC32.
11538
c9b5d79e
AZ
11539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11540 multiarch PowerPC32 fpu implementations.
11541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11542 New file.
11543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11544 New file.
11545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11546 multiarch llrint for PowerPC32.
11547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11548 New file.
11549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11550 New file.
11551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11552 file.
11553
9cbb3aab
AZ
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11555
ea5a72f8
AZ
11556 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11557 file.
11558 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11559 file.
11560 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11561 file.
11562 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11563 multiarch wordcopy for PPC32.
11564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11565 wordcopy objects.
11566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11567 (__libc_ifunc_impl_list): Likewise.
11568 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11569 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11570 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11571 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11572 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11573 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11574
93be09e7
AZ
11575 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11577 file.
11578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11579 file.
11580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11581 file.
11582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11583 multiarch wcscpy for PPC32.
11584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11585 multiarch objects.
11586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11587 (__libc_ifunc_impl_list): Likewise.
11588 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11589 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11590 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11591 sysdeps/powerpc/power6/wcscpy.c.
11592
bb04e529
AZ
11593 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11595 file.
11596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11597 file.
11598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11599 file.
11600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11601 multiarch wcsrchr for PPC32.
11602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11603 multiarch objects.
11604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11605 (__libc_ifunc_impl_list): Likewise.
11606 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11607 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11608 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11609 sysdeps/powerpc/power6/wcsrchr.c.
11610
05b5cd1c
AZ
11611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11612 file.
11613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11614 file.
11615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11617 multiarch wcschr for PPc32.
11618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11619 multiarch objects.
11620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11621 (__libc_ifunc_impl_list): Likewise.
11622 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11623 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11624 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11625 sysdeps/powerpc/power6/wcschr.c.
11626
ba964147
AZ
11627 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11628 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11629 file.
11630 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11631 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11632 file: multiarch strchr for PPC32.
11633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11634 multiarch objects.
11635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11636 (__libc_ifunc_impl_list): Likewise.
11637
31c81aaa
AZ
11638 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11639 name.
11640 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11641 file.
11642 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11643 file.
11644 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11645 multiarch strchrnul for PPC32.
11646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11647 multiarch objects.
11648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11649 (__libc_ifunc_impl_list): Likewise.
11650
0d0607d9
AZ
11651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11652 file.
11653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11654 multiarch strncasecmp for PPC32.
11655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11656 file.
11657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11658 multiarch strncasecmp_l for PPC32.
11659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11660 strncasecmp multiarch objects.
11661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11662 (__libc_ifunc_impl_list): Likewise.
11663
4dfd5c86
AZ
11664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11665 file.
11666 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11667 multiarch strncasecmp for PPC32.
11668 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11669 New file.
11670 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11671 multiarch strcasecmp_l for PPC32.
11672 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11673 multiarch objects.
11674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11675 (__libc_ifunc_impl_list): Likewise.
11676
a19e01a3
AZ
11677 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11678 file.
11679 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11680 file.
11681 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11682 multiarch strncmp for PPC32.
11683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11684 multiarch objects.
11685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11686 (__libc_ifunc_impl_list): Likewise.
11687
ae9cf7a2
AZ
11688 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11689 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11690 file.
11691 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11694 multiarch objects.
11695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11696 (__libc_ifunc_impl_list): Likewise.
11697
3148bb7d
AZ
11698 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11699 file.
11700 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11701 file.
11702 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11704 multiarch objects.
11705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11706 (__libc_ifunc_impl_list): Likewise.
11707
7af8b946
AZ
11708 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11709 file.
11710 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11711 file.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11713 multiarch rawmemchr for PPC32.
11714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11715 multiarch objects.
11716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11717 (__libc_ifunc_impl_list): Likewise.
11718
03a6aa6a
AZ
11719 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11720 file.
11721 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11722 file.
11723 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11724 file: memrchr multiarch for PPC32.
11725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11726 multiarch objects.
11727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11728 (__libc_ifunc_impl_list): Likewise.
11729
1c62e6d9
AZ
11730 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11731 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11732 file.
11733 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11734 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11735 multiarch memchr for PPC32.
11736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11737 multiarch objects.
11738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11739 (__libc_ifunc_impl_list): Likewise.
11740
87da8bdb
AZ
11741 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11742 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11743 file.
11744 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11745 file.
11746 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11747 file: multiarch mempcpy for PPC32.
11748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11749 multiarch objects.
11750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11751 (__libc_ifunc_impl_list): Likewise.
11752
20ed4714
AZ
11753 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11754 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11755 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11756 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11757 multiarch bzero for PPC32.
11758 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11759 file.
11760 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11761 file.
11762 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11763 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11764 file: multiarch memset for PPC32.
11765 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11767 memset multiarch objects.
11768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11769 (__libc_ifunc_impl_list): Likewise.
11770
ab3e3a46
AZ
11771 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11772 file.
11773 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11774 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11775 memcmp for PPC32.
11776 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11778 multiarch objects.
11779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11780 (__libc_ifunc_impl_list): Likewise.
11781
930de6f0
AZ
11782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11783 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11784 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11785 file.
11786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11787 file.
11788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11789 file.
11790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11791 multiarch memcpy for PPC32.
11792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11793 multiarch objects.
11794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11795 (__libc_ifunc_impl_list): Likewise.
11796
4c628e00
AZ
11797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11798 support multiarch for POWER/PPC32.
11799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11800 Likewise.
11801 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11803 Implies file to make multiarch folder appers before the fpu and
11804 default folder for power4 configuration.
11805
f4479220
SP
118062013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11807
11808 * scripts/bench.pl: Append volatile keyword to type.
11809
8517800f
KK
118102013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11811
11812 * sysdeps/sh/sotruss-lib.c: New file.
11813 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11814
180138f1
AZ
118152013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11816
11817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11818
bbf37bdc
JM
118192013-12-05 Joseph Myers <joseph@codesourcery.com>
11820
e47cc4e0
JM
11821 [BZ #6810]
11822 * math/w_tgamma.c: Include <errno.h>.
11823 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11824 * math/w_tgammaf.c: Include <errno.h>.
11825 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11826 * math/w_tgammal.c: Include <errno.h>.
11827 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11828 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11829 underflow. Add more tgamma tests.
11830 * math/auto-libm-test-out: Regenerated.
11831 * sysdeps/i386/fpu/libm-test-ulps: Update.
11832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11833
bbf37bdc
JM
11834 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11835 sin, sinh, tan, tanh, tgamma, y0 and y1.
11836 * math/auto-libm-test-out: Regenerated.
11837 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11838 (TEST_COND_x86): Likewise.
11839 (M_E2l): Remove macro.
11840 (M_E3l): Likewise.
11841 (M_2_SQRT_PIl): Likewise.
11842 (M_SQRT_PIl): Likewise.
11843 (M_1_DIV_El): Likewise.
11844 (log_test_data): Use AUTO_TESTS_f_f.
11845 (log10_test_data): Likewise.
11846 (log1p_test_data): Likewise.
11847 (log2_test_data): Likewise.
11848 (sin_test_data): Likewise.
11849 (sin_tonearest_test_data): Likewise.
11850 (sin_towardzero_test_data): Likewise.
11851 (sin_downward_test_data): Likewise.
11852 (sin_upward_test_data): Likewise.
11853 (sinh_test_data): Likewise.
11854 (sinh_tonearest_test_data): Likewise.
11855 (sinh_towardzero_test_data): Likewise.
11856 (sinh_downward_test_data): Likewise.
11857 (sinh_upward_test_data): Likewise.
11858 (tan_test_data): Likewise.
11859 (tan_tonearest_test_data): Likewise.
11860 (tan_towardzero_test_data): Likewise.
11861 (tan_downward_test_data): Likewise.
11862 (tan_upward_test_data): Likewise.
11863 (tanh_test_data): Likewise.
11864 (tgamma_test_data): Likewise.
11865 (y0_test_data): Likewise.
11866 (y1_test_data): Likewise.
11867 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11868 (special_real_inputs): Add pi/4.
11869 * sysdeps/i386/fpu/libm-test-ulps: Update.
11870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11871
eb5ad6b9
AZ
118722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11873
11874 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11875 "longjmp_target" static probes.
11876 (__longjmp): Rename to __longjmp_symbol.
11877 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11878 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11879 on which longjmp to generate.
11880 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11881 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11882 probe.
11883 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11884 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11885 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11886 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11887 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11888 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11890 __longjmp_symbol based on which __longjmp to generate.
11891 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11892 probe.
11893 (setjmp): Rename to setjmp_symbol.
11894 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11895 (_setjmp): Rename to _setjmp_symbol.
11896 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11897 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11898 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11899 which setjmp to generate.
11900 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11901 "longjmp_target" static probes.
11902
d136c6dc
SP
119032013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11904
9298ecba
SP
11905 * benchtests/README: Add note about output arguments.
11906 * benchtests/bench-sincos.c: Remove file.
11907 * benchtests/sincos-inputs: New file.
11908 * scripts/bench.pl: Identify output arguments and define
11909 static variables for them.
11910
232983e9
SP
11911 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11912
d136c6dc
SP
11913 [BZ #15941]
11914 * Makefile (INSTALL): Add install-plain.texi as the primary
11915 dependency.
11916 * manual/install-plain.texi: New file.
11917 * manual/install.texi: Include node directive only for
11918 non-plaintext output.
11919
699ff837
JM
119202013-12-04 Joseph Myers <joseph@codesourcery.com>
11921
ab07cea8
JM
11922 * stdlib/longlong.h: Update from GCC.
11923
699ff837
JM
11924 [BZ #6807]
11925 [BZ #15901]
11926 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11927 * math/w_j0f.c (y0f): Likewise.
11928 * math/w_j0l.c (__y0l): Likewise.
11929 * math/w_j1.c (y1): Likewise.
11930 * math/w_j1f.c (y1f): Likewise.
11931 * math/w_j1l.c (__y1l): Likewise
11932 * math/w_jn.c (yn): Likewise.
11933 * math/w_jnf.c (ynf): Likewise.
11934 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11935 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11936 value for Bessel function domain errors outside _SVID_ mode.
11937 Adjust sign of return value for yn (negative integer, 0).
11938 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11939 by zero in return for negative x and set sign appropriately for
11940 negative n.
11941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11942 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11943 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11944 expectations in error cases.
11945 (y1_test_data): Likewise.
11946 (yn_test_data): Likewise.
11947 * sysdeps/i386/fpu/libm-test-ulps: Update.
11948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11949
5b118558
UW
119502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11951
11952 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11953 "64" to "64-v1". Add "64-v2".
11954 (abi-64-options): Rename to ...
11955 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11956 (abi-64-condition): Rename to ...
11957 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11958 (abi-64-ld-soname): Rename to ...
11959 (abi-64-v1-ld-soname): ... this.
11960 (abi-64-v2-options): Define.
11961 (abi-64-v2-condition): Likewise.
11962 (abi-64-v2-ld-soname): Likewise.
11963 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11964 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11968
61cd8fe4
UW
119692013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11970 Alan Modra <amodra@gmail.com>
11971
11972 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11973 New versions for use with the ELFv2 ABI.
11974 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11975 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11976 declaration.
11977 (struct La_ppc64v2_retval): Likewise.
11978 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11979 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11980 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11981 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11982 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11983 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11984 Do not save or restore CR.
11985 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11986 (_dl_profile_resolve): Do no save or restore CR. Support extended
11987 return values for ELFv2 ABI. Fix location of FPR return registers.
11988 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11989 updated values for _CALL_ELF == 2.
11990 (La_regs, La_retval, int_retval): Likewise.
11991
8b8a692c
UW
119922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11993
11994 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11995 (FRAME_MIN_SIZE_PARM): Likewise.
11996 (FRAME_BACKCHAIN): Likewise.
11997 (FRAME_CR_SAVE): Likewise.
11998 (FRAME_LR_SAVE): Likewise.
11999 (FRAME_TOC_SAVE): Likewise.
12000 (FRAME_PARM_SAVE): Likewise.
12001 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12002 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12003 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12004 (call_mcount_parm_offset): New macro.
12005 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12006 (PROF): Use symbolic stack frame offsets.
12007 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12008 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12009 Redefine in terms of FRAME_MIN_SIZE.
12010 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12011 (_dl_profile_resolve): Likewise. Update comment.
12012 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12013 symbols stack frame offsets.
12014 (__sigsetjmp): Likewise.
12015 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12016 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12017 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12018 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12019
12020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12021 (FRAME_BACKCHAIN): Remove.
12022 (FRAME_CR_SAVE): Likewise.
12023 (FRAME_LR_SAVE): Likewise.
12024 (FRAME_COMPILER_DW): Likewise.
12025 (FRAME_LINKER_DW): Likewise.
12026 (FRAME_TOC_SAVE): Likewise.
12027 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12028 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12029 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12030 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12032 (CHECK_SP): Use symbolic stack frame offsets.
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12034 zone" instead of caller's parameter save area for temp storage.
12035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12036 Likewise. Also, use symbolic stack frame offsets.
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12038 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12039 our own stack frame instead of the caller's.
12040 (__socket): Use symbolic stack frame offsets.
12041
122b66de
UW
120422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12043 Alan Modra <amodra@gmail.com>
12044
12045 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12046 Define.
57f41c40
AS
12047 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12048 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12049 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12050 New function.
12051 (elf_machine_fixup_plt): Call it.
12052 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12053 reloc arguments.
12054 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12055 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12056 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12057 r2 before calling target.
12058
696caf1d
UW
120592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12060 Alan Modra <amodra@gmail.com>
12061
12062 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12063 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12064 versions of macros to support ELFv2 ABI.
12065 (LOCALENTRY): New macro.
12066 (ENTRY, EALIGN): Use it.
12067 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12068 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12069 fall through into ENTRY entry point.
12070 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12071 Only define if _CALL_ELF != 2.
12072
12073 (elf_machine_matches_host): Verify ABI version matches.
12074 (RTLD_START): Use LOCALENTRY.
12075 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12076 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12077 (PLT_ENTRY_WORDS): New macro.
12078 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12079 (elf_machine_runtime_setup): Support ELFv2 ABI.
12080 (elf_machine_fixup_plt): Likewise.
12081 (elf_machine_plt_conflict): Likewise.
12082 (resolve_ifunc): Likewise.
12083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12084 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12085 Likewise.
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12087 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12089 (makecontext): Support ELFv2 ABI.
12090 * elf/elf.h (EF_PPC64_ABI): Define.
12091
d31beafa
UW
120922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12093
57f41c40
AS
12094 * sysdeps/powerpc/powerpc64/sysdep.h
12095 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12096 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12097 (ENTRY) [ASSEMBLER]: ... but instead here ...
12098 (EALIGN) [ASSEMBLER]: ... and here.
12099 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12100 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12101 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12102 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12103 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12104 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12105 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12106 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12108 Use PPC64_LOAD_FUNCPTR.
12109
b525166b
UW
12110 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12111
7ec07d9a
AM
121122013-12-04 Alan Modra <amodra@gmail.com>
12113
12114 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12115 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12116 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12117 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12118
12119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12120 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12121 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12122 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12123 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12124 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12125
5162e7dd
UW
121262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12127
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12129 (__makecontext): Fix incorrect CFI when backtracing out of
12130 context created via makecontext.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12132 (__setcontext): Fix incorrect CFI during switch to new context.
12133 (__novec_setcontext): Likewise.
12134
19e3372b
OB
121352013-12-04 Ondřej Bílka <neleai@seznam.cz>
12136
12137 [BZ #4772]
12138 * time/strptime_l.c (__strptime_internal): Allow modifiers
12139 in strptime.
12140 * time/tst-strptime.c (day_tests): Add testcase.
12141
ecaf142d
SP
121422013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12143
12144 * scripts/bench.pl: Skip over blank lines.
12145
fbf964ae
PE
121462013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12147
12148 [BZ #926]
12149 * manual/time.texi (Calendar Time): Clarify what timezone functions
12150 use.
12151
fa60a674
AZ
121522013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12153
12154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12155
d674f0ef
OB
121562013-12-04 Ondřej Bílka <neleai@seznam.cz>
12157
12158 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12159 implementation.
12160 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12161 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12162 * debug/memset_chk.c (__memset_chk): Likewise.
12163 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12164 * debug/strncpy_chk.c: Likewise.
12165
17dea188
JM
121662013-12-03 Joseph Myers <joseph@codesourcery.com>
12167
749008ff
JM
12168 [BZ #15268]
12169 [BZ #15425]
12170 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12171 (__ieee754_exp): For possibly underflowing results, check size of
12172 result and force underflow exception if required.
12173 * math/auto-libm-test-in: Add more tests of exp.
12174 * math/auto-libm-test-out: Regenerated.
12175 * sysdeps/i386/fpu/libm-test-ulps: Update.
12176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12177
17dea188
JM
12178 [BZ #16283]
12179 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12180 * math/w_exp2f.c (__exp2f): Likewise.
12181 * math/w_exp2l.c (__exp2l): Likewise.
12182 * math/auto-libm-test-in: Do not allow missing errno on exp2
12183 underflow.
12184 * math/auto-libm-test-out: Regenerated.
12185
b20de2c3
OB
121862013-12-03 Ondřej Bílka <neleai@seznam.cz>
12187
12188 [BZ #16274]
12189 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12190 handle filename validation.
12191 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12192 (do_open): Delete.
12193
d8e2dbe3
JM
121942013-12-03 Joseph Myers <joseph@codesourcery.com>
12195
34e16df5
JM
12196 [BZ #6786]
12197 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12198 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12199 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12200 <float.h>.
12201 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12202 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12203 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12205 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12206 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12207 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12208 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12209 Add more erfc tests.
12210 * math/auto-libm-test-out: Regenerated.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12213
d8e2dbe3
JM
12214 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12215 exp2, expm1, j0 and j1.
12216 * math/auto-libm-test-out: Regenerated.
12217 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12218 (erfc_test_data): Likewise.
12219 (exp_test_data): Likewise.
12220 (exp_tonearest_test_data): Likewise.
12221 (exp_towardzero_test_data): Likewise.
12222 (exp_downward_test_data): Likewise.
12223 (exp_upward_test_data): Likewise.
12224 (exp10_test_data): Likewise.
12225 (exp2_test_data): Likewise.
12226 (expm1_test_data): Likewise.
12227 (j0_test_data): Likewise.
12228 (j1_test_data): Likewise.
12229 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12230 (input_flag_type): Add flag_xfail_rounding.
12231 (input_flags): Add xfail-rounding.
12232 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12233 (output_for_one_input_case): Handle flag_xfail_rounding.
12234 * sysdeps/i386/fpu/libm-test-ulps: Update.
12235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12236
18d14251
AJ
122372013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12238
3d2e6075 12239 [BZ #16289]
18d14251
AJ
12240 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12241 division by 0.
12242
520d437b
SP
122432013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12244
12245 [BZ #16195]
12246 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12247 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12248 (STAP_PROBE0): New macro.
12249 (STAP_PROBE1): Likewise.
12250 (STAP_PROBE2): Likewise.
12251 (STAP_PROBE3): Likewise.
12252 (STAP_PROBE4): Likewise.
12253
416e0145
OB
122542013-12-02 Ondřej Bílka <neleai@seznam.cz>
12255
12256 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12257
9d17796a
SE
122582013-12-02 Steve Ellcey <sellcey@mips.com>
12259
12260 * benchtests/Makefile (bench): Add sqrt.
12261 (LDLIBS-bench-sqrt): New.
12262 * benchtests/sqrt-input: New.
12263
f524d6a8
PS
122642013-12-02 Pavel Simerda <psimerda@redhat.com>
12265
639a0ef8
PS
12266 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12267 (GAIH_EAI): Likewise.
12268 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12269 (gaih_inet): Likewise.
12270 (getaddrinfo): Don't use GAIH_EAI.
12271
f524d6a8
PS
12272 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12273 (struct gaih): Remove definition.
12274
df3aedaf
SP
122752013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12276
12277 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12278 Use HERRNOP directly.
12279
1ab19dec
AZ
122802013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12281
b42ad38d 12282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12283
176b0c79
JM
122842013-11-30 Joseph Myers <joseph@codesourcery.com>
12285
12286 * math/gen-auto-libm-tests.c (test_functions): Add more
12287 single-argument functions.
12288 (special_fill_pi_2): New function.
12289 (special_fill_minus_pi_2): Likewise.
12290 (special_fill_pi_6): Likewise.
12291 (special_fill_minus_pi_6): Likewise.
12292 (special_fill_pi_3): Likewise.
12293 (special_fill_2pi_3): Likewise.
12294 (special_fill_e): Likewise.
12295 (special_fill_1_e): Likewise.
12296 (special_fill_e_minus_1): Likewise.
12297 (special_real_inputs): Add more special inputs.
12298 (output_for_one_input_case): Do not require ERANGE on underflow to
12299 zero if round-to-nearest result does not underflow to zero, unless
12300 exact results required.
12301 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12302 atan, atanh, cbrt, cos and cosh.
12303 * math/auto-libm-test-out: Regenerated.
12304 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12305 (acos_tonearest_test_data): Likewise.
12306 (acos_towardzero_test_data): Likewise.
12307 (acos_downward_test_data): Likewise.
12308 (acos_upward_test_data): Likewise.
12309 (acosh_test_data): Likewise.
12310 (asin_test_data): Likewise.
12311 (asin_tonearest_test_data): Likewise.
12312 (asin_towardzero_test_data): Likewise.
12313 (asin_upward_test_data): Likewise.
12314 (asinh_test_data): Likewise.
12315 (atan_test_data): Likewise.
12316 (atanh_test_data): Likewise.
12317 (cbrt_test_data): Likewise.
12318 (cos_test_data): Likewise.
12319 (cos_tonearest_test_data): Likewise.
12320 (cos_towardzero_test_data): Likewise.
12321 (cos_downward_test_data): Likewise.
12322 (cos_upward_test_data): Likewise.
12323 (cosh_test_data): Likewise.
12324 (cosh_tonearest_test_data): Likewise.
12325 (cosh_towardzero_test_data): Likewise.
12326 (cosh_downward_test_data): Likewise.
12327 (cosh_upward_test_data): Likewise.
12328 * sysdeps/i386/fpu/libm-test-ulps: Update.
12329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12330
ffb536d0
JM
123312013-11-29 Joseph Myers <joseph@codesourcery.com>
12332
2a77a467
JM
12333 [BZ #6787]
12334 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12335 * math/w_exp10f.c (__exp10f): Likewise.
12336 * math/w_exp10l.c (__exp10l): Likewise.
12337 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12338 errno settings in existing tests.
12339
ea3bc4e8
JM
12340 [BZ #14032]
12341 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12342 precision control set to double precision.
12343 * sysdeps/i386/fpu/w_sqrt.c: New file.
12344 * math/auto-libm-test-in: Add more tests.
12345 * math/auto-libm-test-out: Update.
12346
0712c9d8
JM
12347 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12348 (sqrt_test_tonearest): New function.
12349 (sqrt_towardzero_test_data): New variable.
12350 (sqrt_test_towardzero): New function.
12351 (sqrt_downward_test_data): New variable.
12352 (sqrt_test_downward): New function.
12353 (sqrt_upward_test_data): New variable.
12354 (sqrt_test_upward): New function.
12355 (main): Call the new functions.
12356
ffb536d0
JM
12357 * math/gen-auto-libm-tests.c: New file.
12358 * math/auto-libm-test-in: Likewise.
12359 * math/auto-libm-test-out: New generated file.
12360 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12361 variables.
12362 (%beautify): Add generated representations of zero.
12363 (top level): Set $auto_input and call parse_auto_input.
12364 (beautify): Remove trailing "f" from hex float constants.
12365 (parse_args): Handle XFAIL_TEST.
12366 (convert_condition): New function.
12367 (or_value): Likewise.
12368 (or_cond_value): Likewise.
12369 (generate_testfile): Handle AUTO_TESTS_* lines.
12370 (parse_auto_input): New function.
12371 * math/libm-test.inc (XFAIL_TEST): New macro.
12372 (ERRNO_UNCHANGED): Update value.
12373 (ERRNO_EDOM): Likewise.
12374 (ERRNO_ERANGE): Likewise.
12375 (IGNORE_RESULT): Likewise.
12376 (TEST_COND_flt_32): New macro.
12377 (TEST_COND_dbl_64): Likewise.
12378 (TEST_COND_ldbl_96_intel): Likewise.
12379 (TEST_COND_ldbl_96_m68k): Likewise.
12380 (TEST_COND_ldbl_128): Likewise.
12381 (TEST_COND_ldbl_128ibm): Likewise.
12382 (TEST_COND_long32): Likewise.
12383 (TEST_COND_long64): Likewise.
12384 (TEST_COND_before_rounding): Likewise.
12385 (TEST_COND_after_rounding): Likewise.
12386 (enable_test): Handle XFAIL_TEST flag.
12387 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12388 with finite results.
12389 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12390 auto-libm-test-out.
12391
acd98a8e
AK
123922013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12393 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12394
12395 [BZ #16214]
12396 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12397 __tls_get_addr_internal instead of __tls_get_offset in order to
12398 avoid GOT pointer dependency. Make rtld export
12399 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12400 __tls_get_addr since we are a __tls_get_offset platform.
12401 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12402 GOT pointer being set up before.
12403 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12404
3c1c46a6
JM
124052013-11-28 Joseph Myers <joseph@codesourcery.com>
12406
7475aef5
JM
12407 * manual/math.texi (Errors in Math Functions): Document accuracy
12408 goals.
12409
8bca7cd8
JM
12410 [BZ #15004]
12411 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12412 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12415 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12417 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12418 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12427
91a1f3fe
JM
12428 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12429 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12430 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12431 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12432 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12433 Likewise.
12434 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12435 Likewise.
12436 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12437 Likewise.
12438 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12439 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12440 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12441 atomic-feupdateenv and flt-rounds.
12442 * sysdeps/powerpc/nofpu/Versions (libc): Add
12443 __atomic_feholdexcept, __atomic_feclearexcept,
12444 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12445 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12446 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12447 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12448 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12449 here.
12450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12451 Update.
12452
c5df7609
JM
12453 * manual/arith.texi (FP Exceptions): Document that exceptions may
12454 not be raised when matherr is used.
12455 (Math Error Reporting): Document overflow in directed rounding
12456 modes. Document that errno may not be set when finite values are
12457 returned on overflow. Document intent to set errno on underflow
12458 only for underflow to zero.
12459
3c1c46a6
JM
12460 [BZ #16271]
12461 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12462 round-to-nearest then adjust result for other rounding modes.
12463 * include/fenv.h (fegetround): Use libm_hidden_proto.
12464 * math/fegetround.c (fegetround): Use libm_hidden_def.
12465 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12466 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12467 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12468 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12469 Likewise.
12470 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12471 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12472 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12473 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12474
5a4c6d53
SP
124752013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12476
12477 [BZ #16077]
12478 * nss/Versions (libnss_files): Add
12479 _nss_files_gethostbyname3_r.
12480 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12481 New function.
12482 (HOST_DB_LOOKUP): Remove macro.
12483 (_nss_files_gethostbyname_r): Implement function without the
12484 HOST_DB_LOOKUP macro.
12485 (_nss_files_gethostbyname2_r): Likewise.
12486
897b98ba
OB
124872013-11-28 Ondřej Bílka <neleai@seznam.cz>
12488
12489 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12490
6f476861
UB
124912013-11-26 Uros Bizjak <ubizjak@gmail.com>
12492
12493 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12494 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12495 warning.
12496
bd12ab55
AZ
124972013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12498
12499 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12500 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12501 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12502 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12503 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12504 __fe_nomask_env_priv and attribute_hidden.
12505 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12506 (libc_feupdateenv_test_ppc): Likewise.
12507 (libc_feresetround_ppc): Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12509 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12510 compat_symbol macro.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12512 (__fe_nomask_env): Likewise.
12513 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12514
52bb6543
OB
125152013-11-26 Ondřej Bílka <neleai@seznam.cz>
12516
12517 * string/Makefile: Remove ifunc tests.
12518 * string/test-string.h: Define TEST_IFUNC.
12519 * string/test-bcopy-ifunc.c: Remove.
12520 * string/test-bzero-ifunc.c: Likewise.
12521 * string/test-memccpy-ifunc.c: Likewise.
12522 * string/test-memchr-ifunc.c: Likewise.
12523 * string/test-memcmp-ifunc.c: Likewise.
12524 * string/test-memcpy-ifunc.c: Likewise.
12525 * string/test-memmem-ifunc.c: Likewise.
12526 * string/test-memmove-ifunc.c: Likewise.
12527 * string/test-mempcpy-ifunc.c: Likewise.
12528 * string/test-memrchr-ifunc.c: Likewise.
12529 * string/test-memset-ifunc.c: Likewise.
12530 * string/test-rawmemchr-ifunc.c: Likewise.
12531 * string/test-stpcpy-ifunc.c: Likewise.
12532 * string/test-stpncpy-ifunc.c: Likewise.
12533 * string/test-strcasecmp-ifunc.c: Likewise.
12534 * string/test-strcasestr-ifunc.c: Likewise.
12535 * string/test-strcat-ifunc.c: Likewise.
12536 * string/test-strchr-ifunc.c: Likewise.
12537 * string/test-strchrnul-ifunc.c: Likewise.
12538 * string/test-strcmp-ifunc.c: Likewise.
12539 * string/test-strcpy-ifunc.c: Likewise.
12540 * string/test-strcspn-ifunc.c: Likewise.
12541 * string/test-strlen-ifunc.c: Likewise.
12542 * string/test-strncasecmp-ifunc.c: Likewise.
12543 * string/test-strncat-ifunc.c: Likewise.
12544 * string/test-strncmp-ifunc.c: Likewise.
12545 * string/test-strncpy-ifunc.c: Likewise.
12546 * string/test-strnlen-ifunc.c: Likewise.
12547 * string/test-strpbrk-ifunc.c: Likewise.
12548 * string/test-strrchr-ifunc.c: Likewise.
12549 * string/test-strspn-ifunc.c: Likewise.
12550 * string/test-strstr-ifunc.c: Likewise.
12551
ab260039 125522013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
12553
12554 * benchtests/Makefile: Remove ifunc tests.
12555 * benchtests/bench-string.h: Define TEST_IFUNC.
12556 * benchtests/bench-bcopy-ifunc.c: Remove.
12557 * benchtests/bench-bzero-ifunc.c: Likewise.
12558 * benchtests/bench-memccpy-ifunc.c: Likewise.
12559 * benchtests/bench-memchr-ifunc.c: Likewise.
12560 * benchtests/bench-memcmp-ifunc.c: Likewise.
12561 * benchtests/bench-memcpy-ifunc.c: Likewise.
12562 * benchtests/bench-memmem-ifunc.c: Likewise.
12563 * benchtests/bench-memmove-ifunc.c: Likewise.
12564 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12565 * benchtests/bench-memrchr-ifunc.c: Likewise.
12566 * benchtests/bench-memset-ifunc.c: Likewise.
12567 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12568 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12569 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12570 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12571 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12572 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12573 * benchtests/bench-strcat-ifunc.c: Likewise.
12574 * benchtests/bench-strchr-ifunc.c: Likewise.
12575 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12576 * benchtests/bench-strcmp-ifunc.c: Likewise.
12577 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12578 * benchtests/bench-strcpy-ifunc.c: Likewise.
12579 * benchtests/bench-strcspn-ifunc.c: Likewise.
12580 * benchtests/bench-strlen-ifunc.c: Likewise.
12581 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12582 * benchtests/bench-strncat-ifunc.c: Likewise.
12583 * benchtests/bench-strncmp-ifunc.c: Likewise.
12584 * benchtests/bench-strncpy-ifunc.c: Likewise.
12585 * benchtests/bench-strnlen-ifunc.c: Likewise.
12586 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12587 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 12588 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
12589 * benchtests/bench-strspn-ifunc.c: Likewise.
12590 * benchtests/bench-strstr-ifunc.c: Likewise.
12591
125922013-11-26 Ondřej Bílka <neleai@seznam.cz>
12593
ab260039
OB
12594 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12595
d1d9eaf4 125962013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 12597
d1d9eaf4
OB
12598 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12599 * rt/aio.h: Likewise.
12600 * sysdeps/gnu/bits/utmp.h: Likewise.
12601 * sysdeps/gnu/bits/utmpx.h: Likewise.
12602 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12603 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12604 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12605 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12606 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12607 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12608 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12609 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12610 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12611 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12612 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12613 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12614 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12617 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12618 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12619 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12620 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12621 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12626 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12628 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12629 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12630 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12632 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12633 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12634 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12635 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12636 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12637 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12638 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12639 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12640 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12641 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12642 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12643 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12644
a7624ed9
CD
126452013-11-25 Carlos O'Donell <carlos@redhat.com>
12646
12647 [BZ #16245]
12648 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12649 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12650
63cfe52b
JM
126512013-11-25 Joseph Myers <joseph@codesourcery.com>
12652
12653 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12654 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12655 Likewise.
12656
41e8926a
AZ
126572013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12658
12659 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12660 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12661 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12662 (__fesetround): Remove define.
12663 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12664 rounding and exceptions handling.
12665 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12666 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12667 (__fe_nomask_env): Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12669 __fegetround instead of fegetround.
12670 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12672
6851bd4d
RM
126732013-11-21 Roland McGrath <roland@hack.frob.com>
12674
070906ff
RM
12675 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12676 it's there.
12677
6851bd4d
RM
12678 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12679
84ae135d
MI
126802013-11-21 Meador Inge <meadori@codesourcery.com>
12681
12682 [BZ #11157]
12683 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12684 (encrypt_r): Likewise.
12685 * malloc/obstack.h (obstack_free): Likewise.
12686 * posix/unistd.h (encrypt): Likewise.
12687
daf75146
GM
126882013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12689
12690 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12691 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12692 DL_CALL_DT_FINI() that call the functions directly.
12693 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12694 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12695 * elf/dl-fini.c: Likewise.
12696
10ad46bc
OB
126972013-11-20 Ondřej Bílka <neleai@seznam.cz>
12698
12699 * malloc/hooks.c (memalign_check): Add alignment rounding.
12700 * malloc/malloc.c (_mid_memalign): New function.
12701 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12702 Implement by calling _mid_memalign.
12703 * manual/probes.texi (Memory Allocation Probes): Remove
12704 memory_valloc_retry and memory_pvalloc_retry.
12705
f3fd2628
SP
127062013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12707
4712799f
SP
12708 * locale/programs/locarchive.c (open_archive): Add const
12709 qualifier to ARCHIVEFNAME and copy default fname to
12710 DEFAULT_FNAME.
12711
0417b20f
SP
12712 [BZ #15601]
12713 * libio/tst-widetext.input: Rename Oriya to Odia.
12714 * locale/iso-639.def: Likewise.
12715
f3fd2628
SP
12716 * manual/probes.texi (Mathematical Function Probes): Add
12717 documentation for sin, cos, asin and acos probes.
12718 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12719 (__sin32): Add slowasin probe.
12720 (__cos32): Add slowacos probe.
12721 (__mpsin): Add slowsin probe.
12722 (__mpcos): Add slowcos probe.
12723
73c1ce4f
JM
127242013-11-19 Joseph Myers <joseph@codesourcery.com>
12725
12726 [BZ #15483]
12727 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12728 thread-local __sim_exceptions_thread and global
12729 __sim_exceptions_global.
12730 (__sim_disabled_exceptions): Change to thread-local
12731 __sim_disabled_exceptions_thread and global
12732 __sim_disabled_exceptions_global.
12733 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12734 and global __sim_round_mode_global.
12735 (__simulate_exceptions): Use thread-local floating-point state and
12736 set global state from it as needed.
12737 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12738 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12739 __sim_round_mode_thread.
12740 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12741 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12742 and global __sim_exceptions_global.
12743 (__sim_disabled_exceptions): Change to thread-local
12744 __sim_disabled_exceptions_thread and global
12745 __sim_disabled_exceptions_global.
12746 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12747 and global __sim_round_mode_global.
12748 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12749 (SIM_SET_GLOBAL): Likewise.
12750 * sysdeps/powerpc/soft-fp/sfp-machine.h
12751 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12752 __sim_round_mode_thread.
12753 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12754 __sim_disabled_exceptions_thread.
12755 (__sim_exceptions): Change to __sim_exceptions_thread.
12756 (__sim_disabled_exceptions): Change to
12757 __sim_disabled_exceptions_thread.
12758 (__sim_round_mode): Change to __sim_round_mode_thread.
12759 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12760 thread-local floating-point state and set global state from it as
12761 needed.
12762 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12763 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12764 (__sim_disabled_exceptions): Remove extern declaration.
12765 (feenableexcept): Use thread-local floating-point state and set
12766 global state from it as needed.
12767 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12768 extern declaration.
12769 (__sim_disabled_exceptions): Likewise.
12770 (__sim_round_mode): Likewise.
12771 (__fegetenv): Use thread-local floating-point state.
12772 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12773 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12774 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12775 floating-point state and set global state from it as needed.
12776 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12777 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12778 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12779 Likewise.
12780 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12781 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12782 Likewise.
12783 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12784 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12785 Use __sim_round_mode_thread.
12786 * math/test-fenv-tls.c: New file.
12787 * math/Makefile (tests): Add test-fenv-tls.
12788 ($(objpfx)test-fenv-tls): Depend on
12789 $(common-objpfx)nptl/libpthread.so.
12790
b5449b12
AS
127912013-11-19 Andreas Schwab <schwab@suse.de>
12792
12793 * locale/programs/locale.c (show_info): Decode wordarray elements.
12794 * locale/categories.def (LC_MONETARY): Add element for
12795 _NL_MONETARY_CRNCYSTR.
12796 * locale/C-monetary.c (conversion_rate): New variable.
12797 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12798 element.
12799
e186536b
CM
128002013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12801
12802 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12803 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12804
5c349950
PP
128052013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12806
12807 * elf/Makefile (tst-auxv): New test.
12808 * elf/tst-auxv.c: New
12809 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12810
699df45b
JM
128112013-11-18 Joseph Myers <joseph@codesourcery.com>
12812
12813 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12814 (hidden_proto): Caller changed.
12815 (hidden_tls_proto): New macro.
12816 (libc_hidden_tls_proto): Likewise.
12817 (rtld_hidden_tls_proto): Likewise.
12818 (libm_hidden_tls_proto): Likewise.
12819 (libresolv_hidden_tls_proto): Likewise.
12820 (librt_hidden_tls_proto): Likewise.
12821 (libdl_hidden_tls_proto): Likewise.
12822 (libnss_files_hidden_tls_proto): Likewise.
12823 (libnsl_hidden_tls_proto): Likewise.
12824 (libnss_nisplus_hidden_tls_proto): Likewise.
12825 (libutil_hidden_tls_proto): Likewise.
12826
b7589107
OB
128272013-11-18 Ondřej Bílka <neleai@seznam.cz>
12828
12829 [BZ #10253]
12830 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12831 (decompose_rpath): Defer expansion to fillin_rpath.
12832 (_dl_init_paths): Pass linkmap to fillin_rpath.
12833
250c23bd
RS
128342013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12835
12836 * benchtests/Makefile: Add strsep.
12837 * benchtests/bench-strsep.c: New file: strsep benchtest.
12838 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12839
a7931fcf
AS
128402013-11-18 Andreas Schwab <schwab@suse.de>
12841
12842 * locale/programs/locale.c (show_info) [case byte]: Check for
12843 '\377' instead of '\177'.
12844 * locale/C-monetary.c (not_available): Always use "\377".
12845 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12846 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12847 detect unavailable sign_posn locale elements.
12848 * locale/localeconv.c (__localeconv): For grouping and
12849 mon_grouping handle "\177" and "\377" like no grouping.
12850 (INT_ELEM): New macro. Use it to set all numeric members.
12851 * locale/programs/ld-monetary.c (monetary_read)
12852 <tok_mon_grouping>: Normalize single -1 to the empty string.
12853 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12854 Likewise.
12855
728dab0e
OB
128562013-11-07 Ondřej Bílka <neleai@seznam.cz>
12857
12858 [BZ #16055]
12859 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12860 when we match (nil).
12861 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12862
66294491
JM
128632013-11-16 Joseph Myers <joseph@codesourcery.com>
12864
ce665817
JM
12865 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12866 (NO_TEST_INLINE): Update value.
12867 (ERRNO_UNCHANGED): Likewise.
12868 (ERRNO_EDOM): Likewise.
12869 (ERRNO_ERANGE): Likewise.
12870 (IGNORE_RESULT): Likewise.
12871 (check_float_internal): Check signs of NaN results if
12872 TEST_NAN_SIGN used.
12873 (check_complex): Pass TEST_NAN_SIGN flag through to second
12874 check_float_internal call.
12875 (copysign_test_data): Add tests with quiet NaNs as second
12876 argument. Use TEST_NAN_SIGN.
12877 (fabs_test_data): Add test of negative quiet NaN argument. Use
12878 TEST_NAN_SIGN.
12879 (signbit_test_data): Add tests of quiet NaN argument.
12880 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12881
ee1466a9
JM
12882 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12883 $ignore_result.
12884 (parse_args): Handle function results specified as IGNORE.
12885 * math/libm-test.inc (IGNORE_RESULT): New macro.
12886 (check_float_internal): Do not check numerical result if flag
12887 IGNORE_RESULT set.
12888 (check_complex): Pass through IGNORE_RESULT to second
12889 check_float_internal call.
12890 (check_int): Do not check numerical result if flag IGNORE_RESULT
12891 set.
12892 (check_long): Likewise.
12893 (check_bool): Likewise.
12894 (check_longlong): Likewise.
12895 (lrint_test_data): Add tests of infinite and NaN arguments.
12896 (lrint_tonearest_test_data): Likewise.
12897 (lrint_towardzero_test_data): Likewise.
12898 (lrint_downward_test_data): Likewise.
12899 (lrint_upward_test_data): Likewise.
12900 (llrint_test_data): Likewise.
12901 (llrint_tonearest_test_data): Likewise.
12902 (llrint_towardzero_test_data): Likewise.
12903 (llrint_downward_test_data): Likewise.
12904 (llrint_upward_test_data): Likewise.
12905 (lround_test_data): Likewise.
12906 (llround_test_data): Likewise.
12907
14407b7e
JM
12908 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12909 (ERRNO_UNCHANGED): Update value.
12910 (ERRNO_EDOM): Likewise.
12911 (ERRNO_ERANGE): Likewise.
12912 (NO_TEST_INLINE_FLOAT): New macro.
12913 (NO_TEST_INLINE_DOUBLE): Likewise.
12914 (enable_test): New function.
12915 (RUN_TEST_f_f): Check enable_test before running test.
12916 (RUN_TEST_2_f): Likewise.
12917 (RUN_TEST_fff_f): Likewise.
12918 (RUN_TEST_c_f): Likewise.
12919 (RUN_TEST_f_f1): Likewise.
12920 (RUN_TEST_fF_f1): Likewise.
12921 (RUN_TEST_fI_f1): Likewise.
12922 (RUN_TEST_ffI_f1): Likewise.
12923 (RUN_TEST_c_c): Likewise.
12924 (RUN_TEST_cc_c): Likewise.
12925 (RUN_TEST_f_i): Likewise.
12926 (RUN_TEST_f_i_tg): Likewise.
12927 (RUN_TEST_ff_i_tg): Likewise.
12928 (RUN_TEST_f_b): Likewise.
12929 (RUN_TEST_f_b_tg): Likewise.
12930 (RUN_TEST_f_l): Likewise.
12931 (RUN_TEST_f_L): Likewise.
12932 (RUN_TEST_fFF_11): Likewise.
12933 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12934 conditionals.
12935 (cosh_test_data): Likewise.
12936 (exp_test_data): Likewise.
12937 (expm1_test_data): Likewise.
12938 (hypot_test_data): Likewise.
12939 (pow_test_data): Likewise.
12940 (sinh_test_data): Likewise.
12941 (tanh_test_data): Likewise.
12942 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12943 flags argument.
12944
ca07f197
JM
12945 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12946 tests with quiet NaN input and output.
12947 (acosh_test_data): Likewise.
12948 (asin_test_data): Likewise.
12949 (asinh_test_data): Likewise.
12950 (atan_test_data): Likewise.
12951 (atanh_test_data): Likewise.
12952 (atan2_test_data): Likewise.
12953 (cbrt_test_data): Likewise.
12954 (cos_test_data): Likewise.
12955 (cosh_test_data): Likewise.
12956 (erf_test_data): Likewise.
12957 (erfc_test_data): Likewise.
12958 (exp_test_data): Likewise.
12959 (exp10_test_data): Likewise.
12960 (exp2_test_data): Likewise.
12961 (expm1_test_data): Likewise.
12962 (hypot_test_data): Likewise.
12963 (j0_test_data): Likewise.
12964 (j1_test_data): Likewise.
12965 (jn_test_data): Likewise.
12966 (lgamma_test_data): Likewise.
12967 (log_test_data): Likewise.
12968 (log10_test_data): Likewise.
12969 (log1p_test_data): Likewise.
12970 (log2_test_data): Likewise.
12971 (pow_test_data): Likewise.
12972 (scalb_test_data): Likewise.
12973 (sin_test_data): Likewise.
12974 (sincos_test_data): Likewise.
12975 (sinh_test_data): Likewise.
12976 (tan_test_data): Likewise.
12977 (tanh_test_data): Likewise.
12978 (tgamma_test_data): Likewise.
12979 (y0_test_data): Likewise.
12980 (y1_test_data): Likewise.
12981 (yn_test_data): Likewise.
12982
66294491
JM
12983 [BZ #16167]
12984 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12985 argument being NaN and avoid computations with second argument in
12986 that case.
12987 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12988 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12989 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12990
1820b143
CL
129912013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12992
12993 * locale/iso-639.def: Add Chitwani Tharu (the).
12994
714bd261
AS
129952013-11-14 Andreas Schwab <schwab@suse.de>
12996
12997 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12998 word instead of empty string.
12999
7ab44563
AZ
130002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13001
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13003 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13005 (__fe_nomask_env): Likewise.
13006
e8470ea2
SE
130072013-11-13 Steve Ellcey <sellcey@mips.com>
13008
13009 * benchtests/bench-timing.h: Include time.h.
13010
17c1d9f0
L
130112013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 [BZ #15997]
13014 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13015 to 3.4.0 for x32.
13016 * sysdeps/unix/sysv/linux/configure: Regenerated.
13017
9310c284
JM
130182013-11-13 Joseph Myers <joseph@codesourcery.com>
13019
13020 [BZ #16151]
13021 * stdlib/strtod_l.c (round_and_return): Do not consider
13022 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13023 exponent one less than half the least subnormal exponent.
13024 * stdlib/test-strtod-round-data: Add more tests.
13025 * stdlib/tst-strtod-round.c (tests): Regenerated.
13026
7a2ad8cf
AZ
130272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13028
13029 [BZ #14143]
13030 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13031 (__fe_mask_env): Likewise.
13032 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13033 libm_hidden_proto and add function prototype.
13034 (__fe_mask_env): Add function prototype.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13036 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13038 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13040 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13041
50727aa7
MS
130422013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13043
b2f386c1 13044 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13045 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13046
a615be46
MS
130472013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13048
13049 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13050 of htab_find_slot().
13051
7ddace62
DM
130522013-11-11 David S. Miller <davem@davemloft.net>
13053
13054 [BZ #16150]
13055 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13056 symbol in the non-vis3 case in static builds.
13057 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13058 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13059 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13060 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13061
9182aa67
JK
130622013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13063
13064 [BZ #387]
13065 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13066 it is empty.
13067
450a2e2d
AZ
130682013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13069
b2f386c1
SP
13070 * benchtests/Makefile: Add bench-strtod.
13071 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13072
8ec3f656
AS
130732013-11-11 Andreas Schwab <schwab@suse.de>
13074
13075 [BZ #16153]
13076 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13077 terminating NUL in key length.
13078
76a9b998
AZ
130792013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13080
13081 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13082 Add artificial ODP entry for vDSO symbol for PPC64.
13083 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13084 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13085
e4368156
OB
130862013-11-07 Ondřej Bílka <neleai@seznam.cz>
13087
13088 [BZ #15374]
13089 * nss/getent.c (services_keys): Recognize services starting with digit.
13090
8d6bb57c
DM
130912013-11-06 David S. Miller <davem@davemloft.net>
13092
13093 [BZ #15985]
13094 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13095 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13096
e256c421
WN
130972013-11-06 Will Newton <will.newton@linaro.org>
13098
13099 * manual/memory.texi (Malloc Examples): Remove register
13100 keyword from examples.
13101
f6e12daa 131022013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13103
f6e12daa 13104 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13105
9d880655
AS
131062013-11-04 Joseph Myers <joseph@codesourcery.com>
13107
fd2f9486 13108 [BZ #6981]
9d880655
AS
13109 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13110 depending on [__GCC_IEC_559 > 0].
13111 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13112 depending on [__GCC_IEC_559_COMPLEX > 0].
13113
ae129d3c
CL
131142013-11-03 Chris Leonard <cjl@sugarlabs.org>
13115
13116 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13117 to iso-639.def.
13118
4a15c2a4 131192013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13120
13121 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13122
8b35e35d
OB
131232013-11-01 Ondřej Bílka <neleai@seznam.cz>
13124
13125 [BZ #16112]
13126 * malloc/malloc (malloc_info): Do not handle first bin as
13127 special case.
13128
1d70fd6c
CL
131292013-11-01 Chris Leonard <cjl@sugarlabs.org>
13130
13131 * locale/iso-639.def: Add Central Nahuatl (nhn).
13132
8c5c2600
BH
131332013-11-01 Bruno Haible <bruno@clisp.org>
13134
13135 [BZ #7003]
13136 * manual/math.texi (BSD Random): Specify range upper bound as
13137 in POSIX.
13138
da5579c2
CL
131392013-10-31 Chris Leonard <cjl@sugarlabs.org>
13140
13141 * locale/iso-639.def: Add Meadow Mari (mhr).
13142
5d30d853
OB
131432013-10-31 Ondřej Bílka <neleai@seznam.cz>
13144
13145 [BZ #14752], [BZ #15763]
13146 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13147 Validate name.
13148 * rt/tst_shm.c: Add test for escaping directory.
13149
a4966c61
AS
131502013-10-31 Andreas Schwab <schwab@suse.de>
13151
8a43e768 13152 [BZ #15917]
a4966c61
AS
13153 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13154 followed by 'x' as part of digit sequence.
13155 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13156
28d708c4
MAP
131572013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13158
13159 [BZ #16037]
13160 * configure.ac: allow GNU Make 4.0 and greater.
13161 * configure: Regenerated.
13162
a56ee40b
WN
131632013-10-30 Will Newton <will.newton@linaro.org>
13164
13165 [BZ #16038]
13166 * malloc/hooks.c (memalign_check): Limit alignment to the
13167 maximum representable power of two.
13168 * malloc/malloc.c (__libc_memalign): Likewise.
13169 * malloc/tst-memalign.c (do_test): Add test for very
13170 large alignment values.
13171 * malloc/tst-posix_memalign.c (do_test): Likewise.
13172
c6e4925d
OB
131732013-10-30 Ondřej Bílka <neleai@seznam.cz>
13174
13175 [BZ #11087]
13176 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13177 (munmap_chunk): Likewise.
13178 (mremap_chunk): Likewise.
13179
131802013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13181
8a43e768 13182 [BZ #15799]
bbea82f7
OB
13183 * stdlib/div.c (div): Remove obsolete code.
13184 * stdlib/ldiv.c (ldiv): Likewise.
13185 * stdlib/lldiv.c (lldiv): Likewise.
13186
977f4b31
SP
131872013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13188
13189 [BZ #16071]
13190 * nss/nss_files/files-XXX.c (get_contents_ret): New
13191 enumerator.
13192 (get_contents): New function.
13193 (internal_getent): Use it. Expand size of LINEBUFLEN.
13194
cb8a6dbd
MF
131952013-10-30 Mike Frysinger <vapier@gentoo.org>
13196
13197 * configure.in: Moved to ...
13198 * configure.ac: ... here. Change reference to configure.in
13199 to configure.ac.
13200 * sysdeps/arm/preconfigure.ac: ... here.
13201 configure.in to configure.ac.
13202 * sysdeps/gnu/configure.in: Moved to ...
13203 * sysdeps/gnu/configure.ac: ... here.
13204 * sysdeps/i386/configure.in: Moved to ...
13205 * sysdeps/i386/configure.ac: ... here.
13206 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13207 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13208 * sysdeps/mach/configure.in: Moved to ...
13209 * sysdeps/mach/configure.ac: ... here.
13210 * sysdeps/mach/hurd/configure.in: Moved to ...
13211 * sysdeps/mach/hurd/configure.ac: ... here.
13212 * sysdeps/powerpc/configure.in: Moved to ...
13213 * sysdeps/powerpc/configure.ac: ... here.
13214 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13215 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13216 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13217 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13218 * sysdeps/s390/s390-32/configure.in: Moved to ...
13219 * sysdeps/s390/s390-32/configure.ac: ... here.
13220 * sysdeps/s390/s390-64/configure.in: Moved to ...
13221 * sysdeps/s390/s390-64/configure.ac: ... here.
13222 * sysdeps/sh/configure.in: Moved to ...
13223 * sysdeps/sh/configure.ac: ... here.
13224 * sysdeps/sparc/configure.in: Moved to ...
13225 * sysdeps/sparc/configure.ac: ... here.
13226 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13227 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13228 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13229 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13230 * sysdeps/x86_64/configure.in: Moved to ...
13231 * sysdeps/x86_64/configure.ac: ... here.
13232 * sysdeps/x86_64/preconfigure.in: Moved to ...
13233 * sysdeps/x86_64/preconfigure.ac: ... here.
13234 * aclocal.m4: Change reference to configure.in to configure.ac.
13235 * config.h.in: Likewise.
13236 * manual/install.texi: Likewise.
13237 * manual/maint.texi: Likewise.
13238 * Makefile: Likewise.
13239 * malloc/Makefile: Likewise.
13240 * nscd/Makefile: Likewise.
13241 * Makeconfig: Change reference to configure.in and
13242 preconfigure.in to configure.ac and preconfigure.ac
13243 respectively.
13244 * INSTALL: Regenerated.
13245 * configure: Likewise.
13246 * sysdeps/gnu/configure: Likewise.
13247 * sysdeps/i386/configure: Likewise.
13248 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13249 * sysdeps/mach/configure: Likewise.
13250 * sysdeps/mach/hurd/configure: Likewise.
13251 * sysdeps/powerpc/configure: Likewise.
13252 * sysdeps/powerpc/powerpc32/configure: Likewise.
13253 * sysdeps/powerpc/powerpc64/configure: Likewise.
13254 * sysdeps/s390/s390-32/configure: Likewise.
13255 * sysdeps/s390/s390-64/configure: Likewise.
13256 * sysdeps/sh/configure: Likewise.
13257 * sysdeps/sparc/configure: Likewise.
13258 * sysdeps/unix/sysv/linux/configure: Likewise.
13259 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13260 * sysdeps/x86_64/configure: Likewise.
13261 * sysdeps/x86_64/preconfigure: Likewise.
13262
36a4953a
AS
132632013-10-29 Andreas Schwab <schwab@suse.de>
13264
13265 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13266
c79a1204
SP
132672013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13268
dfa1b402
SP
13269 * benchtests/pow-inputs: Add new inputs.
13270
54f73d9c
SP
13271 * benchtests/exp-inputs: Add new inputs.
13272
c79a1204
SP
13273 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13274 conditional check for return value.
13275 (__cos32): Likewise.
13276
67beb545 132772013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13278
13279 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13280 to provide a boost for large inputs with word alignment.
13281 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13282 implementation based on optimized PPC64 strcpy.
13283 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13284 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13285 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13286 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13287
151659f6
OB
132882013-10-25 Ondřej Bílka <neleai@seznam.cz>
13289
482a077e 13290 [BZ #2801]
151659f6
OB
13291 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13292
10b0f26b
OB
132932013-10-25 Ondřej Bílka <neleai@seznam.cz>
13294
13295 [BZ #14876]
13296 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13297 * time/tst-strptime.c (day_tests): Add testcase.
13298
ca42d35e
OB
132992013-10-25 Ondřej Bílka <neleai@seznam.cz>
13300
482a077e 13301 [BZ #14029]
ca42d35e
OB
13302 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13303
52e6d801
FB
133042013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13305
13306 [BZ #16074]
13307 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13308 MAP_FAILED on error.
13309
7cbcdb36
SP
133102013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13311
13312 [BZ #16072]
13313 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13314 heap for large requests.
13315
894f3f10
AM
133162013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13317
13318 [BZ #9954]
13319 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13320 result if the result has no associated interface.
13321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13322 interface for all 127.X.Y.Z addresses.
13323
b85545a6
CL
133242013-10-24 Chris Leonard <cjl@sugarlabs.org>
13325
13326 * locale/iso-639.def: Add Ligurian (lij)
13327
d1f23d46
OB
133282013-10-21 Ondřej Bílka <neleai@seznam.cz>
13329
13330 [BZ #15825]
13331 * sunrpc/rpc_main.c: Document rpcgen -5.
13332
4db5b08f
MS
133332013-10-19 Michael Stahl <mstahl@redhat.com>
13334
13335 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13336
a471e96a
OB
133372013-10-19 Ondřej Bílka <neleai@seznam.cz>
13338
d1f23d46 13339 [BZ #10278]
a471e96a
OB
13340 * posix/glob.c: Match only directories when trailing slash is present.
13341 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13342 (main): Add testcase.
13343
45c30c61
OB
133442013-10-19 Ondřej Bílka <neleai@seznam.cz>
13345
13346 [BZ #15670]
13347 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13348
484c12fb
CD
133492013-10-18 Carlos O'Donell <carlos@redhat.com>
13350
3d7dc513
CD
13351 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13352 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13353 AUTH_DES and cindex for FIPS 140-2.
13354 (DES Encryption): Add cindex FIPS 46-3.
13355
484c12fb
CD
13356 * locale/locarchive.h (struct locarhandle): Add fname.
13357 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13358 if an optional argument was specified to --list-archive,
13359 otherwise NULL.
13360 * locale/programs/locarchive.c (show_archive_content): Take new
13361 argument fname and pass it via ah.fname to open_archive.
13362 * locale/programs/localedef.h: Update decl.
13363 (open_archive): If AH->fname is non-null, open that file
13364 rather than the default file name, and don't ignore ENOENT.
13365 (create_archive): Set AH.fname to NULL.
13366 (delete_locales_from_archive): Likewise.
13367 (add_locales_to_archive): Likewise.
13368 * locale/programs/locfile.c (write_all_categories): Likewise.
13369
3c8325fb
JM
133702013-10-18 Joseph Myers <joseph@codesourcery.com>
13371 Aldy Hernandez <aldyh@redhat.com>
13372
13373 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13374 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13375 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13377 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13378 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13379 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13380 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13381 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13382 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13383 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13384 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13385 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13386 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13387 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13388 Likewise.
13389 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13390 Likewise.
13391 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13392 Likewise.
13393 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13394 Likewise.
13395 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13396 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13397 Likewise.
13398 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13399 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13400 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13401 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13402 Likewise.
13403 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13404 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13405 * sysdeps/powerpc/preconfigure: Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13407 Likewise.
13408 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13409 Replace contents of file by #include of <fenv_libc.h>.
13410 * sysdeps/powerpc/soft-fp/sfp-machine.h
13411 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13412 and <sys/prctl.h>.
13413 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13424 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13426 Allow copysignl PLT reference to be missing.
13427
5abe0682
RS
134282013-10-18 Richard Sandiford <richard@codesourcery.com>
13429 Joseph Myers <joseph@codesourcery.com
13430
13431 [BZ #15948]
13432 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13433 single character.
13434 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13435
c7738d08
SP
134362013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13437
13438 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13439 * elf/tst-tls1.c: Likewise.
13440 * elf/tst-tls10.h: Likewise.
13441 * elf/tst-tls14.c: Likewise.
13442 * elf/tst-tls2.c: Likewise.
13443 * elf/tst-tls3.c: Likewise.
13444 * elf/tst-tls4.c: Likewise.
13445 * elf/tst-tls5.c: Likewise.
13446 * elf/tst-tls6.c: Likewise.
13447 * elf/tst-tls7.c: Likewise.
13448 * elf/tst-tls8.c: Likewise.
13449 * elf/tst-tls9.c: Likewise.
13450 * elf/tst-tlsmod1.c: Likewise.
13451 * elf/tst-tlsmod13.c: Likewise.
13452 * elf/tst-tlsmod13a.c: Likewise.
13453 * elf/tst-tlsmod14a.c: Likewise.
13454 * elf/tst-tlsmod16a.c: Likewise.
13455 * elf/tst-tlsmod16b.c: Likewise.
13456 * elf/tst-tlsmod2.c: Likewise.
13457 * elf/tst-tlsmod3.c: Likewise.
13458 * elf/tst-tlsmod4.c: Likewise.
13459 * elf/tst-tlsmod5.c: Likewise.
13460 * elf/tst-tlsmod6.c: Likewise.
13461
0bfcf2c7
OB
134622013-10-18 Ondřej Bílka <neleai@seznam.cz>
13463
13464 [BZ #12486]
13465 * malloc/malloc.c: remove checks for statistics.
13466
264aad1e
OB
134672013-10-17 Ondřej Bílka <neleai@seznam.cz>
13468
13469 [BZ #15277]
13470 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13471 * inet/tst-network.c: Add testcase.
13472
b957ced8
AS
134732013-10-17 Andreas Schwab <schwab@suse.de>
13474
13475 [BZ #15218]
13476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13477 to determine canonical name.
13478
c5d5d574
OB
134792013-10-17 Ondřej Bílka <neleai@seznam.cz>
13480
13481 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13482 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13505 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13506 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13539
e5c2c2d0
JM
135402013-10-17 Joseph Myers <joseph@codesourcery.com>
13541
13542 [BZ #16041]
13543 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13544 make result into a quiet NaN.
13545
51ca9e29
JM
135462013-10-16 Joseph Myers <joseph@codesourcery.com>
13547
13548 * soft-fp/adddf3.c: Fix horizontal whitespace.
13549 * soft-fp/addsf3.c: Likewise.
13550 * soft-fp/addtf3.c: Likewise.
13551 * soft-fp/divdf3.c: Likewise.
13552 * soft-fp/divsf3.c: Likewise.
13553 * soft-fp/divtf3.c: Likewise.
13554 * soft-fp/double.h: Likewise.
13555 * soft-fp/eqdf2.c: Likewise.
13556 * soft-fp/eqsf2.c: Likewise.
13557 * soft-fp/eqtf2.c: Likewise.
13558 * soft-fp/extenddftf2.c: Likewise.
13559 * soft-fp/extended.h: Likewise.
13560 * soft-fp/extendsfdf2.c: Likewise.
13561 * soft-fp/extendsftf2.c: Likewise.
13562 * soft-fp/extendxftf2.c: Likewise.
13563 * soft-fp/fixdfdi.c: Likewise.
13564 * soft-fp/fixdfsi.c: Likewise.
13565 * soft-fp/fixdfti.c: Likewise.
13566 * soft-fp/fixsfdi.c: Likewise.
13567 * soft-fp/fixsfsi.c: Likewise.
13568 * soft-fp/fixsfti.c: Likewise.
13569 * soft-fp/fixtfdi.c: Likewise.
13570 * soft-fp/fixtfsi.c: Likewise.
13571 * soft-fp/fixtfti.c: Likewise.
13572 * soft-fp/fixunsdfdi.c: Likewise.
13573 * soft-fp/fixunsdfsi.c: Likewise.
13574 * soft-fp/fixunsdfti.c: Likewise.
13575 * soft-fp/fixunssfdi.c: Likewise.
13576 * soft-fp/fixunssfsi.c: Likewise.
13577 * soft-fp/fixunssfti.c: Likewise.
13578 * soft-fp/fixunstfdi.c: Likewise.
13579 * soft-fp/fixunstfsi.c: Likewise.
13580 * soft-fp/fixunstfti.c: Likewise.
13581 * soft-fp/floatdidf.c: Likewise.
13582 * soft-fp/floatdisf.c: Likewise.
13583 * soft-fp/floatditf.c: Likewise.
13584 * soft-fp/floatsidf.c: Likewise.
13585 * soft-fp/floatsisf.c: Likewise.
13586 * soft-fp/floatsitf.c: Likewise.
13587 * soft-fp/floattidf.c: Likewise.
13588 * soft-fp/floattisf.c: Likewise.
13589 * soft-fp/floattitf.c: Likewise.
13590 * soft-fp/floatundidf.c: Likewise.
13591 * soft-fp/floatundisf.c: Likewise.
13592 * soft-fp/floatunditf.c: Likewise.
13593 * soft-fp/floatunsidf.c: Likewise.
13594 * soft-fp/floatunsisf.c: Likewise.
13595 * soft-fp/floatunsitf.c: Likewise.
13596 * soft-fp/floatuntidf.c: Likewise.
13597 * soft-fp/floatuntisf.c: Likewise.
13598 * soft-fp/floatuntitf.c: Likewise.
13599 * soft-fp/fmadf4.c: Likewise.
13600 * soft-fp/fmasf4.c: Likewise.
13601 * soft-fp/fmatf4.c: Likewise.
13602 * soft-fp/gedf2.c: Likewise.
13603 * soft-fp/gesf2.c: Likewise.
13604 * soft-fp/getf2.c: Likewise.
13605 * soft-fp/ledf2.c: Likewise.
13606 * soft-fp/lesf2.c: Likewise.
13607 * soft-fp/letf2.c: Likewise.
13608 * soft-fp/muldf3.c: Likewise.
13609 * soft-fp/mulsf3.c: Likewise.
13610 * soft-fp/multf3.c: Likewise.
13611 * soft-fp/negdf2.c: Likewise.
13612 * soft-fp/negsf2.c: Likewise.
13613 * soft-fp/negtf2.c: Likewise.
13614 * soft-fp/op-1.h: Likewise.
13615 * soft-fp/op-2.h: Likewise.
13616 * soft-fp/op-4.h: Likewise.
13617 * soft-fp/op-8.h: Likewise.
13618 * soft-fp/op-common.h: Likewise.
13619 * soft-fp/quad.h: Likewise.
13620 * soft-fp/single.h: Likewise.
13621 * soft-fp/soft-fp.h: Likewise.
13622 * soft-fp/sqrtdf2.c: Likewise.
13623 * soft-fp/sqrtsf2.c: Likewise.
13624 * soft-fp/sqrttf2.c: Likewise.
13625 * soft-fp/subdf3.c: Likewise.
13626 * soft-fp/subsf3.c: Likewise.
13627 * soft-fp/subtf3.c: Likewise.
13628 * soft-fp/truncdfsf2.c: Likewise.
13629 * soft-fp/trunctfdf2.c: Likewise.
13630 * soft-fp/trunctfsf2.c: Likewise.
13631 * soft-fp/trunctfxf2.c: Likewise.
13632 * soft-fp/unorddf2.c: Likewise.
13633 * soft-fp/unordsf2.c: Likewise.
13634 * soft-fp/unordtf2.c: Likewise.
13635
9ebb0332
JM
136362013-10-15 Joseph Myers <joseph@codesourcery.com>
13637
13638 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13639 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13640
4b1a6d8b
OB
136412013-10-15 Ondřej Bílka <neleai@seznam.cz>
13642
13643 * elf/dl-libc.c: Clear initfini list after freeing.
13644
1e145589
JM
136452013-10-14 Joseph Myers <joseph@codesourcery.com>
13646
13647 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13648 * soft-fp/addsf3.c: Likewise.
13649 * soft-fp/addtf3.c: Likewise.
13650 * soft-fp/divdf3.c: Likewise.
13651 * soft-fp/divsf3.c: Likewise.
13652 * soft-fp/divtf3.c: Likewise.
13653 * soft-fp/double.h: Likewise.
13654 * soft-fp/eqdf2.c: Likewise.
13655 * soft-fp/eqsf2.c: Likewise.
13656 * soft-fp/eqtf2.c: Likewise.
13657 * soft-fp/extenddftf2.c: Likewise.
13658 * soft-fp/extended.h: Likewise.
13659 * soft-fp/extendsfdf2.c: Likewise.
13660 * soft-fp/extendsftf2.c: Likewise.
13661 * soft-fp/extendxftf2.c: Likewise.
13662 * soft-fp/fixdfdi.c: Likewise.
13663 * soft-fp/fixdfsi.c: Likewise.
13664 * soft-fp/fixdfti.c: Likewise.
13665 * soft-fp/fixsfdi.c: Likewise.
13666 * soft-fp/fixsfsi.c: Likewise.
13667 * soft-fp/fixsfti.c: Likewise.
13668 * soft-fp/fixtfdi.c: Likewise.
13669 * soft-fp/fixtfsi.c: Likewise.
13670 * soft-fp/fixtfti.c: Likewise.
13671 * soft-fp/fixunsdfdi.c: Likewise.
13672 * soft-fp/fixunsdfsi.c: Likewise.
13673 * soft-fp/fixunsdfti.c: Likewise.
13674 * soft-fp/fixunssfdi.c: Likewise.
13675 * soft-fp/fixunssfsi.c: Likewise.
13676 * soft-fp/fixunssfti.c: Likewise.
13677 * soft-fp/fixunstfdi.c: Likewise.
13678 * soft-fp/fixunstfsi.c: Likewise.
13679 * soft-fp/fixunstfti.c: Likewise.
13680 * soft-fp/floatdidf.c: Likewise.
13681 * soft-fp/floatdisf.c: Likewise.
13682 * soft-fp/floatditf.c: Likewise.
13683 * soft-fp/floatsidf.c: Likewise.
13684 * soft-fp/floatsisf.c: Likewise.
13685 * soft-fp/floatsitf.c: Likewise.
13686 * soft-fp/floattidf.c: Likewise.
13687 * soft-fp/floattisf.c: Likewise.
13688 * soft-fp/floattitf.c: Likewise.
13689 * soft-fp/floatundidf.c: Likewise.
13690 * soft-fp/floatundisf.c: Likewise.
13691 * soft-fp/floatunsidf.c: Likewise.
13692 * soft-fp/floatunsisf.c: Likewise.
13693 * soft-fp/floatuntidf.c: Likewise.
13694 * soft-fp/floatuntisf.c: Likewise.
13695 * soft-fp/floatuntitf.c: Likewise.
13696 * soft-fp/fmadf4.c: Likewise.
13697 * soft-fp/fmasf4.c: Likewise.
13698 * soft-fp/fmatf4.c: Likewise.
13699 * soft-fp/gedf2.c: Likewise.
13700 * soft-fp/gesf2.c: Likewise.
13701 * soft-fp/getf2.c: Likewise.
13702 * soft-fp/ledf2.c: Likewise.
13703 * soft-fp/lesf2.c: Likewise.
13704 * soft-fp/letf2.c: Likewise.
13705 * soft-fp/muldf3.c: Likewise.
13706 * soft-fp/mulsf3.c: Likewise.
13707 * soft-fp/multf3.c: Likewise.
13708 * soft-fp/negdf2.c: Likewise.
13709 * soft-fp/negsf2.c: Likewise.
13710 * soft-fp/negtf2.c: Likewise.
13711 * soft-fp/op-1.h: Likewise.
13712 * soft-fp/op-2.h: Likewise.
13713 * soft-fp/op-4.h: Likewise.
13714 * soft-fp/op-8.h: Likewise.
13715 * soft-fp/op-common.h: Likewise.
13716 * soft-fp/quad.h: Likewise.
13717 * soft-fp/single.h: Likewise.
13718 * soft-fp/soft-fp.h: Likewise.
13719 * soft-fp/sqrtdf2.c: Likewise.
13720 * soft-fp/sqrtsf2.c: Likewise.
13721 * soft-fp/sqrttf2.c: Likewise.
13722 * soft-fp/subdf3.c: Likewise.
13723 * soft-fp/subsf3.c: Likewise.
13724 * soft-fp/subtf3.c: Likewise.
13725 * soft-fp/truncdfsf2.c: Likewise.
13726 * soft-fp/trunctfdf2.c: Likewise.
13727 * soft-fp/trunctfsf2.c: Likewise.
13728 * soft-fp/trunctfxf2.c: Likewise.
13729 * soft-fp/unorddf2.c: Likewise.
13730 * soft-fp/unordsf2.c: Likewise.
13731 * soft-fp/unordtf2.c: Likewise.
13732
17c48a60
OB
137332013-10-14 Ondřej Bílka <neleai@seznam.cz>
13734
13735 [BZ #15672]
13736 * misc/error.c (error_tail): Fix possible buffer overflow.
13737
cabba934
OB
137382013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13739
13740 [BZ #13028]
13741 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13742 address.
13743
94bf958a
PM
137442013-10-14 P. J. McDermott <pj@pehjota.net>
13745
13746 [BZ #832]
13747 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13748 testing pipefail option.
13749
71b4dea7
JM
137502013-10-12 Joseph Myers <joseph@codesourcery.com>
13751
13752 * soft-fp/double.h: Indent preprocessor directives inside #if.
13753 * soft-fp/extended.h: Likewise.
13754 * soft-fp/op-2.h: Likewise.
13755 * soft-fp/op-4.h: Likewise.
13756 * soft-fp/op-common.h: Likewise.
13757 * soft-fp/quad.h: Likewise.
13758 * soft-fp/single.h: Likewise.
13759 * soft-fp/soft-fp.h: Likewise.
13760
55602758
YC
137612013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13762
13763 * iconv/iconv_prog.c: Fix typos.
13764 * stdio-common/psiginfo-data.h: Likewise.
13765
9cd83302
RT
137662013-10-12 Reuben Thomas <rrt@sc3d.org>
13767
13768 [BZ #15764]
13769 * locale/setlocale.c: Fix typo.
13770
99fd9f47
JM
137712013-10-12 Joseph Myers <joseph@codesourcery.com>
13772
b7ea74f0
JM
13773 [BZ #16036]
13774 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13775 signaling NaN arguments.
13776 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13777 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13778
8a509447
JM
13779 [BZ #14910]
13780 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13781 unordered operands.
13782 * soft-fp/gesf2.c (__gesf2): Likewise.
13783 * soft-fp/getf2.c (__getf2): Likewise.
13784 * soft-fp/ledf2.c (__ledf2): Likewise.
13785 * soft-fp/lesf2.c (__lesf2): Likewise.
13786 * soft-fp/letf2.c (__letf2): Likewise.
13787
98998e9f
JM
13788 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13789 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13790 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13791 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13792 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13793 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13794 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13795 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13796 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13797 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13798 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13799 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13800 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13801 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13802 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13803 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13804 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13805 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13806 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13807 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13808 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13809 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13810 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13811 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13812 * soft-fp/floattidf.c (__floattidf): Likewise.
13813 * soft-fp/floattisf.c (__floattisf): Likewise.
13814 * soft-fp/floattitf.c (__floattitf): Likewise.
13815 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13816 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13817 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13818 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13819 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13820 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13821 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13822 * soft-fp/gesf2.c (__gesf2): Likewise.
13823 * soft-fp/getf2.c (__getf2): Likewise.
13824 * soft-fp/ledf2.c (__ledf2): Likewise.
13825 * soft-fp/lesf2.c (__lesf2): Likewise.
13826 * soft-fp/letf2.c (__letf2): Likewise.
13827
8edc4a11
JM
13828 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13829 Undefine and redefine.
13830 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13831 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13832 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13833 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13834 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13835 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13836 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13837 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13838 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13839 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13840 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13841 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13842 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13843 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13844 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13845
8399acaf
JM
13846 [BZ #16032]
13847 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13848 without decrementing exponent if mantissa >= that for the
13849 denominator, not >.
13850 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13851 denominator, not >. Decrement exponent in < case instead of
13852 incrementing in >= case.
13853 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13854 without decrementing exponent if mantissa >= that for the
13855 denominator, not >.
13856
99fd9f47
JM
13857 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13858 computing saturated result for unsigned overflow.
13859
10e1cf6b
SP
138602013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13861 Jeff Law <law@redhat.com>
13862
13863 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13864 (atan2Mp): Add systemtap probe marker.
13865 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13866 (__ieee754_log): Add systemtap probe marker.
13867 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13868 (atanMp): Add systemtap probe marker.
13869 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13870 (tanMp): Add systemtap probe marker.
13871 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13872 (__slowexp): Add systemtap probe marker.
13873 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13874 (__slowpow): Add systemtap probe marker.
13875 * manual/probes.texi: Document probes.
13876
3d110c7c
EB
138772013-10-11 Eric Biggers <ebiggers3@gmail.com>
13878
13879 [BZ #15362]
13880 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13881 written.
13882 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13883 written.
13884 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13885 written to buffer but not flushed.
13886 * libio/iofwrite_u.c: Likewise.
13887 * libio/iopadn.c: Return bytes returned even if EOF was
13888 encountered.
13889 * libio/iowpadn.c: Likewise.
13890 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13891 if _IO_padn does not write the whole buffer.
13892 [!COMPILE_WPRINTF] (PAD): Likewise.
13893
75b4202a
DM
138942013-10-10 David S. Miller <davem@davemloft.net>
13895
13896 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13897 directory block.
13898
6c6352e6
JM
138992013-10-10 Joseph Myers <joseph@codesourcery.com>
13900
33b853c3
JM
13901 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13902 instead of FSF address.
13903 * soft-fp/fixdfti.c: Likewise.
13904 * soft-fp/fixsfti.c: Likewise.
13905 * soft-fp/fixtfti.c: Likewise.
13906 * soft-fp/fixunsdfti.c: Likewise.
13907 * soft-fp/fixunssfti.c: Likewise.
13908 * soft-fp/fixunstfti.c: Likewise.
13909 * soft-fp/floattidf.c: Likewise.
13910 * soft-fp/floattisf.c: Likewise.
13911 * soft-fp/floattitf.c: Likewise.
13912 * soft-fp/floatuntidf.c: Likewise.
13913 * soft-fp/floatuntisf.c: Likewise.
13914 * soft-fp/floatuntitf.c: Likewise.
13915 * soft-fp/trunctfxf2.c: Likewise.
13916
6c6352e6
JM
13917 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13918 * soft-fp/fixdfti.c: Likewise.
13919 * soft-fp/fixsfti.c: Likewise.
13920 * soft-fp/fixtfti.c: Likewise.
13921 * soft-fp/fixunsdfti.c: Likewise.
13922 * soft-fp/fixunssfti.c: Likewise.
13923 * soft-fp/fixunstfti.c: Likewise.
13924 * soft-fp/floattidf.c: Likewise.
13925 * soft-fp/floattisf.c: Likewise.
13926 * soft-fp/floattitf.c: Likewise.
13927 * soft-fp/floatuntidf.c: Likewise.
13928 * soft-fp/floatuntisf.c: Likewise.
13929 * soft-fp/floatuntitf.c: Likewise.
13930 * soft-fp/trunctfxf2.c: Likewise.
13931
3bf78b71
DM
139322013-10-10 David S. Miller <davem@davemloft.net>
13933
13934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13935
6f10289e
JM
139362013-10-10 Joseph Myers <joseph@codsourcery.com>
13937
bd878fc0
JM
13938 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13939 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13940 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13941 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13942 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13943 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13944 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13945
6f10289e
JM
13946 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13947 for NaNs before doing comparisons on argument.
13948 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13949 Likewise.
13950
321e2684
WN
139512013-10-10 Will Newton <will.newton@linaro.org>
13952
13953 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13954 passed to _int_memalign does not overflow.
13955
40fefba1
TR
139562013-10-10 Torvald Riegel <triegel@redhat.com>
13957
13958 * scripts/bench.pl: Add include-sources directive.
13959 * benchtests/README: Update documentation.
13960
2ae21ed2
JM
139612013-10-10 Joseph Myers <joseph@codesourcery.com>
13962
dcc2dd3f
JM
13963 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13964 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13965 instead of FP_INIT_ROUNDMODE.
13966 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13967 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13968
2ae21ed2
JM
13969 [BZ #16034]
13970 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13971 copy class of input value.
13972 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13973 not handle exceptions.
13974 * soft-fp/negsf2.c (__negsf2): Likewise.
13975 * soft-fp/negtf2.c (__negtf2): Likewise.
13976 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13977
cb8f9562
JM
139782013-10-09 Joseph Myers <joseph@codesourcery.com>
13979
13980 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13981 semicolon. From Linux kernel.
13982
5b60c59d
AB
139832013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13984
13985 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13986
b86835ca
YC
139872013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13988
13989 [BZ #156]
13990 * manual/socket.texi: Added statement about buffer
13991 for gethostbyname2_r.
13992
e7044ea7
OB
139932013-10-08 Ondřej Bílka <neleai@seznam.cz>
13994
13995 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13996 Use .p2align directive instead, throughout.
13997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13998 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13999 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14002 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14003 * sysdeps/x86_64/strchr.S: Likewise.
14004 * sysdeps/x86_64/strrchr.S: Likewise.
14005
09544cbc
SP
140062013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14007
88576635
SP
14008 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14009
e7b2d1dd
SP
14010 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14011
09544cbc
SP
14012 * sysdeps/generic/math_private.h (__mpsin1): Remove
14013 declaration.
14014 (__mpcos1): Likewise.
14015 (__mpsin): New argument __range_reduce.
14016 (__mpcos): Likewise.
14017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14018 (slow): Use __mpsin and __mpcos.
14019 (slow1): Likewise.
14020 (slow2): Likewise.
14021 (sloww): Likewise.
14022 (sloww1): Likewise.
14023 (sloww2): Likewise.
14024 (bsloww): Likewise.
14025 (bsloww1): Likewise.
14026 (bsloww2): Likewise.
14027 (cslow2): Likewise.
14028 (csloww): Likewise.
14029 (csloww1): Likewise.
14030 (csloww2): Likewise.
14031 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14032 range_reduce. Merge in __mpsin1.
14033 (__mpcos): Likewise.
14034 (__mpsin1): Remove.
14035 (__mpcos1): Likewise.
14036
7602d070
JM
140372013-10-07 Joseph Myers <joseph@codesourcery.com>
14038
14039 * locale/loadlocale.c (_nl_intern_locale_data): Use
14040 LOCFILE_ALIGNED_P.
14041 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14042 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14043 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14044 obstack data is appropriately aligned.
14045 (obstack_int32_grow_fast): Likewise.
14046 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14047 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14048 (add_locale_uint32_array): Likewise.
14049
a357259b
SP
140502013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14051
14052 * benchtests/Makefile: Remove ARGLIST and RET variables.
14053 ($(objpfx)bench-%.c): Pass only function name to the script.
14054 * benchtests/README: Update documentation.
14055 * benchtests/acos-inputs: Add new directives.
14056 * benchtests/acosh-inputs: Likewise.
14057 * benchtests/asin-inputs: Likewise.
14058 * benchtests/asinh-inputs: Likewise.
14059 * benchtests/atan-inputs: Likewise.
14060 * benchtests/atanh-inputs: Likewise.
14061 * benchtests/cos-inputs: Likewise.
14062 * benchtests/cosh-inputs: Likewise.
14063 * benchtests/exp-inputs: Likewise.
14064 * benchtests/log-inputs: Likewise.
14065 * benchtests/pow-inputs: Likewise.
14066 * benchtests/rint-inputs: Likewise.
14067 * benchtests/sin-inputs: Likewise.
14068 * benchtests/sinh-inputs: Likewise.
14069 * benchtests/tan-inputs: Likewise.
14070 * benchtests/tanh-inputs: Likewise.
14071 * scripts/bench.pl: Add support for new directives.
14072
9ec1b13d
AM
140732013-10-07 Alan Modra <amodra@gmail.com>
14074
14075 * README: Fix careless merge.
14076
8b7d57cd
AM
140772013-10-05 Alan Modra <amodra@gmail.com>
14078
14079 * NEWS: Mention powerpc64le support and bugs fixed.
14080 * README: Both big-endian and little-endian powerpc64 supported.
14081
7b7bab13
ST
140822013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14083
57f41c40
AS
14084 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14085 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14086 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14087 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14088
d39baad1
RA
140892013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14090
14091 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14092 match prototype.
14093
cd78f7e7
JM
140942013-10-04 Joseph Myers <joseph@codesourcery.com>
14095
29d73d86
JM
14096 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14097 Move -mhard-float appending from
14098 ports/sysdeps/powerpc/powerpc32/Makefile.
14099 [$(with-fp) = yes] (ASFLAGS): Likewise.
14100 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14101 * sysdeps/powerpc/nofpu: Move directory from
14102 ports/sysdeps/powerpc/nofpu.
14103 * sysdeps/powerpc/soft-fp: Move directory from
14104 ports/sysdeps/powerpc/soft-fp.
14105 * sysdeps/powerpc/powerpc32/405: Move directory from
14106 ports/sysdeps/powerpc/powerpc32/405.
14107 * sysdeps/powerpc/powerpc32/440: Move directory from
14108 ports/sysdeps/powerpc/powerpc32/440.
14109 * sysdeps/powerpc/powerpc32/464: Move directory from
14110 ports/sysdeps/powerpc/powerpc32/464.
14111 * sysdeps/powerpc/powerpc32/476: Move directory from
14112 ports/sysdeps/powerpc/powerpc32/476.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14114 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14116 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14118 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14120 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14122 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14123 * README: Update for powerpc-*-linux-gnu software floating point
14124 support in libc.
14125
e246b347
JM
14126 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14127 case to powerpc/powerpc32*.
14128 * sysdeps/unix/sysv/linux/configure: Regenerated.
14129
89c2003e
JM
14130 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14131 (_FPU_MASK_OM): Define as 0x04.
14132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14134 0x00c10080.
14135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14136 0x0000003c.
14137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14138
cd78f7e7
JM
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14140 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14141 getcontext_e500.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14143 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14144 setcontext_e500.
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14146 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14147 and setcontext_e500.
14148
c755294d
CL
141492013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14150
14151 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14152
e16d221c
SP
141532013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14154
14155 * manual/threads.texi (Default Thread Attributes): Fix typo.
14156
215c7d43
WN
141572013-10-04 Will Newton <will.newton@linaro.org>
14158
14159 * malloc/Makefile: Add tst-memalign.
14160 * malloc/tst-memalign.c: New file.
14161
27d0461b
WN
14162 * malloc/tst-posix_memalign.c: Add comments.
14163 (do_test): Add comments and call free on all potentially
14164 allocated pointers. Add space after cast.
14165
1bc92709
WN
14166 * malloc/tst-pvalloc.c: Add comments.
14167 (do_test): Add comments and call free on all potentially
14168 allocated pointers. Remove duplicate check for NULL pointer.
14169 Add space after cast.
14170
66a9be9d
WN
14171 * malloc/tst-valloc.c: Add comments.
14172 (do_test): Add comments and call free on all potentially
14173 allocated pointers. Remove duplicate check for NULL pointer.
14174 Add space after cast.
14175
4cb81307
AM
141762013-10-04 Alan Modra <amodra@gmail.com>
14177
14178 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14179 Use stdint types in rather than __attribute__((mode())).
14180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14181
f8e3e9f3
AM
141822013-10-04 Alan Modra <amodra@gmail.com>
14183
14184 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14185 Correct handling of unaligned relocs for little-endian.
14186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14187
8f9ebb08
AM
141882013-10-04 Alan Modra <amodra@gmail.com>
14189
14190 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14191 * configure: Regenerate.
14192 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14193 * shlib-versions: Likewise.
14194
0edf96c2
AM
141952013-10-04 Alan Modra <amodra@gmail.com>
14196
14197 * string/tester.c (test_memrchr): Increment reported test cycle.
14198
e0f7a380
AM
141992013-10-04 Alan Modra <amodra@gmail.com>
14200
14201 * string/test-memcpy.c (do_one_test): When reporting errors, print
14202 string address and don't overrun end of string.
14203
466b0393
AM
142042013-10-04 Alan Modra <amodra@gmail.com>
14205
14206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14207 insrdi. Make better use of reg selection to speed exit slightly.
14208 Schedule entry path a little better. Remove useless "are we done"
14209 checks on entry to main loop. Handle wrapping around zero address.
14210 Correct main loop count. Handle single left-over word from main
14211 loop inline rather than by using loop_small. Remove extra word
14212 case in loop_small caused by wrong loop count. Add little-endian
14213 support.
14214 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14216 cache hint.
14217 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14218 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14219 support. Avoid rlwimi.
14220 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14221
3be87c77
AM
142222013-10-04 Alan Modra <amodra@gmail.com>
14223
14224 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14225 insrdi. Formatting.
3be87c77
AM
14226 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14227 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14228 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14229 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14230 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14231 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14232
759cfef3
AM
142332013-10-04 Alan Modra <amodra@gmail.com>
14234
14235 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14237 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14238 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14239 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14240 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14241 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14242 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14243 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14244 use of regs. Use power7 mtocrf. Tidy function tails.
14245
fe6e95d7
AM
142462013-10-04 Alan Modra <amodra@gmail.com>
14247
14248 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14249 Formatting. Consistently use rXXX register defines or rN defines.
14250 Use early exit labels that avoid restoring unused non-volatile regs.
14251 Make cr field use more consistent with rWORDn compares. Rename
14252 regs used as shift registers for unaligned loop, using rN defines
14253 for short lifetime/multiple use regs.
14254 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14256 addi 1,1,64 to pop stack frame. Simplify return value code.
14257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14258
664318c3
AM
142592013-10-04 Alan Modra <amodra@gmail.com>
14260
14261 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14262 support. Correct typos, formatting. Optimize tail. Use insrdi
14263 rather than rlwimi.
14264 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14265 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14266 little-endian support. Correct typos.
14267 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14268 rather than rlwimi.
14269 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14270 in loop and entry code to keep "and." results.
14271 (strchr): Add little-endian support. Comment. Move cntlzd
14272 earlier in tail.
14273 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14274
43b84013
AM
142752013-10-04 Alan Modra <amodra@gmail.com>
14276
14277 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14278 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14279 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14280 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14281
8a7413f9
AM
142822013-10-04 Alan Modra <amodra@gmail.com>
14283
14284 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14285 (rTMP): Define as r11.
14286 (strcmp): Add little-endian support. Optimise tail.
14287 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14288 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14289 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14290 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14291 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14292 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14293 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14294
33ee81de
AM
142952013-10-04 Alan Modra <amodra@gmail.com>
14296
14297 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14298 little-endian support. Remove unnecessary "are we done" tests.
14299 Handle "s" wrapping around zero and extremely large "size".
14300 Correct main loop count. Handle single left-over word from main
14301 loop inline rather than by using small_loop. Correct comments.
14302 Delete "zero" tail, use "end_max" instead.
14303 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14304
db9b4570
AM
143052013-10-04 Alan Modra <amodra@gmail.com>
14306
14307 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14308 support. Don't branch over align.
14309 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14310 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14311 support. Rearrange tmp reg use to suit. Comment.
14312 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14313
f7c399cf
AM
143142013-10-04 Alan Modra <amodra@gmail.com>
14315
14316 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14317
0b2c2ace
AM
143182013-10-04 Alan Modra <amodra@gmail.com>
14319
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14321 conditional form of branch and link when obtaining pc.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14323
02f04a6c
AM
143242013-10-04 Alan Modra <amodra@gmail.com>
14325
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14327 HIWORD/LOWORD.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14330
9b874b2f
AM
143312013-10-04 Alan Modra <amodra@gmail.com>
14332
14333 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14334 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14335 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14336 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14337 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14340 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14341 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14342 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14343
be1e5d31
AB
143442013-10-04 Anton Blanchard <anton@au1.ibm.com>
14345 Alistair Popple <alistair@ozlabs.au.ibm.com>
14346 Alan Modra <amodra@gmail.com>
14347
14348 [BZ #15723]
14349 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14350 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14351 _dl_hwcap access for little-endian.
14352 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14353 destroy vmx regs when saving unaligned.
14354 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14355 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14356 destroy vmx regs when saving unaligned.
14357
fef13a78
AM
143582013-10-04 Alan Modra <amodra@gmail.com>
14359
14360 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14361 Don't use a union to pack hi/low value.
14362
76a66d51
AB
143632013-10-04 Anton Blanchard <anton@au1.ibm.com>
14364
14365 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14366 for little-endian.
14367 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14368 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14369 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14370 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14371 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14372
6a31fe7f
AM
143732013-10-04 Alan Modra <amodra@gmail.com>
14374
14375 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14376 constants to usual value for .cst8 section, and remove redundant
14377 high address load.
14378 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14379 constant for 0x1p52. Load little-endian words of double from
14380 correct stack offsets.
14381
7b88401f
AM
143822013-10-04 Alan Modra <amodra@gmail.com>
14383
14384 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14385 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14386 words of double from correct stack offsets.
14387 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14388 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14389 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14390 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14391 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14392 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14393 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14394 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14395 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14396 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14397 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14398 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14399 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14400 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14401 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14402 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14403 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14404
9c008155
AM
144052013-10-04 Alan Modra <amodra@gmail.com>
14406
14407 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14408 64-bit int/double union.
14409 (_FPU_SETCW): Likewise.
14410 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14411 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14412
da13146d
AM
144132013-10-04 Alan Modra <amodra@gmail.com>
14414
14415 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14416 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14417
603e8410
AM
144182013-10-04 Alan Modra <amodra@gmail.com>
14419
14420 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14421 use vector int constants.
14422 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14423
4a28b3ca
AB
144242013-10-04 Anton Blanchard <anton@au1.ibm.com>
14425
14426 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14427 array with long long.
14428 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14429 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14430 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14431 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14432 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14433 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14434 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14435 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14436 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14437 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14438 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14439 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14440 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14441
2ca85d2b
AB
144422013-10-04 Anton Blanchard <anton@au1.ibm.com>
14443
14444 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14445 (__signbit): Likewise. Correct for little-endian.
14446 (__signbitl): Call __signbit.
14447 (lrint): Correct for little-endian.
14448 (lrintf): Call lrint.
14449
62a728ae
AM
144502013-10-04 Alan Modra <amodra@gmail.com>
14451
14452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14453 union 32-bit int array member with 64-bit int array.
14454 (t515, tm256): Double rather than long double.
14455 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14456
32c301df
AM
144572013-10-04 Alan Modra <amodra@gmail.com>
14458
14459 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14460 Delete.
14461 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14463 version of math_ldbl.h.
14464
650ef4bd
AM
144652013-10-04 Alan Modra <amodra@gmail.com>
14466
14467 [BZ #15734], [BZ #15735]
14468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14469 all uses of ieee875 long double macros and unions. Simplify test
14470 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14471 ldbl_extract_mantissa value for ix,iy exponents. Properly
14472 normalize after ldbl_extract_mantissa, and don't add hidden bit
14473 already handled. Don't treat low word of ieee854 mantissa like
14474 low word of IBM long double and mask off bit when testing for
14475 zero.
14476 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14477 all uses of ieee875 long double macros and unions. Simplify tests
14478 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14479 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14480 two1022, instead use their values. Recognise that tests for large
14481 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14482 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14483 Rewrite all uses of ieee875 long double macros and unions. Simplify
14484 test for 0.0L and nan. Correct negation.
14485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14486 ieee875 long double macros and unions. Correct output for large
14487 magnitude x. Correct absolute value calculation.
14488 (__erfcl): Likewise.
14489 * math/libm-test.inc: Add tests for errors discovered in IBM long
14490 double versions of fmodl, remainderl, erfl and erfcl.
14491
765714ca
AM
144922013-10-04 Alan Modra <amodra@gmail.com>
14493
14494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14495 all uses of ieee854 long double macros and unions. Simplify tests
14496 for long doubles that are fully specified by the high double.
14497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14498 Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14500 Remove dead code too.
14501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14502 (__ieee754_ynl): Likewise.
14503 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14505 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14506 Remove dead code too.
14507 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14508 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14509 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14510 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14511 Simplify.
14512 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14513 Simplify.
14514 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14515 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14516 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14517 Comment on variable precision.
14518 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14520 Likewise.
14521 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14522 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14523 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14524 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14525 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14526
4ebd120c
AM
145272013-10-04 Alan Modra <amodra@gmail.com>
14528
14529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14531 all uses of ieee854 long double macros and unions.
14532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14538 Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14542 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14545 Simplify sign and nan test too.
14546 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14548 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14549 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14550 Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14552 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14553 Likewise.
14554 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14555 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14556 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14557 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14560
1b6adf88
AM
145612013-10-04 Alan Modra <amodra@gmail.com>
14562
14563 * stdio-common/printf_size.c (__printf_size): Don't use
14564 union ieee854_long_double in fpnum union.
14565 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14566 signbit macro to retrieve sign from long double.
14567 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14568 retrieve sign from long double.
14569 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14570 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14571 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14572 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14573 * math/test-misc.c (main): Don't use union ieee854_long_double.
14574
4cf69995
AM
145752013-10-04 Alan Modra <amodra@gmail.com>
14576
14577 [BZ #15680]
14578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14579 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14580 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14581 calculation. Remove unnecessary test for denormal exponent.
14582 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14583 Correct handling of denormals. Avoid undefined shift behaviour.
14584 Correct normalisation of low mantissa when low double is denormal.
14585 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14586 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14587 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14588 Correct normalisation of low mantissa. Test for overflow of high
14589 mantissa and normalise.
14590 (ldbl_nearbyint): Use more readable constant for two52.
14591 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14592 (__mpn_construct_long_double): Fix test for overflow of high
14593 mantissa and correct normalisation. Avoid undefined shift.
14594
9605ca6c
AM
145952013-10-04 Alan Modra <amodra@gmail.com>
14596
14597 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14598 (union ibm_extended_long_double): Define as an array of ieee754_double.
14599 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14600 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14601 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14602 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14605 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14606 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14608 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14609 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14610
975569d0
JM
146112013-10-03 Joseph Myers <joseph@codesourcery.com>
14612
d3d23756
JM
14613 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14614 page size instead of calling getpagesize.
14615
975569d0
JM
14616 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14617 (LOCFILE_ALIGN_MASK): Likewise.
14618 (LOCFILE_ALIGN_UP): Likewise.
14619 (LOCFILE_ALIGNED_P): Likewise.
14620 * locale/programs/ld-collate.c (collate_output): Use the new
14621 macros instead of __alignof__ (int32_t).
14622 * locale/weight.h (findidx): Likewise.
14623
b1fe1f2b
OB
146242013-10-03 Ondřej Bílka <neleai@seznam.cz>
14625
14626 [BZ #431]
14627 * manual/string.texi: Fix strncat and wcsncat.
14628
5f855e35
BM
146292013-10-03 Brooks Moses <bmoses@google.com>
14630
14631 [BZ #15915]
14632 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14633 * Makerules: ...here, and adjust associated comments.
14634
3cef6009
WN
146352013-10-02 Will Newton <will.newton@linaro.org>
14636
14637 * malloc/Makefile: Add tst-pvalloc.
14638 * malloc/tst-pvalloc.c: New file.
14639
7815420b
WN
146402013-10-02 Will Newton <will.newton@linaro.org>
14641
14642 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14643 improve test coverage.
14644
4868b204
WN
146452013-10-02 Will Newton <will.newton@linaro.org>
14646
14647 * malloc/Makefile: Add tst-posix_memalign.
14648 * malloc/tst-posix_memalign.c: New file.
14649
29c793b3
EB
146502013-10-01 Eric Blake <eblake@redhat.com>
14651
14652 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14653 Use __THROWNL rather than __THROW on static functions.
14654
fd967522
PM
146552013-09-30 Petr Machata <pmachata@redhat.com>
14656
14657 * elf/elf.h (R_AARCH64_ABS16): New macro.
14658 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14659 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14660 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14661 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14662 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14663 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14664 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14665 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14666 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14667 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14668 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14669 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14670 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14671 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14672 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14673 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14674 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14675 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14676 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14677 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14678 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14679 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14680 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14681 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14682 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14683 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14684 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14685 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14686 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14687 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14688 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14689 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14690 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14691 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14692 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14693 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14694 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14695 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14696 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14697 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14698 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14699 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14700 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14701 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14702 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14703 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14704 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14705 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14706 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14707 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14708 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14709 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14710 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14711 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14712 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14713 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14714 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14715 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14716 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14717 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14718 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14719 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14720 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14721 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14722 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14723 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14724 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14725 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14726 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14727 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14728 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14729 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14730 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14731 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14732 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14733 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14734 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14735 (R_AARCH64_TLSDESC_LDR): Likewise.
14736 (R_AARCH64_TLSDESC_ADD): Likewise.
14737 (R_AARCH64_TLSDESC_CALL): Likewise.
14738
b2179107
AS
147392013-09-30 Andreas Schwab <schwab@suse.de>
14740
14741 [BZ #15048]
14742 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14743 the nss database lookup.
14744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14746
47f28d0a
MF
147472013-09-28 Mike Frysinger <vapier@gentoo.org>
14748
14749 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14750
147512013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
14752
14753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14754 ${Bash-specific parameter/pattern/string} parameter expansion.
14755 * sysdeps/unix/make-syscalls.sh: Likewise.
14756
f4518a17
KK
147572013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14758
14759 * sysdeps/sh/stackguard-macros.h: New file.
14760
dc1a95c7
OB
147612013-09-26 Ondřej Bílka <neleai@seznam.cz>
14762
14763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14765 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14766 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14767 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14768 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14769
5ebbff8f
AZ
147702013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14771
14772 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14773 Fix thread ID register.
14774
4fd2cf9f
JM
147752013-09-25 Joseph Myers <joseph@codesourcery.com>
14776
14777 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14778 [POSIX || UNIX98]: Require rather than permitting all symbols from
14779 <time.h>.
14780 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14781 element of struct sched_param.
14782 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14783 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14784 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14785 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14786 constant.
14787
12c22bc4
OL
147882013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14789
14790 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14791 argument calculation.
14792
a03d8ea7
JM
147932013-09-24 Joseph Myers <joseph@codesourcery.com>
14794
14795 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14796 Expect macro.
14797 [POSIX] (pthread_attr_t): Do not require type.
14798 [POSIX] (pthread_cond_t): Likewise.
14799 [POSIX] (pthread_condattr_t): Likewise.
14800 [POSIX] (pthread_key_t): Likewise.
14801 [POSIX] (pthread_mutex_t): Likewise.
14802 [POSIX] (pthread_mutexattr_t): Likewise.
14803 [POSIX] (pthread_once_t): Likewise.
14804 [POSIX] (pthread_t): Likewise.
14805 [POSIX-based standards] (pthread_atfork): Expect function.
14806
6055173a
JM
148072013-09-24 Joseph Myers <joseph@codesourcery.com>
14808 Richard Sandiford <richard@codesourcery.com>
14809
14810 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14811 (swap_endianness_p): New extern variable.
14812 (set_big_endian): New inline function.
14813 (maybe_swap_uint32): Likewise.
14814 (maybe_swap_uint32_array): Likewise.
14815 (maybe_swap_uint32_obstack): Likewise.
14816 * locale/programs/locfile.c: Include <stdbool.h>.
14817 (swap_endianness_p): New variable.
14818 (add_locale_uint32): Call maybe_swap_uint32.
14819 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14820 (write_locale_data): Call maybe_swap_uint32_array.
14821 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14822 maybe_swap_uint32.
14823 (obstack_int32_grow_fast): Likewise.
14824 (output_weightwc): Call maybe_swap_uint32_obstack.
14825 (collate_output): Likewise.
14826 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14827 (OPT_LITTLE_ENDIAN): Likewise.
14828 (options): Add --little-endian and --big-endian options.
14829 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14830 * locale/programs/locarchive.c: Include "locfile.h".
14831 (GET): New macro.
14832 (SET): Likewise.
14833 (INC): Likewise.
14834 (create_archive): Use the new macros to access fields of
14835 structures directly mapped from or written to locale archives.
14836 (oldlocrecentcmp): Likewise.
14837 (enlarge_archive): Likewise.
14838 (insert_name): Likewise.
14839 (add_alias): Likewise.
14840 (add_locale): Likewise.
14841 (delete_locales_from_archive): Likewise.
14842 (show_archive_content): Likewise.
14843 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14844 locale data.
14845
39bf0bb4
RM
148462013-09-24 Roland McGrath <roland@hack.frob.com>
14847
14848 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14849 http://www.gnu.org/doc/freemanuals.texi.
14850 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14851
f02eed10
WN
148522013-09-24 Will Newton <will.newton@linaro.org>
14853
14854 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14855 macro.
14856
a3a6c312
JM
148572013-09-23 Joseph Myers <joseph@codesourcery.com>
14858
14859 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14860 unsigned char.
14861
107375ac
MR
148622013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14863
14864 * manual/threads.texi (POSIX Threads): Fix a typo.
14865
141f3a77
SP
148662013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14867
303e567a
SP
14868 [BZ #14547]
14869 * string/tst-strcoll-overflow.c: New test case.
14870 * string/Makefile (xtests): Add tst-strcoll-overflow.
14871 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14872 cache if string sizes may cause integer overflow.
14873
141f3a77
SP
14874 [BZ #14547]
14875 * string/strcoll_l.c (coll_seq): New members rule, idx,
14876 save_idx and back_us.
14877 (get_next_seq_nocache): New function.
14878 (do_compare_nocache): New function.
14879 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14880 when malloc fails.
14881
c61b4d41
CD
148822013-09-23 Carlos O'Donell <carlos@redhat.com>
14883
0b1f8e35
CD
14884 [BZ #15754]
14885 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14886 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14887 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14888
c61b4d41
CD
14889 [BZ #15754]
14890 * elf/Makefile (tests): Add tst-ptrguard1.
14891 (tests-static): Add tst-ptrguard1-static.
14892 (tst-ptrguard1-ARGS): Define.
14893 (tst-ptrguard1-static-ARGS): Define.
14894 * elf/tst-ptrguard1.c: New file.
14895 * elf/tst-ptrguard1-static.c: New file.
14896 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14897 * sysdeps/i386/stackguard-macros.h: Likewise.
14898 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14899 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14900 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14901 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14902 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14903 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14904
149052013-09-23 Hector Marco <hecmargi@upv.es>
14906 Ismael Ripoll <iripoll@disca.upv.es>
14907 Carlos O'Donell <carlos@redhat.com>
14908
14909 [BZ #15754]
14910 * sysdeps/generic/stackguard-macros.h: Define
14911 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14912 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14913 Define __pointer_chk_guard_local.
14914 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14915 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14916
f5f4e7b4
VV
149172013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14918
14919 [BZ #15859]
14920 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14921
5bb43a43
AS
149222013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14923
14924 * include/string.h (__ffs): Declare as hidden.
14925 * string/ffs.c (__ffs): Define as hidden.
14926 * sysdeps/i386/ffs.c (__ffs): Likewise.
14927 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14928 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14929 * sysdeps/s390/ffs.c (__ffs): Likewise.
14930 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14931
3ea5be54
AO
149322013-09-20 Alexandre Oliva <aoliva@redhat.com>
14933
ffb89e53
AO
14934 * NEWS: Mention malloc probes.
14935
322dea08
AO
14936 * malloc/arena.c (new_heap): New memory_heap_new probe.
14937 (grow_heap): New memory_heap_more probe.
14938 (shrink_heap): New memory_heap_less probe.
14939 (heap_trim): New memory_heap_free probe.
14940 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14941 (systrim): New memory_sbrk_less probe.
14942 * manual/probes.texi: Document them.
14943
655673f3
AO
14944 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14945 * manual/probes.texi: Document it.
14946
35fed6f1
AO
14947 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14948 (__libc_realloc): Add memory_realloc_retry probe.
14949 (__libc_memalign): Add memory_memalign_retry probe.
14950 (__libc_valloc): Add memory_valloc_retry probe.
14951 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14952 (__libc_calloc): Add memory_calloc_retry probe.
14953 * manual/probes.texi: Document them.
14954
6999d38c
AO
14955 * malloc/arena.c (get_free_list): Add probe
14956 memory_arena_reuse_free_list.
14957 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14958 and memory_arena_reuse.
14959 (arena_get2) [!PER_THREAD]: Likewise.
14960 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14961 memory_arena_reuse_realloc.
14962 * manual/probes.texi: Document them.
14963
0653427f
AO
14964 * malloc/malloc.c (__libc_free): Add
14965 memory_mallopt_free_dyn_thresholds probe.
14966 (__libc_mallopt): Add multiple memory_mallopt probes.
14967 * manual/probes.texi: Document them.
14968
3ea5be54
AO
14969 * malloc/malloc.c: Include stap-probe.h.
14970 (__libc_mallopt): Add memory_mallopt probe.
14971 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14972 * manual/probes.texi: New.
14973 * manual/Makefile (chapters): Add probes.
14974 * manual/threads.texi: Set next node.
14975
e35696c3 149762013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 14977
e35696c3
CL
14978 [BZ #15963, #13985]
14979 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14980 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14981 Add `Chinese' to `nan' entry name.
14982
4aafb73c
SP
149832013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14984
14985 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14986 (POLYNOMIAL): Likewise.
14987 (TAYLOR_SINCOS): Likewise.
14988 (TAYLOR_SLOW): Likewise.
14989 (__sin): Use TAYLOR_SINCOS.
14990 (__cos): Likewise.
14991 (slow): Use TAYLOR_SLOW.
14992 (sloww): Likewise.
14993 (bsloww): Likewise.
14994 (csloww): Likewise.
14995
d84f25c7
LD
149962013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14997
14998 * stdlib/strtod_l.c: Fix buffer overrun.
14999
5eea0404
SP
150002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15001
7849ff93
SP
15002 * benchtests/Makefile (bench): Add sincos.
15003 * benchtests/bench-sincos.c: New file.
15004
cfa3c886
SP
15005 * math/libm-test.inc (cos_test_data): New test inputs.
15006 (sin_test_data): Likewise.
15007
b348e1e3
SP
15008 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15009 macro.
15010 (__sin): Use it.
15011 (__cos): Likewise.
15012 (slow1): Likewise.
15013 (slow2): Likewise.
15014 (sloww1): Likewise.
15015 (sloww2): Likewise.
15016 (bsloww1): Likewise.
15017 (bsloww2): Likewise.
15018 (cslow2): Likewise.
15019 (csloww1): Likewise.
15020 (csloww2): Likewise.
15021
6cce25f8
SP
15022 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15023 function.
15024 (__sin): Use it.
15025 (__cos): Likewise.
15026
5eea0404
SP
15027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15028 gotos.
15029 (__cos): Likewise.
15030
9c21573c
MR
150312013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15032
15033 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15034 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15035 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15036 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15037 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15038 * elf/cache.c (print_entry): Handle the new cache flags.
15039
24d22e65
JM
150402013-09-18 Joseph Myers <joseph@codesourcery.com>
15041 Aldy Hernandez <aldyh@redhat.com>
15042
15043 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15044 Change condition to [_SOFT_FLOAT].
15045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15057 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15060 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15061 declaration.
15062
d13ef066
JM
150632013-09-18 Joseph Myers <joseph@codesourcery.com>
15064
2e071de0
JM
15065 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15066 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15067 (__longjmp): Use LOAD_GP to load saved GPRs.
15068 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15069 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15070 (__sigsetjmp): Use SAVE_GP to save GPRs.
15071
d13ef066
JM
15072 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15073 Do not append -msoft-float.
15074 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15075
97a0650b
SP
150762013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15077
15078 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15079
11ca09e9
JM
150802013-09-17 Joseph Myers <joseph@codesourcery.com>
15081
15082 [BZ #15966]
15083 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15084 (_FPU_GETCW): Use initial "__" on variable and field names but not
15085 on macro parameter name.
15086 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15087 parentheses around reference to macro parameter.
15088
08ffcf34
RS
150892013-09-13 Richard Sandiford <richard@codesourcery.com>
15090
15091 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15092 prototype.
15093 (ctype_startup): Use uint32_t in cast and sizeof for
15094 ctype->charnames.
15095
ae7080d3
JL
150962013-09-11 Jia Liu <proljc@gmail.com>
15097
15098 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15099 __daddr_t_defined.
15100 [__FreeBSD__]: Likewise.
15101
5905e7b3
OB
151022013-09-11 Ondřej Bílka <neleai@seznam.cz>
15103
15104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15105 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15106 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15107 (strchr): Remove __strchr_sse42 ifunc selection.
15108 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15109 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15110
b987c776
WN
151112013-09-11 Will Newton <will.newton@linaro.org>
15112
15113 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15114 parameter to RES. Remove hardcoded 1000 value.
15115 * benchtests/bench-skeleton.c (main): Pass RES parameter
15116 to TIMING_INIT and multiply result by 1000.
15117
ddf985af
AZ
151182013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15119
15120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15121
ffdd3181
AS
151222013-09-11 Andreas Schwab <schwab@suse.de>
15123
15124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15125 if not defined.
15126 (O_TMPFILE) [__USE_GNU]: Define.
15127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15128 Define.
15129
b73ed247
WN
151302013-09-11 Will Newton <will.newton@linaro.org>
15131
15132 [BZ #15857]
15133 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15134 does not overflow.
15135
55e17aad
WN
151362013-09-11 Will Newton <will.newton@linaro.org>
15137
15138 [BZ #15856]
15139 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15140 does not overflow.
15141
1159a193
WN
151422013-09-11 Will Newton <will.newton@linaro.org>
15143
15144 [BZ #15855]
15145 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15146 does not overflow.
15147
5905e7b3 151482013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15149
15150 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15151 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15155
cdfc721b
AM
151562013-09-10 Allan McRae <allan@archlinux.org>
15157
aa04af00
AM
15158 [BZ #15748]
15159 * manual/arith.texi (Parsing of Floats): Clarify
15160 cross-reference.
15161
cdfc721b
AM
15162 [BZ #15849]
15163 * manual/install.texi (Running make install): Mention
15164 --enable-pt-chown.
15165 * INSTALL: Regenerated.
15166
95e7cf29
MR
151672013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15168
15169 * csu/init-first.c (_init): Remove the !SHARED condition around
15170 FPU control word initialization.
15171 * elf/dl-support.c (_dl_fpu_control): New variable.
15172 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15173 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15174 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15175 * math/test-fpucw-static.c: New file.
15176 * math/test-fpucw-ieee.c: New file.
15177 * math/test-fpucw-ieee-static.c: New file.
15178 * math/Makefile (tests): Add `test-fpucw-ieee' and
15179 `$(tests-static)'.
15180 (tests-static): New variable.
15181 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15182 dependency to...
15183 [($(build-shared),yes)]
15184 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15185 ... this.
15186 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15187 New dependency.
15188
83e43bf0
AM
151892013-09-09 Allan McRae <allan@archlinux.org>
15190
a9f5ce09
AM
15191 [BZ #15939]
15192 * manual/string.texi (Collation Functions): Fix typo in
15193 strcoll example.
15194 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15195
34829bc2
AM
15196 [BZ #15893]
15197 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15198
3932737d
AM
15199 [BZ #15892]
15200 * libio/memstream.c (open_memstream): Fix memory leak.
15201 * libio/wmemstream.c (open_wmemstream): Likewise.
15202
83e43bf0
AM
15203 [BZ #15895]
15204 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15205
0c66b8e9
WN
152062013-09-09 Will Newton <will.newton@linaro.org>
15207
15208 * malloc/Makefile: Add tst-realloc to tests.
15209 * malloc/tst-realloc.c: New file.
15210
f6b00fd1
AM
152112013-09-09 Allan McRae <allan@archlinux.org>
15212
15213 [BZ #15844]
15214 * COPYING: Update from GNU website to fix FSF address.
15215 * COPYING.LIB: Likewise.
15216
eec55e16
DM
152172013-09-06 David S. Miller <davem@davemloft.net>
15218
15219 * po/zh_TW.po: Update Chinese (traditional) translation from
15220 translation project.
15221
1ecbb381
RS
152222013-09-06 Richard Sandiford <richard@codesourcery.com>
15223 Joseph Myers <joseph@codesourcery.com>
15224
15225 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15226 "localeinfo.h".
15227 (obstack_chunk_alloc): New macro.
15228 (obstack_chunk_free): Likewise.
15229 (record_offset): New function.
15230 (init_locale_data): Likewise.
15231 (align_locale_data): Likewise.
15232 (add_locale_empty): Likewise.
15233 (add_locale_raw_data): Likewise.
15234 (add_locale_raw_obstack): Likewise.
15235 (add_locale_string): Likewise.
15236 (add_locale_wstring): Likewise.
15237 (add_locale_uint32): Likewise.
15238 (add_locale_uint32_array): Likewise.
15239 (add_locale_char): Likewise.
15240 (start_locale_structure): Likewise.
15241 (end_locale_structure): Likewise.
15242 (start_locale_prelude): Likewise.
15243 (end_locale_prelude): Likewise.
15244 (write_locale_data): Take locale_file structure rather than an
15245 iovec.
15246 * locale/programs/locfile.h: Include "obstack.h".
15247 (struct locale_file): Change to store locale file contents instead
15248 of header.
15249 (init_locale_data): New prototype.
15250 (align_locale_data): Likewise.
15251 (add_locale_empty): Likewise.
15252 (add_locale_raw_data): Likewise.
15253 (add_locale_raw_obstack): Likewise.
15254 (add_locale_string): Likewise.
15255 (add_locale_wstring): Likewise.
15256 (add_locale_uint32): Likewise.
15257 (add_locale_uint32_array): Likewise.
15258 (add_locale_char): Likewise.
15259 (start_locale_structure): Likewise.
15260 (end_locale_structure): Likewise.
15261 (start_locale_prelude): Likewise.
15262 (end_locale_prelude): Likewise.
15263 (write_locale_data): Update prototype.
15264 * locale/programs/3level.h (struct TABLE): Remove result field.
15265 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15266 Use new locale_file interface.
15267 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15268 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15269 * locale/programs/ld-address.c (address_output): Use new
15270 locale_file interface.
15271 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15272 NO_ADD_LOCALE.
15273 (collate_finish): Don't call collseq_table_finalize.
15274 (collate_output): Use new locale_file interface.
15275 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15276 in file.
15277 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15278 (TABLE): Move defines earlier in file.
15279 (ELEMENT): Likewise.
15280 (DEFAULT): Likewise.
15281 (wctrans_table_add): Move macro and inline function earlier in
15282 file.
15283 (struct wctype_table): Move type earlier in file.
15284 (add_locale_wctype_table): New static prototype.
15285 (struct locale_ctype_t): Use logical types instead of struct iovec
15286 pointers for members.
15287 (ctype_output): Use new locale_file interface.
15288 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15289 new locale_file interface.
15290 (allocate_arrays): Update for use of new locale_file interface.
15291 * locale/programs/ld-identification.c (identification_output): Use
15292 new locale_file interface.
15293 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15294 * locale/programs/ld-messages.c (messages_output): Likewise.
15295 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15296 * locale/programs/ld-name.c (name_output): Likewise.
15297 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15298 * locale/programs/ld-paper.c (paper_output): Likewise.
15299 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15300 * locale/programs/ld-time.c (time_output): Likewise.
15301
e029e2e5
AZ
153022013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15303
15304 * benchtests/Makefile: Add memrchr benchmark.
15305 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15306 benchmark as memrchr.
15307 * benchtests/bench-memrchr-ifunc.c: New file.
15308 * benchtests/bench-memrchr.c: New file.
15309
bbf6e8e4
WN
153102013-09-06 Will Newton <will.newton@linaro.org>
15311
15312 * benchtests/Makefile (string-bench): Add memcpy.
15313
6c82a2f8
CD
153142013-09-05 Carlos O'Donell <carlos@redhat.com>
15315 Cong Wang <amwang@redhat.com>
15316
e732c5f0 15317 [BZ #15850]
6c82a2f8
CD
15318 * sysdeps/unix/sysv/linux/bits/in.h
15319 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15320 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15321 before __USE_KERNEL_IPV6_DEFS uses.
15322 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15323 IPPROTO_BEETPH.
15324 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15325 sockaddr_in6, or ipv6_mreq.
15326
5430fc65
AZ
153272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15328
15329 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15330 memory access for final bytes in some large inputs.
15331 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15332
4660856c
AZ
153332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15334
15335 * string/test-memrchr.c: New file.
15336 * string/test-memrchr-ifunc.c: New file.
15337 * string/Makefile: Add new memrchr testcase.
15338
bb8ea713
MF
153392013-09-05 Mike Frysinger <vapier@gentoo.org>
15340
15341 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15342 fanotify_init returns EPERM.
15343
b92a20b5
JM
153442013-09-04 Joseph Myers <joseph@codesourcery.com>
15345
15346 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15347 errors.
15348 (top level): Treat second token from macro or constant entries for
15349 allowed headers as allowed.
15350 * include/complex.h: Condition internal declarations on
15351 [!_ISOMAC].
15352 * include/fenv.h: Condition include of <stdbool.h> and internal
15353 declarations on [!_ISOMAC].
7447ccd9
CL
15354
153552013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15356
3e181dda 15357 [BZ #15923]
7447ccd9
CL
15358 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15359
3f2e46a4
JM
153602013-09-04 Joseph Myers <joseph@codesourcery.com>
15361
15362 * configure.in (--enable-versioning): Remove configure option.
15363 (libc_cv_asm_symver_directive): Remove configure test.
15364 (libc_cv_ld_version_script_option): Likewise.
15365 (VERSIONING): Remove variable and AC_SUBST.
15366 (DO_VERSIONING): Remove AC_DEFINE.
15367 * configure: Regenerated.
15368 * config.h.in (DO_VERSIONING): Remove macro.
15369 * Makerules [$(versioning) = yes]: Change conditionals to
15370 [$(build-shared) = yes].
15371 * config.make.in (versioning): Remove variable.
15372 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15373 [$(build-shared) = yes].
15374 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15375 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15376 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15377 [$(build-shared) = yes].
15378 * extra-lib.mk [$(versioning) = yes]: Likewise.
15379 * hurd/Makefile [$(versioning) = yes]: Likewise.
15380 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15381 [SHARED].
15382 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15383 [SHARED].
15384 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15385 [SHARED && !NO_HIDDEN].
15386 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15387 [SHARED].
15388 [SHARED && DO_VERSIONING]: Likewise..
15389 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15390 [$(build-shared) = yes].
15391 * manual/install.texi (--disable-versioning): Remove
15392 documentation.
15393 * INSTALL: Regenerated.
15394 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15395 to [SHARED].
15396 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15397 [$(build-shared) = yes].
15398 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15399 * sysdeps/i386/i686/multiarch/strstr-c.c
15400 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15401 [SHARED && !NO_HIDDEN].
15402 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15403 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15404 * sysdeps/powerpc/powerpc32/dl-machine.c
15405 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15406 * sysdeps/powerpc/powerpc32/sysdep.h
15407 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15408 to [SHARED && PIC && !NO_HIDDEN].
15409 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15410 conditional to [SHARED].
15411
44558701
WN
154122013-09-04 Will Newton <will.newton@linaro.org>
15413
15414 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15415 * benchtests/bench-string.h: Include bench-timing.h instead
15416 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15417 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15418 call to HP_TIMING_DIFF_INIT.
15419 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15420 instead of hp-timing.h macros.
15421 * benchtests/bench-memchr.c: Likewise.
15422 * benchtests/bench-memcmp.c: Likewise.
15423 * benchtests/bench-memcpy.c: Likewise.
15424 * benchtests/bench-memmem.c: Likewise.
15425 * benchtests/bench-memmove.c: Likewise.
15426 * benchtests/bench-memset.c: Likewise.
15427 * benchtests/bench-rawmemchr.c: Likewise.
15428 * benchtests/bench-strcasecmp.c: Likewise.
15429 * benchtests/bench-strcasestr.c: Likewise.
15430 * benchtests/bench-strcat.c: Likewise.
15431 * benchtests/bench-strchr.c: Likewise.
15432 * benchtests/bench-strcmp.c: Likewise.
15433 * benchtests/bench-strcpy.c: Likewise.
15434 * benchtests/bench-strcpy_chk.c: Likewise.
15435 * benchtests/bench-strlen.c: Likewise.
15436 * benchtests/bench-strncasecmp.c: Likewise.
15437 * benchtests/bench-strncat.c: Likewise.
15438 * benchtests/bench-strncmp.c: Likewise.
15439 * benchtests/bench-strncpy.c: Likewise.
15440 * benchtests/bench-strnlen.c: Likewise.
15441 * benchtests/bench-strpbrk.c: Likewise.
15442 * benchtests/bench-strrchr.c: Likewise.
15443 * benchtests/bench-strspn.c: Likewise.
15444 * benchtests/bench-strstr.c: Likewise.
15445
cae16d66
WN
154462013-09-04 Will Newton <will.newton@linaro.org>
15447
15448 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15449
ffa3cd7f
JM
154502013-09-03 Joseph Myers <joseph@codesourcery.com>
15451
15452 [BZ #15427]
15453 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15454 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15455 * math/libm-test.inc (lgamma_test_data): Add more tests.
15456 * sysdeps/i386/fpu/libm-test-ulps: Update.
15457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458
8f02859f
OB
154592013-09-03 Ondřej Bílka <neleai@seznam.cz>
15460
15461 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15463 Add ifunc.
15464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15465 Add strcmp-sse2-unaligned
15466 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15467
18d43716
MF
154682013-09-02 Mike Frysinger <vapier@gentoo.org>
15469
15470 * Versions.def (libc): Add GLIBC_2.19.
15471
ac444012
MF
154722013-09-02 Mike Frysinger <vapier@gentoo.org>
15473
15474 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15475 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15476
b7835e32
JM
154772013-09-02 Joseph Myers <joseph@codesourcery.com>
15478
15479 [BZ #14155]
15480 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15481 intermediate calculations in recurrence.
15482 (__ieee754_ynf): Likewise.
15483 * math/libm-test.inc (jn_test_data): Do not allow spurious
15484 underflow exception. Add more tests.
15485 (yn_test_data): Add more tests.
15486 * sysdeps/i386/fpu/libm-test-ulps: Update.
15487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15488
8220f4f0
OB
154892013-09-02 Ondřej Bílka <neleai@seznam.cz>
15490
15491 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15492
f24a6d08
OB
154932013-08-30 Ondřej Bílka <neleai@seznam.cz>
15494
15495 * csu/init-first.c: Fix then/than typos.
15496 * locale/programs/ld-collate.c: Likewise.
15497 * locale/programs/linereader.h: Likewise.
15498 * manual/charset.texi: Likewise.
15499 * manual/filesys.texi: Likewise.
15500 * manual/stdio.texi: Likewise.
15501 * manual/string.texi: Likewise.
15502 * stdlib/fmtmsg.c: Likewise.
15503 * sysdeps/i386/stpncpy.S: Likewise.
15504 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15505 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15507 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15508
382466e0
OB
155092013-08-30 Ondřej Bílka <neleai@seznam.cz>
15510
15511 * elf/dl-open.c: Fix typos.
15512 * iconvdata/gbbig5.c: Likewise.
15513 * iconvdata/iso-2022-jp.c: Likewise.
15514 * iconv/gconv_int.h: Likewise.
15515 * iconv/loop.c: Likewise.
15516 * nis/rpcsvc/nis.h: Likewise.
15517 * resolv/ns_name.c: Likewise.
15518 * stdio-common/vfscanf.c: Likewise.
15519 * streams/stropts.h: Likewise.
15520 * sunrpc/rpc_thread.c: Likewise.
15521 * sysdeps/i386/strpbrk.S: Likewise.
15522 * sysdeps/ieee754/k_standard.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15525 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15526 * sysdeps/mach/hurd/profil.c: Likewise.
15527 * sysdeps/s390/dl-procinfo.h: Likewise.
15528 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15529 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15530 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15531 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15532 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15533
0186c6e9
OB
155342013-08-30 Ondřej Bílka <neleai@seznam.cz>
15535
15536 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15538
d4e16af1
OB
155392013-08-29 Ondřej Bílka <neleai@seznam.cz>
15540
15541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15542 aix specific files.
15543 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15547 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15548 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15549 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15550 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15551
88335980
TS
155522013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15553 Roland McGrath <roland@hack.frob.com>
15554
15555 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15556 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15557
ed479b02
ST
155582013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15559
15560 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15561 __executable_start symbol instead of _start.
15562
f1cc4c86
TS
155632013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15564
d821f07c
TS
15565 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15566 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15567 Move macros to...
15568 * sysdeps/gnu/ldsodefs.h: ... this new file.
15569
c54290cf
TS
15570 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15571 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15572 instead of ELFOSABI_LINUX.
15573
0007fc9b 15574 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
15575 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15576 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15577 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15578 Likewise.
15579 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15580 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15582 Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15584 (ibm_extended_long_double): Add ieee_nan member.
15585 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15586 (do_test): New function.
15587
f1cc4c86
TS
15588 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15589 TEST_TRUNC.
15590 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15591 functions, renamed from truncdfsf_test, trunctfsf_test,
15592 trunctfdf_test.
15593 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15594 functions.
15595 (do_test): Run all these.
15596
6f65e668
OB
155972013-08-29 Ondřej Bílka <neleai@seznam.cz>
15598
15599 * argp/argp-help.c: Fix typos.
15600 * argp/argp-parse.c: Likewise.
15601 * debug/backtracesyms.c: Likewise.
15602 * elf/elf.h: Likewise.
15603 * malloc/malloc.c: Likewise.
15604 * nis/nis_print.c: Likewise.
15605 * resolv/res_comp.c: Likewise.
15606 * stdlib/stdlib.h: Likewise.
15607 * sunrpc/clnt_tcp.c: Likewise.
15608 * sunrpc/clnt_udp.c: Likewise.
15609 * sunrpc/clnt_unix.c: Likewise.
15610 * sysdeps/unix/bsd/ptsname.c: Likewise.
15611 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15614 Likewise.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15616 Likewise.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15618 Likewise.
6f65e668
OB
15619 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15620
3a309239
SP
156212013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15622
15623 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15625
3b813b29
MF
156262013-08-27 Mike Frysinger <vapier@gentoo.org>
15627
15628 [BZ #15897]
15629 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15630 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15631 ($(objpfx)bug-dl-leaf): New rule.
15632 ($(objpfx)bug-dl-leaf.so): Likewise.
15633 ($(objpfx)bug-dl-leaf.out): Likewise.
15634 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15635 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15636 * dlfcn/bug-dl-leaf.c: New test.
15637 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15638 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15639 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15640 (dlclose): Likewise.
15641 (dlmopen): Likewise.
15642
8cc3269f
RM
156432013-08-27 Roland McGrath <roland@hack.frob.com>
15644
7f9d0034
RM
15645 * include/netdb.h [!_ISOMAC]:
15646 Don't include <tls.h>.
15647 (h_errno, __libc_h_errno): Move declaration and macros out of
15648 [_LIBC_REENTRANT].
15649
fb431262
RM
15650 * include/resolv.h [_RESOLV_H_]:
15651 Don't include <tls.h>.
15652 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15653 * resolv/res_libc.c: Don't include <tls.h>.
15654 (_res): Use __attribute__ ((nocommon)) in place of
15655 __attribute__ ((section (".bss"))).
15656
bd81123a
RM
15657 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15658 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15659
c4e42566
RM
15660 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15661
f890a59b
RM
15662 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15663 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15664
15665 * resolv/res_mkquery.c: Include <sys/time.h>.
15666
5d1f0a09
RM
15667 * inet/ifreq.c: Moved to ...
15668 * sysdeps/unix/ifreq.c: ... here.
15669 * inet/ifreq.c: New file, true stub version.
15670
6fcf28b3
RM
15671 * socket/sa_len.c: New file.
15672 * socket/Makefile (aux): Add it.
15673 * sysdeps/unix/sysv/linux/Makefile
15674 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15675 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15676 and #include <socket/sa_len.c>.
15677 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15678 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15679
e041fb8b
RM
15680 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15681 * bits/socket.h: ... here.
15682
8cc3269f
RM
15683 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15684 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15685 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15686
5d228a43
AS
156872013-08-27 Andreas Schwab <schwab@suse.de>
15688
45b8accc
AS
15689 [BZ #15736]
15690 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15691 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15692 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15693 * string/test-strcasecmp.c (test_main): Run tests in several
15694 locales.
15695 * string/test-strncasecmp.c (test_main): Likewise.
15696
5d228a43
AS
15697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15698 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15699 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15701 (__strncasecmp_ssse3) [PIC]: Likewise.
15702
59d112a4
RM
157032013-08-26 Roland McGrath <roland@hack.frob.com>
15704
53234cc3
RM
15705 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15706
59d112a4
RM
15707 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15708 instead of explicitly declaring xdecrypt.
15709 * nis/nss_nis/nis-publickey.c: Likewise.
15710
595aba70
SP
157112013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15712
15713 [BZ #15890]
15714 * nscd/aicache.c: Include res_hconf.h.
15715 (addhstaiX): Initialize res_hconf.
15716
ffabd393
AS
157172013-08-26 Andreas Schwab <schwab@suse.de>
15718
15719 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15720 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15721
e0a69f5c
SP
157222013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15723
15724 * nscd/aicache.c (addhstaiX): Fix indentation.
15725
8c12f01d
MF
157262013-08-25 Mike Frysinger <vapier@gentoo.org>
15727
15728 * configure.ac: Quote $build_pt_chown test.
15729 * configure: Regenerated.
15730
8fe89494
JM
157312013-08-23 Joseph Myers <joseph@codesourcery.com>
15732
15733 [BZ #15532]
15734 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15735 * math/s_cexpf.c (__cexpf): Likewise.
15736 * math/s_cexpl.c (__cexpl): Likewise.
15737 * math/libm-test.inc (cexp_test_data): Correct expected return
15738 value for NaN + i0. Add another test.
15739
75b181d6
DM
157402013-08-22 David S. Miller <davem@davemloft.net>
15741
15742 * po/ca.po: Update Catalan translation from translation project.
936241e4 15743 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 15744
acd06bb1
JM
157452013-08-21 Joseph Myers <joseph@codesourcery.com>
15746
15747 [BZ #15797]
15748 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15749 is infinite, not alongside NaN test.
15750 * math/s_fdimf.c (__fdimf): Likewise.
15751 * math/s_fdiml.c (__fdiml): Likewise.
15752 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15753 errno is unchanged.
15754
c0c3f78a
OB
157552013-08-21 Ondřej Bílka <neleai@seznam.cz>
15756
15757 * argp/argp-help.c: Fix typos.
15758 * crypt/speeds.c: Likewise.
15759 * csu/check_fds.c: Likewise.
15760 * elf/dl-load.c: Likewise.
15761 * elf/dl-open.c: Likewise.
15762 * elf/reldep3.c: Likewise.
15763 * elf/reldep.c: Likewise.
15764 * elf/sprof.c: Likewise.
15765 * iconv/iconv_charmap.c: Likewise.
15766 * iconv/skeleton.c: Likewise.
15767 * iconv/strtab.c: Likewise.
15768 * io/lockf64.c: Likewise.
15769 * libio/libioP.h: Likewise.
15770 * resolv/gai_notify.c: Likewise.
15771 * resolv/ns_name.c: Likewise.
15772 * resolv/ns_samedomain.c: Likewise.
15773 * resolv/res_send.c: Likewise.
15774 * stdlib/random.c: Likewise.
15775 * sunrpc/rpc/xdr.h: Likewise.
15776 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15777 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15778 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15779 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15780 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15781 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15782 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15783 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15784 * sysdeps/mach/hurd/check_fds.c: Likewise.
15785 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15786 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15789 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15790 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15791 * sysdeps/pthread/aio_notify.c: Likewise.
15792 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15793 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15794 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15796 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15797
46ed1038
LD
157982013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15799
15800 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15801 version if bit_Slow_SSE4_2 is set.
15802 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15803 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15804
d400dcac
AZ
158052013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15806
15807 [BZ #15867]
15808 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15809 trampoline stack frame information.
15810 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15811 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15812 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15813 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15814 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15815 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15816 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15817 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15818 sa_flags value.
15819 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15820 interrupting a syscall and set with option SA_SIGINFO.
15821
42c8fdd8
JM
158222013-08-20 Joseph Myers <joseph@codesourcery.com>
15823
c980f2f4
JM
15824 [BZ #15531]
15825 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15826 argument is infinite.
15827 * math/s_cprojf.c (__cprojf): Likewise.
15828 * math/s_cprojl.c (__cprojl): Likewise.
15829 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15830 * math/libm-test.inc (cproj_test_data): Add more tests.
15831
0716c4fc
JM
15832 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15833
42c8fdd8
JM
15834 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15835 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15836 size. Use __ffs to determine corresponding shift.
15837
b31469d0
JM
158382013-08-20 Joseph Myers <joseph@codesourcery.com>
15839 Roland McGrath <roland@hack.frob.com>
15840
15841 * Makefile (INSTALL): Remove trailing blank lines from output of
15842 makeinfo.
15843
4e39af6e
AK
158442013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15845
15846 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15847 Align 32 bit compat elf_greg to 8 bytes.
15848
f315524e
AA
158492013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15850
15851 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15852
1326ba1a
SP
158532013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15854
15855 * string/strcoll_l.c (coll_seq): New structure.
15856 (get_next_seq_cached): New function.
15857 (get_next_seq): New function.
15858 (do_compare): New function.
15859 (STRCOLL): Use GNU style definition. Simplify implementation
15860 by using get_next_seq, get_next_seq_cached and do_compare.
15861
91ce4085
FW
158622013-08-16 Florian Weimer <fweimer@redhat.com>
15863
15864 [BZ #14699]
15865 CVE-2013-4237
15866 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15867 member.
15868 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15869 member.
15870 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15871 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15872 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15873 conditional.
15874 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15875 GETDENTS_64BIT_ALIGNED.
15876 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15877 * manual/filesys.texi (Reading/Closing Directory): Document
15878 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15879 strongly.
15880 * manual/conf.texi (Limits for Files): Add portability note to
15881 NAME_MAX, PATH_MAX.
15882 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15883
ca0a6bc4
AS
158842013-08-13 Andreas Schwab <schwab@suse.de>
15885
15886 [BZ #15749]
15887 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15888 of fabs.
15889 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15890 LDBL_MAX_EXP >= 16384]: Add tests for it.
15891
6c1fd795
DM
158922013-08-12 David S. Miller <davem@davemloft.net>
15893
15894 * version.h (RELEASE): Set to "development".
15895 (VERSION): Set to "2.18.90".
15896 * NEWS: Add 2.19 section.
15897
31ad488d
DM
158982013-08-03 David S. Miller <davem@davemloft.net>
15899
15900 * po/ko.po: Update Korean translation from translation project.
15901
db24e684
DM
159022013-08-01 David S. Miller <davem@davemloft.net>
15903
15904 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15905 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15906 Bilka.
15907
f723285b
DM
159082013-07-30 David S. Miller <davem@davemloft.net>
15909
15910 * po/fr.po: Update French translation from translation project.
15911
3cbc52db
DM
159122013-07-28 David S. Miller <davem@davemloft.net>
15913
30bbc0cc
DM
15914 * po/cs.po: Update Czech translation from translation project.
15915
3cbc52db
DM
15916 * po/sv.po: Update Swedish translation from translation project.
15917
d492e6d0
DM
159182013-07-27 David S. Miller <davem@davemloft.net>
15919
f1a7f492
DM
15920 * po/eo.po: Update Esperanto translation from translation project.
15921
90e62a4a
DM
15922 * po/vi.po: Update Vietnamese translation from translation project.
15923
d492e6d0
DM
15924 * po/de.po: Update German translation from translation project.
15925
d4baa62d
DM
159262013-07-26 David S. Miller <davem@davemloft.net>
15927
641aa7b4
DM
15928 * po/bg.po: Update Bulgarian translation from translation project.
15929
d4baa62d
DM
15930 * po/nl.po: Update Dutch translation from translation project.
15931 * po/pl.po: Update Polish translation from translation project.
15932 * po/ru.po: Update Russian translation from translation project.
15933
61a9dcb9
DM
159342013-07-24 David S. Miller <davem@davemloft.net>
15935
15936 * po/libc.pot: Update.
15937
7b1f8b58
AZ
159382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15939
15940 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15941 variable page size.
15942 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15943 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15944 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15945
a8fc7a03
AK
159462013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15947
15948 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15949
e4608715
CD
159502013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15951 Andreas Schwab <schwab@suse.de>
15952 Roland McGrath <roland@hack.frob.com>
15953 Joseph Myers <joseph@codesourcery.com>
15954 Carlos O'Donell <carlos@redhat.com>
15955
15956 [BZ #15755]
15957 * config.h.in: Define HAVE_PT_CHOWN.
15958 * config.make.in (build-pt-chown): New variable.
15959 * configure.in (--enable-pt_chown): New configure option.
15960 * configure: Regenerate.
15961 * login/Makefile: Include Makeconfig. Build pt_chown only if
15962 build-pt-chown is enabled.
15963 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15964 pt_chown to fix pty ownership.
15965 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15966 CLOSE_ALL_FDS.
15967 * manual/install.texi (Configuring and compiling): Mention
15968 --enable-pt_chown. Add @findex for grantpt.
15969 * INSTALL: Regenerate.
15970
da2d62df
DM
159712013-07-20 David S. Miller <davem@davemloft.net>
15972
15973 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15974 difference between 32-bit and 64-bit.
15975
d7e06450
CD
159762013-07-15 Carlos O'Donell <carlos@redhat.com>
15977
15978 [BZ #15711]
15979 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15980 Avoid system header dependency with -ffreestanding.
15981 ($(objpfx)bits/syscall%d): Likewise.
15982
f959cfd7
DM
159832013-07-13 David S. Miller <davem@davemloft.net>
15984
15985 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15986 underflows from atanl/atan2l due to bug 15319.
15987 (casinh_test_data): Likewise.
15988
c61f8513
DM
159892013-07-07 David S. Miller <davem@davemloft.net>
15990
15991 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15992
72c90ed0
JA
159932013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15994
15995 * sysdeps/i386/fpu/libm-test-ulps: Update.
15996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15997
52dfbe13
SP
159982013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15999
16000 * configure.in (--enable-lock-elision): Fix message text.
16001 * INSTALL: Regenerate.
16002 * configure: Regenerate.
16003
3f169543
AZ
160042013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005
16006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16007
521c6785
AJ
160082013-07-03 Andreas Jaeger <aj@suse.de>
16009
16010 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16011 define.
16012 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16013 (ptrace_peeksiginfo_args): Add.
16014 (__ptrace_peeksiginfo_flags): Add.
16015 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16016 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16018
d2cc15cb
AM
160192013-07-03 Allan McRae <allan@archlinux.org>
16020
16021 * sysdeps/i386/fpu/libm-test-ulps: Update.
16022
3aaeeca7
DM
160232013-07-02 David S. Miller <davem@davemloft.net>
16024
16025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16026
5314ed1a
MT
160272013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16028
16029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16030
67338156
JM
160312013-07-02 Joseph Myers <joseph@codesourcery.com>
16032
16033 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16035
1717da59
AK
160362013-07-02 Andi Kleen <ak@linux.intel.com>
16037
16038 * config.h.in (ENABLE_LOCK_ELISION): Add.
16039 * configure.in (--enable-lock-elision): Add option.
16040 * manual/install.texi: Document --enable lock elision.
16041 * configure: Regenerate
16042 * INSTALL: Regenerate.
16043
1c81621c
L
160442013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16045
16046 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16047 SSE4.2 strcasecmp for libc.a.
16048 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16049
77f01ab5
JM
160502013-07-02 Joseph Myers <joseph@codesourcery.com>
16051
16052 [BZ #13304]
16053 * soft-fp/op-common.h (_FP_FMA): New macro.
16054 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16055 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16056 (_FP_MUL_MEAT_1_imm): ... here.
16057 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16058 (_FP_MUL_MEAT_1_wide): ... here.
16059 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16060 (_FP_MUL_MEAT_1_hard): ... here.
16061 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16062 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16063 (_FP_MUL_MEAT_2_wide): ... here.
16064 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16065 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16066 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16067 (_FP_MUL_MEAT_2_gmp): ... here.
16068 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16069 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16070 (_FP_MUL_MEAT_4_wide): ... here.
16071 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16072 (_FP_MUL_MEAT_4_gmp): ... here.
16073 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16074 (_FP_WFRACBITS_DW_S): Likewise.
16075 (_FP_WFRACXBITS_DW_S): Likewise.
16076 (_FP_HIGHBIT_DW_S): Likewise.
16077 (FP_FMA_S): Likewise.
16078 (_FP_FRAC_HIGH_DW_S): Likewise.
16079 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16080 (_FP_WFRACBITS_DW_D): Likewise.
16081 (_FP_WFRACXBITS_DW_D): Likewise.
16082 (_FP_HIGHBIT_DW_D): Likewise.
16083 (FP_FMA_D): Likewise.
16084 (_FP_FRAC_HIGH_DW_D): Likewise.
16085 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16086 (_FP_WFRACBITS_DW_E): Likewise.
16087 (_FP_WFRACXBITS_DW_E): Likewise.
16088 (_FP_HIGHBIT_DW_E): Likewise.
16089 (FP_FMA_E): Likewise.
16090 (_FP_FRAC_HIGH_DW_E): Likewise.
16091 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16092 (_FP_WFRACBITS_DW_Q): Likewise.
16093 (_FP_WFRACXBITS_DW_Q): Likewise.
16094 (_FP_HIGHBIT_DW_Q): Likewise.
16095 (FP_FMA_Q): Likewise.
16096 (_FP_FRAC_HIGH_DW_Q): Likewise.
16097 * soft-fp/fmasf4.c: New file.
16098 * soft-fp/fmadf4.c: Likewise.
16099 * soft-fp/fmatf4.c: Likewise.
16100
6308fd9a
LD
161012013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16102
16103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16104 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16105 Silvermont.
16106 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16107 macro.
16108 (index_Slow_SSE4_2): Likewise.
16109 (index_Prefer_PMINUB_for_stringop): Likewise.
16110 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16111 bit_Slow_SSE4_2 is set.
16112 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16114
89cd9569
RA
161152013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16116
16117 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16118 rtld_global._dl_hwcap2.
16119 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16120 POWER8.
16121 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16122 POWER8 feature descriptions defined in _dl_hwcap2.
16123 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16124 string handling for POWER8 feature bits.
16125 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16126 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16127 _dl_powerpc_cap_flags.
16128 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16129 * sysdeps/powerpc/rtld-global-offsets.sym
16130 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16131 _dl_hwcap2 in the rtld_global_ro structure.
16132
1ae8bfe0
RA
161332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16134
16135 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16136 hardware capabilities in support of AT_HWCAP2.
16137 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16138 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16139 GLRO(dl_hwcap2).
16140 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16141 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16142 explicitly the unknown a_type display mechanism is used.
16143 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16144 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16145 struct member.
16146 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16147 to macro prototype for AT_HWCAP2 support.
16148 * sysdeps/i386/dl-procinfo.h: Likewise.
16149 * sysdeps/s390/dl-procinfo.h: Likewise.
16150 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16151 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16152 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16153 return -1 for unknown a_type display fallback.
16154 * sysdeps/sparc/dl-procinfo.h: Likewise.
16155 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16156 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16157
8fbec010
JM
161582013-06-28 Joseph Myers <joseph@codesourcery.com>
16159
16160 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16161 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16162
0432680e
PY
161632013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16164
16165 [BZ #12492]
16166 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16167 mprotect making __stack_prot writable.
16168
ce61a2ad
NF
161692013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16170 Joseph Myers <joseph@codesourcery.com>
16171
16172 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16173 as being properly aligned.
16174
f91f1c0f
MR
161752013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16176
3d0f5d0c
MR
16177 * dlfcn/modstatic5.c: New file.
16178 * dlfcn/tststatic5.c: New file.
16179 * dlfcn/Makefile (tests): Add tststatic5.
16180 (tests-static): Likewise.
16181 (modules-names): Add modstatic5.
16182 (tststatic5-ENV): New variable.
16183 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16184
f91f1c0f
MR
16185 [BZ #15022]
16186 * elf/dl-support.c (_dl_main_map): New variable.
16187 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16188 (_dl_nns, _dl_load_adds): Set to 1.
16189 (_dl_initial_searchlist): Refer to _dl_main_map.
16190 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16191 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16192 call to _dl_get_origin.
16193 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16194 around call_map.
16195 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16196 * dlfcn/modstatic3.c: New file.
16197 * dlfcn/tststatic3.c: New file.
16198 * dlfcn/tststatic4.c: New file.
16199 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16200 (tests-static): Likewise.
16201 (modules-names): Add modstatic3.
16202 (tststatic3-ENV, tststatic4-ENV): New variables.
16203 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16204 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16205
cbe7d24b
JM
162062013-06-26 Joseph Myers <joseph@codesourcery.com>
16207
16208 * configure.in (CC): Require GCC version 4.4 or later.
16209 * configure: Regenerated.
16210 * manual/install.texi (Tools for Compilation): Update GCC version
16211 requirement.
16212 * INSTALL: Regenerated.
16213
11b8a0e1
LD
162142013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16215
16216 [BZ #15674]
bb5bb87c
L
16217 * string/test-memcmp.c (check2): New.
16218 (main): Call check2.
16219
11b8a0e1
LD
16220 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16221
b0037103
MR
162222013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16223
16224 [BZ #15022]
16225 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16226 over to...
16227 (dl_open_worker) [!SHARED]: ... here.
16228
c18c701d
RA
162292013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16230
16231 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16232
1d17fa5f
RH
162332013-06-25 Richard Henderson <rth@redhat.com>
16234
16235 * locale/programs/locarchive.c: Include <libc-internal.h>
16236
8fcb833a
JM
162372013-06-25 Joseph Myers <joseph@codesourcery.com>
16238
16239 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16240 trailing whitespace removed.
16241
17db6e8d
MF
162422013-06-24 Mike Frysinger <vapier@gentoo.org>
16243
16244 [BZ #10283]
17db6e8d
MF
16245 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16246 * locale/programs/locarchive.c: Include libc-mmap.h.
16247 (prepare_address_space): Take two new outputs (the mmap base and len).
16248 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16249 values.
16250 (create_archive): Declare new mmap base and len values for
16251 prepare_address_space, and store the result in ah.
16252 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16253 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16254 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16255 Declare new mmap base and len values for
16256 prepare_address_space, and store the result in new_ah.
16257 (open_archive): Declare new mmap base and len values for
16258 prepare_address_space, and store the result in ah.
16259 (close_archive): If ah->mmap_base is not NULL, use that and
16260 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16261 * sysdeps/generic/libc-mmap.h: New file.
16262
d605071e
MF
162632013-06-24 Mike Frysinger <vapier@gentoo.org>
16264
16265 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16266 (ALIGN_UP): Likewise.
16267 (PTR_ALIGN_DOWN): Likewise.
16268 (PTR_ALIGN_UP): Likewise.
16269
2f063a6e
RA
162702013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16271
16272 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16273 entry mapped to PPC_PLATFORM_POWER8.
16274 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16275 POWER8.
16276 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16277 (_dl_string_platform): Add case for exporting platform position for
16278 POWER8.
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16280 search path to sysdeps/powerpc/powerpc32/power8 directory.
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16282 search path to sysdeps/powerpc/powerpc64/power8 directory.
16283 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16284 power7 directories.
16285 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16286 power7 directories.
16287
a31ee4b3
SP
162882013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16289
a74ca98f
SP
16290 * INSTALL: Regenerate.
16291
a31ee4b3
SP
16292 * nscd/connections.c (nscd_init): Fix comment.
16293
695c378f
JM
162942013-06-22 Joseph Myers <joseph@codesourcery.com>
16295
d8412221
JM
16296 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16297
695c378f
JM
16298 [BZ #15667]
16299 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16300 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16301
d1d54715
MR
163022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16303
16304 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16305 DL_DST_REQ_STATIC.
16306 (DL_DST_REQ_STATIC): Remove macro.
16307
8fdda7af
JM
163082013-06-21 Joseph Myers <joseph@codesourcery.com>
16309
16310 [BZ #7006]
16311 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16312 with a shift of 0 bits.
16313
f3bc5e5a
MR
163142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16315
16316 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16317 $(tststatic-ENV).
16318
be09e8c9
KK
163192013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16320
16321 [BZ #15655]
16322 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16323
85c2e611
AZ
163242013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16325
16326 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16327 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16328 accepts -fno-tree-loop-distribute-patterns.
16329 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16330 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16331 recursive call.
16332 * string/memset.c (memset): Likewise.
16333 * string/test-memmove.c (simple_memmove): Disable loop transformation
16334 to library calls.
16335 * string/test-memset.c (simple_memset): Likewise.
16336 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16337 * benchtests/bench-memset.c (simple_memset): Likewise.
16338 * configure: Regenerated.
16339
c91e0825
JM
163402013-06-20 Joseph Myers <joseph@codesourcery.com>
16341
b8c792af
JM
16342 * math/test-misc.c (main): Ignore fesetround failure when failures
16343 of subsequent rounding tests would be ignored.
16344
c91e0825
JM
16345 [BZ #15654]
16346 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16347 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16348 * math/fegetenv.c (__fegetenv): Return 0.
16349 * math/fegetexcept.c (fegetexcept): Return 0.
16350 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16351 FE_TONEAREST.
16352 * math/feholdexcpt.c (feholdexcept): Return 0.
16353 * math/fesetenv.c (__fesetenv): Return 0.
16354 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16355 argument FE_TONEAREST.
16356 * math/feupdateenv.c (__feupdateenv): Return 0.
16357 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16358
bfcacbde
RM
163592013-06-18 Roland McGrath <roland@hack.frob.com>
16360
16361 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16362 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16363 ($(objpfx)rtld-%.os rules): Use them.
16364
e55a9b25
AZ
163652013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16366
16367 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16368 fields.
16369
346d65b3
RM
163702013-06-17 Roland McGrath <roland@hack.frob.com>
16371
12086fb4
RM
16372 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16373 length of target pattern, then descending length of dependency pattern.
16374 * configure.in (AWK): Require gawk 3.1.2 or newer.
16375 * manual/install.texi (Tools for Compilation): Say that we do.
16376 * configure: Regenerated.
16377
346d65b3
RM
16378 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16379 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16380 * scripts/sysd-rules.awk: ... this new script.
16381 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16382 than a glob-style pattern.
16383
1a846317
JM
163842013-06-17 Joseph Myers <joseph@codesourcery.com>
16385
16386 * math/test-misc.c (main): Do not treat incorrectly rounded
16387 conversions as failure unless ROUNDING_TESTS passes.
16388
8fc75e6f
JM
163892013-06-15 Joseph Myers <joseph@codesourcery.com>
16390
3711a167
JM
16391 [BZ #15631]
16392 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16393 restore exception state around main square root computation, then
16394 check for inexactness explicitly.
16395
8fc75e6f
JM
16396 * math/libm-test.inc (fma_test_data): Add another test.
16397
61dd6208
SP
163982013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16399
adf23d2c
SP
16400 * manual/threads.texi (Non-POSIX Extensions): New document
16401 node. Document pthread_getattr_default_np and
16402 pthread_setattr_default_np.
16403
61dd6208
SP
16404 * Versions.def (libpthread): Add GLIBC_2.18.
16405 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16407 Likewise.
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16409 Likewise.
16410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16411 Likewise.
16412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16413 Likewise.
16414 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16415 Likewise.
16416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16417 Likewise.
16418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16419 Likewise.
16420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16421 Likewise.
16422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16423 Likewise.
16424
d086fc7b
LD
164252013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16426
16427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16428 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16429
747ef469
SP
164302013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16431 H.J. Lu <hjl.tools@gmail.com>
16432
16433 [BZ #15627]
16434 * sysdeps/x86_64/rtld-memset.c: Remove file.
16435 * sysdeps/x86_64/rtld-memset.S: New file.
16436
1b2feed2
JM
164372013-06-14 Joseph Myers <joseph@codesourcery.com>
16438
16439 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16440 (test_in_one_mode): Take arguments for whether the rounding mode
16441 is supported for each floating-point type.
16442 (do_test): Pass new arguments to test_in_one_mode using
16443 ROUNDING_TESTS.
16444
a58ad3f8
RM
164452013-06-13 Roland McGrath <roland@hack.frob.com>
16446
16447 * posix/tst-waitid.c (do_test): Distinguish different instances of
16448 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16449 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16450 before entering the kernel for waitpid.
16451
c204ab28
SP
164522013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16453
16454 * NEWS: Fix note on clock function precision. Text by Roland
16455 McGrath.
16456
f4a29fba
RM
164572013-06-13 Roland McGrath <roland@hack.frob.com>
16458
16459 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16460 it into place only when and if the sanity check passes.
16461
1f24b9ad
JM
164622013-06-13 Joseph Myers <joseph@codesourcery.com>
16463
16464 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16465 output for whether conversion result is exact. Take argument
16466 indicating whether type is IBM long double.
16467 (round_for_all): Change need_exact field to ibm_ld.
16468 * stdlib/tst-strtod-round.c (struct exactness): New type.
16469 (struct test): Change bool ld_ok field to struct exactness exact.
16470 (TEST): Update all definitions for change to field.
16471 (tests): Regenerate array contents.
16472 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16473 field value. Check for IBM long double here.
16474 (do_test): Update calls to test_in_one_mode.
16475
58206c68
SP
164762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16477
16478 [BZ #12515]
16479 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16480 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16481
2d6f4c5b 164822013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16483
16484 [BZ #15605]
16485 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16486 generated by the compiler on loop optimizations.
16487 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16488 general definitions.
16489
94f2c076
JM
164902013-06-12 Joseph Myers <joseph@codesourcery.com>
16491
16492 * math/bug-nextafter.c: Include <math-tests.h>.
16493 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16494 the relevant type.
16495 * math/bug-nexttoward.c: Include <math-tests.h>.
16496 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16497 the relevant type.
16498 * math/test-misc.c: Include <math-tests.h>.
16499 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16500 the relevant type.
16501
e0e50a0a
AJ
165022013-06-12 Andreas Jaeger <aj@suse.de>
16503
16504 * po/ia.po: Update Interlingua translation from translation
16505 project.
16506
25061094
SP
165072013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16508
16509 * include/fenv.h: Include stdbool.h.
16510 (struct rm_ctx): New structure.
16511 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16512 Define macro.
16513 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16514 (SET_RESTORE_ROUNDF): Likewise.
16515 (SET_RESTORE_ROUNDL): Likewise.
16516 (SET_RESTORE_ROUND_NOEX): Likewise.
16517 (SET_RESTORE_ROUND_NOEXF): Likewise.
16518 (SET_RESTORE_ROUND_NOEXL): Likewise.
16519 (SET_RESTORE_ROUND_53BIT): Likewise.
16520 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16521 (libc_feresetround_noexf_ctx): Likewise.
16522 (libc_feresetround_noexl_ctx): Likewise.
16523 (libc_feholdsetround_53bit_ctx): Likewise.
16524 (libc_feresetround_53bit_ctx): Likewise.
16525 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16526 (libc_feholdexcept_setround_sse_ctx): New function.
16527 (libc_fesetenv_sse_ctx): Likewise.
16528 (libc_feupdateenv_sse_ctx): Likewise.
16529 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16530 (libc_feholdexcept_setround_387_ctx): Likewise.
16531 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16532 (libc_feholdsetround_387_prec_ctx): Likewise.
16533 (libc_feholdsetround_387_ctx): Likewise.
16534 (libc_feholdsetround_387_53bit_ctx): Likewise.
16535 (libc_feholdsetround_sse_ctx): Likewise.
16536 (libc_feresetround_sse_ctx): Likewise.
16537 (libc_feresetround_387_ctx): Likewise.
16538 (libc_feupdateenv_387_ctx): Likewise.
16539 (libc_feholdexcept_setroundf_ctx): Define macro.
16540 (libc_fesetenvf_ctx): Likewise.
16541 (libc_feupdateenvf_ctx): Likewise.
16542 (libc_feholdsetroundf_ctx): Likewise.
16543 (libc_feresetroundf_ctx): Likewise.
16544 (libc_feholdexcept_setround_ctx): Likewise.
16545 (libc_fesetenv_ctx): Likewise.
16546 (libc_feupdateenv_ctx): Likewise.
16547 (libc_feholdsetround_ctx): Likewise.
16548 (libc_feresetround_ctx): Likewise.
16549 (libc_feholdexcept_setroundl_ctx): Likewise.
16550 (libc_feupdateenvl_ctx): Likewise.
16551 (libc_feholdsetroundl_ctx): Likewise.
16552 (libc_feresetroundl_ctx): Likewise.
16553 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16554 (libc_feresetround_53bit_ctx): Likewise.
16555
59b30555
SP
165562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16557
16558 * locale/iso-639.def: Convert to UTF-8.
16559
f1d73d30
JM
165602013-06-11 Joseph Myers <joseph@codesourcery.com>
16561
16562 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16563 (EXCEPTION_TESTS_double): Likewise.
16564 (EXCEPTION_TESTS_long_double): Likewise.
16565 (EXCEPTION_TESTS): Likewise.
16566 * math/libm-test.inc (test_exceptions): Only test exceptions if
16567 EXCEPTION_TESTS (FLOAT).
16568
94aca5e7
SP
165692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16570
16571 * benchtests/Makefile (string-bench): Add strcpy_chk and
16572 stpcpy_chk.
16573 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16574 * benchtests/bench-stpcpy_chk.c: New file.
16575 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16576 * benchtests/bench-strcpy_chk.c: New file.
16577 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16578 code.
16579 (do_test): Likewise.
16580
fac0c5f2
RA
165812013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16582
16583 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16584 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16585 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16586 with tabs where appropriate.
16587 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16588 dl-procinfo.h.
16589 [PPC_PLATFORM_PPC440]: Likewise.
16590 [PPC_PLATFORM_PPC464]: Likewise.
16591 [PPC_PLATFORM_PPC476]: Likewise.
16592 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16593 ppc464, and ppc476 platform strings merging from ports/
16594 dl-procinfo.h.
16595
f22bc486
AS
165962013-06-11 Andreas Schwab <schwab@suse.de>
16597
16598 [BZ #14991]
16599 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16600 (from_ucs4_idx): Regenerate.
16601 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16602 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16603 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16604 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16605 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16606 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16607 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16608 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16609 from FROM_LOOP and TO_LOOP specific macros.
16610 (BODY): Handle combining characters.
16611 * iconvdata/BIG5HKSCS.irreversible: Update.
16612 * iconvdata/BIG5HKSCS.precomposed: New file.
16613 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16614 characters.
16615 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16616
c1f75dc3
SP
166172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16618
4eacded2
SP
16619 * include/sys/time.h: Fix indentation and add copyright header.
16620
fec799f8
SP
16621 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16622 (do_test): Likewise.
16623 * string/test-memchr.c (do_one_test): Likewise.
16624 (do_test): Likewise.
16625 * string/test-memcmp.c (do_one_test): Likewise.
16626 (do_test): Likewise.
16627 * string/test-memcpy.c (do_one_test): Likewise.
16628 (do_test): Likewise.
16629 * string/test-memmem.c (do_one_test): Likewise.
16630 (do_test): Likewise.
16631 (do_random_tests): Likewise.
16632 * string/test-memmove.c (do_one_test): Likewise.
16633 (do_test): Likewise.
16634 * string/test-memset.c (do_one_test): Likewise.
16635 (do_test): Likewise.
16636 * string/test-rawmemchr.c (do_one_test): Likewise.
16637 (do_test): Likewise.
16638 * string/test-strcasecmp.c (do_one_test): Likewise.
16639 (do_test): Likewise.
16640 * string/test-strcasestr.c (do_one_test): Likewise.
16641 (do_test): Likewise.
16642 * string/test-strcat.c (do_one_test): Likewise.
16643 (do_test): Likewise.
16644 * string/test-strchr.c (do_one_test): Likewise.
16645 (do_test): Likewise.
16646 * string/test-strcmp.c (do_one_test): Likewise.
16647 (do_test): Likewise.
16648 * string/test-strcpy.c (do_one_test): Likewise.
16649 (do_test): Likewise.
16650 * string/test-string.h: Likewise.
16651 (test_init): Likewise.
16652 * string/test-strlen.c (do_one_test): Likewise.
16653 (do_test): Likewise.
16654 * string/test-strncasecmp.c (do_one_test): Likewise.
16655 (do_test): Likewise.
16656 * string/test-strncat.c (do_one_test): Likewise.
16657 (do_test): Likewise.
16658 * string/test-strncmp.c (do_one_test): Likewise.
16659 (do_test_limit): Likewise.
16660 (do_test): Likewise.
16661 * string/test-strncpy.c (do_one_test): Likewise.
16662 (do_test): Likewise.
16663 * string/test-strnlen.c (do_one_test): Likewise.
16664 (do_test): Likewise.
16665 * string/test-strpbrk.c (do_one_test): Likewise.
16666 (do_test): Likewise.
16667 * string/test-strrchr.c (do_one_test): Likewise.
16668 (do_test): Likewise.
16669 * string/test-strspn.c (do_one_test): Likewise.
16670 (do_test): Likewise.
16671 * string/test-strstr.c (do_one_test): Likewise.
16672 (do_test): Likewise.
16673
97020474
SP
16674 * benchtests/Makefile (string-bench): Add string benchmarks.
16675 * benchtests/bench-bcopy-ifunc.c: New file.
16676 * benchtests/bench-bcopy.c: New file.
16677 * benchtests/bench-bzero-ifunc.c: New file.
16678 * benchtests/bench-bzero.c: New file.
16679 * benchtests/bench-memccpy-ifunc.c: New file.
16680 * benchtests/bench-memccpy.c: New file.
16681 * benchtests/bench-memchr-ifunc.c: New file.
16682 * benchtests/bench-memchr.c: New file.
16683 * benchtests/bench-memcmp-ifunc.c: New file.
16684 * benchtests/bench-memcmp.c: New file.
16685 * benchtests/bench-memmem-ifunc.c: New file.
16686 * benchtests/bench-memmem.c: New file.
16687 * benchtests/bench-memmove-ifunc.c: New file.
16688 * benchtests/bench-memmove.c: New file.
16689 * benchtests/bench-mempcpy-ifunc.c: New file.
16690 * benchtests/bench-mempcpy.c: New file.
16691 * benchtests/bench-memset-ifunc.c: New file.
16692 * benchtests/bench-memset.c: New file.
16693 * benchtests/bench-rawmemchr-ifunc.c: New file.
16694 * benchtests/bench-rawmemchr.c: New file.
16695 * benchtests/bench-stpcpy-ifunc.c: New file.
16696 * benchtests/bench-stpcpy.c: New file.
16697 * benchtests/bench-stpncpy-ifunc.c: New file.
16698 * benchtests/bench-stpncpy.c: New file.
16699 * benchtests/bench-strcasecmp-ifunc.c: New file.
16700 * benchtests/bench-strcasecmp.c: New file.
16701 * benchtests/bench-strcasestr-ifunc.c: New file.
16702 * benchtests/bench-strcasestr.c: New file.
16703 * benchtests/bench-strcat-ifunc.c: New file.
16704 * benchtests/bench-strcat.c: New file.
16705 * benchtests/bench-strchr-ifunc.c: New file.
16706 * benchtests/bench-strchr.c: New file.
16707 * benchtests/bench-strchrnul-ifunc.c: New file.
16708 * benchtests/bench-strchrnul.c: New file.
16709 * benchtests/bench-strcmp-ifunc.c: New file.
16710 * benchtests/bench-strcmp.c: New file.
16711 * benchtests/bench-strcpy-ifunc.c: New file.
16712 * benchtests/bench-strcpy.c: New file.
16713 * benchtests/bench-strcspn-ifunc.c: New file.
16714 * benchtests/bench-strcspn.c: New file.
16715 * benchtests/bench-strlen-ifunc.c: New file.
16716 * benchtests/bench-strlen.c: New file.
16717 * benchtests/bench-strncasecmp-ifunc.c: New file.
16718 * benchtests/bench-strncasecmp.c: New file.
16719 * benchtests/bench-strncat-ifunc.c: New file.
16720 * benchtests/bench-strncat.c: New file.
16721 * benchtests/bench-strncmp-ifunc.c: New file.
16722 * benchtests/bench-strncmp.c: New file.
16723 * benchtests/bench-strncpy-ifunc.c: New file.
16724 * benchtests/bench-strncpy.c: New file.
16725 * benchtests/bench-strnlen-ifunc.c: New file.
16726 * benchtests/bench-strnlen.c: New file.
16727 * benchtests/bench-strpbrk-ifunc.c: New file.
16728 * benchtests/bench-strpbrk.c: New file.
16729 * benchtests/bench-strrchr-ifunc.c: New file.
16730 * benchtests/bench-strrchr.c: New file.
16731 * benchtests/bench-strspn-ifunc.c: New file.
16732 * benchtests/bench-strspn.c: New file.
16733 * benchtests/bench-strstr-ifunc.c: New file.
16734 * benchtests/bench-strstr.c: New file.
16735
c1f75dc3
SP
16736 * benchtests/Makefile: Disable parallel execution of targets.
16737 (string-bench): Add memcpy.
16738 (benchset): New variable to store a list of benchmark sets.
16739 (bench-func): Renamed from bench.
16740 (bench-set): New target.
16741 (bench): Depend on bench-func and bench-set.
16742 * benchtests/README: Add section on benchmark sets.
16743 * benchtests/bench-memcpy-ifunc.c: New file.
16744 * benchtests/bench-memcpy.c: New file.
16745 * benchtests/bench-string.h: New file.
16746
50fd745b
AS
167472013-06-11 Andreas Schwab <schwab@suse.de>
16748
16749 [BZ #15577]
16750 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16751 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16752 values in the triple.
16753 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16754 terminator in the group key.
16755
3ee7e9fe
AJ
167562013-06-11 Andreas Jaeger <aj@suse.de>
16757
16758 * po/zh_TW.po: Update Chinese (traditional) translation from
16759 translation project.
16760
89fb6835
SP
167612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16762
16763 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16764 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16765 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16767 (clock_getcpuclockid): Likewise.
16768 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16769 Add weak_alias and libc_hidden_def.
16770 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16771 * rt/clock_gettime.c (clock_gettime): Rename to
16772 __clock_gettime. Add weak_alias and libc_hidden_def.
16773 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16774 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16775 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16776 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16777 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16778 Likewise.
16779 * rt/clock_settime.c (clock_settime): Rename to
16780 __clock_settime. Add weak_alias and libc_hidden_def.
16781 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16782
0efa6f8b
JM
167832013-06-10 Joseph Myers <joseph@codesourcery.com>
16784
b8c61b4b
JM
16785 * mach/err_boot.sub: Remove trailing whitespace.
16786 * mach/err_ipc.sub: Likewise.
16787 * mach/err_mach.sub: Likewise.
16788
0efa6f8b
JM
16789 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16790 (ROUNDING_TESTS_double): Likewise.
16791 (ROUNDING_TESTS_long_double): Likewise.
16792 (ROUNDING_TESTS): Likewise.
16793 * math/libm-test.inc: Include <math-tests.h>.
16794 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16795 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16796 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16797 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16798
50b818bf
SP
167992013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16800
16801 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16802 of assigning.
16803
60d2f8f3
JM
168042013-06-08 Joseph Myers <joseph@codesourcery.com>
16805
4902d2c3
JM
16806 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16807 otherwise empty TRANS lines.
16808 * sysdeps/gnu/errlist.c: Regenerated.
16809
60d2f8f3
JM
16810 * catgets/gencat.c (error_print): Use (void) in function
16811 definition.
16812 * crypt/crypt_util.c (__init_des): Likewise.
16813 * crypt/speeds.c (Stop): Likewise.
16814 (main): Likewise.
16815 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16816 * inet/ruserpass.c (token): Likewise.
16817 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16818 * intl/localealias.c (extend_alias_table): Likewise.
16819 * intl/plural-exp.c (init_germanic_plural): Likewise.
16820 * libio/fcloseall.c (__fcloseall): Likewise.
16821 * libio/genops.c (_IO_flush_all): Likewise.
16822 (_IO_flush_all_linebuffered): Likewise.
16823 (_IO_cleanup): Likewise.
16824 (_IO_iter_begin): Likewise.
16825 (_IO_iter_end): Likewise.
16826 (_IO_list_lock): Likewise.
16827 (_IO_list_unlock): Likewise.
16828 (_IO_list_resetlock): Likewise.
16829 * libio/getchar.c (getchar): Likewise.
16830 * libio/getchar_u.c (getchar_unlocked): Likewise.
16831 * libio/getwchar.c (getwchar): Likewise.
16832 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16833 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16834 * login/getpt.c (__getpt): Likewise.
16835 * login/tst-utmp.c (main): Likewise.
16836 * malloc/hooks.c (__malloc_check_init): Likewise.
16837 * malloc/malloc.c (__malloc_stats): Likewise.
16838 * malloc/mtrace.c (tr_break): Likewise.
16839 (mtrace): Likewise.
16840 (muntrace): Likewise.
16841 * misc/fstab.c (endfsent): Likewise.
16842 * misc/getclktck.c (__getclktck): Likewise.
16843 * misc/getdtsz.c (__getdtablesize): Likewise.
16844 * misc/gethostid.c (gethostid): Likewise.
16845 * misc/getpagesize.c (__getpagesize): Likewise.
16846 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16847 (__get_nprocs): Likewise.
16848 (__get_phys_pages): Likewise.
16849 (__get_avphys_pages): Likewise.
16850 * misc/getttyent.c (getttyent): Likewise.
16851 (setttyent): Likewise.
16852 (endttyent): Likewise.
16853 * misc/getusershell.c (getusershell): Likewise.
16854 (endusershell): Likewise.
16855 (setusershell): Likewise.
16856 (initshells): Likewise.
16857 * misc/hsearch.c (__hdestroy): Likewise.
16858 * misc/sync.c (sync): Likewise.
16859 * misc/syslog.c (closelog_internal): Likewise.
16860 (closelog): Likewise.
16861 * misc/ttyslot.c (ttyslot): Likewise.
16862 * misc/vhangup.c (vhangup): Likewise.
16863 * posix/fork.c (__fork): Likewise.
16864 * posix/getegid.c (__getegid): Likewise.
16865 * posix/geteuid.c (__geteuid): Likewise.
16866 * posix/getgid.c (__getgid): Likewise.
16867 * posix/getpid.c (__getpid): Likewise.
16868 * posix/getppid.c (__getppid): Likewise.
16869 * posix/getuid.c (__getuid): Likewise.
16870 * posix/pause.c (pause): Likewise.
16871 * posix/setpgrp.c (setpgrp): Likewise.
16872 * posix/setsid.c (__setsid): Likewise.
16873 * posix/test-vfork.c (noop): Likewise.
16874 * resolv/gethnamaddr.c (_endhtent): Likewise.
16875 (_gethtent): Likewise.
16876 (ht_endhostent): Likewise.
16877 (gethostent): Likewise.
16878 (dns_service): Likewise.
16879 * stdlib/drand48.c (drand48): Likewise.
16880 * stdlib/lrand48.c (lrand48): Likewise.
16881 * stdlib/mrand48.c (mrand48): Likewise.
16882 * stdlib/rand.c (rand): Likewise.
16883 * stdlib/random.c (__random): Likewise.
16884 * stdlib/setenv.c (clearenv): Likewise.
16885 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16886 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16887 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16888 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16889 (__get_nprocs): Likewise.
16890 (__get_phys_pages): Likewise.
16891 (__get_avphys_pages): Likewise.
16892 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16893 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16894 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16895 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16896 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16897 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16898 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16899 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16900 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16901 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16902 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16903 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16904 * sysdeps/posix/clock.c (clock): Likewise.
16905 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16906 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16907 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16908 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16909 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16911 (__get_nprocs_conf): Likewise.
16912 (__get_phys_pages): Likewise.
16913 (__get_avphys_pages): Likewise.
16914 * time/clock.c (clock): Likewise.
16915 * time/tzset.c (__tzname_max): Likewise.
16916
2e09a79a
JM
169172013-06-07 Joseph Myers <joseph@codesourcery.com>
16918
16919 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16920 (__bswap_32): Do not use "register".
16921 * crypt/crypt.c (_ufc_doit_r): Likewise.
16922 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16923 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16924 * gmon/gmon.c (__monstartup): Likewise.
16925 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16926 * hurd/hurdmalloc.c (more_memory): Likewise.
16927 (malloc): Likewise.
16928 (free): Likewise.
16929 (realloc): Likewise.
16930 (malloc_fork_prepare): Likewise.
16931 (malloc_fork_parent): Likewise.
16932 (malloc_fork_child): Likewise.
16933 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16934 (_svcauth_des): Likewise.
16935 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16936 * inet/inet_net.c (inet_network): Likewise.
16937 * inet/inet_netof.c (inet_netof): Likewise.
16938 * inet/rcmd.c (__validuser2_sa): Likewise.
16939 * io/fts.c (fts_open): Likewise.
16940 (fts_load): Likewise.
16941 (fts_close): Likewise.
16942 (fts_read): Likewise.
16943 (fts_children): Likewise.
16944 (fts_build): Likewise.
16945 (fts_stat): Likewise.
16946 (fts_sort): Likewise.
16947 (fts_alloc): Likewise.
16948 (fts_lfree): Likewise.
16949 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16950 (_IO_file_xsgetn): Likewise.
16951 (_IO_file_xsgetn_mmap): Likewise.
16952 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16953 (_IO_cookie_write): Likewise.
16954 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16955 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16956 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16957 * malloc/obstack.c (_obstack_begin): Likewise.
16958 (_obstack_begin_1): Likewise.
16959 (_obstack_newchunk): Likewise.
16960 (_obstack_allocated_p): Likewise.
16961 (obstack_free): Likewise.
16962 (_obstack_memory_used): Likewise.
16963 * misc/getttyent.c (getttynam): Likewise.
16964 (getttyent): Likewise.
16965 (skip): Likewise.
16966 (value): Likewise.
16967 * misc/getusershell.c (initshells): Likewise.
16968 * misc/syslog.c (__vsyslog_chk): Likewise.
16969 * misc/ttyslot.c (ttyslot): Likewise.
16970 * nis/nis_hash.c (__nis_hash): Likewise.
16971 * posix/fnmatch_loop.c (FCT): Likewise.
16972 * posix/getconf.c (print_all): Likewise.
16973 (main): Likewise.
16974 * posix/getopt.c (exchange): Likewise.
16975 * posix/glob.c (globfree): Likewise.
16976 (prefix_array): Likewise.
16977 (__glob_pattern_type): Likewise.
16978 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16979 (NS_GET32): Likewise.
16980 (NS_PUT16): Likewise.
16981 (NS_PUT32): Likewise.
16982 * resolv/gethnamaddr.c (getanswer): Likewise.
16983 (gethostbyname2): Likewise.
16984 (gethostbyaddr): Likewise.
16985 (_gethtent): Likewise.
16986 (_gethtbyname2): Likewise.
16987 (_gethtbyaddr): Likewise.
16988 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16989 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16990 * resolv/res_init.c (__res_vinit): Likewise.
16991 (net_mask): Likewise.
16992 * resolv/res_mkquery.c (outchar): Likewise.
16993 (PRINT): Likewise.
16994 * stdio-common/printf_fp.c (outchar): Likewise.
16995 (PRINT): Likewise.
16996 * stdio-common/printf_fphex.c (outchar): Likewise.
16997 (PRINT): Likewise.
16998 * stdio-common/printf_size.c (outchar): Likewise.
16999 (PRINT): Likewise.
17000 * stdio-common/test_rdwr.c (main): Likewise.
17001 * stdio-common/tfformat.c (matches): Likewise.
17002 * stdio-common/vfprintf.c (outchar): Likewise.
17003 (printf_unknown): Likewise.
17004 (buffered_vfprintf): Likewise.
17005 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17006 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17007 (ReadFile): Likewise.
17008 * stdlib/qsort.c (SWAP): Likewise.
17009 (_quicksort): Likewise.
17010 * stdlib/setenv.c (__add_to_environ): Likewise.
17011 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17012 * stdlib/strtol_l.c (__strtol_l): Likewise.
17013 * stdlib/tst-strtod.c (main): Likewise.
17014 * stdlib/tst-strtol.c (main): Likewise.
17015 * stdlib/tst-strtoll.c (main): Likewise.
17016 * string/bits/string2.h (__strcmp_cc): Likewise.
17017 (__strcmp_cg): Likewise.
17018 (__strcspn_c1): Likewise.
17019 (__strcspn_c2): Likewise.
17020 (__strcspn_c3): Likewise.
17021 (__strspn_c1): Likewise.
17022 (__strspn_c2): Likewise.
17023 (__strspn_c3): Likewise.
17024 (__strsep_1c): Likewise.
17025 (__strsep_2c): Likewise.
17026 (__strsep_3c): Likewise.
17027 * string/memccpy.c (__memccpy): Likewise.
17028 * string/stpcpy.c (__stpcpy): Likewise.
17029 * string/strcmp.c (strcmp): Likewise.
17030 * string/strrchr.c (strrchr): Likewise.
17031 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17032 Likewise.
17033 * sysdeps/mach/hurd/getcwd.c
17034 (_hurd_canonicalize_directory_name_internal): Likewise.
17035 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17036 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17037 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17038 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17039 Likewise, in both definitions.
17040 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17041 definitions.
17042 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17043 64] (__bswap_64): Likewise.
17044 * time/test_time.c (main): Likewise.
17045 * time/tzfile.c (__tzfile_read): Likewise.
17046 (__tzfile_compute): Likewise.
17047 * time/tzset.c (__tzset_parse_tz): Likewise.
17048 (tzset_internal): Likewise.
17049 (compute_change): Likewise.
17050 * wcsmbs/wcscat.c (__wcscat): Likewise.
17051 * wcsmbs/wcschr.c (wcschr): Likewise.
17052 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17053 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17054 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17055 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17056 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17057 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17058 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17059 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17060 * wcsmbs/wmemset.c (wmemset): Likewise.
17061
9e54314b
JM
170622013-06-06 Joseph Myers <joseph@codesourcery.com>
17063
17064 * scripts/config.guess: Update to version 2013-05-16.
17065 * scripts/config.sub: Update to version 2013-04-24.
17066 * scripts/install-sh: Update to version 2011-11-20.07.
17067 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17068 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17069
350635a5
OB
170702013-06-06 Ondřej Bílka <neleai@seznam.cz>
17071
17072 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17073 * elf/sln.c: Likewise.
17074 * hurd/hurd/ioctl.h: Likewise.
17075 * hurd/hurdmalloc.c: Likewise.
17076 * hurd/xattr.c: Likewise.
17077 * include/shlib-compat.h: Likewise.
17078 * inet/ruserpass.c: Likewise.
17079 * libio/iofgets_u.c: Likewise.
17080 * libio/iofgetws_u.c: Likewise.
17081 * locale/programs/ld-identification.c: Likewise.
17082 * locale/programs/ld-time.c: Likewise.
17083 * mach/msg-destroy.c: Likewise.
17084 * nss/nss_files/files-netgrp.c: Likewise.
17085 * resolv/res_data.c: Likewise.
17086 * soft-fp/op-1.h: Likewise.
17087 * soft-fp/op-2.h: Likewise.
17088 * soft-fp/op-4.h: Likewise.
17089 * soft-fp/op-common.h: Likewise.
17090 * stdio-common/printf_fphex.c: Likewise.
17091 * stdlib/strtod_l.c: Likewise.
17092 * sunrpc/rpc/clnt.h: Likewise.
17093 * sysdeps/generic/framestate.c: Likewise.
17094 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17095 * sysdeps/i386/bsd-setjmp.S: Likewise.
17096 * sysdeps/i386/__longjmp.S: Likewise.
17097 * sysdeps/i386/setjmp.S: Likewise.
17098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17099 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17114 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17115 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17116 * sysdeps/ieee754/support.c: Likewise.
17117 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17118 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17119 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17120 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17121 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17122 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17123 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17124 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17125 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17126 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17127 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17128 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17129 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17130 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17131 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17132 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17133 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17135
44a988af
OB
171362013-06-05 Ondřej Bílka <neleai@seznam.cz>
17137
25506f09 17138 * posix/transbug.c: Remove executable mode.
44a988af 17139
9c84384c
JM
171402013-06-05 Joseph Myers <joseph@codesourcery.com>
17141
17142 * crypt/speeds.c: Remove trailing whitespace.
17143 * dlfcn/default.c: Likewise.
17144 * elf/ifuncdep2.c: Likewise.
17145 * elf/ifuncmain1.c: Likewise.
17146 * elf/ifuncmain1vis.c: Likewise.
17147 * elf/testobj.h: Likewise.
17148 * elf/tst-stackguard1.c: Likewise.
17149 * gmon/sys/gmon.h: Likewise.
17150 * hurd/hurdmsg.c: Likewise.
17151 * hurd/new-fd.c: Likewise.
17152 * hurd/ports-get.c: Likewise.
17153 * iconvdata/ibm1008_420.c: Likewise.
17154 * inet/tst-getni1.c: Likewise.
17155 * inet/tst-getni2.c: Likewise.
17156 * libio/ioungetc.c: Likewise.
17157 * libio/wfiledoalloc.c: Likewise.
17158 * manual/libm-err-tab.pl: Likewise.
17159 * math/w_dremf.c: Likewise.
17160 * misc/ftruncate.c: Likewise.
17161 * posix/bug-glob2.c: Likewise.
17162 * posix/tst-pcre.c: Likewise.
17163 * posix/wait4.c: Likewise.
17164 * resolv/README: Likewise.
17165 * resolv/res_debug.h: Likewise.
17166 * resolv/tst-inet_ntop.c: Likewise.
17167 * setjmp/bug269-setjmp.c: Likewise.
17168 * soft-fp/extended.h: Likewise.
17169 * soft-fp/op-1.h: Likewise.
17170 * soft-fp/op-2.h: Likewise.
17171 * soft-fp/op-4.h: Likewise.
17172 * soft-fp/op-8.h: Likewise.
17173 * soft-fp/testit.c: Likewise.
17174 * stdio-common/bug16.c: Likewise.
17175 * stdlib/random.c: Likewise.
17176 * sunrpc/rpcsvc/rquota.x: Likewise.
17177 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17178 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17180 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17181 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17182 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17183 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17184 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17185 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17186 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17187 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17204 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17206 * sysdeps/ieee754/s_lib_version.c: Likewise.
17207 * sysdeps/mach/hurd/check_fds.c: Likewise.
17208 * sysdeps/mach/hurd/getsockname.c: Likewise.
17209 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17210 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17211 * sysdeps/powerpc/bits/link.h: Likewise.
17212 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17213 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17214 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17215 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17216 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17217 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17218 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17219 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17220 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17221 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17222 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17223 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17224 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17225 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17226 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17227 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17228 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17229 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17230 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17231 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17232 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17233 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17234 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17235 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17236 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17237 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17238 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17239 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17240 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17242 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17243 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17244 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17245 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17246 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17247 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17248 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17249 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17250 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17251 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17252 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17253 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17254 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17255 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17256 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17257 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17258 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17259 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17260 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17261 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17262 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17264 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17265 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17266 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17267 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17268 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17269 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17270 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17271 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17272 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17273 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17274 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17275 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17276 * sysdeps/powerpc/sysdep.h: Likewise.
17277 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17278 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17279 * sysdeps/sh/dl-trampoline.S: Likewise.
17280 * sysdeps/sh/memset.S: Likewise.
17281 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17282 * sysdeps/sh/strlen.S: Likewise.
17283 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17284 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17285 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17286 * sysdeps/sparc/sparc32/rem.S: Likewise.
17287 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17288 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17289 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17290 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17291 * sysdeps/sparc/sparc32/urem.S: Likewise.
17292 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17293 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17294 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17295 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17296 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17297 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17298 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17299 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17300 * sysdeps/unix/bsd/times.c: Likewise.
17301 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17302 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17306 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17307 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17308 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17309 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17310 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17311 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17312 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17313 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17314 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17315 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17316 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17317 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17319 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17320 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17321 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17322 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17323 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17324 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17325 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17326 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17327 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17328 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17329 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17330 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17331 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17332 * sysdeps/x86_64/strcspn.S: Likewise.
17333
869378a5
RA
173342013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17335
17336 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17337 generated file. Regenerate properly from gen-translit.pl.
17338 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17339 locale/C-translit.h.
17340
840e2943
AS
173412013-06-05 Andreas Schwab <schwab@suse.de>
17342
17343 [BZ #15100]
17344 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17345 week as 6 instead of -1.
17346 * time/tst-strptime.c (day_tests): Add test case.
17347
4c60cb0c
SP
173482013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17349
17350 * sysdeps/generic/math_private.h
17351 (libc_feholdexcept_setround_53bit): Replace with
17352 libc_feholdsetround_53bit.
17353 (libc_feupdateenv_53bit): Replace with
17354 libc_feresetround_53bit.
17355 (SET_RESTORE_ROUND_53BIT): Adjust.
17356
d180203e
SP
173572013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17358
96df079a
SP
17359 * string/test-strchrnul.c: Add copyright header.
17360
d180203e
SP
17361 * posix/tst-getaddrinfo4.c: Increase test timeout.
17362
8b0ccb2d
CD
173632013-06-03 Carlos O'Donell <carlos@redhat.com>
17364
17365 [BZ #15536]
17366 * math/libm-test.inc (MAX_EXP): Remove
17367 (MIN_EXP): Define.
17368 (ulp): Use MIN_EXP - MANT_DIG.
17369 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17370
3b3c4d40
CD
173712013-05-31 Carlos O'Donell <carlos@redhat.com>
17372
17373 * po/be.po: Revert last change.
17374 * po/zh_CN.po: Likewise.
17375 * po/header.pot: Likewise.
17376
fab7ce3f
JM
173772013-05-31 Joseph Myers <joseph@codesourcery.com>
17378
17379 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17380 link-libc-deps to empty as target-specific variable.
17381 * Makerules (link-libc-args): New variable.
17382 (libc-for-link): Likewise.
17383 (link-libc-deps): Likewise.
17384 (lib%.so): Depend on $(link-libc-deps). Link with
17385 $(link-libc-args).
17386 (build-module): Link with $(link-libc-args).
17387 (build-module-asneeded): Likewise.
17388 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17389 list of objects.
17390 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17391 target-specific variable.
17392 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17393 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17394 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17395 libc.
17396 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17397 libc and ld.so.
17398 ($(objpfx)libpcprofile.so): Likewise.
17399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17400 libc_nonshared.a.
17401 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17402 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17403 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17404 $(link-libc-deps).
17405 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17406 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17407 * login/Makefile ($(objpfx)libutil.so): Likewise.
17408 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17409 * math/Makefile ($(objpfx)libm.so): Likewise.
17410 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17411 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17412 variable instead of depending directly on libc.
17413 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17414 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17415 $(link-libc-deps).
17416 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17417 libc.
17418 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17419 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17420 ($(objpfx)libanl.so): Likewise.
17421 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17422 ld.so.
17423 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17424 $(link-libc-deps).
17425 * sysdeps/i386/fpu/Makefile: Remove file.
17426 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17427 ($(objpfx)libm.so): Remove dependency on ld.so.
17428
eca5920c
PF
174292013-05-30 Patsy Franklin <pfrankli@redhat.com>
17430
17431 [BZ # 15553]
17432 * nis/yp_xdr.c (XDRMAXNAME): Define.
17433 (XDRMAXRECORD): Define.
17434 (xdr_domainname): Use XDRMAXNAME.
17435 (xdr_mapname): Likewise.
17436 (xdr_peername): Likewise.
17437 (xdr_keydat): Use XDRMAXRECORD.
17438 (xdr_valdat): Likewise.
17439
174402013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17441
17442 [BZ #14256]
17443 * manual/errno.texi (ESTALE): Update to account for more than
17444 just NFS file systems.
17445 * sysdeps/gnu/errlist.c: Regenerated.
17446
b9375348
SP
174472013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17448
17449 [BZ #15465]
17450 * elf/Makefile (tests): Add tst-null-argv.
17451 (modules-names): Add tst-null-argv-lib.
17452 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17453 (tst-null-argv-ENV): Set environment for tst-null-argv.
17454 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17455 (RTLD_PROGNAME): New macro.
17456 * elf/tst-null-argv.c: New test case.
17457 * elf/tst-null-argv-lib.c: Library for test case.
17458 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17459 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17460 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17461 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17462 * elf/dl-init.c (call_init): Likewise.
17463 (_dl_init): Likewise.
17464 * elf/dl-load.c (print_search_path): Likewise.
17465 (_dl_map_object): Likewise.
17466 * elf/dl-lookup.c (do_lookup_x): Likewise.
17467 (add_dependency): Likewise.
17468 (_dl_lookup_symbol_x): Likewise.
17469 (_dl_debug_bindings): Likewise.
17470 * elf/dl-open.c (_dl_show_scope): Likewise.
17471 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17472 * elf/dl-version.c (match_symbol): Likewise.
17473 (_dl_check_map_versions): Likewise.
17474 * elf/rtld.c (dl_main): Likewise.
17475 (print_unresolved): Use RTLD_PROGNAME.
17476 (print_missing_version): Likewise.
17477 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17478 (elf_machine_rela): Likewise.
17479 * sysdeps/powerpc/powerpc32/dl-machine.c
17480 (__process_machine_rela): Likewise.
17481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17482 Likewise.
17483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17484 Likewise.
17485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17486 Likewise.
17487 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17488 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17489 Likewise.
17490 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17491 Likewise.
17492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17493
8a9f20c8
CD
174942013-05-28 Carlos O'Donell <carlos@redhat.com>
17495
17496 * po/be.po: Add descriptive title.
17497 * po/zh_CN.po: Likewise.
17498 * po/header.pot: Likewise.
17499
0e60d68e
MF
175002013-05-28 Mike Frysinger <vapier@gentoo.org>
17501
17502 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17503 error message.
17504 (enlarge_archive): Likewise.
17505
56b672e9
BN
175062013-05-28 Ben North <ben@redfrontdoor.org>
17507
17508 * manual/arith.texi (frexp): It is the magnitude of the return
17509 value which lies in [0.5, 1), not the return value itself.
17510
5e056687
AZ
175112013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17512
17513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17514
2b66ef5d
TS
175152013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17516
528c2405
TS
17517 * stdio-common/bug26.c (main): Correct fscanf template.
17518
07b4c13d
TS
17519 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17520 declare _dl_skip_args.
17521
ec9dd97c
TS
17522 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17523 Don't declare.
17524
2b66ef5d
TS
17525 * manual/platform.texi: Add missing @end deftypefun.
17526
4f8dfe27
JM
175272013-05-24 Joseph Myers <joseph@codesourcery.com>
17528
0323d086
JM
17529 [BZ #15529]
17530 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17531 bit of mantissa of 2^16382.
17532 * math/libm-test.inc (hypot_test_data): Add more tests.
17533
dd4259b9
JM
17534 * math/libm-test.inc: Add drem and pow10 to list of tested
17535 functions.
17536 (pow10_test): New function.
17537 (drem_test): Likewise.
17538 (drem_test_tonearest): Likewise.
17539 (drem_test_towardzero): Likewise.
17540 (drem_test_downward): Likewise.
17541 (drem_test_upward): Likewise.
17542 (main): Call the new functions.
17543
4f8dfe27
JM
17544 * math/libm-test.inc (finite_test_data): Remove.
17545 (finite_test): Run tests from isfinite_test_data.
17546 (gamma_test_data): Remove.
17547 (gamma_test): Run tests from lgamma_test_data.
17548 * sysdeps/i386/fpu/libm-test-ulps: Update.
17549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17550
d116b7c4
AZ
175512013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17552
17553 * manual/platform.texi: Add PowerPC PPR function set documentation.
17554 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17555 implementation.
17556
e96e3767
CD
175572013-05-24 Carlos O'Donell <carlos@redhat.com>
17558
17559 * math/libm-test.inc (MAX_EXP): Define.
17560 (ULPDIFF): Define.
17561 (ulp): New function.
17562 (check_float_internal): Use ULPDIFF.
17563 (cpow_test): Disable failing test.
17564 (check_ulp): Test ulp() implemetnation.
17565 (main): Call check_ulp before starting tests.
17566
b679a606
JM
175672013-05-24 Joseph Myers <joseph@codesourcery.com>
17568
e8bdba36
JM
17569 * math/gen-libm-test.pl (generate_testfile): Do not handle
17570 START_DATA and END_DATA.
17571 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17572 END_DATA.
17573 (acos_tonearest_test_data): Likewise.
17574 (acos_towardzero_test_data): Likewise.
17575 (acos_downward_test_data): Likewise.
17576 (acos_upward_test_data): Likewise.
17577 (acosh_test_data): Likewise.
17578 (asin_test_data): Likewise.
17579 (asin_tonearest_test_data): Likewise.
17580 (asin_towardzero_test_data): Likewise.
17581 (asin_downward_test_data): Likewise.
17582 (asin_upward_test_data): Likewise.
17583 (asinh_test_data): Likewise.
17584 (atan_test_data): Likewise.
17585 (atanh_test_data): Likewise.
17586 (atan2_test_data): Likewise.
17587 (cabs_test_data): Likewise.
17588 (cacos_test_data): Likewise.
17589 (cacosh_test_data): Likewise.
17590 (carg_test_data): Likewise.
17591 (casin_test_data): Likewise.
17592 (casinh_test_data): Likewise.
17593 (catan_test_data): Likewise.
17594 (catanh_test_data): Likewise.
17595 (cbrt_test_data): Likewise.
17596 (ccos_test_data): Likewise.
17597 (ccosh_test_data): Likewise.
17598 (ceil_test_data): Likewise.
17599 (cexp_test_data): Likewise.
17600 (cimag_test_data): Likewise.
17601 (clog_test_data): Likewise.
17602 (clog10_test_data): Likewise.
17603 (conj_test_data): Likewise.
17604 (copysign_test_data): Likewise.
17605 (cos_test_data): Likewise.
17606 (cos_tonearest_test_data): Likewise.
17607 (cos_towardzero_test_data): Likewise.
17608 (cos_downward_test_data): Likewise.
17609 (cos_upward_test_data): Likewise.
17610 (cosh_test_data): Likewise.
17611 (cosh_tonearest_test_data): Likewise.
17612 (cosh_towardzero_test_data): Likewise.
17613 (cosh_downward_test_data): Likewise.
17614 (cosh_upward_test_data): Likewise.
17615 (cpow_test_data): Likewise.
17616 (cproj_test_data): Likewise.
17617 (creal_test_data): Likewise.
17618 (csin_test_data): Likewise.
17619 (csinh_test_data): Likewise.
17620 (csqrt_test_data): Likewise.
17621 (ctan_test_data): Likewise.
17622 (ctan_tonearest_test_data): Likewise.
17623 (ctan_towardzero_test_data): Likewise.
17624 (ctan_downward_test_data): Likewise.
17625 (ctan_upward_test_data): Likewise.
17626 (ctanh_test_data): Likewise.
17627 (ctanh_tonearest_test_data): Likewise.
17628 (ctanh_towardzero_test_data): Likewise.
17629 (ctanh_downward_test_data): Likewise.
17630 (ctanh_upward_test_data): Likewise.
17631 (erf_test_data): Likewise.
17632 (erfc_test_data): Likewise.
17633 (exp_test_data): Likewise.
17634 (exp_tonearest_test_data): Likewise.
17635 (exp_towardzero_test_data): Likewise.
17636 (exp_downward_test_data): Likewise.
17637 (exp_upward_test_data): Likewise.
17638 (exp10_test_data): Likewise.
17639 (exp2_test_data): Likewise.
17640 (expm1_test_data): Likewise.
17641 (fabs_test_data): Likewise.
17642 (fdim_test_data): Likewise.
17643 (finite_test_data): Likewise.
17644 (floor_test_data): Likewise.
17645 (fma_test_data): Likewise.
17646 (fma_towardzero_test_data): Likewise.
17647 (fma_downward_test_data): Likewise.
17648 (fma_upward_test_data): Likewise.
17649 (fmax_test_data): Likewise.
17650 (fmin_test_data): Likewise.
17651 (fmod_test_data): Likewise.
17652 (fpclassify_test_data): Likewise.
17653 (frexp_test_data): Likewise.
17654 (gamma_test_data): Likewise.
17655 (hypot_test_data): Likewise.
17656 (ilogb_test_data): Likewise.
17657 (isfinite_test_data): Likewise.
17658 (isgreater_test_data): Likewise.
17659 (isgreaterequal_test_data): Likewise.
17660 (isinf_test_data): Likewise.
17661 (isless_test_data): Likewise.
17662 (islessequal_test_data): Likewise.
17663 (islessgreater_test_data): Likewise.
17664 (isnan_test_data): Likewise.
17665 (isnormal_test_data): Likewise.
17666 (issignaling_test_data): Likewise.
17667 (isunordered_test_data): Likewise.
17668 (j0_test_data): Likewise.
17669 (j1_test_data): Likewise.
17670 (jn_test_data): Likewise.
17671 (ldexp_test_data): Likewise.
17672 (lgamma_test_data): Likewise.
17673 (lrint_test_data): Likewise.
17674 (lrint_tonearest_test_data): Likewise.
17675 (lrint_towardzero_test_data): Likewise.
17676 (lrint_downward_test_data): Likewise.
17677 (lrint_upward_test_data): Likewise.
17678 (llrint_test_data): Likewise.
17679 (llrint_tonearest_test_data): Likewise.
17680 (llrint_towardzero_test_data): Likewise.
17681 (llrint_downward_test_data): Likewise.
17682 (llrint_upward_test_data): Likewise.
17683 (log_test_data): Likewise.
17684 (log10_test_data): Likewise.
17685 (log1p_test_data): Likewise.
17686 (log2_test_data): Likewise.
17687 (logb_test_data): Likewise.
17688 (logb_downward_test_data): Likewise.
17689 (lround_test_data): Likewise.
17690 (llround_test_data): Likewise.
17691 (modf_test_data): Likewise.
17692 (nearbyint_test_data): Likewise.
17693 (nextafter_test_data): Likewise.
17694 (nexttoward_test_data): Likewise.
17695 (pow_test_data): Likewise.
17696 (pow_tonearest_test_data): Likewise.
17697 (pow_towardzero_test_data): Likewise.
17698 (pow_downward_test_data): Likewise.
17699 (pow_upward_test_data): Likewise.
17700 (remainder_test_data): Likewise.
17701 (remainder_tonearest_test_data): Likewise.
17702 (remainder_towardzero_test_data): Likewise.
17703 (remainder_downward_test_data): Likewise.
17704 (remainder_upward_test_data): Likewise.
17705 (remquo_test_data): Likewise.
17706 (rint_test_data): Likewise.
17707 (rint_tonearest_test_data): Likewise.
17708 (rint_towardzero_test_data): Likewise.
17709 (rint_downward_test_data): Likewise.
17710 (rint_upward_test_data): Likewise.
17711 (round_test_data): Likewise.
17712 (scalb_test_data): Likewise.
17713 (scalbn_test_data): Likewise.
17714 (scalbln_test_data): Likewise.
17715 (signbit_test_data): Likewise.
17716 (sin_test_data): Likewise.
17717 (sin_tonearest_test_data): Likewise.
17718 (sin_towardzero_test_data): Likewise.
17719 (sin_downward_test_data): Likewise.
17720 (sin_upward_test_data): Likewise.
17721 (sincos_test_data): Likewise.
17722 (sinh_test_data): Likewise.
17723 (sinh_tonearest_test_data): Likewise.
17724 (sinh_towardzero_test_data): Likewise.
17725 (sinh_downward_test_data): Likewise.
17726 (sinh_upward_test_data): Likewise.
17727 (sqrt_test_data): Likewise.
17728 (tan_test_data): Likewise.
17729 (tan_tonearest_test_data): Likewise.
17730 (tan_towardzero_test_data): Likewise.
17731 (tan_downward_test_data): Likewise.
17732 (tan_upward_test_data): Likewise.
17733 (tanh_test_data): Likewise.
17734 (tgamma_test_data): Likewise.
17735 (trunc_test_data): Likewise.
17736 (y0_test_data): Likewise.
17737 (y1_test_data): Likewise.
17738 (yn_test_data): Likewise.
17739 (significand_test_data): Likewise.
17740
b679a606
JM
17741 * math/gen-libm-test.pl (@functions): Remove variable.
17742 (generate_testfile): Don't handle START and END lines.
17743 * math/libm-test.inc (START): New macro.
17744 (END): Likewise.
17745 (END_COMPLEX): Likewise.
17746 (acos_test): Use END macro without arguments.
17747 (acos_test_tonearest): Likewise.
17748 (acos_test_towardzero): Likewise.
17749 (acos_test_downward): Likewise.
17750 (acos_test_upward): Likewise.
17751 (acosh_test): Likewise.
17752 (asin_test): Likewise.
17753 (asin_test_tonearest): Likewise.
17754 (asin_test_towardzero): Likewise.
17755 (asin_test_downward): Likewise.
17756 (asin_test_upward): Likewise.
17757 (asinh_test): Likewise.
17758 (atan_test): Likewise.
17759 (atanh_test): Likewise.
17760 (atan2_test): Likewise.
17761 (cabs_test): Likewise.
17762 (cacos_test): Use END_COMPLEX macro without arguments.
17763 (cacosh_test): Likewise.
17764 (carg_test): Use END macro without arguments.
17765 (casin_test): Use END_COMPLEX macro without arguments.
17766 (casinh_test): Likewise.
17767 (catan_test): Likewise.
17768 (catanh_test): Likewise.
17769 (cbrt_test): Use END macro without arguments.
17770 (ccos_test): Use END_COMPLEX macro without arguments.
17771 (ccosh_test): Likewise.
17772 (ceil_test): Use END macro without arguments.
17773 (cexp_test): Use END_COMPLEX macro without arguments.
17774 (cimag_test): Use END macro without arguments.
17775 (clog_test): Use END_COMPLEX macro without arguments.
17776 (clog10_test): Likewise.
17777 (conj_test): Likewise.
17778 (copysign_test): Use END macro without arguments.
17779 (cos_test): Likewise.
17780 (cos_test_tonearest): Likewise.
17781 (cos_test_towardzero): Likewise.
17782 (cos_test_downward): Likewise.
17783 (cos_test_upward): Likewise.
17784 (cosh_test): Likewise.
17785 (cosh_test_tonearest): Likewise.
17786 (cosh_test_towardzero): Likewise.
17787 (cosh_test_downward): Likewise.
17788 (cosh_test_upward): Likewise.
17789 (cpow_test): Use END_COMPLEX macro without arguments.
17790 (cproj_test): Likewise.
17791 (creal_test): Use END macro without arguments.
17792 (csin_test): Use END_COMPLEX macro without arguments.
17793 (csinh_test): Likewise.
17794 (csqrt_test): Likewise.
17795 (ctan_test): Likewise.
17796 (ctan_test_tonearest): Likewise.
17797 (ctan_test_towardzero): Likewise.
17798 (ctan_test_downward): Likewise.
17799 (ctan_test_upward): Likewise.
17800 (ctanh_test): Likewise.
17801 (ctanh_test_tonearest): Likewise.
17802 (ctanh_test_towardzero): Likewise.
17803 (ctanh_test_downward): Likewise.
17804 (ctanh_test_upward): Likewise.
17805 (erf_test): Use END macro without arguments.
17806 (erfc_test): Likewise.
17807 (exp_test): Likewise.
17808 (exp_test_tonearest): Likewise.
17809 (exp_test_towardzero): Likewise.
17810 (exp_test_downward): Likewise.
17811 (exp_test_upward): Likewise.
17812 (exp10_test): Likewise.
17813 (exp2_test): Likewise.
17814 (expm1_test): Likewise.
17815 (fabs_test): Likewise.
17816 (fdim_test): Likewise.
17817 (finite_test): Likewise.
17818 (floor_test): Likewise.
17819 (fma_test): Likewise.
17820 (fma_test_towardzero): Likewise.
17821 (fma_test_downward): Likewise.
17822 (fma_test_upward): Likewise.
17823 (fmax_test): Likewise.
17824 (fmin_test): Likewise.
17825 (fmod_test): Likewise.
17826 (fpclassify_test): Likewise.
17827 (frexp_test): Likewise.
17828 (gamma_test): Likewise.
17829 (hypot_test): Likewise.
17830 (ilogb_test): Likewise.
17831 (isfinite_test): Likewise.
17832 (isgreater_test): Likewise.
17833 (isgreaterequal_test): Likewise.
17834 (isinf_test): Likewise.
17835 (isless_test): Likewise.
17836 (islessequal_test): Likewise.
17837 (islessgreater_test): Likewise.
17838 (isnan_test): Likewise.
17839 (isnormal_test): Likewise.
17840 (issignaling_test): Likewise.
17841 (isunordered_test): Likewise.
17842 (j0_test): Likewise.
17843 (j1_test): Likewise.
17844 (jn_test): Likewise.
17845 (ldexp_test): Likewise.
17846 (lgamma_test): Likewise.
17847 (lrint_test): Likewise.
17848 (lrint_test_tonearest): Likewise.
17849 (lrint_test_towardzero): Likewise.
17850 (lrint_test_downward): Likewise.
17851 (lrint_test_upward): Likewise.
17852 (llrint_test): Likewise.
17853 (llrint_test_tonearest): Likewise.
17854 (llrint_test_towardzero): Likewise.
17855 (llrint_test_downward): Likewise.
17856 (llrint_test_upward): Likewise.
17857 (log_test): Likewise.
17858 (log10_test): Likewise.
17859 (log1p_test): Likewise.
17860 (log2_test): Likewise.
17861 (logb_test): Likewise.
17862 (logb_test_downward): Likewise.
17863 (lround_test): Likewise.
17864 (llround_test): Likewise.
17865 (modf_test): Likewise.
17866 (nearbyint_test): Likewise.
17867 (nextafter_test): Likewise.
17868 (nexttoward_test): Likewise.
17869 (pow_test): Likewise.
17870 (pow_test_tonearest): Likewise.
17871 (pow_test_towardzero): Likewise.
17872 (pow_test_downward): Likewise.
17873 (pow_test_upward): Likewise.
17874 (remainder_test): Likewise.
17875 (remainder_test_tonearest): Likewise.
17876 (remainder_test_towardzero): Likewise.
17877 (remainder_test_downward): Likewise.
17878 (remainder_test_upward): Likewise.
17879 (remquo_test): Likewise.
17880 (rint_test): Likewise.
17881 (rint_test_tonearest): Likewise.
17882 (rint_test_towardzero): Likewise.
17883 (rint_test_downward): Likewise.
17884 (rint_test_upward): Likewise.
17885 (round_test): Likewise.
17886 (scalb_test): Likewise.
17887 (scalbn_test): Likewise.
17888 (scalbln_test): Likewise.
17889 (signbit_test): Likewise.
17890 (sin_test): Likewise.
17891 (sin_test_tonearest): Likewise.
17892 (sin_test_towardzero): Likewise.
17893 (sin_test_downward): Likewise.
17894 (sin_test_upward): Likewise.
17895 (sincos_test): Likewise.
17896 (sinh_test): Likewise.
17897 (sinh_test_tonearest): Likewise.
17898 (sinh_test_towardzero): Likewise.
17899 (sinh_test_downward): Likewise.
17900 (sinh_test_upward): Likewise.
17901 (sqrt_test): Likewise.
17902 (tan_test): Likewise.
17903 (tan_test_tonearest): Likewise.
17904 (tan_test_towardzero): Likewise.
17905 (tan_test_downward): Likewise.
17906 (tan_test_upward): Likewise.
17907 (tanh_test): Likewise.
17908 (tgamma_test): Likewise.
17909 (trunc_test): Likewise.
17910 (y0_test): Likewise.
17911 (y1_test): Likewise.
17912 (yn_test): Likewise.
17913 (significand_test): Likewise.
17914
bae143d2
OB
179152013-05-24 Ondřej Bílka <neleai@seznam.cz>
17916
17917 [BZ #15381]
17918 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17919
9323d39b
EM
179202013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17921
d4ea44a0 17922 [BZ #14894]
9323d39b
EM
17923 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17924 __ppc_mdoio and __ppc_mdoom.
17925 * manual/platform.texi: Document new functions __ppc_yield,
17926 __ppc_mdoio and __ppc_mdoom.
17927
13e23af7
CD
179282013-05-22 Carlos O'Donell <carlos@redhat.com>
17929
17930 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17931 (main): Mention "tls" pseudo-hwcap is legacy.
17932 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17933
351fe550
JM
179342013-05-22 Joseph Myers <joseph@codesourcery.com>
17935
17936 * math/gen-libm-test.pl (parse_args): Output only string of
17937 arguments as text for test name, not full call or descriptions of
17938 tests for extra outputs.
17939 (generate_testfile): Do not pass function name to parse_args.
17940 Generate this_func variable from START.
17941 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17942 field to arg_str.
17943 (struct test_ff_f_data): Likewise.
17944 (test_ff_f_data_nexttoward): Likewise.
17945 (struct test_fi_f_data): Likewise.
17946 (struct test_fl_f_data): Likewise.
17947 (struct test_if_f_data): Likewise.
17948 (struct test_fff_f_data): Likewise.
17949 (struct test_c_f_data): Likewise.
17950 (struct test_f_f1_data): Likewise. Remove field extra_name.
17951 (struct test_fF_f1_data): Likewise.
17952 (struct test_ffI_f1_data): Likewise.
17953 (struct test_c_c_data): Rename test_name field to arg_str.
17954 (struct test_cc_c_data): Likewise.
17955 (struct test_f_i_data): Likewise.
17956 (struct test_ff_i_data): Likewise.
17957 (struct test_f_l_data): Likewise.
17958 (struct test_f_L_data): Likewise.
17959 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17960 and extra2_name.
17961 (COMMON_TEST_SETUP): New macro.
17962 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17963 (COMMON_TEST_CLEANUP): Likewise.
17964 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17965 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17966 macros.
17967 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17968 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17969 macros.
17970 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17971 (RUN_TEST_fff_f): Take argument string. Call new setup and
17972 cleanup macros.
17973 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17974 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17975 macros.
17976 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17977 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17978 macros.
17979 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17980 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17981 cleanup macros.
17982 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17983 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17984 cleanup macros.
17985 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17986 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17987 cleanup macros.
17988 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17989 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17990 macros.
17991 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17992 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17993 macros.
17994 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17995 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17996 macros.
17997 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17998 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17999 cleanup macros.
18000 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18001 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18002 cleanup macros.
18003 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18004 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18005 macros.
18006 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18007 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18008 cleanup macros.
18009 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18010 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18011 macros.
18012 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18013 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18014 macros.
18015 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18016 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18017 cleanup macros.
18018 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18019
85118d4d
EBM
180202013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18021
18022 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18023 to _sifields.sigfault.
18024 (si_addr_lsb): Define new macro.
18025 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18028
7a44c18f
CD
180292013-05-03 Carlos O'Donell <carlos at redhat.com>
18030
18031 [BZ #15441]
18032 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18033 returns -1.
18034 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18035 null return -1.
18036 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18037 loading the domain.
18038
b50a7181
JM
180392013-05-22 Joseph Myers <joseph@codesourcery.com>
18040
18041 * math/gen-libm-test.pl (parse_args): Do not include expected
18042 result in test name.
18043 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18044 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18045 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18046 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18047 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18049
051063c8
SP
180502013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18051
3ce9e010
SP
18052 * benchtests/Makefile: Sort function entries.
18053
051063c8
SP
18054 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18055 tanh, asinh, acosh, atanh.
18056 * benchtests/acos-inputs: New file.
18057 * benchtests/acosh-inputs: New file.
18058 * benchtests/asin-inputs: New file.
18059 * benchtests/asinh-inputs: New file.
18060 * benchtests/atanh-inputs: New file.
18061 * benchtests/cosh-inputs: New file.
18062 * benchtests/log-inputs: New file.
18063 * benchtests/sinh-inputs: New file.
18064 * benchtests/tanh-inputs: New file.
18065
47c22455
DL
180662013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18067
18068 [BZ #15339]
18069 * posix/tst-getaddrinfo4.c: New test.
18070 * posix/Makefile (tests): Add it.
18071
3d04f5db
SP
180722013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18073
18074 [BZ #15339]
18075 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18076 when no services were used.
18077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18078 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18079
d5dd6189
AS
180802013-05-21 Andreas Schwab <schwab@suse.de>
18081
18082 [BZ #15014]
18083 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18084 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18085 successful.
18086 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18087 redundant variable declarations and reallocation of buffer when
18088 parsing as IPv6 address. Always set NSS status when called from
18089 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18090 buffer too small. Correct computation of needed size.
18091 * nss/Makefile (tests): Add test-digits-dots.
18092 * nss/test-digits-dots.c: New test.
18093
fef94eab
SP
180942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18095
18096 * benchtests/Makefile: Remove instructions for adding
18097 benchmark tests.
18098 * benchtests/README: New file to explain how to execute and
18099 enhance the benchmark tests.
18100
e39adf43
AS
181012013-05-21 Andreas Schwab <schwab@suse.de>
18102
18103 [BZ #15493]
18104 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18105 * setjmp/tst-sigsetjmp.c: New test.
18106
b2b671b6
OB
181072013-05-20 Ondřej Bílka <neleai@seznam.cz>
18108
18109 * sysdeps/x86_64/memset.S (memset): New implementation.
18110 (__bzero): Likewise.
18111 (__memset_tail): New function.
18112
2d48b41c
OB
181132013-05-20 Ondřej Bílka <neleai@seznam.cz>
18114
18115 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18116 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18117 __memcpy_sse2_unaligned ifunc selection.
18118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18119 Add memcpy-sse2-unaligned.S.
18120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18121 Add: __memcpy_sse2_unaligned.
18122
f16cc3eb
JM
181232013-05-19 Joseph Myers <joseph@codesourcery.com>
18124
3e694268
JM
18125 [BZ #15490]
18126 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18127 math_force_eval before restoring floating-point envrionment.
18128 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18129 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18130 Likewise.
18131 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18132 <math_private.h>.
18133 (__nearbyintl): Use math_force_eval before restoring
18134 floating-point environment.
18135 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18136
db62a907
JM
18137 * math/gen-libm-test.pl (special_functions): Remove.
18138 (parse_args): Don't handle TEST_extra. Handle functions with no
18139 return value.
18140 * math/libm-test.inc (struct test_sincos_data): Replace with
18141 struct test_fFF_11_data.
18142 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18143 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18144 (sincos_test_data): Change element type to struct
18145 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18146 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18147 RUN_TEST_LOOP_sincos.
18148 * math/README.libm-test: Don't mention special handling of
18149 individual functions.
18150 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18152 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18153 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18154 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18156
f16cc3eb
JM
18157 * math/gen-libm-test.pl (get_variable): Remove function.
18158 (parse_args): Don't show pointer parameters to call in test
18159 names. Use "extra output N" in test names for extra outputs
18160 rather than naming variables.
18161
3779b5b6
JM
181622013-05-18 Joseph Myers <joseph@codesourcery.com>
18163
2ee094ff
JM
18164 [BZ #15488]
18165 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18166 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18167 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18168 double tests.
18169 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18170 disable.
18171 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18172 check_long_double.
18173
3779b5b6
JM
18174 * math/gen-libm-test.pl (@tests): Remove variable.
18175 ($count): Likewise.
18176 (new_test): Remove function.
18177 (show_exceptions): New function.
18178 (special_functions): Use show_exceptions instead of new_test.
18179 (parse_args): Likewise.
18180 (generate_testfile): Pass only function name in generated call to
18181 print_max_error or print_complex_max_error.
18182 (get_ulps): Do not handle complex tests specially.
18183 (output_test): Rename to ...
18184 (get_all_ulps_for_test): ... this. Return a string rather than
18185 printing to a file. Require ulps to be present.
18186 (output_ulps): Generate arrays rather than #defines.
18187 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18188 (struct ulp_data): New type.
18189 (BUILD_COMPLEX_ULP): Remove macro.
18190 (compare_ulp_data): New function.
18191 (find_ulps): Likewise.
18192 (find_test_ulps): Likewise.
18193 (find_function_ulps): Likewise.
18194 (find_complex_function_ulps): Likewise.
18195 (print_max_error): Determine allowed ulps using
18196 find_function_ulps.
18197 (print_complex_max_error): Determine allowed ulps using
18198 find_complex_function_ulps.
18199 (check_float_internal): Determine max ulps using find_test_ulps.
18200 (check_float): Do not take max_ulp parameter. Update call to
18201 check_float_internal.
18202 (check_complex): Likewise.
18203 (check_int): Do not take max_ulp parameter.
18204 (check_long): Likewise.
18205 (check_bool): Likewise.
18206 (check_longlong): Likewise.
18207 (struct test_f_f_data): Remove max_ulp field.
18208 (struct test_ff_f_data): Likewise.
18209 (struct test_ff_f_data_nexttoward): Likewise.
18210 (struct test_fi_f_data): Likewise.
18211 (struct test_fl_f_data): Likewise.
18212 (struct test_if_f_data): Likewise.
18213 (struct test_fff_f_data): Likewise.
18214 (struct test_c_f_data): Likewise.
18215 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18216 (struct test_fF_f1_data): Likewise.
18217 (struct test_ffI_f1_data): Likewise.
18218 (struct test_c_c_data): Remove max_ulp field.
18219 (struct test_cc_c_data): Likewise.
18220 (struct test_f_i_data): Likewise.
18221 (struct test_ff_i_data): Likewise.
18222 (struct test_f_l_data): Likewise.
18223 (struct test_f_L_data): Likewise.
18224 (struct test_sincos_data): Likewise.
18225 (RUN_TEST_f_f): Do not handle ulps.
18226 (RUN_TEST_LOOP_f_f): Likewise.
18227 (RUN_TEST_2_f): Likewise.
18228 (RUN_TEST_LOOP_2_f): Likewise.
18229 (RUN_TEST_fff_f): Likewise.
18230 (RUN_TEST_LOOP_fff_f): Likewise.
18231 (RUN_TEST_c_f): Likewise.
18232 (RUN_TEST_LOOP_c_f): Likewise.
18233 (RUN_TEST_f_f1): Likewise.
18234 (RUN_TEST_LOOP_f_f1): Likewise.
18235 (RUN_TEST_fF_f1): Likewise.
18236 (RUN_TEST_LOOP_fF_f1): Likewise.
18237 (RUN_TEST_fI_f1): Likewise.
18238 (RUN_TEST_LOOP_fI_f1): Likewise.
18239 (RUN_TEST_ffI_f1): Likewise.
18240 (RUN_TEST_LOOP_ffI_f1): Likewise.
18241 (RUN_TEST_c_c): Likewise.
18242 (RUN_TEST_LOOP_c_c): Likewise.
18243 (RUN_TEST_cc_c): Likewise.
18244 (RUN_TEST_LOOP_cc_c): Likewise.
18245 (RUN_TEST_f_i): Likewise.
18246 (RUN_TEST_LOOP_f_i): Likewise.
18247 (RUN_TEST_f_i_tg): Likewise.
18248 (RUN_TEST_LOOP_f_i_tg): Likewise.
18249 (RUN_TEST_ff_i_tg): Likewise.
18250 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18251 (RUN_TEST_f_b): Likewise.
18252 (RUN_TEST_LOOP_f_b): Likewise.
18253 (RUN_TEST_f_b_tg): Likewise.
18254 (RUN_TEST_LOOP_f_b_tg): Likewise.
18255 (RUN_TEST_f_l): Likewise.
18256 (RUN_TEST_LOOP_f_l): Likewise.
18257 (RUN_TEST_f_L): Likewise.
18258 (RUN_TEST_LOOP_f_L): Likewise.
18259 (RUN_TEST_sincos): Likewise.
18260 (RUN_TEST_LOOP_sincos): Likewise.
18261
8269107f
JM
182622013-05-17 Joseph Myers <joseph@codesourcery.com>
18263
bb38759d
JM
18264 [BZ #15480]
18265 [BZ #15485]
18266 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18267 main case of finite arguments, set rounding mode to FE_TONEAREST
18268 and discard exceptions.
18269 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18270 exceptions.
18271 (remainder_tonearest_test_data): New variable.
18272 (remainder_test_tonearest): New function.
18273 (remainder_towardzero_test_data): New variable.
18274 (remainder_test_towardzero): New function.
18275 (remainder_downward_test_data): New variable.
18276 (remainder_test_downward): New function.
18277 (remainder_upward_test_data): New variable.
18278 (remainder_test_upward): New function.
18279 (main): Call the new test functions.
18280
a00bdcf0
JM
18281 * math/libm-test.inc (struct test_f_f1_data): Remove field
18282 extra_init.
18283 (struct test_fF_f1_data): Likewise.
18284 (struct test_ffI_f1_data): Likewise.
18285 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18286 based on value of EXTRA_EXPECTED.
18287 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18288 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18289 EXTRA_VAR based on value of EXTRA_EXPECTED.
18290 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18291 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18292 EXTRA_VAR based on value of EXTRA_EXPECTED.
18293 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18294 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18295 EXTRA_VAR based on value of EXTRA_EXPECTED.
18296 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18297 * math/gen-libm-test.pl (parse_args): Don't output initializers
18298 for extra output values.
18299
de407f79
JM
18300 * math/libm-test.inc (check_int): Expect result to be exactly
18301 equal to expected value and do not handle ulps.
18302 (check_long): Likewise.
18303 (check_longlong): Likewise.
18304
8269107f
JM
18305 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18306 exceptions.
18307 (cimag_test_data): Likewise.
18308 (conj_test_data): Likewise.
18309 (copysign_test_data): Likewise.
18310 (cproj_test_data): Likewise.
18311 (creal_test_data): Likewise.
18312 (fabs_test_data): Likewise.
18313 (fdim_test_data): Likewise.
18314 (finite_test_data): Likewise.
18315 (floor_test_data): Likewise.
18316 (fmax_test_data): Likewise.
18317 (fmin_test_data): Likewise.
18318 (fmod_test_data): Likewise.
18319 (fpclassify_test_data): Likewise.
18320 (frexp_test_data): Likewise.
18321 (ilogb_test_data): Likewise.
18322 (isfinite_test_data): Likewise.
18323 (isgreater_test_data): Likewise.
18324 (isgreaterequal_test_data): Likewise.
18325 (isinf_test_data): Likewise.
18326 (isless_test_data): Likewise.
18327 (islessequal_test_data): Likewise.
18328 (islessgreater_test_data): Likewise.
18329 (isnan_test_data): Likewise.
18330 (isnormal_test_data): Likewise.
18331 (issignaling_test_data): Likewise.
18332 (isunordered_test_data): Likewise.
18333 (ldexp_test_data): Likewise.
18334 (lrint_test_data): Likewise.
18335 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18336 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18337 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18338 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18339 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18340 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18341 test input.
18342 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18343 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18344 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18345 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18346 that test input.
18347 (lrint_downward_test_data): Test for "inexact" exceptions.
18348 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18349 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18350 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18351 test input.
18352 (lrint_upward_test_data): Test for "inexact" exceptions.
18353 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18354 test input.
18355 (llrint_test_data): Test for "inexact" exceptions.
18356 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18357 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18358 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18359 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18360 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18361 (llrint_downward_test_data): Test for "inexact" exceptions.
18362 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18363 (llrint_upward_test_data): Test for "inexact" exceptions.
18364 (logb_test_data): Likewise.
18365 (logb_downward_test_data): Likewise.
18366 (nextafter_test_data): Likewise.
18367 (nexttoward_test_data): Likewise.
18368 (remainder_test_data): Likewise.
18369 (remquo_test_data): Likewise.
18370 (scalbn_test_data): Likewise.
18371 (scalbln_test_data): Likewise.
18372 (signbit_test_data): Likewise.
18373 (sqrt_test_data): Likewise.
18374 (significand_test_data): Likewise.
18375
48a18de1
SP
183762013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18377
18378 [BZ #15424]
18379 * benchtests/bench-modf.c (struct args): Mark arg0 as
18380 volatile.
18381 * scripts/bench.pl: Mark members of struct args as volatile.
18382
13d3b41a
AZ
183832013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18384
68191c1d 18385 [BZ # 15497]
13d3b41a
AZ
18386 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18387 negative infinity on POWER6 or lower.
18388 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18389
2848b105
MR
183902013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18391
18392 [BZ #15442]
18393 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18394 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18395 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18396 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18397 (_FP_SETQNAN): New macro.
18398 (_FP_SETQNAN_SEMIRAW): Likewise.
18399 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18400 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18401 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18402 (FP_EXTEND): Use _FP_FRAC_SNANP.
18403 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18404 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18405 into account.
18406 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18407 New macro.
18408 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18409 Likewise.
18410
323e5cb7
JM
184112013-05-16 Joseph Myers <joseph@codesourcery.com>
18412
c58b274f
JM
18413 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18414 with DIVIDE_BY_ZERO_EXCEPTION.
18415 (gamma_test_data): Likewise.
18416 (lgamma_test_data): Likewise.
18417 (log_test_data): Likewise.
18418 (log10_test_data): Likewise.
18419 (log2_test_data): Likewise.
18420 (tgamma_test_data): Likewise.
18421
0ab34904
JM
18422 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18423 (acos_test_tonearest): Likewise.
18424 (acos_test_towardzero): Likewise.
18425 (acos_test_downward): Likewise.
18426 (acos_test_upward): Likewise.
18427 (acosh_test): Likewise.
18428 (asin_test): Likewise.
18429 (asin_test_tonearest): Likewise.
18430 (asin_test_towardzero): Likewise.
18431 (asin_test_downward): Likewise.
18432 (asin_test_upward): Likewise.
18433 (asinh_test): Likewise.
18434 (atan_test): Likewise.
18435 (atanh_test): Likewise.
18436 (atan2_test): Likewise.
18437 (cabs_test): Likewise.
18438 (cacos_test): Likewise.
18439 (cacosh_test): Likewise.
18440 (casin_test): Likewise.
18441 (casinh_test): Likewise.
18442 (catan_test): Likewise.
18443 (catanh_test): Likewise.
18444 (cbrt_test): Likewise.
18445 (ccos_test): Likewise.
18446 (ccosh_test): Likewise.
18447 (cexp_test): Likewise.
18448 (clog_test): Likewise.
18449 (clog10_test): Likewise.
18450 (cos_test): Likewise.
18451 (cos_test_tonearest): Likewise.
18452 (cos_test_towardzero): Likewise.
18453 (cos_test_downward): Likewise.
18454 (cos_test_upward): Likewise.
18455 (cosh_test): Likewise.
18456 (cosh_test_tonearest): Likewise.
18457 (cosh_test_towardzero): Likewise.
18458 (cosh_test_downward): Likewise.
18459 (cosh_test_upward): Likewise.
18460 (cpow_test): Likewise.
18461 (csin_test): Likewise.
18462 (csinh_test): Likewise.
18463 (csqrt_test): Likewise.
18464 (ctan_test): Likewise.
18465 (ctan_test_tonearest): Likewise.
18466 (ctan_test_towardzero): Likewise.
18467 (ctan_test_downward): Likewise.
18468 (ctan_test_upward): Likewise.
18469 (ctanh_test): Likewise.
18470 (ctanh_test_tonearest): Likewise.
18471 (ctanh_test_towardzero): Likewise.
18472 (ctanh_test_downward): Likewise.
18473 (ctanh_test_upward): Likewise.
18474 (erf_test): Likewise.
18475 (erfc_test): Likewise.
18476 (exp_test): Likewise.
18477 (exp_test_tonearest): Likewise.
18478 (exp_test_towardzero): Likewise.
18479 (exp_test_downward): Likewise.
18480 (exp_test_upward): Likewise.
18481 (exp10_test): Likewise.
18482 (exp2_test): Likewise.
18483 (expm1_test): Likewise.
18484 (fmod_test): Likewise.
18485 (gamma_test): Likewise.
18486 (hypot_test): Likewise.
18487 (j0_test): Likewise.
18488 (j1_test): Likewise.
18489 (jn_test): Likewise.
18490 (lgamma_test): Likewise.
18491 (log_test): Likewise.
18492 (log10_test): Likewise.
18493 (log1p_test): Likewise.
18494 (log2_test): Likewise.
18495 (logb_test_downward): Likewise.
18496 (pow_test): Likewise.
18497 (pow_test_tonearest): Likewise.
18498 (pow_test_towardzero): Likewise.
18499 (pow_test_downward): Likewise.
18500 (pow_test_upward): Likewise.
18501 (remainder_test): Likewise.
18502 (remquo_test): Likewise.
18503 (sin_test): Likewise.
18504 (sin_test_tonearest): Likewise.
18505 (sin_test_towardzero): Likewise.
18506 (sin_test_downward): Likewise.
18507 (sin_test_upward): Likewise.
18508 (sincos_test): Likewise.
18509 (sinh_test): Likewise.
18510 (sinh_test_tonearest): Likewise.
18511 (sinh_test_towardzero): Likewise.
18512 (sinh_test_downward): Likewise.
18513 (sinh_test_upward): Likewise.
18514 (sqrt_test): Likewise.
18515 (tan_test): Likewise.
18516 (tan_test_tonearest): Likewise.
18517 (tan_test_towardzero): Likewise.
18518 (tan_test_downward): Likewise.
18519 (tan_test_upward): Likewise.
18520 (tanh_test): Likewise.
18521 (tgamma_test): Likewise.
18522 (y0_test): Likewise.
18523 (y1_test): Likewise.
18524 (yn_test): Likewise.
18525
323e5cb7
JM
18526 * math/gen-libm-test.pl (adjust_arg): Remove function.
18527 (special_function): Remove argument $in_func. Only handle
18528 generating output for tables of tests, not inside functions.
18529 (parse_args): Likewise.
18530 (generate_testfile): Remove variable $in_func. Update call to
18531 parse_args.
18532 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18533 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18534 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18535 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18536 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18537 (MAX_VALUE_INIT): Rename macro to max_value.
18538 (MIN_VALUE_INIT): Rename macro to min_value.
18539 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18540 (plus_zero): Remove variable.
18541 (minus_zero): Likewise.
18542 (plus_infty): Likewise.
18543 (minus_infty): Likewise.
18544 (qnan_value): Likewise.
18545 (max_value): Likewise.
18546 (min_value): Likewise.
18547 (min_subnorm_value): Likewise.
18548
e054f494
RA
185492013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18550
18551 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18552 uint64_t or uint32_t usage.
18553 * crypt/sha256-block.c: Likewise.
18554 * crypt/sha256-crypt.c: Likewise.
18555 * crypt/sha256.c: Likewise.
18556 * crypt/sha512-block.c: Likewise.
18557 * crypt/sha512-crypt.c: Likewise.
18558 * crypt/sha512.c: Likewise.
18559 * debug/backtrace-tst.c: Likewise.
18560 * debug/pcprofiledump.c: Likewise.
18561 * elf/cache.c: Likewise.
18562 * elf/dl-cache.c: Likewise.
18563 * elf/dl-misc.c: Likewise.
18564 * elf/dl-profile.c: Likewise.
18565 * elf/dl-support.c: Likewise.
18566 * elf/ldconfig.c: Likewise.
18567 * elf/sprof.c: Likewise.
18568 * iconv/dummy-repertoire.c: Likewise.
18569 * iconv/iconv_charmap.c: Likewise.
18570 * iconv/skeleton.c: Likewise.
18571 * iconvdata/8bit-generic.c: Likewise.
18572 * iconvdata/cp737.h: Likewise.
18573 * iconvdata/cp775.h: Likewise.
18574 * iconvdata/ibm1008.h: Likewise.
18575 * iconvdata/ibm1025.h: Likewise.
18576 * iconvdata/ibm1046.h: Likewise.
18577 * iconvdata/ibm1097.h: Likewise.
18578 * iconvdata/ibm1112.h: Likewise.
18579 * iconvdata/ibm1122.h: Likewise.
18580 * iconvdata/ibm1123.h: Likewise.
18581 * iconvdata/ibm1124.h: Likewise.
18582 * iconvdata/ibm1129.h: Likewise.
18583 * iconvdata/ibm1130.h: Likewise.
18584 * iconvdata/ibm1132.h: Likewise.
18585 * iconvdata/ibm1133.h: Likewise.
18586 * iconvdata/ibm1137.h: Likewise.
18587 * iconvdata/ibm1140.h: Likewise.
18588 * iconvdata/ibm1141.h: Likewise.
18589 * iconvdata/ibm1142.h: Likewise.
18590 * iconvdata/ibm1143.h: Likewise.
18591 * iconvdata/ibm1144.h: Likewise.
18592 * iconvdata/ibm1145.h: Likewise.
18593 * iconvdata/ibm1146.h: Likewise.
18594 * iconvdata/ibm1147.h: Likewise.
18595 * iconvdata/ibm1148.h: Likewise.
18596 * iconvdata/ibm1149.h: Likewise.
18597 * iconvdata/ibm1153.h: Likewise.
18598 * iconvdata/ibm1154.h: Likewise.
18599 * iconvdata/ibm1155.h: Likewise.
18600 * iconvdata/ibm1156.h: Likewise.
18601 * iconvdata/ibm1157.h: Likewise.
18602 * iconvdata/ibm1158.h: Likewise.
18603 * iconvdata/ibm1160.h: Likewise.
18604 * iconvdata/ibm1161.h: Likewise.
18605 * iconvdata/ibm1162.h: Likewise.
18606 * iconvdata/ibm1163.h: Likewise.
18607 * iconvdata/ibm1164.h: Likewise.
18608 * iconvdata/ibm1166.h: Likewise.
18609 * iconvdata/ibm1167.h: Likewise.
18610 * iconvdata/ibm12712.h: Likewise.
18611 * iconvdata/ibm1390.h: Likewise.
18612 * iconvdata/ibm1399.h: Likewise.
18613 * iconvdata/ibm16804.h: Likewise.
18614 * iconvdata/ibm4517.h: Likewise.
18615 * iconvdata/ibm4899.h: Likewise.
18616 * iconvdata/ibm4909.h: Likewise.
18617 * iconvdata/ibm4971.h: Likewise.
18618 * iconvdata/ibm5347.h: Likewise.
18619 * iconvdata/ibm803.h: Likewise.
18620 * iconvdata/ibm856.h: Likewise.
18621 * iconvdata/ibm901.h: Likewise.
18622 * iconvdata/ibm902.h: Likewise.
18623 * iconvdata/ibm9030.h: Likewise.
18624 * iconvdata/ibm9066.h: Likewise.
18625 * iconvdata/ibm921.h: Likewise.
18626 * iconvdata/ibm922.h: Likewise.
18627 * iconvdata/ibm9448.h: Likewise.
18628 * iconvdata/isiri-3342.h: Likewise.
18629 * iconvdata/jis0201.h: Likewise.
18630 * include/link.h: Likewise.
18631 * include/netdb.h: Likewise.
18632 * inet/check_native.c: Likewise.
18633 * inet/check_pf.c: Likewise.
18634 * inet/getipv4sourcefilter.c: Likewise.
18635 * inet/getnameinfo.c: Likewise.
18636 * inet/getsourcefilter.c: Likewise.
18637 * inet/htonl.c: Likewise.
18638 * inet/setipv4sourcefilter.c: Likewise.
18639 * inet/setsourcefilter.c: Likewise.
18640 * inet/test-inet6_opt.c: Likewise.
18641 * inet/tst-network.c: Likewise.
18642 * locale/C-collate.c: Likewise.
18643 * locale/C-ctype.c: Likewise.
18644 * locale/C-time.c: Likewise.
18645 * locale/C-translit.h: Likewise.
18646 * locale/loadarchive.c: Likewise.
18647 * locale/programs/3level.h: Likewise.
18648 * locale/programs/charmap.c: Likewise.
18649 * locale/programs/charmap.h: Likewise.
18650 * locale/programs/ld-address.c: Likewise.
18651 * locale/programs/ld-collate.c: Likewise.
18652 * locale/programs/ld-ctype.c: Likewise.
18653 * locale/programs/ld-identification.c: Likewise.
18654 * locale/programs/ld-measurement.c: Likewise.
18655 * locale/programs/ld-messages.c: Likewise.
18656 * locale/programs/ld-monetary.c: Likewise.
18657 * locale/programs/ld-name.c: Likewise.
18658 * locale/programs/ld-numeric.c: Likewise.
18659 * locale/programs/ld-paper.c: Likewise.
18660 * locale/programs/ld-telephone.c: Likewise.
18661 * locale/programs/ld-time.c: Likewise.
18662 * locale/programs/linereader.c: Likewise.
18663 * locale/programs/locale.c: Likewise.
18664 * locale/programs/locarchive.c: Likewise.
18665 * locale/programs/locfile.h: Likewise.
18666 * locale/programs/repertoire.c: Likewise.
18667 * locale/programs/simple-hash.c: Likewise.
18668 * locale/programs/simple-hash.h: Likewise.
18669 * malloc/memusage.c: Likewise.
18670 * malloc/memusagestat.c: Likewise.
18671 * nis/nis_defaults.c: Likewise.
18672 * nis/nis_hash.c: Likewise.
18673 * nis/nis_print.c: Likewise.
18674 * nis/nis_xdr.c: Likewise.
18675 * nscd/connections.c: Likewise.
18676 * nscd/hstcache.c: Likewise.
18677 * nscd/nscd_gethst_r.c: Likewise.
18678 * nscd/nscd_getserv_r.c: Likewise.
18679 * nscd/nscd_helper.c: Likewise.
18680 * nscd/servicescache.c: Likewise.
18681 * nss/makedb.c: Likewise.
18682 * nss/nss_db/db-XXX.c: Likewise.
18683 * nss/nss_db/db-initgroups.c: Likewise.
18684 * nss/nss_db/db-netgrp.c: Likewise.
18685 * nss/nss_files/files-network.c: Likewise.
18686 * nss/nss_files/files-parse.c: Likewise.
18687 * posix/bug-regex5.c: Likewise.
18688 * posix/fnmatch_loop.c: Likewise.
18689 * posix/regcomp.c: Likewise.
18690 * posix/regexec.c: Likewise.
18691 * posix/tst-rfc3484-2.c: Likewise.
18692 * posix/tst-rfc3484-3.c: Likewise.
18693 * posix/tst-rfc3484.c: Likewise.
18694 * resolv/nss_dns/dns-canon.c: Likewise.
18695 * resolv/nss_dns/dns-network.c: Likewise.
18696 * resolv/res_init.c: Likewise.
18697 * resolv/res_mkquery.c: Likewise.
18698 * resolv/tst-aton.c: Likewise.
18699 * stdlib/cxa_atexit.c: Likewise.
18700 * stdlib/cxa_finalize.c: Likewise.
18701 * stdlib/gen-fpioconst.c: Likewise.
18702 * stdlib/strtol_l.c: Likewise.
18703 * string/tst-endian.c: Likewise.
18704 * sunrpc/auth_des.c: Likewise.
18705 * sunrpc/clnt_udp.c: Likewise.
18706 * sunrpc/rtime.c: Likewise.
18707 * sunrpc/svcauth_des.c: Likewise.
18708 * sunrpc/xdr.c: Likewise.
18709 * sunrpc/xdr_intXX_t.c: Likewise.
18710 * sunrpc/xdr_rec.c: Likewise.
18711 * sysdeps/generic/ldconfig.h: Likewise.
18712 * sysdeps/generic/ldsodefs.h: Likewise.
18713 * sysdeps/generic/memusage.h: Likewise.
18714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18717 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18720 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18721 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18722 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18724 * sysdeps/posix/getaddrinfo.c: Likewise.
18725 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18726 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18727 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18728 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18729 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18730 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18731 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18732 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18733 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18735 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18736 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18737 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18738 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18739 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18740 * sysdeps/x86_64/dl-tls.h: Likewise.
18741 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18742 * time/alt_digit.c: Likewise.
18743 * time/era.c: Likewise.
18744 * wcsmbs/tst-c16c32-1.c: Likewise.
18745
8c75f674
JM
187462013-05-16 Joseph Myers <joseph@codesourcery.com>
18747
18748 * math/libm-test.inc (struct test_sincos_data): New type.
18749 (RUN_TEST_LOOP_sincos): New macro.
18750 (sincos_test_data): New variable.
18751 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18752
e6e49e59
RH
187532013-05-16 Richard Henderson <rth@redhat.com>
18754
18755 * math/atest-exp2.c (LIMB64): New macro.
18756 (CONSTSZ): New macro.
18757 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18758 (hexdig): Move ...
18759 (print_mpn_fp): ... to function scope.
18760 (read_mpn_hex): Remove.
18761 (get_log2): Remove.
18762 (exp2_mpn): Use mp_log2.
18763 (main): Use mp_exp1.
18764
15c7c18d
JM
187652013-05-16 Joseph Myers <joseph@codesourcery.com>
18766
105a07df
JM
18767 * math/libm-test.inc: Remove comment about not testing "inexact"
18768 exceptions.
18769 (INEXACT_EXCEPTION): New macro.
18770 (NO_INEXACT_EXCEPTION): Likewise.
18771 (INVALID_EXCEPTION_OK): Update value.
18772 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18773 (OVERFLOW_EXCEPTION_OK): Likewise.
18774 (UNDERFLOW_EXCEPTION_OK): Likewise.
18775 (IGNORE_ZERO_INF_SIGN): Likewise.
18776 (ERRNO_UNCHANGED): Likewise.
18777 (ERRNO_EDOM): Likewise.
18778 (ERRNO_ERANGE): Likewise.
18779 (test_exceptions): Handle testing "inexact" exceptions.
18780 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18781 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18782 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18783 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18784 INEXACT_EXCEPTION.
18785 (rint_towardzero_test_data): Likewise.
18786 (rint_downward_test_data): Likewise.
18787 (rint_upward_test_data): Likewise.
18788
e9eee333
JM
18789 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18790 with OVERFLOW_EXCEPTION.
18791 (exp10_test_data): Likewise.
18792 (exp2_test_data): Likewise.
18793 (expm1_test_data): Likewise.
18794 (lgamma_test_data): Likewise.
18795 (pow_test_data): Likewise.
18796 (tgamma_test_data): Likewise.
18797 (yn_test_data): Remove duplicate test of overflow.
18798
1c38ff73
JM
18799 * math/libm-test.inc (struct test_cc_c_data): New type.
18800 (RUN_TEST_LOOP_cc_c): New macro.
18801 (cpow_test_data): New variable.
18802 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18803
15c7c18d
JM
18804 * math/libm-test.inc (struct test_f_L_data): New type.
18805 (RUN_TEST_LOOP_f_L): New macro.
18806 (llrint_test_data): New variable.
18807 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18808 (llrint_tonearest_test_data): New variable.
18809 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18810 (llrint_towardzero_test_data): New variable.
18811 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18812 (llrint_downward_test_data): New variable.
18813 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18814 (llrint_upward_test_data): New variable.
18815 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18816 (llround_test_data): New variable.
18817 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18818
f137ff13
PC
188192013-05-13 Peter Collingbourne <pcc@google.com>
18820
18821 * math/atest-exp2.c (get_log2): Remove const attribute.
18822
3608cb24
JM
188232013-05-15 Joseph Myers <joseph@codesourcery.com>
18824
18825 * math/libm-test.inc (struct test_f_l_data): New type.
18826 (RUN_TEST_LOOP_f_l): New macro.
18827 (lrint_test_data): New variable.
18828 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18829 (lrint_tonearest_test_data): New variable.
18830 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18831 (lrint_towardzero_test_data): New variable.
18832 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18833 (lrint_downward_test_data): New variable.
18834 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18835 (lrint_upward_test_data): New variable.
18836 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18837 (lround_test_data): New variable.
18838 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18839
39b1f617
PC
188402013-05-15 Peter Collingbourne <pcc@google.com>
18841
1deff3dc
PC
18842 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18843 (EXTRACT_WORDS64) Use where appropriate.
18844 (INSERT_WORDS64) Likewise.
18845
791f3ba0
PC
18846 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18847 constraints with x constraints.
18848 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18849
39b1f617
PC
18850 * malloc/obstack.c (_obstack_compat): Add initializer.
18851
12fba011
EM
188522013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18853
18854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18855 si_trapno and add si_addr_lsb to _sifields.sigfault.
18856 (si_trapno): Remove macro.
18857 (si_addr_lsb): Define new macro.
18858 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18859
d369f531
JM
188602013-05-15 Joseph Myers <joseph@codesourcery.com>
18861
b861c6c4
JM
18862 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18863 instead of TEST_f_l.
18864 (llrint_test_tonearest): Likewise.
18865 (llrint_test_towardzero): Likewise.
18866 (llrint_test_downward): Likewise.
18867 (llrint_test_upward): Likewise.
18868 (llround_test): Likewise.
18869
7abeee12
JM
18870 * math/libm-test.inc (struct test_f_i_data): Add comment.
18871 (RUN_TEST_LOOP_f_b): New macro.
18872 (RUN_TEST_LOOP_f_b_tg): Likewise.
18873 (finite_test_data): New variable.
18874 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18875 (isfinite_test_data): New variable.
18876 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18877 (isinf_test_data): New variable.
18878 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18879 (isnan_test_data): New variable.
18880 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18881 (isnormal_test_data): New variable.
18882 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18883 (issignaling_test_data): New variable.
18884 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18885 (signbit_test_data): New variable.
18886 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18887
cbe8c4d3
JM
18888 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18889 with INVALID_EXCEPTION.
18890 (acosh_test_data): Likewise.
18891 (asin_test_data): Likewise.
18892 (atanh_test_data): Likewise.
18893 (fmod_test_data): Likewise.
18894 (log_test_data): Likewise.
18895 (log10_test_data): Likewise.
18896 (log2_test_data): Likewise.
18897 (pow_test_data): Likewise.
18898 (sqrt_test_data): Likewise.
18899 (y0_test_data): Likewise.
18900 (y1_test_data): Likewise.
18901 (yn_test_data): Likewise.
18902
5575c0e5
JM
18903 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18904 function contents.
18905
d369f531
JM
18906 * math/libm-test.inc (struct test_ff_i_data): New type.
18907 (RUN_TEST_LOOP_ff_i_tg): New macro.
18908 (isgreater_test_data): New variable.
18909 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18910 (isgreaterequal_test_data): New variable.
18911 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18912 (isless_test_data): New variable.
18913 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18914 (islessequal_test_data): New variable.
18915 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18916 (islessgreater_test_data): New variable.
18917 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18918 (isunordered_test_data): New variable.
18919 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18920
781fd748
DM
189212013-05-14 David S. Miller <davem@davemloft.net>
18922
18923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18924
87aa21df
JM
189252013-05-14 Joseph Myers <joseph@codesourcery.com>
18926
5e908270
JM
18927 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18928
f71172e5
JM
18929 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18930 extra_test to int.
18931 (struct test_f_i_data): Change type of max_ulp to int.
18932
8cfa635a
JM
18933 * math/libm-test.inc (test_ffI_f1_data): New type.
18934 (RUN_TEST_LOOP_ffI_f1): New macro.
18935 (remquo_test_data): New variable.
18936 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18937
2bcb36b2
JM
18938 * setjmp/tst-setjmp-fp.c: New file.
18939 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18940 (link-libm): New variable.
18941 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18942
acbd839a
JM
18943 * math/libm-test.inc (struct test_f_i_data): New type.
18944 (RUN_TEST_LOOP_f_i): New macro.
18945 (RUN_TEST_LOOP_f_i_tg): Likewise.
18946 (fpclassify_test_data): New variable.
18947 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18948 (ilogb_test_data): New variable.
18949 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18950
e414d745
JM
18951 * math/libm-test.inc (scalbln_test): Correct function name in END
18952 call.
18953
d9c2a0fd
JM
18954 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18955 (RUN_TEST_LOOP_fI_f1): New macro.
18956 (frexp_test_data): New variable.
18957 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18958
9dc9095d
JM
18959 * math/libm-test.inc (struct test_fF_f1_data): New type.
18960 (RUN_TEST_LOOP_fF_f1): New macro.
18961 (modf_test_data): New variable.
18962 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18963
87aa21df
JM
18964 * math/libm-test.inc (struct test_f_f1_data): New type.
18965 (RUN_TEST_LOOP_f_f1): New macro.
18966 (gamma_test_data): New variable.
18967 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18968 (lgamma_test_data): New variable.
18969 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18970
141af660
CD
189712013-05-13 Carlos O'Donell <carlos@redhat.com>
18972
18973 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18974 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18975 (main): Comment "tls" pseudo-hwcap.
18976
6d33265c
JM
189772013-05-13 Joseph Myers <joseph@codesourcery.com>
18978
68fc074c
JM
18979 * math/libm-test.inc (struct test_fl_f_data): New type.
18980 (RUN_TEST_LOOP_fl_f): New variable.
18981 (scalbln_test_data): New variable.
18982 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18983
243216e1
JM
18984 * math/libm-test.inc (struct test_fi_f_data): New type.
18985 (RUN_TEST_LOOP_fi_f): New macro.
18986 (ldexp_test_data): New variable.
18987 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18988 (scalbn_test_data): New variable.
18989 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18990
6a1992e2
JM
18991 * math/libm-test.inc (struct test_c_f_data): New type.
18992 (RUN_TEST_LOOP_c_f): New macro.
18993 (cabs_test_data): New variable.
18994 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18995 (carg_test_data): New variable.
18996 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18997 (cimag_test_data): New variable.
18998 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18999 (creal_test_data): New variable.
19000 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19001
0e400df5
JM
19002 * math/libm-test.inc (struct test_if_f_data): New type.
19003 (RUN_TEST_LOOP_if_f): New macro.
19004 (jn_test_data): New variable.
19005 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19006 (yn_test_data): New variable.
19007 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19008
6d33265c
JM
19009 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19010
f98ece5f
AZ
190112013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19012
19013 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19014 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19015
0f7d347b
SP
190162013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19017
43fe811b
SP
19018 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19019 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19020 (bench-deps): Add bench-timing.h.
19021 * benchtests-bench-skeleton.c: Include bench-timing.h.
19022 (main): Use TIMING_* macros instead of clock_gettime.
19023 * benchtests/bench-timing.h: New file.
19024
0f7d347b
SP
19025 [BZ #14582]
19026 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19027 Renamed from _LIB_VERSION.
19028 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19029
601a3a5f
JM
190302013-05-12 Joseph Myers <joseph@codesourcery.com>
19031
4f184d30
JM
19032 * math/libm-test.inc (struct test_fff_f_data): New type.
19033 (RUN_TEST_LOOP_fff_f): New macro.
19034 (fma_test_data): New variable.
19035 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19036 (fma_towardzero_test_data): New variable.
19037 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19038 (fma_downward_test_data): New variable.
19039 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19040 (fma_upward_test_data): New variable.
19041 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19042
08198877
JM
19043 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19044 (struct test_c_c_data): New type.
19045 (RUN_TEST_LOOP_c_c): New macro.
19046 (cacos_test_data): New variable.
19047 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19048 (cacosh_test_data): New variable.
19049 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19050 (casin_test_data): New variable.
19051 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19052 (casinh_test_data): New variable.
19053 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19054 (catan_test_data): New variable.
19055 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19056 (catanh_test_data): New variable.
19057 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19058 (ccos_test_data): New variable.
19059 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19060 (ccosh_test_data): New variable.
19061 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19062 (cexp_test_data): New variable.
19063 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19064 (clog_test_data): New variable.
19065 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19066 (clog10_test_data): New variable.
19067 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19068 (conj_test_data): New variable.
19069 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19070 (cproj_test_data): New variable.
19071 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19072 (csin_test_data): New variable.
19073 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19074 (csinh_test_data): New variable.
19075 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19076 (csqrt_test_data): New variable.
19077 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19078 (ctan_test_data): New variable.
19079 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19080 (ctan_tonearest_test_data): New variable.
19081 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19082 (ctan_towardzero_test_data): New variable.
19083 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19084 (ctan_downward_test_data): New variable.
19085 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19086 (ctan_upward_test_data): New variable.
19087 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19088 (ctanh_test_data): New variable.
19089 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19090 (ctanh_tonearest_test_data): New variable.
19091 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19092 (ctanh_towardzero_test_data): New variable.
19093 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19094 (ctanh_downward_test_data): New variable.
19095 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19096 (ctanh_upward_test_data): New variable.
19097 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19098 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19099 of BUILD_COMPLEX.
19100
601a3a5f
JM
19101 * math/libm-test.inc (struct test_ff_f_data): New type.
19102 (struct test_ff_f_data_nexttoward): Likewise.
19103 (RUN_TEST_LOOP_2_f): New macro.
19104 (RUN_TEST_LOOP_ff_f): Likewise.
19105 (atan2_test_data): New variable.
19106 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19107 (copysign_test_data): New variable.
19108 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19109 (fdim_test_data): New variable.
19110 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19111 (fmax_test_data): New variable.
19112 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19113 (fmin_test_data): New variable.
19114 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19115 (fmod_test_data): New variable.
19116 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19117 (hypot_test_data): New variable.
19118 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19119 (nextafter_test_data): New variable.
19120 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19121 (nexttoward_test_data): New variable.
19122 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19123 (pow_test_data): New variable.
19124 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19125 (pow_tonearest_test_data): New variable.
19126 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19127 (pow_towardzero_test_data): New variable.
19128 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19129 (pow_downward_test_data): New variable.
19130 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19131 (pow_upward_test_data): New variable.
19132 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19133 (remainder_test_data): New variable.
19134 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19135 (scalb_test_data): New variable.
19136 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19137 * sysdeps/i386/fpu/libm-test-ulps: Update.
19138
74c57478
JM
191392013-05-11 Joseph Myers <joseph@codesourcery.com>
19140
8329e4da
JM
19141 * math/libm-test.inc (fma_test): Use max_value instead of local
19142 variable fltmax.
19143 (nextafter_test): Likewise.
19144
74c57478
JM
19145 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19146 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19147 (acos_downward_test_data): New variable.
19148 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19149 (acos_upward_test_data): New variable.
19150 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19151 (acosh_test_data): New variable.
19152 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19153 (asin_test_data): New variable.
19154 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19155 (asin_tonearest_test_data): New variable.
19156 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19157 (asin_towardzero_test_data): New variable.
19158 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19159 (asin_downward_test_data): New variable.
19160 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19161 (asin_upward_test_data): New variable.
19162 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19163 (asinh_test_data): New variable.
19164 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19165 (atan_test_data): New variable.
19166 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19167 (atanh_test_data): New variable.
19168 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19169 (cbrt_test_data): New variable.
19170 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19171 (ceil_test_data): New variable.
19172 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19173 (cos_test_data): New variable.
19174 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19175 (cos_tonearest_test_data): New variable.
19176 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19177 (cos_towardzero_test_data): New variable.
19178 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19179 (cos_downward_test_data): New variable.
19180 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19181 (cos_upward_test_data): New variable.
19182 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19183 (cosh_test_data): New variable.
19184 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19185 (cosh_tonearest_test_data): New variable.
19186 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19187 (cosh_towardzero_test_data): New variable.
19188 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19189 (cosh_downward_test_data): New variable.
19190 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19191 (cosh_upward_test_data): New variable.
19192 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19193 (erf_test_data): New variable.
19194 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19195 (erfc_test_data): New variable.
19196 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19197 (exp_test_data): New variable.
19198 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19199 (exp_tonearest_test_data): New variable.
19200 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19201 (exp_towardzero_test_data): New variable.
19202 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19203 (exp_downward_test_data): New variable.
19204 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19205 (exp_upward_test_data): New variable.
19206 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19207 (exp10_test_data): New variable.
19208 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19209 (exp2_test_data): New variable.
19210 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19211 (expm1_test_data): New variable.
19212 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19213 (fabs_test_data): New variable.
19214 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19215 (floor_test_data): New variable.
19216 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19217 (j0_test_data): New variable.
19218 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19219 (j1_test_data): New variable.
19220 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19221 (log_test_data): New variable.
19222 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19223 (log10_test_data): New variable.
19224 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19225 (log1p_test_data): New variable.
19226 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19227 (log2_test_data): New variable.
19228 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19229 (logb_test_data): New variable.
19230 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19231 (logb_downward_test_data): New variable.
19232 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19233 (nearbyint_test_data): New variable.
19234 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19235 (rint_test_data): New variable.
19236 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19237 (rint_tonearest_test_data): New variable.
19238 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19239 (rint_towardzero_test_data): New variable.
19240 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19241 (rint_downward_test_data): New variable.
19242 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19243 (rint_upward_test_data): New variable.
19244 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19245 (round_test_data): New variable.
19246 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19247 (sin_test_data): New variable.
19248 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19249 (sin_tonearest_test_data): New variable.
19250 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19251 (sin_towardzero_test_data): New variable.
19252 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19253 (sin_downward_test_data): New variable.
19254 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19255 (sin_upward_test_data): New variable.
19256 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19257 (sinh_test_data): New variable.
19258 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19259 (sinh_tonearest_test_data): New variable.
19260 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19261 (sinh_towardzero_test_data): New variable.
19262 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19263 (sinh_downward_test_data): New variable.
19264 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19265 (sinh_upward_test_data): New variable.
19266 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19267 (sqrt_test_data): New variable.
19268 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19269 (tan_test_data): New variable.
19270 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19271 (tan_tonearest_test_data): New variable.
19272 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19273 (tan_towardzero_test_data): New variable.
19274 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19275 (tan_downward_test_data): New variable.
19276 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19277 (tan_upward_test_data): New variable.
19278 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19279 (tanh_test_data): New variable.
19280 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19281 (tgamma_test_data): New variable.
19282 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19283 (trunc_test_data): New variable.
19284 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19285 (y0_test_data): New variable.
19286 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19287 (y1_test_data): New variable.
19288 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19289 (significand_test_data): New variable.
19290 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19291
7187d844
CG
192922013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19293
19294 [BZ #12387]
19295 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19296
f63fae73
PT
192972013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19298
19299 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19300
8a67a4b3
AJ
193012013-05-10 Andreas Jaeger <aj@suse.de>
19302
19303 [BZ #15448]
19304 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19305 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19306
51df539d
JM
193072013-05-10 Joseph Myers <joseph@codesourcery.com>
19308
19309 * math/gen-libm-test.pl (adjust_arg): New function.
19310 (special_functions): Handle generating output in both functions
19311 and arrays.
19312 (parse_args): Likewise.
19313 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19314 $in_func argument to parse_args.
19315 * math/libm-test.inc (struct test_f_f_data): New type.
19316 (IF_ROUND_INIT_): New macro.
19317 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19318 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19319 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19320 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19321 (ROUND_RESTORE_): Likewise.
19322 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19323 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19324 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19325 (ROUND_RESTORE_FE_UPWARD): Likewise.
19326 (RUN_TEST_LOOP_f_f): New macro.
19327 (acos_test_data): New variable.
19328 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19329 (acos_tonearest_test_data): New variable.
19330 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19331
5c637fe5
SP
193322013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19333
19334 * benchtests/bench-skeleton.c (startup): Fix coding style.
19335
ab2b9461
JM
193362013-05-10 Joseph Myers <joseph@codesourcery.com>
19337
19338 [BZ #6809]
19339 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19340 negative infinity argument.
19341 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19342 negative infinity argument.
19343 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19344 negative infinity argument.
19345 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19346 domain errors.
19347
4c0fe6fe
FW
193482013-05-10 Florian Weimer <fweimer@redhat.com>
19349
19350 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19351 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19352 * iconv/iconv_prog.c (main): Likewise.
19353 * locale/programs/charmap-dir.c (charmap_readdir)
19354 (fopen_uncompressed): Likewise.
19355 * locale/programs/locfile.c (siblings_uncached)
19356 (write_locale_data): Use lstat64 instead of lstat.
19357 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19358 stat.
19359
a3375d29
AJ
193602013-05-10 Andreas Jaeger <aj@suse.de>
19361
19362 [BZ #15395]
19363 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19364 localization.
19365 Include <locale.h>.
19366
36129722
CD
193672013-05-09 Carlos O'Donell <carlos@redhat.com>
19368
19369 * elf/dl-close.c (_dl_close_worker): Add comments.
19370
faa7f811
JM
193712013-05-09 Joseph Myers <joseph@codesourcery.com>
19372
ed41ffef
JM
19373 [BZ #15359]
19374 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19375 high part of pi/2.
19376 (__ieee754_rem_pio2l): Update comments.
19377
d0213cd0
JM
19378 [BZ #15429]
19379 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19380 high part of pi/2.
19381 (__ieee754_rem_pio2l): Update comments.
19382
0d3e777a
JM
19383 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19384 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19385
24f56066
JM
19386 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19387 M_PI_4l.
19388
faa7f811
JM
19389 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19390 (M_PI_34_LOG10El): Likewise.
19391 (M_PI2_LOG10El): Likewise.
19392 (M_PI4_LOG10El): Likewise.
19393 (M_PI_LOG10El): Likewise.
19394
e9a5e0fd
AZ
193952013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19396
19397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19398
d8cd06db
JM
193992013-05-08 Joseph Myers <joseph@codesourcery.com>
19400
a0d9f9d7
JM
19401 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19402 (MINUS_ZERO_INIT): Likewise.
19403 (PLUS_INFTY_INIT): Likewise.
19404 (MINUS_INFTY_INIT): Likewise.
19405 (QNAN_VALUE_INIT): Likewise.
19406 (MAX_VALUE_INIT): Likewise.
19407 (MIN_VALUE_INIT): Likewise.
19408 (MIN_SUBNORM_VALUE_INIT): Likewise.
19409 (plus_zero): Initialize with PLUS_ZERO_INIT.
19410 (minus_zero): Initialize with MINUS_ZERO_INIT.
19411 (plus_infty): Initialize with PLUS_INFTY_INIT.
19412 (minus_infty): Initialize with MINUS_INFTY_INIT.
19413 (qnan_value): Initialize with QNAN_VALUE_INIT.
19414 (max_value): Initialize with MAX_VALUE_INIT.
19415 (min_value): Initialize with MIN_VALUE_INIT.
19416 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19417
ae08db3b
JM
19418 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19419 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19420 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19421 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19422
f44bf14a
JM
19423 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19424 (RUN_TEST_2_f): Likewise.
19425 (RUN_TEST_ff_f): Likewise.
19426 (RUN_TEST_fi_f): Likewise.
19427 (RUN_TEST_fl_f): Likewise.
19428 (RUN_TEST_fff_f): Likewise.
19429 (RUN_TEST_c_f): Likewise.
19430 (RUN_TEST_f_f1): Likewise.
19431 (RUN_TEST_fF_f1): Likewise.
19432 (RUN_TEST_fI_f1): Likewise.
19433 (RUN_TEST_ffI_f1): Likewise.
19434 (RUN_TEST_c_c): Likewise.
19435 (RUN_TEST_cc_c): Likewise.
19436 (RUN_TEST_f_i): Likewise.
19437 (RUN_TEST_f_i_tg): Likewise.
19438 (RUN_TEST_ff_i_tg): Likewise.
19439 (RUN_TEST_f_b): Likewise.
19440 (RUN_TEST_f_b_tg): Likewise.
19441 (RUN_TEST_f_l): Likewise.
19442 (RUN_TEST_f_L): Likewise.
19443 (RUN_TEST_sincos): Likewise.
19444 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19445 whether to show exceptions. Do not include ");\n" in return
19446 value.
19447 (special_functions): Output call to RUN_TEST_sincos instead of
19448 check_float calls. Update calls to new_test.
19449 (parse_args): Output call to single RUN_TEST_* macro instead of
19450 check_* calls and other assignments. Update calls to new_test.
19451
d8cd06db
JM
19452 [BZ #2546]
19453 [BZ #2560]
19454 [BZ #5159]
19455 [BZ #15426]
19456 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19457 input to result for tgamma overflow.
19458 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19459 (gamma_coeff): New variable.
19460 (NCOEFF): New macro.
19461 (gamma_positive): New function.
19462 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19463 underflow here. Use gamma_positive instead of exp (lgamma) for
19464 other arguments.
19465 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19466 (gamma_coeff): New variable.
19467 (NCOEFF): New macro.
19468 (gammaf_positive): New function.
19469 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19470 underflow here. Use gamma_positive instead of exp (lgamma) for
19471 other arguments.
19472 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19473 (gamma_coeff): New variable.
19474 (NCOEFF): New macro.
19475 (gammal_positive): New function.
19476 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19477 underflow here. Use gamma_positive instead of exp (lgamma) for
19478 other arguments.
19479 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19480 (gamma_coeff): New variable.
19481 (NCOEFF): New macro.
19482 (gammal_positive): New function.
19483 (__ieee754_gammal_r): Handle positive infinity, overflow and
19484 underflow here. Handle NaN the same as positive infinity. Remove
19485 check x < 0xffffffff for negative integers. Use gamma_positive
19486 instead of exp (lgamma) for other arguments.
19487 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19488 (gamma_coeff): New variable.
19489 (NCOEFF): New macro.
19490 (gammal_positive): New function.
19491 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19492 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19496 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19497 * sysdeps/generic/math_private.h (__gamma_productf): New
19498 prototype.
19499 (__gamma_product): Likewise.
19500 (__gamma_productl): Likewise.
19501 * math/Makefile (libm-calls): Add gamma_product.
19502 * math/libm-test.inc (tgamma_test): Add more tests.
19503 * sysdeps/i386/fpu/libm-test-ulps: Update.
19504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19505
bb7cf681
OB
195062013-05-08 Ondřej Bílka <neleai@seznam.cz>
19507
19508 * benchtests/bench-skeleton.c (main): Preheat CPU.
19509
ba853947
AJ
195102013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19511
19512 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19513
8347c74c
RM
195142013-05-07 Roland McGrath <roland@hack.frob.com>
19515
19516 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19517 and _dl_skip_args_internal.
19518
e8dd4791
CD
195192013-05-07 Carlos O'Donell <carlos@redhat.com>
19520
19521 * manual/message.texi (Message Translation): Talk about users.
19522 Message to key mapping impacts design.
19523
c7405830
RM
195242013-05-06 Roland McGrath <roland@hack.frob.com>
19525
a9173057
RM
19526 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19527
976e2f03
RM
19528 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19529
9723ffc5
RM
19530 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19531 * sysdeps/wordsize-64/glob64.c: ... here.
19532
962e6658
RM
19533 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19534 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19535 New macros.
19536
ee586a6d
RM
19537 * debug/getlogin_r_chk.c: Moved to ...
19538 * login/getlogin_r_chk.c: ... here.
19539 * debug/Makefile (routines): Move getlogin_r_chk to ...
19540 * login/Makefile (routines): ... here.
19541 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19542 * login/Versions (libc: GLIBC_2.4): ... here.
19543
355f9165
RM
19544 * io/poll.c (__poll): Renamed from poll.
19545 Add libc_hidden_def.
19546 (poll): Define as weak alias.
19547
bd9ffde6
RM
19548 * debug/ptsname_r_chk.c: Moved to ...
19549 * login/ptsname_r_chk.c: ... here.
19550 * debug/Makefile (routines): Move ptsname_r_chk to ...
19551 * login/Makefile (routines): ... here.
19552 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19553 * login/Versions (libc: GLIBC_2.4): ... here.
19554
8fb16a04
RM
19555 * posix/getlogin.c: Moved to ...
19556 * login/getlogin.c: ... here.
19557 * posix/getlogin_r.c: Moved to ...
19558 * login/getlogin_r.c: ... here.
19559 * posix/getlogin_r.c: Moved to ...
19560 * login/getlogin_r.c: ... here.
19561 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19562 * login/Makefile (routines): ... here.
19563 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19564 * login/Versions (libc: GLIBC_2.0): ... here.
19565
b99b892f
RM
19566 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19567 (setrlimit): Define as weak alias.
19568
c7405830
RM
19569 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19570 Call __ names for open, ftruncate, and close.
19571 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19572 (truncate): Define as weak alias.
19573
5bf96de5
JM
195742013-05-06 Joseph Myers <joseph@codesourcery.com>
19575
9ea3513c
JM
19576 * math/gen-libm-test.pl (parse_args): Initialize x before each
19577 test of frexp, modf and remquo.
19578
5bf96de5
JM
19579 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19580 test signgam value.
19581
16e616a7
AZ
195822013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19583
19584 [BZ #15418]
19585 [BZ #15419]
19586 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19587 internal tests.
19588 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19589
d5e82754
RM
195902013-05-06 Roland McGrath <roland@hack.frob.com>
19591
19592 * elf/dl-writev.h: New file.
19593 * elf/dl-misc.c: Include it.
19594 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19595 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19596
a7548d41
JM
195972013-05-04 Joseph Myers <joseph@codesourcery.com>
19598
b7dab1e4
JM
19599 * math/libm-test.inc (noXFails): Remove variable.
19600 (noXPasses): Likewise.
19601 (BUILD_COMPLEX_INT): Remove macro.
19602 (print_screen): Remove xfail argument.
19603 (print_screen_max_error): Likewise.
19604 (update_stats): Likewise.
19605 (print_max_error): Likewise. Update calls to other affected
19606 functions.
19607 (print_complex_max_error): Likewise.
19608 (test_single_exception): Update calls to print_screen.
19609 (test_single_errno): Likewise.
19610 (check_float_internal): Remove xfail argument. Update calls to
19611 other affected functions.
19612 (check_float): Likewise.
19613 (check_complex): Likewise.
19614 (check_int): Likewise.
19615 (check_long): Likewise.
19616 (check_bool): Likewise.
19617 (check_longlong): Likewise.
19618 (main): Don't print noXFails and noXPasses.
19619 * math/gen-libm-test.pl (top level): Don't mention expected
19620 failure handling in comment.
19621 (new_test): Don't handle expected failures.
19622 (parse_args): Don't mention expected failure handling in comment.
19623 (generate_testfile): Don't handle expected failures.
19624 (parse_ulps): Likewise.
19625 (print_ulps_file): Likewise.
19626 (get_failure): Remove function.
19627 (output_test): Don't handle expected failures.
19628 * make/README.libm-test: Don't mention expected failure handling.
19629
a7548d41
JM
19630 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19631 (minus_zero): Likewise.
19632 (plus_infty): Likewise.
19633 (minus_infty): Likewise.
19634 (qnan_value): Likewise.
19635 (max_value): Likewise.
19636 (min_value): Likewise.
19637 (min_subnorm_value): Likewise.
19638 (initialize): Do not initialize those variables dynamically.
19639
60bfd54c
RM
196402013-05-03 Roland McGrath <roland@hack.frob.com>
19641
cc0e6ed8
RM
19642 * io/open.c (__open_2): Moved to ...
19643 * io/open_2.c: ... this new file.
19644 * io/open64.c (__open64_2): Moved to ...
19645 * io/open64_2.c: ... this new file.
19646 * io/openat.c (__openat_2): Moved to ...
19647 * io/openat_2.c: ... this new file.
19648 * io/openat64.c (__openat64_2): Moved to ...
19649 * io/openat64_2.c: ... this new file.
19650 * io/Makefile (routines): Add them.
19651 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19652 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19653 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19654 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19655 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19656 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19657 (__openat64): Add hidden_ver.
19658 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19659 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19660
60bfd54c
RM
19661 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19662 Separately conditionalize setting of GLRO(dl_sysinfo) so
19663 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19664 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19665
83e7640f
AZ
196662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19667
19668 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19670 definition.
19671 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19672 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19673 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19674 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19675 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19676
d5dc2af3
JM
196772013-05-03 Joseph Myers <joseph@codesourcery.com>
19678
c31a5b1e
JM
19679 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19680 test signgam value.
19681
d5dc2af3
JM
19682 * math/libm-test.inc (hypot_test): Do not use
19683 IGNORE_ZERO_INF_SIGN.
19684
164fd39d
AJ
196852013-05-03 Andreas Jaeger <aj@suse.de>
19686
19687 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19688 Linux 3.9.
19689 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19690 (PF_MAX): Adjust for VSOCK change.
19691
8237f48c
AZ
196922013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19693
19694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19695
9df02941
CD
196962013-05-02 Carlos O'Donell <carlos@redhat.com>
19697
19698 [BZ #15264]
19699 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19700 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19701 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19702
d422395e
DM
197032013-05-02 David S. Miller <davem@davemloft.net>
19704
19705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19706
a07c5731
OB
197072013-05-01 Ondřej Bílka <neleai@seznam.cz>
19708
19709 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19710
1324e37f
RM
197112013-05-01 Roland McGrath <roland@hack.frob.com>
19712
19713 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19714
0695940b
RS
197152013-05-01 Richard Smith <richard@metafoo.co.uk>
19716
bb5f27ad 19717 [BZ #14952]
0695940b
RS
19718 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19719 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19720 Use __attribute__ ((__gnu_inline__)).
19721 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19722 Don't use __attribute__ ((__gnu_inline__)).
19723
10de07f5
JM
197242013-05-01 Joseph Myers <joseph@codesourcery.com>
19725
19726 [BZ #15423]
19727 * math/s_catan.c (__catan): Handle small real or imaginary part of
19728 input specially to avoid spurious underflow.
19729 * math/s_catanf.c (__catanf): Likewise.
19730 * math/s_catanh.c (__catanh): Likewise.
19731 * math/s_catanhf.c (__catanhf): Likewise.
19732 * math/s_catanhl.c (__catanhl): Likewise.
19733 * math/s_catanl.c (__catanl): Likewise.
19734 * math/libm-test.inc (catan_test): Add more tests.
19735 (catanh_test): Likewise.
19736 * sysdeps/i386/fpu/libm-test-ulps: Update.
19737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19738
cb4d5414
AZ
197392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19740
19741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19742
caf84319
JM
197432013-04-30 Joseph Myers <joseph@codesourcery.com>
19744
19745 [BZ #15416]
19746 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19747 accurately for denominator in atan2.
19748 * math/s_catanf.c (__catanf): Likewise.
19749 * math/s_catanh.c (__catanh): Likewise.
19750 * math/s_catanhf.c (__catanhf): Likewise.
19751 * math/s_catanhl.c (__catanhl): Likewise.
19752 * math/s_catanl.c (__catanl): Likewise.
19753 * math/libm-test.inc (catan_test): Add more tests.
19754 (catanh_test): Likewise.
19755 * sysdeps/i386/fpu/libm-test-ulps: Update.
19756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19757
d569c6ee
SP
197582013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19759
6dbe713d
SP
19760 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19761
f0ee064b
SP
19762 * benchtests/Makefile (bench): Remove slow benchmarks.
19763 * benchtests/atan-inputs: Add slow benchmark inputs.
19764 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19765 (BENCH_FUNC): Accept variant offset.
19766 (VARIANT): Define.
19767 * benchtests/bench-skeleton.c (main): Run benchmark for each
19768 variant.
19769 * benchtests/cos-inputs: Add slow benchmark inputs.
19770 * benchtests/exp-inputs: Likewise.
19771 * benchtests/pow-inputs: Likewise.
19772 * benchtests/sin-inputs: Likewise.
19773 * benchtests/slowatan-inputs: Remove.
19774 * benchtests/slowatan.c: Remove.
19775 * benchtests/slowcos-inputs: Remove.
19776 * benchtests/slowcos.c: Remove.
19777 * benchtests/slowexp-inputs: Remove.
19778 * benchtests/slowexp.c: Remove.
19779 * benchtests/slowpow-inputs: Remove.
19780 * benchtests/slowpow.c: Remove.
19781 * benchtests/slowsin-inputs: Remove.
19782 * benchtests/slowsin.c: Remove.
19783 * benchtests/slowtan-inputs: Remove.
19784 * benchtests/slowtan.c: Remove.
19785 * benchtests/tan-inputs: Add slow benchmark inputs.
19786 * scripts/bench.pl: Parse comments and directives.
19787
d569c6ee
SP
19788 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19789 in CPPFLAGS.
19790 ($(objpfx)bench-%.c): Remove *-ITER.
19791 * benchtests/bench-modf.c: Remove definition of ITER.
19792 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19793 (main): Loop for DURATION seconds instead of fixed number of
19794 iterations.
19795 * scripts/bench.pl: Don't expect iterations in parameters.
19796
a6a242fe
RM
197972013-04-29 Roland McGrath <roland@hack.frob.com>
19798
19799 * io/fchdir.c (__fchdir): Renamed from fchdir.
19800 (fchdir): Define as weak alias.
19801
f2da7793
JM
198022013-04-29 Joseph Myers <joseph@codesourcery.com>
19803
19804 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19805 (ERRNO_EDOM): Likewise.
19806 (ERRNO_ERANGE): Likewise.
19807 (noErrnoTests): New variable.
19808 (init_max_error): Set errno to 0.
19809 (test_single_errno): New function.
19810 (test_errno): Likewise.
19811 (check_float_internal): Call test_errno. Set errno to 0.
19812 (check_complex): Refer to errno tests in comment.
19813 (check_int): Call test_errno. Set errno to 0.
19814 (check_long): Likewise.
19815 (check_bool): Likewise.
19816 (check_longlong): Likewise.
19817 (cos_test): Use ERRNO_* flags for errno tests instead of
19818 check_int.
19819 (expm1_test): Likewise.
19820 (fmod_test): Likewise.
19821 (ilogb_test): Likewise.
19822 (lgamma_test): Likewise.
19823 (pow_test): Likewise.
19824 (remainder_test): Likewise.
19825 (sin_test): Likewise.
19826 (tan_test): Likewise.
19827 (yn_test): Likewise.
19828 (initialize): Set errno to 0.
19829 (main): Print number of errno tests.
19830 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19831
b1a36ceb
AJ
198322013-04-29 Andreas Jaeger <aj@suse.de>
19833
c3ed8088
AJ
19834 [BZ #15084]
19835 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19836 and RES_USEVC.
19837
f1a24198
AJ
19838 [BZ #15085]
19839 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19840 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19841 unimplemented.
19842
9ce3b2cb
AJ
19843 [BZ #15380]
19844 * stdlib/random.c (__initstate): Return NULL if
19845 __initstate fails.
19846
f1a24198 19847 [BZ #15086]
b1a36ceb
AJ
19848 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19849 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19850 RES_SNGLKUPREOP.
19851
7e7b6f36
AZ
198522013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19853
19854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19855
4d14f449
JM
198562013-04-29 Joseph Myers <joseph@codesourcery.com>
19857
19858 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19859 of individual tests.
19860 (casin_test): Likewise.
19861 (casinh_test): Likewise.
19862
5b4217d7
JM
198632013-04-27 Joseph Myers <joseph@codesourcery.com>
19864
19865 [BZ #15409]
19866 * math/s_catan.c (__catan): Handle arguments with large real or
19867 imaginary part separately without squaring.
19868 * math/s_catanf.c (__catanf): Likewise.
19869 * math/s_catanh.c (__catanh): Likewise.
19870 * math/s_catanhf.c (__catanhf): Likewise.
19871 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19872 and redefine.
19873 (__catanhl): Handle arguments with large real or imaginary part
19874 separately without squaring.
19875 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19876 and redefine.
19877 (__catanl): Handle arguments with large real or imaginary part
19878 separately without squaring.
19879 * math/libm-test.inc (catan_test): Add more tests.
19880 (catanh_test): Likewise.
19881 * sysdeps/i386/fpu/libm-test-ulps: Update.
19882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19883
4220c3ef
AJ
198842013-04-27 Andreas Jaeger <aj@suse.de>
19885
19886 [BZ #15007]
19887 * stdlib/stdlib.h: Update guards for qecvt.
19888 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19889 <stdlib.h>.
19890
4721b2d1
AM
198912013-04-27 Allan McRae <allan@archlinux.org>
19892
19893 * sysdeps/i386/fpu/libm-test-ulps: Update.
19894
f0302940
JM
198952013-04-26 Joseph Myers <joseph@codesourcery.com>
19896
9457fd95
JM
19897 [BZ #15406]
19898 * math/s_catan.c: Include <float.h>.
19899 (__catan): Ensure underflow exception occurs for underflowed
19900 result.
19901 * math/s_catanf.c: Include <float.h>.
19902 (__catanf): Ensure underflow exception occurs for underflowed
19903 result.
19904 * math/s_catanh.c: Include <float.h>.
19905 (__catanh): Ensure underflow exception occurs for underflowed
19906 result.
19907 * math/s_catanhf.c: Include <float.h>.
19908 (__catanhf): Ensure underflow exception occurs for underflowed
19909 result.
19910 * math/s_catanhl.c: Include <float.h>.
19911 (__catanhl): Ensure underflow exception occurs for underflowed
19912 result.
19913 * math/s_catanl.c: Include <float.h>.
19914 (__catanl): Ensure underflow exception occurs for underflowed
19915 result.
19916 * math/libm-test.inc (catan_test): Add more tests.
19917 (catanh_test): Likewise.
19918
f0302940
JM
19919 [BZ #15405]
19920 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19921 underflowed result.
19922 * math/s_ccoshf.c (__ccoshf): Likewise.
19923 * math/s_ccoshl.c (__ccoshl): Likewise.
19924 * math/s_csin.c (__csin): Likewise.
19925 * math/s_csinf.c (__csinf): Likewise.
19926 * math/s_csinh.c (__csinh): Likewise.
19927 * math/s_csinhf.c (__csinhf): Likewise.
19928 * math/s_csinhl.c (__csinhl): Likewise.
19929 * math/s_csinl.c (__csinl): Likewise.
19930 * math/libm-test.inc (ccos_test): Add more tests.
19931 (ccosh_test): Likewise.
19932 (csin_test): Likewise.
19933 (csinh_test): Likewise.
19934
aa630f59
AZ
199352013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19936
19937 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19938 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19939 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19940 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19941 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19942 powerpc/power5+/fpu folders.
19943 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19944
19945
1b835983
MT
199462013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19947
19948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19949
73709b26
JM
199502013-04-25 Joseph Myers <joseph@codesourcery.com>
19951
19952 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19953 additions to variable.
19954 [$(config-machine) = x86_64] (modules-names): Likewise.
19955 ($(objpfx)tst-audit3): Remove dependency.
19956 ($(objpfx)tst-audit3.out): Likewise.
19957 ($(objpfx)tst-audit4): Likewise.
19958 ($(objpfx)tst-audit4.out): Likewise.
19959 ($(objpfx)tst-audit5): Likewise.
19960 ($(objpfx)tst-audit5.out): Likewise.
19961 ($(objpfx)tst-audit6): Likewise.
19962 ($(objpfx)tst-audit6.out): Likewise.
19963 ($(objpfx)tst-audit7): Likewise.
19964 ($(objpfx)tst-audit7.out): Likewise.
19965 (tst-audit3-ENV): Remove variable.
19966 (tst-audit4-ENV): Likewise.
19967 (tst-audit5-ENV): Likewise.
19968 (tst-audit6-ENV): Likewise.
19969 (tst-audit7-ENV): Likewise.
19970 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19971 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19972 addition to variable.
19973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19974 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19975 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19976 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19977 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19978 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19979 tst-audit3, tst-audit4 and tst-audit5.
19980 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19981 tst-audit6 and tst-audit7.
19982 [$(subdir) = elf] (modules-names): Add audit modules for those
19983 tests.
19984 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19985 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19986 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19987 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19988 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19989 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19990 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19991 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19992 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19993 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19994 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19995 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19996 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19997 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19998 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19999 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20000 Likewise.
20001 [$(subdir) = elf && $(config-cflags-avx) = yes]
20002 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20003 [$(subdir) = elf && $(config-cflags-avx) = yes]
20004 (CFLAGS-tst-auditmod4a.c): Likewise.
20005 [$(subdir) = elf && $(config-cflags-avx) = yes]
20006 (CFLAGS-tst-auditmod4b.c): Likewise.
20007 [$(subdir) = elf && $(config-cflags-avx) = yes]
20008 (CFLAGS-tst-auditmod6b.c): Likewise.
20009 [$(subdir) = elf && $(config-cflags-avx) = yes]
20010 (CFLAGS-tst-auditmod6c.c): Likewise.
20011 [$(subdir) = elf && $(config-cflags-avx) = yes]
20012 (CFLAGS-tst-auditmod7b.c): Likewise.
20013 * elf/tst-audit3.c: Move to ...
20014 * sysdeps/x86_64/tst-audit3.c: ... here.
20015 * elf/tst-audit4.c: Move to ...
20016 * sysdeps/x86_64/tst-audit4.c: ... here.
20017 * elf/tst-audit5.c: Move to ...
20018 * sysdeps/x86_64/tst-audit5.c: ... here.
20019 * elf/tst-audit6.c: Move to ...
20020 * sysdeps/x86_64/tst-audit6.c: ... here.
20021 * elf/tst-audit7.c: Move to ...
20022 * sysdeps/x86_64/tst-audit7.c: ... here.
20023 * elf/tst-auditmod3a.c: Move to ...
20024 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20025 * elf/tst-auditmod3b.c: Move to ...
20026 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20027 * elf/tst-auditmod4a.c: Move to ...
20028 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20029 * elf/tst-auditmod4b.c: Move to ...
20030 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20031 * elf/tst-auditmod5a.c: Move to ...
20032 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20033 * elf/tst-auditmod5b.c: Move to ...
20034 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20035 * elf/tst-auditmod6a.c: Move to ...
20036 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20037 * elf/tst-auditmod6b.c: Move to ...
20038 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20039 * elf/tst-auditmod6c.c: Move to ...
20040 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20041 * elf/tst-auditmod7a.c: Move to ...
20042 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20043 * elf/tst-auditmod7b.c: Move to ...
20044 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20045
1ef74943
PP
200462013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20047
20048 [BZ #15366]
20049 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20050 define unconditionally.
20051 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20052 define unconditionally.
20053 (INT8_C, INT16_C, etc.): Likewise.
20054
93fd48c5
MR
200552013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20056
ae9552cf
MR
20057 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20058 __ehdr_start with hidden visibility.
20059
93fd48c5
MR
20060 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20061
418601aa
CD
200622013-04-24 Carlos O'Donell <carlos@redhat.com>
20063
20064 * math/libm-test.inc (cos_test): Use accurate hex constants.
20065 (sincost_test): Likewise.
20066
2f38fbfe
JM
200672013-04-24 Joseph Myers <joseph@codesourcery.com>
20068
5e221800
JM
20069 * math/libm-test.inc (catan_test): Add more tests.
20070 (catanh_test): Likewise.
20071
77f143fd
JM
20072 * math/s_catanf.c (__catanf): Use suffixed floating-point
20073 constants.
20074 * math/s_catanhf.c (__catanhf): Likewise.
20075 * math/s_catanhl.c (__catanhl): Likewise.
20076 * math/s_catanl.c (__catanl): Likewise.
20077
2f38fbfe
JM
20078 [BZ #15394]
20079 * math/s_catan.c (__catan): Calculate imaginary part of result
20080 with log1p not log unless computing log of number close to 0.
20081 * math/s_catanf.c (__catanf): Likewise.
20082 * math/s_catanl.c (__catanl): Likewise.
20083 * math/s_catanh.c (__catanh): Calculate real part of result with
20084 log1p not log unless computing log of number close to 0.
20085 * math/s_catanhf.c (__catanhf): Likewise.
20086 * math/s_catanhl.c (__catanhl): Likewise.
20087 * math/libm-test.inc (catan_test): Add more tests.
20088 (catanh_test): Likewise.
20089 * sysdeps/i386/fpu/libm-test-ulps: Update.
20090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20091
45d69176
SP
200922013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20093
20094 * benchtests/Makefile: Mention files in which fast and slow
20095 paths of math functions are implemented.
20096
87f51853
RM
200972013-04-23 Roland McGrath <roland@hack.frob.com>
20098
20099 * sysdeps/posix/timespec_get.c: New file.
20100
3c026539
AZ
201012013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20102
20103 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20104 POWER.
20105 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20106 for POWER.
20107 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20108 powerpc/power5/fpu folders.
20109 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20110 * benchtests/Makefile: Add modf testcase.
20111 * benchtests/bench-modf.c: New file: Benchmark test for mo
20112
ff491d14
SP
201132013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20114
20115 [BZ #14888]
20116 * time/Makefile (tests): Add tst-strptime-whitespace.
20117 * time/strptime_l.c (get_number): Use ISSPACE.
20118 (__strptime_internal): Likewise.
20119 * time/tst-strptime-whitespace.c: New test case.
20120
7ed3f4e8
AS
201212013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20122
20123 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20124 member.
20125 (_nss_files_init): Set it here.
20126
5c95f7b6
HC
201272013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20128
20129 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20130 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20131 unsigned.
20132
d34c9158
JBG
201332013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20134
20135 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20136
2169712d
SP
201372013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20138
20139 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20140 size just once.
20141
29c5de99
DM
201422013-04-21 David S. Miller <davem@davemloft.net>
20143
20144 * po/ru.po: Update Russion translation from translation project.
20145
ccdad15d
AC
201462013-04-17 Adam Conrad <adconrad@0c3.net>
20147
20148 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20149 and setfsgid.
20150
0f122b8d
CD
201512013-04-17 Carlos O'Donell <carlos@redhat.com>
20152
5c5b07da 20153 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20154 * configure: Regenerate.
5c5b07da 20155 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20156 Add example to error message.
20157 * sysdeps/i386/configure: Regenerate.
20158
037714dd
SP
201592013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20160
20161 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20162 slowtan.
20163 * benchtests/cos-inputs: New file.
20164 * benchtests/slowcos-inputs: New file.
20165 * benchtests/slowcos.c: New file.
20166 * benchtests/slowtan-inputs: New file.
20167 * benchtests/slowtan.c: New file.
20168 * benchtests/tan-inputs: New file.
20169
e913141d
RM
201702013-04-16 Roland McGrath <roland@hack.frob.com>
20171
20172 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20173 considered kosher.
20174
a2964074
SP
201752013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20176
4856bcd2
SP
20177 * benchtests/Makefile: Include cppflags-iterator.mk to add
20178 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20179
a2964074
SP
20180 * Makefile.in (bench-clean): New target.
20181 * benchtests/Makefile (bench-clean): Likewise.
20182
9fbf9aca
DH
201832013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20184
20185 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20186
207d1e2a
TS
201872013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20188
20189 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20190
306dfba9
AS
201912013-04-15 Andreas Schwab <schwab@suse.de>
20192
20193 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20195 * nscd/pwdcache.c (cache_addpw): Likewise.
20196 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20197 more than recsize.
20198
206a6699
SP
201992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20200
20201 * benchtests/Makefile (bench): Write all output to
20202 bench-out.tmp together.
20203
0582f6b3
AS
202042013-04-15 Andreas Schwab <schwab@suse.de>
20205
20206 * nscd/nscd.c (main): Don't fork again after closing files.
20207
acb4325f
SP
202082013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20209
5cb26d0a
SP
20210 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20211
acb4325f
SP
20212 * benchtests/Rules (bench-deps): Collect dependencies into a
20213 single variable. Add Makefile to dependencies.
20214 ($(objpfx)bench-%.c): Depend on bench-deps.
20215
47792506
RM
202162013-04-12 Roland McGrath <roland@hack.frob.com>
20217 Xavier Roche <roche+kml2@exalead.com>
20218
20219 [BZ #15361]
20220 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20221 just that it's a file descriptor.
20222 * manual/llio.texi (Synchronizing AIO Operations): Update description
20223 for EBADF error from aio_fsync.
20224
8fc1bee5
SP
202252013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20226
20227 * Rules (bench): Move target definition...
20228 * benchtests/Makefile: ... here.
20229
aba5e333
CD
202302013-04-11 Carlos O'Donell <carlos@redhat.com>
20231
20232 * math/libm-test.inc (cos_test): Fix PI/2 test.
20233 (sincos_test): Likewise.
20234 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20235 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20236
273cdee8
AS
202372013-04-11 Andreas Schwab <schwab@suse.de>
20238
6ecec3b6
AS
20239 [BZ #13988]
20240 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20241 accept exponent character only when digits were seen.
20242 * stdio-common/Makefile (tests): Add bug26.
20243 * stdio-common/bug26.c: New file.
20244
273cdee8
AS
20245 [BZ #14293]
20246 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20247 non-freeable.
20248
8da491f5
SP
202492013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20250
01dc6df9
SP
20251 * Makeconfig (rtld-prefix): Define built linker prefix.
20252 * Rules (run-bench): Use it.
20253 * math/Makefile (run-regen-ulps): Likewise.
20254
8da491f5
SP
20255 * Rules (bench): Remove eval.
20256
abe7f530
SP
202572013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20258 Roland McGrath <roland@hack.frob.com>
20259 Ondrej Bilka <neleai@seznam.cz>
20260
20261 [BZ #15346]
20262 * time/getdate.c: Include ctype.h and alloca.h.
20263 (__getdate_r): Trim leading and trailing spaces of input.
20264 * time/tst-getdate.c (tests): Add tests with leading and
20265 trailing spaces.
20266
61c23e62
RM
202672013-04-08 Roland McGrath <roland@hack.frob.com>
20268
20269 [BZ #14280]
20270 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20271 when computing value.
20272
7208a313
CD
202732013-04-06 Carlos O'Donell <carlos@redhat.com>
20274
085b2d41
CD
20275 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20276 Use testrun.sh to run libm tests.
20277
7208a313
CD
20278 [BZ #15309]
20279 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20280
872c0acd
MM
202812013-04-06 Marko Myllynen <myllynen@redhat.com>
20282
20283 [BZ #15264]
20284 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20285
26510bdd
CD
202862013-04-06 Carlos O'Donell <carlos@redhat.com>
20287
20288 * Makefile.in (regen-ulps): New target.
20289 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20290 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20291 [ifneq (no,$(PERL)] (regen-ulps): New target.
20292 [ifeq (no,$(PERL)] (regen-ulps): New target.
20293 * math/libm-test.inc (ulps_file_name): Define.
20294 (output_dir): New variable.
20295 (options): Add "output-dir" option.
20296 (parse_opt): Handle 'o' case.
20297 (main): If output_dir is non-NULL use it as a prefix
20298 otherwise use "".
20299 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20300
a01f19c8
CD
203012013-04-06 Carlos O'Donell <carlos@redhat.com>
20302
20303 [BZ #10060, #10062]
20304 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20305 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20306 fail configure if __sync_val_compare_and_swap is not inlined.
20307 * sysdeps/i386/configure: Regenerate.
20308 * configure.in: Build for i686 when configured for i386.
20309 * configure: Regenerate.
20310 * README: Remove i386 reference.
20311
b7a329a5
CD
203122013-04-06 Carlos O'Donell <carlos@redhat.com>
20313
20314 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20315 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20316
bf0f50df
TS
203172013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20318
ee091edf
TS
20319 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20320 (lmsnanval): New variables.
20321 (F): Add conversion tests.
20322 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20323 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20324
a8b792d6
TS
20325 * stdio-common/tstdiomisc.c (F): Properly collect individual
20326 tests' results.
20327
a1cbf437
TS
20328 [BZ #14686, #15336]
20329 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20330 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20331 Instead, use input NaN values or generate a qNaN by arithmetic
20332 operation. Also fix bugs to comply with the standard.
20333 * math/libm-test.inc (remainder_test): Add more tests.
20334
8b43a0c9
TS
20335 [BZ #15335, #15342]
20336 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20338 input NaN values or generate a qNaN by arithmetic operation.
20339
d91da4ce
TS
20340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20341 unreachable code.
20342
bf0f50df
TS
20343 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20344 definitions.
20345
05e166c8
JM
203462013-04-03 Joseph Myers <joseph@codesourcery.com>
20347
20348 [BZ #14478]
20349 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20350 underflowed result.
20351 * math/s_cexpf.c (__cexpf): Likewise.
20352 * math/s_cexpl.c (__cexpl): Likewise.
20353 * math/libm-test.inc (cexp_test): Add more tests.
20354
1cef1b19
AS
203552013-04-03 Andreas Schwab <schwab@suse.de>
20356
20357 [BZ #15330]
20358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20359 order arrays from heap if bigger than alloca cutoff.
20360
74d87055
TS
203612013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20362
20363 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20364 (SNAN_TESTS_double): Refer to GCC PR56831.
20365 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20366 GCC PR56828.
20367
d755bba4
SP
203682013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20369
90d5d5bb
SP
20370 * Rules (bench): Move bench.out after the run is complete.
20371
73e0cd5d
SP
20372 * Rules (bench): Echo currently running benchmark.
20373
64aabd4b
SP
20374 * benchtests/Makefile (bench): Add atan and slowatan.
20375 * benchtests/atan-inputs: New file.
20376 * benchtests/slowatan-inputs: New file.
20377 * benchtests/slowatan.c: New file.
20378
c871eccd
SP
20379 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20380 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20381 its value.
20382
d755bba4
SP
20383 [BZ #15305]
20384 * sysdeps/unix/sysv/linux/kernel-features.h
20385 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20386 __ASSUME_XFS_RESTRICTED_CHOWN.
20387 * sysdeps/unix/sysv/linux/pathconf.c
20388 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20389 Save and restore errno.
20390
52ce4860
JM
203912013-04-02 Joseph Myers <joseph@codesourcery.com>
20392
20393 [BZ #15327]
20394 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20395 arguments using __kernel_casinh.
20396 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20397 arguments using __kernel_casinhf.
20398 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20399 arguments using __kernel_casinhl.
20400 * math/libm-test.inc (cacosh_test): Add more tests.
20401 * sysdeps/i386/fpu/libm-test-ulps: Update.
20402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20403
81f311c2
SP
204042013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20405
e7906a47
SP
20406 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20408
92e3664b
SP
20409 * bench/Makefile (bench): Add sin and slowsin.
20410 * benchtests/sin-inputs: New file.
20411 * benchtests/slowsin-inputs: New file.
20412 * benchtests/slowsin.c: New file.
20413
81f311c2
SP
20414 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20415 (bench): Add slowexp and slowpow.
20416 (exp-ITER): Increase iterations.
20417 (pow-ITER): Likewise.
20418 * benchtests/exp-inputs: Change input.
20419 * benchtests/pow-inputs: Likewise.
20420 * benchtests/slowexp-inputs: New file.
20421 * benchtests/slowexp.c: New file.
20422 * benchtests/slowpow-inputs: New file.
20423 * benchtests/slowpow.c: New file.
20424
ab0f1aa9
AZ
204252013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20426
20427 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20428 instructions.
20429 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20430 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20431 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20432 * benchtests/Makefile: Add rint benchtest.
20433 * benchtests/rint-inputs: Input for rint benchtest.
20434
57267616
TS
204352013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20436
20437 * Versions.def (libm): Add GLIBC_2.18.
20438 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20439 hidden libm prototypes.
20440 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20441 * math/Makefile (libm-calls): Add s_issignaling.
20442 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20443 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20444 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20445 declaration.
20446 * math/math.h [__USE_GNU] (issignaling): New macro.
20447 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20448 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20453 * manual/arith.texi (issignaling): New section.
20454 * manual/libm-err-tab.pl (@all_functions): Update comment.
20455 * math/gen-libm-test.pl (parse_args): Apply special handling for
20456 issignaling.
20457 * math/libm-test.inc (print_float, issignaling_test): New
20458 functions.
20459 (check_float_internal): Add issignaling checks.
20460 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20461 default definition.
20462 * sysdeps/powerpc/math-tests.h: New file.
20463 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20464 tests.
20465 * math/test-snan.c (TEST_FUNC): Likewise.
20466
6142896d
DM
204672013-03-30 David S. Miller <davem@davemloft.net>
20468
20469 * po/de.po: Update from translation team.
20470
ccc8cadf
JM
204712013-03-30 Joseph Myers <joseph@codesourcery.com>
20472
20473 [BZ #10357]
20474 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20475 imaginary part less than 1.0 and real part less than 0.5
20476 specially.
20477 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20478 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20479 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20480 (cacos_test): Add more tests.
20481 (casin_test): Likewise.
20482 (casinh_test): Likewise.
20483 * sysdeps/i386/fpu/libm-test-ulps: Update.
20484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20485
0f6a8d4b
SP
204862013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20487
0d1029de
SP
20488 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20489 ONE with its value.
20490
c2d94018
SP
20491 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20492 (__pow_mp): Replace ONE and MONE with their values.
20493 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20495 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20496 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20497 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20498 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20499
27ec37f1
SP
20500 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20501
a64d7e0e
SP
20502 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20503 (__pow_mp): Replace ZERO and MZERO with their values.
20504 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20505 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20506 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20508 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20509 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20510 (__sqr): Likewise.
20511
d26dd3eb
SP
20512 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20513
0f6a8d4b
SP
20514 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20515
e57b0c61
RM
205162013-03-28 Roland McGrath <roland@hack.frob.com>
20517
20518 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20519 Declare with __attribute__ ((weak)).
20520 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20521 Call __call_tls_dtors only if it's not NULL.
20522
356b3480
RM
205232013-03-28 Roland McGrath <roland@hack.frob.com>
20524
288f7d79
RM
20525 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20526 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20527 magic __ehdr_start linker symbol if it's defined.
20528 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20529 them up here if it was already done.
20530
dc0a0263
RM
20531 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20532 (_dl_aux_init): Use const in cast when setting it.
20533 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20534 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20535 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20536
3d3436ae
RM
20537 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20538 Declare them here.
20539 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20540 * csu/libc-tls.c: Nor here.
20541 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20542
356b3480
RM
20543 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20544 (__libc_message): Never call vsyslog.
20545
b0f1246a
AM
205462013-03-28 Alan Modra <amodra@gmail.com>
20547
20548 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20549 Define as empty.
20550 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20551 Likewise.
20552
fbbe2b9a
AZ
205532013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20554
20555 [BZ #15214]
20556 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20557 underflow.
20558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20559
1728ab37
SP
205602013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20561
7a86be6e
SP
20562 [BZ #15304]
20563 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20564 Don't add gid passed as argument.
20565
1728ab37
SP
20566 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20567
3a7182a1
JM
205682013-03-27 Joseph Myers <joseph@codesourcery.com>
20569
20570 [BZ #15307]
20571 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20572 imaginary part between 1.0 and 1.5 and real part less than 0.5
20573 specially.
20574 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20575 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20576 * math/libm-test.inc (cacos_test): Add more tests.
20577 (casin_test): Likewise.
20578 (casinh_test): Likewise.
20579 * sysdeps/i386/fpu/libm-test-ulps: Update.
20580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20581
6f2e90e7
SP
205822013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20583
5739f705
SP
20584 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20585 constants.
20586 (norm): Likewise.
20587 (denorm): Likewise.
20588 (__dbl_mp): Likewise.
20589 (add_magnitudes): Likewise.
20590 (sub_magnitudes): Likewise.
20591 (__add): Likewise.
20592 (__sub): Likewise.
20593 (__mul): Likewise.
20594 (__sqr): Likewise.
20595 (__inv): Likewise.
20596 (__dvd): Likewise.
20597
e375e83d
SP
20598 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20599 commented code.
20600 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20601 (__dubcos): Likewise.
20602 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20603 (__ieee754_acos): Likewise.
20604 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20605 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20606 (__exp1): Likewise.
20607 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20609 (log1): Likewise.
20610 (my_log2): Likewise.
20611 (checkint): Likewise.
20612 * sysdeps/ieee754/dbl-64/e_remainder.c
20613 (__ieee754_remainder): Likewise.
20614 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20616 (bsloww): Likewise.
20617 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20618
6f2e90e7
SP
20619 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20620 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20621 MANTISSA_STORE_T to store computations on mantissa. Use
20622 macros for rounding and division.
20623 (denorm): Likewise.
20624 (__dbl_mp): Likewise.
20625 (add_magnitudes): Likewise.
20626 (sub_magnitudes): Likewise.
20627 (__mul): Likewise.
20628 (__sqr): Likewise.
20629 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20630 powers of two in terms of TWOPOW macro.
20631 (mp_no): Make type of mantissa as MANTISSA_T.
20632 [!RADIXI]: Define RADIXI.
20633 [!TWO52]: Define TWO52.
20634 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20635
fce14d4e
AZ
206362013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20637
20638 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20639 llroundl symbol when building for PPC32.
20640
9ad027fb
MW
206412013-03-24 Mark H Weaver <mhw@netris.org>
20642
20643 * manual/arith.texi (Normalization Functions): Fix prototypes for
20644 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20645
e42a38dd
AZ
206462013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20647
20648 [BZ #13889]
20649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20650 high value to check if expl overflow.
20651 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20652 to check for underflow and overflow.
20653 * math/libm-test.inc: Add exp test.
20654
2e0fb521
DL
206552013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20656
20657 [BZ #11120]
20658 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20659 with NOT_IN_libc.
20660
b5784d95
AZ
206612013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20662
20663 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20664 symbol.
20665
5aa4a1a1
TS
206662013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20667
bdef0be7
TS
20668 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20669 wrap blocks consisting of several statements.
20670
5aa4a1a1
TS
20671 * sysdeps/generic/math-tests.h: New file.
20672 * sysdeps/i386/fpu/math-tests.h: Likewise.
20673 * math/test-snan.c: Include it.
20674 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20675
98c48fe5
JM
206762013-03-21 Joseph Myers <joseph@codesourcery.com>
20677
20678 [BZ #15285]
20679 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20680 (__ieee754_j0l): Do not improve calculations using cos of twice
20681 input for inputs above LDBL_MAX / 2.0L.
20682 (__ieee754_y0l): Likewise.
20683 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20684 (__ieee754_j1l): Do not improve calculations using cos of twice
20685 input for inputs above LDBL_MAX / 2.0L.
20686 (__ieee754_y1l): Likewise.
20687 * math/libm-test.inc (j0_test): Add another test.
20688 (j1_test): Likewise.
20689 (y0_test): Likewise.
20690 (y1_test): Likewise.
20691 * sysdeps/i386/fpu/libm-test-ulps: Update.
20692
3775a8bc
SP
206932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20694
20695 * Rules ($(objpfx)bench-%.c): Include code from a C source
20696 file.
20697
0a1b2ae6
JM
206982013-03-21 Joseph Myers <joseph@codesourcery.com>
20699
20700 [BZ #15287]
20701 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20702 imaginary part 1.0 and real part less than 0.5 specially.
20703 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20704 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20705 * math/libm-test.inc (cacos_test): Add more tests.
20706 (casin_test): Likewise.
20707 (casinh_test): Likewise.
20708 * sysdeps/i386/fpu/libm-test-ulps: Update.
20709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20710
b33d4ce4
SP
207112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20712
20713 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20714 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20715
bef0b507
JM
207162013-03-20 Joseph Myers <joseph@codesourcery.com>
20717
20718 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20719 * config.make.in (config-cflags-sse4): Remove variable.
20720 (config-cflags-avx): Likewise.
20721 (config-cflags-sse2avx): Likewise.
20722 (config-cflags-novzeroupper): Likewise.
20723 (config-asflags-i686): Likewise.
20724 (have-mfma4): Likewise.
20725 (have-as-vis3): Likewise.
20726 (MIG): Likewise.
20727 * configure.in (MIG): Do not AC_SUBST.
20728 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20729 (libc_cv_cc_sse4): Do not AC_SUBST.
20730 (libc_cv_cc_avx): Likewise.
20731 (libc_cv_cc_sse2avx): Likewise.
20732 (libc_cv_cc_novzeroupper): Likewise.
20733 (libc_cv_cc_fma4): Likewise.
20734 (libc_cv_as_i686): Likewise.
20735 (libc_cv_sparc_as_vis3): Likewise.
20736 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20737 LIBC_CONFIG_VAR.
20738 (config-asflags-i686): Likewise.
20739 (config-cflags-avx): Likewise.
20740 (config-cflags-sse2avx): Likewise.
20741 (have-mfma4): Likewise.
20742 (config-cflags-novzeroupper): Likewise.
20743 * sysdeps/mach/configure.in (MIG): Likewise.
20744 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20745 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20746 LIBC_CONFIG_VAR.
20747 (config-cflags-avx): Likewise.
20748 (config-cflags-sse2avx): Likewise.
20749 (have-mfma4): Likewise.
20750 (config-cflags-novzeroupper): Likewise.
20751 * configure: Regenerated.
20752 * sysdeps/i386/configure: Likewise.
20753 * sysdeps/mach/configure: Likewise.
20754 * sysdeps/sparc/configure: Likewise.
20755 * sysdeps/x86_64/configure: Likewise.
20756
912cc4b3
RM
207572013-03-20 Roland McGrath <roland@hack.frob.com>
20758
20759 [BZ #14812]
20760 * locale/programs/localedef.c (options): Put N_ translation marker
20761 on argument names, not just descriptions.
20762
04eed2b0
MS
207632013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20764
20765 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20766
a065ceff
OB
207672013-03-20 Ondřej Bílka <neleai@seznam.cz>
20768
9bb2a810 20769 [BZ #14176]
a065ceff
OB
20770 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20771
a600e5ce
RM
207722013-03-19 Roland McGrath <roland@hack.frob.com>
20773
20774 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20775 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20776 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20777 [!BEFORE_ABORT] (before_abort): New function.
20778 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20779 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20780 (writev_for_fatal): New function.
20781 (WRITEV_FOR_FATAL): New macro; call that.
20782 (backtrace_and_maps): New function.
20783 (BEFORE_ABORT): New macro; call that.
20784 (struct str_list): Type removed.
20785 (__libc_message, __libc_fatal): Functions removed.
20786 Include <sysdeps/posix/libc_fatal.c> instead.
20787
6b18bea6
JM
207882013-03-19 Joseph Myers <joseph@codesourcery.com>
20789
20790 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20791 constants.
20792 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20793 double constants.
20794
aaa8cb4b
AS
207952013-03-19 Andreas Schwab <schwab@suse.de>
20796
44673770
AS
20797 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20798 * sysdeps/gnu/configure: Regenerate.
20799
aaa8cb4b
AS
20800 * configure.in: Substitute libc_cv_rtlddir.
20801 * configure: Regenerate.
20802 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20803 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20804 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20805 * elf/Makefile (install-others, CFLAGS-interp.c)
20806 (ldso_install, common-ldd-rewrite): Likewise.
20807 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20808 $(inst_slibdir)/$(rtld-installed-name).
20809 * scripts/rellns-sh: Add -p option.
20810 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20811 for source.
20812
d3cfc668
SP
208132013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20814
20815 * manual/nptl.texi: Renamed to ...
20816 * manual/threads.texi: ... this.
20817 * manual/Makefile (chapters): Update.
20818
0e2b9cdd
RM
208192013-03-18 Roland McGrath <roland@hack.frob.com>
20820
20821 [BZ #14812]
20822 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20823 on argument names, not just descriptions.
0e2b9cdd
RM
20824 * malloc/memusagestat.c (options): Likewise.
20825 * nss/getent.c (options): Likewise.
63270c24
RM
20826
208272013-03-18 Benno Schulenberg <bensberg@justemail.net>
20828
20829 [BZ #14812]
20830 * iconv/iconv_prog.c (options): Put N_ translation marker
20831 on argument names, not just descriptions.
20832 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 20833
b2e1393c
OB
208342013-03-18 Ondrej Bilka <neleai@seznam.cz>
20835
20836 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20837 implementation which is faster on all x86_64 architectures.
20838 Tested on AMD, Intel Nehalem, SNB, IVB.
20839 * sysdeps/x86_64/strnlen.S: Likewise.
20840
20841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20842 Remove all multiarch strlen and strnlen versions.
20843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20844 Remove strlen and strnlen related parts.
20845
20846 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20847 Inline strlen part.
20848 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20849
20850 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20851 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20852 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20853 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20854 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20855 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20856
ec4ff04d
CD
208572013-03-17 Carlos O'Donell <carlos@redhat.com>
20858
20859 * manual/memory.texi (Malloc Tunable Parameters):
20860 Sort parameters alphabetically. Add comments for missing entries.
20861
cd18e90a
DM
208622013-03-17 David S. Miller <davem@davemloft.net>
20863
20864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20865
2a185d32
JM
208662013-03-16 Joseph Myers <joseph@codesourcery.com>
20867
d2f9799e
JM
20868 [BZ #15283]
20869 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20870 for arguments at most half maximum finite value.
20871 * math/libm-test.inc (j0_test): Add more tests.
20872 (j1_test): Likewise.
20873 (y0_test): Likewise.
20874 (y1_test): Likewise.
20875 * sysdeps/i386/fpu/libm-test-ulps: Update.
20876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20877
2a185d32
JM
20878 [BZ #14155]
20879 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20880 1 / x and functions P and Q for arguments above 0x1p256L.
20881 (__ieee754_y0l): Likewise.
20882 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20883 (__ieee754_y1l): Likewise.
20884 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20885 (j1_test): Likewise.
20886 (y0_test): Likewise.
20887 (y1_test): Likewise.
20888
6cbec759
TS
208892013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20890
20891 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20892 variable.
20893
bc16e260
RM
208942013-03-15 Roland McGrath <roland@hack.frob.com>
20895
aefc9b8c
RM
20896 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20897 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20898 zero since it's initialized to EXEC_PAGESIZE.
20899
bc16e260
RM
20900 * sysdeps/unix/sysv/linux/ldsodefs.h
20901 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20902 * sysdeps/generic/ldsodefs.h: ... here.
20903
a57da955
TS
209042013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20905
af00a34d
TS
20906 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20907
495ded2c
TS
20908 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20909 math/test-snan.c.
20910 * math/test-snan.c: Renamed from
20911 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20912 * math/Makefile (tests): Add test-snan.
20913 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20914 test-powerpc-snan.
20915
777b0332
TS
20916 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20917 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20918 functions.
20919 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20920 __builtin_nan family of functions.
20921 * math/libm-test.inc (initialize): Initialize qnan_value with
20922 __builtin_nan family of functions.
20923 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20924 Remove variables.
20925 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20926 Remove functions.
20927 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20928 storage class. Initialize qNaN_var and sNaN_var with
20929 __builtin_nan and __builtin_nans families of functions,
20930 respectively.
20931
64d063b8
TS
20932 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20933 (sqrt_test): Remove duplicate test with qNaN input.
20934 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20935 (round_test, signbit_test, significand_test): Note missing +/-Inf
20936 as well as qNaN tests.
20937
67e971f1
TS
20938 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20939 qNaN_var. Fix a few strings, too.
20940 * math/libm-test.inc (nan_value): Rename to qnan_value.
20941 * math/gen-libm-test.pl (%beautify): Adjust to that.
20942 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20943 * math/test-misc.c (main): Likewise.
20944 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20945 to __qnan_bytes, and __qnan_union, respectively.
20946 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20947 Likewise.
20948 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20949 and lqnanval, respectively.
20950 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20951 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20952 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20953 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20954
64487e12
TS
20955 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20956 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20957 doubles.
20958
e015e27b
TS
20959 * math/test-misc.c (main): Fix copy'n'pastos.
20960 * misc/tst-efgcvt.c (special): Likewise.
20961
a57da955
TS
20962 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20963 Remove declarations.
20964
1e380345
SP
209652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20966
20967 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20968 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20969 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20970 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20971
ef26eece
AZ
209722013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20973
20974 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20975 macro to return vdso values correctly in IFUNC implementations.
20976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20977 Optimization by using IFUNC.
20978
8cfdb7e0
SP
209792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20980 Richard Henderson <rth@redhat.com>
20981 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20982
20983 * Makefile.in (bench): New target.
20984 * NEWS: Mention the benchmark framework.
20985 * Rules (bench): Likewise.
20986 (binaries-bench): Generate binaries for functions to
20987 benchmark.
20988 * benchtests/Makefile: New makefile for benchmark tests.
20989 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20990 programs.
20991 * benchtests/exp-inputs: New input file for EXP function.
20992 * benchtests/pow-inputs: New input file for POW function.
20993 * scripts/bench.pl: New script to generate source files for
20994 benchmark programs.
20995
bcda9880
SP
209962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20997
d22ca8cd
SP
20998 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20999 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21000 computations on mantissa. Use macros for rounding and
21001 division.
21002 (denorm): Likewise.
21003 (__dbl_mp): Likewise.
21004 (add_magnitudes): Likewise.
21005 (sub_magnitudes): Likewise.
21006 (__mul): Likewise.
21007 (__sqr): Likewise.
21008 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21009 powers of two in terms of TWOPOW macro.
21010 (mp_no): Make type of mantissa as MANTISSA_T.
21011 [!RADIXI]: Define RADIXI.
21012 [!TWO52]: Define TWO52.
21013 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21014
bcda9880
SP
21015 * manual/nptl.texi (cindex): Modify threads to pthreads.
21016
06d5adfb
JM
210172013-03-15 Joseph Myers <joseph@codesourcery.com>
21018
21019 * sysdeps/x86_64/preconfigure: Regenerated.
21020
41c7328e
JM
210212013-03-14 Joseph Myers <joseph@codesourcery.com>
21022
21023 [BZ #14155]
21024 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21025 0x1p28 and above.
21026 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21027 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21028 0x1p28 and above.
21029 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21030 * math/libm-test.inc (j0_test): Do not allow one spurious
21031 underflow exception.
21032 (y1_test): Likewise.
21033
e25cfa60
SP
210342013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21035
0409959c
SP
21036 * manual/Makefile (chapters): Add nptl.
21037 * manual/debug.texi (Debugging Support): Add link to Threads
21038 chapter.
21039 * manual/nptl.texi: New file.
21040
e25cfa60
SP
21041 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21042
58a1335e
PB
210432013-03-14 Petr Baudis <pasky@ucw.cz>
21044
21045 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21046 for non-NULL pointer before the memory validity test. Pointed
21047 out by Holger Brunck <holger.brunck@keymile.com>.
21048
9dc7c64f
AS
210492013-03-13 Andreas Schwab <schwab@suse.de>
21050
21051 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21052 instead of .os.
21053
54206aa6
JM
210542013-03-13 Joseph Myers <joseph@codesourcery.com>
21055
21056 * timezone/zic.c: Update from tzcode 2013b.
21057
e98cdb38
CD
210582013-03-12 Carlos O'Donell <carlos@redhat.com>
21059
21060 * manual/install.texi (Configuring and compiling):
21061 Mention i686 and i586.
21062 * INSTALL: Regenerate.
21063
9967e003
RM
210642013-03-12 Roland McGrath <roland@hack.frob.com>
21065
21066 * sysdeps/init_array/elf-init.c: New file.
21067 * csu/elf-init.c
21068 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21069 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21070
21071 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21072 __gmon_start__ as global, but as static with a .preinit_array pointer.
21073 * sysdeps/init_array/gmon-start.c: New file. Use that.
21074 * sysdeps/init_array/crti.S: New file, empty except for comments.
21075 * sysdeps/init_array/crtn.S: Likewise.
21076
e6b5a293 210772013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21078
21079 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21080 definining bcopy.
80f844c9
OB
21081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21082 Remove Prefer_SSE_for_memop.
21083 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21084 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21085 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21087 memset-x86-64.
80f844c9 21088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21089 Remove bzero, memset ifunc support.
80f844c9
OB
21090 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21091 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21092 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21093 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21094
fb6b0fcb
AS
210952013-03-11 Andreas Schwab <schwab@suse.de>
21096
21097 [BZ #15234]
21098 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21099 by SHLIB_COMPAT.
21100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21101 (GLIBC_2.16): Remove pthread_atfork.
21102
3e6bd4b1
PP
211032013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21104
21105 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21106 (ptestcases.h): Likewise.
21107
222d7f00
RM
211082013-03-08 Roland McGrath <roland@hack.frob.com>
21109
21110 * Makeconfig ($(common-objpfx)config.status): Depend on
21111 sysdeps/*/preconfigure{,.in} too.
21112
1ba4f030
JM
211132013-03-08 Joseph Myers <joseph@codesourcery.com>
21114
a222d91a
JM
21115 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21116 (__free_hook): Use void * instead of __malloc_ptr_t.
21117 (__malloc_hook): Likewise.
21118 (__realloc_hook): Likewise.
21119 (__memalign_hook): Likewise.
21120 (__after_morecore_hook): Likewise.
21121 * malloc/arena.c (save_malloc_hook): Likewise.
21122 (save_free_hook): Likewise.
21123 * malloc/hooks.c (malloc_hook_ini): Likewise.
21124 (realloc_hook_ini): Likewise.
21125 (memalign_hook_ini): Likewise.
21126 * malloc/malloc.c (malloc_hook_ini): Likewise.
21127 (realloc_hook_ini): Likewise.
21128 (memalign_hook_ini): Likewise.
21129 (__free_hook): Likewise.
21130 (__malloc_hook): Likewise.
21131 (__realloc_hook): Likewise.
21132 (__memalign_hook): Likewise.
21133 (__libc_malloc): Likewise.
21134 (__libc_free): Likewise.
21135 (__libc_realloc): Likewise.
21136 (__libc_memalign): Likewise.
21137 (__libc_valloc): Likewise.
21138 (__libc_pvalloc): Likewise.
21139 (__libc_calloc): Likewise.
21140 (__posix_memalign): Likewise.
21141 * malloc/morecore.c (__sbrk): Likewise.
21142 (__default_morecore): Likewise.
21143
5cc45e10
JM
21144 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21145
dd54b864
JM
21146 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21147 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21148 __malloc_ptrdiff_t.
21149
1ba4f030
JM
21150 * malloc/malloc.h (__malloc_size_t): Remove macro.
21151 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21152 __malloc_size_t.
21153 (old_memalign_hook): Likewise.
21154 (old_realloc_hook): Likewise.
21155 (struct hdr): Likewise.
21156 (flood): Likewise.
21157 (mallochook): Likewise.
21158 (memalignhook): Likewise.
21159 (reallochook): Likewise.
21160 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21161 (tr_old_realloc_hook): Likewise.
21162 (tr_old_memalign_hook): Likewise.
21163 (tr_mallochook): Likewise.
21164 (tr_reallochook): Likewise.
21165 (tr_memalignhook): Likewise.
21166
edf66e57
AZ
211672013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21168
21169 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21170 default_ldbl_pack and using as default implementation.
21171 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21172 implementation.
21173 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21174 redundant definition.
21175 (ldbl_insert_mantissa): Likewise.
21176 (ldbl_canonicalize): Likewise.
21177 (ldbl_nearbyint): Likewise.
21178 (ldbl_pack): Rename to ldbl_pack_ppc.
21179 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21180 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21181 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21182
6d9145d8
SP
211832013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21184
21185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21186 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21187 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21188 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21190 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21191 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21192 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21193
4dd4e157
AJ
211942013-03-07 Andreas Jaeger <aj@suse.de>
21195
21196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21197 bits/mman-linux.h.
21198
adbb8027
SP
211992013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21200
ce544b5b
SP
21201 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21202 Include mpa.h and declare __MPEXP.
21203 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21204 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21205 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21206 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21207 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21208 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21209 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21210
4cc149fd
SP
21211 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21212 (__slowpow): Use long double EXPL and LOGL functions to
21213 compute POW.
21214 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21215 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21216 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21217 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21218 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21219 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21220
e6ebd4a7
SP
21221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21222 intermediate variable to calculate exponent.
21223 (__sqr): Likewise.
21224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21225 Likewise.
21226 (__sqr): Likewise.
21227
82a9811d
SP
21228 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21229 [!NO__SQR]: Define __sqr.
21230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21231 and NO__SQR. Remove all code except __mul and __sqr. Include
21232 sysdeps/ieee754/dbl-64/mpa.c.
21233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21234
adbb8027
SP
21235 [BZ #12723]
21236 * posix/Makefile (tests): Add tst-pathconf.
21237 * posix/tst-pathconf.c: New test case.
21238 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21239 _PC_PIPE_BUF.
21240 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21241
39120df9
PF
212422013-03-06 Patsy Franklin <pfrankli@redhat.com>
21243
21244 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21245
67525cb8
AJ
212462013-03-06 Andreas Jaeger <aj@suse.de>
21247
664a9ce4
AJ
21248 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21249 definition via __MAP_ANONYMOUS.
21250
8e39047d
AJ
21251 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21252 it's not part of Linux headers.
21253
67525cb8
AJ
21254 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21255 (MAP_HUGE_MASK): Define.
21256
21257 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21258 Define.
21259 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21261 Define.
21262 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21263 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21264 Define.
21265 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21266 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21267 Define.
21268 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21269
21270 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21271 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21272 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21273 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21274 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21275 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21276
21277 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21278 Handle f2fs.
21279
21280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21281 Handle f2fs and efivarfs.
21282
21283 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21284 f2fs.
21285
21286 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21287 (EFIVARFS_MAGIC): Add.
21288 (F2FS_LINK_MAX): Add.
21289
e1b42695
PP
212902013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21291
21292 * stdio-common/vfprintf.c: Replace __builtin_expect with
21293 __glibc_unlikely.
21294
2d67d91a
JM
212952013-03-06 Joseph Myers <joseph@codesourcery.com>
21296
21297 [BZ #13550]
21298 * sysdeps/generic/bp-sym.h: Remove file.
21299 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21300 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21301 <bp-sym.h> and <bp-asm.h>.
21302 (__longjmp): Don't use BP_SYM.
21303 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21304 and <bp-asm.h>.
21305 (memcpy): Don't use BP_SYM.
21306 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21307 <bp-sym.h> and <bp-asm.h>.
21308 (memcpy): Don't use BP_SYM.
21309 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21310 <bp-asm.h>.
21311 (memcpy): Don't use BP_SYM.
21312 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21313 <bp-asm.h>.
21314 (memset): Don't use BP_SYM.
21315 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21316 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21317 (__bzero): Don't use BP_SYM.
21318 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21319 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21320 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21321 <bp-sym.h> and <bp-asm.h>.
21322 (memcmp): Don't use BP_SYM. Remove comment about bounded
21323 pointers.
21324 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21325 <bp-sym.h> and <bp-asm.h>.
21326 (memcpy): Don't use BP_SYM.
21327 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21328 <bp-sym.h> and <bp-asm.h>.
21329 (memset): Don't use BP_SYM.
21330 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21331 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21332 (__bzero): Don't use BP_SYM.
21333 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21334 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21335 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21336 <bp-sym.h> and <bp-asm.h>.
21337 (strncmp): Don't use BP_SYM. Remove comment about bounded
21338 pointers.
21339 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21340 <bp-sym.h> and <bp-asm.h>.
21341 (memcpy): Don't use BP_SYM.
21342 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21343 <bp-sym.h> and <bp-asm.h>.
21344 (memset): Don't use BP_SYM.
21345 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21346 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21347 (__bzero): Don't use BP_SYM.
21348 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21349 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21350 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21351 <bp-sym.h> and <bp-asm.h>.
21352 (__memchr): Don't use BP_SYM.
21353 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21354 <bp-sym.h> and <bp-asm.h>.
21355 (memcmp): Don't use BP_SYM. Remove comment about bounded
21356 pointers.
21357 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21358 <bp-sym.h> and <bp-asm.h>.
21359 (memcpy): Don't use BP_SYM.
21360 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21361 <bp-sym.h> and <bp-asm.h>.
21362 (__mempcpy): Don't use BP_SYM.
21363 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21364 <bp-sym.h> and <bp-asm.h>.
21365 (__memrchr): Don't use BP_SYM.
21366 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21367 <bp-sym.h> and <bp-asm.h>.
21368 (memset): Don't use BP_SYM.
21369 (__bzero): Likewise.
21370 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21371 <bp-sym.h> and <bp-asm.h>.
21372 (__rawmemchr): Don't use BP_SYM.
21373 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21374 <bp-sym.h> and <bp-asm.h>.
21375 (__STRCMP): Don't use BP_SYM.
21376 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21377 <bp-sym.h> and <bp-asm.h>.
21378 (strchr): Don't use BP_SYM.
21379 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21380 <bp-sym.h> and <bp-asm.h>.
21381 (__strchrnul): Don't use BP_SYM.
21382 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21383 <bp-sym.h> and <bp-asm.h>.
21384 (strlen): Don't use BP_SYM.
21385 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21386 <bp-sym.h> and <bp-asm.h>.
21387 (strncmp): Don't use BP_SYM. Remove comment about bounded
21388 pointers.
21389 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21390 <bp-sym.h> and <bp-asm.h>.
21391 (__strnlen): Don't use BP_SYM.
21392 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21393 <bp-sym.h> and <bp-asm.h>.
21394 (__GI__setjmp): Don't use BP_SYM.
21395 (_setjmp): Likewise.
21396 (__sigsetjmp): Likewise.
21397 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21398 (L(start_addresses)): Don't use BP_SYM.
21399 (_start): Likewise.
21400 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21401 <bp-asm.h>.
21402 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21403 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21404 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21405 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21406 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21407 <bp-asm.h>.
21408 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21409 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21410 about bounded pointers.
21411 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21412 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21413 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21414 <bp-asm.h>.
21415 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21416 about bounded pointers. Remove GKM FIXME comments.
21417 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21418 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21419 <bp-asm.h>.
21420 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21421 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21422 Remove GKM FIXME comments.
21423 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21424 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21425 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21426 <bp-asm.h>.
21427 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21428 about bounded pointers. Remove GKM FIXME comment.
21429 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21430 and <bp-asm.h>.
21431 (strncmp): Don't use BP_SYM. Remove comment about bounded
21432 pointers.
21433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21434 <bp-sym.h> and <bp-asm.h>.
21435 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21437 <bp-sym.h> and <bp-asm.h>.
21438 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21439 comment.
21440
cdcf361f
PP
214412013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21442
21443 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21444 call free(NULL).
21445
3c4a2b15
DM
214462013-03-05 David S. Miller <davem@davemloft.net>
21447
21448 * po/es.po: Update from translation team.
21449
cdcf361f 214502013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21451
21452 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21453 <bits/mman-linux.h>.
21454 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21455 is fine.
21456 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21457 <bits/mman-linux.h> to end of file.
21458 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21459 is fine.
21460 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21461 <bits/mman-linux.h> to end of file.
21462 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21463 is fine.
21464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21465 <bits/mman-linux.h> to end of file.
21466
21467 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21468 (MCL_CURRENT, MCL_FUTURE): Define here.
21469
5f67c04f
AK
214702013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21471
8a4473cc 21472 [BZ #15232]
5f67c04f
AK
21473 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21474 attribute_hidden.
21475 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21476
c3e94a95
AK
214772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21478
21479 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21480 fourth parameter needed for rt_sigprocmask syscall.
21481 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21482 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21483 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21484 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21485 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21486 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21487
cfb6382a
JM
214882013-03-04 Joseph Myers <joseph@codesourcery.com>
21489
21490 [BZ #13550]
21491 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21492 comment about bounded pointers.
21493 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21494 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21495
539d8e01
AJ
214962013-03-04 Andreas Jaeger <aj@suse.de>
21497
21498 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21499 common definitions.
21500
21501 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21502 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21503 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21504 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21505 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21507
2e167a70 215082013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21509
21510 [BZ #15055]
21511 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21512 __ieee754_sqrl instead of __sqrl.
21513
68508633
JM
215142013-03-01 Joseph Myers <joseph@codesourcery.com>
21515
21516 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21517 * sysdeps/powerpc/fpu_control.h: ... here.
21518 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21519 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21520 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21521 * sysdeps/powerpc/bits/mathinline.h: ... here.
21522
7775448e
RM
215232013-03-01 Roland McGrath <roland@hack.frob.com>
21524
21525 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21526 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21527 to just [NEED_DL_SYSINFO_DSO].
21528 * elf/dl-support.c: Likewise.
21529 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21530 * elf/rtld.c (dl_main): Likewise.
21531 * elf/setup-vdso.h (setup_vdso): Likewise.
21532 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21533 * sysdeps/unix/sysv/linux/dl-sysdep.c
21534 (_dl_discover_osversion): Likewise.
21535
4e9b5995
CD
215362013-03-01 Carlos O'Donell <carlos@redhat.com>
21537
21538 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21539 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21540
e23872c8
SP
215412013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21542
e5c74c63
SP
21543 * NEWS: Mention libm performance improvements and non-x86 PI
21544 futex support.
21545
e23872c8
SP
21546 * csu/libc-start.c (__pthread_initialize_minimal): Change
21547 function arguments.
21548 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21549
b5510883
JM
215502013-02-28 Joseph Myers <joseph@codesourcery.com>
21551
21552 [BZ #13550]
21553 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21554 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21555 <bp-sym.h> and <bp-asm.h>.
21556 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21557 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21558 and <bp-asm.h>.
21559 (memcpy): Don't use BP_SYM.
21560 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21561 <bp-asm.h>.
21562 (__mpn_add_n): Don't use BP_SYM.
21563 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21564 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21565 and <bp-asm.h>.
21566 (__mpn_addmul_1): Don't use BP_SYM.
21567 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21568 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21569 <bp-sym.h>.
21570 (_setjmp): Don't use BP_SYM.
21571 (__novmx_setjmp): Likewise.
21572 (__GI__setjmp): Likewise.
21573 (__vmx_setjmp): Likewise.
21574 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21575 <bp-sym.h>.
21576 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21577 (__bzero): Don't use BP_SYM.
21578 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21579 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21580 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21581 <bp-sym.h> and <bp-asm.h>.
21582 (memcpy): Don't use BP_SYM.
21583 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21584 <bp-sym.h> and <bp-asm.h>.
21585 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21586 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21587 <bp-sym.h> and <bp-asm.h>.
21588 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21589 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21590 <bp-asm.h>.
21591 (__mpn_lshift): Don't use BP_SYM.
21592 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21593 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21594 <bp-asm.h>.
21595 (memset): Don't use BP_SYM.
21596 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21597 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21598 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21599 <bp-asm.h>.
21600 (__mpn_mul_1): Don't use BP_SYM.
21601 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21602 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21603 <bp-sym.h> and <bp-asm.h>.
21604 (memcmp): Don't use BP_SYM.
21605 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21606 <bp-sym.h> and <bp-asm.h>.
21607 (memcpy): Don't use BP_SYM.
21608 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21609 <bp-sym.h> and <bp-asm.h>.
21610 (memset): Don't use BP_SYM.
21611 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21612 <bp-sym.h> and <bp-asm.h>.
21613 (strncmp): Don't use BP_SYM.
21614 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21615 <bp-sym.h> and <bp-asm.h>.
21616 (memcpy): Don't use BP_SYM.
21617 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21618 <bp-sym.h> and <bp-asm.h>.
21619 (memset): Don't use BP_SYM.
21620 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21621 <bp-sym.h> and <bp-asm.h>.
21622 (__memchr): Don't use BP_SYM.
21623 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21624 <bp-sym.h> and <bp-asm.h>.
21625 (memcmp): Don't use BP_SYM.
21626 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21627 <bp-sym.h> and <bp-asm.h>.
21628 (memcpy): Don't use BP_SYM.
21629 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21630 <bp-sym.h> and <bp-asm.h>.
21631 (__mempcpy): Don't use BP_SYM.
21632 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21633 <bp-sym.h> and <bp-asm.h>.
21634 (__memrchr): Don't use BP_SYM.
21635 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21636 <bp-sym.h> and <bp-asm.h>.
21637 (memset): Don't use BP_SYM.
21638 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21639 <bp-sym.h> and <bp-asm.h>.
21640 (__rawmemchr): Don't use BP_SYM.
21641 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21642 <bp-sym.h> and <bp-asm.h>.
21643 (__STRCMP): Don't use BP_SYM.
21644 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21645 <bp-sym.h> and <bp-asm.h>.
21646 (strchr): Don't use BP_SYM.
21647 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21648 <bp-sym.h> and <bp-asm.h>.
21649 (__strchrnul): Don't use BP_SYM.
21650 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21651 <bp-sym.h> and <bp-asm.h>.
21652 (strlen): Don't use BP_SYM.
21653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21654 <bp-sym.h> and <bp-asm.h>.
21655 (strncmp): Don't use BP_SYM.
21656 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21657 <bp-sym.h> and <bp-asm.h>.
21658 (__strnlen): Don't use BP_SYM.
21659 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21660 <bp-asm.h>.
21661 (__mpn_rshift): Don't use BP_SYM.
21662 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21663 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21664 <bp-sym.h> and <bp-asm.h>.
21665 (__sigsetjmp): Don't use BP_SYM.
21666 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21667 (L(start_addresses)): Don't use BP_SYM.
21668 (_start): Likewise.
21669 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21670 <bp-asm.h>.
21671 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21672 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21673 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21674 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21675 <bp-asm.h>.
21676 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21677 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21678 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21679 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21680 <bp-asm.h>.
21681 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21682 comments.
21683 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21684 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21685 <bp-asm.h>.
21686 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21687 FIXME comments.
21688 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21689 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21690 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21691 <bp-asm.h>.
21692 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21693 comment.
21694 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21695 and <bp-asm.h>.
21696 (strncmp): Don't use BP_SYM,
21697 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21698 <bp-asm.h>.
21699 (__mpn_sub_n): Don't use BP_SYM.
21700 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21701 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21702 and <bp-asm.h>.
21703 (__mpn_submul_1): Don't use BP_SYM.
21704 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21706 <bp-sym.h> and <bp-asm.h>.
21707 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21709 <bp-sym.h> and <bp-asm.h>.
21710 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21711 comment.
21712
8d19fe64
SP
217132013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21714
21715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21716 Use ZK to minimize writes to Z.
21717 (sub_magnitudes): Simplify code a bit.
21718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21719 Use ZK to minimize writes to Z.
21720 (sub_magnitudes): Simplify code a bit.
21721
85bd816a
RM
217222013-02-27 Roland McGrath <roland@hack.frob.com>
21723
21724 * csu/gmon-start.c: Add special exception to license text.
21725
b5977bf2
RH
217262013-02-27 Richard Henderson <rth@redhat.com>
21727
21728 * scripts/config.guess: Update from config.git.
21729 * scripts/config.sub: Likewise.
21730
11d6e2f2
SP
217312013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21732
09c14ed2
SP
21733 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21734
a688864e
SP
21735 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21736
6295157a
SP
21737 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21738
b8de2202
SP
21739 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21740
11d6e2f2
SP
21741 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21742
7e80ddb8
RM
217432013-02-26 Roland McGrath <roland@hack.frob.com>
21744
21745 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21746 [$(build-shared = yes].
7e80ddb8 21747
7da6d9ed
SP
217482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21749
45f05884
SP
21750 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21751 (__mul): Reduce iterations for calculating mantissa.
21752
2236d359
SP
21753 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21754 MPTWO.
21755 (__mpranred): Likewise.
21756
7da6d9ed
SP
21757 [BZ #15160]
21758 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21759 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21760
b7688c42
PE
217612013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21762
21763 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21764 Define __attribute__.
21765
53a5c423
SP
217662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21767
21768 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21769 unused.
21770 * posix/regex_internal.h (__attribute): Remove.
21771 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21772 (re_string_context_at): Likewise.
21773 (bitset_not): Use __attribute__ and mark function as possibly
21774 unused.
21775 (bitset_merge): Likewise.
21776 (bitset_mask): Likewise.
21777 (re_string_char_size_at): Likewise.
21778 (re_string_wchar_at): Likewise.
21779 (re_string_elem_size_at): Likewise.
21780
60f5a8b5
SP
217812013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21782
2a983a2e
SP
21783 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21784 code.
21785 (cc32): Likewise.
21786
e69804d1
SP
21787 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21788 (__acr): Likewise.
21789 (__cpy): Likewise.
21790 (norm): Likewise.
21791 (denorm): Likewise.
21792 (__dbl_mp): Likewise.
21793 (add_magnitudes): Likewise.
21794 (sub_magnitudes): Likewise.
21795 (__mul): Likewise.
21796 (__inv): Likewise.
21797
2f22a1e8
SP
21798 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21799 style.
21800
8930ddc7
SP
21801 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21802 style.
21803
dc60cb11
SP
21804 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21805 code.
21806
60f5a8b5
SP
21807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21808 up changes with default code.
21809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21810 Likewise.
21811
b4d1fd33
AM
218122013-02-24 Allan McRae <allan@archlinux.org>
21813
faf6f8bc
AM
21814 * manual/socket.texi (The Internet Namespace): Order menu items
21815 to match that in the file.
21816
b4d1fd33
AM
21817 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21818 node listing of the info page menu.
21819
2366713d
JM
218202013-02-21 Joseph Myers <joseph@codesourcery.com>
21821
21822 [BZ #13550]
21823 * sysdeps/i386/bp-asm.h: Remove file.
21824 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21825 (PARMS): Do not use macros from bp-asm.h.
21826 (S1): Likewise.
21827 (S2): Likewise.
21828 (SIZE): Likewise.
21829 (__mpn_add_n): Do not use BP_SYM
21830 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21831 "bp-asm.h".
21832 (PARMS): Do not use macros from bp-asm.h.
21833 (S1): Likewise.
21834 (SIZE): Likewise.
21835 (__mpn_addmul_1): Do not use BP_SYM
21836 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21837 "bp-asm.h".
21838 (PARMS): Do not use macros from bp-asm.h.
21839 (SIGMSK): Likewise.
21840 (_setjmp): Likewise. Do not use BP_SYM.
21841 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21842 "bp-asm.h".
21843 (PARMS): Do not use macros from bp-asm.h.
21844 (SIGMSK): Likewise.
21845 (setjmp): Likewise. Do not use BP_SYM.
21846 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21847 "bp-asm.h".
21848 (PARMS): Do not use macros from bp-asm.h.
21849 (__frexp): Do not use BP_SYM.
21850 (frexp): Likewise.
21851 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21852 "bp-asm.h".
21853 (PARMS): Do not use macros from bp-asm.h.
21854 (__frexpf): Do not use BP_SYM.
21855 (frexpf): Likewise.
21856 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21857 "bp-asm.h".
21858 (PARMS): Do not use macros from bp-asm.h.
21859 (__frexpl): Do not use BP_SYM.
21860 (frexpl): Likewise.
21861 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21862 "bp-asm.h".
21863 (PARMS): Do not use macros from bp-asm.h.
21864 (__remquo): Do not use BP_SYM.
21865 (remquo): Likewise.
21866 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21867 "bp-asm.h".
21868 (PARMS): Do not use macros from bp-asm.h.
21869 (__remquof): Do not use BP_SYM.
21870 (remquof): Likewise.
21871 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21872 "bp-asm.h".
21873 (PARMS): Do not use macros from bp-asm.h.
21874 (__remquol): Do not use BP_SYM.
21875 (remquol): Likewise.
21876 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21877 "bp-asm.h".
21878 (PARMS): Do not use macros from bp-asm.h.
21879 (DEST): Likewise.
21880 (SRC): Likewise.
21881 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21882 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21883 "bp-asm.h".
21884 (PARMS): Do not use macros from bp-asm.h.
21885 (strlen): Do not use BP_SYM.
21886 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21887 "bp-asm.h".
21888 (PARMS): Do not use macros from bp-asm.h.
21889 (S1): Likewise.
21890 (S2): Likewise.
21891 (SIZE): Likewise.
21892 (__mpn_add_n): Do not use BP_SYM.
21893 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21894 "bp-asm.h".
21895 (PARMS): Do not use macros from bp-asm.h.
21896 (S1): Likewise.
21897 (SIZE): Likewise.
21898 (__mpn_addmul_1): Do not use BP_SYM.
21899 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21900 weak_alias.
21901 (bzero): Likewise.
21902 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21903 "bp-asm.h".
21904 (PARMS): Do not use macros from bp-asm.h.
21905 (S): Likewise.
21906 (SIZE): Likewise.
21907 (__mpn_lshift): Do not use BP_SYM.
21908 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21909 "bp-asm.h".
21910 (PARMS): Do not use macros from bp-asm.h.
21911 (DEST): Likewise.
21912 (SRC): Likewise.
21913 (LEN): Likewise.
21914 (memcpy): Likewise. Do not use BP_SYM.
21915 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21916 libc_hidden_def and weak_alias.
21917 (mempcpy): Do not use BP_SYM in weak_alias.
21918 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21919 "bp-asm.h".
21920 (PARMS): Do not use macros from bp-asm.h.
21921 (DEST): Likewise.
21922 (LEN): Likewise.
21923 [!BZERO_P] (CHR): Likewise.
21924 (memset): Likewise. Do not use BP_SYM.
21925 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21926 "bp-asm.h".
21927 (PARMS): Do not use macros from bp-asm.h.
21928 (S1): Likewise.
21929 (SIZE): Likewise.
21930 (__mpn_mul_1): Do not use BP_SYM.
21931 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21932 "bp-asm.h".
21933 (PARMS): Do not use macros from bp-asm.h.
21934 (S): Likewise.
21935 (SIZE): Likewise.
21936 (__mpn_rshift): Do not use BP_SYM.
21937 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21938 "bp-asm.h".
21939 (PARMS): Do not use macros from bp-asm.h.
21940 (STR): Likewise.
21941 (CHR): Likewise.
21942 (strchr): Likewise. Do not use BP_SYM.
21943 (index): Do not use BP_SYM in weak_alias.
21944 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21945 "bp-asm.h".
21946 (PARMS): Do not use macros from bp-asm.h.
21947 (DEST): Likewise.
21948 (SRC): Likewise.
21949 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21950 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21951 "bp-asm.h".
21952 (PARMS): Do not use macros from bp-asm.h.
21953 (strlen): Do not use BP_SYM.
21954 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21955 "bp-asm.h".
21956 (PARMS): Do not use macros from bp-asm.h.
21957 (S1): Likewise.
21958 (S2): Likewise.
21959 (SIZE): Likewise.
21960 (__mpn_sub_n): Do not use BP_SYM.
21961 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21962 "bp-asm.h".
21963 (PARMS): Do not use macros from bp-asm.h.
21964 (S1): Likewise.
21965 (SIZE): Likewise.
21966 (__mpn_submul_1): Do not use BP_SYM.
21967 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21968 "bp-asm.h".
21969 (PARMS): Do not use macros from bp-asm.h.
21970 (S1): Likewise.
21971 (S2): Likewise.
21972 (SIZE): Likewise.
21973 (__mpn_add_n): Do not use BP_SYM.
21974 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21975 weak_alias.
21976 (bzero): Likewise.
21977 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21978 "bp-asm.h".
21979 (PARMS): Do not use macros from bp-asm.h.
21980 (BLK2): Likewise.
21981 (LEN): Likewise.
21982 (memcmp): Do not use BP_SYM.
21983 (bcmp): Do not use BP_SYM in weak_alias.
21984 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21985 "bp-asm.h".
21986 (PARMS): Do not use macros from bp-asm.h.
21987 (DEST): Likewise.
21988 (SRC): Likewise.
21989 (LEN): Likewise.
21990 (memcpy): Likewise. Do not use BP_SYM.
21991 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21992 "bp-asm.h".
21993 (PARMS): Do not use macros from bp-asm.h.
21994 (DEST): Likewise.
21995 (SRC): Likewise.
21996 (LEN): Likewise.
21997 (memmove): Likewise. Do not use BP_SYM.
21998 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21999 "bp-asm.h".
22000 (PARMS): Do not use macros from bp-asm.h.
22001 (DEST): Likewise.
22002 (SRC): Likewise.
22003 (LEN): Likewise.
22004 (__mempcpy): Likewise. Do not use BP_SYM.
22005 (mempcpy): Do not use BP_SYM in weak_alias.
22006 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22007 "bp-asm.h".
22008 (PARMS): Do not use macros from bp-asm.h.
22009 (DEST): Likewise.
22010 (LEN): Likewise.
22011 [!BZERO_P] (CHR): Likewise.
22012 (memset): Likewise. Do not use BP_SYM.
22013 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22014 "bp-asm.h".
22015 (PARMS): Do not use macros from bp-asm.h.
22016 (STR2): Likewise.
22017 (strcmp): Do not use BP_SYM.
22018 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22019 "bp-asm.h".
22020 (PARMS): Do not use macros from bp-asm.h.
22021 (STR): Likewise.
22022 (DELIM): Likewise.
22023 [USE_AS_STRTOK_R] (SAVE): Likewise.
22024 (FUNCTION): Likewise. Do not use BP_SYM.
22025 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22026 aliases.
22027 (strtok_r): Likewise.
22028 (__GI___strtok_r): Likewise.
22029 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22030 (PARMS): Do not use macros from bp-asm.h.
22031 (S): Likewise.
22032 (SIZE): Likewise.
22033 (__mpn_lshift): Do not use BP_SYM.
22034 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22035 (PARMS): Do not use macros from bp-asm.h.
22036 (STR): Likewise.
22037 (CHR): Likewise.
22038 (__memchr): Do not use BP_SYM.
22039 (memchr): Do not use BP_SYM in weak_alias.
22040 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22041 (PARMS): Do not use macros from bp-asm.h.
22042 (BLK2): Likewise.
22043 (LEN): Likewise.
22044 (memcmp): Do not use BP_SYM.
22045 (bcmp): Do not use BP_SYM in weak_alias.
22046 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22047 (PARMS): Do not use macros from bp-asm.h.
22048 (S1): Likewise.
22049 (SIZE): Likewise.
22050 (__mpn_mul_1): Do not use BP_SYM.
22051 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22052 "bp-asm.h".
22053 (PARMS): Do not use macros from bp-asm.h.
22054 (STR): Likewise.
22055 (CHR): Likewise.
22056 (__rawmemchr): Do not use BP_SYM.
22057 (rawmemchr): Do not use BP_SYM in weak_alias.
22058 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22059 (PARMS): Do not use macros from bp-asm.h.
22060 (S): Likewise.
22061 (SIZE): Likewise.
22062 (__mpn_rshift): Do not use BP_SYM.
22063 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22064 (PARMS): Do not use macros from bp-asm.h.
22065 (SIGMSK): Likewise.
22066 (__sigsetjmp): Likewise. Do not use BP_SYM.
22067 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22068 (_start): Do not use BP_SYM.
22069 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22070 (PARMS): Do not use macros from bp-asm.h.
22071 (DEST): Likewise.
22072 (SRC): Likewise.
22073 (__stpcpy): Likewise. Do not use BP_SYM.
22074 (stpcpy): Do not use BP_SYM in weak_alias.
22075 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22076 "bp-asm.h".
22077 (PARMS): Do not use macros from bp-asm.h.
22078 (DEST): Likewise.
22079 (SRC): Likewise.
22080 (LEN): Likewise.
22081 (__stpncpy): Likewise. Do not use BP_SYM.
22082 (stpncpy): Do not use BP_SYM in weak_alias.
22083 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22084 (PARMS): Do not use macros from bp-asm.h.
22085 (STR): Likewise.
22086 (CHR): Likewise.
22087 (strchr): Likewise. Do not use BP_SYM.
22088 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22089 "bp-asm.h".
22090 (PARMS): Do not use macros from bp-asm.h.
22091 (STR): Likewise.
22092 (CHR): Likewise.
22093 (__strchrnul): Likewise. Do not use BP_SYM.
22094 (strchrnul): Do not use BP_SYM in weak_alias.
22095 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22096 "bp-asm.h".
22097 (PARMS): Do not use macros from bp-asm.h.
22098 (STOP): Likewise.
22099 (strcspn): Do not use BP_SYM.
22100 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22101 "bp-asm.h".
22102 (PARMS): Do not use macros from bp-asm.h.
22103 (STR): Likewise.
22104 (STOP): Likewise.
22105 (strpbrk): Likewise. Do not use BP_SYM.
22106 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22107 "bp-asm.h".
22108 (PARMS): Do not use macros from bp-asm.h.
22109 (STR): Likewise.
22110 (CHR): Likewise.
22111 (strrchr): Likewise. Do not use BP_SYM.
22112 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22113 (PARMS): Do not use macros from bp-asm.h.
22114 (SKIP): Likewise.
22115 (strspn): Do not use BP_SYM.
22116 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22117 (PARMS): Do not use macros from bp-asm.h.
22118 (STR): Likewise.
22119 (DELIM): Likewise.
22120 (SAVE): Likewise.
22121 (FUNCTION): Likewise. Do not use BP_SYM.
22122 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22123 aliases.
22124 (strtok_r): Likewise.
22125 (__GI___strtok_r): Likewise.
22126 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22127 (PARMS): Do not use macros from bp-asm.h.
22128 (S1): Likewise.
22129 (S2): Likewise.
22130 (SIZE): Likewise.
22131 (__mpn_sub_n): Do not use BP_SYM.
22132 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22133 "bp-asm.h".
22134 (PARMS): Do not use macros from bp-asm.h.
22135 (S1): Likewise.
22136 (SIZE): Likewise.
22137 (__mpn_submul_1): Do not use BP_SYM.
22138 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22139 <bp-sym.h>.
22140 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22141 and <bp-asm.h>.
22142 (PARMS): Do not use macros from bp-asm.h.
22143 (FLAGS): Likewise.
22144 (PTID): Likewise.
22145 (TLS): Likewise.
22146 (CTID): Likewise.
22147 (__clone): Do not use BP_SYM.
22148 (clone): Do not use BP_SYM in weak_alias.
22149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22150 and <bp-asm.h>.
22151 (PARMS): Do not use macros from bp-asm.h.
22152 (LEN): Likewise.
22153 (__mmap64): Do not use BP_SYM.
22154 (mmap64): Do not use BP_SYM in weak_alias.
22155 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22156 <bp-sym.h> and <bp-asm.h>.
22157 (PARMS): Do not use macros from bp-asm.h.
22158 (__posix_fadvise64_l64): Do not use BP_SYM.
22159 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22160 (PARMS): Do not use macros from bp-asm.h.
22161 (NSOPS): Likewise.
22162 (semtimedop): Do not use BP_SYM.
22163 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22164 and <bp-asm.h>.
22165
582a3cff
AM
221662013-02-21 Allan McRae <allan@archlinux.org>
22167
22168 * manual/message.texi (Charset conversion in gettext):
22169 Move @end statement to beginning of line.
22170
bab8a695
SP
221712013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22172
80945231
SP
22173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22174 static.
22175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22176 Likewise.
22177
bab8a695
SP
22178 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22179 (denorm): Likewise.
22180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22182
e21d7aa7
AK
221832013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22184
22185 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22186 tail-call to the resolved function if pltexit isn't needed.
22187
4c7a4263
SP
221882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22189
22190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22191 or Y being zero as being unlikely.
22192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22193 Likewise.
22194
41f49342
CD
221952013-02-20 Carlos O'Donell <carlos@redhat.com>
22196
22197 * manual/nss.texi (System Databases and Name Service Switch):
22198 Remove frobnicate @pxref.
22199
50022a93
TS
222002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22201
22202 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22203 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22204
08cbd996
PM
222052013-02-20 Petr Machata <pmachata@redhat.com>
22206
22207 * elf/elf.h (R_ARM_TARGET1): New macro.
22208 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22209 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22210 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22211 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22212 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22213 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22214 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22215 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22216 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22217 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22218 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22219 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22220 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22221 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22222 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22223 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22224 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22225 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22226 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22227 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22228 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22229 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22230 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22231 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22232 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22233 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22234 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22235 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22236 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22237 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22238 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22239 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22240 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22241 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22242 (R_ARM_THM_GOT_BREL12): Likewise.
22243 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22244 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22245 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22246 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22247 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22248 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22249 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22250 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22251 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22252
c7b275d6
TS
222532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22254
22255 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22256 __attribute_used__ to __attribute__ ((unused)).
22257
20cd7fb3
SP
222582013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22259
22260 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22261 powerpc mpa.c.
22262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22263 comment formatting.
22264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22265
92945b52
JM
222662013-02-19 Joseph Myers <joseph@codesourcery.com>
22267
22268 [BZ #13550]
22269 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22270 Remove macro.
22271 (ENTER): Remove both macro definitions.
22272 (LEAVE): Likewise.
22273 (CHECK_BOUNDS_LOW): Likewise.
22274 (CHECK_BOUNDS_HIGH): Likewise.
22275 (CHECK_BOUNDS_BOTH): Likewise.
22276 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22277 (RETURN_BOUNDED_POINTER): Likewise.
22278 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22279 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22280 (POP_ERRNO_LOCATION_RETURN): Likewise.
22281 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22282 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22283 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22284 macros.
22285 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22286 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22287 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22288 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22289 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22290 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22291 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22292 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22293 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22294 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22295 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22296 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22297 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22298 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22299 removed macros.
22300 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22301 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22302 macros.
22303 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22304 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22305 * sysdeps/i386/i586/memset.S (memset): Likewise.
22306 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22307 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22308 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22309 macros.
22310 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22311 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22312 Change uses of L(2) to L(out).
22313 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22314 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22315 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22316 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22317 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22318 removed macros.
22319 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22320 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22321 macros.
22322 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22323 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22324 (RETURN): Do not use macro LEAVE.
22325 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22326 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22327 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22328 * sysdeps/i386/i686/memset.S (memset): Likewise.
22329 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22330 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22331 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22332 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22333 Likewise.
22334 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22335 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22336 L(1_2) and L(1_3) into L(1).
22337 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22338 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22339 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22340 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22341 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22342 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22343 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22344 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22345 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22346 macros.
22347 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22348 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22349 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22350 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22351 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22352 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22353 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22354 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22355 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22356 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22357 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22358 * sysdeps/i386/strspn.S (strspn): Likewise.
22359 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22360 conditional code.
22361 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22362 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22363 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22364 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22365 L(1_3) into L(1_1).
22366 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22367 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22368 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22369 macros.
22370 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22371
2389741a
JJ
223722013-02-19 Jakub Jelinek <jakub@redhat.com>
22373
22374 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22375 macro.
22376
2016b3cd
SP
223772013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22378
e4f22324
SP
22379 * math/atest-exp.c (exp_mpn): Remove ROUND.
22380 * math/atest-exp2.c (exp_mpn): Likewise.
22381 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22382
2016b3cd
SP
22383 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22384 * stdlib/tst-tls-atexit-lib.c: Likewise.
22385 * stdlib/tst-tls-atexit.c: Likewise.
22386
4be9b544
MF
223872013-02-18 Mike Frysinger <vapier@gentoo.org>
22388
22389 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22390 and __attribute_alloc_size__.
22391
2f62b9ee
MF
223922013-02-18 Mike Frysinger <vapier@gentoo.org>
22393
22394 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22395 __attribute_alloc_size__.
22396 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22397 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22398
6ff444c4
MF
223992013-02-18 Mike Frysinger <vapier@gentoo.org>
22400
22401 * include/programs/xmalloc.h: New file.
22402 * catgets/gencat.c: Include it.
22403 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22404 * elf/pldd.c: Likewise.
22405 * iconv/iconv_charmap.c: Likewise.
22406 * iconv/iconvconfig.c: Likewise.
22407 * iconv/strtab.c: Likewise.
22408 * locale/programs/locale.c: Likewise.
22409 * locale/programs/localedef.h: Likewise.
22410 * locale/programs/simple-hash.c: Likewise.
22411 * nscd/nscd.h: Likewise.
22412 * nss/makedb.c: Likewise.
22413 * sysdeps/generic/ldconfig.h: Likewise.
22414
be179c8a
SP
224152013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22416
ba384f6e
SP
22417 * Versions.def: Add GLIBC_2.18.
22418 * include/link.h (struct link_map): New member l_tls_dtor_count.
22419 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22420 (__call_tls_dtors): Likewise.
22421 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22422 __cxa_thread_atexit_impl.
22423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22424 Likewise.
22425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22426 Likewise.
22427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22428 Likewise.
22429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22430 Likewise.
22431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22433 Likewise.
22434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22435 Likewise.
22436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22438 Likewise.
22439 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22440 (tests): Add test case tst-tls-atexit.
22441 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22442 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22443 (GLIBC_PRIVATE): Add __call_tls_dtors.
22444 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22445 for libstdc++.
22446 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22447 * stdlib/tst-tls-atexit.c: New test case.
22448 * stdlib/tst-tls-atexit-lib.c: New test case.
22449
ffaa74cf 22450 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22451
be179c8a
SP
22452 * elf/Versions (ld): Add _dl_find_dso_for_object.
22453 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22454 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22455 (dl_open_worker): Use _dl_find_dso_for_object.
22456 * elf/dl-sym.c (do_sym): Likewise.
22457 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22458
f78b5caa
AK
224592013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22460
22461 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22462 Syntactic changes only.
22463 (_dl_runtime_profile): Do a tail-call to the resolved function.
22464
29691210
JM
224652013-02-17 Joseph Myers <joseph@codesourcery.com>
22466
22467 [BZ #13550]
22468 * sysdeps/x86_64/bp-asm.h: Remove file.
22469 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22470 <bp-sym.h> and <bp-asm.h>.
22471 (__clone): Do not use BP_SYM.
22472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22473 <bp-sym.h> and <bp-asm.h>.
22474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22475 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22476 "bp-asm.h".
22477 (_setjmp): Do not use BP_SYM.
22478 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22479 "bp-asm.h".
22480 (setjmp): Do not use BP_SYM.
22481 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22482 libc_hidden_def.
22483 (mempcpy): Do not use BP_SYM in weak_alias.
22484 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22485 "bp-asm.h".
22486 (strchr): Do not use BP_SYM.
22487 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22488 "bp-asm.h".
22489 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22490 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22491 (_start): Do not use BP_SYM.
22492 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22493 "bp-asm.h".
22494 (strcat): Do not use BP_SYM.
22495 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22496 "bp-asm.h".
22497 (STRCMP): Do not use BP_SYM.
22498 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22499 "bp-asm.h".
22500 (STRCPY): Do not use BP_SYM.
22501 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22502 "bp-asm.h".
22503 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22504 "bp-asm.h".
22505 (FUNCTION): Do not use BP_SYM.
22506 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22507 weak_alias.
22508 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22509
f238fd19
AJ
225102013-02-17 Andreas Jaeger <aj@suse.de>
22511
22512 * time/Versions: Sort entries.
22513 * string/Versions: Likewise.
22514 * resolv/Versions: Likewise.
22515 * posix/Versions: Likewise.
22516 * iconv/Versions: Likewise.
22517 * elf/Versions: Likewise.
22518 * wcsmbs/Versions: Likewise.
22519
bd07f23c 225202013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22521
22af19f9
SP
22522 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22523 loop termination condition.
22524
4709fe76
SP
22525 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22526 variable to calculate EZ.
22527 (__sqr): Likewise.
2d0e0f29
SP
22528
22529 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22530 the lower precision input.
22531
daaa7713
JM
225322013-02-15 Joseph Myers <joseph@codesourcery.com>
22533
22534 [BZ #13550]
22535 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22536 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22537 (run-via-rtld-prefix): Do not handle %-bp tests.
22538 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22539 (all-object-suffixes): Remove .ob.
22540 (bppfx): Remove variable.
22541 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22542 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22543 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22544 [$(build-bounded) = yes] (libtype.ob): Likewise.
22545 * Makerules (elide-routines.ob): Remove variable.
22546 (do-tests-clean): Do not handle *-bp.out.
22547 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22548 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22549 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22550 (tests): Do not include $(tests-bp.out).
22551 (xtests): Do not include $(xtests-bp.out).
22552 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22553 [$(build-bounded) = yes] ($(addprefix
22554 $(objpfx),$(binaries-bounded))): Remove rule.
22555 ($(objpfx)%-bp.out): Remove rule.
22556 * config.make.in (build-bounded): Remove variable.
22557 * crypt/Makefile [$(build-bounded) = yes]
22558 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22559 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22560 append to variable.
22561 [$(build-bounded) = yes] (install-lib): Likewise.
22562 [$(build-bounded) = yes] (generated): Likewise.
22563 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22564 Remove rule.
22565 * intl/Makefile [$(build-bounded) = yes]
22566 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22567 * math/Makefile [$(build-bounded) = yes]
22568 ($(tests:%=$(objpfx)%-bp): Likewise.
22569 * misc/Makefile [$(build-bounded) = yes]
22570 ($(objpfx)tst-tsearch-bp): Likewise.
22571 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22572 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22573 Remove dependency.
22574 * string/Makefile (o-objects.ob): Remove variable.
22575 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22576 (CFLAGS-.ob): Remove variable.
22577 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22578 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22579 both definitions of variable.
22580 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22581 (ASFLAGS-.ob): Remove variable.
22582
e97ed6dd
JM
225832013-02-14 Joseph Myers <joseph@codesourcery.com>
22584
2bdd4ca6
JM
22585 [BZ #13550]
22586 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22587 Remove __BOUNDED_POINTERS__ from condition.
22588 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22589 * string/bits/string2.h [!__NO_STRING_INLINES &&
22590 !__BOUNDED_POINTERS__]: Likewise.
22591 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22592 Likewise.
22593 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22594 Remove conditional code.
22595 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22596 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22597 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22598 condition.
22599
e97ed6dd
JM
22600 [BZ #13550]
22601 * csu/libc-start.c: Do not include <bp-sym.h>.
22602 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22603 * elf/dl-open.c: Do not include <bp-sym.h>.
22604 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22605 * math/fegetenv.c: Do not include <bp-sym.h>.
22606 (fegetenv): Do not use BP_SYM in versioned symbols.
22607 * nptl/sysdeps/pthread/bits/libc-lockP.h
22608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22609 <bp-sym.h>.
22610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22611 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22613 (__pthread_mutex_destroy): Likewise.
22614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22615 (__pthread_mutex_lock): Likewise.
22616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22617 (__pthread_mutex_trylock): Likewise.
22618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22619 (__pthread_mutex_unlock): Likewise.
22620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22621 (__pthread_mutexattr_init): Likewise.
22622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22623 (__pthread_mutexattr_destroy): Likewise.
22624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22625 (__pthread_mutexattr_settype): Likewise.
22626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22627 (__pthread_rwlock_init): Likewise.
22628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22629 (__pthread_rwlock_destroy): Likewise.
22630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22631 (__pthread_rwlock_rdlock): Likewise.
22632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22633 (__pthread_rwlock_tryrdlock): Likewise.
22634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22635 (__pthread_rwlock_wrlock): Likewise.
22636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22637 (__pthread_rwlock_trywrlock): Likewise.
22638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22639 (__pthread_rwlock_unlock): Likewise.
22640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22641 (__pthread_key_create): Likewise.
22642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22643 (__pthread_setspecific): Likewise.
22644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22645 (__pthread_getspecific): Likewise.
22646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22647 Likewise.
22648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22649 (_pthread_cleanup_push_defer): Likewise.
22650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22651 (_pthread_cleanup_pop_restore): Likewise.
22652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22653 (pthread_setcancelstate): Likewise.
22654 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22655 <bp-sym.h>.
22656 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22657 (memchr): Do not use BP_SYM in weak_alias.
22658 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22659 (fegetenv): Do not use BP_SYM in versioned symbols.
22660 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22661 (fesetenv): Do not use BP_SYM in versioned symbols.
22662 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22663 (feupdateenv): Do not use BP_SYM in versioned symbols.
22664 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22665 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22666 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22667 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22668 (open64): Do not use BP_SYM in weak_alias.
22669 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22670 (fegetenv): Do not use BP_SYM in versioned symbols.
22671 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22672 (fesetenv): Do not use BP_SYM in versioned symbols.
22673 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22674 (feupdateenv): Do not use BP_SYM in versioned symbols.
22675 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22676 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22677 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22678 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22679 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22680 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22681 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22682 <bp-sym.h>.
22683 (__libc_start_main): Do not use BP_SYM.
22684
d6752ccd
SP
226852013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22686
cb57ce60
SP
22687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22688 redundant return line.
22689 (norm): Likewise.
22690 (denorm): Likewise.
22691 (dbl_mp): Likewise.
22692 (sub_magnitudes): Likewise.
22693 (__add): Likewise.
22694 (__sub): Likewise.
22695 (__mul): Likewise.
22696 (__inv): Likewise.
22697 (__dvd): Likewise.
22698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22699 (norm): Likewise.
22700 (denorm): Likewise.
22701 (dbl_mp): Likewise.
22702 (sub_magnitudes): Likewise.
22703 (__add): Likewise.
22704 (__sub): Likewise.
22705 (__mul): Likewise.
22706 (__inv): Likewise.
22707 (__dvd): Likewise.
22708
f414520d
SP
22709 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22710 instead of __mul.
22711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22712 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22713 (cc32): Likewise.
22714
d6752ccd
SP
22715 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22716 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22718 of __mul for squares.
22719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22720 function
22721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22722 Likewise.
22723 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22724 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22725
70d9946a
JM
227262013-02-13 Joseph Myers <joseph@codesourcery.com>
22727
22728 [BZ #13550]
22729 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22730 code.
22731 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22732 prototype or function definition. Rename ubp_* variables and
22733 parameters. Remove argv definitions conditional on
22734 [__BOUNDED_POINTERS__].
22735 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22736 * elf/dl-runtime.c (_dl_fixup): Likewise.
22737 * include/set-hooks.h (RUN_HOOK): Likewise.
22738 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22739 definition.
22740 * string/strcpy.c (strcpy): Do not use __unbounded.
22741 * sysdeps/generic/frame.h (struct layout): Likewise.
22742 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22743 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22744 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22745 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22746 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22747 (__backtrace): Likewise.
22748 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22749 use __ptrvalue.
22750 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22751 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22752 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22753 Likewise.
22754 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22755 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22756 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22757 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22758 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22759 Do not use __unbounded.
22760 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22761 Rename __unboundedrlimits parameter to rlimits in prototype.
22762 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22763 Do not use __unbounded.
22764 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22765 not use __ptrvalue.
22766 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22767 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22768 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22769 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22770 __ptrvalue or __unbounded.
22771 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22772 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22773 use __unbounded.
22774 (__new_msgctl): Do not use __ptrvalue.
22775 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22776 __unbounded.
22777 (__libc_msgrcv): Do not use __ptrvalue.
22778 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22779 startup_info): Do not use __unbounded.
22780 (__libc_start_main): Likewise. Rename ubp_* variables and
22781 parameters. Remove argv definitions conditional on
22782 [__BOUNDED_POINTERS__].
22783 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22784 __ptrvalue.
22785 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22786 use __unbounded.
22787 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22788 or __ptrvalue.
22789 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22790 use __unbounded.
22791 (__new_shmctl): Do not use __ptrvalue.
22792 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22793 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22794 Likewise.
22795 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22797 (__libc_sigaction): Likewise.
22798 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22800 Likewise.
22801 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22802
cc7834d6
OB
228032013-02-13 Ondřej Bílka <neleai@seznam.cz>
22804
ffb1ec7b 22805 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
22806
22807 * string/mempcpy.c: Implement by calling memcpy.
22808
bdf02814
SP
228092013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22810
c2af38aa
SP
22811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22812
4e92d59e
SP
22813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22814 evaluation.
22815
909279a5
SP
22816 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22817 values in the mantissa.
22818
bdf02814
SP
22819 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22820 minimize writes to Z.
22821 (sub_magnitudes): Simplify code a bit.
22822
cd525923
RM
228232013-02-12 Roland McGrath <roland@hack.frob.com>
22824
22825 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22826 from the message. The linker prefixes all warnings with that already.
22827
7e2f0d2d
AS
228282013-02-12 Andreas Schwab <schwab@suse.de>
22829
a445af0b
AS
22830 [BZ #15078]
22831 * posix/regexec.c (extend_buffers): Add parameter min_len.
22832 (check_matching): Pass minimum needed length.
22833 (clean_state_log_if_needed): Likewise.
22834 (get_subexp): Likewise.
22835 * posix/Makefile (tests): Add bug-regex34.
22836 (bug-regex34-ENV): Define.
22837 * posix/bug-regex34.c: New file.
22838
7e2f0d2d
AS
22839 [BZ #11561]
22840 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22841 elements compare against the byte sequence of it, not its name.
22842 * posix/Makefile (tests): Add bug-regex35.
22843 (bug-regex35-ENV): Define.
22844 * posix/bug-regex35.c: New file.
22845
a175b684
TV
228462013-02-11 Tom de Vries <tom@codesourcery.com>
22847
22848 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22849 comment.
22850 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22851 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22852 (CHECK_EOL): Add undef.
22853
310998fe 228542013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
22855
22856 * bits/stdlib-bsearch.h: New file.
22857 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 22858 * stdlib/stdlib.h: Likewise.
41eda41d 22859
8ded91fb
RM
228602013-02-11 Roland McGrath <roland@hack.frob.com>
22861
22862 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22863 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22864 declaration.
22865 * manual/search.texi (Array Search Function): Add missing const in
22866 lfind prototype.
22867 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22868 declaration to use rlim_t.
22869 (Basic Scheduling Functions): Remove erroneous const from
22870 sched_getparam prototype. Remove erroneous * from
22871 sched_get_priority_max and sched_get_priority_min prototypes.
22872 (Resource Usage): Fix summary @comment on vtimes to refer to
22873 sys/vtimes.h rather than vtimes.h.
22874 Add missing *s in vtimes prototype.
22875 (Limits on Resources): Fix ulimit prototype to return long int.
22876 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22877 prototypes to use long int rather than double.
22878 (BSD Random): Fix initstate and setstate to use char *, not void *.
22879 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22880 prototype to make second argument 'struct aiocb64 *const[]'.
22881 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22882 (Status of AIO Operations): Remove erroneous const in aio_return and
22883 aio_return64 prototypes.
22884 (Synchronizing I/O): Fix sync prototype to return void.
22885 * manual/startup.texi (Suboptions): Remove an erroneous const in
22886 getsubopt prototype.
22887 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22888 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22889 use size_t rather than int.
22890 (Scanning All Users): Likewise for getpwent_r.
22891 (Setting Groups): Add missing const to setgroups prototype.
22892 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22893 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22894 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22895 'const void *' rather than 'const char *'.
22896 (Host Address Functions): Likewise for inet_ntop.
22897 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22898 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22899 ssize_t for return value.
22900 (Sending Data): Likewise for send, sendto, sendmsg.
22901 (Socket Option Functions): Add a missing const in setsockopt prototype.
22902 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22903 use wchar_t for the argument.
22904 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22905 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22906 take no arguments.
22907 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22908 double/float/long double for second argument.
22909 Fix return types of significand, significandf, significandl.
22910 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22911 argument in fchmod prototype.
22912 (File Owner): Use uid_t and gid_t in fchown prototype.
22913 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22914 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22915 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22916 use 'const struct dirent **' as argument types to CMP function pointer
22917 argument.
22918 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22919 (File Times): Fix summary magic @comment for struct utimbuf and utime
22920 to refer to utime.h, not time.h.
22921 * manual/string.texi (Argz Functions): Add missing const in
22922 argz_extract and argz_next prototypes.
22923 (Finding Tokens in a String): Likewise for basename.
22924 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22925 (Copying and Concatenation): Fix typo in wmemmove prototype.
22926 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22927 (Signal Stack): Remove erroneous const in sigstack prototype.
22928 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22929 prototype.
22930 (Simple Calendar Time): Likewise for stime.
22931 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22932 prototype.
22933 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22934 say sys/sysctl.h instead.
22935 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22936 and vsyslog prototypes.
22937
fe77fe6d
TV
229382013-02-11 Tom de Vries <tom@codesourcery.com>
22939
22940 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22941 Remove.
22942
3a09b620
RM
229432013-02-11 Roland McGrath <roland@hack.frob.com>
22944
22945 * misc/sys/mman.h: Fix typo in mremap comment.
22946
550a0b89
RM
229472013-02-08 Roland McGrath <roland@hack.frob.com>
22948
22949 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22950 the '\0' terminator.
22951
a2da1673
JM
229522013-02-08 Joseph Myers <joseph@codesourcery.com>
22953
22954 [BZ #13550]
22955 * debug/segfault.c: Don't include <bp-checks.h>.
22956 * sysdeps/generic/bp-checks.h: Remove file.
22957 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22958 (__GETDENTS): Don't use CHECK_N.
22959 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22960 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22961 (__getgroups): Don't use CHECK_N.
22962 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22963 (setgroups): Don't use CHECK_N.
22964 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22965 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22966 (__libc_msgrcv): Don't use CHECK_N.
22967 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22968 (__libc_msgsnd): Don't use CHECK_N.
22969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22970 <bp-checks.h>.
22971 (__libc_pread): Don't use CHECK_N.
22972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22973 include <bp-checks.h>.
22974 (__libc_pread64): Don't use CHECK_N.
22975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22976 include <bp-checks.h>.
22977 (__libc_pwrite): Don't use CHECK_N.
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22979 include <bp-checks.h>.
22980 (__libc_pwrite64): Don't use CHECK_N.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22982 <bp-checks.h>.
22983 (__libc_pread): Don't use CHECK_N.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22985 include <bp-checks.h>.
22986 (__libc_pread64): Don't use CHECK_N.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22988 include <bp-checks.h>.
22989 (__libc_pwrite): Don't use CHECK_N.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22991 include <bp-checks.h>.
22992 (__libc_pwrite64): Don't use CHECK_N.
22993 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22994 (do_pread): Don't use CHECK_N.
22995 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22996 (do_pread64): Don't use CHECK_N.
22997 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22998 (do_pwrite): Don't use CHECK_N.
22999 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23000 (do_pwrite64): Don't use CHECK_N.
23001 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23002 (__libc_readv): Don't use CHECK_N.
23003 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23004 (semop): Don't use CHECK_N.
23005 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23006 <bp-checks.h>.
23007 (semtimedop): Don't use CHECK_N.
23008 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23009 (__libc_pread): Don't use CHECK_N.
23010 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23011 <bp-checks.h>.
23012 (__libc_pread64): Don't use CHECK_N.
23013 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23014 <bp-checks.h>.
23015 (__libc_pwrite): Don't use CHECK_N.
23016 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23017 <bp-checks.h>.
23018 (__libc_pwrite64): Don't use CHECK_N.
23019 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23020 <bp-checks.h>.
23021 (__libc_msgrcv): Don't use CHECK_N.
23022 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23023 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23024 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23025 (__libc_writev): Don't use CHECK_N.
23026
b84660a8
RM
230272013-02-08 Roland McGrath <roland@hack.frob.com>
23028
7f3e75f8
RM
23029 * string/strcpy.c: Removed unused variable.
23030
b84660a8
RM
23031 * Makeconfig (+sysdep-includes): Define with := rather than =.
23032 Use an existing include/ subdir of each sysdeps dir before it.
23033
471514d3
CD
230342013-02-08 Carlos O'Donell <carlos@redhat.com>
23035
23036 * nscd/connection.c (register_traced_file): Comment function.
23037 [HAVE_INOTIFY] (union __inev): Define.
23038 [HAVE_INOTIFY] (inotify_check_files): New function.
23039 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23040 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23041 clear_db_cache.
23042 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23043
b2d3c3be
CD
230442013-02-08 Carlos O'Donell <carlos@redhat.com>
23045
23046 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23047 loaded if not already and that a failure is permanent.
23048
b39949d2
CD
230492013-02-08 Carlos O'Donell <carlos@redhat.com>
23050
ddacd1db 23051 [BZ #15006]
b39949d2
CD
23052 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23053 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23054
b2c9eff4
JM
230552013-02-08 Joseph Myers <joseph@codesourcery.com>
23056
f3aae3f3
JM
23057 [BZ #13550]
23058 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23059 (CHECK_1_NULL_OK): Likewise.
23060 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23061 (__fxstat): Do not use CHECK_1.
23062 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23063 <bp-checks.h>.
23064 (___fxstat64): Do not use CHECK_1.
23065 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23066 <bp-checks.h>.
23067 (__fxstatat): Do not use CHECK_1.
23068 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23069 <bp-checks.h>.
23070 (__fxstatat64): Do not use CHECK_1.
23071 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23072 <bp-checks.h>.
23073 (__fxstat): Do not use CHECK_1.
23074 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23075 <bp-checks.h>.
23076 (__fxstatat): Do not use CHECK_1.
23077 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23078 <bp-checks.h>.
23079 (__getresgid): Do not use CHECK_1.
23080 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23081 <bp-checks.h>.
23082 (__getresuid): Do not use CHECK_1.
23083 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23084 <bp-checks.h>.
23085 (__lxstat): Do not use CHECK_1.
23086 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23087 <bp-checks.h>.
23088 (__old_msgctl): Do not use CHECK_1.
23089 (__new_msgctl): Likewise.
23090 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23091 <bp-checks.h>.
23092 (__new_setrlimit): Do not use CHECK_1.
23093 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23094 <bp-checks.h>.
23095 (__old_shmctl): Do not use CHECK_1.
23096 (__new_shmctl): Likewise.
23097 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23098 <bp-checks.h>.
23099 (__xstat): Do not use CHECK_1.
23100 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23101 (__lxstat): Do not use CHECK_1.
23102 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23103 <bp-checks.h>.
23104 (___lxstat64): Do not use CHECK_1.
23105 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23106 (__old_msgctl): Do not use CHECK_1.
23107 (__new_msgctl): Likewise.
23108 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23109 <bp-checks.h>.
23110 (__gettimeofday): Do not use CHECK_1.
23111 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23112 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23113 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23114 <bp-checks.h>.
23115 (__gettimeofday): Do not use CHECK_1.
23116 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23117 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23118 (__new_shmctl): Do not use CHECK_1.
23119 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23120 <bp-checks.h>.
23121 (do_sigtimedwait): Do not use CHECK_1.
23122 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23123 <bp-checks.h>.
23124 (do_sigwaitinfo): Do not use CHECK_1.
23125 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23126 <bp-checks.h>.
23127 (msgctl): Do not use CHECK_1.
23128 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23129 <bp-checks.h>.
23130 (shmctl): Do not use CHECK_1.
23131 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23132 (ustat): Do not use CHECK_1.
23133 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23134 <bp-checks.h>.
23135 (__fxstat): Do not use CHECK_1.
23136 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23137 <bp-checks.h>.
23138 (__fxstatat): Do not use CHECK_1.
23139 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23140 <bp-checks.h>.
23141 (__lxstat): Do not use CHECK_1.
23142 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23143 <bp-checks.h>.
23144 (__xstat): Do not use CHECK_1.
23145 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23146 (__xstat): Do not use CHECK_1.
23147 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23148 (___xstat64): Do not use CHECK_1.
23149
b2c9eff4
JM
23150 [BZ #13550]
23151 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23152 definitions.
23153 (CHECK_BOUNDS_HIGH): Likewise.
23154 * string/strcpy.c: Do not include <bp-checks.h>.
23155 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23156
f1d70dad
RM
231572013-02-07 Roland McGrath <roland@hack.frob.com>
23158
23159 * nscd/nscd-client.h (__nscd_drop_map_ref):
23160 Add __attribute__ ((unused)).
23161 * nis/nss-nisplus.h (niserr2nss): Likewise.
23162
23163 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23164 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23165
23166 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23167 Remove inline keyword.
23168 * include/rounding-mode.h (round_away): Likewise.
23169 * libio/wfileops.c (adjust_wide_data): Likewise.
23170 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23171 (__m128i_strloadu_tolower): Likewise.
23172 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23173 (__m128i_strloadu_tolower): Likewise.
23174 * time/mktime.c (ydhms_diff): Likewise.
23175 * locale/elem-hash.h (elem_hash): Likewise.
23176 * locale/setlocale.c (setdata): Likewise.
23177 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23178 (re_string_wchar_at): Likewise.
23179 (bitset_not, bitset_merge, bitset_mask): Likewise.
23180 [!(__GNUC__ > 3)] (inline): Remove macro.
23181 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23182 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23183 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23184 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23185 * string/memcmp.c (memcmp_bytes): Likewise.
23186 * locale/programs/locarchive.c (compute_hashval): Likewise.
23187 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23188 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23189 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23190 * nss/getent.c (print_rpc, print_protocols): Likewise.
23191 (print_passwd, print_group, print_aliases): Likewise.
23192 * nis/nss-nisplus.h (niserr2nss): Likewise.
23193 * nscd/connections.c (restart_p): Likewise.
23194 Change return type to bool.
23195
eab55bfb
RM
231962013-02-05 Roland McGrath <roland@hack.frob.com>
23197
7bd642f5
RM
23198 * Makeconfig (all-Depend-files): Add existing
23199 $(sorted-subdirs:=/Depend) files.
23200 (all-subdirs): Remove nss.
23201 * sysdeps/unix/inet/Subdirs: Add it here instead.
23202 * hesiod/Depend: New file.
23203
573c29b2
RM
23204 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23205 instead of calling alloca.
23206
b2e25af0
RM
23207 * io/lseek.c (__lseek): Rename to __libc_lseek.
23208 Define __lseek as an alias.
23209
eab55bfb
RM
23210 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23211
9a0d1941
CD
232122013-02-04 Carlos O'Donell <carlos@redhat.com>
23213
23214 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23215 else clause and remove check for non-standard endianness.
23216
b83bbec4
DM
232172013-02-04 David S. Miller <davem@davemloft.net>
23218
23219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23220
6277fdab
JM
232212013-02-04 Joseph Myers <joseph@codesourcery.com>
23222
23223 [BZ #13550]
23224 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23225 (__ubp_memchr): Remove prototype.
23226 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23227 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23228 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23229 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23230 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23231 Remove alias.
23232 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23233 (__ubp_memchr): Likewise.
23234 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23235 (__ubp_memchr): Likewise.
23236 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23237 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23238 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23239 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23240 CHECK_STRING.
23241 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23242 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23243 (__getcwd): Do not use CHECK_STRING.
23244 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23245 <bp-checks.h>.
23246 (__real_chown): Do not use CHECK_STRING.
23247 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23248 <bp-checks.h>.
23249 (fchownat): Do not use CHECK_STRING.
23250 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23251 CHECK_STRING.
23252 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23253 <bp-checks.h>.
23254 (__lchown): Do not use CHECK_STRING.
23255 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23256 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23257 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23258 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23260 include <bp-checks.h>.
23261 (truncate64): Do not use CHECK_STRING.
23262 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23263 <bp-checks.h>.
23264 (__real_chown): Do not use CHECK_STRING.
23265 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23266 <bp-checks.h>.
23267 (__lchown): Do not use CHECK_STRING.
23268 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23269 <bp-checks.h>.
23270 (__chown): Do not use CHECK_STRING.
23271 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23272 <bp-checks.h>.
23273 (truncate64): Do not use CHECK_STRING.
23274 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23275 Likewise.
23276 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23277 (__xmknod): Do not use CHECK_STRING.
23278 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23279 <bp-checks.h>.
23280 (__xmknodat): Do not use CHECK_STRING.
23281 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23282 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23283
903ae060
AS
232842013-02-04 Andreas Schwab <schwab@suse.de>
23285
23286 [BZ #14142]
23287 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23288 * include/netdb.h: Likewise for h_errno.
23289 * elf/tst-stackguard1.c: Include <tls.h>.
23290
542f9466
JK
232912013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23292
23293 * elf/link.h (struct link_map): Extend the l_addr comment.
23294 * include/link.h (struct link_map): Likewise.
23295
e782a927
JM
232962013-02-01 Joseph Myers <joseph@codesourcery.com>
23297
23298 [BZ #13550]
23299 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23300 (BOUNDED_1): Remove macro.
23301 * debug/backtrace.c: Don't include <bp-checks.h>.
23302 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23303 (__backtrace): Likewise.
23304 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23305 <bp-checks.h>.
23306 (__backtrace): Don't use BOUNDED_1.
23307 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23308 <bp-checks.h>.
23309 (__backtrace): Don't use BOUNDED_1.
23310 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23311 (__backtrace): Don't use BOUNDED_1.
23312 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23313 (shmat): Don't use BOUNDED_N.
23314
8cf28c5e
JM
233152013-01-31 Joseph Myers <joseph@codesourcery.com>
23316
3a7ac8a0
JM
23317 [BZ #13550]
23318 * sysdeps/generic/bp-start.h: Remove file.
23319 * csu/libc-start.c: Don't include <bp-start.h>.
23320 (LIBC_START_MAIN): Set up __environ directly instead of using
23321 INIT_ARGV_and_ENVIRON.
23322 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23323 <bp-start.h>.
23324
f3499f95
JM
23325 [BZ #13550]
23326 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23327 definitions.
23328 (CHECK_FCNTL): Likewise.
23329 (CHECK_N_PAGES): Likewise.
23330
32a45bea
JM
23331 [BZ #13550]
23332 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23333 definitions.
23334 (CHECK_SIGSET_NULL_OK): Likewise.
23335 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23336 <bp-checks.h>.
23337 (sigpending): Don't use CHECK_SIGSET.
23338 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23339 <bp-checks.h>.
23340 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23341 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23342 <bp-checks.h>.
23343 (do_sigsuspend): Don't use CHECK_SIGSET.
23344 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23345 use CHECK_SIGSET.
23346 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23347 (do_sigwait): Don't use CHECK_SIGSET.
23348 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23349 use CHECK_SIGSET.
23350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23351 include <bp-checks.h>.
23352 (sigpending): Don't use CHECK_SIGSET.
23353 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23354 include <bp-checks.h>.
23355 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23356 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23357 <bp-checks.h>.
23358 (sigpending): Don't use CHECK_SIGSET.
23359 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23360 <bp-checks.h>.
23361 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23362
2e8a5c8c
JM
23363 [BZ #13550]
23364 * sysdeps/generic/bp-semctl.h: Remove file.
23365 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23366 <bp-checks.h> and <bp-semctl.h>.
23367 (__old_semctl): Don't use CHECK_SEMCTL.
23368 (__new_semctl): Likewise.
23369 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23370 and <bp-semctl.h>.
23371 (__old_semctl): Don't use CHECK_SEMCTL.
23372 (__new_semctl): Likewise.
23373 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23374 <bp-checks.h> and <bp-semctl.h>.
23375 (__old_semctl): Don't use CHECK_SEMCTL.
23376 (__new_semctl): Likewise.
23377 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23378 <bp-checks.h> and <bp-semctl.h>.
23379 (semctl): Don't use CHECK_SEMCTL.
23380
c2d54929
JM
23381 [BZ #13550]
23382 * Makerules (elide-bp-thunks): Remove variable.
23383 (elide-routines.oS): Don't use $(elide-bp-thunks).
23384 (elide-routines.os): Likewise.
23385 (elide-routines.o): Likewise.
23386 (elide-routines.op): Likewise.
23387 (elide-routines.og): Likewise.
23388 (objects): Don't use $(bp-thunks).
23389 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23390 include.
23391 (common-generated): Do not add s-proto-bp.d.
23392 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23393 (int): Likewise.
23394 (typ): Likewise.
23395 Do not generate makefile rules for bounded-pointer thunks.
23396 * sysdeps/generic/bp-thunks.h: Remove file.
23397 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23398 * sysdeps/unix/s-proto-bp.S: Likewise.
23399
8cf28c5e
JM
23400 [BZ #15062]
23401 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23402 parts of result separately when argument is not close to line from
23403 -i to i and one part of argument is small.
23404 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23405 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23406 * math/libm-test.inc (cacos_test): Add more tests.
23407 (casin_test): Likewise.
23408 (casinh_test): Likewise.
23409 * sysdeps/i386/fpu/libm-test-ulps: Update.
23410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23411
c4e33b8d
DM
234122013-01-31 David S. Miller <davem@davemloft.net>
23413
23414 * po/de.po: Update from translation team.
23415
3b60b421
MK
234162013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23417
23418 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23419
bb931195
TS
234202013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23421
b5a5da23
TS
23422 * configure.in (_AC_PROG_CC_C89): New definition.
23423 * configure: Regenerate.
23424
bb931195
TS
23425 * configure.in (AC_PROG_CPP): New definition.
23426 * configure: Regenerate.
23427
8c53a12c
JM
234282013-01-23 Joseph Myers <joseph@codesourcery.com>
23429
23430 * debug/tst-backtrace.h: New file.
23431 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23432 (ret): Remove variable.
23433 (x): Likewise.
23434 (FAIL): Remove macro.
23435 (NO_INLINE): Likewise.
23436 (fn1): Use match function instead of strstr.
23437 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23438 (ret): Remove variable.
23439 (x): Likewise.
23440 (FAIL): Remove macro.
23441 (NO_INLINE): Likewise.
23442 (fn): Use match function instead of strstr.
23443 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23444 (ret): Remove variable.
23445 (x): Likewise.
23446 (FAIL): Remove macro.
23447 (NO_INLINE): Likewise.
23448 (handle_signal): Use match function instead of strstr.
23449 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23450 (ret): Remove variable.
23451 (x): Likewise.
23452 (FAIL): Remove macro.
23453 (NO_INLINE): Likewise.
23454 (handle_signal): Use match function instead of strstr.
23455
4858fa2a
RM
234562013-01-23 Roland McGrath <roland@hack.frob.com>
23457
23458 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23459
bae8e7f5
DM
234602013-01-23 David S. Miller <davem@davemloft.net>
23461
23462 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23463 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23464 argument of CAS if possible.
23465 * sysdeps/sparc/sparc64/bits/atomic.h
23466 (__arch_compare_and_exchange_val_32_acq): Likewise.
23467 (__arch_compare_and_exchange_val_64_acq): Likewise.
23468
9cbbc4ae
PT
234692013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23470
23471 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23472 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23473 Include <limits.h>.
67b3f58c 23474 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23475
5655a0b5
AC
234762013-01-23 Adam Conrad <adconrad@0c3.net>
23477
23478 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23479 (LDFLAGS-tst-array5): Likewise.
23480
052aff95
JM
234812013-01-23 Joseph Myers <joseph@codesourcery.com>
23482
23483 [BZ #15036]
23484 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23485 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23486 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23487 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23488
7c1e01aa
DM
234892013-01-21 David S. Miller <davem@davemloft.net>
23490
23491 * sysdeps/sparc/backtrace.c: New file.
23492 * sysdeps/sparc/sparc32/backtrace.h: New file.
23493 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23494 * sysdeps/sparc/sparc64/backtrace.h: New file.
23495 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23496 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23497 -funwind-tables.
23498
ab087e0a
AS
234992013-01-21 Andreas Schwab <schwab@suse.de>
23500
23501 [BZ #15020]
23502 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23503 closed its stdout.
23504
ed689c2f
AS
235052013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23506
23507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23508 "mpa2.h".
23509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23510
31d470ac
JM
235112013-01-18 Joseph Myers <joseph@codesourcery.com>
23512 Mark Mitchell <mark@codesourcery.com>
23513 Tom de Vries <tom@codesourcery.com>
23514 Paul Pluzhnikov <ppluzhnikov@google.com>
23515
23516 * debug/tst-backtrace2.c: New file.
23517 * debug/tst-backtrace3.c: Likewise.
23518 * debug/tst-backtrace4.c: Likewise.
23519 * debug/tst-backtrace5.c: Likewise.
23520 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23521 (CFLAGS-tst-backtrace3.c): Likewise.
23522 (CFLAGS-tst-backtrace4.c): Likewise.
23523 (CFLAGS-tst-backtrace5.c): Likewise.
23524 (LDFLAGS-tst-backtrace2): Likewise.
23525 (LDFLAGS-tst-backtrace3): Likewise.
23526 (LDFLAGS-tst-backtrace4): Likewise.
23527 (LDFLAGS-tst-backtrace5): Likewise.
23528 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23529 tst-backtrace4 and tst-backtrace5.
23530
90567f30 235312013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23532 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23533
23534 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23535 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23536 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23537 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23539 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23540 "+r" and remove output regs list as redundant. Add explicit inline
23541 asm to specify register of return val to work around compiler codegen
23542 bug. Remove (int) cast on return value. Add return type parameter to
23543 use in macro so that this macro does not truncate return value for
23544 64-bit values.
23545 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23546 pass to INTERNAL_VSYSCALL_NCS.
23547 (INLINE_VSYSCALL): Add 'long int' as return type to
23548 INTERNAL_VSYSCALL_NCS macro invocation.
23549 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23550 INTERNAL_VSYSCALL_NCS macro invocation.
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23552
d3b9ea61
SP
235532013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23554
0b57daeb
SP
23555 [BZ #14496]
23556 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23557 Fix application of SIMD FP exception mask.
23558
caa99d06
SP
23559 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23560 mp_no from a power of two.
23561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23562 __mpexp_twomm1. Use __pow_mp.
23563
d3b9ea61
SP
23564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23565 multiplication.
23566
1dbaee3c
DM
235672013-01-17 David S. Miller <davem@davemloft.net>
23568
23569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23570
728d7b43
JM
235712013-01-17 Joseph Myers <joseph@codesourcery.com>
23572
23573 [BZ #15023]
23574 * include/complex.h: Condition contents on [!_COMPLEX_H].
23575 (__kernel_casinhf): New prototype.
23576 (__kernel_casinh): Likewise.
23577 (__kernel_casinhl): Likewise.
23578 * math/Makefile (libm_calls): Add k_casinh.
23579 * math/k_casinh.c: New file.
23580 * math/k_casinhf.c: Likewise.
23581 * math/k_casinhl.c: Likewise.
23582 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23583 finite nonzero arguments.
23584 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23585 finite nonzero arguments.
23586 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23587 finite nonzero arguments.
23588 * math/s_casinh.c: Do not include <float.h>.
23589 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23590 * math/s_casinhf.c: Do not include <float.h>.
23591 (__casinhf): Move code for finite nonzero arguments to
23592 k_casinhf.c.
23593 * math/s_casinhl.c: Do not include <float.h>.
23594 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23595 redefine.
23596 (__casinhl): Move code for finite nonzero arguments to
23597 k_casinhl.c.
23598 * math/libm-test.inc (cacos_test): Add more tests.
23599 * sysdeps/i386/fpu/libm-test-ulps: Update.
23600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23601
2a26ef3a
PT
236022013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23603
23604 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23605 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23606 [!HAVE_MREMAP]: Remove [defined linux] case.
23607 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23608
a897655d
SP
236092013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23610
23611 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23612
881ebe89 236132013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
23614
23615 * elf/elf.h (R_386_SIZE32): New relocation.
23616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23617 R_386_SIZE32.
23618 (elf_machine_rela): Likewise.
23619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23620 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23621
59981e9b
JM
236222013-01-17 Joseph Myers <joseph@codesourcery.com>
23623
23624 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23625 (FP_FAST_FMA): Do not define.
23626 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23627 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23628 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23629 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23630 !_SOFT_FLOAT]: Likewise.
23631 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23632 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23633 value.
23634 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23635 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23636 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23637 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23638 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23639 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23640 file.
23641
cfa8054f
AS
236422013-01-16 Andreas Schwab <schwab@suse.de>
23643
23644 [BZ #14327]
23645 * include/stdlib.h (__mktemp): Add declaration.
23646 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23647 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23648
dd930cc5
SP
236492013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23650
881ebe89
SP
23651 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23652 definitions.
23653 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23654 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23655 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23656 definitions here.
23657 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23658 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23659 definitions.
23660 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23661 and ONE.
23662 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23663 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23664 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23665 definitions.
23666 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23667 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23668 definitions.
23669 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 23670
dd930cc5
SP
23671 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23672
c19a9f89
DM
236732013-01-15 David S. Miller <davem@davemloft.net>
23674
1aa61767
DM
23675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23676 trunc{,f} to libm-sysdep_routes.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23679 file.
23680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23682 file.
23683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23684 file.
23685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23687 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23688 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23689 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23690 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23691 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23692 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23693
c42d5e98
DM
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23695 nearbyint{,f} to libm-sysdep_routes.
23696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23698 New file.
23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23700 file.
23701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23702 New file.
23703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23704 file.
23705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23708 file.
23709 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23710 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23711 file.
23712 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23713 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23714 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23715
c19a9f89
DM
23716 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23717 libc_feholdexcept and libc_fesetenv.
23718
357679d2
MF
237192013-01-15 Mike Frysinger <vapier@gentoo.org>
23720
23721 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23722
65a82e3d
DM
237232013-01-14 David S. Miller <davem@davemloft.net>
23724
8b954ab9
DM
23725 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23726 (SPARC_ASM_VIS2_IFUNC): Likewise.
23727 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23729 use of 'siam' instruction.
23730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23731 Likewise.
23732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23733 Likewise.
23734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23735 Likewise.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23741 file.
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23743 file.
23744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23745 file.
23746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23747 file.
23748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23753 new VIS2 routines.
23754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23757 Likewise.
23758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23763 routines to libm-sysdep_routines.
23764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23765
65a82e3d
DM
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23767 fdim/fdimf to libm-sysdep_routines.
23768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23769 file.
23770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23772 file.
23773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23776 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23777 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23778 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23779 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23780
e34ab705
SP
237812013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23782
2a91b573
SP
23783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23784 to optimize copies.
23785
1066a534
SP
23786 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23789
e34ab705
SP
23790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23791 local variable MPTWO.
23792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23793 Likewise.
23794
aba5e596
MF
237952013-01-13 Mike Frysinger <vapier@gentoo.org>
23796
23797 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23798 GLOB_NOESCAPE.
23799
e557e9e5
MF
238002013-01-13 Mike Frysinger <vapier@gentoo.org>
23801
23802 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23803
0428cec9
MF
238042013-01-13 Mike Frysinger <vapier@gentoo.org>
23805
23806 * manual/pattern.texi (glob_t): Document gl_flags.
23807 (glob64_t): Likewise.
23808
8794a964
DM
238092013-01-11 David S. Miller <davem@davemloft.net>
23810
66438c3f
RM
23811 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23812 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23813 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
23814 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23815 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23816 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23817 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23818 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23819 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23820 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23821 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23822 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23823 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23824
4ae4244d
DM
23825 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23826 sparc V9 rather than using V8 code.
23827 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23828 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23829
8794a964
DM
23830 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23831 Move to...
23832 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23833 Here.
23834
6270516e
RM
238352013-01-11 Roland McGrath <roland@hack.frob.com>
23836
23837 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23838 not in the main loop.
23839 * configure: Regenerated.
23840
6a57d931
JM
238412013-01-11 Joseph Myers <joseph@codesourcery.com>
23842
23843 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23844 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23845 to just #else.
23846 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23847 [!__GLIBC_HAVE_LONG_LONG] case.
23848 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23849 condition to just #else.
23850 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23851 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23852 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23853 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23854 unconditional.
23855 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23856 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23857 #elif condition to just #else.
23858 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23859 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23860 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23861 #elif condition to just #else.
23862
0e8529e9
SE
238632013-01-11 Steve Ellcey <sellcey@mips.com>
23864
23865 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23866 (EF_MIPS_ARCH_64): Fix value.
23867 (EF_MIPS_ARCH_32R2): New.
23868 (EF_MIPS_ARCH_64R2): New.
23869
740b3dbe
L
238702013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * Makeconfig (+link-pie-before-libc): New.
23873 (+link-pie-after-libc): Likewise.
23874 (+link-pie-tests): Likewise.
23875 (+link-pie): Rewritten.
23876 (link-before-libc): Remove $(config-LDFLAGS).
23877 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23878 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23879 (config-LDFLAGS): Renamed to ...
23880 (rtld-LDFLAGS): This.
23881 (rtld-tests-LDFLAGS): New macro.
23882 (link-libc-rpath-link): Likewise.
23883 (link-libc-tests-rpath-link): Likewise.
23884 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23885 (link-libc): Prepand $(link-libc-rpath-link).
23886 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23887 (test-program-prefix): New macro.
23888 (test-via-rtld-prefix): Likewise.
23889 (test-program-cmd): Likewise.
23890 (host-test-program-cmd): Likewise.
23891 * Makefile ($(common-objpfx)testrun.sh): Replace
23892 $(run-program-prefix) with $(test-program-prefix).
23893 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23894 $(rtld-LDFLAGS).
23895 ($(common-objpfx)shlib.lds): Likewise.
23896 (build-module-helper): Likewise.
23897 ($(common-objpfx)format.lds): Likewise.
23898 * Rules (binaries-pie-tests): New.
23899 (binaries-pie-notests): Likewise.
23900 (binaries-pie): Rewritten.
23901 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23902 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23903 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23904 (make-test-out): Replace $(host-built-program-cmd) with
23905 $(host-test-program-cmd).
23906 * config.make.in (build-hardcoded-path-in-tests): New variable.
23907 * configure.in (--enable-hardcoded-path-in-tests): New configure
23908 option.
23909 (hardcoded_path_in_tests): New AC_SUBST.
23910 * configure: Regenerated.
23911 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23912 $(built-program-cmd) with $(test-program-cmd).
23913 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23914 (test_program_cmd): This.
23915 * elf/Makefile ($(objpfx)order.out): Run test with
23916 $(test-program-prefix).
23917 ($(objpfx)order2.out): Likewise.
23918 ($(objpfx)tst-initorder.out): Likewise.
23919 ($(objpfx)tst-initorder2.out): Likewise.
23920 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23921 $(test-program-cmd).
23922 ($(objpfx)tst-array1-static.out): Likewise.
23923 ($(objpfx)tst-array2.out): Likewise.
23924 ($(objpfx)tst-array3.out): Likewise.
23925 ($(objpfx)tst-array4.out): Likewise.
23926 ($(objpfx)tst-array5.out): Likewise.
23927 ($(objpfx)tst-array5-static.out): Likewise.
23928 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23929 $(test-program-cmd).
23930 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23931 $(run-program-prefix) with $(test-program-prefix).
23932 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23933 (test_program_prefix): This.
23934 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23935 $(run-program-prefix) with $(test-program-prefix).
23936 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23937 (test_program_prefix): This.
23938 * iconvdata/tst-tables.sh: Likewise.
23939 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23940 $(run-program-prefix) with $(test-program-prefix).
23941 ($(objpfx)tst-translit.out): Likewise.
23942 ($(objpfx)tst-gettext2.out): Likewise.
23943 ($(objpfx)tst-gettext4.out): Likewise.
23944 ($(objpfx)tst-gettext6.out): Likewise.
23945 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23946 (test_program_prefix): This.
23947 * intl/tst-gettext2.sh: Likewise.
23948 * intl/tst-gettext4.sh Likewise.
23949 * intl/tst-gettext6.sh: Likewise.
23950 * intl/tst-translit.sh: Likewise.
23951 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23952 with $(test-program-cmd).
23953 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23954 $(run-program-prefix) with $(test-program-prefix).
23955 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23956 (test_program_prefix): This.
23957 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23958 $(run-program-prefix) with $(test-program-prefix).
23959 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23960 (test_program_prefix): This.
23961 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23962 * posix/Makefile ($(objpfx)globtest.out): Replace
23963 $(run-via-rtld-prefix) and $(test-wrapper) with
23964 $(test-program-prefix) and $(test-via-rtld-prefix).
23965 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23966 $(test-program-prefix).
23967 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23968 $(host-test-program-cmd).
23969 (tst-spawn-ARGS): Likewise.
23970 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23971 $(test-program-prefix).
23972 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23973 (test_via_rtld_prefix): This.
23974 (test_wrapper): Renamed to ...
23975 (test_program_prefix): This.
23976 (run_program_prefix): Replaced by test_program_prefix.
23977 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23978 (test_program_prefix): This.
23979 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23980 with $(host-test-program-cmd).
23981 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23982 $(run-program-prefix) with $(test-program-prefix).
23983 ($(objpfx)tst-printf.out): Likewise.
23984 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23985 $(test-program-cmd).
23986 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23987 (test_program_prefix): This.
23988 * stdio-common/tst-unbputc.sh: Likewise.
23989 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23990 $(run-program-prefix) with $(test-program-prefix).
23991 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23992 (test_program_prefix): This.
23993 * string/Makefile ($(objpfx)tst-svc.out): Replace
23994 $(built-program-cmd) with $(test-program-cmd).
23995
c6fe55cf
AJ
239962013-01-11 Andreas Jaeger <aj@suse.de>
23997
23998 [BZ #15003]
23999 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24000 value. Sync with Linux 3.7.
24001
9e6919c8
DM
240022013-01-10 David S. Miller <davem@davemloft.net>
24003
24004 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24005 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24006 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24007
1c9f1a02
RM
240082013-01-10 Roland McGrath <roland@hack.frob.com>
24009
24010 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24011 never set.
24012 * configure: Regenerated.
24013
b9de2dde
DM
240142013-01-10 David S. Miller <davem@davemloft.net>
24015
24016 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24017 sparc V9 rather than using V8 code.
24018 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24019 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24020
e7f68ef4
RM
240212013-01-10 Roland McGrath <roland@hack.frob.com>
24022
24023 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24024 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24025 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24026 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24027 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24028 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24029 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24030 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24031 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24032 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24033 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24034 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24035 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24036 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24037 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24038 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24039 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24040 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24041 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24042 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24043 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24044 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24045 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24046 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24047 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24048 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24049 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24050
5a47cc9c
DM
240512013-01-10 David S. Miller <davem@davemloft.net>
24052
24053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24054
4cf8f209
L
240552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24056
24057 * posix/Makefile (tests-static): New variable.
24058 (tests): Add $(tests-static).
24059 (tst-exec-static-ARGS): New variable.
24060 (tst-spawn-static-ARGS): Likewise.
24061 * posix/tst-exec-static.c: New file.
24062 * posix/tst-spawn-static.c: Likewise.
24063 * posix/tst-exec.c: Support run directly.
24064 * posix/tst-spawn.c: Likewise.
24065
fed0faa1
JM
240662013-01-10 Joseph Myers <joseph@codesourcery.com>
24067
828beb13
JM
24068 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24069 long.
24070 * math/bits/mathcalls.h (llrint): Likewise.
24071 (llround): Likewise.
24072 * stdlib/stdlib.h (struct drand48_data): Likewise.
24073 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24074 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24075 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24076 Likewise.
24077 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24078 Likewise.
24079 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24080 (elf_greg_t): Likewise.
24081 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24082 (__jmp_buf): Likewise.
24083 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24084 definitions.
24085 (llrint): Likewise, for all definitions.
24086 (llrintl): Likewise.
24087
fed0faa1
JM
24088 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24089 Remove [__GNUC__] condition.
24090 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24091 condition to just [__USE_ISOC99].
24092 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24093
1a20cb20
L
240942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24095
24096 [BZ #14200]
24097 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24098 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24099 defined.
24100 (_POSIX_V6_ILP32_OFF32): Likewise.
24101 (_XBS5_ILP32_OFF32): Likewise.
24102 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24103 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24104
751b85f7
SP
241052013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24106
7490eb81
SP
24107 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24108
751b85f7
SP
24109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24110 doubles __mpexp_twomm1. Adjust usage.
24111 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24112 Remove.
24113
988197f0
AS
241142013-01-10 Andreas Schwab <schwab@suse.de>
24115
24116 [BZ #14964]
24117 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24118 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24119
e83d7298
DM
241202013-01-09 David S. Miller <davem@davemloft.net>
24121
034ed64b 24122 [BZ #15003]
57f41c40
AS
24123 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24124 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24125 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24126 (TCP_FASTOPEN): Define.
e83d7298
DM
24127 (tcp_repair_opt): New structure.
24128 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24129 enum values.
57f41c40
AS
24130 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24131 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24132 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24133 (tcp_cookie_transactions): New structure.
24134
d5e0b9bd
AB
241352013-01-09 Anton Blanchard <anton@samba.org>
24136
24137 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24138 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24139 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24140 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24141
0c07e3ea
JM
241422013-01-09 Joseph Myers <joseph@codesourcery.com>
24143
24144 * include/features.h (__USE_ANSI): Remove.
24145
232f7002
RM
241462013-01-09 Roland McGrath <roland@hack.frob.com>
24147
ad98e30c
RM
24148 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24149
232f7002
RM
24150 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24151
950c99ca
SP
241522013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24153
b5792741
SP
24154 * sysdeps/s390/fpu/libm-test-ulps: Update.
24155
47cf2278
SP
24156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24157
950c99ca
SP
24158 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24159 (__acr): Likewise.
24160 (__cpy): Likewise.
24161 (norm): Likewise.
24162 (denorm): Likewise.
24163 (__mp_dbl): Likewise.
24164 (__dbl_mp): Likewise.
24165 (add_magnitudes): Likewise.
24166 (sub_magnitudes): Likewise.
24167 (__add): Likewise.
24168 (__sub): Likewise.
24169 (__mul): Likewise.
24170 (__inv): Likewise.
24171 (__dvd): Likewise.
24172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24173 (__acr): Likewise.
24174 (__cpy): Likewise.
24175 (norm): Likewise.
24176 (denorm): Likewise.
24177 (__mp_dbl): Likewise.
24178 (__dbl_mp): Likewise.
24179 (add_magnitudes): Likewise.
24180 (sub_magnitudes): Likewise.
24181 (__add): Likewise.
24182 (__sub): Likewise.
24183 (__mul): Likewise.
24184 (__inv): Likewise.
24185 (__dvd): Likewise.
24186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24187 (__acr): Likewise.
24188 (__cpy): Likewise.
24189 (norm): Likewise.
24190 (denorm): Likewise.
24191 (__mp_dbl): Likewise.
24192 (__dbl_mp): Likewise.
24193 (add_magnitudes): Likewise.
24194 (sub_magnitudes): Likewise.
24195 (__add): Likewise.
24196 (__sub): Likewise.
24197 (__mul): Likewise.
24198 (__inv): Likewise.
24199 (__dvd): Likewise.
24200
eede9df9
JM
242012013-01-08 Joseph Myers <joseph@codesourcery.com>
24202
24203 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24204 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24205 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24206 2 && __USE_EXTERN_INLINES]: Likewise.
24207
c40ea3d9
AJ
242082013-01-08 Andreas Jaeger <aj@suse.de>
24209
24210 [BZ# 14985]
24211 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24212 Remove.
24213 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24214 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24215
2ccdea26
AB
242162013-01-07 Anton Blanchard <anton@samba.org>
24217
24218 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24219 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24220 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24221 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24222 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24223 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24224 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24225 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24227 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24228 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24229 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24230 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24231 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24232 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24234 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24235 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24236 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24237 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24238 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24239 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24241 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24242 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24243 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24244 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24245 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24247 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24248 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24250 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24251 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24252 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24253 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24254 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24255 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24256 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24257 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24258 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24260 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24261
a9708fed
JM
242622013-01-07 Joseph Myers <joseph@codesourcery.com>
24263
375607b9
JM
24264 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24265 (__MALLOC_PMT): Likewise.
24266 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24267 [__GNUC__], only on [_LIBC].
24268 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24269 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24270 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24271 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24272 forward declaration.
24273 (realloc_hook_ini): Likewise.
24274 (memalign_hook_ini): Likewise.
24275 (__libc_memalign): Do not use __MALLOC_PMT in variable
24276 declaration.
24277 (__libc_valloc): Likewise.
24278 (__libc_pvalloc): Likewise.
24279 (__libc_calloc): Likewise.
24280 (__posix_memalign): Likewise.
24281
a9708fed
JM
24282 [BZ #14996]
24283 * math/s_casinh.c: Include <float.h>.
24284 (__casinh): Do not do computation with squaring and square root
24285 for large arguments.
24286 * math/s_casinhf.c: Include <float.h>.
24287 (__casinhf): Do not do computation with squaring and square root
24288 for large arguments.
24289 * math/s_casinhl.c: Include <float.h>.
24290 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24291 (__casinhl): Do not do computation with squaring and square root
24292 for large arguments.
24293 * math/libm-test.inc (casin_test): Add more tests.
24294 (casinh_test): Likewise.
24295 * sysdeps/i386/fpu/libm-test-ulps: Update.
24296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24297
afec409a
L
242982013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24301 (__x86_64_raw_data_cache_size): Likewise.
24302 (__x86_64_data_cache_size_half): Likewise.
24303 (__x86_64_raw_data_cache_size_half): Likewise.
24304 (__x86_64_shared_cache_size): Likewise.
24305 (__x86_64_raw_shared_cache_size): Likewise.
24306 (__x86_64_shared_cache_size_half): Likewise.
24307 (__x86_64_raw_shared_cache_size_half): Likewise.
24308 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24309 to ...
24310 (__x86_data_cache_size): This.
24311 (__x86_64_raw_data_cache_size): Renamed to ...
24312 (__x86_raw_data_cache_size): This.
24313 (__x86_64_data_cache_size_half): Renamed to ...
24314 (__x86_data_cache_size_half): This.
24315 (__x86_64_raw_data_cache_size_half): Renamed to ...
24316 (__x86_raw_data_cache_size_half): This.
24317 (__x86_64_shared_cache_size): Renamed to ...
24318 (__x86_shared_cache_size): This.
24319 (__x86_64_raw_shared_cache_size): Renamed to ...
24320 (__x86_raw_shared_cache_size): This.
24321 (__x86_64_shared_cache_size_half): Renamed to ...
24322 (__x86_shared_cache_size_half): This.
24323 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24324 (__x86_raw_shared_cache_size_half): This.
24325 * sysdeps/x86_64/memcpy.S: Updated.
24326 * sysdeps/x86_64/memset.S: Likewise.
24327 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24328 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24330
0b3986d0
DM
243312013-01-04 David S. Miller <davem@davemloft.net>
24332
24333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24334
e47686e9
AS
243352013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24336
d643bac1
AS
24337 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24338 1 to avoid redefinition warning.
24339 (__USE_GNU): Don't define.
24340 (init_signaling_nan): Protoize.
24341
e47686e9
AS
24342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24343
b18decba
SP
243442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24345
fffb407f
SP
24346 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24348 (__cpymn): Likewise.
24349 (norm): Remove commented code.
24350 (denorm): Likewise.
24351 (__mp_dbl): Likewise.
24352 (__inv): Likewise.
24353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24354 (__cpymn): Likewise.
24355 (norm): Remove commented code.
24356 (denorm): Likewise.
24357 (__mp_dbl): Likewise.
24358 (__inv): Likewise.
24359
b18decba
SP
24360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24361 mp_no value for 1.0 and 2.0.
24362 (norm): Use RADIXI instead of radixi.d.
24363 (denorm): Likewise.
24364 (__mul): Use 0.0 instead of zero.d.
24365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24366 mp_no value for 1.0 and 2.0.
24367 (norm): Use RADIXI instead of radixi.d.
24368 (denorm): Likewise.
24369 (__mul): Use 0.0 instead of zero.d.
24370
cdc1c96f
JM
243712013-01-04 Joseph Myers <joseph@codesourcery.com>
24372
24373 [BZ #14994]
24374 * math/s_casinh.c (__casinh): Reduce finite argument to first
24375 quadrant then set signs of results at the end.
24376 * math/s_casinhf.c (__casinhf): Likewise.
24377 * math/s_casinhl.c (__casinhl): Likewise.
24378 * math/libm-test.inc (casin_test): Add more tests.
24379 (casinh_test): Likewise.
24380 * sysdeps/i386/fpu/libm-test-ulps: Update.
24381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24382
302913e1
SP
243832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24384
6420d207
SP
24385 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24386
a9e48ab4
SP
24387 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24388
b7837264
SP
24389 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24390 declarations.
24391 (denorm): Likewise.
24392 (__mp_dbl): Likewise.
24393 (__inv): Likewise.
24394
f8af25d2
SP
24395 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24396 and adjust the header comment.
24397
302913e1
SP
24398 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24399 variable name from declaration.
24400
5d7dd1ca
L
244012013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24402
24403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24404 Initialize COMMON_CPUID_INDEX_7 element.
24405 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24406 (CPUID_RTM): Likewise.
24407 (HAS_RTM): Likewise.
24408 (COMMON_CPUID_INDEX_7): New enum.
24409
2f5f40f4
AS
244102013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24411
24412 [BZ #14981]
24413 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24414 size is zero, record memory as freed.
24415
4056f4a0
AJ
244162013-01-03 Andreas Jaeger <aj@suse.de>
24417
24418 * po/ia.po: Add new Interlingua translation.
24419
ab15736f 244202012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24421
24422 * locale/programs/localedef.c: Fix description of '--posix' flag.
24423
568035b7
JM
244242013-01-02 Joseph Myers <joseph@codesourcery.com>
24425
e6898b8d
JM
24426 * NEWS: Update dates in second copyright notice.
24427 * README: Update copyright dates in example.
24428 * manual/libc.texinfo: Update copyright dates.
24429 * scripts/test-installation.pl: Update copyright date in --version
24430 output.
24431
0e2f9562
JM
24432 * hurd/ctty-input.c: Fix copyright notice formatting.
24433 * hurd/ctty-output.c: Likewise.
24434 * hurd/dtable.c: Likewise.
24435 * hurd/hurd-raise.c: Likewise.
24436 * hurd/hurdprio.c: Likewise.
24437 * hurd/msgportdemux.c: Likewise.
24438 * misc/sys/file.h: Likewise.
24439 * misc/sys/ioctl.h: Likewise.
24440 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24441 * sysdeps/mach/hurd/chdir.c: Likewise.
24442 * sysdeps/mach/hurd/fchdir.c: Likewise.
24443 * sysdeps/mach/hurd/rename.c: Likewise.
24444 * sysdeps/mach/hurd/rmdir.c: Likewise.
24445 * sysdeps/mach/hurd/seekdir.c: Likewise.
24446 * sysdeps/mach/hurd/setsid.c: Likewise.
24447 * sysdeps/posix/wait3.c: Likewise.
24448
568035b7
JM
24449 * All files with FSF copyright notices: Update copyright dates
24450 using scripts/update-copyrights.
24451 * intl/plural.c: Regenerated.
24452 * locale/programs/charmap-kw.h: Likewise.
24453 * locale/programs/locfile-kw.h: Likewise.
24454
da08f647
SP
244552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24456
0f5477af
SP
24457 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24458 four values.
24459
44e0d4c2
SP
24460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24461 calculation loop and add branch prediction.
24462
4d55b4e5
SP
24463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24464 check access beyond bounds of m1np.
24465
da08f647
SP
24466 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24467 MPTWO.
24468 (__inv): Remove local variable MPTWO to use the global
24469 constant.
24470 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24471 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24472 variable MPTWO.
24473 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24474 MP3HALFS static const.
24475
8e051029
DM
244762013-01-01 David S. Miller <davem@davemloft.net>
24477
24478 * po/ca.po: Update from translation team.
24479
f4cf5f2d
JM
244802013-01-01 Joseph Myers <joseph@codesourcery.com>
24481
24482 * scripts/update-copyrights: New file.
24483 * Makeconfig: Reformat copyright notice.
24484 * ctype/ctype.h: Likewise.
24485 * debug/swprintf_chk.c: Likewise.
24486 * elf/dl-cache.c: Likewise.
24487 * elf/dl-debug.c: Likewise.
24488 * elf/dl-object.c: Likewise.
24489 * grp/initgroups.c: Likewise.
24490 * hurd/Makefile: Likewise.
24491 * hurd/hurd/signal.h: Likewise.
24492 * hurd/hurdfault.c: Likewise.
24493 * hurd/hurdioctl.c: Likewise.
24494 * hurd/hurdlookup.c: Likewise.
24495 * hurd/intr-msg.c: Likewise.
24496 * iconv/gconv_open.c: Likewise.
24497 * libio/swprintf.c: Likewise.
24498 * locale/lc-ctype.c: Likewise.
24499 * locale/nl_langinfo.c: Likewise.
24500 * mach/Machrules: Likewise.
24501 * mach/Makefile: Likewise.
24502 * malloc/obstack.h: Likewise.
24503 * manual/Makefile: Likewise.
24504 * manual/tsort.awk: Likewise.
24505 * misc/bits/stab.def: Likewise.
24506 * nis/nis_print_group_entry.c: Likewise.
24507 * nis/nis_table.c: Likewise.
24508 * nis/nss_compat/compat-pwd.c: Likewise.
24509 * nis/nss_compat/compat-spwd.c: Likewise.
24510 * po/Makefile: Likewise.
24511 * posix/fnmatch.c: Likewise.
24512 * posix/regex.h: Likewise.
24513 * resolv/Makefile: Likewise.
24514 * resolv/nss_dns/dns-network.c: Likewise.
24515 * resolv/res_hconf.c: Likewise.
24516 * scripts/gen-sorted.awk: Likewise.
24517 * soft-fp/soft-fp.h: Likewise.
24518 * stdio-common/printf.h: Likewise.
24519 * stdlib/monetary.h: Likewise.
24520 * stdlib/random.c: Likewise.
24521 * stdlib/random_r.c: Likewise.
24522 * sysdeps/generic/Makefile: Likewise.
24523 * sysdeps/gnu/Makefile: Likewise.
24524 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24526 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24528 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24531 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24544 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24545 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24546 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24552 * sysdeps/mach/hurd/errnos.awk: Likewise.
24553 * sysdeps/mach/hurd/fork.c: Likewise.
24554 * sysdeps/mach/hurd/getcwd.c: Likewise.
24555 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24556 * sysdeps/mach/hurd/mmap.c: Likewise.
24557 * sysdeps/mach/hurd/utimes.c: Likewise.
24558 * sysdeps/mach/hurd/xmknod.c: Likewise.
24559 * sysdeps/posix/profil.c: Likewise.
24560 * sysdeps/posix/readdir_r.c: Likewise.
24561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24562 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24563 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24564 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24566 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24567 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24568 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24570 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24571 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24572 * sysdeps/pthread/lio_listio.c: Likewise.
24573 * sysdeps/sparc/dl-procinfo.h: Likewise.
24574 * sysdeps/unix/i386/sysdep.S: Likewise.
24575 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24576 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24577 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24578 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24580 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24581 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24582 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24583 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24584 * sysdeps/wordsize-32/divdi3.c: Likewise.
24585 * time/sys/time.h: Likewise.
24586 * wcsmbs/Makefile: Likewise.
24587
0549fbba
DM
245882013-01-01 David S. Miller <davem@davemloft.net>
24589
a141f1a7
DM
24590 * po/fr.po: Update from translation team.
24591
0549fbba
DM
24592 * catgets/gencat.c: Update copyright year.
24593 * csu/version.c: Likewise.
24594 * debug/catchsegv.sh: Likewise.
24595 * debug/pcprofiledump.c: Likewise.
24596 * debug/xtrace.sh: Likewise.
24597 * elf/ldconfig.c: Likewise.
24598 * elf/ldd.bash.in: Likewise.
24599 * elf/pldd.c: Likewise.
24600 * elf/sotruss.ksh: Likewise.
24601 * elf/sprof.c: Likewise.
24602 * iconv/iconv_prog.c: Likewise.
24603 * iconv/iconvconfig.c: Likewise.
24604 * locale/programs/locale.c: Likewise.
24605 * locale/programs/localedef.c: Likewise.
24606 * login/programs/pt_chown.c: Likewise.
24607 * malloc/memusage.sh: Likewise.
24608 * malloc/memusagestat.c: Likewise.
24609 * malloc/mtrace.pl: Likewise.
24610 * nscd/nscd.c: Likewise.
24611 * nss/getent.c: Likewise.
24612 * nss/makedb.c: Likewise.
24613 * posix/getconf.c: Likewise.
24614
18ea052c
SP
246152012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24616
24617 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24618 numbers.
24619
9c89fca6
MF
246202012-12-30 Mike Frysinger <vapier@gentoo.org>
24621
24622 * math/bits/mathcalls.h (modf): Use __nonnull.
24623
085ec079
SP
246242012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24625
24626 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24627 (split): Use macro CN instead of the bare value.
24628 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24629 could be used.
24630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24631 instead of the bare value.
24632 (power1): Likewise.
24633
6d9f97e1
SP
246342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24635
d63f73be
SP
24636 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24637 __ATAN_TWOM.
24638 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24639
6d9f97e1
SP
24640 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24641 their values.
24642 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24643 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24644 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24645 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24646
4c4febf5
AJ
246472012-12-28 Andreas Jaeger <aj@suse.de>
24648
af5843ef
AJ
24649 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24650 values are from Linux 3.7.
24651
4c4febf5
AJ
24652 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24653 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24654
99136f82
SP
246552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24656
2f216c3c 24657 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
24658 TRUE case.
24659
99136f82
SP
24660 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24661 (norm): Likewise.
24662 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24663 variables with preprocessor constants.
24664 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24665 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24666 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24667
7fffbdff
BH
246682012-12-27 Bruno Haible <bruno@clisp.org>
24669
24670 [BZ #14317]
24671 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24672 only if needed.
24673
b76eb5f0
SP
246742012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24675
31a7fe5c
SP
24676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24677 and use variable directly.
24678 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24679
b76eb5f0
SP
24680 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24681 MPONE.
24682 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24683 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24684 variable MPONE.
24685 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24686 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24687 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24688 include directive. Remove local variable MPONE.
24689 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24690 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24691 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24692
2c8bfe7d
DM
246932012-12-25 David S. Miller <davem@davemloft.net>
24694
24695 * version.h (RELEASE): Set to "development".
24696 (VERSION): Set to "2.17.90".
24697 * NEWS: Add 2.18 section.
24698
147d03b0
DM
246992012-12-21 David S. Miller <davem@davemloft.net>
24700
24701 * po/hr.po: Update from translation team.
24702
a8ebb2b9
AK
247032012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24704
24705 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24706
95b4f1b6
SE
247072012-12-19 Steve Ellcey <sellcey@mips.com>
24708
b2d94007 24709 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 24710
cedb2a90
MS
247112012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24712
24713 * manual/contrib.texi (Contributors): Spelling correction.
24714
bbf527d6
DM
247152012-12-15 David S. Miller <davem@davemloft.net>
24716
24717 * po/ru.po: Update from translation team.
24718
bc38c906
DM
247192012-12-13 David S. Miller <davem@davemloft.net>
24720
85429b1a
DM
24721 * NEWS: Mention IFUNC testsuite enhancements.
24722
d283e353
DM
24723 * po/pl.po: Update from translation team.
24724 * po/bg.po: Likewise.
24725
bc38c906
DM
24726 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24727 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24728
a181b0d7
DM
247292012-12-11 David S. Miller <davem@davemloft.net>
24730
4641d57e
DM
24731 * po/sv.po: Update from translation team.
24732
f7bc6495
DM
24733 * po/vi.po: Update from translation team.
24734
6fc9048f
DM
24735 * po/cs.po: Update from translation team.
24736
a181b0d7
DM
24737 * po/de.po: Update from translation team.
24738 * po/eo.po: Likewise.
24739 * po/nl.po: Likewise.
24740
f70bfe80
SP
247412012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24742
3c8b4190
SP
24743 [BZ #14246]
24744 * manual/argp.texi (Argp Helper Functions): Move node to follow
24745 Argp Parsing State.
24746
f70bfe80
SP
24747 [BZ #14872]
24748 * manual/conf.texi (Limits on File System Capacity): Mention if
24749 terminating null is included in the max size.
24750
188f0adf
AJ
247512012-12-10 Andreas Jaeger <aj@suse.de>
24752
24753 * po/cs.po: Update from translation team.
24754
56e7d3ad
SP
247552012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24756
24757 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24758 void pointer and cast to uintptr_t.
24759 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24760 path.
24761 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24762 * sysdeps/s390/s390-64/memset.S: Likewise.
24763
76f2d2ea 247642012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
24765
24766 [BZ #14833]
24767 * menual/message.texi (Message Translation): Fix typos.
24768 (Helper programs for gettext): Likewise.
24769
67cbf9a2
AS
247702012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24771
24772 [BZ #14898]
24773 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24774 Change to -1.
24775
682d0e9a
DM
247762012-12-07 David S. Miller <davem@davemloft.net>
24777
24778 * po/libc.pot: Update.
24779
573cd484
RH
247802012-12-07 Richard Henderson <rth@redhat.com>
24781
7e9da188 24782 [BZ #10114]
573cd484
RH
24783 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24784 normal/normal case to before the switch.
24785 (_FP_DIV): Likewise.
24786
e933a943
MF
247872012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24788 Mike Frysinger <vapier@gentoo.org>
24789
24790 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24791 check for __NR_fadvise64_64.
24792
82123268
CM
247932012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24794
24795 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24796 0, not just to plain "0" as a statement.
24797 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24798 with cw.
24799
d9814526
JM
248002012-12-06 Joseph Myers <joseph@codesourcery.com>
24801
24802 * NEWS: Use sourceware.org in Bugzilla URL.
24803
7728c574
SP
248042012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24805
f16946dd
SP
24806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24807 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24808
5704bbcb
SP
24809 * stdio-common/tst-put-error.c (do_test): Add newline to the
24810 padded test to ensure flush.
24811
17aa0516
JL
248122012-12-05 Jeff Law <law@redhat.com>
24813
24814 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24815
363313b5
JM
248162012-12-05 Joseph Myers <joseph@codesourcery.com>
24817
effbd42a
JM
24818 * README: Don't refer to ports add-on as distributed separately.
24819 Mention AArch64 in list of systems supported in the ports add-on.
24820
87600365
JM
24821 * LICENSES: Add more non-FSF copyright and license notices.
24822
a0d7066a
JM
24823 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24824 ((unused)).
24825
66ca5a5b
JM
24826 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24827
363313b5
JM
24828 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24829 10000 as width of padded output.
24830
b37984ad
JM
248312012-12-04 Joseph Myers <joseph@codesourcery.com>
24832
9003570a
JM
24833 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24834
b37984ad
JM
24835 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24836 variable LX with __attribute__ ((unused)).
24837 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24838 Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24842 with __attribute__ ((unused)).
24843
c8df52ec
DM
248442012-12-04 David S. Miller <davem@abraco.davemloft.net>
24845
24846 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24847
b3b099af
JM
248482012-12-04 Joseph Myers <joseph@codesourcery.com>
24849
c33aa6e3
JM
24850 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24851 (CFLAGS-nldbl-acos.c): New variable.
24852 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24853 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24854 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24855 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24856 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24857 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24858 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24859 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24860 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24861 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24862 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24863 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24864 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24865 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24866 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24867 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24868 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24869 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24870 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24871 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24872 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24873 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24874 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24875 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24876 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24877 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24878 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24879 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24880 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24881 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24882 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24883 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24884 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24885 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24886 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24887 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24888 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24889 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24890 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24891 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24892 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24893 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24894 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24895 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24896 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24897 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24898 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24899 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24900 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24901 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24902 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24903 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24904 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24905 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24906 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24907 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24908 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24909 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24910 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24911 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24912 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24913 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24914 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24915 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24916 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24917 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24918 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24919 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24920 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24921 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24922 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24923 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24924 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24925 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24926 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24927 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24928 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24929 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24930 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24931 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24932 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24933 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24934 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24935 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24936 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24937 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24938 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24939 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24940 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24941 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24942 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24943 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24944 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24945 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24946 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24947 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24948 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24949
20f0018d
JM
24950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24951 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24952
b3b099af
JM
24953 [BZ #14914]
24954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24955 whole low double instead of just low 47 bits when splitting values
24956 into two parts.
24957
029264d1
AM
249582012-12-03 Allan McRae <allan@archlinux.org>
24959
24960 * manual/stdio.texi (Predefined Printf Handlers): Remove
24961 @hsep and @vsep usage.
24962
c9d6789e
MF
249632012-12-03 Mike Frysinger <vapier@gentoo.org>
24964
24965 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24966 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24967
4b7634a5
JL
249682012-12-03 Jeff Law <law@redhat.com>
24969
24970 * time/sys/time.h (settimeofday): Do not mark TV argument
24971 as __nonnull.
24972
eb6cbd24
MF
249732012-12-01 Mike Frysinger <vapier@gentoo.org>
24974
24975 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24976 when currently writing and seek to current position when not.
24977 * libio/Makefile (tests): Remove bug-fclose1.
24978 * libio/bug-fclose1.c: Delete.
24979
f638872a
JM
249802012-12-01 Joseph Myers <joseph@codesourcery.com>
24981
24982 * manual/arith.texi (feenableexcept): Fix typo.
24983 (fedisableexcept): Likewise.
24984
48085d14
RM
249852012-11-30 Roland McGrath <roland@hack.frob.com>
24986
24987 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24988 second, differently-typed declaration, rather than a cast.
24989
1a538b9f
SP
249902012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24991
24992 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24993 * include/rpc/svc.h: ... here.
24994
d07f2ff1 249952012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
24996
24997 [BZ #13013]
24998 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24999 depending n and resplen2 to catch cases where answer
25000 equals answerp2.
25001
c93ec1f0
CD
250022012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25003
25004 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25005 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25006
37db69de
MF
250072012-11-29 Mike Frysinger <vapier@gentoo.org>
25008
25009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25010
e10c4e4f
RM
250112012-11-29 Roland McGrath <roland@hack.frob.com>
25012
25013 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25014
2af1b328
JL
250152012-11-28 Jeff Law <law@redhat.com>
25016
25017 [BZ #13761]
25018 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25019 dataset_temporary. Track alloca usage into alloca_used.
25020 If dataset is large allocate and release it via malloc/free.
25021
111db5b1
FW
250222012-06-04 Florian Weimer <fweimer@redhat.com>
25023
f06cc227 25024 [BZ #14197]
111db5b1
FW
25025 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25026
dd694abd
DM
250272012-11-28 David S. Miller <davem@davemloft.net>
25028
25029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25030
9984dd01
JM
250312012-11-28 Joseph Myers <joseph@codesourcery.com>
25032
25033 [BZ #14803]
25034 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25035 of pi/2 rounded to nearest to 64 bits.
25036 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25037 nearest to 64 bits.
25038 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25039 bits.
25040
14bc93a9
JL
250412012-11-28 Jeff Law <law@redhat.com>
25042 Martin Osvald <mosvald@redhat.com>
25043
25044 [BZ #14889]
25045 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25046 * sunrpc/svc.c: Include time.h.
25047 (__svc_accept_failed): New function.
25048 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25049 any reason other than EINTR, call __svc_accept_failed.
25050 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25051 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25052
e3c6aa3a
AS
250532012-11-28 Andreas Schwab <schwab@suse.de>
25054
25055 * scripts/abilist.awk: Also handle indirect functions in .opd
25056 section.
25057
1bead169
JM
250582012-11-28 Joseph Myers <joseph@codesourcery.com>
25059
25060 [BZ #13881]
25061 * sysdeps/x86/fpu/powl_helper.c: New file.
25062 * sysdeps/x86/fpu/Makefile: Likewise.
25063 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25064 (p3): New object.
25065 (__ieee754_powl): Use __powl_helper for finite arguments except
25066 integer exponents below 8.
25067 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25068 (p3): New object.
25069 (__ieee754_powl): Use __powl_helper for finite arguments except
25070 integer exponents below 8.
25071 * math/libm-test.inc (pow_test): Add more tests and enable some
25072 previously disabled tests.
25073 * sysdeps/i386/fpu/libm-test-ulps: Update.
25074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25075
0817d63d
SP
250762012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25077 Carlos O'Donell <carlos_odonell@mentor.com>
25078
25079 * nss/makedb.c (is_prime): Assert that input is odd and greater
25080 than 4. Note that fact in a comment too.
25081 (next_prime): Add 4 to input.
25082
de2fd463
SP
250832012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25084
25085 [BZ #11741]
25086 * libio/Makefile (tests): Add test case tst-fwrite-error.
25087 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25088 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25089 * libio/tst-fwrite-error.c: New test case.
25090
c515fb51
L
250912012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25092
25093 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25094 before casting to void *.
25095 * include/libc-internal.h (__pointer_type): New macro.
25096 (__integer_if_pointer_type_sub): Likewise.
25097 (__integer_if_pointer_type): Likewise.
25098 (cast_to_integer): Likewise.
25099 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25100 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25101 before casting to atomic64_t.
25102 (atomic_exchange_acq): Likewise.
25103 (__arch_exchange_and_add_body): Likewise.
25104 (__arch_add_body): Likewise.
25105 (atomic_add_negative): Likewise.
25106 (atomic_add_zero): Likewise.
25107
4cf77aa9
JM
251082012-11-26 Joseph Myers <joseph@codesourcery.com>
25109
25110 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25111 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25112 (add_fdes): Likewise.
25113 (linear_search_fdes): Likewise.
25114 (binary_search_unencoded_fdes): Likewise.
25115
d260b3b4
AS
251162012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25117
25118 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25119
67060746
AC
251202012-11-24 Adam Conrad <adconrad@0c3.net>
25121
25122 * configure.in: Autodetect C++ header directories.
25123 * configure: Regenerated.
25124
800938a1
MF
251252012-11-23 Mike Frysinger <vapier@gentoo.org>
25126
25127 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25128
4e6e34e6
AS
251292012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25130
25131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25132
7c7feb47
JM
251332012-11-22 Joseph Myers <joseph@codesourcery.com>
25134
7184dcdf
JM
25135 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25136 LDBL_MANT_DIG == 106]: Disable some tests.
25137 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25138 Likewise.
25139 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25140 Likewise.
25141
0a42601f
JM
25142 [BZ #14871]
25143 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25144 input for small inputs. Return +/- pi/2 for large inputs.
25145 * math/libm-test.inc (atan_test): Add more tests.
25146
79c9b9fe
JM
25147 * sysdeps/generic/unwind-dw2-fde-glibc.c
25148 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25149 __attribute__ ((unused)).
25150
c60d3bf2
JM
25151 [BZ #14645]
25152 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25153 x * y if x and y are nonzero and z is zero.
25154
ef1e0867
JM
25155 [BZ #14811]
25156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25157 nonzero exponents with absolute value below 0x1p-117 to +/-
25158 0x1p-117.
25159
1468ded3
JM
25160 [BZ #14869]
25161 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25162 up arguments below 2**-450, not just those below 2**-500.
25163 * math/libm-test.inc (hypot_test): Add another test.
25164
8e27e3cc
JM
25165 [BZ #14868]
25166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25167 Return a+b for ratio over 2**120, not 2**60.
25168 * math/libm-test.inc (hypot_test): Add another test.
25169
c9c0279b
JM
25170 * math/libm-test.inc (clog_test): Use
25171 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25172 (clog10_test): Likewise.
25173
7c7feb47
JM
25174 [BZ #6778]
25175 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25176
fff1530e
AS
251772012-11-22 Andreas Schwab <schwab@suse.de>
25178
25179 * sysdeps/i386/fpu/libm-test-ulps: Update.
25180
94558d30
PT
251812012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25182
25183 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25184 printf output with newline.
25185
7e1be741
L
251862012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25187
6bfea974
L
25188 [BZ #14865]
25189 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25190 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25191 -z nodlopen, -z initfirst and -z execstack support.
25192 * configure: Regenerated.
25193
7e1be741
L
25194 * elf/elf.h (DF_1_NODIRECT): New macro.
25195 (DF_1_IGNMULDEF): Likewise.
25196 (DF_1_NOKSYMS): Likewise.
25197 (DF_1_NOHDR): Likewise.
25198 (DF_1_EDITED): Likewise.
25199 (DF_1_NORELOC): Likewise.
25200 (DF_1_SYMINTPOSE): Likewise.
25201 (DF_1_GLOBAUDIT): Likewise.
25202 (DF_1_SINGLETON): Likewise.
25203 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25204 DT_1_SUPPORTED_MASK bits.
25205 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25206
105ce2ce
CD
252072012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25208
25209 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25210
123be9de
TS
252112012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25212
d072f3f7
TS
25213 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25214 macro.
25215
123be9de
TS
25216 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25217 (sendmmsg): Move declarations...
25218 * socket/sys/socket.h: ... here.
25219 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25220 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25221 include it from...
25222 * socket/recvmmsg.c: ... this new file.
25223 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25224 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25225 definition of __sendmmsg hidden.
25226 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25227 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25228 Move ENOSYS stub into and include it from...
25229 * socket/sendmmsg.c: ... this new file.
25230 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25231 (sysdep_routines): Move recvmmsg and sendmmsg...
25232 * socket/Makefile (routines): ... here.
25233 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25234 (GLIBC_PRIVATE): Add __sendmmsg.
25235 * include/sys/socket.h (__sendmmsg): Add declarations.
25236 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25237 sendmmsg.
25238
cf9a5d18
JM
252392012-11-20 Joseph Myers <joseph@codesourcery.com>
25240
25241 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25242 variable I1 with __attribute__ ((unused)).
25243 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25244
ecd4caf9
JM
252452012-11-19 Joseph Myers <joseph@codesourcery.com>
25246
be14d48f
JM
25247 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25248 DUMMY variables with __attribute__ ((unused)).
25249
ecd4caf9
JM
25250 * bits/byteswap.h: Include <bits/types.h>.
25251 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25252
986cab95
PT
252532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25254
25255 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25256 string_t. Do not manually set errno.
25257 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25258 length with __strnlen. Make sure to both set errno and return it on
25259 failure.
25260
6d33cc9d
DM
252612012-11-19 David S. Miller <davem@davemloft.net>
25262
25263 With help from Joseph Myers.
25264 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25265 very large arguments properly.
25266 * math/libm-test.inc (atan_test): New tests.
25267 (atan2_test): New tests.
25268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25270
ee663277
JM
252712012-11-19 Joseph Myers <joseph@codesourcery.com>
25272
877f2d8e
JM
25273 [BZ #14856]
25274 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25275 Define to 3.
25276
116fc08a
JM
25277 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25278 [POSIX] (EADDRNOTAVAIL): Likewise.
25279 [POSIX] (EAFNOSUPPORT): Likewise.
25280 [POSIX] (EALREADY): Likewise.
25281 [POSIX] (ECONNABORTED): Likewise.
25282 [POSIX] (ECONNREFUSED): Likewise.
25283 [POSIX] (ECONNRESET): Likewise.
25284 [POSIX] (EDESTADDRREQ): Likewise.
25285 [POSIX] (EDQUOT): Likewise.
25286 [POSIX] (EHOSTUNREACH): Likewise.
25287 [POSIX] (EIDRM): Likewise.
25288 [POSIX] (EISCONN): Likewise.
25289 [POSIX] (ELOOP): Likewise.
25290 [POSIX] (EMULTIHOP): Likewise.
25291 [POSIX] (ENETDOWN): Likewise.
25292 [POSIX] (ENETUNREACH): Likewise.
25293 [POSIX] (ENOBUFS): Likewise.
25294 [POSIX] (ENODATA): Likewise.
25295 [POSIX] (ENOLINK): Likewise.
25296 [POSIX] (ENOMSG): Likewise.
25297 [POSIX] (ENOPROTOOPT): Likewise.
25298 [POSIX] (ENOSR): Likewise.
25299 [POSIX] (ENOSTR): Likewise.
25300 [POSIX] (ENOTCONN): Likewise.
25301 [POSIX] (ENOTSOCK): Likewise.
25302 [POSIX] (EOPNOTSUPP): Likewise.
25303 [POSIX] (EOVERFLOW): Likewise.
25304 [POSIX] (EPROTO): Likewise.
25305 [POSIX] (EPROTONOSUPPORT): Likewise.
25306 [POSIX] (EPROTOTYPE): Likewise.
25307 [POSIX] (ESTALE): Likewise.
25308 [POSIX] (ETIME): Likewise.
25309 [POSIX] (ETXTBSY): Likewise.
25310 [POSIX] (EWOULDBLOCK): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25312 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25313 [POSIX] (SEEK_CUR): Likewise.
25314 [POSIX] (SEEK_END): Likewise.
25315 [POSIX || UNIX98] (mode_t): Do not require.
25316 [POSIX] (off_t): Likewise.
25317 [POSIX] (pid_t): Likewise.
25318 [POSIX] (sys/stat.h): Do not allow header.
25319 [POSIX] (unistd.h): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25321 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25323 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25324 require.
25325 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25326 sigevent): Specify elements.
25327 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25328 entry.
25329 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25330 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25331
a483863f
JM
25332 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25333 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25334 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25335 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25336 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25337 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25338 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25339 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25340 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25341 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25342 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25343 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25344 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25345 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25346 Likewise.
25347 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25348 Likewise.
25349 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25350 Likewise.
25351 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25352 Likewise.
25353 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25354 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25355 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25356 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25358 Specify lower bound on value.
25359 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25362 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25363 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25364 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25365 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25366 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25367 value.
25368 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25369 as optional.
25370 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25372 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25373 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25374 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25375 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25376 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25377 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25378 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25379 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25380 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25381 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25382 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25383 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25384 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25385 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25386 entry.
25387 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25388 optional.
25389 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25390 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25391 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25392 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25393 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25395 Likewise.
25396 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25397 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25401 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25402 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25403 as optional.
25404 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25408 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25409 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25410 specify as optional.
25411 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25414 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25415 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25416 [XPG3] (NL_LANGMAX): Likewise.
25417 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25418 [POSIX || XPG3] (NL_NMAX): Likewise.
25419 [POSIX || XPG3] (NL_SETMAX): Likewise.
25420 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25421 [XPG3] (NZERO): Likewise.
25422 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25423 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25424 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25425 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25426 (REG_ERANGE): Expect.
25427 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25428 optional-constant.
25429 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25430 Use (void) in prototype.
25431 [POSIX] (*_t): Allow.
25432 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25433 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25434 (WRDE_BADVAL): Expect.
25435
5ba924e3
JM
25436 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25437 expect.
25438 [XPG3 || XPG4] (O_RSYNC): Likewise.
25439 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25440 Likewise.
25441 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25442 [XPG3 || XPG4] (sigqueue): Likewise.
25443 [XPG3 || XPG4] (sigtimedwait): Likewise.
25444 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25445 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25446 [XPG3 || XPG4] (vsnprintf): Likewise.
25447 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25448 Likewise.
25449 [XPG3 || XPG4] (blksize_t): Likewise.
25450 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25451 Likewise.
25452 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25453 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25454 [XPG3 || XPG4] (struct itimerspec): Likewise.
25455 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25456 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25457 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25458 [XPG3 || XPG4] (clockid_t): Likewise.
25459 [XPG3 || XPG4] (timer_t): Likewise.
25460 [XPG3 || XPG4] (clock_getres): Likewise.
25461 [XPG3 || XPG4] (clock_gettime): Likewise.
25462 [XPG3 || XPG4] (clock_settime): Likewise.
25463 [XPG3 || XPG4] (nanosleep): Likewise.
25464 [XPG3 || XPG4] (timer_create): Likewise.
25465 [XPG3 || XPG4] (timer_delete): Likewise.
25466 [XPG3 || XPG4] (timer_gettime): Likewise.
25467 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25468 [XPG3 || XPG4] (timer_settime): Likewise.
25469 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25470 [XPG3 || XPG4] (getlogin_r): Likewise.
25471 [XPG3 || XPG4] (pread): Likewise.
25472 [XPG3 || XPG4] (pthread_atfork): Likewise.
25473 [XPG3 || XPG4] (pwrite): Likewise.
25474
ee663277
JM
25475 [BZ #14835]
25476 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25477 <bits/siginfo.h>.
25478
942caa16
PT
254792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25480
e19af380
PT
25481 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25482 finalizing MALLSTREAM.
25483
942caa16
PT
25484 * sysdeps/mach/hurd/syncfs.c: New file.
25485
cfde9b46
SP
254862012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25487
25488 [BZ #14719]
25489 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25490 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25491 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25492 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25493 (_nss_dns_gethostbyname4_r): Likewise.
25494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25495 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25496
f6da27e5
PH
254972012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25498
25499 [BZ #13763]
25500 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25501
6665d4a2
SM
255022012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25503
1f51ee92
SM
25504 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25505 * elf/cache.c (print_entry): Print ",AArch64" for
25506 FLAG_AARCH64_LIB64
25507
6665d4a2
SM
25508 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25509 * elf/cache.c (print_entry): Print ",hard-float" for
25510 FLAG_ARM_LIBHF.
25511
05b227bd
DM
255122012-11-18 David S. Miller <davem@davemloft.net>
25513
25514 With help from Joseph Myers.
25515 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25516 cutoff to 2**-13.
25517 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25518 cutoff to 2**-25.
25519 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25520 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25521 small.
25522 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25523 * math/libm-test.inc (y0_test): New tests.
25524 (y1_test): New tests.
25525 * sysdeps/i386/fpu/libm-test-ulps: Update.
25526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25528
786b0b67
AS
255292012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25530
25531 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25532 64-bit targets.
25533 * configure: Regenerated.
25534
8e18b86d
DM
255352012-11-17 David S. Miller <davem@davemloft.net>
25536
25537 [BZ #14811]
25538 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25539 nonzero exponents with absolute value below 0x1p-128 to +/-
25540 0x1p-128.
25541
531f1ae0
JM
255422012-11-17 Joseph Myers <joseph@codesourcery.com>
25543
12df29e2
JM
25544 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25545
150dc1a0
JM
25546 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25547
531f1ae0
JM
25548 * posix/getconf-speclist.c: New file.
25549 * posix/posix-envs.def: Likewise.
25550 * posix/confstr.c (START_ENV_GROUP): New macro.
25551 (END_ENV_GROUP): Likewise.
25552 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25553 (KNOWN_PRESENT_ENV_STRING): Likewise.
25554 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25555 (UNKNOWN_ENVIRONMENT): Likewise.
25556 (confstr): Include posix-envs.def instead of handling
25557 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25558 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25559 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25560 (END_ENV_GROUP): Likewise.
25561 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25562 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25563 (UNKNOWN_ENVIRONMENT): Likewise.
25564 (__sysconf): Include posix-envs.def instead of handling associated
25565 cases directly here.
25566 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25567 preprocessing getconf-speclist.c rather than running getconf or
25568 generating empty file.
25569
a93f9cbc
PT
255702012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25571
25572 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25573
d64d9f87
AL
255742012-11-16 Andrej Lajovic <natrij@gmail.com>
25575
25576 [BZ #14672]
25577 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25578
447885eb
DM
255792012-11-16 David S. Miller <davem@davemloft.net>
25580
25581 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25582 smaller than LDBL_EPSILON/2.0L, just return xm1.
25583
bcbf9830
L
255842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25585
25586 * elf/tst-array1.c (init): Set constructor priority to 1000.
25587 (fini): Set destructor priority to 1000.
25588 * elf/tst-array2dep.c: Likewise.
25589
2b766585
SP
255902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25591
25592 [BZ #11741]
25593 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25594 (_IO_new_file_xsputn): Also return EOF if none of the input
25595 data was written when overflow failed.
25596 * libio/iopadn.c (_IO_padn): Likewise.
25597 * libio/iowpadn.c (_IO_wpadn): Likewise.
25598 * stdio-common/tst-put-error.c: Add copyright notice.
25599 (do_test): Add case for printing padded string.
25600 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25601 _IO_padn returned error.
25602 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25603 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25604 return EOF.
25605
b1848fde
SP
256062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25607
25608 * libio/libioP.h: Add comment note that the references to C++
25609 bits are now obsolete.
25610
2fd89785
MS
256112012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25612
25613 * math/libm-test.inc (check_complex): Use asprintf.
25614
e3ea5409
JM
256152012-11-14 Joseph Myers <joseph@codesourcery.com>
25616
25617 * debug/pcprofiledump.c (print_version): Update copyright year.
25618 * malloc/memusagestat.c (print_version): Likewise.
25619
2e64d265
L
256202012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25621
25622 [BZ #14831]
25623 * elf/Makefile (tests): Add tst-audit8.
25624 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25625 ($(objpfx)tst-audit8.out): New target.
25626 (tst-audit8-ENV): New variable.
25627 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25628 audit if l_reloc_result is NULL.
25629 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25630 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25631 * elf/tst-audit8.c: New file.
25632
c485e4d2
MS
256332012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25634
25635 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25636 * misc/Makefile (CFLAGS-select.c): Define.
25637 * posix/Makefile (CFLAGS-pause.c): Define.
25638
3a0d900a
DM
256392012-11-13 David S. Miller <davem@davemloft.net>
25640
25641 * crypt/Makefile: Move test targets after toplevel Rules
25642 inclusion. Grab any necessary sysdep routines when linking.
25643 * crypt/md5.c (md5_process_block): Remove define, we will always
25644 name it __md5_process_block.
25645 (md5_finish_ctx): Update md5_process_block call.
25646 (md5_stream): Likewise.
25647 (md5_process_bytes): Likewise.
25648 (md5_process_block): Rename to __md5_process_block and move to ...
25649 * crypt/md5-block.c: ... here.
25650 * crypt/sha256.c (sha256_process_block): Move to ...
25651 * crypt/sha256-block.c: ... here.
25652 * crypt/sha512.c (sha512_process_block): Move to ...
25653 * crypt/sha512-block.c: ... here.
25654 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25655 path.
25656 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25657 * sysdeps/sparc/sparc64/multiarch/Makefile
25658 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25659 crypt subdir.
25660 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25661 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25662 multiarch changes.
25663 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25664 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25665 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25666 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25667 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25668 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25669 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25670 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25671 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25672 file.
25673 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25674 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25675 file.
25676 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25677
8ca89318
JM
256782012-11-13 Joseph Myers <joseph@codesourcery.com>
25679
e27d476a
JM
25680 * timezone/tzselect.ksh: Update from tzcode git revision
25681 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25682 * timezone/zdump.c: Likewise.
25683 * timezone/zic.c: Likewise.
25684 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25685 in TZVERSION setting, not $(PKGVERSION).
25686 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25687 REPORT_BUGS_TO settings.
25688
8ca89318
JM
25689 [BZ #14838]
25690 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25691 macro.
25692
47594329
MS
256932012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25694
25695 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25696 detection to immediately after _FP_ROUND().
25697 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25698 bits are 0.
25699
640ac3f1
DM
257002012-11-11 David S. Miller <davem@davemloft.net>
25701
25702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25703 inttypes.h
25704 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25705 __close rather than their public counterparts.
25706
3d2577bb
JM
257072012-11-10 Joseph Myers <joseph@codesourcery.com>
25708
25709 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25710 file.
25711 [UNIX98] (sem_timedwait): Do not expect.
25712 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25713 [XPG4 || UNIX98] (sockatmark): Do not expect.
25714 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25715 (clock_getcpuclockid): Do not expect.
25716 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25717 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25718 Do not expect.
25719 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25720 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25721 [UNIX98] (vwscanf): Likewise.
25722 [UNIX98] (vswscanf): Likewise.
25723
fb1ae1ee
JM
257242012-11-09 Joseph Myers <joseph@codesourcery.com>
25725
9ec6f8bd
JM
25726 * timezone/version.h: Remove file.
25727 * timezone/README: Do not refer to version.h.
25728 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25729 $(objpfx)version.h.
25730 ($(objpfx)zdump.o): Likewise.
c3f81911 25731 ($(objpfx)version.h): New target.
9ec6f8bd 25732
0aa8f8a1
JM
25733 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25734 2012i.
25735 * timezone/README: Don't mention modification to tzselect.ksh.
25736 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25737 work on unmodified tzselect.ksh. Substitute version numbers in
25738 tzselect.ksh.
25739
4e87147f
JM
25740 * Makefile (format-me): Remove.
25741 (INSTALL): Adjust indentation. Use commands directly instead of
25742 using $(format-me).
25743
8b748aed
JM
25744 * aclocal.m4 (ACX_PKGVERSION): New macro.
25745 (ACX_BUGURL): Likewise.
25746 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25747 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25748 (REPORT_BUGS_TO): Likewise.
25749 * configure: Regenerated.
25750 * config.h.in (PKGVERSION): New macro.
25751 (REPORT_BUGS_TO): Likewise.
25752 * config.make.in (PKGVERSION): New variable.
25753 (PKGVERSION_TEXI): Likewise.
25754 (REPORT_BUGS_TO): Likewise.
25755 (REPORT_BUGS_TEXI): Likewise.
25756 * Makefile (format-me): Use -I$(common-objpfx)manual.
25757 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25758 ($(common-objpfx)manual/%): New target.
25759 (manual/%): Remove target.
25760 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25761 (print_version): Use PKGVERSION.
25762 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25763 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25764 and REPORT_BUGS_TO.
25765 ($(objpfx)xtrace): Likewise.
25766 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25767 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25768 (print_version): Use PKGVERSION.
25769 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25770 (do_version): Use PKGVERSION.
25771 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25772 REPORT_BUGS_TO.
25773 (common-ldd-rewrite): Likewise.
25774 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25775 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25776 (print_version): Use PKGVERSION.
25777 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25778 * elf/pldd.c (argp_program_bug_address): Remove variable.
25779 (more_help): New function.
25780 (argp): Use more_help.
25781 (print_version): Use PKGVERSION.
25782 * elf/sln.c (main): Use PKGVERSION.
25783 (usage): Use REPORT_BUGS_TO.
25784 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25785 (top level): Use PKGVERSION.
25786 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25787 (print_version): Use PKGVERSION.
25788 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25789 (print_version): Use PKGVERSION.
25790 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25791 (print_version): Use PKGVERSION.
25792 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25793 (print_version): Use PKGVERSION.
25794 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25795 (print_version): Use PKGVERSION.
25796 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25797 (print_version): Use PKGVERSION.
25798 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25799 and BUGURL.
25800 ($(objpfx)memusage): Likewise.
25801 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25802 (do_version): Use PKGVERSION.
25803 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25804 (print_version): Use PKGVERSION.
25805 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25806 ($PKGVERSION): New variable.
25807 ($REPORT_BUGS_TO): Likewise.
25808 (usage): Use $REPORT_BUGS_TO.
25809 (top level): Use $PKGVERSION.
25810 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25811 ($(objpfx)pkgvers.texi): New rule.
25812 ($(objpfx)stamp-pkgvers): Likewise.
25813 * manual/install.texi: Include pkgvers.texi.
25814 (--with-pkgversion): Document new configure option.
25815 (--with-bugurl): Likewise.
25816 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25817 than necessarily for this particular distribution. Use
25818 REPORT_BUGS_TO for where to report bugs.
25819 * INSTALL: Regenerated.
25820 * manual/libc.texinfo: Include pkgvers.texi.
25821 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25822 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25823 (print_version): Use PKGVERSION.
25824 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25825 (print_version): Use PKGVERSION.
25826 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25827 (print_version): Use PKGVERSION.
25828 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25829 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25830 macro.
25831 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25832 (print_version): Use PKGVERSION.
25833 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25834 (print_version): Use PKGVERSION.
25835 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25836 and PKGVERSION.
25837
92e4b6a9
JM
25838 * timezone/checktab.awk: Update from tzcode 2012i.
25839 * timezone/ialloc.c: Likewise.
25840 * timezone/private.h: Likewise.
25841 * timezone/scheck.c: Likewise.
25842 * timezone/tzfile.h: Likewise.
25843 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25844 (TZVERSION): Hardcode tzcode version number.
25845 * timezone/zdump.c: Update from tzcode 2012i.
25846 * timezone/zic.c: Likewise.
25847 * timezone/version.h: New file.
25848 * timezone/README: Describe version.h. Update upstream location.
25849
9bde902c
JM
25850 [BZ #14824]
25851 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25852 (mktemp): Enable declaration.
25853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25857 Likewise.
25858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25859 Likewise.
25860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25861 Likewise.
25862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25863 Likewise.
25864 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25865 Likewise.
25866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25867 Likewise.
25868
fb1ae1ee
JM
25869 [BZ #14821]
25870 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25871 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25872 for copies of such integer values.
25873 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25874 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25875
2c1adbcb
AJ
258762012-11-09 Andreas Jaeger <aj@suse.de>
25877
25878 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25879 definitions and declarations that are provided by
25880 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25881
d0f8457e
AK
258822012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25883
3a235abb 25884 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
25885 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25886 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25887 definition.
25888
57241e26
MS
258892012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25890
25891 * elf/elf.h: Update comment before AArch64 relocations.
25892
60e8270d
DM
258932012-11-07 David S. Miller <davem@davemloft.net>
25894
25895 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25896 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25897 (__start_context): Declare.
25898 (__makecontext_ret): Delete.
25899 (__makecontext): Hook up __start_context instead of
25900 __makecontext_ret.
25901 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25902 (sysdep_routines): Add __start_context when in stdlib.
25903
0fbb0fbc
JM
259042012-11-07 Joseph Myers <joseph@codesourcery.com>
25905
25906 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25907 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25908 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25909 hardcoded "nm".
25910 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25911 (READELF): New variable. Use it instead of hardcoded "readelf".
25912
eb48db7e
L
259132012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25914
25915 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25916 * sysdeps/x86/Makefile: Here.
25917 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25918 * sysdeps/x86/tst-xmmymm.sh: This.
25919
05bcf62a
JM
259202012-11-07 Joseph Myers <joseph@codesourcery.com>
25921
c4b6cf53
JM
25922 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25923 expectations.
25924 [UNIX98] (pthread_barrier_t): Do not expect.
25925 [UNIX98] (pthread_barrierattr_t): Likewise.
25926 [UNIX98] (pthread_spinlock_t): Likewise.
25927 [UNIX98] (pthread_barrier_destroy): Likewise.
25928 [UNIX98] (pthread_barrier_init): Likewise.
25929 [UNIX98] (pthread_barrier_wait): Likewise.
25930 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25931 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25932 [UNIX98] (pthread_barrierattr_init): Likewise.
25933 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25934 [UNIX98] (pthread_getcpuclockid): Likewise.
25935 [UNIX98] (pthread_mutex_timedlock): Likewise.
25936 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25937 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25938 [UNIX98] (pthread_sigmask): Likewise.
25939 [UNIX98] (pthread_spin_destroy): Likewise.
25940 [UNIX98] (pthread_spin_init): Likewise.
25941 [UNIX98] (pthread_spin_lock): Likewise.
25942 [UNIX98] (pthread_spin_trylock): Likewise.
25943 [UNIX98] (pthread_spin_unlock): Likewise.
25944 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25945 Do not expect.
25946 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25948 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25949 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25950 [XPG3 || XPG4] (pthread_key_t): Likewise.
25951 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25952 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25953 [XPG3 || XPG4] (pthread_once_t): Likewise.
25954 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25955 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25957 [XPG3 || XPG4] (pthread_t): Likewise.
25958
cbe6e120
JM
25959 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25960 not expect.
25961 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25962
1b126443
JM
25963 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25964 Change function return type to int.
25965
b961a573
JM
25966 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25967 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25968 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25969 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25970 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25971 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25972 [!POSIX] (posix_madvise): Likewise.
25973 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25974 && !UNIX98].
25975 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25976 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25977 (mode_t): Likewise.
25978 (posix_mem_offset): Likewise.
25979 (posix_typed_mem_get_info): Likewise.
25980 (posix_typed_mem_open): Likewise.
25981
9e188909
JM
25982 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25983 Change condition to [XOPEN2K8].
25984
05bcf62a
JM
25985 * conform/conformtest.pl: Preprocess allow-header data with -x c
25986 instead of from stdin.
25987 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25988 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25989 [C99-based standards] (cerfc): Likewise.
25990 [C99-based standards] (cexp2): Likewise.
25991 [C99-based standards] (cexpm1): Likewise.
25992 [C99-based standards] (clog10): Likewise.
25993 [C99-based standards] (clog1p): Likewise.
25994 [C99-based standards] (clog2): Likewise.
25995 [C99-based standards] (clgamma): Likewise.
25996 [C99-based standards] (ctgamma): Likewise.
25997 [C99-based standards] (cerff): Likewise.
25998 [C99-based standards] (cerfcf): Likewise.
25999 [C99-based standards] (cexp2f): Likewise.
26000 [C99-based standards] (cexpm1f): Likewise.
26001 [C99-based standards] (clog10f): Likewise.
26002 [C99-based standards] (clog1pf): Likewise.
26003 [C99-based standards] (clog2f): Likewise.
26004 [C99-based standards] (clgammaf): Likewise.
26005 [C99-based standards] (ctgammaf): Likewise.
26006 [C99-based standards] (cerfl): Likewise.
26007 [C99-based standards] (cerfcl): Likewise.
26008 [C99-based standards] (cexp2l): Likewise.
26009 [C99-based standards] (cexpm1l): Likewise.
26010 [C99-based standards] (clog10l): Likewise.
26011 [C99-based standards] (clog1pl): Likewise.
26012 [C99-based standards] (clog2l): Likewise.
26013 [C99-based standards] (clgammal): Likewise.
26014 [C99-based standards] (ctgammal): Likewise.
26015 * conform/data/inttypes.h-data [C99-based standards]: Include
26016 stdint.h-data. Remove all expectations for stdint.h contents.
26017 [C99-based standards] (PRI*): Do not allow.
26018 [C99-based standards] (SCN*): Likewise.
26019 [C99-based standards] (*_t): Likewise.
26020 [C99-based-standards] (PRId8): Expect macro.
26021 [C99-based-standards] (PRIi8): Likewise.
26022 [C99-based-standards] (PRIo8): Likewise.
26023 [C99-based-standards] (PRIu8): Likewise.
26024 [C99-based-standards] (PRIx8): Likewise.
26025 [C99-based-standards] (PRIX8): Likewise.
26026 [C99-based-standards] (SCNd8): Likewise.
26027 [C99-based-standards] (SCNi8): Likewise.
26028 [C99-based-standards] (SCNo8): Likewise.
26029 [C99-based-standards] (SCNu8): Likewise.
26030 [C99-based-standards] (SCNx8): Likewise.
26031 [C99-based-standards] (PRIdLEAST8): Likewise.
26032 [C99-based-standards] (PRIiLEAST8): Likewise.
26033 [C99-based-standards] (PRIoLEAST8): Likewise.
26034 [C99-based-standards] (PRIuLEAST8): Likewise.
26035 [C99-based-standards] (PRIxLEAST8): Likewise.
26036 [C99-based-standards] (PRIXLEAST8): Likewise.
26037 [C99-based-standards] (SCNdLEAST8): Likewise.
26038 [C99-based-standards] (SCNiLEAST8): Likewise.
26039 [C99-based-standards] (SCNoLEAST8): Likewise.
26040 [C99-based-standards] (SCNuLEAST8): Likewise.
26041 [C99-based-standards] (SCNxLEAST8): Likewise.
26042 [C99-based-standards] (PRIdFAST8): Likewise.
26043 [C99-based-standards] (PRIiFAST8): Likewise.
26044 [C99-based-standards] (PRIoFAST8): Likewise.
26045 [C99-based-standards] (PRIuFAST8): Likewise.
26046 [C99-based-standards] (PRIxFAST8): Likewise.
26047 [C99-based-standards] (PRIXFAST8): Likewise.
26048 [C99-based-standards] (SCNdFAST8): Likewise.
26049 [C99-based-standards] (SCNiFAST8): Likewise.
26050 [C99-based-standards] (SCNoFAST8): Likewise.
26051 [C99-based-standards] (SCNuFAST8): Likewise.
26052 [C99-based-standards] (SCNxFAST8): Likewise.
26053 [C99-based-standards] (PRId16): Likewise.
26054 [C99-based-standards] (PRIi16): Likewise.
26055 [C99-based-standards] (PRIo16): Likewise.
26056 [C99-based-standards] (PRIu16): Likewise.
26057 [C99-based-standards] (PRIx16): Likewise.
26058 [C99-based-standards] (PRIX16): Likewise.
26059 [C99-based-standards] (SCNd16): Likewise.
26060 [C99-based-standards] (SCNi16): Likewise.
26061 [C99-based-standards] (SCNo16): Likewise.
26062 [C99-based-standards] (SCNu16): Likewise.
26063 [C99-based-standards] (SCNx16): Likewise.
26064 [C99-based-standards] (PRIdLEAST16): Likewise.
26065 [C99-based-standards] (PRIiLEAST16): Likewise.
26066 [C99-based-standards] (PRIoLEAST16): Likewise.
26067 [C99-based-standards] (PRIuLEAST16): Likewise.
26068 [C99-based-standards] (PRIxLEAST16): Likewise.
26069 [C99-based-standards] (PRIXLEAST16): Likewise.
26070 [C99-based-standards] (SCNdLEAST16): Likewise.
26071 [C99-based-standards] (SCNiLEAST16): Likewise.
26072 [C99-based-standards] (SCNoLEAST16): Likewise.
26073 [C99-based-standards] (SCNuLEAST16): Likewise.
26074 [C99-based-standards] (SCNxLEAST16): Likewise.
26075 [C99-based-standards] (PRIdFAST16): Likewise.
26076 [C99-based-standards] (PRIiFAST16): Likewise.
26077 [C99-based-standards] (PRIoFAST16): Likewise.
26078 [C99-based-standards] (PRIuFAST16): Likewise.
26079 [C99-based-standards] (PRIxFAST16): Likewise.
26080 [C99-based-standards] (PRIXFAST16): Likewise.
26081 [C99-based-standards] (SCNdFAST16): Likewise.
26082 [C99-based-standards] (SCNiFAST16): Likewise.
26083 [C99-based-standards] (SCNoFAST16): Likewise.
26084 [C99-based-standards] (SCNuFAST16): Likewise.
26085 [C99-based-standards] (SCNxFAST16): Likewise.
26086 [C99-based-standards] (PRId32): Likewise.
26087 [C99-based-standards] (PRIi32): Likewise.
26088 [C99-based-standards] (PRIo32): Likewise.
26089 [C99-based-standards] (PRIu32): Likewise.
26090 [C99-based-standards] (PRIx32): Likewise.
26091 [C99-based-standards] (PRIX32): Likewise.
26092 [C99-based-standards] (SCNd32): Likewise.
26093 [C99-based-standards] (SCNi32): Likewise.
26094 [C99-based-standards] (SCNo32): Likewise.
26095 [C99-based-standards] (SCNu32): Likewise.
26096 [C99-based-standards] (SCNx32): Likewise.
26097 [C99-based-standards] (PRIdLEAST32): Likewise.
26098 [C99-based-standards] (PRIiLEAST32): Likewise.
26099 [C99-based-standards] (PRIoLEAST32): Likewise.
26100 [C99-based-standards] (PRIuLEAST32): Likewise.
26101 [C99-based-standards] (PRIxLEAST32): Likewise.
26102 [C99-based-standards] (PRIXLEAST32): Likewise.
26103 [C99-based-standards] (SCNdLEAST32): Likewise.
26104 [C99-based-standards] (SCNiLEAST32): Likewise.
26105 [C99-based-standards] (SCNoLEAST32): Likewise.
26106 [C99-based-standards] (SCNuLEAST32): Likewise.
26107 [C99-based-standards] (SCNxLEAST32): Likewise.
26108 [C99-based-standards] (PRIdFAST32): Likewise.
26109 [C99-based-standards] (PRIiFAST32): Likewise.
26110 [C99-based-standards] (PRIoFAST32): Likewise.
26111 [C99-based-standards] (PRIuFAST32): Likewise.
26112 [C99-based-standards] (PRIxFAST32): Likewise.
26113 [C99-based-standards] (PRIXFAST32): Likewise.
26114 [C99-based-standards] (SCNdFAST32): Likewise.
26115 [C99-based-standards] (SCNiFAST32): Likewise.
26116 [C99-based-standards] (SCNoFAST32): Likewise.
26117 [C99-based-standards] (SCNuFAST32): Likewise.
26118 [C99-based-standards] (SCNxFAST32): Likewise.
26119 [C99-based-standards] (PRId64): Likewise.
26120 [C99-based-standards] (PRIi64): Likewise.
26121 [C99-based-standards] (PRIo64): Likewise.
26122 [C99-based-standards] (PRIu64): Likewise.
26123 [C99-based-standards] (PRIx64): Likewise.
26124 [C99-based-standards] (PRIX64): Likewise.
26125 [C99-based-standards] (SCNd64): Likewise.
26126 [C99-based-standards] (SCNi64): Likewise.
26127 [C99-based-standards] (SCNo64): Likewise.
26128 [C99-based-standards] (SCNu64): Likewise.
26129 [C99-based-standards] (SCNx64): Likewise.
26130 [C99-based-standards] (PRIdLEAST64): Likewise.
26131 [C99-based-standards] (PRIiLEAST64): Likewise.
26132 [C99-based-standards] (PRIoLEAST64): Likewise.
26133 [C99-based-standards] (PRIuLEAST64): Likewise.
26134 [C99-based-standards] (PRIxLEAST64): Likewise.
26135 [C99-based-standards] (PRIXLEAST64): Likewise.
26136 [C99-based-standards] (SCNdLEAST64): Likewise.
26137 [C99-based-standards] (SCNiLEAST64): Likewise.
26138 [C99-based-standards] (SCNoLEAST64): Likewise.
26139 [C99-based-standards] (SCNuLEAST64): Likewise.
26140 [C99-based-standards] (SCNxLEAST64): Likewise.
26141 [C99-based-standards] (PRIdFAST64): Likewise.
26142 [C99-based-standards] (PRIiFAST64): Likewise.
26143 [C99-based-standards] (PRIoFAST64): Likewise.
26144 [C99-based-standards] (PRIuFAST64): Likewise.
26145 [C99-based-standards] (PRIxFAST64): Likewise.
26146 [C99-based-standards] (PRIXFAST64): Likewise.
26147 [C99-based-standards] (SCNdFAST64): Likewise.
26148 [C99-based-standards] (SCNiFAST64): Likewise.
26149 [C99-based-standards] (SCNoFAST64): Likewise.
26150 [C99-based-standards] (SCNuFAST64): Likewise.
26151 [C99-based-standards] (SCNxFAST64): Likewise.
26152 [C99-based-standards] (PRIdMAX): Likewise.
26153 [C99-based-standards] (PRIiMAX): Likewise.
26154 [C99-based-standards] (PRIoMAX): Likewise.
26155 [C99-based-standards] (PRIuMAX): Likewise.
26156 [C99-based-standards] (PRIxMAX): Likewise.
26157 [C99-based-standards] (PRIXMAX): Likewise.
26158 [C99-based-standards] (SCNdMAX): Likewise.
26159 [C99-based-standards] (SCNiMAX): Likewise.
26160 [C99-based-standards] (SCNoMAX): Likewise.
26161 [C99-based-standards] (SCNuMAX): Likewise.
26162 [C99-based-standards] (SCNxMAX): Likewise.
26163 [C99-based-standards] (PRIdPTR): Likewise.
26164 [C99-based-standards] (PRIiPTR): Likewise.
26165 [C99-based-standards] (PRIoPTR): Likewise.
26166 [C99-based-standards] (PRIuPTR): Likewise.
26167 [C99-based-standards] (PRIxPTR): Likewise.
26168 [C99-based-standards] (PRIXPTR): Likewise.
26169 [C99-based-standards] (SCNdPTR): Likewise.
26170 [C99-based-standards] (SCNiPTR): Likewise.
26171 [C99-based-standards] (SCNoPTR): Likewise.
26172 [C99-based-standards] (SCNuPTR): Likewise.
26173 [C99-based-standards] (SCNxPTR): Likewise.
26174 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26175 allow.
26176 * conform/data/stdint.h-data: Update comments to clarify
26177 requirements.
26178 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26179 type.
26180 [C99-based standards] (INT8_MAX): Likewise.
26181 [C99-based standards] (INT16_MIN): Likewise.
26182 [C99-based standards] (INT16_MAX): Likewise.
26183 [C99-based standards] (INT32_MIN): Likewise.
26184 [C99-based standards] (INT32_MAX): Likewise.
26185 [C99-based standards] (INT64_MIN): Likewise.
26186 [C99-based standards] (INT64_MAX): Likewise.
26187 [C99-based standards] (UINT8_MAX): Likewise.
26188 [C99-based standards] (UINT16_MAX): Likewise.
26189 [C99-based standards] (UINT32_MAX): Likewise.
26190 [C99-based standards] (UINT64_MAX): Likewise.
26191 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26192 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26193 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26194 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26195 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26196 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26197 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26198 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26199 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26200 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26201 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26202 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26203 [C99-based standards] (INT_FAST8_MIN): Likewise.
26204 [C99-based standards] (INT_FAST8_MAX): Likewise.
26205 [C99-based standards] (INT_FAST16_MIN): Likewise.
26206 [C99-based standards] (INT_FAST16_MAX): Likewise.
26207 [C99-based standards] (INT_FAST32_MIN): Likewise.
26208 [C99-based standards] (INT_FAST32_MAX): Likewise.
26209 [C99-based standards] (INT_FAST64_MIN): Likewise.
26210 [C99-based standards] (INT_FAST64_MAX): Likewise.
26211 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26212 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26213 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26214 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26215 [C99-based standards] (INTPTR_MIN): Likewise.
26216 [C99-based standards] (INTPTR_MAX): Likewise.
26217 [C99-based standards] (UINTPTR_MAX): Likewise.
26218 [C99-based standards] (INTMAX_MIN): Likewise.
26219 [C99-based standards] (INTMAX_MAX): Likewise.
26220 [C99-based standards] (UINTMAX_MAX): Likewise.
26221 [C99-based standards] (PTRDIFF_MIN): Likewise.
26222 [C99-based standards] (PTRDIFF_MAX): Likewise.
26223 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26224 [C99-based standards] (SIZE_MAX): Likewise.
26225 [C99-based standards] (WCHAR_MAX): Likewise.
26226 [C99-based standards] (WINT_MAX): Likewise.
26227 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26228 constraint on value.
26229 [C99-based standards] (WCHAR_MIN): Likewise.
26230 [C99-based standards] (WINT_MIN): Likewise.
26231 [C99-based standards] (*_t): Allow.
26232 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26233 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26234 Include math.h-data and complex.h-data. Remove all expectations
26235 of math.h and complex.h contents.
26236 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26237 at end of line.
26238 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26239 (struct tm): Expect tag.
26240 [C99-based-standards] (wcstof): Expect function.
26241 [C99-based-standards] (wcstold): Likewise.
26242 [C99-based-standards] (wcstoll): Likewise.
26243 [C99-based-standards] (wcstoull): Likewise.
26244 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26245 macro-int-constant. Specify type.
26246 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26247 constraint on value.
26248 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26249 Specify type.
26250 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26251 Specify value.
26252 [ISO C standards]: Do not allow headers.
26253 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26254 wcs[abcdefghijklmnopqrstuvwxyz]*.
26255 [ISO C standards] (*_t): Do not allow.
26256 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26257 Expect function.
26258 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26259 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26260 Specify type.
26261 [ISO C standards]: Do not allow headers.
26262 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26263 is[abcdefghijklmnopqrstuvwxyz]*.
26264 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26265 to[abcdefghijklmnopqrstuvwxyz]*.
26266 [ISO C standards] (*_t): Do not allow.
26267 * conform/data/stdalign.h-data: New file.
26268 * conform/data/stdbool.h-data: Likewise.
26269 * conform/data/stdnoreturn.h-data: Likewise.
26270
7514feb8
RM
262712012-11-07 Roland McGrath <roland@hack.frob.com>
26272
26273 [BZ #14815]
26274 * manual/filesys.texi (Directory Entries): Typo fix.
26275 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26276
19b2ecfc
MS
262772012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26278
26279 * elf/elf.h (EM_AARCH64): New macro.
26280 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26281 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26282 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26283 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26284 (R_AARCH64_TLSDESC): Likewise.
26285 (NT_ARM_TLS): Likewise.
26286 (NT_ARM_HW_BREAK): Likewise.
26287 (NT_ARM_HW_WATCH): Likewise.
26288
60e235ee
JM
262892012-11-07 Joseph Myers <joseph@codesourcery.com>
26290
26291 [BZ #14811]
26292 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26293 (__ieee754_powl): Saturate nonzero exponents with absolute value
26294 below 0x1p-79 to +/- 0x1p-79.
26295 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26296 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26297 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26298 nonzero exponents with absolute value below 0x1p-32 to +/-
26299 0x1p-32.
26300 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26301 (__ieee754_powl): Saturate nonzero exponents with absolute value
26302 below 0x1p-79 to +/- 0x1p-79.
26303 * math/libm-test.inc (pow_test): Add more tests.
26304
0ab234b7
AK
263052012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26306
26307 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26308 _dl_s390_cap_flags with kernel. Increase string length.
26309 (_dl_s390_platforms): Add z196 and zEC12.
26310
45832f74
JM
263112012-11-07 Joseph Myers <joseph@codesourcery.com>
26312
26313 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26314 Change XOPEN21K to XOPEN2K.
26315
19218757
MK
263162012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26317
26318 * string/memmove.c: Use memcpy when possible.
26319
c5f45721
AJ
263202012-11-06 Andreas Jaeger <aj@suse.de>
26321
26322 * po/eo.po: Update from translation team.
26323
82477c28
JM
263242012-11-06 Joseph Myers <joseph@codesourcery.com>
26325
26326 [BZ #14793]
26327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26328 exponent and small x and y exponents, scale x or y up. Increase
26329 by 2 the exponent used in scaling up.
26330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26332 * math/libm-test.inc (fma_test): Add more tests.
26333 (fma_test_towardzero): Likewise.
26334 (fma_test_downward): Likewise.
26335 (fma_test_upward): Likewise.
26336
99252c8c
JM
263372012-11-05 Joseph Myers <joseph@codesourcery.com>
26338
acfa885f
JM
26339 [BZ #14805]
26340 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26341 fenv_t *.
26342
99252c8c
JM
26343 [BZ #14801]
26344 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26345 namespace for names of struct fields.
26346 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26347 fenv_t fields.
26348 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26349 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26350
d6d98dea
ST
263512012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26352
26353 [BZ #3665]
26354 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26355
e10bb107
TS
263562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26357
26358 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26359 PTR_DEMANGLE.
26360
26361 [BZ #5246]
26362 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26363 PTR_DEMANGLE.
26364
a0c2940d
JM
263652012-11-04 Joseph Myers <joseph@codesourcery.com>
26366
26367 [BZ #14797]
26368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26369 definitely overflow as x * y not x * y + z.
26370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26371 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26372 * math/libm-test.inc (fma_test): Add more tests.
26373 (fma_test_towardzero): Likewise.
26374 (fma_test_downward): Likewise.
26375 (fma_test_upward): Likewise.
26376
b830319d
TS
263772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26378
26379 [BZ #157]
26380
26381 * include/stub-tag.h: Remove file.
26382 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26383 '#include' of it.
26384 * manual/maint.texi (Porting): Don't reference it.
26385 * Makerules ($(objpfx)stubs): Likewise.
26386 * dirent/closedir.c: Don't include <stub-tag.h>.
26387 * dirent/dirfd.c: Likewise.
26388 * dirent/fdopendir.c: Likewise.
26389 * dirent/getdents.c: Likewise.
26390 * dirent/getdents64.c: Likewise.
26391 * dirent/opendir.c: Likewise.
26392 * dirent/readdir.c: Likewise.
26393 * dirent/readdir64.c: Likewise.
26394 * dirent/readdir64_r.c: Likewise.
26395 * dirent/readdir_r.c: Likewise.
26396 * dirent/rewinddir.c: Likewise.
26397 * dirent/seekdir.c: Likewise.
26398 * dirent/telldir.c: Likewise.
26399 * gmon/profil.c: Likewise.
26400 * grp/setgroups.c: Likewise.
26401 * inet/if_index.c: Likewise.
26402 * io/access.c: Likewise.
26403 * io/chdir.c: Likewise.
26404 * io/chmod.c: Likewise.
26405 * io/chown.c: Likewise.
26406 * io/close.c: Likewise.
26407 * io/dup.c: Likewise.
26408 * io/dup2.c: Likewise.
26409 * io/dup3.c: Likewise.
26410 * io/euidaccess.c: Likewise.
26411 * io/faccessat.c: Likewise.
26412 * io/fchdir.c: Likewise.
26413 * io/fchmod.c: Likewise.
26414 * io/fchmodat.c: Likewise.
26415 * io/fchown.c: Likewise.
26416 * io/fchownat.c: Likewise.
26417 * io/fcntl.c: Likewise.
26418 * io/flock.c: Likewise.
26419 * io/fstatfs.c: Likewise.
26420 * io/fstatfs64.c: Likewise.
26421 * io/fstatvfs.c: Likewise.
26422 * io/fstatvfs64.c: Likewise.
26423 * io/futimens.c: Likewise.
26424 * io/fxstat.c: Likewise.
26425 * io/fxstat64.c: Likewise.
26426 * io/fxstatat.c: Likewise.
26427 * io/fxstatat64.c: Likewise.
26428 * io/getcwd.c: Likewise.
26429 * io/isatty.c: Likewise.
26430 * io/lchmod.c: Likewise.
26431 * io/lchown.c: Likewise.
26432 * io/link.c: Likewise.
26433 * io/linkat.c: Likewise.
26434 * io/lseek.c: Likewise.
26435 * io/lseek64.c: Likewise.
26436 * io/lxstat64.c: Likewise.
26437 * io/mkdir.c: Likewise.
26438 * io/mkdirat.c: Likewise.
26439 * io/mkfifo.c: Likewise.
26440 * io/mkfifoat.c: Likewise.
26441 * io/open.c: Likewise.
26442 * io/open64.c: Likewise.
26443 * io/openat.c: Likewise.
26444 * io/openat64.c: Likewise.
26445 * io/pipe.c: Likewise.
26446 * io/pipe2.c: Likewise.
26447 * io/poll.c: Likewise.
26448 * io/posix_fadvise.c: Likewise.
26449 * io/posix_fadvise64.c: Likewise.
26450 * io/posix_fallocate.c: Likewise.
26451 * io/posix_fallocate64.c: Likewise.
26452 * io/read.c: Likewise.
26453 * io/readlink.c: Likewise.
26454 * io/readlinkat.c: Likewise.
26455 * io/rmdir.c: Likewise.
26456 * io/sendfile.c: Likewise.
26457 * io/sendfile64.c: Likewise.
26458 * io/statfs.c: Likewise.
26459 * io/statfs64.c: Likewise.
26460 * io/statvfs.c: Likewise.
26461 * io/statvfs64.c: Likewise.
26462 * io/symlink.c: Likewise.
26463 * io/symlinkat.c: Likewise.
26464 * io/ttyname.c: Likewise.
26465 * io/ttyname_r.c: Likewise.
26466 * io/umask.c: Likewise.
26467 * io/unlink.c: Likewise.
26468 * io/unlinkat.c: Likewise.
26469 * io/utime.c: Likewise.
26470 * io/utimensat.c: Likewise.
26471 * io/write.c: Likewise.
26472 * io/xmknod.c: Likewise.
26473 * io/xmknodat.c: Likewise.
26474 * io/xstat.c: Likewise.
26475 * io/xstat64.c: Likewise.
26476 * login/getpt.c: Likewise.
26477 * login/grantpt.c: Likewise.
26478 * login/unlockpt.c: Likewise.
26479 * math/e_acoshl.c: Likewise.
26480 * math/e_acosl.c: Likewise.
26481 * math/e_asinl.c: Likewise.
26482 * math/e_atan2l.c: Likewise.
26483 * math/e_atanhl.c: Likewise.
26484 * math/e_coshl.c: Likewise.
26485 * math/e_expl.c: Likewise.
26486 * math/e_fmodl.c: Likewise.
26487 * math/e_gammal_r.c: Likewise.
26488 * math/e_hypotl.c: Likewise.
26489 * math/e_j0l.c: Likewise.
26490 * math/e_j1l.c: Likewise.
26491 * math/e_jnl.c: Likewise.
26492 * math/e_lgammal_r.c: Likewise.
26493 * math/e_log10l.c: Likewise.
26494 * math/e_log2l.c: Likewise.
26495 * math/e_logl.c: Likewise.
26496 * math/e_powl.c: Likewise.
26497 * math/e_rem_pio2l.c: Likewise.
26498 * math/e_sinhl.c: Likewise.
26499 * math/e_sqrtl.c: Likewise.
26500 * math/fclrexcpt.c: Likewise.
26501 * math/fedisblxcpt.c: Likewise.
26502 * math/feenablxcpt.c: Likewise.
26503 * math/fegetenv.c: Likewise.
26504 * math/fegetexcept.c: Likewise.
26505 * math/fegetround.c: Likewise.
26506 * math/feholdexcpt.c: Likewise.
26507 * math/fesetenv.c: Likewise.
26508 * math/fesetround.c: Likewise.
26509 * math/feupdateenv.c: Likewise.
26510 * math/fgetexcptflg.c: Likewise.
26511 * math/fraiseexcpt.c: Likewise.
26512 * math/fsetexcptflg.c: Likewise.
26513 * math/ftestexcept.c: Likewise.
26514 * math/k_cosl.c: Likewise.
26515 * math/k_rem_pio2l.c: Likewise.
26516 * math/k_sinl.c: Likewise.
26517 * math/k_tanl.c: Likewise.
26518 * math/s_asinhl.c: Likewise.
26519 * math/s_atanl.c: Likewise.
26520 * math/s_cbrtl.c: Likewise.
26521 * math/s_erfl.c: Likewise.
26522 * math/s_expm1l.c: Likewise.
26523 * math/s_log1pl.c: Likewise.
26524 * math/s_tanhl.c: Likewise.
26525 * misc/acct.c: Likewise.
26526 * misc/brk.c: Likewise.
26527 * misc/chflags.c: Likewise.
26528 * misc/chroot.c: Likewise.
26529 * misc/fchflags.c: Likewise.
26530 * misc/fgetxattr.c: Likewise.
26531 * misc/flistxattr.c: Likewise.
26532 * misc/fremovexattr.c: Likewise.
26533 * misc/fsetxattr.c: Likewise.
26534 * misc/fsync.c: Likewise.
26535 * misc/ftruncate.c: Likewise.
26536 * misc/futimes.c: Likewise.
26537 * misc/futimesat.c: Likewise.
26538 * misc/getdomain.c: Likewise.
26539 * misc/getdtsz.c: Likewise.
26540 * misc/gethostid.c: Likewise.
26541 * misc/gethostname.c: Likewise.
26542 * misc/getloadavg.c: Likewise.
26543 * misc/getpagesize.c: Likewise.
26544 * misc/getsysstats.c: Likewise.
26545 * misc/getxattr.c: Likewise.
26546 * misc/gtty.c: Likewise.
26547 * misc/ioctl.c: Likewise.
26548 * misc/lgetxattr.c: Likewise.
26549 * misc/listxattr.c: Likewise.
26550 * misc/llistxattr.c: Likewise.
26551 * misc/lremovexattr.c: Likewise.
26552 * misc/lsetxattr.c: Likewise.
26553 * misc/lutimes.c: Likewise.
26554 * misc/madvise.c: Likewise.
26555 * misc/mincore.c: Likewise.
26556 * misc/mlock.c: Likewise.
26557 * misc/mlockall.c: Likewise.
26558 * misc/mmap.c: Likewise.
26559 * misc/mprotect.c: Likewise.
26560 * misc/msync.c: Likewise.
26561 * misc/munlock.c: Likewise.
26562 * misc/munlockall.c: Likewise.
26563 * misc/munmap.c: Likewise.
26564 * misc/preadv.c: Likewise.
26565 * misc/preadv64.c: Likewise.
26566 * misc/ptrace.c: Likewise.
26567 * misc/pwritev.c: Likewise.
26568 * misc/pwritev64.c: Likewise.
26569 * misc/readv.c: Likewise.
26570 * misc/reboot.c: Likewise.
26571 * misc/remap_file_pages.c: Likewise.
26572 * misc/removexattr.c: Likewise.
26573 * misc/revoke.c: Likewise.
26574 * misc/select.c: Likewise.
26575 * misc/setdomain.c: Likewise.
26576 * misc/setegid.c: Likewise.
26577 * misc/seteuid.c: Likewise.
26578 * misc/sethostid.c: Likewise.
26579 * misc/sethostname.c: Likewise.
26580 * misc/setregid.c: Likewise.
26581 * misc/setreuid.c: Likewise.
26582 * misc/setxattr.c: Likewise.
26583 * misc/sstk.c: Likewise.
26584 * misc/stty.c: Likewise.
26585 * misc/swapoff.c: Likewise.
26586 * misc/swapon.c: Likewise.
26587 * misc/sync.c: Likewise.
26588 * misc/syncfs.c: Likewise.
26589 * misc/syscall.c: Likewise.
26590 * misc/truncate.c: Likewise.
26591 * misc/ualarm.c: Likewise.
26592 * misc/usleep.c: Likewise.
26593 * misc/ustat.c: Likewise.
26594 * misc/utimes.c: Likewise.
26595 * misc/vhangup.c: Likewise.
26596 * misc/writev.c: Likewise.
26597 * posix/_exit.c: Likewise.
26598 * posix/alarm.c: Likewise.
26599 * posix/execve.c: Likewise.
26600 * posix/fexecve.c: Likewise.
26601 * posix/fork.c: Likewise.
26602 * posix/fpathconf.c: Likewise.
26603 * posix/getaddrinfo.c: Likewise.
26604 * posix/getegid.c: Likewise.
26605 * posix/geteuid.c: Likewise.
26606 * posix/getgid.c: Likewise.
26607 * posix/getgroups.c: Likewise.
26608 * posix/getlogin.c: Likewise.
26609 * posix/getlogin_r.c: Likewise.
26610 * posix/getpgid.c: Likewise.
26611 * posix/getpid.c: Likewise.
26612 * posix/getppid.c: Likewise.
26613 * posix/getresgid.c: Likewise.
26614 * posix/getresuid.c: Likewise.
26615 * posix/getsid.c: Likewise.
26616 * posix/getuid.c: Likewise.
26617 * posix/glob64.c: Likewise.
26618 * posix/nanosleep.c: Likewise.
26619 * posix/pathconf.c: Likewise.
26620 * posix/pause.c: Likewise.
26621 * posix/posix_madvise.c: Likewise.
26622 * posix/pread.c: Likewise.
26623 * posix/pread64.c: Likewise.
26624 * posix/pwrite.c: Likewise.
26625 * posix/pwrite64.c: Likewise.
26626 * posix/sched_getaffinity.c: Likewise.
26627 * posix/sched_getp.c: Likewise.
26628 * posix/sched_gets.c: Likewise.
26629 * posix/sched_primax.c: Likewise.
26630 * posix/sched_primin.c: Likewise.
26631 * posix/sched_rr_gi.c: Likewise.
26632 * posix/sched_setaffinity.c: Likewise.
26633 * posix/sched_setp.c: Likewise.
26634 * posix/sched_sets.c: Likewise.
26635 * posix/sched_yield.c: Likewise.
26636 * posix/setgid.c: Likewise.
26637 * posix/setlogin.c: Likewise.
26638 * posix/setpgid.c: Likewise.
26639 * posix/setresgid.c: Likewise.
26640 * posix/setresuid.c: Likewise.
26641 * posix/setsid.c: Likewise.
26642 * posix/setuid.c: Likewise.
26643 * posix/sleep.c: Likewise.
26644 * posix/spawni.c: Likewise.
26645 * posix/sysconf.c: Likewise.
26646 * posix/times.c: Likewise.
26647 * posix/wait.c: Likewise.
26648 * posix/wait3.c: Likewise.
26649 * posix/wait4.c: Likewise.
26650 * posix/waitpid.c: Likewise.
26651 * resolv/gai_sigqueue.c: Likewise.
26652 * resource/getpriority.c: Likewise.
26653 * resource/getrlimit.c: Likewise.
26654 * resource/getrusage.c: Likewise.
26655 * resource/nice.c: Likewise.
26656 * resource/setpriority.c: Likewise.
26657 * resource/setrlimit.c: Likewise.
26658 * resource/ulimit.c: Likewise.
26659 * rt/aio_cancel.c: Likewise.
26660 * rt/aio_fsync.c: Likewise.
26661 * rt/aio_read.c: Likewise.
26662 * rt/aio_sigqueue.c: Likewise.
26663 * rt/aio_suspend.c: Likewise.
26664 * rt/aio_write.c: Likewise.
26665 * rt/clock_getres.c: Likewise.
26666 * rt/clock_gettime.c: Likewise.
26667 * rt/clock_nanosleep.c: Likewise.
26668 * rt/clock_settime.c: Likewise.
26669 * rt/lio_listio.c: Likewise.
26670 * rt/mq_close.c: Likewise.
26671 * rt/mq_getattr.c: Likewise.
26672 * rt/mq_notify.c: Likewise.
26673 * rt/mq_open.c: Likewise.
26674 * rt/mq_receive.c: Likewise.
26675 * rt/mq_send.c: Likewise.
26676 * rt/mq_setattr.c: Likewise.
26677 * rt/mq_timedreceive.c: Likewise.
26678 * rt/mq_timedsend.c: Likewise.
26679 * rt/mq_unlink.c: Likewise.
26680 * rt/shm_open.c: Likewise.
26681 * rt/shm_unlink.c: Likewise.
26682 * rt/timer_create.c: Likewise.
26683 * rt/timer_delete.c: Likewise.
26684 * rt/timer_getoverr.c: Likewise.
26685 * rt/timer_gettime.c: Likewise.
26686 * rt/timer_settime.c: Likewise.
26687 * setjmp/__longjmp.c: Likewise.
26688 * setjmp/setjmp.c: Likewise.
26689 * signal/kill.c: Likewise.
26690 * signal/killpg.c: Likewise.
26691 * signal/raise.c: Likewise.
26692 * signal/sigaction.c: Likewise.
26693 * signal/sigaltstack.c: Likewise.
26694 * signal/sigblock.c: Likewise.
26695 * signal/sigignore.c: Likewise.
26696 * signal/sigintr.c: Likewise.
26697 * signal/signal.c: Likewise.
26698 * signal/sigpause.c: Likewise.
26699 * signal/sigpending.c: Likewise.
26700 * signal/sigqueue.c: Likewise.
26701 * signal/sigreturn.c: Likewise.
26702 * signal/sigset.c: Likewise.
26703 * signal/sigsetmask.c: Likewise.
26704 * signal/sigstack.c: Likewise.
26705 * signal/sigsuspend.c: Likewise.
26706 * signal/sigtimedwait.c: Likewise.
26707 * signal/sigvec.c: Likewise.
26708 * signal/sigwait.c: Likewise.
26709 * signal/sigwaitinfo.c: Likewise.
26710 * signal/sysv_signal.c: Likewise.
26711 * socket/accept.c: Likewise.
26712 * socket/accept4.c: Likewise.
26713 * socket/bind.c: Likewise.
26714 * socket/connect.c: Likewise.
26715 * socket/getpeername.c: Likewise.
26716 * socket/getsockname.c: Likewise.
26717 * socket/getsockopt.c: Likewise.
26718 * socket/isfdtype.c: Likewise.
26719 * socket/listen.c: Likewise.
26720 * socket/recv.c: Likewise.
26721 * socket/recvfrom.c: Likewise.
26722 * socket/recvmsg.c: Likewise.
26723 * socket/send.c: Likewise.
26724 * socket/sendmsg.c: Likewise.
26725 * socket/sendto.c: Likewise.
26726 * socket/setsockopt.c: Likewise.
26727 * socket/shutdown.c: Likewise.
26728 * socket/sockatmark.c: Likewise.
26729 * socket/socket.c: Likewise.
26730 * socket/socketpair.c: Likewise.
26731 * stdio-common/ctermid.c: Likewise.
26732 * stdio-common/cuserid.c: Likewise.
26733 * stdio-common/remove.c: Likewise.
26734 * stdio-common/rename.c: Likewise.
26735 * stdio-common/renameat.c: Likewise.
26736 * stdio-common/tempname.c: Likewise.
26737 * stdlib/getcontext.c: Likewise.
26738 * stdlib/makecontext.c: Likewise.
26739 * stdlib/setcontext.c: Likewise.
26740 * stdlib/swapcontext.c: Likewise.
26741 * stdlib/system.c: Likewise.
26742 * streams/fattach.c: Likewise.
26743 * streams/fdetach.c: Likewise.
26744 * streams/getmsg.c: Likewise.
26745 * streams/getpmsg.c: Likewise.
26746 * streams/putmsg.c: Likewise.
26747 * streams/putpmsg.c: Likewise.
26748 * sysdeps/unix/bsd/getpt.c: Likewise.
26749 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26750 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26751 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26753 Likewise.
26754 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26755 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26756 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26757 * sysvipc/msgctl.c: Likewise.
26758 * sysvipc/msgget.c: Likewise.
26759 * sysvipc/msgrcv.c: Likewise.
26760 * sysvipc/msgsnd.c: Likewise.
26761 * sysvipc/semctl.c: Likewise.
26762 * sysvipc/semget.c: Likewise.
26763 * sysvipc/semop.c: Likewise.
26764 * sysvipc/semtimedop.c: Likewise.
26765 * sysvipc/shmat.c: Likewise.
26766 * sysvipc/shmctl.c: Likewise.
26767 * sysvipc/shmdt.c: Likewise.
26768 * sysvipc/shmget.c: Likewise.
26769 * termios/tcdrain.c: Likewise.
26770 * termios/tcflow.c: Likewise.
26771 * termios/tcflush.c: Likewise.
26772 * termios/tcgetattr.c: Likewise.
26773 * termios/tcgetpgrp.c: Likewise.
26774 * termios/tcsendbrk.c: Likewise.
26775 * termios/tcsetattr.c: Likewise.
26776 * termios/tcsetpgrp.c: Likewise.
26777 * time/adjtime.c: Likewise.
26778 * time/clock.c: Likewise.
26779 * time/getitimer.c: Likewise.
26780 * time/gettimeofday.c: Likewise.
26781 * time/setitimer.c: Likewise.
26782 * time/settimeofday.c: Likewise.
26783 * time/stime.c: Likewise.
26784 * time/time.c: Likewise.
26785
267862012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 26787
a20492cf
PT
26788 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26789 /usr/old/bin.
26790
72e182e3
PT
26791 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26792 instead of spaces.
26793 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26794
fbeafede
JM
267952012-11-03 Joseph Myers <joseph@codesourcery.com>
26796
5b5b04d6
JM
26797 [BZ #14796]
26798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26799 FE_TONEAREST before applying Dekker multiplication and Knuth
26800 addition. Clear inexact exceptions and check for exact zero
26801 results afterwards.
26802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26803 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26805 * math/libm-test.inc (fma_test): Add more tests.
26806 (fma_test_towardzero): Likewise.
26807 (fma_test_downward): Likewise.
26808 (fma_test_upward): Likewise.
26809 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26810 function.
26811 (libc_fesetround): New macro.
26812 (libc_fesetroundf): Likewise.
26813 (libc_fesetroundl): Likewise.
26814 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26815 function.
26816 (libc_fesetround_387): Likewise.
26817 (libc_fesetroundf): New macro.
26818 (libc_fesetround): Likewise.
26819 (libc_fesetroundl): Likewise.
26820 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26821 function.
26822 (libc_fesetroundf): New macro.
26823 (libc_fesetround): Likewise.
26824 (libc_fesetroundl): Likewise.
26825 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26826 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26827 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26828 libm_hidden_ver.
26829 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26830 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26831 libm_hidden_def.
26832 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26833 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26834 libm_hidden_ver.
26835 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26836 libm_hidden_def.
26837
fbeafede
JM
26838 [BZ #3439]
26839 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26840 integer constant usable in #if and use that to give value to enum
26841 constant.
26842 (FE_DIVBYZERO): Likewise.
26843 (FE_UNDERFLOW): Likewise.
26844 (FE_OVERFLOW): Likewise.
26845 (FE_INVALID): Likewise.
26846 (FE_INVALID_SNAN): Likewise.
26847 (FE_INVALID_ISI): Likewise.
26848 (FE_INVALID_IDI): Likewise.
26849 (FE_INVALID_ZDZ): Likewise.
26850 (FE_INVALID_IMZ): Likewise.
26851 (FE_INVALID_COMPARE): Likewise.
26852 (FE_INVALID_SOFTWARE): Likewise.
26853 (FE_INVALID_SQRT): Likewise.
26854 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26855 (FE_TONEAREST): Likewise.
26856 (FE_TOWARDZERO): Likewise.
26857 (FE_UPWARD): Likewise.
26858 (FE_DOWNWARD): Likewise.
26859 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26860 (FE_DIVBYZERO): Likewise.
26861 (FE_OVERFLOW): Likewise.
26862 (FE_UNDERFLOW): Likewise.
26863 (FE_INEXACT): Likewise.
26864 (FE_TONEAREST): Likewise.
26865 (FE_DOWNWARD): Likewise.
26866 (FE_UPWARD): Likewise.
26867 (FE_TOWARDZERO): Likewise.
26868 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26869 (FE_UNDERFLOW): Likewise.
26870 (FE_OVERFLOW): Likewise.
26871 (FE_DIVBYZERO): Likewise.
26872 (FE_INVALID): Likewise.
26873 (FE_TONEAREST): Likewise.
26874 (FE_TOWARDZERO): Likewise.
26875 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26876 (FE_OVERFLOW): Likewise.
26877 (FE_UNDERFLOW): Likewise.
26878 (FE_DIVBYZERO): Likewise.
26879 (FE_INEXACT): Likewise.
26880 (FE_TONEAREST): Likewise.
26881 (FE_TOWARDZERO): Likewise.
26882 (FE_UPWARD): Likewise.
26883 (FE_DOWNWARD): Likewise.
26884 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26885 (FE_DIVBYZERO): Likewise.
26886 (FE_OVERFLOW): Likewise.
26887 (FE_UNDERFLOW): Likewise.
26888 (FE_INEXACT): Likewise.
26889 (FE_TONEAREST): Likewise.
26890 (FE_DOWNWARD): Likewise.
26891 (FE_UPWARD): Likewise.
26892 (FE_TOWARDZERO): Likewise.
26893
105ca950
CM
268942012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26895
26896 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26897
a542b389
AS
268982012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26899
26900 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26901 commands. Quote $PWD.
26902 (blacklist_exports): Don't use remove_newlines. Replace "declare
26903 -x" by "export".
26904 (remove_newlines): Remove.
26905
f62c8abc
L
269062012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26907
26908 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26909 * stdlib/stdlib.h (atof): Moved to ...
26910 * include/bits/stdlib-float.h: Here. New file.
26911 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26912 * stdlib/bits/stdlib-float.h: New file.
26913 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26914 -mno-sse -mno-mmx.
26915 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26916 <xmmintrin.h>.
26917
0155d5b2
JM
269182012-11-02 Joseph Myers <joseph@codesourcery.com>
26919
a68d0680
JM
26920 * conform/conformtest.pl (@headers): Add fenv.h.
26921 * conform/data/fenv.h-data: New file.
26922 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26923 include of <math/fenv.h>.
26924
caf7f573
JM
26925 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26926 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26927 && !UNIX98]. Enables tests for XOPEN2K8.
26928 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26929 POSIX2008]: Likewise.
26930
6c073ad6
JM
26931 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26932 (struct rusage): Do not expect type or its members.
26933
0155d5b2
JM
26934 [BZ #3439]
26935 * math/math.h (FP_NAN): Define macro to integer constant usable in
26936 #if and use that to give value to enum constant.
26937 (FP_INFINITE): Likewise.
26938 (FP_ZERO): Likewise.
26939 (FP_SUBNORMAL): Likewise.
26940 (FP_NORMAL): Likewise.
26941
b5dcacb4
AS
269422012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26943
26944 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26945 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26946 arguments.
26947
f7934be8
RM
269482012-11-02 Roland McGrath <roland@hack.frob.com>
26949
26950 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26951 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26952 autoconf-time if not.
26953 * configure.in: Remove AC_PREREQ.
26954
d7d08bde
TMQMF
269552012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26956
26957 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26958 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26959 of the internal implementation.
26960
dcdae19a
JM
269612012-11-02 Joseph Myers <joseph@codesourcery.com>
26962
26963 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26964 except include of <misc/sys/syslog.h>.
26965
d6cffd3e
AS
269662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26967
26968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26969 function returns with a NULL context exit with zero.
26970
b3563932
TMQMF
269712012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26972
26973 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26974
b288a93d
L
269752012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26976
26977 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26978 (run_program_cmd): This.
26979 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26980 (tst_langinfo): New variable. Use it.
26981
a2421a68
SAS
269822012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26983
26984 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26985 floating point opcodes.
26986
6f796e1b
TS
269872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26988
7402596b
TS
26989 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26990 variable.
26991
d0d4f868
TS
26992 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26993
6f796e1b
TS
26994 * sysdeps/mach/hurd/powerpc: Remove directory.
26995 * sysdeps/mach/powerpc: Likewise.
26996
4da224a2
AS
269972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26998
26999 * scripts/check-local-headers.sh: Ignore c++ headers.
27000
341dd673
TS
270012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27002
27003 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27004 __libc_cleanup_region_start argument.
27005
473611b2
JM
270062012-11-01 Joseph Myers <joseph@codesourcery.com>
27007
27008 [BZ #14784]
27009 [BZ #14785]
27010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27011 x * y using scaling, not as x * y + z.
27012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27014 * math/libm-test.inc (fma_test): Add more tests.
27015 (fma_test_towardzero): Likewise.
27016 (fma_test_downward): Likewise.
27017 (fma_test_upward): Likewise.
27018
4078da3d
TS
270192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27020
27021 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27022
903252aa
JM
270232012-10-31 Joseph Myers <joseph@codesourcery.com>
27024
27025 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27026 New variable.
27027
cbc818d0
TS
270282012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27029
27030 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27031
5a03cb1e
AS
270322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27033
27034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27035 Fix sort order.
27036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27037 Likewise.
27038
90aff2ff
TMQMF
270392012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27040
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27042 Fix the order of the list for glibc 2.17.
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27044 Likewise.
27045
1818fcb7
AS
270462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27047
27048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27049
ef82f4da
JM
270502012-10-31 Joseph Myers <joseph@codesourcery.com>
27051
16a0e2ec
JM
27052 [BZ #14610]
27053 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27054 for low part of x being zero before using __atanl (y).
27055 * math/libm-test.inc (atan2_test): Add another test.
27056
0eb69512
JM
27057 * manual/install.texi (Configuring and compiling): Document
27058 general use of test-wrapper and test-wrapper-env.
27059 * INSTALL: Regenerated.
27060
ef82f4da
JM
27061 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27062 (__fma): Do not extract and scale down low bits on after-rounding
27063 systems when result rounded to normal precision would have normal
27064 exponent.
27065 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27066 (__fmal): Do not extract and scale down low bits on after-rounding
27067 systems when result rounded to normal precision would have normal
27068 exponent.
27069 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27070 (__fmal): Do not extract and scale down low bits on after-rounding
27071 systems when result rounded to normal precision would have normal
27072 exponent.
27073 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27074 macro.
27075 (fma_test): Add more tests.
27076 (fma_test_towardzero): Likewise.
27077 (fma_test_downward): Likewise.
27078 (fma_test_upward): Likewise.
27079
954ef0d9
L
270802012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27081
27082 * sysdeps/i386/tininess.h: Renamed to ...
27083 * sysdeps/x86/tininess.h: This.
27084 * sysdeps/x86_64/tininess.h: Removed.
27085
df61ffb2
JM
270862012-10-30 Joseph Myers <joseph@codesourcery.com>
27087
27088 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27089 input. Use $(build-program-cmd).
27090 ($(objpfx)tst-array1-static.out): Likewise.
27091 ($(objpfx)tst-array2.out): Likewise.
27092 ($(objpfx)tst-array3.out): Likewise.
27093 ($(objpfx)tst-array4.out): Likewise.
27094 ($(objpfx)tst-array5.out): Likewise.
27095 ($(objpfx)tst-array5-static.out): Likewise.
27096
01767843
CM
270972012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27098
47cc1490
CM
27099 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27100 if defined.
27101
01767843
CM
27102 * nss/nsswitch.h (nss_interface_function): Provide new
27103 macro for use with NSS functions.
27104 * grp/initgroups.c: Use new macro.
27105 * nss/getXXbyYY.c: Likewise.
27106 * nss/getXXbyYY_r.c: Likewise.
27107 * nss/getXXent.c: Likewise.
27108 * nss/getXXent_r.c: Likewise.
27109 * sysdeps/posix/getaddrinfo.c: Likewise.
27110
8321aa97
AJ
271112012-10-30 Andreas Jaeger <aj@suse.de>
27112
27113 * po/ru.po: Update Russion translation from translation project.
27114
2a27fd6d
JM
271152012-10-30 Joseph Myers <joseph@codesourcery.com>
27116
8627a232
JM
27117 [BZ #14152]
27118 [BZ #14783]
27119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27120 result and shift together with sticky bit instead of replicating
27121 round-to-nearest rounding.
27122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27124 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27125 missing underflow exceptions.
27126 (fma_test_towardzero): Add more tests.
27127 (fma_test_downward): Likewise.
27128 (fma_test_upward): Likewise.
27129
2a27fd6d
JM
27130 [BZ #14047]
27131 * sysdeps/generic/tininess.h: New file.
27132 * sysdeps/i386/tininess.h: Likewise.
27133 * sysdeps/sh/tininess.h: Likewise.
27134 * sysdeps/x86_64/tininess.h: Likewise.
27135 * stdlib/tst-strtod-underflow.c: Likewise.
27136 * stdlib/tst-tininess.c: Likewise.
27137 * stdlib/strtod_l.c: Include <tininess.h>.
27138 (round_and_return): Do not set errno for exact underflow cases.
27139 Force an underflow exception when setting errno for underflow.
27140 Determine underflow based on rounding to normal precision if
27141 TININESS_AFTER_ROUNDING.
27142 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27143 ERANGE for exact underflow cases.
27144 * stdlib/Makefile (tests): Add tst-tininess and
27145 tst-strtod-underflow.
27146 ($(objpfx)tst-tininess): Use $(link-libm).
27147 ($(objpfx)tst-strtod-underflow): Likewise.
27148
e7170363
AJ
271492012-10-30 Andreas Jaeger <aj@suse.de>
27150
e5088dc6
AJ
27151 [BZ#14767]
27152 * elf/Makefile (tests): Remove conditional for have-initfini-array
27153 since this is now always required and the variable does not exist
27154 anymore.
27155 (tests-static): Likewise.
27156 (modules-names): Likewise.
27157
e7170363 27158 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27159
27160 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27161 merged with constructor/destructor.
27162 (init_array): Likewise.
27163 * elf/tst-array2dep.c (fini_array): Likewise.
27164 (init_array): Likewise.
27165
60457d8a
MF
271662012-10-29 Mike Frysinger <vapier@gentoo.org>
27167
27168 * manual/message.texi: Delete @cartouche tags.
27169
8bece752
PT
271702012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27171
94ce799f
PT
27172 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27173 EOPNOTSUPP.
27174 * sysdeps/mach/hurd/fsync.c: Likewise.
27175
8bece752
PT
27176 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27177 [_POSIX_REALTIME_SIGNALS]: Change condition to
27178 [_POSIX_REALTIME_SIGNALS > 0].
27179
86ebe6b1
AJ
271802012-10-27 Andreas Jaeger <aj@suse.de>
27181
27182 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27183 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27185 [__WORDSIZE != 64]: Likewise.
27186
54399c08
L
271872012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27188
27189 * iconvdata/tst-table.sh: Remove ${SHELL}.
27190 * iconvdata/tst-tables.sh: Likewise.
27191
e2211bed
DM
271922012-10-25 David S. Miller <davem@davemloft.net>
27193
27194 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27195 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27196 of strtoull.
27197
f303f97c
DM
27198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27199 ifunc-impl-list.c
27200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27201 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27202 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27203 file.
27204
1e9d84cd
RM
272052012-10-25 Roland McGrath <roland@hack.frob.com>
27206
27207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27208 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27209 __getdirentries.
27210
df381762
JM
272112012-10-25 Joseph Myers <joseph@codesourcery.com>
27212 Jim Blandy <jimb@codesourcery.com>
27213
27214 * scripts/cross-test-ssh.sh: New file.
27215 * manual/install.texi (Configuring and compiling): Document use of
27216 cross-test-ssh.sh.
27217 * INSTALL: Regenerated.
27218
bff64913
PT
272192012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27220
27221 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27222 EOPNOTSUPP.
27223
25fe8932
JM
272242012-10-25 Joseph Myers <joseph@codesourcery.com>
27225
27226 * Makeconfig (run-program-prefix): Fix comment.
27227
cc1290d0
JM
272282012-10-24 Joseph Myers <joseph@codesourcery.com>
27229 Jim Blandy <jimb@codesourcery.com>
27230
27231 * Makeconfig (test-wrapper): New variable,
27232 (test-wrapper-env): Likewise.
27233 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27234 (run-built-tests): Define to yes.
27235 (run-program-prefix): Use $(test-wrapper).
27236 (built-program-cmd): Likewise.
27237 * Rules (make-test-out): Use $(test-wrapper-env) and
27238 $(host-built-program-cmd).
27239 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27240 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27241 tst-pathopt.sh.
27242 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27243 $(test-wrapper-env) to tst-rtld-load-self.sh.
27244 ($(objpfx)order2.out): Use $(test-wrapper).
27245 ($(objpfx)tst-initorder.out): Likewise.
27246 ($(objpfx)tst-initorder2.out): Likewise.
27247 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27248 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27249 (test_wrapper_env): New variable. Use it to run ld.so.
27250 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27251 Use it to run ld.so.
27252 (test_wrapper_env): Likewise.
27253 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27254 $(test-wrapper) to run-iconv-test.sh.
27255 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27256 (ICONV): Use $test_wrapper.
27257 * posix/Makefile ($(objpfx)globtest.out): Pass
27258 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27259 globtest.sh, not $(run-program-prefix).
27260 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27261 (test_wrapper): Likewise.
27262 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27263 set together with run_via_rtld_prefix.
27264 (run_program_prefix): Define in terms of test_wrapper and
27265 run_via_rtld_prefix.
27266
6e6249d0
RM
272672012-10-24 Roland McGrath <roland@hack.frob.com>
27268
27269 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27270 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27271 Targets removed.
27272
27273 [BZ #14743]
27274 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27275 Declare __clock_getres, __clock_gettime, __clock_settime,
27276 __clock_nanosleep, and __clock_getcpuclockid.
27277 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27278 Remove librt_hidden_def (clock_gettime).
27279 * sysdeps/unix/clock_gettime.c: Likewise.
27280 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27282 * rt/clock_getres.c: Define __clock_getres as an alias.
27283 * sysdeps/posix/clock_getres.c: Likewise.
27284 * rt/clock_settime.c: Define __clock_settime as an alias.
27285 * sysdeps/unix/clock_settime.c: Likewise.
27286 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27287 * sysdeps/unix/clock_nanosleep.c: Likewise.
27288 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27289 * rt/clock-compat.c: New file.
27290 * rt/Makefile (librt-routines): Add clock-compat and move
27291 $(clock-routines) to ...
27292 (routines): ... here, new variable.
27293 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27294 Don't add get_clockfreq here.
27295 * rt/Versions (libc: GLIBC_2.17): New version set.
27296 Add clock_* symbols here.
27297 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27299 (GLIBC_2.17): Add clock_* symbols.
27300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27304 Likewise.
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27306 Likewise.
27307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27311 * NEWS: Mention the move.
27312
27313 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27314 Use __open, __read, __close rather than their public counterparts.
27315 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27316 (__get_clockfreq_via_cpuinfo): Likewise.
27317 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27318 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27319
27320 * config.h.in (HAVE_IFUNC): New #undef.
27321 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27322 was successful.
27323 * configure: Regenerated.
27324
0cae3f4b
MF
273252012-10-24 Mike Frysinger <vapier@gentoo.org>
27326
27327 * configure.in: Move READELF check to start of file.
27328 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27329 libc_cv_asm_gnu_indirect_function in the process.
27330 * configure: Regenerated.
27331
8175a253
MF
273322012-10-24 Mike Frysinger <vapier@gentoo.org>
27333
27334 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27335 send the output to /dev/null.
27336 (libc_cv_cc_with_libunwind): Likewise.
27337 (libc_cv_as_noexecstack): Likewise.
27338 * configure: Regenerate.
27339
0708a7d1
JM
273402012-10-24 Joseph Myers <joseph@codesourcery.com>
27341
10b40d85
JM
27342 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27343
0708a7d1
JM
27344 * posix/globtest.sh (TMPDIR): Do not set.
27345 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27346 (testout): Likewise.
27347
9fddec1a
AJ
273482012-10-24 Andreas Jaeger <aj@suse.de>
27349
3a8db22f
AJ
27350 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27351 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27352 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27353 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27354 posix_fadvise64, posix_fallocate64.
27355
9fddec1a
AJ
27356 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27357 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27358 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27359 Likewise.
27360 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27361 Likewise.
27362 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27363
27364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27365 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27366 <bits/fcntl-linux.h>.
27367 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27368
27369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27370 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27371 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27372 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27373 [__WORDSIZE != 64]: Likewise.
27374
ebfd1bbd
JM
273752012-10-23 Joseph Myers <joseph@codesourcery.com>
27376
03ac099f
JM
27377 * Makeconfig (run-built-tests): New variable.
27378 * Rules [$(cross-compiling) = yes]: Change condition to
27379 [$(run-built-tests) = no].
27380 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27381 to [$(run-built-tests) = yes].
27382 * elf/Makefile [$(cross-compiling) = no]: Likewise
27383 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27384 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27385 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27386 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27387 * io/Makefile [$(cross-compiling) = no]: Likewise.
27388 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27389 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27390 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27391 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27392 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27393 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27394 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27395 * string/Makefile [$(cross-compiling) = no]: Likewise.
27396
ebfd1bbd
JM
27397 * posix/Makefile ($(objpfx)globtest.out): Pass
27398 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27399 $(rtld-installed-name).
27400 * posix/globtest.sh (elf_objpfx): Remove variable.
27401 (rtld_installed_name): Likewise.
27402 (library_path): Likewise.
27403 (run_program_prefix): New variable. Use for running globtest
27404 binary.
27405
166bca24
JB
274062012-10-23 Jim Blandy <jimb@codesourcery.com>
27407 Joseph Myers <joseph@codesourcery.com>
27408
27409 * Makeconfig (host-built-program-cmd): New variable.
27410 * elf/Makefile (tst-stackguard1-ARGS): Use
27411 $(host-built-program-cmd).
27412 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27413 (tst-spawn-ARGS): Likewise.
27414 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27415
88866099
JM
274162012-10-23 Joseph Myers <joseph@codesourcery.com>
27417 Jim Blandy <jimb@codesourcery.com>
27418
27419 * Makeconfig (run-via-rtld-prefix): New variable.
27420 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27421 (built-program-cmd): Likewise.
27422
b4b4c296
AJ
274232012-10-22 Andreas Jaeger <aj@suse.de>
27424
27425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27426 __O_RSYNC if it exists, otherwise to O_SYNC.
27427
6fb54a22
JB
274282012-10-22 Jim Blandy <jimb@codesourcery.com>
27429 Joseph Myers <joseph@codesourcery.com>
27430
27431 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27432 /dev/null.
27433 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27434 from /dev/null
27435 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27436 /dev/null.
27437
481b90b9
AJ
274382012-10-22 Andreas Jaeger <aj@suse.de>
27439
2a0e2669
AJ
27440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27441 Define always.
27442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27443
76e38f9a
AJ
27444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27445 bits/fcntl-linux.h.
27446
7cd37b43
AJ
27447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27448 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27449
481b90b9
AJ
27450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27451 to __O_LARGEFILE.
27452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27453 to __O_LARGEFILE.
27454
aba75984
JB
274552012-10-21 Jim Blandy <jimb@codesourcery.com>
27456 Joseph Myers <joseph@codesourcery.com>
27457
27458 * config.make.in (NM): New variable.
27459
88d4247f
AJ
274602012-10-21 Andreas Jaeger <aj@suse.de>
27461
27462 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27463 definitions and declarations that are provided by
27464 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27465
f2eed205
L
274662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27467
27468 [BZ #14683]
27469 * elf/Makefile (tests-static): Add tst-leaks1-static.
27470 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27471 ($(objpfx)tst-leaks1-static): New rule.
27472 ($(objpfx)tst-leaks1-static-mem): Likewise.
27473 (tst-leaks1-static-ENV): New macro.
27474 * elf/dl-open.c (dl_open_worker): Check the main application
27475 only if SHARED is defined.
27476 * elf/tst-leaks1-static.c: New file.
27477
335e6931
AJ
274782012-10-20 Andreas Jaeger <aj@suse.de>
27479
27480 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27481 generic values for Linux.
27482 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27483 and declarations that are provided by <bits/fcntl-linux.h> and
27484 include <bits/fcntl-linux.h>.
27485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27487
ac5c94d3
RM
274882012-10-20 Roland McGrath <roland@hack.frob.com>
27489
27490 * io/fcntl.h: Move include of <bits/types.h> to the top and
27491 include it unconditionally.
27492
de54b33a
L
274932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27494
228cfb01
L
27495 * wcsmbs/Makefile (tests-ifunc): New variable.
27496 (tests): Add $(tests-ifunc).
27497 * wcsmbs/test-wcschr-ifunc.c: New file.
27498 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27499 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27500 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27501 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27502 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27503
69f07e5f
L
27504 * string/Makefile (tests-ifunc): New variable.
27505 (tests): Add $(tests-ifunc).
27506 * string/test-memccpy.c (TEST_NAME): New macro.
27507 * string/test-memchr.c (TEST_NAME): Likewise.
27508 * string/test-memcmp.c (TEST_NAME): Likewise.
27509 * string/test-memcpy.c (TEST_NAME): Likewise.
27510 * string/test-memmem.c (TEST_NAME): Likewise.
27511 * string/test-memmove.c (TEST_NAME): Likewise.
27512 * string/test-memset.c (TEST_NAME): Likewise.
27513 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27514 * string/test-stpcpy.c (TEST_NAME): Likewise.
27515 * string/test-stpncpy.c (TEST_NAME): Likewise.
27516 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27517 * string/test-strcasestr.c (TEST_NAME): Likewise.
27518 * string/test-strcat.c (TEST_NAME): Likewise.
27519 * string/test-strchr.c (TEST_NAME): Likewise.
27520 * string/test-strcmp.c(TEST_NAME): Likewise.
27521 * string/test-strcpy.c (TEST_NAME): Likewise.
27522 * string/test-strcspn.c (TEST_NAME): Likewise.
27523 * string/test-strlen.c (TEST_NAME): Likewise.
27524 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27525 * string/test-strncmp.c (TEST_NAME): Likewise.
27526 * string/test-strncpy.c (TEST_NAME): Likewise.
27527 * string/test-strnlen.c (TEST_NAME): Likewise.
27528 * string/test-strpbrk.c (TEST_NAME): Likewise.
27529 * string/test-strrchr.c (TEST_NAME): Likewise.
27530 * string/test-strspn.c (TEST_NAME): Likewise.
27531 * string/test-strstr.c (TEST_NAME): Likewise.
27532 * string/test-bcopy-ifunc.c: New file.
27533 * string/test-bzero-ifunc.c: Likewise.
27534 * string/test-memccpy-ifunc.c: Likewise.
27535 * string/test-memchr-ifunc.c: Likewise.
27536 * string/test-memcmp-ifunc.c: Likewise.
27537 * string/test-memcpy-ifunc.c: Likewise.
27538 * string/test-memmem-ifunc.c: Likewise.
27539 * string/test-memmove-ifunc.c: Likewise.
27540 * string/test-mempcpy-ifunc.c: Likewise.
27541 * string/test-memset-ifunc.c: Likewise.
27542 * string/test-rawmemchr-ifunc.c: Likewise.
27543 * string/test-stpcpy-ifunc.c: Likewise.
27544 * string/test-stpncpy-ifunc.c: Likewise.
27545 * string/test-strcasecmp-ifunc.c: Likewise.
27546 * string/test-strcasestr-ifunc.c: Likewise.
27547 * string/test-strcat-ifunc.c: Likewise.
27548 * string/test-strchr-ifunc.c: Likewise.
27549 * string/test-strchrnul-ifunc.c: Likewise.
27550 * string/test-strcmp-ifunc.c: Likewise.
27551 * string/test-strcpy-ifunc.c: Likewise.
27552 * string/test-strcspn-ifunc.c: Likewise.
27553 * string/test-strlen-ifunc.c: Likewise.
27554 * string/test-strncasecmp-ifunc.c: Likewise.
27555 * string/test-strncat-ifunc.c: Likewise.
27556 * string/test-strncmp-ifunc.c: Likewise.
27557 * string/test-strncpy-ifunc.c: Likewise.
27558 * string/test-strnlen-ifunc.c: Likewise.
27559 * string/test-strpbrk-ifunc.c: Likewise.
27560 * string/test-strrchr-ifunc.c: Likewise.
27561 * string/test-strspn-ifunc.c: Likewise.
27562 * string/test-strstr-ifunc.c: Likewise.
27563
de54b33a
L
27564 * debug/Makefile (tests-ifunc): New variable.
27565 (tests): Add $(tests-ifunc).
27566 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27567 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27568 * debug/test-stpcpy_chk-ifunc.c: New file.
27569 * debug/test-strcpy_chk-ifunc.c: Likewise.
27570
88481c16
SP
275712012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27572
27573 [BZ #13601]
27574 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27575 header is not read in.
27576
135948bd
JM
275772012-10-19 Joseph Myers <joseph@codesourcery.com>
27578
89f1c388
JM
27579 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27580 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27581 directly. Pass built executable to script as
27582 $(built-program-cmd).
27583 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27584 $testprogram without using LD_LIBRARY_PATH and $ldso.
27585
e40a0d21
JM
27586 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27587 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27588 $(rtld-installed-name).
27589 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27590 (rtld_installed_name): Likewise.
27591 (library_path): Likewise.
27592 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27593 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27594 $(run-program-prefix) to tst-tables.sh.
27595 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27596 it to run tst-table-from and tst-table-to.
27597 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27598 Pass it to tst-table.sh.
27599 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27600 $(run-program-prefix) to tst-gettext.sh.
27601 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27602 tst-translit.sh.
27603 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27604 tst-gettext2.sh.
27605 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27606 to run tst-gettext.
27607 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27608 to run tst-gettext2.
27609 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27610 to run tst-translit.
27611 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27612 $(run-program-prefix) to tst-mtrace.sh.
27613 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27614 to run tst-mtrace.
27615 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27616 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27617 $(rtld-installed-name).
27618 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27619 (rtld_installed_name): Likewise.
27620 (run_program_prefix): New variable. Use it to run wordexp-test.
27621
728e272a
JM
27622 * Makeconfig (ARCH): Remove all definitions.
27623 (machine): Likewise.
27624 [ARCH]: Remove conditional code.
27625 [!objdir]: Give error.
27626 [!objdir] (objpfx): Remove.
27627 [!objdir] (common-objpfx): Likewise.
27628 [!objdir] (common-objdir): Likewise.
27629 * configure.in (config_makefile): Remove. Hardcode Makefile in
27630 AC_CONFIG_FILES call.
27631 * configure: Regenerated.
27632
d528cdcf
JM
27633 [BZ #13888]
27634 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27635 or TMPDIR.
27636 (testout): Likewise.
27637
135948bd
JM
27638 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27639 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27640 $(rtld-installed-name).
27641 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27642 (rtld_installed_name): Likwise.
27643 (runit): Remove function.
27644 (run_getconf): New variable, Use it for running getconf binary.
27645
38c78296
L
276462012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27647
27648 [BZ #14716]
27649 * string/test-memmem.c (check_result): New function.
27650 (do_one_test): Use it.
27651 (check1): New function.
27652 (test_main): Use it.
27653
d077f65f
MT
276542012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27655
27656 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27657
ced52c71
JM
276582012-10-18 Joseph Myers <joseph@codesourcery.com>
27659
27660 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27661 (_G_LSEEK64): Likewise.
27662 (_G_MMAP64): Likewise.
27663 (_G_FSTAT64): Likewise.
27664 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27665 (_G_LSEEK64): Likewise.
27666 (_G_MMAP64): Likewise.
27667 (_G_FSTAT64): Likewise.
27668 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27669 unconditional. Call __mmap64 directly.
27670 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27671 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27672 __lseek64 directly.
27673 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27674 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27675 __mmap64 directly.
27676 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27677 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27678 __lseek64 directly.
27679 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27680 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27681 __lseek64 directly.
27682 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27683 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27684 __lseek64 directly.
27685 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27686 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27687 __fxstat64 directly.
27688 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27689 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27690 unconditional.
27691 (freopen64) [!_G_OPEN64]: Remove conditional code.
27692 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27693 unconditional.
27694 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27695 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27696 unconditional.
27697 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27698 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27699 unconditional.
27700 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27701 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27702 unconditional.
27703 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27704 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27705 unconditional.
27706 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27707 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27708 unconditional.
27709 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27710 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27711 unconditional.
27712 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27713
b741de23
SP
277142012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27715
27716 [BZ #12140]
27717 * manual/memory.texi (Malloc Tunable Parameters): Add note
27718 about free list pointers overwriting some perturb bytes.
27719 Wording suggested by Roland McGrath.
27720
f9b9d9c9
JM
277212012-10-17 Joseph Myers <joseph@codesourcery.com>
27722
27723 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27724 (lgamma_test): Likewise.
27725 (tgamma_test): Likewise.
27726
172a631a
FW
277272012-10-16 Florian Weimer <fweimer@redhat.com>
27728
27729 [BZ #14700]
27730 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27731 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27732
e9f37252
MK
277332012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27734
27735 * NEWS: Mention BZ #14716.
27736 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27737 when removing AVAILABLE1_USES_J macro.
27738
d394eb74
L
277392012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27740
27741 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27742 (__bswap_64): __uint64_t for unsigned 64-bit int.
27743
ca38dc17
AS
277442012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27745
27746 * include/string.h (memmem): Declare libc hidden alias.
27747 * string/memmem.c (memmem): Define libc hidden alias.
27748 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27749 __read, __close instead of open, read, close.
27750
9a387d1f
L
277512012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27752
ac49ecaf
L
27753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27754 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27755 global and hidden.
27756 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27757 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27758 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27759 Likewise.
27760 (__rawmemchr_sse2): Likewise.
27761 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27762 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27763 (__strchr_sse2): Likewise.
27764 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27765 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27766 (__strcasecmp_sse2): Likewise.
27767 (__strncasecmp_sse2): Likewise.
27768 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27769 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27770 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27771 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27772 (__strrchr_sse2): Likewise.
27773 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27774 ifunc-impl-list.c.
27775 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27776 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27777 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27778 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27779 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27780 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27781 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27782 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27783 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27784 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27785 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27786 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27787 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27788 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27789 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27790 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27791 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27792 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27793 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27794 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27795 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27796 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27797 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27798 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27799 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27800 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27801 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27802 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27803 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27804 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27805
b090e8ea
L
27806 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27807 global and hidden.
27808 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27809 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27810 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27811 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27812 Likewise.
27813 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27814 Likewise.
27815 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27816 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27817 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27818 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27819 ifunc-impl-list.c.
27820 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27821 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27822 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27823 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27824 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27825 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27826 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27827 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27828 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27829 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27830 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27831 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27832 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27833 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27834 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27835 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27836 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27837 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27838 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27839 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27840 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27841 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27842 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27843 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27844 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27845 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27846 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27847 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27848 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27849 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27850 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27851 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27852 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27853 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27854 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27855 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27856 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27857 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27858 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27859 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27860 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27861
11dd4af6
L
27862 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27863 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27864 * include/ifunc-impl-list.h: New file.
27865 * misc/ifunc-impl-list.c: Likewise.
27866 * misc/Makefile (routines): Add ifunc-impl-list.
27867 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27868 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
27869 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27870 TEST_NAME]: New variables.
11dd4af6
L
27871 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27872 are defined.
27873 (test_init): Call __libc_ifunc_impl_list to initialize
27874 func_list if TEST_IFUNC and TEST_NAME are defined.
27875
9a387d1f
L
27876 * string/Makefile (strop-tests): Add bcopy and bzero.
27877 * string/test-bcopy.c: New file.
27878 * string/test-bzero.c: Likewise.
27879 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27880 defined.
27881 * string/test-memset.c: Support bzero test if TEST_BZERO is
27882 defined.
27883 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27884 __libc_memmove.
27885 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27886 __libc_memset.
27887 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27888 of memset.
27889
472371b9
JM
278902012-10-10 Joseph Myers <joseph@codesourcery.com>
27891
1e4a9536
JM
27892 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27893 * configure: Regenerated.
27894
d173d12e
JM
27895 * Makeconfig (+link-static-before-libc): Don't include
27896 $(link-static-libc).
27897
472371b9
JM
27898 * libio/libio.h (_IO_pos_t): Remove.
27899
89a3ad0b
AO
279002012-10-10 Alexandre Oliva <aoliva@redhat.com>
27901
27902 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27903 McGrath.
27904
e7451425
AO
279052012-10-10 Alexandre Oliva <aoliva@redhat.com>
27906
27907 * crypt/crypt-entry.c: Include fips-private.h.
27908 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27909 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27910 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27911 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27912
4ba74a35
AO
279132012-10-10 Alexandre Oliva <aoliva@redhat.com>
27914
27915 * crypt/crypt-private.h: Include stdbool.h.
27916 (_ufc_setup_salt_r): Return bool.
27917 * crypt/crypt-entry.c: Include errno.h.
27918 (__crypt_r): Return NULL with EINVAL for bad salt.
27919 * crypt/crypt_util.c (bad_for_salt): New.
27920 (_ufc_setup_salt_r): Check that salt is long enough and within
27921 the specified alphabet.
27922 * crypt/badsalttest.c: New file.
27923 * crypt/Makefile (tests): Add it.
27924 ($(objpfx)badsalttest): New.
27925
f96f1242
MK
279262012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27927
27928 * NEWS: Add entry for BZ #14602.
27929
0e8e0c1c
JM
279302012-10-09 Joseph Myers <joseph@codesourcery.com>
27931
27932 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27933 type-generic.
27934 * math/libm-test.inc: Update comment listing what functions and
27935 macros are tested.
27936 (isgreater_test): New function.
27937 (isgreaterequal_test): Likewise.
27938 (isless_test): Likewise.
27939 (islessequal_test): Likewise.
27940 (islessgreater_test): Likewise.
27941 (isunordered_test): Likewise.
27942 (main): Call the new functions.
27943
273edc5e
RM
279442012-10-09 Roland McGrath <roland@hack.frob.com>
27945
b8493de0
RM
27946 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27947 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27948 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27949 * sysdeps/i386/configure: Regenerated.
27950 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27951 * sysdeps/mach/configure: Regenerated.
27952 * sysdeps/mach/hurd/configure: Regenerated.
27953 * sysdeps/powerpc/configure: Regenerated.
27954 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27955 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27956 * sysdeps/s390/s390-32/configure: Regenerated.
27957 * sysdeps/s390/s390-64/configure: Regenerated.
27958 * sysdeps/sh/configure: Regenerated.
27959 * sysdeps/sparc/configure: Regenerated.
27960 * sysdeps/unix/sysv/linux/configure: Regenerated.
27961 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27962 * sysdeps/x86_64/configure: Regenerated.
27963
273edc5e
RM
27964 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27965 defined. Don't check if MAP is NULL.
27966
c8450f70
JM
279672012-10-09 Joseph Myers <joseph@codesourcery.com>
27968
27969 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27970 (_G_stat64): Likewise.
27971 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27972 (_G_stat64): Likewise.
27973 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27974 instead of struct _G_stat64.
27975 * libio/fileops.c (mmap_remap_check): Likewise.
27976 (decide_maybe_mmap): Likewise.
27977 (_IO_new_file_seekoff): Likewise.
27978 (_IO_file_stat): Likewise.
27979 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27980 _G_off64_t.
27981 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27982 instead of struct _G_stat64.
27983 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27984
57e605ba
MK
279852012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27986
27987 [BZ #14602]
27988 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27989 Replace with ...
27990 (CHECK_EOL): New macro.
27991 (two_way_short_needle): Check beginning of haystack for EOL. Use
27992 CHECK_EOL.
27993 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27994 Replace with CHECK_EOL.
27995 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27996 Replace with CHECK_EOL.
27997
ef1bb361
JM
279982012-10-08 Joseph Myers <joseph@codesourcery.com>
27999
28000 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28001 type-generic.
28002 * math/libm-test.inc: Update comment listing what functions and
28003 macros are tested.
28004 (finite_test): New function.
28005 (isinf_test): Likewise.
28006 (isnan_test): Likewise.
28007 (fpclassify_test): Test subnormal input.
28008 (isfinite_test): Likewise.
28009 (isnormal_test): Likewise.
28010 (main): Call the new functions.
28011
55f11534
JN
280122012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28013
28014 [BZ #14660]
28015 * Makerules (%.dynsym): Force C locale when running
28016 $(OBJDUMP) --dynamic-syms.
28017
1ab29350
AS
280182012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28019
28020 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28021 <stdint.h>.
28022
f1ecb7ef
DM
280232012-10-06 David S. Miller <davem@davemloft.net>
28024
28025 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28026 upper 32-bits of the length value in %o2 since we use branch-on-register
28027 tests which consider the entire 64-bit register.
28028
5d41d91a
L
280292012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28030
28031 * string/test-strstr.c (check2): Add a test for page boundary.
28032
3baddb72
DM
280332012-10-05 David S. Miller <davem@davemloft.net>
28034
28035 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28036 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28037 file.
28038 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28039 sysdep_routines.
28040 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28041 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28042 and bzero when HWCAP_SPARC_CRYPTO is present.
28043
9cee5585
L
280442012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28045
d7e0dab9
L
28046 [BZ #14602]
28047 * string/test-strstr.c (check2): New function.
28048 (test_main): Call check2.
28049
03759f47
L
28050 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28051 and bug-strchr1.
28052 * string/bug-strcasestr1.c (do_test): Moved to ...
28053 * string/test-strcasestr.c (check1): Here. New function.
28054 (do_one_test): Break out result checking code into ...
28055 (check_result): This. New function.
28056 (do_one_test): Call check_result.
28057 (test_main): Call check1.
28058 * string/bug-strchr1.c (do_test): Moved to ...
28059 * string/test-strchr.c (check1): Here. New function.
28060 (do_one_test): Break out result checking code into ...
28061 (check_result): This. New function.
28062 (do_one_test): Call check_result.
28063 (test_main): Call check1.
28064 * string/bug-strstr1.c (main): Moved to ...
046f153e 28065 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28066 (do_one_test): Break out result checking code into ...
28067 (check_result): This. New function.
28068 (do_one_test): Call check_result.
28069 (test_main): Call check1.
28070 * string/bug-strcasestr1.c: Removed.
28071 * string/bug-strchr1.c: Likewise.
28072 * string/bug-strstr1.c: Likewise.
28073
53cea63e
L
28074 * elf/Makefile (dl-routines): Add hwcaps.
28075 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28076 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28077 (_dl_important_hwcaps): Moved to ...
28078 * elf/dl-hwcaps.c: Here. New file.
28079 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28080
9cee5585 28081 [BZ #14557]
bb859b06
L
28082 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28083 if IS_IN_rtld isn't defined.
28084
9cee5585
L
28085 * elf/dl-support.c (_dl_sysinfo_map): New.
28086 Include "get-dynamic-info.h" and "setup-vdso.h".
28087 (_dl_non_dynamic_init): Call setup_vdso.
28088 * elf/dynamic-link.h: Don't include <assert.h>.
28089 (elf_get_dynamic_info): Moved to ...
28090 * elf/get-dynamic-info.h: Here. New file.
28091 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28092 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28093 * elf/setup-vdso.h: Here. New file.
28094 * elf/rtld.c: Include "setup-vdso.h".
28095 (dl_main): Call setup_vdso.
28096
23c31b76
JM
280972012-10-05 Joseph Myers <joseph@codesourcery.com>
28098
28234b07
JM
28099 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28100 creal in comment listing functions tested. List finite, isinf,
28101 isnan, isless, islessequal, isgreater, isgreaterequal,
28102 islessgreater, isunordered, lgamma_r and pow10 as functions and
28103 macros not tested. Mention which functions not tested are aliases
28104 for other functions. Fix typo. Note that signs of NaNs are not
28105 tested.
28106
23c31b76
JM
28107 * scripts/config.guess: Update from config.git.
28108 * scripts/config.sub: Likewise.
28109
9043e228
RM
281102012-10-04 Roland McGrath <roland@hack.frob.com>
28111
28112 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28113 * misc/madvise.c (madvise): Renamed to __madvise.
28114 Make madvise a weak alias.
28115 * include/sys/mman.h: Declare __madvise.
28116 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28117 * sysdeps/unix/syscalls.list
28118 (madvise): Make __madvise the strong name, and madvise a weak alias.
28119 * sysdeps/unix/sysv/linux/syscalls.list
28120 (madvise, mmap): Remove redundant entries.
28121 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28122 * malloc/malloc.c (mtrim): Likewise.
28123 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28124
f57f8055
RM
281252012-10-03 Roland McGrath <roland@hack.frob.com>
28126
28127 * sysdeps/mach/hurd/dl-cache.c: File removed.
28128 * config.h.in (USE_LDCONFIG): New #undef.
28129 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28130 * configure: Regenerated.
28131 * elf/Makefile (dl-routines): Add dl-cache only under
28132 [$(use-ldconfig) = yes].
28133 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28134 cache on [USE_LDCONFIG].
28135 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28136 [USE_LDCONFIG].
28137 * elf/rtld.c (dl_main): Likewise.
28138
5bb0c10a
PT
281392012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28140
28141 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28142 _SC_LEVEL4_CACHE_LINESIZE.
28143
010188c6
RM
281442012-10-03 Roland McGrath <roland@hack.frob.com>
28145
28146 * sysdeps/unix/bsd/confstr.h: File removed.
28147
b6c5ec07
AO
281482012-10-02 Alexandre Oliva <aoliva@redhat.com>
28149
28150 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28151 sys/sdt-config.h.
28152
408223d4
RM
281532012-10-02 Roland McGrath <roland@hack.frob.com>
28154
28155 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28156 Make 'mapoff' field ElfW(Off) rather than off_t.
28157
bb9510dc
DL
281582012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28159
fc997c6e
DL
28160 * nscd/Makefile: Remove nscd-cflags and all its users.
28161 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28162 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28163
bb9510dc
DL
28164 [BZ #10631]
28165 * malloc.c (malloc_printerr): Clarify error message.
28166
05699367
L
281672012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28168
28169 [BZ #14648]
28170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28171 Set bit_FMA_Usable if FMA is supported.
28172 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28173 macro.
28174 (bit_FMA4_Usable): Updated.
28175 (index_FMA_Usable): New macro.
28176 (CPUID_FMA): Likewise
28177 (HAS_FMA): Defined with bit_FMA_Usable.
28178
51367701
RM
281792012-10-01 Roland McGrath <roland@hack.frob.com>
28180
28181 * bits/types.h (__swblk_t): Type removed.
28182 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28183 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28185 (__SWBLK_T_TYPE): Likewise.
28186 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28187 (__SWBLK_T_TYPE): Likewise.
28188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28189 (__SWBLK_T_TYPE): Likewise.
28190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28191 (__SWBLK_T_TYPE): Likewise.
28192
4d57bf63 281932012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28194 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28195
28196 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28197 (xdr_mapname): Use YPMAXMAP as maxsize.
28198 (xdr_peername): Use YPMAXPEER as maxsize.
28199 (xdr_keydat): Use YPAXRECORD as maxsize.
28200 (xdr_valdat): Use YPMAXRECORD as maxsize.
28201
93c65d43
RM
282022012-10-01 Roland McGrath <roland@hack.frob.com>
28203
497a03d6
RM
28204 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28205
93c65d43
RM
28206 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28207 * csu/init-first.c: ... here.
28208 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28209 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28211 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28212 * sysdeps/i386/init-first.c: File removed.
28213 * sysdeps/sh/init-first.c: File removed.
28214
bec749fd
JM
282152012-10-01 Joseph Myers <joseph@codesourcery.com>
28216
28217 [BZ #14645]
28218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28219 if x * y might underflow to zero and z is zero.
28220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28221 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28222 * math/libm-test.inc (min_subnorm_value): New variable.
28223 (fma_test): Add more tests.
28224 (fma_test_towardzero): Likewise.
28225 (fma_test_downward): Likewise
28226 (fma_test_upward): Likewise.
28227 (initialize): Set min_subnorm_value.
28228
8ec5b013
JM
282292012-09-29 Joseph Myers <joseph@codesourcery.com>
28230
28231 [BZ #14638]
28232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28233 0 + 0.
28234 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28235 mode for addition resulting in exact zero.
28236 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28238 exact 0 + 0.
28239 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28240 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28241 * math/libm-test.inc (fma_test): Add more tests.
28242 (fma_test_towardzero): New function.
28243 (fma_test_downward): Likewise.
28244 (fma_test_upward): Likewise.
28245 (main): Call the new functions.
28246
b1fa802e
DM
282472012-09-28 David S. Miller <davem@davemloft.net>
28248
28249 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28250
d3b9fd9e
RM
282512012-09-28 Roland McGrath <roland@hack.frob.com>
28252
ea4d37b3
RM
28253 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28254 instead of SIGALRM.
28255
ac51c949
RM
28256 * sysdeps/gnu/_G_config.h: Moved to ...
28257 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28258 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28259 * sysdeps/generic/_G_config.h: ... here.
28260
28c195f7
RM
28261 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28262
848917f9
RM
28263 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28264
6bacf05b
RM
28265 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28266 Conditionalize target on [libnss_test1.so-version].
28267
91363dbb
RM
28268 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28269
cc87f7d8
RM
28270 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28271 (elfobjdir): Move out of conditionals.
28272
b1c608fe
RM
28273 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28274 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28275 (__nss_lookup_function): Conditionalize label remove_from_tree on
28276 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28277
1d9a6d96
DM
282782012-09-28 David S. Miller <davem@davemloft.net>
28279
28280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28281 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28282 file.
28283 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28284 sysdep_routines.
28285 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28287 when HWCAP_SPARC_CRYPTO is present.
28288
72581615
PT
282892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28290
28291 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28292
715a900c
JL
282932012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28294
28295 [BZ #6530]
28296 * stdio-common/vfprintf.c (process_string_arg): Revert
28297 2000-07-22 change.
28298
282992011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28300
28301 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28302 for testcase.
28303 * stdio-common/tst-sprintf.c: Include <locale.h>
28304 (main): Test sprintf's handling of incomplete multibyte
28305 characters.
28306
9bac1d86
L
283072012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28308
28309 * elf/dl-runtime.c (VERSYMIDX): Removed.
28310 * elf/dl-version.c (VERSYMIDX): Likewise.
28311 * elf/do-rel.h (VERSYMIDX): Likewise.
28312 (VALIDX): Likewise.
28313 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28314 * elf/rtld.c (VALIDX): Likewise.
28315 (ADDRIDX): Likewise.
9bac1d86
L
28316 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28317 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28318 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28319 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28320 (VALIDX): Likewise.
28321 (ADDRIDX): Likewise.
9bac1d86 28322
b31606c0
PT
283232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28324
28325 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28326
11541177
JL
283272012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28328
28329 [BZ #11438]
28330 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28331 to global scope.
28332 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28333 addresses are in the same scope as 192.0.2/24.
28334 * posix/gai.conf: Document new scope table defaults.
28335
adb26fae
SP
283362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28337
28338 [BZ #5298]
28339 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28340 for ftell. Compute offsets from write pointers instead.
28341 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28342
4573c6b0
SP
283432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28344
28345 [BZ #14543]
28346 * libio/Makefile (tests): New test case tst-fseek.
28347 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28348 combination works in wide mode.
28349 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28350 state when the external buffer state changes.
28351
aa9bbfe6
DM
283522012-09-27 David S. Miller <davem@davemloft.net>
28353
28354 [BZ #14376]
28355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28356 pass reloc->r_addend in as the 'high' argument to
28357 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28358
784421e7
DM
28359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28360
c39bc8b8
PT
283612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28362
28363 * rt/tst-aio2.c: Include <pthread.h>.
28364 * rt/tst-aio3.c: Likewise.
28365
1ccc2399
SE
283662012-09-27 Steve Ellcey <sellcey@mips.com>
28367
28368 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28369
31ed4153
L
283702012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28371
25f5f885
L
28372 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28373 contents on [SHARED].
31ed4153 28374
b7bfe116
MP
283752012-09-26 Marek Polacek <polacek@redhat.com>
28376
28377 [BZ #14530]
28378 [BZ #13741]
28379 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28380 for C++ and GCC <4.3 as well as for non GCC compilers.
28381
43c4edba
MT
283822012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28383
28384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28385
6a1bf82f
RM
283862012-09-25 Roland McGrath <roland@hack.frob.com>
28387
28388 * Makefile.in (all, install): Declare with .PHONY.
28389 Reported by Michael Hope <michael.hope@linaro.org>.
28390
8ad11b9a
TMQMF
283912012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28392
28393 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28394 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28395 system header.
28396 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28397 Likewise.
28398 (sydep_routines): Add the new and the internal functions.
28399 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28400 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28402 (GLIBC_2.17): Add the new function.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28404 (GLIBC_2.17): Likewise.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28406 (GLIBC_2.17): Likewise.
28407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28408 (GLIBC_2.17): Likewise.
28409 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28410
7e2fca8d
AM
284112012-09-25 Alan Modra <amodra@gmail.com>
28412
28413 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28414 Add release barrier before setting once_control to say
28415 initialisation is done. Add hints on lwarx. Use macro in
28416 place of isync.
28417 (clear_once_control): Add release barrier.
28418
b87c4b24
JM
284192012-09-25 Joseph Myers <joseph@codesourcery.com>
28420
d032e0d2
JM
28421 [BZ #13629]
28422 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28423 specially.
28424 * math/s_clog10.c (__clog10): Likewise.
28425 * math/s_clog10f.c (__clog10f): Likewise.
28426 * math/s_clog10l.c (__clog10l): Likewise.
28427 * math/s_clogf.c (__clogf): Likewise.
28428 * math/s_clogl.c (__clogl): Likewise.
28429 * math/Makefile (libm-calls): Add x2y2m1.
28430 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28431 (__x2y2m1): Likewise.
28432 (__x2y2m1l): Likewise.
28433 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28434 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28435 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28436 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28437 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28438 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28439 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28440 * sysdeps/i386/fpu/libm-test-ulps: Update.
28441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28442
b87c4b24
JM
28443 [BZ #14621]
28444 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28445 int as type of variable DEPTH.
28446 (glob): Use size_t instead of int as type of variables NEWCOUNT
28447 and OLD_PATHC.
28448
6d3bf199
LD
284492012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28450
22bf5c17
LD
28451 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28452 Add s_sincosf-sse2.
28453 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28454 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28455 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28456 macros for using routine as __sincosf_ia32.
28457 Use macro for function declaration and weak_alias.
28458 * sysdeps/i386/fpu/libm-test-ulps: Update.
28459
28460 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28462
28463 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28464 subnormal argument.
28465 * math/s_cexpf.c (__cexpf): Likewise.
28466 * math/s_csinf.c (__csinf): Likewise.
28467 * math/s_csinhf.c (__csinhf): Likewise.
28468 * math/s_ctanf.c (__ctanf): Likewise.
28469 * math/s_ctanhf.c (__ctanhf): Likewise.
28470 * math/s_ccosh.c (__ccoshf): Likewise.
28471 * math/s_cexp.c (__cexpl): Likewise.
28472 * math/s_csin.c (__csin): Likewise.
28473 * math/s_csinh.c (__csinh): Likewise.
28474 * math/s_ctan.c (__ctan): Likewise.
28475 * math/s_ctanh.c (ctanh): Likewise.
28476 * math/s_ccoshl.c (__ccoshl): Likewise.
28477 * math/s_cexpl.c (__cexpl): Likewise.
28478 * math/s_csinl.c (__csinl): Likewise.
28479 * math/s_csinhl.c (__csinhl): Likewise.
28480 * math/s_ctanl.c (__ctanl): Likewise.
28481 * math/s_ctanhl.c (__ctanhl): Likewise.
28482
203e5603
JM
284832012-09-25 Joseph Myers <joseph@codesourcery.com>
28484
28485 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28486 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28487 (_IO_off_t): Define to __off_t, not _G_off_t.
28488 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28489 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28490 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28491 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28492 type of __dummy and __dummy2 fields.
28493 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28494 (_G_ssize_t): Likewise.
28495 (_G_off_t): Likewise.
28496 (_G_pid_t): Likewise.
28497 (_G_uid_t): Likewise.
28498 (_G_wchar_t): Likewise.
28499 (_G_wint_t): Likewise.
28500 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28501 (_G_ssize_t): Likewise.
28502 (_G_off_t): Likewise.
28503 (_G_pid_t): Likewise.
28504 (_G_uid_t): Likewise.
28505 (_G_wchar_t): Likewise.
28506 (_G_wint_t): Likewise.
28507 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28508 (_G_ssize_t): Likewise.
28509 (_G_off_t): Likewise.
28510 (_G_pid_t): Likewise.
28511 (_G_uid_t): Likewise.
28512 (_G_wchar_t): Likewise.
28513 (_G_wint_t): Likewise.
28514
9fab36eb
SP
285152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28516
28517 * malloc/arena.c: Include malloc-sysdep.h.
28518 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28519 is sufficient to shrink the heap or an unmap is needed.
28520 * sysdeps/generic/malloc-sysdep.h: New file. Define
28521 new function check_may_shrink_heap.
28522 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28523 new function check_may_shrink_heap.
28524
2b4f00d1
SP
285252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28526
28527 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28528 comments.
28529
9a9028b1
DL
285302012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28531
57c69bef
DL
28532 * catgets/test-gencat.sh: Add "set -e".
28533 * elf/tst-pathopt.sh: Likewise.
28534 * grp/tst_fgetgrent.sh: Likewise.
28535 * iconvdata/run-iconv-test.sh: Likewise.
28536 * intl/tst-gettext.sh: Likewise.
28537 * intl/tst-gettext2.sh: Likewise.
28538 * intl/tst-gettext4.sh: Likewise.
28539 * intl/tst-gettext6.sh: Likewise.
28540 * intl/tst-translit.sh: Likewise.
28541 * io/ftwtest-sh: Likewise.
28542 * libio/test-freopen.sh: Likewise.
28543 * malloc/tst-mtrace.sh: Likewise.
28544 * posix/globtest.sh: Likewise.
28545 * posix/tst-getconf.sh: Likewise.
28546 * posix/wordexp-tst.sh: Likewise.
28547 * stdio-common/tst-printf.sh: Likewise.
28548 * stdio-common/tst-unbputc.sh: Likewise.
28549 * stdlib/tst-fmtmsg.sh: Likewise.
28550 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28551 * catgets/Makefile: Do not specify -e option when running
28552 testsuite shell scripts.
28553 * elf/Makefile: Likewise.
28554 * grp/Makefile: Likewise.
28555 * iconvdata/Makefile: Likewise.
28556 * intl/Makefile: Likewise.
28557 * io/Makefile: Likewise.
28558 * libio/Makefile: Likewise.
28559 * malloc/Makefile: Likewise.
28560 * posix/Makefile: Likewise.
28561 * stdio-common/Makefile: Likewise.
28562 * stdlib/Makefile: Likewise.
28563 * sysdeps/x86_64/Makefile: Likewise.
28564
9a9028b1
DL
28565 * io/ftwtest-sh: Add copyright header.
28566 * posix/globtest.sh: Likewise.
28567 * posix/tst-getconf.sh: Likewise.
28568 * posix/wordexp-tst.sh: Likewise.
28569 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28570
ced6f16e
L
285712012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28572
94b32c39
L
28573 [BZ #13679]
28574 * Makeconfig (+link): Defined as $(+link-static) if
28575 $(build-shared) isn't yes.
28576 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28577 isn't yes.
28578 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28579
189e935b
L
28580 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28581
ced6f16e
L
28582 [BZ #14562]
28583 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28584 new chunk size with MALLOC_ALIGN_MASK.
28585
a9f8e53a
JM
285862012-09-24 Joseph Myers <joseph@codesourcery.com>
28587
28588 [BZ #5044]
28589 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28590 <rounding-mode.h>.
28591 (__printf_fphex): Determine rounding using get_rounding_mode and
28592 round_away.
28593 * stdio-common/tst-printf-round.c (struct hex_test): New
28594 structure.
28595 (hex_tests): New variable.
28596 (test_hex_in_one_mode): New function.
28597 (do_test): Also run tests for hex float output.
28598
43153109
JM
285992012-09-21 Joseph Myers <joseph@codesourcery.com>
28600
28601 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28602 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28603 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28604 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28605 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28606 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28607 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28608 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28609
8a26625d
JM
286102012-09-20 Joseph Myers <joseph@codesourcery.com>
28611
28612 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28613 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28614 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28615 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28616
f3fd569c
DL
286172012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28618
28619 [BZ #14579]
28620 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28621 mode only.
28622 * elf/tst-rtld-load-self.sh: New test.
28623 * elf/Makefile: Run it.
28624
63bbedd4
JM
286252012-09-18 Joseph Myers <joseph@codesourcery.com>
28626
28627 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28628 (tst-writev-ENV): Remove.
28629 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28630
626f8b6a
CM
286312012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28632
28633 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28634
b7aaa4d6
JM
286352012-09-17 Joseph Myers <joseph@codesourcery.com>
28636
28637 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28638 unconditional.
28639 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28640 Likewise.
28641 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28642 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28643 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28644 Likewise.
28645
65513990
L
286462012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 [BZ #14587]
28649 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28650 * config.make.in (have-cpp-asm-debuginfo): Removed.
28651 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28652 * configure: Regenerated.
28653
784761be
JM
286542012-09-14 Joseph Myers <joseph@codesourcery.com>
28655
28656 [BZ #5044]
28657 * stdio-common/printf_fp.c: Include <stdbool.h> and
28658 <rounding-mode.h>.
28659 (___printf_fp): Determine rounding using get_rounding_mode and
28660 round_away.
28661 * stdio-common/tst-printf-round.c: New file.
28662 * stdio-common/Makefile (tests): Add tst-printf-round.
28663 (link-libm): New variable.
28664 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28665
9503345f
L
286662012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28667
28668 [BZ #14576]
28669 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28670 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28671 Likewise.
28672 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28673 Likewise.
28674
ad35fc00
JM
286752012-09-13 Joseph Myers <joseph@codesourcery.com>
28676
28677 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28678 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28679 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28680 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28681
6c9b0f68
JM
286822012-09-12 Joseph Myers <joseph@codesourcery.com>
28683
28684 [BZ #14518]
28685 * include/rounding-mode.h: New file.
28686 * sysdeps/generic/get-rounding-mode.h: Likewise.
28687 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28688 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28689 (MAX_VALUE): New macro.
28690 (MIN_VALUE): Likewise.
28691 (overflow_value): New function.
28692 (underflow_value): Likewise.
28693 (round_and_return): Use overflow_value and underflow_value to
28694 determine return values in overflow and underflow cases. Use
28695 round_away to determine rounding depending on rounding mode.
28696 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28697 determine return values in overflow and underflow cases.
28698 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28699 (struct test_results): New structure.
28700 (struct test): Use struct test_results to store expected results
28701 for all rounding modes.
28702 (TEST): Include expected results for all rounding modes.
28703 (test_in_one_mode): New function.
28704 (do_test): Use test_in_one_mode to compute and check results.
28705 Check results for all rounding modes.
28706 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28707 $(link-libm).
28708
19fcedd5
AM
287092012-12-09 Allan McRae <allan@archlinux.org>
28710
1e9d84cd 28711 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 28712
8bbfd2f1
JM
287132012-09-11 Joseph Myers <joseph@codesourcery.com>
28714
28715 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28716 (_G_int32_t): Likewise.
28717 (_G_uint16_t): Likewise.
28718 (_G_uint32_t): Likewise.
28719 (_G_HAVE_BOOL): Likewise.
28720 (_G_HAVE_ATEXIT): Likewise.
28721 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28722 (_G_HAVE_IO_FILE_OPEN): Likewise.
28723 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28724 (_G_int32_t): Likewise.
28725 (_G_uint16_t): Likewise.
28726 (_G_uint32_t): Likewise.
28727 (_G_HAVE_BOOL): Likewise.
28728 (_G_HAVE_ATEXIT): Likewise.
28729 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28730 (_G_HAVE_IO_FILE_OPEN): Likewise.
28731 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28732 (_G_int32_t): Likewise.
28733 (_G_uint16_t): Likewise.
28734 (_G_uint32_t): Likewise.
28735 (_G_HAVE_BOOL): Likewise.
28736 (_G_HAVE_ATEXIT): Likewise.
28737 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28738 (_G_HAVE_IO_FILE_OPEN): Likewise.
28739
b1dc5912
L
287402012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28741
28742 * csu/libc-tls.c: Update copyright years.
28743
0e886ef9
JM
287442012-09-10 Joseph Myers <joseph@codesourcery.com>
28745
28361c5e
JM
28746 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28747 [!_G_USING_THUNKS]: Remove conditional code.
28748 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28749 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28750
0e886ef9
JM
28751 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28752 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28753 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28754 (_G_VTABLE_LABEL_PREFIX): Likewise.
28755 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28756 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28757 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28758 (_G_VTABLE_LABEL_PREFIX): Likewise.
28759 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28760 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28761 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28762 (_G_VTABLE_LABEL_PREFIX): Likewise.
28763 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28764
bcba7aa2
L
287652012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28766
28767 * libio/Makefile: Include ../Makeconfig before tests.
28768 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28769 only if $(build-shared) is yes.
28770
06585ee8
L
28771 * iconv/gconv_db.c: Update copyright years.
28772
80ccd52c
LD
287732012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28774
28775 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28776 unwind info if defined PIC. Fix special cases description.
28777 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28778
28779 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28780 DP_HI_MASK entry.
28781 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28782
691bc9c1
L
287832012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28784
3d9b46b3
L
28785 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28786
de2139a9
L
28787 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28788 is NULL.
28789
5ca78dd0
L
28790 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28791 (LDLIBS-tst-chk4): This.
28792 (LDFLAGS-tst-chk5): Renamed to ...
28793 (LDLIBS-tst-chk5): This.
28794 (LDFLAGS-tst-chk6): Renamed to ...
28795 (LDLIBS-tst-chk6): This.
28796 (LDFLAGS-tst-lfschk4): Renamed to ...
28797 (LDLIBS-tst-lfschk4): This.
28798 (LDFLAGS-tst-lfschk5): Renamed to ...
28799 (LDLIBS-tst-lfschk5): This.
28800 (LDFLAGS-tst-lfschk6): Renamed to ...
28801 (LDLIBS-tst-lfschk6): This.
28802
691bc9c1
L
28803 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28804 on $(common-objpfx)soversions.mk.
28805
65cafb1c
JM
288062012-09-07 Joseph Myers <joseph@codesourcery.com>
28807
28808 [BZ #10014]
28809 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28810 example host name.
28811
c78ab094
SP
288122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28813
28814 * malloc/arena.c (arena_get_retry): New function that gets
28815 another arena for the caller to try its request on.
28816 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28817 current arena cannot fulfill the request.
28818 (__libc_memalign): Likewise.
28819 (__libc_memalign): Likewise.
28820 (__libc_pvalloc): Likewise.
28821 (__libc_calloc): Likewise.
28822
01f49f59
JT
288232012-09-05 John Tobey <john.tobey@gmail.com>
28824
28825 [BZ #13542]
28826 * manual/arith.texi (Operations on Complex): Fix description
28827 of carg branch cut.
28828
4c23fed5
JM
288292012-09-06 Joseph Myers <joseph@codesourcery.com>
28830
1d3c8572
JM
28831 [BZ #10014]
28832 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28833 host name.
28834
4c23fed5
JM
28835 [BZ #10038]
28836 * manual/memory.texi (Memory): Make order of menu items match
28837 order of sections.
28838
04570aaa
L
288392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28842 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28843 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28844
b80af2f4
L
288452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28846
28847 * csu/libc-tls.c (static_dtv): Renamed to ...
28848 (_dl_static_dtv): This. Make it global.
28849 (_dl_initial_dtv): Removed.
28850 (__libc_setup_tls): Updated.
28851 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28852 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28853 DL_INITIAL_DTV.
28854
2abe9f15
PM
288552012-09-06 Petr Machata <pmachata@redhat.com>
28856
28857 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28858 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28859 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28860 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28861
0948c3af
L
288622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28863
28864 [BZ #14545]
28865 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28866 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28867 freeing dtv[-1].
28868
a5055ad1
L
288692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28870
28871 [BZ #14544]
28872 * Makeconfig (link-static-before-libc): Replace $(+prector)
28873 with $(+prectorT).
28874 (link-static-after-libc): Replace $(+postctor) with
28875 $(+postctorT).
28876 (link-bounded): Replace $(+prector)/$(+postctor) with
28877 $(+prectorT)/$(+postctorT).
28878 (+prectorT): New macro.
28879 (+postctorT): Likewise.
28880
ed8c2ecd
JM
288812012-09-06 Joseph Myers <joseph@codesourcery.com>
28882
28883 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28884 (round_str): Handle values above the maximum for IBM long double
28885 as inexact.
28886 * stdlib/tst-strtod-round.c (tests): Regenerated.
28887
14c996c8
AK
288882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28889
28890 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28891 assembler flag.
28892 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28893 zarch_nohighgprs around the zarch optimized routines.
28894 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28895 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28896 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28897 for zarch.
28898
430d6ce6
DM
288992012-09-05 David S. Miller <davem@davemloft.net>
28900
28901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28902
57f41c40
AS
28903 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28904 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
28905 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28906 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28907 entries.
28908
24d4e01b
AO
289092012-09-05 Alexandre Oliva <aoliva@redhat.com>
28910
28911 * malloc/arena.c: Fold copyright years.
28912 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28913
61d58174
AO
289142012-09-05 Alexandre Oliva <aoliva@redhat.com>
28915
28916 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28917
20196a5e
AO
289182012-09-05 Alexandre Oliva <aoliva@redhat.com>
28919
28920 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28921
5c447383
AO
289222012-09-05 Alexandre Oliva <aoliva@redhat.com>
28923
28924 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28925 change internal state upon failure.
28926
fad64255
AO
289272012-09-05 Alexandre Oliva <aoliva@redhat.com>
28928
28929 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28930 * malloc/memusage.c (mmap): Likewise.
28931 (mmap64, mremap): Likewise. Adjust name in comment.
28932
1ffb8c90
SP
289332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28934
28935 * libio/fileops.c: Fix typos in comments.
28936 * libio/oldfileops.c: Likewise.
28937 * libio/wfileops.c: Likewise.
28938
6ef9cc37
SP
289392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28940
28941 [BZ #1349]
28942 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28943 (tst-malloc-usable-ENV): Set environment for test case.
28944 * malloc/hooks.c (malloc_check_get_size): New function to get
28945 requested size.
28946 * malloc/malloc.c (musable): Use malloc_check_get_size.
28947 * malloc/tst-malloc-usable.c: New test case.
28948
4d038ae3
AS
289492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28950
28951 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28952
c4e85184
AM
289532012-09-05 Allan McRae <allan@archlinux.org>
28954
b9dafc56 28955 [BZ #13966]
c4e85184
AM
28956 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28957 determine header location.
28958 * configure: Regenerated.
28959
e1343020
AS
289602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28961
28962 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28963 float format.
28964 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
28965 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28966 format.
e1343020
AS
28967 (test): Regenerate.
28968
0a9f1987
DM
289692012-09-04 David S. Miller <davem@davemloft.net>
28970
28971 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28972 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28973 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28974
29237804
FW
289752012-09-04 Florian Weimer <fweimer@redhat.com>
28976
28977 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28978 failures.
28979
edb3cb88
FW
28980 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28981
60160d83
JM
289822012-09-04 Joseph Myers <joseph@codesourcery.com>
28983
28984 [BZ #9914]
28985 * libio/iogetdelim.c: Include <limits.h>.
28986 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28987 + len + 1 would overflow.
28988
bcd6c8dc
AJ
289892012-09-03 Andreas Jaeger <aj@suse.de>
28990
28991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28992 * sysdeps/i386/fpu/libm-test-ulps: Update.
28993
4ffffbd2
LD
289942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28995
28996 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28997 Add s_sinf-sse2, s_conf-sse2.
28998
28999 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29000 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29001 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29002 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29003
29004 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29005 for using routine as __sinf_ia32.
29006 Use macro for function declaration and weak_alias.
29007 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29008 for using routine as __cosf_ia32.
29009 Use macro for function declaration and weak_alias.
29010
29011 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29012 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29013
29014 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29015 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29017
29018 * math/libm-test.inc (cos_test): Add more test cases.
29019 (sin_test): Likewise.
29020 (sincos_test): Likewise.
29021
511fa286
AK
290222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29023
29024 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29025 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29026 hidden.
29027 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29028
5f30cfec
L
290292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29030
29031 [BZ #14538]
29032 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29033 first element of the GOT.
29034 (elf_machine_load_address): Return the difference between
29035 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29036
0786794f
AM
290372012-09-01 Allan McRae <allan@archlinux.org>
29038
5f30cfec
L
29039 [BZ #13412]
29040 * configure.in (AWK): Require gawk version 3.0 or later.
29041 * configure: Regenerated.
0786794f 29042
26889eac
JM
290432012-09-01 Joseph Myers <joseph@codesourcery.com>
29044
29045 * sysdeps/unix/sysv/linux/kernel-features.h
29046 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29047 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29048 [__NR_clock_getres]: Make code unconditional.
29049 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29050 (clock_getcpuclockid): Remove code left unreachable by removal of
29051 conditionals.
29052 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29053 code unconditional.
29054 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29055 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29056 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29057 Make code unconditional.
29058 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29059 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29060 * sysdeps/unix/sysv/linux/clock_settime.c
29061 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29062 conditional code.
29063 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29064 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29065
d22e28b0
L
290662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29067
29068 [BZ #14476]
29069 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29070 scripts/test-installation.pl.
29071
29072 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29073 and $ld_so_version if it is set.
29074
050af9c4
SP
290752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29076
29077 [BZ #14516]
29078 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29079 failure if reading from procfs failed.
29080 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29081
ad845c0b
JM
290822012-08-27 Joseph Myers <joseph@codesourcery.com>
29083
29084 * sysdeps/unix/sysv/linux/kernel-features.h
29085 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29086 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29087 Remove conditional code.
29088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29089 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29090 Remove conditional code.
29091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29092 * sysdeps/unix/sysv/linux/i386/fxstat.c
29093 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29094 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29095 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29096 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29098 * sysdeps/unix/sysv/linux/i386/lxstat.c
29099 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29101 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29102 Remove conditional code.
29103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29104 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29105 Remove conditional code.
29106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29107 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29108 <kernel-features.h>.
29109 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29110 Remove.
29111 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29112 Remove conditional code.
29113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29114 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29115 Remove conditional.
29116
5dbf56af
MF
291172012-08-27 Mike Frysinger <vapier@gentoo.org>
29118
29119 [BZ #5400]
29120 * NEWS: Add fixed bug number.
29121
d6e70f43
JM
291222012-08-27 Joseph Myers <joseph@codesourcery.com>
29123
7efb4737
JM
29124 [BZ #14519]
29125 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29126 underflowing exponent in case of negative sign.
29127 * stdlib/tst-strtod-round-data: Add more tests.
29128 * stdlib/tst-strtod-round.c (tests): Regenerated.
29129
af92131a
JM
29130 [BZ #3479]
29131 * stdlib/strtod_l.c (NDIG): Remove.
29132 (HEXNDIG): Likewise.
29133 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29134 smallest representable value.
29135 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29136 lie within an exact representation of 1/2 ulp of the result.
29137 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29138 unconditionally.
29139 (TENS_P9_IDX): Define unconditionally.
29140 (TENS_P9_SIZE): Likewise.
29141 (TENS_P10_IDX): Likewise.
29142 (TENS_P10_SIZE): Likewise.
29143 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29144 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29145 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29146 entries for 10^2^13 and 10^2^14.
29147 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29148 (TENS_P13_IDX): Define.
29149 (TENS_P13_SIZE): Likewise.
29150 (TENS_P14_IDX): Likewise.
29151 (TENS_P14_SIZE): Likewise.
29152 (_fpioconst_pow10): Change array size to
29153 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29154 unconditional.
29155 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29156 1024]: Add entries for 10^2^13 and 10^2^14.
29157 [LAST_POW10 > _LAST_POW10]: Remove #error.
29158 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29159 (_fpioconst_pow10): Change array size to
29160 FPIOCONST_POW10_ARRAY_SIZE.
29161 * stdlib/gen-fpioconst.c: New file.
29162 * stdlib/gen-tst-strtod-round.c: Likewise.
29163 * stdlib/tst-strtod-round-data: Likewise.
29164 * stdlib/tst-strtod-round.c: Likewise.
29165 * stdlib/Makefile (tests): Add tst-strtod-round.
29166
d6e70f43
JM
29167 [BZ #14459]
29168 * stdlib/strtod_l.c: Include <stdint.h>.
29169 (NDEBUG): Do not define.
29170 (round_and_return): Change EXPONENT parameter to type intmax_t.
29171 Rearrange calculations to avoid internal overflow possibilities.
29172 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29173 Rearrange calculations to avoid internal overflow possibilities.
29174 Assert that number fits inside MPNSIZE limbs.
29175 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29176 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29177 calculations and add assertions to avoid internal overflow
29178 possibilities. Add casts to avoid signed/unsigned operations.
29179 * stdlib/tst-strtod-overflow.c: New file.
29180 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29181
1f529f7d
MP
291822012-08-25 Marek Polacek <polacek@redhat.com>
29183
29184 * time/time.h: Fix some typos in comments.
29185
59a629f1
RM
291862012-08-23 Roland McGrath <roland@hack.frob.com>
29187
29188 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29189 * posix/tst-rfc3484-2.c: Likewise.
29190 * posix/tst-rfc3484-3.c: Likewise.
29191
d3bafbc9
SM
291922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29193
29194 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29195 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29196
4efcc022
JM
291972012-08-23 Joseph Myers <joseph@codesourcery.com>
29198
29199 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29200 #include of fxstatat64.c.
29201
3cc3ef96
RM
292022012-08-22 Roland McGrath <roland@hack.frob.com>
29203
f04e2132
RM
29204 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29205 * shadow/getspent_r.c: Likewise.
29206 * shadow/getspnam.c: Likewise.
29207 * shadow/getspnam_r.c: Likewise.
29208 * gshadow/getsgent.c: Likewise.
29209 * gshadow/getsgent_r.c: Likewise.
29210 * gshadow/getsgnam.c: Likewise.
29211 * gshadow/getsgnam_r.c: Likewise.
29212 * inet/getnetbyad.c: Likewise.
29213 * inet/getnetbyad_r.c: Likewise.
29214 * inet/getnetbynm.c: Likewise.
29215 * inet/getnetbynm_r.c: Likewise.
29216 * inet/getnetent.c: Likewise.
29217 * inet/getnetent_r.c: Likewise.
29218 * inet/getproto.c: Likewise.
29219 * inet/getproto_r.c: Likewise.
29220 * inet/getprtent.c: Likewise.
29221 * inet/getprtent_r.c: Likewise.
29222 * inet/getprtname.c: Likewise.
29223 * inet/getprtname_r.c: Likewise.
29224 * inet/getrpcbyname.c: Likewise.
29225 * inet/getrpcbyname_r.c: Likewise.
29226 * inet/getrpcbynumber.c: Likewise.
29227 * inet/getrpcbynumber_r.c: Likewise.
29228 * inet/getrpcent.c: Likewise.
29229 * inet/getrpcent_r.c: Likewise.
29230 * inet/getaliasent.c: Likewise.
29231 * inet/getaliasent_r.c: Likewise.
29232 * inet/getaliasname.c: Likewise.
29233 * inet/getaliasname_r.c: Likewise.
29234 * nscd/getgrgid_r.c: Likewise.
29235 * nscd/getgrnam_r.c: Likewise.
29236 * nscd/gethstbyad_r.c: Likewise.
29237 * nscd/gethstbynm3_r.c: Likewise.
29238 * nscd/getpwnam_r.c: Likewise.
29239 * nscd/getpwuid_r.c: Likewise.
29240 * nscd/getsrvbynm_r.c: Likewise.
29241 * nscd/getsrvbypt_r.c: Likewise.
29242 * nscd/gai.c: Likewise.
29243
c53d909c
RM
29244 * configure.in (build_nscd): New substituted variable, set
29245 by --disable-build-nscd and defaults to $use_nscd.
29246 * configure: Regenerated.
29247 * config.make.in (build-nscd): New substituted variable.
29248 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29249 Change conditional to require [$(build-nscd) = yes] as well.
29250 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29251
3cc3ef96
RM
29252 [BZ# 13696]
29253 * configure.in (use_nscd): New substituted variable, set by
29254 --disable-nscd. If enabled, define USE_NSCD.
29255 * configure: Regenerated.
29256 * config.h.in: Add USE_NSCD.
29257 * config.make.in (use-nscd): New substituted variable.
29258 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29259 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29260 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29261 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29262 (CFLAGS-getgrnam_r.c): Likewise.
29263 (CFLAGS-initgroups.c): Likewise.
29264 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29265 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29266 Variables removed.
29267 * inet/getnetgrent_r.c
29268 (nscd_setnetgrent): New function, broken out of ...
29269 (setnetgrent): ... here. Call it.
29270 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29271 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29272 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29273 * nscd/Makefile (routines, aux): Move definitions after include of
29274 Makeconfig. Conditionalize on [$(use-nscd) != no].
29275 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29276 Conditionalize on [USE_NSCD].
29277 (is_nscd, nscd_init_cb): Likewise.
29278 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29279 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29280 * nss/nss_db/db-init.c: Likewise.
29281 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29282 [USE_NSCD].
29283 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29284 (make_request): Use it.
29285 (cache_valid_p): New function.
29286 (__check_pf): Use it.
29287 * NEWS: Add item for --disable-nscd.
29288
07e51550
DL
292892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29290
29291 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29292 to support sed >= 4.2.1-20-ga9bf076.
29293 * configure: Regenerated.
29294
35a5b08b
RM
292952012-08-22 Roland McGrath <roland@hack.frob.com>
29296
29297 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29298 Conditionalize whole body on [IREL].
29299
8479f23a
JL
293002012-08-22 Jeff Law <law@redhat.com>
29301
29302 [BZ #14505]
29303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29304 if the family is PF_UNSPEC.
29305
48da0b21
MF
293062012-08-22 Mike Frysinger <vapier@gentoo.org>
29307
29308 * Makerules (lib-version): Rename from V.
29309 (install-lib-nosubdir): Change V to lib-version.
29310
15d0da8c
WS
293112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29312
29313 [BZ #14252]
29314 * powerpc32/power6/wcschr.c: New file.
29315 * powerpc32/power6/wcscpy.c: New file.
29316 * powerpc32/power6/wcsrchr.c: New file.
29317 * powerpc64/power6/wcschr.c: New file.
29318 * powerpc64/power6/wcscpy.c: New file.
29319 * powerpc64/power6/wcsrchr.c: New file.
29320
bcca0895
MK
293212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29322
29323 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29324 (two_way_short_needle): Use it.
5a4aaa33
RM
29325 * string/strstr.c (AVAILABLE1_USES_J): Define.
29326 * string/strcasestr.c: Likewise.
99677e57
MK
29327
29328 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29329 array references.
29330 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29331
400726de
MK
29332 [BZ #11607]
29333 * NEWS: Add an entry.
29334 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29335 define their defaults.
29336 (two_way_short_needle): Detect end-of-string on-the-fly.
29337 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29338 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29339 * string/bug-strcasestr1.c: New test.
29340 * string/Makefile: Run it.
29341
20a71f2c
MK
293422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29343
29344 [BZ #11607]
29345 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29346 the first character.
29347
21ad0558
RM
293482012-08-21 Roland McGrath <roland@hack.frob.com>
29349
29350 * csu/elf-init.c (__libc_csu_irel): Function removed.
29351 * csu/libc-start.c (apply_irel): New function.
29352 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29353
0e1d9911
JM
293542012-08-21 Joseph Myers <joseph@codesourcery.com>
29355
29356 * sysdeps/unix/sysv/linux/kernel-features.h
29357 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29358 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29359 <kernel-features.h>.
29360 [__NR_fadvise64_64]: Make code unconditional.
29361 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29362 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29363 !__NR_fadvise64_64)]: Likewise.
29364 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29365 !__NR_fadvise64_64))]: Likewise.
29366 [__NR_fadvise64]: Make code unconditional.
29367 [!__NR_fadvise64]: Remove conditional code.
29368 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29369 <kernel-features.h>.
29370 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29371 unconditional.
29372 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29373 conditional code.
29374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29375 not include <kernel-features.h>.
29376 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29377 unconditional.
29378 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29379 conditional code.
29380 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29381 include <kernel-features.h>.
29382 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29383 unconditional.
29384 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29385 conditional code.
29386
14a50c9d
WS
293872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29388
29389 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29390 slight instruction rearrangements per scrollpipe analysis.
29391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29392
c0f4faf0
RM
293932012-08-20 Roland McGrath <roland@hack.frob.com>
29394
696da859
RM
29395 * manual/syslog.texi (syslog; vsyslog, closelog):
29396 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29397 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29398
c0f4faf0
RM
29399 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29400 DSOCAPS to match condition on defining it.
29401
348363b2
JM
294022012-08-20 Joseph Myers <joseph@codesourcery.com>
29403
a35cbf28
JM
29404 * sysdeps/unix/sysv/linux/kernel-features.h
29405 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29407 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29408 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29410 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29411 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29413 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29414 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29415
445f7ecd
JM
29416 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29417 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29418
348363b2
JM
29419 * sysdeps/unix/sysv/linux/kernel-features.h
29420 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29421 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29422 unconditional.
29423 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29424 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29425 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29426 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29427 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29428 Make code unconditional.
29429 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29430 (__mmap64) [!__NR_mmap2]: Likewise.
29431 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29432 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29433 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29434 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29435 [__NR_mmap2]: Make code unconditional.
29436 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29437 (__mmap64) [!__NR_mmap2]: Likewise.
29438
bc5bc0e5
AK
294392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29440
29441 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29442
88d506de
AJ
294432012-08-18 Andreas Jaeger <aj@suse.de>
29444
29445 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29446
493387d2
MF
294472012-08-18 Mike Frysinger <vapier@gentoo.org>
29448
29449 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29450 * include/unistd.h (__have_sock_cloexec): Likewise.
29451 (__have_pipe2): Likewise.
29452 (__have_dup3): Likewise.
29453
a277af22
MF
294542012-08-18 Mike Frysinger <vapier@gentoo.org>
29455
29456 [BZ #9685]
29457 * include/unistd.h (__have_pipe2): Change define into an extern int.
29458 (__have_dup3): Likewise.
29459 * socket/have_sock_cloexec.c: Include fcntl.h.
29460 (__have_pipe2): New variable.
29461 (__have_dup3): Likewise.
29462
fdab8fd3
MF
294632012-08-17 Mike Frysinger <vapier@gentoo.org>
29464
29465 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29466
31035e80
MP
294672012-08-17 Marek Polacek <polacek@redhat.com>
29468
29469 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29470 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29471
3bd9e993
RM
294722012-08-17 Roland McGrath <roland@hack.frob.com>
29473
c91c505f
RM
29474 * configure.in: Add AC_SUBST for sysheaders.
29475 * configure: Regenerated.
29476 * config.make.in (sysheaders): New substituted variable.
29477
7c6f9d53
RM
29478 * sysdeps/unix/mkfifo.c: Moved ...
29479 * sysdeps/posix/mkfifo.c: ... here.
29480 * sysdeps/unix/mkfifoat.c: Moved ...
29481 * sysdeps/posix/mkfifoat.c: ... here.
29482
29483 * sysdeps/unix/utime.c: Moved ...
29484 * sysdeps/posix/utime.c: ... here.
29485
29486 * sysdeps/unix/time.c: Moved ...
29487 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29488 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29489 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29490
29491 * sysdeps/unix/nice.c: Moved ...
29492 * sysdeps/posix/nice.c: ... here.
29493
29494 * sysdeps/unix/alarm.c: Moved ...
29495 * sysdeps/posix/alarm.c: ... here.
29496
3bd9e993
RM
29497 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29498
d1f09384
JL
294992012-08-17 Jeff Law <law@redhat.com>
29500
29501 * intl/Makefile (codeset_mo): New variable.
29502 ($(codeset_mo)): New target.
29503 (tst-codeset.out): Depend on that. Remove explicit rule.
29504 (tst-gettext3.out, tst-gettext5.out): Likewise.
29505 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29506 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29507 * intl/tst-codeset.sh: Remove.
29508 * intl/tst-gettext3.sh: Likewise.
29509 * intl/tst-gettext5.sh: Likewise.
29510
2ae1ae5c
RM
295112012-08-17 Roland McGrath <roland@hack.frob.com>
29512
c31fdb83
RM
29513 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29514 * sysdeps/unix/syscalls.list: ... here.
29515
a0844057
RM
29516 * sysdeps/posix/getaddrinfo.c
29517 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29518 (gaiconf_init, gaiconf_reload): Use them.
29519 [!_STATBUF_ST_NSEC]
29520 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29521 Define using time_t rather than struct timespec.
29522
750c1f2a
RM
29523 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29524 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29525 Macros removed.
29526 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29527 [!NO_THREADS].
29528 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29529 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29530 Likewise.
29531
2ae1ae5c
RM
29532 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29533 __libc_cleanup_push argument.
29534
e66a42f5
RM
29535 * bits/param.h: New file.
29536 * misc/sys/param.h: New file.
29537 * include/sys/param.h: New file.
29538 * misc/Makefile (headers): Add bits/param.h.
29539 * sysdeps/generic/sys/param.h: File removed.
29540 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29541 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29542 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 29543 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 29544
b7c08a66
RM
29545 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29546 last change.
29547
b2e1c562
RM
29548 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29549 [_IO_MTSAFE_IO].
29550 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29551 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29552 New macros.
29553
c75ccd4c
RM
29554 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29555 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29556 rather than -D_IO_MTSAFE_IO conditionally.
29557 * stdio-common/Makefile (CPPFLAGS): Likewise.
29558 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29559 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29560 Use $(libio-mtsafe).
29561 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29562 of -D_IO_MTSAFE_IO.
29563 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29564 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29565 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29566 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29567 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29568 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29569 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29570 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29571 (CFLAGS-fread_u_chk.c): Likewise.
29572 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29573 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29574 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29575 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29576 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29577 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29578 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29579 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29580 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29581
29582 * libio/Makefile: Test [$(libc-reentrant) = yes]
29583 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29584
29585 * Makeconfig
29586 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29587 * sysdeps/pthread/configure: File removed.
29588 * sysdeps/pthread/Makeconfig: New file.
29589 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29590 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29591
d9195db8
GB
295922012-08-16 Gary Benson <gbenson@redhat.com>
29593
29594 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29595 unmapping the first object in a namespace.
29596
86466cd9
RM
295972012-08-16 Roland McGrath <roland@hack.frob.com>
29598
29599 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29600 (__internal_setnetgrent): ... this. Add internal_function to
29601 definition. Add libc_hidden_def.
29602 (setnetgrent): Update caller.
29603 (internal_endnetgrent): Renamed to ...
29604 (__internal_endnetgrent): ... this. Add internal_function to
29605 definition. Add libc_hidden_def.
29606 (endnetgrent): Update caller.
29607 (internal_getnetgrent_r): Renamed to ...
29608 (__internal_getnetgrent_r): ... this. Add internal_function to
29609 definition. Add libc_hidden_def.
29610 (__getnetgrent_r): Update caller.
29611 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29612
c3c8283c
JM
296132012-08-16 Joseph Myers <joseph@codesourcery.com>
29614
29615 * stdlib/longlong.h: Update from GCC.
29616
db1ee0a8
RM
296172012-08-16 Roland McGrath <roland@hack.frob.com>
29618
29619 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29620 on _QL, which is set by umul_ppmm but never used.
29621 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29622 variables, which are set by GMP macros but never used.
29623 * stdio-common/_itowa.c (_itowa): Likewise.
29624 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29625 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29626
30f69637
CD
296272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29628
29629 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29630 struct La_sh_regs is not constant.
29631 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29632 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29633 and struct La_sparc64_regs are not constant.
29634
93a78ac4
JM
296352012-08-16 Joseph Myers <joseph@codesourcery.com>
29636
29637 * sysdeps/unix/sysv/linux/kernel-features.h
29638 (__ASSUME_POSIX_TIMERS): Remove.
29639 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29640 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29641 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29642 Make code unconditional.
29643 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29644 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29645 Make code unconditional.
29646 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29647 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29648 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29649 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29650 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29651 Make code unconditional.
29652 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29653 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29654 (__libc_missing_posix_timers): Remove.
29655
dd924cd7
RM
296562012-08-15 Roland McGrath <roland@hack.frob.com>
29657
4b4f2771
RM
29658 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29659 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29660
601c888b
RM
29661 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29662
176790a7
RM
29663 * elf/dl-sym.c: Include <stdlib.h>.
29664
329bc018
RM
29665 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29666 constants, which avoids warnings in 32-bit builds.
29667
e04e272d
RM
29668 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29669 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29670
952bf94a
RM
29671 * misc/lseek.c: File moved to ...
29672 * io/lseek.c: ... here.
29673
7c99b50a
RM
29674 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29675
dd924cd7
RM
29676 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29677 shifting LEN more than 31 bits at once.
29678
b3f479a8
LD
296792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29680
29681 [BZ #14195]
8c4ae0d4
RM
29682 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29683 segmentation fault for a case of two empty input strings.
b3f479a8
LD
29684 * string/test-strncasecmp.c (check1): Renamed to...
29685 (bz12205): ...this.
29686 (bz14195): Add new testcase for two empty input strings and N > 0.
29687 (test_main): Call new testcase, adapt for renamed function.
29688
9c55864e
AJ
296892012-08-15 Andreas Jaeger <aj@suse.de>
29690
29691 [BZ #14090]
29692 * crypt/md5test2.c: New test, based on test supplied by Serge
29693 Belyshev <belyshev@depni.sinp.msu.ru>.
29694 * crypt/Makefile (xtests): Add md5test-giant..
29695 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29696
02dcb6c5
PE
296972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29698
29699 [BZ #14090]
29700 * crypt/md5.c (md5_process_block): Don't assume the buffer
29701 length is less than 2**32.
29702 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29703 length is less than 2**64.
29704
a3f95dcc
RM
297052012-08-15 Roland McGrath <roland@hack.frob.com>
29706
be75d758
RM
29707 * string/str-two-way.h: Include <sys/param.h>.
29708 (MAX): Macro removed.
29709
7312ca90
RM
29710 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29711 Move #define and #undef of memmove to just before and after
29712 including <string.h>.
29713
9a0a5486
RM
29714 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29715 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29716 and after including <string.h>. Move declarations of
29717 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29718 to before #include "string/memmove.c".
29719
67cc348d
RM
29720 * include/dirent.h: Declare __getdirentries.
29721
a3f95dcc
RM
29722 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29723 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29724
ca98e171
MF
297252012-08-14 Mike Frysinger <vapier@gentoo.org>
29726
29727 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29728 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29729 * sysdeps/i386/configure: Regenerated.
29730 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29731 STABS_CURRENT_FILE, and STABS_FUN.
29732 (END): Remove call to STABS_FUN_END.
29733 (STABS_CURRENT_FILE1): Delete.
29734 (STABS_CURRENT_FILE): Likewise.
29735 (STABS_FUN): Likewise.
29736 (STABS_FUN_END): Likewise.
29737 (STABS_FUN2): Likewise.
29738 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29739 * sysdeps/x86_64/configure: Regenerated.
29740
5908bf46
RM
297412012-08-14 Roland McGrath <roland@hack.frob.com>
29742
29743 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 29744 * elf/dl-lookup.c: Likewise.
5908bf46 29745
f2c05b9e
JM
297462012-08-14 Joseph Myers <joseph@codesourcery.com>
29747
29748 * sysdeps/unix/sysv/linux/kernel-features.h
29749 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29750 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29751 unconditionally.
29752 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29753 unconditionally.
29754 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29755 condition on __ASSUME_CLONE_THREAD_FLAGS.
29756
e11f5155
AJ
297572012-08-14 Andreas Jaeger <aj@suse.de>
29758
29759 * sysdeps/i386/fpu/libm-test-ulps: Update.
29760
51a9ba86
MK
297612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29762
2fdd4f78
AJ
29763 * include/atomic.h (atomic_exchange_and_add): Split into ...
29764 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29765 New atomic macros.
51a9ba86 29766
ba6cba9e
MT
297672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29768
29769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29770
42443a47
JL
297712012-08-13 Jeff Law <law@redhat.com>
29772
29773 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29774 null byte in the output string.
29775
121dce05
JM
297762012-08-10 Joseph Myers <joseph@codesourcery.com>
29777
29778 * sysdeps/unix/sysv/linux/kernel-features.h
29779 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29780 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29781 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29782 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29783 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29784 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29785 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29786
bf51f568
JL
297872012-08-09 Jeff Law <law@redhat.com>
29788
29789 [BZ #13939]
29790 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29791 When avoid_arena is set, don't retry in the that arena. Pick the
29792 next one, whatever it might be.
29793 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29794 (arena_lock): Pass in new parameter to arena_get2.
29795 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29796 arena_get2.
29797 (__libc_malloc): Unify retrying after main arena failure with
29798 __libc_memalign version.
29799 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29800
f85fa270
L
298012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29802
29803 [BZ #14166]
29804 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29805 to __redirect_strstr.
29806 (__strstr_sse42): Use typeof __redirect_strstr.
29807 (__strstr_ia32): Likewise.
29808 (__libc_strstr): New prototype.
29809 (strstr): Renamed to ...
29810 (__libc_strstr): This.
29811 (strstr): New strong alias of __libc_strstr.
29812 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29813 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29814 __redirect_time.
29815 Include <time.h>.
29816 (__libc_time): New prototype.
29817 (time_ifunc): Replace time with __libc_time.
29818 (time): New strong alias and hidden definition of __libc_time.
29819 (__GI_time): Remove strong alias.
29820 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29821 Include <stddef.h>.
29822 (memmove): Redefined to __redirect_memmove.
29823 (__memmove_sse2): Use typeof __redirect_memmove.
29824 (__memmove_ssse3): Likewise.
29825 (__memmove_ssse3_back): Likewise.
29826 (__libc_memmove): New prototype.
29827 (memmove): Renamed to ...
29828 (__libc_memmove): This.
29829 (memmove): New strong alias of __libc_memmove.
29830
33b4a91e
MS
298312012-08-08 Mark Salter <msalter@redhat.com>
29832
29833 * elf/elf.h
29834 (R_MN10300_TLS_GD): Define.
29835 (R_MN10300_TLS_LD): Likewise.
29836 (R_MN10300_TLS_LDO): Likewise.
29837 (R_MN10300_TLS_GOTIE): Likewise.
29838 (R_MN10300_TLS_IE): Likewise.
29839 (R_MN10300_TLS_LE): Likewise.
29840 (R_MN10300_TLS_DTPMOD): Likewise.
29841 (R_MN10300_TLS_DTPOFF): Likewise.
29842 (R_MN10300_TLS_TPOFF): Likewise.
29843 (R_MN10300_SYM_DIFF): Likewise.
29844 (R_MN10300_ALIGN): Likewise.
29845 (R_MN10300_NUM): Update.
29846
b36137f1
JM
298472012-08-08 Joseph Myers <joseph@codesourcery.com>
29848
29849 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29850 Remove.
29851
cdd915fd
RM
298522012-08-08 Roland McGrath <roland@hack.frob.com>
29853
a2433aac
RM
29854 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29855
cdd915fd
RM
29856 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29857 sysdeps/unix -> sysdeps/posix move.
29858 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29859
bf9b740a
AM
298602012-08-07 Allan McRae <allan@archlinux.org>
29861
29862 [BZ #14303]
29863 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29864 (SUNOS_CPP): Likewise.
29865 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29866 not found.
29867 (open_input): Call CPP using execvp.
29868
93df14ee
JM
298692012-08-07 Joseph Myers <joseph@codesourcery.com>
29870
29871 * sysdeps/unix/sysv/linux/kernel-features.h
29872 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29873 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29874 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29875 (__ASSUME_WAITID_SYSCALL): Likewise.
29876 * sysdeps/unix/sysv/linux/dl-execstack.c
29877 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29878 code unconditional.
29879 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29880 conditional code.
29881 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29882 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29883 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29884 code.
29885 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29886 unconditional.
29887 [__ASSUME_WAITID_SYSCALL]: Likewise.
29888 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29889
d34689de
RM
298902012-08-07 Roland McGrath <roland@hack.frob.com>
29891
a281decc
RM
29892 * sysdeps/unix/closedir.c: Renamed to ...
29893 * sysdeps/posix/closedir.c: ... here.
29894 * sysdeps/unix/dirfd.c: Renamed to ...
29895 * sysdeps/posix/dirfd.c: ... here.
29896 * sysdeps/unix/dirstream.h: Renamed to ...
29897 * sysdeps/posix/dirstream.h: ... here.
29898 * sysdeps/unix/fdopendir.c: Renamed to ...
29899 * sysdeps/posix/fdopendir.c: ... here.
29900 * sysdeps/unix/opendir.c: Renamed to ...
29901 * sysdeps/posix/opendir.c: ... here.
29902 * sysdeps/unix/readdir.c: Renamed to ...
29903 * sysdeps/posix/readdir.c: ... here.
29904 * sysdeps/unix/readdir_r.c: Renamed to ...
29905 * sysdeps/posix/readdir_r.c: ... here.
29906 * sysdeps/unix/rewinddir.c: Renamed to ...
29907 * sysdeps/posix/rewinddir.c: ... here.
29908 * sysdeps/unix/seekdir.c: Renamed to ...
29909 * sysdeps/posix/seekdir.c: ... here.
29910 * sysdeps/unix/telldir.c: Renamed to ...
29911 * sysdeps/posix/telldir.c: ... here.
29912 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29913 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29914 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29915 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29916
22895b47
RM
29917 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29918 * bits/fcntl.h: ... here.
29919
707a53b6
RM
29920 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29921 not 0.
29922 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29923 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29924 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29925 (struct flock): Move l_start, l_len to the beginning.
29926 Use __pid_t for l_pid.
29927 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29928 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29929 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29930 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29931 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29932 [__USE_LARGEFILE64] (struct flock64): New type.
29933 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29934
f0bd3e25
RM
29935 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29936 * bits/dirent.h: ... here.
29937
d34689de
RM
29938 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29939 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29940
6dad2c06
JM
299412012-08-07 Joseph Myers <joseph@codesourcery.com>
29942
29943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29944 Change from 2.6.0 to 2.6.16.
29945 * sysdeps/unix/sysv/linux/configure: Regenerated.
29946 * sysdeps/unix/sysv/linux/kernel-features.h
29947 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29948 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29949 version.
29950 (__ASSUME_UTIMES): Likewise.
29951 (__ASSUME_CLONE_STOPPED): Remove.
29952 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29953 architectures, not kernel version.
29954 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29955 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29956 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29957 (__ASSUME_WAITID_SYSCALL): Likewise.
29958 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29959 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29960 * README: State 2.6.16 as minimum Linux kernel version. Do not
29961 refer to older versions.
29962
03af9520
RM
299632012-08-06 Roland McGrath <roland@hack.frob.com>
29964
8e49df1d
RM
29965 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29966 Define alphasort64 as an alias.
29967 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29968 Define versionsort64 as an alias.
29969 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29970 Define scandir64 as an alias.
29971 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29972 Define scandirat64 as an alias.
29973 * dirent/alphasort64.c (alphasort64):
29974 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29975 * dirent/versionsort64.c: Likewise.
29976 * dirent/scandir64.c: Likewise.
29977 * dirent/scandirat64.c: Likewise.
29978 * sysdeps/wordsize-64/alphasort.c: File removed.
29979 * sysdeps/wordsize-64/alphasort64.c: File removed.
29980 * sysdeps/wordsize-64/scandir.c: File removed.
29981 * sysdeps/wordsize-64/scandir64.c: File removed.
29982 * sysdeps/wordsize-64/scandirat.c: File removed.
29983 * sysdeps/wordsize-64/scandirat64.c: File removed.
29984 * sysdeps/wordsize-64/versionsort.c: File removed.
29985 * sysdeps/wordsize-64/versionsort64.c: File removed.
29986 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29987 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29989 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29991 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29992 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29993 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29994
29995 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29997 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29998 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29999 [defined __arch64__ || defined __sparcv9]
30000 (__INO_T_MATCHES_INO64_T): New macro.
30001 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30002 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30003 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30004 * sysdeps/unix/sysv/linux/bits/dirent.h
30005 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30006 (_DIRENT_MATCHES_DIRENT64): New macro.
30007
03af9520
RM
30008 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30009 Define lockf64 as an alias.
30010 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30011 Define fseeko64 as an alias.
30012 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30013 Define ftello64 as an alias.
30014 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30015 Define _IO_fgetpos64 and fgetpos64 as aliases.
30016 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30017 Define _IO_fsetpos64 and fsetpos64 as aliases.
30018 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30019 Conditionalize body on this.
30020 * libio/fseeko64.c: Likewise.
30021 * libio/ftello64.c: Likewise.
30022 * libio/iofgetpos64.c: Likewise.
30023 * libio/iofsetpos64.c: Likewise.
30024 * sysdeps/wordsize-64/lockf.c: File removed.
30025 * sysdeps/wordsize-64/lockf64.c: File removed.
30026 * sysdeps/wordsize-64/fseeko.c: File removed.
30027 * sysdeps/wordsize-64/fseeko64.c: File removed.
30028 * sysdeps/wordsize-64/ftello.c: File removed.
30029 * sysdeps/wordsize-64/ftello64.c: File removed.
30030 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30031 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30032 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30033 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30034 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30035 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30036 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30037 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30038 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30039 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30041 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30042 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30043 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30044
30045 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30047 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30049 [defined __arch64__ || defined __sparcv9]
30050 (__OFF_T_MATCHES_OFF64_T): New macro.
30051 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30052 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30054 (__OFF_T_MATCHES_OFF64_T): New macro.
30055
c5757acd
L
300562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30057
30058 * stdlib/secure-getenv.c (__secure_getenv): Replace
30059 GLIBC_2_16 with GLIBC_2_17.
30060
3a31811e
L
300612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30062
30063 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30064 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30065
faa2bccb
DM
300662012-08-03 David S. Miller <davem@davemloft.net>
30067
30068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30069
85fe1997
JM
300702012-08-03 Joseph Myers <joseph@codesourcery.com>
30071
30072 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30073 Remove.
30074 (__ASSUME_CORRECT_SI_PID): Likewise.
30075 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30076 (__ASSUME_TMPFS_NAME): Likewise.
30077 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30078 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30079 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30080 (HAVE_AUX_SECURE): Make definition unconditional.
30081 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30082 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30083
4f75b7a0
RM
300842012-08-03 Roland McGrath <roland@hack.frob.com>
30085
30086 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30087 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30088 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30089 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30090 __eloop_threshold instead of SYMLOOP_MAX.
30091
30092 * sysdeps/generic/eloop-threshold.h: New file.
30093 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30094 of MAXSYMLINKS.
30095 * elf/chroot_canon.c (chroot_canon): Likewise.
30096
7aab07e4
JM
300972012-08-03 Joseph Myers <joseph@codesourcery.com>
30098
30099 [BZ #13717]
30100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30101 Change to 2.6.0 everywhere.
30102 * sysdeps/unix/sysv/linux/configure: Regenerated.
30103 * sysdeps/unix/sysv/linux/kernel-features.h
30104 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30105 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30106 kernel versions.
30107 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30108 (__ASSUME_FUTEX_REQUEUE): Remove.
30109 (__ASSUME_STATFS64): Define unconditionally.
30110 (__ASSUME_AT_SECURE): Likewise.
30111 (__ASSUME_CORRECT_SI_PID): Likewise.
30112 (__ASSUME_TGKILL): Define without depending on kernel version for
30113 i386.
30114 (__ASSUME_UTIMES): Likewise.
30115 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30116 kernel version.
30117 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30118 (__ASSUME_TMPFS_NAME): Likewise.
30119 * README: Update reference to Linux kernel versions.
30120
b67e9372
MP
301212012-08-02 Marek Polacek <polacek@redhat.com>
30122
1f529f7d 30123 [BZ# 14150]
b67e9372
MP
30124 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30125 libc_cv_asm_type_prefix with %.
30126 * configure: Regenerated.
d2441631
RM
30127 * include/libc-symbols.h: Remove comment about
30128 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30129 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30130 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30131 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30132 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30133 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30134 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30135 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30136 * elf/tst-unique2mod1.c: Likewise.
30137 * elf/tst-unique1mod2.c: Likewise.
30138 * elf/tst-unique1mod1.c: Likewise.
30139 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30140 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30141 Replace ASM_TYPE_DIRECTIVE with .type.
30142 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30143 * sysdeps/i386/sysdep.h: Likewise.
30144 * sysdeps/x86_64/sysdep.h: Likewise.
30145 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30147 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30148 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30149 * sysdeps/powerpc/powerpc32/sysdep.h:
30150 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30151 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30152 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30153 * sysdeps/i386/fpu/e_powf.S: Likewise.
30154 * sysdeps/i386/fpu/e_expl.S: Likewise.
30155 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30156 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30157 * sysdeps/i386/fpu/e_pow.S: Likewise.
30158 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30159 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30160 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30161 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30162 * sysdeps/i386/fpu/e_log2.S: Likewise.
30163 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30164 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30165 * sysdeps/i386/fpu/e_powl.S: Likewise.
30166 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30167 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30168 * sysdeps/i386/fpu/e_logl.S: Likewise.
30169 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30170 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30171 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30172 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30173 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30174 * sysdeps/i386/fpu/e_log.S: Likewise.
30175 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30176 * sysdeps/i386/fpu/e_logf.S: Likewise.
30177 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30178 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30179 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30180 * sysdeps/i386/fpu/e_log10.S: Likewise.
30181 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30182 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30183 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30184 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30185 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30186 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30187 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30188 * sysdeps/i386/i686/strtok.S: Likewise.
30189 * sysdeps/i386/i386-mcount.S: Likewise.
30190 * sysdeps/i386/strtok.S: Likewise.
30191 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30192 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30193 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30194 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30195 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30196 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30197 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30198 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30199 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30200 * sysdeps/x86_64/_mcount.S: Likewise.
30201 * sysdeps/x86_64/strtok.S: Likewise.
30202 * sysdeps/sh/_mcount.S: Likewise.
30203
2747bf9a
RM
302042012-08-01 Roland McGrath <roland@hack.frob.com>
30205
30206 * libio/iofopen.c: Include <fcntl.h>.
30207 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30208 (_IO_fopen64, fopen64): Define as aliases.
30209 * libio/iofopen64.c: Include <fcntl.h>.
30210 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30211 Conditionalize body on this.
30212 * sysdeps/wordsize-64/iofopen.c: File removed.
30213 * sysdeps/wordsize-64/iofopen64.c: File removed.
30214
3fb791b8
MP
302152012-08-01 Marek Polacek <polacek@redhat.com>
30216
30217 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30218 Use dlfcn directly instead of a variable.
30219 (binfmt-subdir): Do not define.
30220 (dlfcn): Likewise.
30221
a9f1039f
JM
302222012-08-01 Joseph Myers <joseph@codesourcery.com>
30223
23bddc06
JM
30224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30225 Remove all definitions.
30226 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30227 <kernel-features.h>.
30228 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30229 (miss_F_GETOWN_EX): Remove all definitions.
30230 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30231 macro definition.
30232 [!__ASSUME_FCNTL64]: Remove conditional code.
30233 [__ASSUME_FCNTL64]: Make code unconditional.
30234 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30235 <kernel-features.h>.
30236 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30237 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30238 (lockf64) [__NR_fcntl64]: Make code unconditional.
30239 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30240
a9f1039f
JM
30241 * sysdeps/unix/sysv/linux/kernel-features.h
30242 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30243 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30244 Make code unconditional.
30245 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30246 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30248 [__NR_vfork]: Make code unconditional.
30249 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30250 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30252 [__NR_vfork]: Make code unconditional.
30253 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30254 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30255
09c0ee5f
RM
302562012-08-01 Roland McGrath <roland@hack.frob.com>
30257
48aec5b9
RM
30258 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30259 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30260
cd97c966
RM
30261 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30262 Define mkstemp64 as an alias.
3f55550c
RM
30263 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30264 Define mkstemps64 as an alias.
cd97c966
RM
30265 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30266 Define mkostemp64 as an alias.
b8625cfc
RM
30267 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30268 Define mkostemps64 as an alias.
cd97c966
RM
30269 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30270 Conditionalize body on this.
30271 * misc/mkostemp64.c: Likewise.
b8625cfc 30272 * misc/mkostemps64.c: Likewise.
3f55550c 30273 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30274 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30275 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30276 * sysdeps/wordsize-64/mkostemp.c: File removed.
30277 * sysdeps/wordsize-64/mkstemp.c: File removed.
30278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30280 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30281 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30282
09c0ee5f
RM
30283 [BZ #14138]
30284 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30285 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30286 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30287 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30288
30289 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30290 compat_symbol macros from <shlib-compat.h> rather than the underlying
30291 default_symbol_version and symbol_version macros, so that DEFAULT
30292 lines in shlib-versions are respected.
30293 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30294
7e66ee51
FW
302952012-08-01 Florian Weimer <fweimer@redhat.com>
30296
30297 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30298 Declare with warn_unused_result.
30299 (setgid, setregid, setegid, setresgid): Likewise.
30300 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30301 Likewise.
30302 * WUR-REPORT: Remove set*id functions.
30303
d2a54255
PT
303042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30305
30306 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30307
7ecdb005
RM
303082012-07-31 Roland McGrath <roland@hack.frob.com>
30309
b4180a5e 30310 [BZ #10191]
789bd351
RM
30311 * include/sys/socket.h (__libc_accept, __libc_accept4):
30312 Add attribute_hidden.
30313 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30314
40ce302d
RM
30315 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30316 use of PTR_MANGLE.
30317 * inet/getnetgrent_r.c (setup): Likewise.
30318
7ecdb005
RM
30319 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30320
e2eabb2c
DM
303212012-07-31 David S. Miller <davem@davemloft.net>
30322
30323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30324
d0419dbf
JM
303252012-07-31 Joseph Myers <joseph@codesourcery.com>
30326
30327 [BZ #13629]
30328 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30329 value between 1.0 and 2.0 and smaller part has absolute value less
30330 than 1.0.
30331 * math/s_clog10.c (__clog10): Likewise.
30332 * math/s_clog10f.c (__clog10f): Likewise.
30333 * math/s_clog10l.c (__clog10l): Likewise.
30334 * math/s_clogf.c (__clogf): Likewise.
30335 * math/s_clogl.c (__clogl): Likewise.
30336 * math/libm-test.inc (clog_test): Add more tests.
30337 (clog10_test): Likewise.
30338 * sysdeps/i386/fpu/libm-test-ulps: Update.
30339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30340
2bc13872
FW
303412012-07-31 Florian Weimer <fweimer@redhat.com>
30342
30343 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30344 Exit with zero in case no suitable GID is found, and write a
30345 message to standard error.
30346
bea9b193
RM
303472012-07-30 Roland McGrath <roland@hack.frob.com>
30348
30349 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30350 rather than to 1.
30351 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30352 (MAXPATHLEN): Removed.
30353 (NOGROUP, NODEV): New macros.
30354 (setbit, clrbit, isset, isclr): New macros.
30355 (howmany, roundup, powerof2): New macros.
30356 (DEV_BSIZE): New macro.
30357
30358 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30359 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30360
30361 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30362 definition on [!__NO_LONG_DOUBLE_MATH].
30363
30364 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30365 PTR_MANGLE and PTR_DEMANGLE.
30366
30367 * socket/accept4.c (accept4): Rename to __libc_accept4.
30368 Define accept4 as a weak alias.
30369
30370 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30371 on [_DIRENT_HAVE_D_TYPE].
30372 * io/ftw.c (ftw_dir): Likewise.
30373
30374 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30375
30376 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30377
30378 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30379 Use the BSD numbers rather than the arbitrary ones we had.
30380 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30381 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30382 (SIGXCPU, SIGXFSZ): New macros.
30383 (_NSIG): Now 32.
30384
30385 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30386 initializer on [_LIBC_REENTRANT].
30387
30388 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30389 definitions inside [_POSIX_MAPPED_FILES].
30390
30391 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30392
30393 * dirent/opendir.c: Include <fcntl.h>.
30394
30395 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30396 (__libc_getspecific): Likewise.
30397 (__libc_key_create): Likewise.
30398
30399 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30400 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30401 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30402 (tmpfile64): Define as alias.
30403 * sysdeps/wordsize-64/tmpfile.c: File removed.
30404 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30405 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30406 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30407
30408 * stdio-common/vfscanf.c: Include <stdbool.h>.
30409 * nss/makedb.c: Likewise.
30410 * stdio-common/_i18n_number.h: Likewise.
30411 * argp/argp-help.c: Likewise.
30412 * posix/wordexp.c: Likewise.
30413 * sysdeps/posix/spawni.c: Likewise.
30414 * nss/nss_files/files-initgroups.c: Likewise.
30415 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30416 * nss/nss_files/files-initgroups.c: Likewise.
30417 * nss/nss_db/db-netgrp.c: Likewise.
30418 * nss/nss_db/db-initgroups.c: Likewise.
30419 * io/fchmodat.c: Include <sys/stat.h>.
30420
30421 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30422 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30423
30424 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30425 [HAVE_MMAP].
30426
30427 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30428 Add multiple inclusion protection.
30429
e5abc686
DM
304302012-07-27 David S. Miller <davem@davemloft.net>
30431
30432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30433
815e6fa3
GB
304342012-07-27 Gary Benson <gbenson@redhat.com>
30435
30436 [BZ #14298]
30437 * elf/rtld.c: Include <stap-probe.h>.
30438 (dl_main): Added static probes "init_start" and "init_complete".
30439 * elf/dl-load.c: Include <stap-probe.h>.
30440 (lose): Take new parameter "nsid".
30441 Added static probe "map_failed".
30442 (_dl_map_object_from_fd): Pass namespace id to lose.
30443 Added static probe "map_start".
30444 (open_verify): Pass namespace id to lose.
30445 * elf/dl-open.c: Include <stap-probe.h>.
30446 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30447 and "reloc_complete".
30448 * elf/dl-close.c: Include <stap-probe.h>.
30449 (_dl_close_worker): Added static probes "unmap_start" and
30450 "unmap_complete".
30451 * elf/rtld-debugger-interface.txt: New file documenting the above.
30452
9f98c16c
RM
304532012-07-26 Roland McGrath <roland@hack.frob.com>
30454
30455 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30456 rather than a string variable.
30457 * sunrpc/rpc_main.c (h_output): Likewise.
30458 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30459
f3c22df3
PT
304602012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30461
30462 * inet/check_native.c: New file.
30463
3129cfc6
JM
304642012-07-26 Joseph Myers <joseph@codesourcery.com>
30465
da865e95
JM
30466 [BZ #13629]
30467 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30468 if larger part has absolute value 1.0.
30469 * math/s_clog10.c (__clog10): Likewise.
30470 * math/s_clog10f.c (__clog10f): Likewise.
30471 * math/s_clog10l.c (__clog10l): Likewise.
30472 * math/s_clogf.c (__clogf): Likewise.
30473 * math/s_clogl.c (__clogl): Likewise.
30474 * math/libm-test.inc (clog_test): Add more tests.
30475 (clog10_test): Likewise.
30476 * sysdeps/i386/fpu/libm-test-ulps: Update.
30477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30478
3129cfc6
JM
30479 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30480 (pltexit): Likewise.
30481 (La_regs): Likewise.
30482 (La_retval): Likewise.
30483 (int_retval): Likewise.
30484 Update #error for removed macros to refer only to definitions in
30485 tst-audit.h.
30486 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30487 macro.
30488 (pltexit): Likewise.
30489 (La_regs): Likewise.
30490 (La_retval): Likewise.
30491 (int_retval): Likewise.
30492 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30493 macro.
30494 (pltexit): Likewise.
30495 (La_regs): Likewise.
30496 (La_retval): Likewise.
30497 (int_retval): Likewise.
30498 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30499 macro.
30500 (pltexit): Likewise.
30501 (La_regs): Likewise.
30502 (La_retval): Likewise.
30503 (int_retval): Likewise.
30504 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30505 macro.
30506 (pltexit): Likewise.
30507 (La_regs): Likewise.
30508 (La_retval): Likewise.
30509 (int_retval): Likewise.
30510 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30511 macro.
30512 (pltexit): Likewise.
30513 (La_regs): Likewise.
30514 (La_retval): Likewise.
30515 (int_retval): Likewise.
30516 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30517 macro.
30518 (pltexit): Likewise.
30519 (La_regs): Likewise.
30520 (La_retval): Likewise.
30521 (int_retval): Likewise.
30522 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30523 macro definitions in tst-audit.h.
30524 * sysdeps/i386/tst-audit.h: New file.
30525 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30526 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30527 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30528 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30529 * sysdeps/sh/tst-audit.h: Likewise.
30530 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30531 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30532 * sysdeps/x86_64/tst-audit.h: Likewise.
30533
bfc07087
AJ
305342012-07-26 Andreas Jaeger <aj@suse.de>
30535
b1b2aaf8
AJ
30536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30537 ptrace.
30538
30539 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30540 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30541 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30542 PTRACE_O_MASK.
30543 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30544 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30545 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30546
bfc07087
AJ
30547 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30548 value.
30549
30550 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30551 _sigsys.
30552 (si_call_addr, si_syscall, si_arch): Define new macro.
30553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30554 _sigsys.
30555 (si_call_addr, si_syscall, si_arch): Define new marcro.
30556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30557 _sigsys.
30558 (si_call_addr, si_syscall, si_arch): Define new macro.
30559 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30560 _sigsys.
30561 (si_call_addr, si_syscall, si_arch): Define new macro.
30562
89b4b02f
JM
305632012-07-25 Joseph Myers <joseph@codesourcery.com>
30564
30565 [BZ #13717]
30566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30567 Change to 2.4.21 where previously 2.4.1.
30568 * sysdeps/unix/sysv/linux/configure: Regenerated.
30569 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30570 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30571 Linux kernel version.
30572 (__ASSUME_STD_AUXV): Remove.
30573 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30574 kernel version.
30575 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30576 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30577 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30578 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30579 (__ASSUME_NETLINK_SUPPORT): Likewise.
30580 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30581 (__no_netlink_support): Remove conditional definition.
30582 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30583 Remove.
30584 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30585 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30586 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30587 (if_nameindex_ioctl): Remove.
30588 (if_nameindex_netlink): Do not handle __no_netlink_support.
30589 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30590 code.
30591 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30592 Remove conditional code.
30593 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30594 code.
30595 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30596 unconditional.
30597 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30598 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30599 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30600 Remove.
30601 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30602 [!__ASSUME_STD_AUXV]: Remove conditional code.
30603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30604 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30605 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30607 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30608 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30609 code.
30610 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30612 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30613 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30614 conditional code.
30615 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30617 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30618 code.
30619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30620 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30621 conditional code.
30622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30623 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30624 code unconditional.
30625 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30626 conditional code.
30627 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30628 unconditional.
30629 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30630 conditional code.
30631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30632 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30633 unconditional.
30634 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30635 conditional code.
30636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30637 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30638 code unconditional.
30639 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30640 conditional code.
30641 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30642 unconditional.
30643 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30644 conditional code.
30645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30646 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30647 code unconditional.
30648 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30649 conditional code.
30650 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30651 unconditional.
30652 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30653 conditional code.
30654
842a39cd
AS
306552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30656
30657 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30658 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30659 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30660 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30661 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30662 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30663 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30664 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30665 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30666 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30667 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30668 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30669 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30670 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30671 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30672 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30673 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30674 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30675 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30677 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30678 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30679 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30680
84b3fd84
FW
306812012-07-25 Florian Weimer <fweimer@redhat.com>
30682
30683 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
30684 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30685 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30686 Introduce __libc_secure_getenv.
0c7936d5
FW
30687 * stdlib/Versions (2.17): Add secure_getenv
30688 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30689 * stdlib/secure-getenv.c: Rename __secure_getenv to
30690 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30691 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
30692 * stdlib/tst-secure-getenv.c: New.
30693 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
30694 * manual/startup.texi (Environment Access): Document
30695 secure_getenv.
84b3fd84
FW
30696 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30697 __libc_secure_getenv.
30698 * inet/ruserpass.c (ruserpass): Likewise.
30699 * malloc/mtrace.c (mtrace): Likewise.
30700 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 30701 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
30702 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30703 * sysdeps/posix/tempname.c: Likewise. Evaluate
30704 HAVE_SECURE_GETENV.
30705 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 30706 __secure_getenv to __libc_secure_getenv.
84b3fd84 30707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30709 Likewise.
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30711 Likewise.
30712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30714 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 30719
56e49b71
JM
307202012-07-25 Joseph Myers <joseph@codesourcery.com>
30721
30722 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30723 (struct La_i86_retval): Likewise.
30724 (struct La_x86_64_regs): Likewise.
30725 (struct La_x86_64_retval): Likewise.
30726 (struct La_x32_regs): Likewise.
30727 (struct La_x32_retval): Likewise.
30728 (struct La_ppc32_regs): Likewise.
30729 (struct La_ppc32_retval): Likewise.
30730 (struct La_ppc64_regs): Likewise.
30731 (struct La_ppc64_retval): Likewise.
30732 (struct La_sh_regs): Likewise.
30733 (struct La_sh_retval): Likewise.
30734 (struct La_s390_32_regs): Likewise.
30735 (struct La_s390_32_retval): Likewise.
30736 (struct La_s390_64_regs): Likewise.
30737 (struct La_s390_64_retval): Likewise.
30738 (struct La_sparc32_regs): Likewise.
30739 (struct La_sparc32_retval): Likewise.
30740 (struct La_sparc64_regs): Likewise.
30741 (struct La_sparc64_retval): Likewise.
30742 (struct audit_ifaces): Remove architecture-specific pltenter and
30743 pltexit members.
30744 * sysdeps/i386/ldsodefs.h: New file.
30745 * sysdeps/powerpc/ldsodefs.h: Likewise.
30746 * sysdeps/s390/ldsodefs.h: Likewise.
30747 * sysdeps/sh/ldsodefs.h: Likewise.
30748 * sysdeps/sparc/ldsodefs.h: Likewise.
30749 * sysdeps/x86_64/ldsodefs.h: Likewise.
30750
354691b7
MP
307512012-07-25 Marek Polacek <polacek@redhat.com>
30752
30753 [BZ #6808]
30754 * math/libm-test.inc (yn_test): Add another test.
30755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30756 to ERANGE when the result is +-Inf.
30757 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30758 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30759 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30760 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30761
bf9e2071
JM
307622012-07-24 Joseph Myers <joseph@codesourcery.com>
30763
30764 * conform/data/time.h-data (NULL): Use macro-constant. Require
30765 equal to 0.
30766 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30767 clock_t.
30768 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30769
57633811
TS
307702012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30771
30772 * configure.in <sysdeps resolving>: Correct printing
30773 Implies_before.
30774 * configure: Regenerate.
30775
c23c33b0
TS
307762012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30777
30778 * math/w_ilogb.c: Include <limits.h>.
30779 * math/w_ilogbl.c: Likewise.
30780
b5982523
JM
307812012-07-20 Joseph Myers <joseph@codesourcery.com>
30782
30783 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30784 va_copy. Document allowing for unavailable va_copy only as
30785 pre-C99 compatibility.
30786 * manual/string.texi (Copying and Concatenation): Use va_copy
30787 instead of __va_copy in concat example.
30788
ac4ea442
PT
307892012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30790
30791 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30792 (__sendto): Use create_address_port. Initialize APORT and deallocate
30793 it if not null.
30794
f98eafbd
PT
30795 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30796 with O_NOLINK passed to __file_name_lookup.
30797
898c7aab
PT
30798 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30799 with O_NOLINK passed to __file_name_lookup.
30800
0ced335a
PT
30801 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30802 negative N or less than NGIDS.
30803
b3404dbd
PT
30804 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30805 type to string_t. Set ERANGE as errno and return it if NAME is not big
30806 enough. Use memcpy instead of strncpy.
30807
0f48659e
JM
308082012-07-20 Joseph Myers <joseph@codesourcery.com>
30809
30810 * elf/Makefile (check-data): Remove.
30811 (localplt.data): New vpath directive.
30812 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30813 instead of $(check-data).
30814 * scripts/data/localplt-generic.data: Move to ...
30815 * sysdeps/generic/localplt.data: ... here.
30816 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30817 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30818 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30820 ... here.
30821 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30823 ... here.
30824 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30826 ... here.
30827 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30829 ... here.
30830 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30832 ... here.
30833 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30835 ... here.
30836
d37cbdaa
AZ
308372012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30838
30839 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30840 PPC32 and PPC64 files.
30841 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30842 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30843
46f85fc2
AK
308442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30845
30846 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30847 __makecontext_ret to ...
30848 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30849 ... here and call exit if uc_link is NULL. New file.
30850 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30851 __makecontext_ret.S.
30852 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30853 __makecontext_ret to ...
30854 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30855 ... here and call exit if uc_link is NULL. New file.
30856 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30857 __makecontext_ret.S.
30858
08f43f9b
AK
308592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30860
30861 * elf/elf.h (R_390_IRELATIVE): New definition.
30862 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30863 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30864 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30865 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30866 (elf_machine_lazy_rel): Likewise.
30867 * sysdeps/s390/dl-irel.h: New file.
30868 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30869 * sysdeps/s390/s390-64/memset.S: New asm code.
30870 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30871 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30872 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30873 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30874 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30875 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30876 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30877 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30878 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30879 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30880 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30881 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30882 * sysdeps/s390/s390-32/memset.S: New asm code.
30883 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30884
3b05db33
MP
308852012-07-17 Marek Polacek <polacek@redhat.com>
30886
30887 [BZ #14349]
30888 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30889 * sysdeps/s390/s390-64/configure.in: Likewise.
30890 * sysdeps/sparc/configure.in: Likewise.
30891 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30892 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30893 * sysdeps/i386/configure.in: Likewise.
30894 * sysdeps/x86_64/configure.in: Likewise.
30895 * sysdeps/sh/configure.in: Likewise.
30896 * sysdeps/s390/s390-32/configure: Regenerated.
30897 * sysdeps/s390/s390-64/configure: Likewise.
30898 * sysdeps/x86_64/configure: Likewise.
30899 * sysdeps/sh/configure: Likewise.
30900 * sysdeps/powerpc/powerpc64/configure: Likewise.
30901 * sysdeps/powerpc/powerpc32/configure: Likewise.
30902 * sysdeps/sparc/configure: Likwise.
30903 * sysdeps/i386/configure: Likewise.
30904
a66877c6
MP
30905 * elf/dl-open.c: Comment fixes.
30906
cfc82fd8
JM
309072012-07-17 Joseph Myers <joseph@codesourcery.com>
30908
bd29910a
JM
30909 * Makefile [CXX] (check-data): Remove.
30910 [CXX] (c++-types.data): New vpath directive.
30911 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30912 vpath. Do not allow for C++ type data being missing.
30913 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30914 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30915 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30916 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30917 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30918 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30919 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30921 ... here.
30922 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30924 ... here.
30925 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30927 ... here.
30928 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30930 ... here.
30931 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30933 ... here.
30934 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30936 ... here.
30937 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30939 ... here.
30940 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30942
cfc82fd8
JM
30943 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30944 definitions to architecture-specific files.
30945 (TLS_IE): Likewise.
30946 (TLS_LD): Likewise.
30947 (TLS_GD): Likewise.
30948 * sysdeps/i386/tls-macros.h: New file.
30949 * sysdeps/powerpc/tls-macros.h: Likewise.
30950 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30951 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30952 * sysdeps/sh/tls-macros.h: Likewise.
30953 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30954 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30955 * sysdeps/x86_64/tls-macros.h: Likewise.
30956
f7db3170
TS
309572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30958
07cbfc23
TS
30959 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30960 zero value for regular exit case.
30961
f7db3170
TS
30962 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30963 (__start_context): Preserve zero value for regular exit case.
30964
dc97c227
TS
309652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30966 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30967
30968 * manual/setjmp.texi (setcontext): Clarify normal process
30969 termination when uc_link is the null pointer.
30970 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30971 exit call.
30972
d0cd7d02
AS
309732012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30974
30975 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30976 preprocessor. Test for each exception mask separately.
30977
dd318934
AJ
309782012-07-16 Andreas Jaeger <aj@suse.de>
30979
30980 * po/ru.po: Update from translation team.
30981
8048311a
JM
309822012-07-15 Joseph Myers <joseph@codesourcery.com>
30983
30984 * conform/data/string.h-data (NULL): Use macro-constant. Require
30985 equal to 0.
30986 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30987 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30988 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30989 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30990 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30991
b637d46e
AJ
309922012-07-13 Andreas Jaeger <aj@suse.de>
30993
30994 * po/fr.po: Update from translation team.
30995
541428fe
MP
309962012-07-12 Marek Polacek <polacek@redhat.com>
30997
30998 [BZ #14173]
30999 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31001 loop condition.
31002
ec332e94
JM
310032012-07-12 Joseph Myers <joseph@codesourcery.com>
31004
31005 [BZ #13717]
31006 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31007 Change to 2.4.1 where previously 2.4.0.
31008 * sysdeps/unix/sysv/linux/configure: Regenerated.
31009 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31010 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31011 version.
31012 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31013 (__ASSUME_AT_CLKTCK): Remove.
31014 (__ASSUME_AT_PAGESIZE): Likewise.
31015 (__ASSUME_AT_XID): Likewise.
31016 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31017 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31018 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31019 unconditionally.
31020 (HAVE_AUX_PAGESIZE): Likewise.
31021 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31022 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31023 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31024
7b6e99be
JB
310252012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31026
31027 [BZ #14307]
31028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31029 the temporary buffer used to invoke __gethostbyname2_r,
31030 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31031 host_data / struct gaih_addrtuple.
31032 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31033 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31034 header file nss/nsswitch.h.
31035 * nss/nsswitch.h (global scope): Add definition of implementation
31036 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31037 resolv/nss_dns/dns-host.c).
31038
608404eb
AJ
310392012-07-11 Andreas Jaeger <aj@suse.de>
31040
31041 * po/fr.po: Update from translation team.
31042
71220aca
AJ
31043 * po/sv.po: Update from translation team
31044 * po/fr.po: Another update from translation team.
31045
28cfe843
AZ
310462012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31047
31048 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31049 for subnormals or multiply small sinh result by itself.
31050 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31052
6b90f981
DM
310532012-07-11 David S. Miller <davem@davemloft.net>
31054
31055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31056
c6825772
AS
310572012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31058
31059 [BZ #14347]
31060 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31061 (INTERNAL_MARK): Shift it here.
31062
7b8e0d49
MP
310632012-07-10 Marek Polacek <polacek@redhat.com>
31064
31065 [BZ #14151]
31066 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31067 libc_cv_asm_global_directive with .globl.
31068 * configure: Regenerated.
31069 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31070 with .globl.
31071 * sysdeps/i386/configure: Regenerated.
31072 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31073 with .globl.
31074 * sysdeps/x86_64/configure: Regenerated.
31075 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31076 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31077 * elf/tst-unique2mod2.c: Likewise.
31078 * elf/tst-unique2mod1.c: Likewise.
31079 * elf/tst-unique1mod2.c: Likewise.
31080 * elf/tst-unique1mod1.c: Likewise.
31081 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31082 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31083 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31084 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31085 * sysdeps/mach/sysdep.h: Likewise.
31086 * sysdeps/i386/sysdep.h: Likewise.
31087 * sysdeps/i386/i386-mcount.S: Likewise.
31088 * sysdeps/x86_64/_mcount.S: Likewise.
31089 * sysdeps/x86_64/sysdep.h: Likewise.
31090 * sysdeps/sh/_mcount.S: Likewise.
31091 * sysdeps/sh/sysdep.h: Likewise.
31092 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31093 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31094 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31096 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31097 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31098 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31099 * locale/localeinfo.h: Likewise.
31100 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31101 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31102
6c55cda3
RM
311032012-07-09 Roland McGrath <roland@hack.frob.com>
31104
31105 [BZ #14336]
31106 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31107 system".
31108 * manual/message.texi (The Uniforum approach): Likewise.
31109 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31110 (glibc iconv Implementation): Likewise.
31111
638a572e
JM
311122012-07-09 Joseph Myers <joseph@codesourcery.com>
31113
31114 [BZ #14337]
31115 * math/s_clog.c (__clog): Avoid scaling a value down where that
31116 could result in underflow.
31117 * math/s_clog10.c (__clog10): Likewise.
31118 * math/s_clog10f.c (__clog10f): Likewise.
31119 * math/s_clog10l.c (__clog10l): Likewise.
31120 * math/s_clogf.c (__clogf): Likewise.
31121 * math/s_clogl.c (__clogl): Likewise.
31122 * math/libm-test.inc (clog_test): Add more tests.
31123 (clog10_test): Likewise.
31124 * sysdeps/i386/fpu/libm-test-ulps: Update.
31125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31126
261f4859
AS
311272012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31128
0abaf3e4
AS
31129 [BZ #14283]
31130 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31131 by 7 not 8 to examine high bit of fractional part.
31132
261f4859
AS
31133 [BZ #14042]
31134 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31135 for call to __mcount_internal.
31136 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31137 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31138 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31139
f17ac40d
JM
311402012-07-06 Joseph Myers <joseph@codesourcery.com>
31141
9ad63c23
JM
31142 [BZ #14154]
31143 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31144 approximation for values within 0x1p-13f of an odd multiple of
31145 pi/4.
31146 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31147 exception. Add more tests.
31148 * sysdeps/i386/fpu/libm-test-ulps: Update.
31149
f17ac40d
JM
31150 [BZ #6778]
31151 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31152 inputs and return -1 for them. Do not check for +Inf in case not
31153 reachable for +Inf.
31154 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31155 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31156 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31157 and return -1 for them. Do not check for +Inf in case not
31158 reachable for +Inf.
31159 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31160 define.
31161 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31162 and return -1 for them. Do not check for +Inf in case not
31163 reachable for +Inf.
31164 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31165 spurious underflow.
31166 * sysdeps/i386/fpu/libm-test-ulps: Update.
31167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31168
fb21f89b
MF
311692012-07-06 Mike Frysinger <vapier@gentoo.org>
31170
31171 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31172
cdfe2c5e
JM
311732012-07-05 Joseph Myers <joseph@codesourcery.com>
31174
31175 [BZ #14157]
31176 [BZ #14331]
31177 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31178 could result in spurious underflow. Scale down values above
31179 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31180 * math/s_csqrtf.c (__csqrtf): Likewise.
31181 * math/s_csqrtl.c (__csqrtl): Likewise.
31182 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31183 spurious underflow.
31184 * sysdeps/i386/fpu/libm-test-ulps: Update.
31185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31186
70d35b67
AS
311872012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31188
704bc459
AS
31189 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31190 xopen-msg.sed.
31191 * catgets/xopen-msg.awk: New file.
31192 * catgets/xopen-msg.sed: Removed.
31193
70d35b67
AS
31194 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31195 po2text.sed.
31196 * intl/po2test.awk: New file.
31197 * intl/po2test.sed: Removed.
31198
ca61cf32
JM
311992012-07-04 Joseph Myers <joseph@codesourcery.com>
31200
31201 [BZ #14328]
31202 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31203 or multiply small sinh result by itself.
31204 * math/s_ctanf.c (__ctanf): Likewise.
31205 * math/s_ctanh.c (__ctanh): Likewise.
31206 * math/s_ctanhf.c (__ctanhf): Likewise.
31207 * math/s_ctanhl.c (__ctanhl): Likewise.
31208 * math/s_ctanl.c (__ctanl): Likewise.
31209 * math/libm-test.inc (ctan_test_tonearest): New function.
31210 (ctan_test_towardzero): Likewise.
31211 (ctan_test_downward): Likewise.
31212 (ctan_test_upward): Likewise.
31213 (ctanh_test_tonearest): Likewise.
31214 (ctanh_test_towardzero): Likewise.
31215 (ctanh_test_downward): Likewise.
31216 (ctanh_test_upward): Likewise.
31217 (main): Call these new functions.
31218 * sysdeps/i386/fpu/libm-test-ulps: Update.
31219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31220
ca48a46a
MF
312212012-07-03 Mike Frysinger <vapier@gentoo.org>
31222
31223 * .gitignore: Delete /ports entry.
31224
9d63d37d
AJ
312252012-07-03 Andreas Jaeger <aj@suse.de>
31226
31227 * po/bg.po: Update from translation team.
31228 * po/cs.po: Likewise.
31229 * po/de.po: Likewise.
31230 * po/hr.po: Likewise.
31231 * po/nl.pl: Likewise.
31232 * po/pl.po: Likewise.
31233 * po/vi.po: Likewise.
31234
370ca3d2
JM
312352012-07-03 Joseph Myers <joseph@codesourcery.com>
31236
95f5a9a8
JM
31237 * Makeconfig [!+link] (+link-before-libc): New variable.
31238 [!+link] (+link-after-libc): Likewise.
31239 [!+link] (+link-tests): Likewise.
31240 [!+link] (+link): Define in terms of $(+link-before-libc) and
31241 $(+link-after-libc).
31242 [!+link-static] (+link-static-before-libc): New variable.
31243 [!+link-static] (+link-static-after-libc): Likewise.
31244 [!+link-static] (+link-static-tests): Likewise.
31245 [!+link-static] (+link-static): Define in terms of
31246 $(+link-static-before-libc) and $(+link-static-after-libc).
31247 [build-shared] (link-libc-before-gnulib): New variable.
31248 [build-shared] (link-libc-tests): Likewise.
31249 [build-shared] (link-libc): Define in terms of
31250 $(link-libc-before-gnulib).
31251 [!build-shared] (link-libc-tests): New variable.
31252 (link-libc-static-tests): New variable.
31253 [!gnulib] (gnulib-arch): New variable.
31254 [!gnulib] (gnulib-tests): Likewise.
31255 [!gnulib] (static-gnulib-arch): Likewise.
31256 [!gnulib] (static-gnulib-tests): Likewise.
31257 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31258 Define with "=" instead of ":=".
31259 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31260 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31261 * Rules (binaries-all-notests): New variable.
31262 (binaries-all-tests): Likewise.
31263 (binaries-static-notests): Likewise.
31264 (binaries-static-tests): Likewise.
31265 (binaries-all): Define using $(binaries-all-notests) and
31266 $(binaries-all-tests).
31267 (binaries-static): Define using $(binaries-static-notests) and
31268 $(binaries-static-tests).
31269 (binaries-shared-tests): New variable.
31270 (binaries-shared-notests): Likewise.
31271 (binaries-shared): Remove variable.
31272 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31273 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31274 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31275 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31276 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31277 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31278 * elf/Makefile (sln-modules): New variable.
31279 (extra-objs): Add $(sln-modules:=.o).
31280 (ldconfig-modules): Add static-stubs.
31281 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31282 * elf/static-stubs.c: New file.
31283
7a845b2c
JM
31284 [BZ #14283]
31285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31286 by 7 not 8 to examine high bit of fractional part. Use volatile
31287 variables when splitting into final array of floats if
31288 __FLT_EVAL_METHOD__ != 0.
31289 * math/libm-test.inc (cos_test): Add another test.
31290 (sin_test): Likewise.
31291 * sysdeps/i386/fpu/libm-test-ulps: Update.
31292
e2283f38
JM
31293 [BZ #14273]
31294 * math/libm-test.inc (cosh_test): Add more tests.
31295
370ca3d2
JM
31296 * version.h (RELEASE): Set to "development".
31297 (VERSION): Set to "2.16.90".
31298
ee9247c3
CD
312992012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31300
31301 * NEWS: Update copyright. Remove last-updated date.
31302 Mention math library bug fixes and timezone data changes.
31303 * README: Mention GNU/Hurd, x32, and HPPA support status.
31304
4648c381
TS
313052012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31306
31307 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31308
aac78a43
AJ
313092012-06-27 Andreas Jaeger <aj@suse.de>
31310
31311 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31312
ed3dbfad
AJ
313132012-06-25 Andreas Jaeger <aj@suse.de>
31314
31315 * sysdeps/s390/fpu/libm-test-ulps: Update.
31316
4d0ee855
AS
313172012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31318 Thomas Schwinge <thomas@codesourcery.com>
31319
31320 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31321 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31323 fanotify_mark.
31324
af1bce34
TS
313252012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31326
a9fa33ba
TS
31327 * sysdeps/mach/start.c: Remove file.
31328 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31329 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31330 * sysdeps/sh/init-first.c: Likewise.
31331
58f902b8
TS
31332 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31333 registers for frame unwinding purposes, add CFI directives.
31334 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31335 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31336 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31337 Likewise.
31338
1518f58b
TS
31339 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31340 __fortify_fail returning.
31341 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31342
db9b5059
TS
31343 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31344 sysdeps/sh/____longjmp_chk.S.
31345 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31346 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31347 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31348 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31349
967705fe
TS
31350 * sysdeps/sh/abort-instr.h: New file.
31351 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31352 process in case exit returns.
31353
a9def8c4
TS
31354 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31355 initialize the GOT register before use.
31356
2a649725
TS
31357 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31358 calculation of ARGC > 4.
31359
af1bce34
TS
31360 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31361 meaningful names to some local labels.
31362
d230f50a
KK
313632012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31364 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31365
31366 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31367 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31368 (__arch_compare_and_exchange_val_16_acq): Likewise.
31369 (__arch_compare_and_exchange_val_32_acq): Likewise.
31370 (atomic_exchange_and_add): Fix gUSA sequence.
31371 (atomic_add): Likewise.
31372 (atomic_add_negative): Likewise.
31373 (atomic_add_zero): Likewise.
31374 (atomic_bit_test_set): Likewise.
31375
0479b305
AS
313762012-06-22 Andreas Schwab <schwab@redhat.com>
31377
31378 [BZ #13579]
31379 * include/link.h (struct link_map): Add l_free_initfini.
31380 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31381 l_initfini.
31382 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31383 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31384 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31385 set.
31386
0e3933b9
CD
313872012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31388
31389 * configure.in: Use AC_LANG_SOURCE.
31390 * configure: Regenerate.
31391
4248b1b1
RM
313922012-06-22 Roland McGrath <roland@hack.frob.com>
31393
31394 * configure.in (libc_cv_localstatedir): New substituted variable.
31395 * configure: Regenerated.
31396 * config.make.in (localstatedir): New variable, substituted from
31397 libc_cv_localstatedir.
31398 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31399 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31400 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31401 * sysdeps/gnu/configure: Regenerated.
31402
006dd861
JL
314032012-06-21 Jeff Law <law@redhat.com>
31404
31405 [BZ #14277]
31406 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31407 free. Simplify list management for _LIBC case.
31408
79662d42
JM
314092012-06-21 Joseph Myers <joseph@codesourcery.com>
31410
b7abb4bf
JM
31411 [BZ #14273]
31412 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31413 Clear sign bit of 64-bit integer value before comparing against
31414 overflow value.
31415
79662d42
JM
31416 * sysdeps/mach/configure: Regenerated.
31417
1f150908
L
314182012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31419
31420 [BZ #14278]
31421 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31422
28363bbf
JL
314232012-06-21 Jeff Law <law@redhat.com>
31424
31425 [BZ #13882]
31426 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31427 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31428 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31429 * elf/dl-open.c (dl_open_worker): Likewise.
31430
09615db4
CD
314312012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31432
31433 * scripts/list-sources.sh: Scan PORTS for translations.
31434 * po/libc.pot: Regenerated.
31435
2174c6dd
AJ
314362012-06-21 Andreas Jaeger <aj@suse.de>
31437
31438 [BZ #12194]
31439 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31440 warning.
31441 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31442 * bits/byteswap-16.h (__bswap_16): Likewise.
31443 * bits/byteswap.h (__bswap_constant_16): Likewise.
31444
3ee947b1
L
314452012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31446
31447 [BZ #14117]
a2f34833
L
31448 * sysdeps/i386/fpu_control.h: Removed.
31449 * sysdeps/x86_64/fpu_control.h: Moved to ...
31450 * sysdeps/x86/fpu_control.h: Here.
31451
3ee947b1
L
31452 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31453 (_FPU_SETCW): Likewise.
31454
ed1825f8
L
314552012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31456
25f1282a
L
31457 [BZ #14117]
31458 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31459 * sysdeps/x86/fpu/bits/mathinline.h: This.
31460 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31461
ed1825f8
L
31462 [BZ #14050]
31463 [BZ #14117]
31464 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31465 functions if __x86_64__ is defined.
31466
36d54b74
CLT
314672012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31468
31469 * string/endian.h: Add !__ASSEMBLER__ condition for including
31470 conversion interfaces.
31471
10285c21
JM
314722012-06-15 Joseph Myers <joseph@codesourcery.com>
31473
31474 [BZ #14241]
31475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31476 of ABS(x) in calculating zero to negative powers other than odd
31477 integers.
31478 * math/libm-test.inc (pow_test): Add more tests.
31479
06c5abbd
AJ
314802012-06-15 Andreas Jaeger <aj@suse.de>
31481
31482 * manual/contrib.texi (Contributors): Update entry of Liubov
31483 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31484 Machado Filho.
31485
a3aeac40
CH
314862012-06-15 Cyril Hrubis <metan@ucw.cz>
31487
31488 * string/string.h: Add __wur to GNU version of strerror_r.
31489
49bdf4c1
L
314902012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31491
31492 [BZ #14229]
31493 * string/Makefile (tests): Add tst-strtok_r.
31494 * string/tst-strtok_r.c: New file.
31495 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31496 RAX_LP/RDX_LP on SAVE_PTR.
31497
834f9b8d
RM
314982012-06-14 Roland McGrath <roland@hack.frob.com>
31499
31500 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31501
75fa1921
JM
315022012-06-14 Joseph Myers <joseph@codesourcery.com>
31503
31504 * libm_test.inc (csqrt_test): Allow more spurious underflow
31505 exceptions.
31506 (j0_test): Likewise.
31507 (j1_test): Likewise.
31508 (y0_test): Likewise.
31509 (y1_test): Likewise.
31510
771766df
CD
315112012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31512
31513 * po/Makefile (libc.pot): Use UTF-8 charset.
31514
ceb9e56b
PP
315152012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31516
31517 [BZ #14210]
31518 Suppress sign-conversion warning from FD_SET.
31519 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31520 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31521 not unsigned long int.
31522 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31523
ddb28975
L
315242012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31525
31526 [BZ #14050]
31527 [BZ #14117]
31528 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31529 __extern_always_inline instead of __extern_inline.
31530 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31531 (__signbit): Likewise.
31532 (__signbitl): Support C++ namespace.
31533 (lrintf): New inline function.
31534 (lrint): Likewise.
31535 (llrintf): Likewise.
31536 (llrint): Likewise.
31537 (fmaxf): Likewise.
31538 (fmax): Likewise.
31539 (fminf): Likewise.
31540 (fmin): Likewise.
31541 (rint): Likewise.
31542 (rintf): Likewise.
31543 (ceil): Likewise.
31544 (ceilf): Likewise.
31545 (floor): Likewise.
31546 (floorf): Likewise.
31547 (nearbyint): Likewise.
31548 (nearbyintf): Likewise.
31549
d7b4fb26
TS
315502012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31551
31552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31553 non-default versions.
31554
eb55f5c2
RM
315552012-06-11 Roland McGrath <roland@hack.frob.com>
31556
31557 [BZ #14218]
31558 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31559
366af02c
TS
315602012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31561
99ff6e5c
TS
31562 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31563 (FE_UPWARD, FE_DOWNWARD): Don't define.
31564 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31565 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31566
366af02c
TS
31567 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31568 reading it.
31569 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31570 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31571
793ea851
KK
315722012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31573
31574 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31575 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31576 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31577 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31578
a728a38f
L
315792012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31580
31581 [BZ #14117]
c08010c7
L
31582 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31583 * sysdeps/i386/fpu/Implies: New file.
31584 * sysdeps/x86_64/fpu/Implies: Likewise.
31585 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31586 * sysdeps/x86/fpu/bits/fenv.h: This.
31587
a728a38f
L
31588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31589 __SSE_MATH__.
31590
6e230d11
SP
315912012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31592
31593 [BZ #14134]
31594 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31595 character 0xffff that matches the last element of the
31596 conversion table.
31597
1b671feb
AZ
315982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31599
31600 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31601 fmodl commit.
31602
6043738b
AZ
316032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31604
31605 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31606 values higher than 25.6283.
31607
34ae0b32
AZ
316082012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31609
31610 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31611 subnormal exponent extraction and add some __builtin_expect.
31612 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31613 Fix for subnormal mantissa calculation.
31614
1214ec8f
MF
316152012-06-04 Mike Frysinger <vapier@gentoo.org>
31616
31617 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31618 cpu2 is -1 and errno is not ENOSYS.
31619
f3d1f93c
L
316202012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31621
31622 [BZ #14117]
0e4a3cd7
L
31623 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31624 * sysdeps/x86/bits/string.h: This.
31625 * sysdeps/x86_64/bits/string.h: Removed.
31626
6704c645
L
31627 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31628 if not compiling for x86-64, but compiling for >= i486.
31629
48495318
L
31630 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31631 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31632
14adcbfc
L
31633 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31634 New macro from Linux kernel 3.4.0.
31635 (FP_XSTATE_MAGIC2): Likewise.
31636 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31637 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31638 (struct _fpx_sw_bytes): New struct.
31639 (struct _xsave_hdr): Likewise.
31640 (struct _ymmh_state): Likewise.
31641 (struct _xstate): Likewise.
31642
68e408ab
L
31643 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31644 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31645 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31646 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31647 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31648 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31649
f3d1f93c
L
31650 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31651 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31652 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31653 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31654 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31655 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31656
d9dc34cd
TMQMF
316572012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31658
31659 [BZ #13743]
31660 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31661 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31662 (sysdep_headers): Include sys/platform/ppc.h.
31663 * sysdeps/powerpc/test-gettimebase.c: Test for
31664 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31665 * manual/Makefile (appendices): Include platform.texi.
31666 * manual/contrib.texi (Contributors): Update @node pointers.
31667 * manual/maint.texi (Maintenance): Likewise.
31668 (Platform): New node.
31669 * manual/platform.texi: New file. Document the new features.
31670
4af3879c
SP
316712012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31672 Jakub Jelinek <jakub@redhat.com>
31673
31674 [BZ #14188]
31675 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31676 where __builtin_expect is unavailable.
31677
2fd6ff13
DM
316782012-06-03 David S. Miller <davem@davemloft.net>
31679
31680 * stdlib/longlong.h: Updated from GCC.
31681
173f7220
AS
316822012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31683
31684 [BZ #14042]
31685 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31686 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31687 __mcount_internal.
31688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31689 (GLIBC_2.16): Likewise.
31690
f34a1c6f
L
316912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31692
31693 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31694
88a4576f
JM
316952012-06-01 Joseph Myers <joseph@codesourcery.com>
31696
ea32bcdd
JM
31697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31698 (default-abi): New variable.
31699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31700 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31701 variable.
31702 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31703 Likewise.
31704 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31705 Likewise.
31706 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31707 Likewise.
31708
88a4576f
JM
31709 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31710 definition. Document in comment.
31711
402fe938
DM
317122012-06-01 David S. Miller <davem@davemloft.net>
31713
31714 * stdlib/longlong.h: Updated from GCC.
31715
3553723f
L
317162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 [BZ #14117]
3bd872c4
L
31719 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31720 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31721 sys/debugreg.h sys/io.h here.
31722 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31723 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31724 sys/io.h.
31725 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31726 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31727 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31728 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31729 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31730 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31731
3553723f
L
31732 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31733 Define only if __x86_64__ is defined.
31734
4842e4fe
JM
317352012-06-01 Joseph Myers <joseph@codesourcery.com>
31736
c5bfe3d5
JM
31737 [BZ #14048]
31738 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31739 Use int64_t for variable i.
31740 * math/libm-test.inc (fmod_test): Add more tests.
31741
4842e4fe
JM
31742 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31743 z computation is not scheduled after fetestexcept.
31744 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31745 Use math_force_eval instead of asm to ensure calculation scheduled
31746 before exception test.
31747 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31748 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31749
efb73488
AJ
317502012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31751
31752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31753 computation is not scheduled after fetestexcept.
31754
29bcce7c
L
317552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31756
31757 [BZ #14117]
31758 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31759 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31760
73a68f94
AZ
317612012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31762
31763 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31764 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31765
67b6df78
L
317662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31767
edf2933a 31768 [BZ #14117]
ebc64a18
L
31769 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31770 <bits/wordsize.h>.
31771 (__WCHAR_MIN): Support __WORDSIZE == 64.
31772 (__WCHAR_MAX): Likewise.
31773
edf2933a
L
31774 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31775 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31776
57c6cf40
L
31777 [BZ #14183]
31778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31779 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31780
67b6df78 31781 [BZ #14117]
8eb6281e
L
31782 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31783 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31784
aac639f4
L
31785 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31786 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31787
67b6df78
L
31788 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31789 Defined to 1 if __x86_64__ isn't defined.
31790 (_STAT_VER_LINUX_OLD): New.
31791 (st_atime): Remove duplicate.
31792 (st_mtime): Likewise.
31793 (st_ctime): Likewise.
31794
1c2cfe81
DM
317952012-05-31 David S. Miller <davem@davemloft.net>
31796
31797 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31798 entries.
31799
5be8418c
AS
318002012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31801
e7725326
AS
31802 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31803 gen-libm-test.pl.
31804
5be8418c
AS
31805 [BZ #14132]
31806 * elf/dl-reloc.c: Include <_itoa.h>.
31807 (_dl_reloc_bad_type): Remove use of INTUSE.
31808 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31809 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31810 * stdio-common/psiginfo.c (psiginfo): Likewise.
31811 * stdio-common/psignal.c (psignal): Likewise.
31812 * string/strsignal.c (strsignal): Likewise.
31813 * include/signal.h (_sys_siglist): Declare hidden proto.
31814 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31815 INTVARDEF with libc_hidden_data_def.
31816 * stdio-common/itoa-udigits.c: Likewise.
31817 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31818 (_itoa_lower_digits_internal): Remove declaration.
31819 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31820 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31821 (_sys_sigabbrev_internal): Remove aliases.
31822 (_sys_siglist): Define hidden alias.
31823
507352f1
MT
318242012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31825
31826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31827 bits/sysctl.h.
31828
42bbb1c3
L
318292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31830
31831 [BZ #14117]
6bd784b6
L
31832 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31833 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31834
8bca20f0
L
31835 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31836 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31837 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31838 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31840 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31841
f9e890a9
L
31842 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31843 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31844 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31845
471101a1
L
31846 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31847 with __addr.
31848 (insw): Likewise.
31849 (insl): Likewise.
31850 (outsb): Likewise.
31851 (outsw): Likewise.
31852 (outsl): Likewise.
31853
6451c862
L
31854 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31855 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31856 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31857
a254b8c9
L
31858 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31859 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31860 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31861 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31862 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31863 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31864
b8dfdd92
L
31865 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31866 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31867
578cd270
L
31868 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31869 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31870
de662f5f
L
31871 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31872 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31873 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31874
25653439
L
31875 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31876 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31877 to ...
31878 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31879
6bad24a0
L
31880 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31881 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31882 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31883
42bbb1c3
L
31884 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31885 for x86-64.
31886 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31887
2d10d547
JM
318882012-05-31 Joseph Myers <joseph@codesourcery.com>
31889
31890 * math/math.h (M_El): Use two more decimal places.
31891 (M_LOG2El): Likewise.
31892 (M_LOG10El): Likewise.
31893 (M_LN2l): Likewise.
31894 (M_LN10l): Likewise.
31895 (M_PIl): Likewise.
31896 (M_PI_2l): Likewise.
31897 (M_PI_4l): Likewise.
31898 (M_1_PIl): Likewise.
31899 (M_2_PIl): Likewise.
31900 (M_2_SQRTPIl): Likewise.
31901 (M_SQRT2l): Likewise.
31902 (M_SQRT1_2l): Likewise.
31903
f230c29b
DM
319042012-05-31 David S. Miller <davem@davemloft.net>
31905
31906 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31907 values between float registers.
31908 * sysdeps/sparc/sparc64/memset.S: Likewise.
31909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31910
fed806c3
MF
319112012-05-31 Mike Frysinger <vapier@gentoo.org>
31912
31913 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31914 -D_FORTIFY_SOURCE=1.
31915 (CPPFLAGS-tst-longjmp_chk.c): Define.
31916 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31917 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31918 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31919 CFLAGS-tst-wchar-h.c.
31920
30917259
MP
319212012-05-31 Marek Polacek <polacek@redhat.com>
31922
31923 [BZ #14132]
31924 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31925 __endmntent_internal): Remove declaration.
31926 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31927 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31928 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31929
1c58d5dc
DM
319302012-05-30 David S. Miller <davem@davemloft.net>
31931
31932 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31933 (___Q_simulate_exceptions): Use real FP ops rather than writing
31934 into the %fsr.
31935 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31936 Likewise.
31937
7dc00e0d
L
319382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31939
31940 [BZ #14117]
0bd53985
L
31941 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31942 * sysdeps/x86/bits/xtitypes.h: This.
31943
3a257e66
L
31944 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31945 * sysdeps/x86/bits/wordsize.h: This.
31946
62f62904
L
31947 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31948 * sysdeps/x86/bits/huge_vall.h: This.
31949
404fe9d9
L
31950 * sysdeps/i386/bits/select.h: Removed.
31951 * sysdeps/x86_64/bits/select.h: Renamed to ...
31952 * sysdeps/x86/bits/select.h: This.
31953
d48d0446
L
31954 * sysdeps/i386/bits/setjmp.h: Removed.
31955 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31956 * sysdeps/x86/bits/setjmp.h: This.
31957
7dc00e0d
L
31958 * sysdeps/i386/bits/mathdef.h: Removed.
31959 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31960 * sysdeps/x86/bits/mathdef.h: This.
31961
03277f8f
AS
319622012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31963
31964 [BZ #14132]
31965 * include/sys/socket.h (__connect_internal)
31966 (__libc_sa_len_internal): Remove declaration.
31967 (__connect, __libc_sa_len): Declare hidden_proto.
31968 (SA_LEN): Remove use of INTUSE.
31969 * socket/connect.c: Add libc_hidden_def.
31970 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31971 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31972 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31973 alias.
31974 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31975 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31976 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31977 of adding _internal alias.
31978
13764867
L
319792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31980
31981 [BZ #14117]
6bd97696
L
31982 * sysdeps/i386/bits/link.h: Removed.
31983 * sysdeps/i386/bits/linkmap.h: Likewise.
31984 * sysdeps/x86_64/bits/link.h: Renamed to ...
31985 * sysdeps/x86/bits/link.h: This.
31986 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31987 * sysdeps/x86/bits/linkmap.h: This.
31988
f726f0bb
L
31989 * sysdeps/i386/bits/endian.h: Removed.
31990 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31991 * sysdeps/x86/bits/endian.h: This.
31992
13764867
L
31993 * sysdeps/i386/bits/byteswap.h: Removed.
31994 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31995 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31996 * sysdeps/x86/bits/byteswap.h: This.
31997 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31998 * sysdeps/x86/bits/byteswap-16.h: This.
31999 * sysdeps/i386/Implies: Add x86.
32000 * sysdeps/x86_64/Implies: Likewise.
32001
ae251b0b
DM
320022012-05-30 David S. Miller <davem@davemloft.net>
32003
32004 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32005 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32006 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32007 (FP_TRAPPING_EXCEPTIONS): Define.
32008 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32009 (FP_TRAPPING_EXCEPTIONS): Define.
32010 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32011 subnormals only when inexact has been signalled or underflow
32012 exceptions are enabled.
32013 (_FP_PACK_CANONICAL): Likewise.
32014
d5c90867
L
320152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32016
32017 [BZ #14183]
32018 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32019 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32020
63f1549e
RH
320212012-05-30 Richard Henderson <rth@twiddle.net>
32022
8d8f2279
RH
32023 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32024 with #ifndef NOT_IN_libc.
32025
63f1549e
RH
32026 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32027 marked to avoid plt entry.
32028
0ab0291b
L
320292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32030
32031 [BZ #14112]
32032 * Makeconfig (default-abi): New macro.
32033 (abi-includes): Likewise.
32034 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32035 $(abi-$(default-abi)-lib-soname) for soname if defined.
32036 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32037 abi-variants.
32038 * Makefile (installed-stubs): Likewise.
32039 * include/stubs-biarch.h: Removed.
32040 * scripts/lib-names.awk: Only handle one library at a time.
32041 * scripts/soversions.awk: Remove WORDSIZE support.
32042 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32043 entries.
32044 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32045 Removed.
32046 (syscall-list-default-condition): Likewise.
32047 (syscall-list-default-condition): Likewise.
32048 (syscall-list-includes): Likewise.
32049 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32050 syscall-list-* with abi-*. Handle undefined abi-variants.
32051 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32052 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32053 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32054 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32055 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32056 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32057 Removed.
32058 (syscall-list-32-options): Likewise.
32059 (syscall-list-32-condition): Likewise.
32060 (syscall-list-64-options): Likewise.
32061 (syscall-list-64-condition): Likewise.
32062 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32063 macro.
32064 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32065 Renamed to ...
32066 (abi-*): This.
32067 (abi-64-ld-soname): New macro.
32068 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32069 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32070 Renamed to ...
32071 (abi-*): This.
32072 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32073 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32074
4da0431d
JM
320752012-05-30 Joseph Myers <joseph@codesourcery.com>
32076
3a85279c
JM
32077 * sysdeps/unix/sysv/linux/kernel-features.h
32078 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32079 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32080 include <kernel-features.h>.
32081 [!__NR_ftruncate64]: Remove conditional code.
32082 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32083 [__NR_ftruncate64]: Make code unconditional.
32084 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32085 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32086 include <kernel-features.h>.
32087 [!__NR_ftruncate64]: Remove conditional code.
32088 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32089 [__NR_ftruncate64]: Make code unconditional.
32090 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32092 include <kernel-features.h>.
32093 [!__NR_ftruncate64]: Remove conditional code.
32094 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32095 [__NR_ftruncate64]: Make code unconditional.
32096 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32098 include <kernel-features.h>.
32099 [!__NR_ftruncate64]: Remove conditional code.
32100 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32101 [__NR_ftruncate64]: Make code unconditional.
32102 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32103
4da0431d
JM
32104 * configure.in (libc_cv_fpie): Weaken to a compile test using
32105 LIBC_TRY_CC_OPTION.
32106 * configure: Regenerated.
32107
11ef492c
AK
321082012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32109
32110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32114 Refreshed.
32115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32121 Refreshed.
32122
d66ef399
DM
321232012-05-27 David S. Miller <davem@davemloft.net>
32124
32125 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32126 (___Q_zero): New.
32127 (__Q_simulate_exceptions): Return void. Change to simulate
32128 exceptions by writing into the %fsr.
32129 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32130 (__Qp_handle_exceptions): Likewise.
32131 (numbers): Delete.
32132 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32133 __Qp_handle_exceptions.
32134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32135 __Qp_handle_exceptions.
32136 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32137 as unused and give dummy FP_RND_NEAREST initializer.
32138 (FP_INHIBIT_RESULTS): Define.
32139 (___Q_simulate_exceptions): Update declaration.
32140 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32141 formatting.
32142 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32143 as unused and give dummy FP_RND_NEAREST initializer.
32144 (__Qp_handle_exceptions): Update declaration.
32145 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32146 formatting.
32147
04fb54b5
TS
321482012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32149
32150 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32151 the temporary FPU control word.
32152 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32153 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32154 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32155 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32156 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32157 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32158 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32159 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32160 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32161 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32162 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32163
3f99608f
KK
321642012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32165
32166 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32167 fields.
32168
65a4de4e
CLT
321692012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32170
32171 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32172 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32173 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32174 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32175 Likewise.
32176 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32177 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32178 Likewise.
32179
15749d40
UD
321802012-05-27 Ulrich Drepper <drepper@gmail.com>
32181
32182 * po/h.po: Update from translation team.
32183
25dbcb27
AS
321842012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32185
3d3f8e55
AS
32186 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32187
25dbcb27
AS
32188 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32189 handling of denormals.
32190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32191 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32192 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32193 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32197 Likewise.
32198
7ad47a80 321992012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32200
32201 [BZ #14152]
32202 * math/libm-test.inc (fma_test): Don't always expect underflow
32203 exception.
32204
9c6ea9fa
SP
322052012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32206
32207 [BZ #12416]
32208 * elf/tst-execstack.c: Include stackinfo.h.
32209 (do_test): Adjust test case to ensure that pthread_getattr_np
32210 behaviour remains the same after marking stack executable.
32211
a8239222
JM
322122012-05-25 Joseph Myers <joseph@codesourcery.com>
32213
32214 * sysdeps/unix/sysv/linux/kernel-features.h
32215 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32216 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32217 kernel-features.h.
32218 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32219 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32220 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32221 kernel-features.h.
32222 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32223 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32224
918b5606
L
322252012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32226
32227 * configure.in: Define the default includes to being none.
32228 * configure: Regenerated.
32229
3a097cc7
RM
322302012-05-25 Roland McGrath <roland@hack.frob.com>
32231
8422c9a5
RM
32232 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32233 * sysdeps/x86_64/setjmp.S: Likewise.
32234 * sysdeps/i386/bsd-setjmp.S: Likewise.
32235 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32236 * sysdeps/i386/setjmp.S: Likewise.
32237 * sysdeps/i386/__longjmp.S: Likewise.
32238 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32239 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32240
3a097cc7
RM
32241 * include/stap-probe.h: New file.
32242 * configure.in: Handle --enable-systemtap.
32243 * configure: Regenerated.
32244 * config.h.in (USE_STAP_PROBE): New #undef.
32245 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32246 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32247 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32248
21708942
JM
322492012-05-25 Joseph Myers <joseph@codesourcery.com>
32250
32251 [BZ #13717]
32252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32253 to 2.4.0 where earlier.
32254 * sysdeps/unix/sysv/linux/configure: Regenerated.
32255 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32256 <kernel-features.h>.
32257 [__ASSUME_32BITUIDS]: Make code unconditional.
32258 [!__ASSUME_32BITUIDS]: Remove conditional code.
32259 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32260 <kernel-features.h>.
32261 [__ASSUME_32BITUIDS]: Make code unconditional.
32262 [!__ASSUME_32BITUIDS]: Remove conditional code.
32263 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32264 [__ASSUME_32BITUIDS]: Make code unconditional.
32265 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32266 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32267 <kernel-features.h>.
32268 [__ASSUME_32BITUIDS]: Make code unconditional.
32269 [!__ASSUME_32BITUIDS]: Remove conditional code.
32270 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32271 <kernel-features.h>.
32272 [__ASSUME_32BITUIDS]: Make code unconditional.
32273 [!__ASSUME_32BITUIDS]: Remove conditional code.
32274 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32275 <kernel-features.h>.
32276 [__ASSUME_32BITUIDS]: Make code unconditional.
32277 [!__ASSUME_32BITUIDS]: Remove conditional code.
32278 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32279 <kernel-features.h>.
32280 [__ASSUME_32BITUIDS]: Make code unconditional.
32281 [!__ASSUME_32BITUIDS]: Remove conditional code.
32282 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32283 <kernel-features.h>.
32284 [__ASSUME_32BITUIDS]: Make code unconditional.
32285 [!__ASSUME_32BITUIDS]: Remove conditional code.
32286 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.c: Do not include
32295 <kernel-features.h>.
32296 [__ASSUME_32BITUIDS]: Make code unconditional.
32297 [!__ASSUME_32BITUIDS]: Remove conditional code.
32298 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32299 <kernel-features.h>.
32300 [__ASSUME_32BITUIDS]: Make code unconditional.
32301 [!__ASSUME_32BITUIDS]: Remove conditional code.
32302 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32303 <kernel-features.h>.
32304 [__ASSUME_32BITUIDS]: Make code unconditional.
32305 [!__ASSUME_32BITUIDS]: Remove conditional code.
32306 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32307 <kernel-features.h>.
32308 [__NR_setresgid] (__setresgid): Do not declare.
32309 [__ASSUME_32BITUIDS]: Make code unconditional.
32310 [!__ASSUME_32BITUIDS]: Remove conditional code.
32311 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32312 <kernel-features.h>.
32313 [__NR_setresuid] (__setresuid): Do not declare.
32314 [__ASSUME_32BITUIDS]: Make code unconditional.
32315 [!__ASSUME_32BITUIDS]: Remove conditional code.
32316 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32317 <kernel-features.h>.
32318 [__ASSUME_32BITUIDS]: Make code unconditional.
32319 [!__ASSUME_32BITUIDS]: Remove conditional code.
32320 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32321 <kernel-features.h>.
32322 [__ASSUME_32BITUIDS]: Make code unconditional.
32323 [!__ASSUME_32BITUIDS]: Remove conditional code.
32324 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32325 <kernel-features.h>.
32326 [__ASSUME_32BITUIDS]: Make code unconditional.
32327 [!__ASSUME_32BITUIDS]: Remove conditional code.
32328 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32329 <kernel-features.h>.
32330 [__ASSUME_32BITUIDS]: Make code unconditional.
32331 [!__ASSUME_32BITUIDS]: Remove conditional code.
32332 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32333 <kernel-features.h>.
32334 [__ASSUME_32BITUIDS]: Make code unconditional.
32335 [!__ASSUME_32BITUIDS]: Remove conditional code.
32336 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32337 <kernel-features.h>.
32338 [__ASSUME_32BITUIDS]: Make code unconditional.
32339 [!__ASSUME_32BITUIDS]: Remove conditional code.
32340 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32341 <kernel-features.h>.
32342 [__ASSUME_32BITUIDS]: Make code unconditional.
32343 [!__ASSUME_32BITUIDS]: Remove conditional code.
32344 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32345 <kernel-features.h>.
32346 [__ASSUME_32BITUIDS]: Make code unconditional.
32347 [!__ASSUME_32BITUIDS]: Remove conditional code.
32348 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32349 <kernel-features.h>.
32350 [__ASSUME_32BITUIDS]: Make code unconditional.
32351 [!__ASSUME_32BITUIDS]: Remove conditional code.
32352 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32353 <kernel-features.h>.
32354 [__ASSUME_32BITUIDS]: Make code unconditional.
32355 [!__ASSUME_32BITUIDS]: Remove conditional code.
32356 * sysdeps/unix/sysv/linux/kernel-features.h
32357 (__ASSUME_SETRESUID_SYSCALL): Remove.
32358 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32359 (__ASSUME_32BITUIDS): Likewise.
32360 (__ASSUME_LDT_WORKS): Likewise.
32361 (__ASSUME_O_DIRECTORY): Likewise.
32362 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32363 architecture but not kernel version.
32364 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32365 (__ASSUME_MMAP2_SYSCALL): Likewise.
32366 (__ASSUME_STAT64_SYSCALL): Likewise.
32367 (__ASSUME_IPC64): Likewise.
32368 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32369 <kernel-features.h>.
32370 [__ASSUME_32BITUIDS]: Make code unconditional.
32371 [!__ASSUME_32BITUIDS]: Remove conditional code.
32372 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32373 <kernel-features.h>.
32374 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32375 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32376 132096]: Remove conditional code.
32377 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32378 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32379 <kernel-features.h>.
32380 [__ASSUME_32BITUIDS]: Make code unconditional.
32381 [!__ASSUME_32BITUIDS]: Remove conditional code.
32382 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32383 <kernel-features.h>.
32384 [__ASSUME_32BITUIDS]: Make code unconditional.
32385 [!__ASSUME_32BITUIDS]: Remove conditional code.
32386 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32387 <kernel-features.h>.
32388 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32389 unconditional.
32390 (__setresgid): Do not declare.
32391 [__ASSUME_32BITUIDS]: Make code unconditional.
32392 [!__ASSUME_32BITUIDS]: Remove conditional code.
32393 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32394 <kernel-features.h>.
32395 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32396 unconditional.
32397 (__setresuid): Do not declare.
32398 [__ASSUME_32BITUIDS]: Make code unconditional.
32399 [!__ASSUME_32BITUIDS]: Remove conditional code.
32400 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32401 <kernel-features.h>.
32402 [__ASSUME_32BITUIDS]: Make code unconditional.
32403 [!__ASSUME_32BITUIDS]: Remove conditional code.
32404 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32405 <kernel-features.h>.
32406 [__ASSUME_32BITUIDS]: Make code unconditional.
32407 [!__ASSUME_32BITUIDS]: Remove conditional code.
32408
a386f1cc
RH
324092012-05-25 Richard Henderson <rth@twiddle.net>
32410
32411 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32412 dl_hwcap to ifunc resolver.
32413 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32414 elf_ifunc_invoke.
32415 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32416 dl_hwcap to ifunc resolver.
32417 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32418
b6550497
JM
324192012-05-24 Joseph Myers <joseph@codesourcery.com>
32420
32421 [BZ #14153]
32422 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32423 for |x| <= 2**-26, not 2**-57.
32424 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32425 exception.
32426
b0bc23a1
JL
324272012-05-24 Jeff Law <law@redhat.com>
32428
32429 * stdio-common/Makefile (tests): Add bug25.
32430 * stdio-common/bug25.c: New test.
32431
347c92e9
L
324322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 [BZ #13576]
32435 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32436 multiple of MALLOC_ALIGNMENT in size.
32437 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32438
6bcc8b3f
JM
324392012-05-24 Joseph Myers <joseph@codesourcery.com>
32440
32441 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32442 Require >= 256.
32443 (FILENAME_MAX): Use macro-int-constant.
32444 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32445 (_IOFBF): Use macro-int-constant.
32446 (_IOLBF): Likewise.
32447 (_IONBF): Likewise.
32448 (SEEK_CUR): Likewise.
32449 (SEEK_END): Likewise.
32450 (SEEK_SET): Likewise.
32451 (TMP_MAX): Likewise.
32452 (EOF): Use macro-int-constant. Require < 0.
32453 (NULL): Use macro-constant. Require == 0.
32454 (stdin): Require type to be FILE *.
32455 (stdout): Likewise.
32456 (stderr): Likewise.
32457 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32458 macro-int-constant.
32459 (EXIT_SUCCESS): Likewise.
32460 (NULL): Use macro-constant. Require == 0.
32461 (RAND_MAX): Use macro-int-constant.
32462 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32463 [C99-based standards] (strtof): Require function.
32464 [C99-based standards] (strtold): Likewise.
32465 [C99-based standards] (strtoll): Likewise.
32466 [C99-based standards] (strtoull): Likewise.
32467 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32468 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32469 [ISO || ISO99 || ISO11] (math.h): Likewise.
32470 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32471 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32473
d18ea0c5
AS
324742012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32475
32476 [BZ #14132]
56d25bb8
AS
32477 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32478 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32479 * intl/dgettext.c (DCGETTEXT): Likewise.
32480 * intl/gettext.c (DCGETTEXT): Likewise.
32481 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32482 * posix/regex_internal.h (gettext): Likewise.
32483 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32484 Remove declaration.
32485 * include/argz.h (__argz_count_internal)
32486 (__argz_stringify_internal): Remove declaration.
32487 (__argz_count, __argz_stringify): Declare hidden proto.
32488 * intl/dcgettext.c: Remove use of INTDEF.
32489 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32490 * string/argz-stringify.c: Likewise.
32491 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32492 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32493 Declare hidden proto.
d18ea0c5
AS
32494 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32495 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32496 Declare hidden proto.
32497 * include/stdio.h (__asprintf_internal): Don't declare.
32498 (__asprintf): Don't define as macro. Declare hidden proto.
32499 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32500 (__fsetlocking): Declare hidden proto.
32501 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32502 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32503 hidden proto.
32504 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32505 (_IO_setlinebuf): Remove use of INTUSE.
32506 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32507 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32508 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32509 Remove declaration.
32510 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32511 (_IO_do_flush): Remove use of INTUSE.
32512 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32513 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32514 (_IO_adjust_column, _IO_least_wmarker)
32515 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32516 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32517 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32518 (_IO_default_doallocate, _IO_wdefault_doallocate)
32519 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32520 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32521 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32522 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32523 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32524 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32525 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32526 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32527 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32528 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32529 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32530 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32531 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32532 proto.
32533 (_IO_flush_all_internal, _IO_adjust_column_internal)
32534 (_IO_default_uflow_internal, _IO_default_finish_internal)
32535 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32536 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32537 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32538 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32539 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32540 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32541 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32542 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32543 (_IO_file_close_internal, _IO_file_close_it_internal)
32544 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32545 (_IO_file_init_internal, _IO_file_attach_internal)
32546 (_IO_file_fopen_internal, _IO_file_read_internal)
32547 (_IO_file_sync_internal, _IO_file_seek_internal)
32548 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32549 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32550 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32551 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32552 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32553 (_IO_list_all_internal, _IO_link_in_internal)
32554 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32555 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32556 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32557 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32558 (_IO_do_write_internal, _IO_padn_internal)
32559 (_IO_getline_info_internal, _IO_getline_internal)
32560 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32561 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32562 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32563 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32564 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32565 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32566 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32567 with libc_hidden_ver, remove use of INTUSE.
32568 * libio/genops.c: Likewise.
32569 * libio/freopen.c: Likewise.
32570 * libio/freopen64.c: Likewise.
32571 * libio/iofclose.c: Likewise.
32572 * libio/iofdopen.c: Likewise.
32573 * libio/iofflush.c: Likewise.
32574 * libio/iofflush_u.c: Likewise.
32575 * libio/iofgets.c: Likewise.
32576 * libio/iofgets_u.c: Likewise.
32577 * libio/iofopen.c: Likewise.
32578 * libio/iofopncook.c: Likewise.
32579 * libio/iofread.c: Likewise.
32580 * libio/iofread_u.c: Likewise.
32581 * libio/ioftell.c: Likewise.
32582 * libio/iofwrite.c: Likewise.
32583 * libio/iogetline.c: Likewise.
32584 * libio/iogets.c: Likewise.
32585 * libio/iogetwline.c: Likewise.
32586 * libio/iopadn.c: Likewise.
32587 * libio/iopopen.c: Likewise.
32588 * libio/ioseekoff.c: Likewise.
32589 * libio/ioseekpos.c: Likewise.
32590 * libio/iosetbuffer.c: Likewise.
32591 * libio/iosetvbuf.c: Likewise.
32592 * libio/ioungetc.c: Likewise.
32593 * libio/ioungetwc.c: Likewise.
32594 * libio/iovdprintf.c: Likewise.
32595 * libio/iovsprintf.c: Likewise.
32596 * libio/iovsscanf.c: Likewise.
32597 * libio/memstream.c: Likewise.
32598 * libio/obprintf.c: Likewise.
32599 * libio/oldfileops.c: Likewise.
32600 * libio/oldiofclose.c: Likewise.
32601 * libio/oldiofdopen.c: Likewise.
32602 * libio/oldiofopen.c: Likewise.
32603 * libio/oldiopopen.c: Likewise.
32604 * libio/oldstdfiles.c: Likewise.
32605 * libio/putc.c: Likewise.
32606 * libio/setbuf.c: Likewise.
32607 * libio/setlinebuf.c: Likewise.
32608 * libio/stdfiles.c: Likewise.
32609 * libio/strops.c: Likewise.
32610 * libio/vasprintf.c: Likewise.
32611 * libio/vscanf.c: Likewise.
32612 * libio/vsnprintf.c: Likewise.
32613 * libio/vswprintf.c: Likewise.
32614 * libio/wfiledoalloc.c: Likewise.
32615 * libio/wfileops.c: Likewise.
32616 * libio/wgenops.c: Likewise.
32617 * libio/wmemstream.c: Likewise.
32618 * libio/wstrops.c: Likewise.
32619 * libio/__fpurge.c: Likewise.
32620 * libio/__fsetlocking.c: Likewise.
32621 * assert/assert.c: Likewise.
32622 * debug/fgets_chk.c: Likewise.
32623 * debug/fgets_u_chk.c: Likewise.
32624 * debug/fread_chk.c: Likewise.
32625 * debug/fread_u_chk.c: Likewise.
32626 * debug/gets_chk.c: Likewise.
32627 * debug/obprintf_chk.c: Likewise.
32628 * debug/vasprintf_chk.c: Likewise.
32629 * debug/vdprintf_chk.c: Likewise.
32630 * debug/vsnprintf_chk.c: Likewise.
32631 * debug/vsprintf_chk.c: Likewise.
32632 * malloc/mtrace.c: Likewise.
32633 * misc/error.c: Likewise.
32634 * misc/syslog.c: Likewise.
32635 * stdio-common/asprintf.c: Likewise.
32636 * stdio-common/fxprintf.c: Likewise.
32637 * stdio-common/getw.c: Likewise.
32638 * stdio-common/isoc99_fscanf.c: Likewise.
32639 * stdio-common/isoc99_scanf.c: Likewise.
32640 * stdio-common/isoc99_vfscanf.c: Likewise.
32641 * stdio-common/isoc99_vscanf.c: Likewise.
32642 * stdio-common/isoc99_vsscanf.c: Likewise.
32643 * stdio-common/printf-prs.c: Likewise.
32644 * stdio-common/printf_fp.c: Likewise.
32645 * stdio-common/printf_fphex.c: Likewise.
32646 * stdio-common/printf_size.c: Likewise.
32647 * stdio-common/putw.c: Likewise.
32648 * stdio-common/scanf.c: Likewise.
32649 * stdio-common/sprintf.c: Likewise.
32650 * stdio-common/tmpfile.c: Likewise.
32651 * stdio-common/vfprintf.c: Likewise.
32652 * stdio-common/vfscanf.c: Likewise.
32653 * stdlib/strfmon_l.c: Likewise.
32654 * sunrpc/openchild.c: Likewise.
32655 * sunrpc/xdr_stdio.c: Likewise.
32656 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32657 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32658
d6c33fda
RM
326592012-05-24 Roland McGrath <roland@hack.frob.com>
32660
c1487492
RM
32661 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32662
32663 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32664 in the third column, to generate for the shared library an IFUNC
32665 that uses _dl_vdso_vsym.
32666 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32667 * Makeconfig (object-suffixes-noshared): New variable.
32668
32669 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32670 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32671 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32672 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32673
d6c33fda
RM
32674 [BZ #14132]
32675 * include/sys/time.h (__gettimeofday): Remove macro.
32676 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32677 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32678 Remove INTDEF.
32679 (__gettimeofday): Add libc_hidden_def.
32680 (gettimeofday): Add libc_hidden_weak.
32681 * sysdeps/mach/gettimeofday.c: Likewise.
32682 * sysdeps/posix/gettimeofday.c: Likewise.
32683 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32684 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32686 (__gettimeofday_internal): Remove strong_alias.
32687 (__gettimeofday): Add libc_hidden_def.
32688 (gettimeofday): Add libc_hidden_weak.
32689 * sysdeps/unix/syscalls.list (gettimeofday):
32690 Remove __gettimeofday_internal alias.
32691
b5a2bbe6
L
326922012-05-24 Daniel Jacobowitz <drow@false.org>
32693 H.J. Lu <hongjiu.lu@intel.com>
32694
32695 [BZ #12495]
32696 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32697 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32698 (largebin_index_32_big): New.
32699 (largebin_index): Use it for 16-byte alignment.
32700 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32701 correction with front_misalign.
32702
cfba4fda
L
327032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32704
7f907421
L
32705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32707 Likewise.
32708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32709 Likewise.
32710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32711 Likewise.
32712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32713 Likewise.
32714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32715 Likewise.
32716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32717 Likewise.
32718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32719 Likewise.
32720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32721 Likewise.
32722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32723 Likewise.
32724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32725 Likewise.
32726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32727 Likewise.
32728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32729 Likewise.
32730
cfba4fda
L
32731 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32732 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32733
80bad0cc
JM
327342012-05-24 Joseph Myers <joseph@codesourcery.com>
32735
7a25eb06
JM
32736 [BZ #10846]
32737 [BZ #14036]
32738 * math/libm-test.inc (exp_test): Add test from bug 14036.
32739 (pow_test): Add test from bug 10846.
32740
795405f9
JM
32741 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32742 and other flags.
32743 (special_function): Do not include flags in test name.
32744 (parse_args): Likewise.
32745 * sysdeps/i386/fpu/libm-test-ulps: Update.
32746 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32747 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32748 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32750
80bad0cc
JM
32751 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32752 exceptions.
32753 * math/libm-test.inc ("Philosophy"): Update comment about
32754 exception testing.
32755 (UNDERFLOW_EXCEPTION): New macro.
32756 (UNDERFLOW_EXCEPTION_OK): Likewise.
32757 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32758 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32759 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32760 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32761 (INVALID_EXCEPTION_OK): Update value.
32762 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32763 (OVERFLOW_EXCEPTION_OK): Likewise.
32764 (IGNORE_ZERO_INF_SIGN): Likewise.
32765 (test_exceptions): Handle underflow exceptions.
32766 (acos_test): Update for underflow exception expectations.
32767 (cexp_test): Likewise.
32768 (clog_test): Likewise.
32769 (clog10_test): Likewise.
32770 (csqrt_test): Likewise.
32771 (ctan_test): Likewise.
32772 (ctanh_test): Likewise.
32773 (exp_test): Likewise.
32774 (exp10_test): Likewise.
32775 (exp2_test): Likewise.
32776 (expm1_test): Likewise.
32777 (fma_test): Likewise.
32778 (j0_test): Likewise.
32779 (jn_test): Likewise.
32780 (nexttoward_test): Likewise.
32781 (pow_test): Likewise.
32782 (scalbn_test): Likewise.
32783 (scalbln_test): Likewise.
32784 (tan_test): Likewise.
32785 (y1_test): Likewise.
32786 * sysdeps/i386/fpu/libm-test-ulps: Update.
32787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32788
9e0e3d0b
DM
327892012-05-23 David S. Miller <davem@davemloft.net>
32790
32791 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32792 (__libc_sigaction): Remove unused local variables.
32793
ccd0a08f
L
327942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32795
32796 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32797
62bdf9a6
PE
327982012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32799
f8591f80
PE
32800 mktime: avoid signed integer overflow
32801 * time/mktime.c (__mktime_internal): Do not mishandle the case
32802 where diff == INT_MIN.
32803
94c7d826
PE
32804 mktime: simplify computation of average
32805 * time/mktime.c (ranged_convert): Use new time_t_avg function
32806 instead of rolling our own (probably-slower) code.
32807
ce73d683
PE
32808 mktime: do not assume signed right shift propagates sign bit
32809 * time/mktime.c (isdst_differ): New static function.
32810 (__mktime_internal): No need to normalize tm_isdst now.
32811 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32812 tm_isdst values.
32813
72a22e59
PE
32814 mktime: merge another wrapv change from gnulib
32815 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32816 from some compilers.
32817
68605433
PE
32818 mktime: remove incorrect attempt at unusual arithmetics
32819 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32820 The code didn't really work on such machines anyway.
32821 (TYPE_MINIMUM): Assume two's complement.
32822 (twos_complement_arithmetic): Verify that long_int and time_t
32823 are two's complement (or unsigned, in the latter case).
32824
03cf7fe3
PE
32825 mktime: check signed shifts on long_int and time_t, too
32826 * time/mktime.c (SHR): Check that shifts work as desired
32827 on the types long_int and time_t too, as SHR is used on
32828 such types.
32829
f04dfbc2
PE
32830 mktime: do not assume 'long' is wide enough
32831 * time/mktime.c (verify): Move decl up.
32832 (long_int): New type.
32833 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32834 to remove assumption in the code that 'long' is wide enough to
32835 store year values. This assumption is not true on x32 and on
32836 some non-glibc platforms.
32837
62bdf9a6
PE
32838 mktime: merge wrapv change from gnulib
32839 * time/mktime.c (WRAPV): New macro.
32840 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32841 (guess_time_tm, __mktime_internal): Do not assume that signed
32842 integer overflow wraps around; modern compilers generate code
32843 where this assumption is no longer valid.
32844
5e292e4f
L
328452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32846
32847 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32848 Replace "jmp L(pseudo_end)" with "ret".
32849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32850 Likewise.
32851
8caf8c87
AJ
328522012-05-23 Andreas Jaeger <aj@suse.de>
32853
32854 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32855 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32856
1a09dc56
AJ
328572012-05-23 Andreas Jaeger <aj@suse.de>
32858 Maximilian Attems <max@stro.at>
32859
32860 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32861 New macros.
32862
1c87aba0
L
328632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32864
32865 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32866 code so that pseudo_end is just ret and the stack pointer is
32867 correct also for static library in error case.
32868
40e45bd5
JM
328692012-05-23 Joseph Myers <joseph@codesourcery.com>
32870
c2670533
JM
32871 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32872 move to syscalls.list.
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32877
40e45bd5
JM
32878 * manual/install.texi (Running make install): Do not mention Linux
32879 kernel version for which pt_chown is not needed.
32880 (Linux): Do not mention problems with nscd with 2.0 kernels.
32881 * INSTALL: Regenerated.
32882
be08eda5
AJ
328832012-05-23 Andreas Jaeger <aj@suse.de>
32884
32885 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32886 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32887 macro.
32888 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32890 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32891 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32892 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32893 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32894 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32895 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32896 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32897 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32898 * sysdeps/unix/sysv/linux/bits/in.h
32899 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32900
a6a056bb
RM
329012012-05-22 Roland McGrath <roland@hack.frob.com>
32902
32903 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32904 (PREPARE_VERSION): Just use assert instead, it will be elided
32905 under [NDEBUG] anyway.
32906
c9009328
L
329072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32908
32909 * sysdeps/unix/sysv/linux/Makefile: Include
32910 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 32911 (sysdep_routines): Remove sysctl.
c9009328
L
32912 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32913 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32914 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32915 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32916 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32917
73338355
AJ
329182012-05-22 Andreas Jaeger <aj@suse.de>
32919
32920 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32921 that pseudo_end is just ret and the stack pointer is correct also
32922 for static library in error case.
32923
d44638b0
PP
329242012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32925
32926 [BZ #14122]
32927 * nss/nsswitch.c (defconfig_entries): New variable.
32928 (__nss_database_lookup): Don't leak defconfig entries.
32929 (nss_parse_service_list): Don't leak on error paths.
32930 (free_database_entries): New function.
32931 (free_defconfig): New function.
32932 (free_mem): Move common code to free_database_entries.
32933
31a39bd8
L
329342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32935
da0331a8
L
32936 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32937 Add arch_prctl.
32938 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32939
31a39bd8
L
32940 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32941 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32943 New macro.
32944 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32945 (INTERNAL_SYSCALL_TYPES): Likewise.
32946 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32947 (LOAD_REGS_TYPES_[1-6]): Likewise.
32948 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32949 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32950
45470df3
AZ
329512012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32952
32953 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32954 copysignl for GLIBC_2_0.
32955 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32956 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32958 logbl for GLIBC_2_0.
32959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32960 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32961
98a61bcb
L
329622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32963
a4f6e481
L
32964 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32965 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32966
f63d5db6
L
32967 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32968 Use "neg %eax".
32969
98a61bcb
L
32970 * time/mktime.c: Update copyright years.
32971
95770f14
PE
329722012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32973
6226efbd
PE
32974 mktime: merge comment-quoting-style change from gnulib
32975 * time/mktime.c: Quote 'like this' in comments.
32976 The GNU coding standards suggest that we no longer quote `like this',
32977 as "`" and "'" are typically rendered asymmetrically nowadays.
32978 The typical gnulib style is to quote 'like this' when quoting
32979 code, and "like this" when quoting English.
32980
b99e4f78
PE
32981 * time/mktime.c (compile-command): Add "-I.".
32982
643e01e6
PE
32983 mktime: merge mktime-internal.h change from gnulib
32984 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32985
2554247d
PE
32986 mktime: merge time_r change from gnulib
32987 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32988
826dd0ab
PE
32989 mktime: merge DEBUG change from gnulib
32990 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32991 case system <time.h> has a #define.
32992
bd83aabe
PE
32993 mktime: merge <sys/types.h> change from gnulib
32994 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32995 since <time.t> is now guaranteed to define time_t.
32996
95770f14
PE
32997 mktime: merge HAVE_CONFIG_H change from gnulib
32998 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32999
5e1a27a9
L
330002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33001
0e44a77e
L
33002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33003 Use "neg %eax".
33004
5e1a27a9
L
33005 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33006 __rlim_t cast.
33007 (struct rusage): Use anonymous union to pad each field to
33008 __syscall_slong_t.
33009
46259bec
DM
330102012-05-21 David S. Miller <davem@davemloft.net>
33011
33012 * Makefules (o-iterator): Remove .s cases.
33013 (compile-command.s): Delete.
33014 (COMPILE.s): Delete.
33015 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33016
59f0c22e
JM
330172012-05-21 Joseph Myers <joseph@codesourcery.com>
33018
33019 * configure.in (libc_cv_predef_stack_protector): Only consider
33020 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33021 * configure: Regenerated.
33022
20c07380
L
330232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33024
bbb3154b
L
33025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33026 New macro. Use R*LP on int and pointer.
33027 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33028 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33029 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33030 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33031
20c07380
L
33032 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33033 [__WORDSIZE_TIME64_COMPAT32] instead of
33034 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33035 (struct utmp): Likewise.
33036 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33037 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33038 Renamed to ...
33039 (__WORDSIZE_TIME64_COMPAT32): This.
33040 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33041 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33042 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33043 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33044 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33045 (__WORDSIZE_TIME64_COMPAT32): New macro.
33046
d8d1017e
AJ
330472012-05-21 Andreas Jaeger <aj@suse.de>
33048
33049 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33050 only if [SHARED]. Add prototype for __wcschr_ia32.
33051
6c7fb145
RM
330522012-05-21 Roland McGrath <roland@hack.frob.com>
33053
33054 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33055 of %rbp unmolested in the jmp_buf while mangling the low bits.
33056 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33057 unmolested high bits of %rbp while demangling the low bits.
33058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33059
66274218
AJ
330602012-05-21 Andreas Jaeger <aj@suse.de>
33061
07c58f8f
AJ
33062 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33063 * sunrpc/svc_simple.c: Use it for registerrpc.
33064 * sunrpc/xcrypt.c: Use it for passwd2des.
33065
66274218
AJ
33066 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33067
61f65140
L
330682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33069
33070 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33071 Don't define if [__SYSCALL_WORDSIZE != 32].
33072 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33073 New macro.
33074
5fefb436
AJ
330752012-05-21 Bruno Haible <bruno@clisp.org>
33076 Andreas Jaeger <aj@suse.de>
33077
33078 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33079 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33080 inptr and inend for must_buffer_ch.
33081 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33082 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33083 * stdio-common/Makefile (tests): Remove bug15.
33084 (bug15-ENV): Remove macro.
33085 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33086 anymore.
33087
d8e272ab
AJ
330882012-05-19 Andreas Jaeger <aj@suse.de>
33089 Roland McGrath <roland@hack.frob.com>
33090
33091 * manual/contrib.texi: Completely rewritten. It contains now an
33092 alphabetical list of contributors and their contributions.
33093
4a56a162
RH
330942012-05-21 Richard Henderson <rth@twiddle.net>
33095
33096 * misc/getauxval.c (__getauxval): Use unsigned long int.
33097 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33098 (getauxval): Use unsigned long int.
33099
d024d23c
L
331002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33101
33102 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33103
cbc00a03
RM
331042012-05-21 Roland McGrath <roland@hack.frob.com>
33105
33106 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33107 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33108 __alignof__ (long double).
33109
478143fa
AZ
331102012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33111
33112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33113
c7683a6d
RH
331142012-05-20 Richard Henderson <rth@twiddle.net>
33115
33116 * misc/getauxval.c: New file.
33117 * misc/sys/auxv.h: New file.
33118 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33119 (routines): Add getauxval.
33120 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33121 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33122 * elf/dl-sysdep.c (_dl_auxv): Remove.
33123 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33124 * elf/dl-support.c (_dl_auxv): New variable.
33125 (_dl_aux_init): Initialize it.
33126 * manual/startup.texi (Auxiliary Vector): New node.
33127 * sysdeps/generic/bits/hwcap.h: New file.
33128 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33129 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33130 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33131 * sysdeps/sparc/sysdep.h: ... here. Include it.
33132 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33133 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33135 Update.
c7683a6d
RH
33136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33144
a6f1845d
AZ
331452012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33146
33147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33148
cbcbe830
DM
331492012-05-19 David S. Miller <davem@davemloft.net>
33150
33151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33152
e0b16cc2
JM
331532012-05-19 Joseph Myers <joseph@codesourcery.com>
33154
33155 [BZ #14123]
33156 * math/s_ccosh.c: Include <float.h>
33157 (__ccosh): Avoid internal overflow calculating sinh and cosh
33158 values before multiplying by sin and cos values.
33159 * math/s_ccoshf.c: Likewise.
33160 * math/s_ccoshl.c: Likewise.
33161 * math/s_csin.c: Likewise.
33162 * math/s_csinf.c: Likewise.
33163 * math/s_csinl.c: Likewise.
33164 * math/s_csinh.c: Likewise.
33165 * math/s_csinhf.c: Likewise.
33166 * math/s_csinhl.c: Likewise.
33167 * math/libm-test.inc (ccos_test): Add more tests.
33168 (ccosh_test): Likewise.
33169 (csin_test): Likewise.
33170 (csinh_test): Likewise.
33171 * sysdeps/i386/fpu/libm-test-ulps: Update.
33172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33173
6ad13e08
L
331742012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33175
f66f0ce8
L
33176 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33177 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33178
6ad13e08
L
33179 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33180
b1d072a7
JM
331812012-05-19 Joseph Myers <joseph@codesourcery.com>
33182
33183 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33184 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33185 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33186 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33187 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33188 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33189 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33190 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33191 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33192 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33193 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33194 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33195 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33196 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33197 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33198 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33199 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33200 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33201 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33202 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33203 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33204 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33205 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33206 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33207 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33208 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33209 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33210 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33211 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33212 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33213 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33214
9eae47cb
AJ
332152012-05-18 Andreas Jaeger <aj@suse.de>
33216
33217 * csu/.gitignore: Delete.
33218
bb07f69f
L
332192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33220
33221 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33222 (timex): Use __syscall_slong_t.
33223
e6bdb741
AJ
332242012-05-18 Andreas Jaeger <aj@suse.de>
33225 Carlos O'Donell <carlos_odonell@mentor.com>
33226
33227 * manual/install.texi (Configuring and compiling): Update
33228 description about files modified in the source directory.
d6c33fda 33229 * INSTALL: Regenerated.
e6bdb741 33230
1b74487e
L
332312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33232
33233 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33234 value. Use "or" to set return value to -1.
33235 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33236 negate return value.
33237
a88b64b9
TMQMF
332382012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33239
57f41c40
AS
33240 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33241 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33242 failure if the compiler has Graphite support disabled.
33243 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33244 Likewise.
57f41c40
AS
33245 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33246 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33247 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33248 Likewise.
33249
3707636e
L
332502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33251
610b8622
L
33252 * sysdeps/x86_64/x32/_itoa.h: New file.
33253
7cd195df
L
33254 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33255 getdents system call only if kernel and user dirents have the
33256 same d_ino and d_off.
33257
94b07d20
L
33258 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33259 LLONG_MAX != LONG_MAX.
33260 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33261 (_fitoa_word): Likewise.
33262
18298070
L
33263 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33264 years.
33265 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33266 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33267 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33268
553c7ea4
L
33269 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33270 include <bits/wordsize.h>. Check __x86_64__ instead of
33271 __WORDSIZE.
33272 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33273 if __x86_64__ is defined. Use anonymous union on fpstate.
33274
3707636e
L
33275 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33276 anonymous union.
33277
b53ef01a
AS
332782012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33279
37fb1dc0
AS
33280 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33281 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33282 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33283 Refer to _rtld_local_ro instead of _rtld_global_ro.
33284 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33285 Likewise.
33286 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33287 Likewise.
33288 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33289 Likewise.
33290 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33291 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33292 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33293
b53ef01a
AS
33294 * sysdeps/powerpc/powerpc32/dl-machine.c
33295 (__elf_machine_runtime_setup) [PROF]: Don't reference
33296 _dl_prof_resolve.
33297
7a185db2
AJ
332982012-05-18 Andreas Jaeger <aj@suse.de>
33299
33300 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33301 function only available for GCCs before 3.4 since GCC 3.4
33302 introduced a builtin.
33303 (lrint): Likewise.
33304 (llrintf): Likewise.
33305 (llrint): Likewise.
33306 (fmaxf): Likewise.
33307 (fmax): Likewise.
33308 (fminf): Likewise.
33309 (fmin): Likewise.
33310 (rint): Likewise.
33311 (rintf): Likewise.
33312 (nearbyint): Likewise.
33313 (nearbyintf): Likewise.
33314 (ceil): Likewise.
33315 (ceilf): Likewise.
33316 (floor): Likewise.
33317 (floorf): Likewise.
33318
3e5aef87
L
333192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33320
428bd707
L
33321 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33322 on both fields and cast pointer to __syscall_ulong_t.
33323
3e5aef87
L
33324 * bits/types.h (__fsword_t): New type.
33325 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33326 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33328 (__FSWORD_T_TYPE): Likewise.
33329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33330 (__FSWORD_T_TYPE): Likewise.
33331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33332 (__FSWORD_T_TYPE): Likewise.
33333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33334 (__FSWORD_T_TYPE): Likewise.
33335 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33336 __SWORD_TYPE with __fsword_t.
33337 (statfs64): Likewise.
33338
1ba7c3dc
DM
333392012-05-17 David S. Miller <davem@davemloft.net>
33340
33341 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33342
59910343
AJ
333432012-05-17 Andreas Jaeger <aj@suse.de>
33344
33345 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33346 warning.
33347
2e4c1e9e
L
333482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33349
33350 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33351
de7f5ce7
AJ
333522012-05-17 Andreas Jaeger <aj@suse.de>
33353
33354 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33355 when it is used.
33356
286abc3d
CM
333572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33358
33359 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33360
477cc68e
L
333612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33364 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33365
1a0994f5
CD
333662012-05-17 Andreas Jaeger <aj@suse.de>
33367 Carlos O'Donell <carlos_odonell@mentor.com>
33368
33369 [BZ #14059]
33370 * sysdeps/x86_64/multiarch/init-arch.h
33371 (bit_YMM_Usable): Rename to...
33372 (bit_AVX_Usable): ... this.
33373 (bit_FMA4_Usable): New macro.
33374 (bit_XMM_state): New macro.
33375 (bit_YMM_state): New macro.
33376 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33377 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33378 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33379 (CPUID_OSXSAVE): New macro.
33380 (CPUID_AVX): New macro.
33381 (CPUID_FMA4): New macro.
33382 (index_YMM_Usable): Rename to...
33383 (index_AVX_Usable): ... this.
33384 (HAS_AVX): Use HAS_ARCH_FEATURE.
33385 (HAS_FMA4): Likewise.
33386 (HAS_YMM_USABLE): Remove.
33387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33388 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33389 are present.
33390 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33391 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33392 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33393 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33394 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33395
0af797de
CM
333962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33397
33398 * math/libm-test.c: Support platforms without multiple rounding modes.
33399 * math/bug-nextafter.c: Support platforms without FP exceptions.
33400 * math/bug-nexttoward.c: Likewise.
33401 * math/test-fenv.c: Likewise.
33402 * math/test-misc.c: Likewise.
33403 * stdlib/bug-getcontext.c: Likewise.
33404
e39745ff
AJ
334052012-05-17 Andreas Jaeger <aj@suse.de>
33406
33407 * manual/examples/search.c (critter_cmp): Change signature to
33408 avoid warnings.
33409 * manual/string.texi (Collation Functions): Likewise.
33410
48970aba
L
334112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33412
33413 * bits/types.h: Fold copyright years.
33414 * bits/typesizes.h: Likewise.
33415 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33416 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33418 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33419 * time/time.h: Likewise.
33420
bedee953
PP
334212012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33422
33423 [BZ #208]
33424 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33425 in instead of returning them. Return void.
33426 (__libc_mallinfo): Accumulate over all arenas.
33427 (__malloc_stats): Adjust for change in int_mallinfo interface.
33428
61653dfb
RM
334292012-05-16 Roland McGrath <roland@hack.frob.com>
33430
30b99d79
RM
33431 [BZ #10375]
33432 * configure.in (NM): Add AC_CHECK_TOOL for it.
33433 (libc_extra_cflags): New substituted variable.
33434 Check for -fstack-protector being used implicitly.
33435 * configure: Regenerated.
33436 * config.make.in (config-extra-cflags): New variable,
33437 gets @libc_extra_cflags@.
33438 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33439
61653dfb
RM
33440 [BZ #10375]
33441 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33442 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33443 * configure: Regenerated.
33444 * config.make.in (CPPUNDEFS): New substituted variable.
33445 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33446 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33447 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33448
661768bb
L
334492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33450
33451 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33452 (mq_attr): Use __syscall_slong_t.
33453
d4261567
L
334542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33455
33456 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33457 Check __x86_64__ instead of __WORDSIZE.
33458 (_STAT_VER_LINUX): Likewise.
33459 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33460 __syscall_ulong_t and __syscall_slong_t.
33461 (stat64): Likewise.
33462
cf3ff365
L
334632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33464
33465 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33466
76cf3e4d
L
334672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33468
33469 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33470
a637753a
L
334712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33472
33473 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33474 __syscall_ulong_t.
33475
d5e05119
L
33476 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33477 include <bits/wordsize.h>. Check __x86_64__ instead of
33478 __WORDSIZE.
33479 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33480 defined.
33481 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33482
f62ee380
L
33483 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33484 include <bits/wordsize.h>. Check __x86_64__ instead of
33485 __WORDSIZE.
33486 (user_regs_struct): Use "__extension__ unsigned long long"
33487 instead of "unsigned long" if __x86_64__ is defined.
33488 (user): Likewise. Pad after pointer field if __ILP32__ is
33489 defined.
33490
4e124ced
JM
334912012-05-16 Joseph Myers <joseph@codesourcery.com>
33492
6a3951a0
JM
33493 * configure.in (makeinfo): Require version 4.5 or later. Allow
33494 versions 5 to 9.
33495 * configure: Regenerated.
33496 * manual/install.texi (texinfo): Increase version requirement to
33497 4.5 or later.
33498 * INSTALL: Regenerated.
33499
4e124ced
JM
33500 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33501
953ca31a
L
335022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33503
33504 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33505
617aca05
L
33506 * sysdeps/x86_64/x32/ffs.c: New file.
33507
5762f7ae
L
33508 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33509 __syscall_ulong_t.
33510 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33511 defined. Use __syscall_ulong_t.
33512 (shminfo): Use __syscall_ulong_t.
33513 (shm_info): Likewise.
33514
a26b6856
L
33515 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33516 __syscall_ulong_t.
33517
cb2b9ef7
L
33518 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33519 <bits/wordsize.h>.
33520 (msgqnum_t): Use __syscall_ulong_t.
33521 (msglen_t): Likewise.
33522 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33523 __syscall_ulong_t.
33524
34683bb0
L
33525 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33526 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33527
84a68786
L
33528 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33529
48baa5f1
L
33530 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33531 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33532
180be88b
L
33533 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33534 __syscall_slong_t.
33535
5e90c8ad
L
33536 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33537 include <bits/wordsize.h>. Check __x86_64__ instead of
33538 __WORDSIZE.
33539
23dfb58b
L
33540 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33541 "unsigned long long int" if __x86_64__ is defined.
33542 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33543
ce5d54b0
L
33544 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33545 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33546 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33547
13dc9eac
L
33548 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33549 <stdint.h>.
33550 (GET_PC): Cast to uintptr_t first.
33551 (GET_FRAME): Likewise.
33552 (GET_STACK): Likewise.
33553
a7895d15
L
33554 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33555 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33556 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33557 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33558 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33559 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33560 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33561 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33562 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33564 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33566 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33569 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33570 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33571 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33572 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33573 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33576 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33578 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33579 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33580 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33581 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33582 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33583
656416c9
AS
335842012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33585
5bd66283
AS
33586 * Makerules (+depfiles): Also collect depfiles from .oS in
33587 $(extra-objs).
33588 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33589 .oS, $(libnldbl-routines)).
33590
656416c9
AS
33591 * Makerules (native-compile-mkdep-flags): Define.
33592 * sunrpc/Makefile (extra-objs): Add $(addprefix
33593 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33594 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33595 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33596 calling $(make-target-directory).
33597
a46f2169
L
335982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33599
33600 * bits/types.h (__snseconds_t): Removed.
33601 * time/time.h (struct timespec): Replace __snseconds_t with
33602 __syscall_slong_t.
33603 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33604 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33605 Likewise.
33606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33607 (__SNSECONDS_T_TYPE): Likewise.
33608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33609 (__SNSECONDS_T_TYPE): Likewise.
33610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33611 (__SNSECONDS_T_TYPE): Likewise.
33612
6af6528b
L
336132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33614
33615 * sysdeps/mach/hurd/bits/typesizes.h
33616 (__SYSCALL_SLONG_TYPE): New macro.
33617 (__SYSCALL_ULONG_TYPE): Likewise.
33618
de986b56
L
336192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33620
33621 * bits/types.h (__syscall_slong_t): New type.
33622 (__syscall_ulong_t): Likewise.
33623
33624 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33625 (__SYSCALL_ULONG_TYPE): Likewise.
33626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33627 (__SYSCALL_SLONG_TYPE): Likewise.
33628 (__SYSCALL_ULONG_TYPE): Likewise.
33629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33630 (__SYSCALL_SLONG_TYPE): Likewise.
33631 (__SYSCALL_ULONG_TYPE): Likewise.
33632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33633 (__SYSCALL_SLONG_TYPE): Likewise.
33634 (__SYSCALL_ULONG_TYPE): Likewise.
33635
85736dc7
L
336362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33637
33638 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33639 Add sigaltstack-offsets.sym.
33640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33641 <sigaltstack-offsets.h>.
33642 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33643 longjmp_msg pointer.
33644 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33645 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33646 signal stack.
33647 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33648
cc03b296
JM
336492012-05-15 Joseph Myers <joseph@codesourcery.com>
33650
a9538892
JM
33651 * elf/stackguard-macros.h: Remove file.
33652 * sysdeps/generic/stackguard-macros.h: New file.
33653 * sysdeps/i386/stackguard-macros.h: Likewise.
33654 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33655 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33656 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33657 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33658 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33659 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33660 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33661 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33662 <elf/stackguard-macros.h>.
33663
cc03b296
JM
33664 [BZ #14109]
33665 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33666 __aligned__ in attribute.
33667 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33668 (gregset_t): Likewise.
33669
93171016
L
336702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33671
33672 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33673 * sysdeps/x86_64/64/Implies-after: Here. New file.
33674 * sysdeps/x86_64/x32/Implies-after: New file.
33675
d86813a0
L
336762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33677
33678 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33679 and access return value for _dl_profile_fixup. Use R10_LP to
33680 load frame size.
33681
2953ec75
L
336822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33683
33684 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33685
3b550e9e
L
336862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33687
33688 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33689 * sysdeps/x86_64/x32/sysdep.h: New file.
33690
eda41706
L
336912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33692
33693 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33694 * sysdeps/x86_64/setjmp.S: Likewise.
33695
9ea01d93
AZ
336962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33697
33698 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33699 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33700 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33702 remove unused global constant.
33703
02a91938
CM
337042012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33705
33706 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33707 include of <not-cancel.h>.
33708
6540185f
RM
337092012-05-15 Roland McGrath <roland@hack.frob.com>
33710
33711 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33712
509072a0
AJ
337132012-05-15 Jeff Law <law@redhat.com>
33714 Andreas Jaeger <aj@suse.de>
33715
33716 [BZ #13594]
33717 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33718 out from...
33719 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33720 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33721 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33722 code changing __hst_map_handle.map.
33723
ba75122d
RM
337242012-05-15 Roland McGrath <roland@hack.frob.com>
33725
33726 * configure.in (sysnames): Look for Implies-before and Implies-after
33727 files.
33728 * configure: Regenerated.
33729
890d8bd8
L
337302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33731
33732 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33733 8-byte data alignment with LP_SIZE alignment.
33734
f6ee6623
L
337352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33736
33737 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33738 into R10_LP.
33739
ea2626f6
L
337402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33741
33742 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33743
085f715e
L
337442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33745
33746 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33747 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33748 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33749 Likewise.
33750 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33751
be8498fc
L
337522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33753
33754 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33755 (stackinfo_sub_sp): Likewise.
33756
70bc83b9
L
337572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33758
33759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33760 RAX_LP.
33761
9bc0b730
L
337622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33763
33764 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33765 into R*_LP.
33766
6d2850e7
L
337672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33768
33769 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33770 sizes into R*_LP.
33771
3cb84561
L
337722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33773
33774 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33775
54e2ed81
L
337762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33777
33778 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33779 into R11_LP and load __x86_64_shared_cache_size_half into
33780 R8_LP.
33781
8a17f349
L
337822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33783
33784 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33785 R8_LP.
33786
777b1eea
AZ
337872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33788
33789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33790 logb for POWER7.
33791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33792 logbf for POWER7.
33793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33794 logbl for POWER7.
33795 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33796 powerpc32/power7/fpu/s_logb.c via #include.
33797 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33798 powerpc32/power7/fpu/s_logbf.c via #include.
33799 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33800 powerpc32/power7/fpu/s_logbl.c via #include.
33801
d20d4ac2
JM
338022012-05-15 Joseph Myers <joseph@codesourcery.com>
33803
33804 * README.libm: Remove file.
33805
6cdef1ab
L
338062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33807
33808 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33809 count for x32. Use R*_LP and omit operand-size suffix.
33810
0b254d8f
L
338112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33812
33813 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33814 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33815 * sysdeps/x86_64/x32/shlib-versions: New file.
33816
ceb809dc
RM
338172012-05-14 Roland McGrath <roland@hack.frob.com>
33818
33819 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33820 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33821 Use _dl_fatal_printf instead.
33822
37f1abd4
JM
338232012-05-14 Joseph Myers <joseph@codesourcery.com>
33824
33825 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33826 set if not set by the user. Do not allow for being unset.
33827 * sysdeps/unix/sysv/linux/configure: Regenerated.
33828
11de3a33
L
338292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33830
33831 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33832 the `q' suffix from lea and replace .quad with ASM_ADDR.
33833
e02f153a
L
338342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33835
33836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33837 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33838 instead of $17.
33839 (PTR_DEMANGLE): Likewise.
33840
520ae0fd
L
338412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33842
33843 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33844 (LP_OP): Likewise.
33845 (ASM_ADDR): Likewise.
33846 (RAX_LP): Likewise.
33847 (RBP_LP): Likewise.
33848 (RBX_LP): Likewise.
33849 (RCX_LP): Likewise.
33850 (RDI_LP): Likewise.
33851 (RSI_LP): Likewise.
33852 (RSP_LP): Likewise.
33853 (R8_LP): Likewise.
33854 (R9_LP): Likewise.
33855 (R10_LP): Likewise.
33856 (R10_LP): Likewise.
33857 (R11_LP): Likewise.
33858 (R12_LP): Likewise.
33859 (R13_LP): Likewise.
33860 (R14_LP): Likewise.
33861 (R15_LP): Likewise.
33862
b985be81
L
338632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33864
33865 * sysdeps/x86_64/x32/dl-machine.h: New file.
33866
6a4888ff
AJ
338672012-05-14 Andreas Jaeger <aj@suse.de>
33868
33869 * manual/Makefile (subdir): Remove export of subdir.
33870 (all): Remove target.
33871 (.PHONY): Remove all from list.
33872 (mkinstalldirs): Remove.
33873 (.PHONY): Remove installdirs from list.
33874 ($(inst_infodir)/libc.info): Use make-target-directory.
33875 (installdirs): Remove.
33876 (subdir_%): Remove.
33877 (glibc-targets): Remove.
33878 (lib): Remove.
33879 (stubs): Remove.
33880 ($(objpfx)stubs ../po/manual.pot): Remove.
33881 ($(objpfx)stamp%): Remove.
33882 (make-target-directory): Remove.
33883 (subdir_install): Remove.
33884 (routines): Remove.
33885 (aux): Remove.
33886 (sources): Remove.
33887 (objects): Remove.
33888 (headers): Remove.
33889
33890 [BZ #13750]
33891 * manual/.gitignore: Remove, it's not needed anymore.
33892 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33893 all files in it.
33894 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33895 directory.
33896 (texis): Renamed to $(objpfx)texis.
33897 (texis-path): New, contains path to generated files.
33898 (chapters.%): Use texis-path for complete path, add extra argument
33899 libc-texinfo.sh.
33900 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33901 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33902 (summary,texi, stamp-summary): Use complete path of
33903 files. Generate files in build dir.
33904 (dir-add.texi): Build in build dir.
33905 (libm-err.texi,stamp-libm-err): Likewise.
33906 (version.texi, stamp-version): Likewise.
33907 (.%c.texi): Likewise.
33908 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33909 (mostlyclean): Remove target.
33910 (realclean): Remove target.
33911 (generated): Add new variable with contents from mostlyclean and
33912 realclean, remove entries duplicated in common-mostlyclean, add
33913 stamp-libm-err and stamp-version.
33914 (generated-dirs): Add libc directory.
33915 ($(inst_infodir)/libc.info): Install files from build dir.
33916
33917 * manual/install.texi (Configuring and compiling): Adjust since
33918 the info files are not part of the tar ball anymore.
33919
7ac77294
AJ
339202012-05-14 Andreas Jaeger <aj@suse.de>
33921
33922 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33923 variable.
33924
ffb7875d
JM
339252012-05-14 Joseph Myers <joseph@codesourcery.com>
33926
33927 [BZ #13717]
33928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33929 to 2.2.0 where earlier.
33930 * sysdeps/unix/sysv/linux/configure: Regenerated.
33931 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33932 Remove conditional code.
33933 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33934 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33935 Remove conditional code.
33936 [!__NR_lchown]: Likewise.
33937 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33938 [__NR_lchown]: Likewise.
33939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33940 comment referencing __ASSUME_LCHOWN_SYSCALL.
33941 * sysdeps/unix/sysv/linux/i386/sigaction.c
33942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33944 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33945 Remove conditional code.
33946 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33947 (__protocol_available): Remove #if 0 code.
33948 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33949 conditional code.
33950 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33951 * sysdeps/unix/sysv/linux/kernel-features.h
33952 (__ASSUME_GETCWD_SYSCALL): Don't define.
33953 (__ASSUME_REALTIME_SIGNALS): Likewise.
33954 (__ASSUME_PREAD_SYSCALL): Likewise.
33955 (__ASSUME_PWRITE_SYSCALL): Likewise.
33956 (__ASSUME_POLL_SYSCALL): Likewise.
33957 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33958 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33959 non-SPARC.
33960 (__ASSUME_SIOCGIFNAME): Don't define.
33961 (__ASSUME_MSG_NOSIGNAL): Likewise.
33962 (__ASSUME_SENDFILE): Define unconditionally.
33963 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33964 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33965 conditional code.
33966 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33967 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33968 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33969 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33970 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33971 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33972 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33974 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33977 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33983 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33997 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33998 Remove conditional code.
33999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34000 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34001 Remove conditional code.
34002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34003 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34004 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34005 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34006 Remove conditional code.
34007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34008 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34009 Remove conditional code.
34010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34011 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34012 Remove conditional code.
34013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34014 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34015 Remove conditional code.
34016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34017 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34018 Remove conditional code.
34019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34020 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34023 * sysdeps/unix/sysv/linux/sigaction.c
34024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34026 * sysdeps/unix/sysv/linux/sigpending.c
34027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34029 * sysdeps/unix/sysv/linux/sigprocmask.c
34030 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34031 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34032 * sysdeps/unix/sysv/linux/sigsuspend.c
34033 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34034 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34035 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34036 (__libc_missing_rt_sigs): Remove.
34037 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34038 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34039 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34040 Remove conditional code.
34041 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34042 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34043 return 1.
34044 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34045 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34046 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34047 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34048
1bfb7291
AJ
340492012-05-14 Andreas Jaeger <aj@suse.de>
34050
caae5a81
AJ
34051 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34052 it's not used in glibc.
34053 (__coshm1): Likewise.
34054 (__acosh1p): Likewise.
34055 (__sgn): Likewise.
34056
1bfb7291
AJ
34057 * manual/string.texi (Copying and Concatenation): Add missing
34058 variable in concat example.
34059 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34060
c044d724
L
340612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34062
144c5467 34063 [BZ #14103]
c044d724
L
34064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34065 __builtin_clzl with __builtin_clzll.
34066
2523c62b
L
340672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34068
34069 [BZ #14104]
34070 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34071 libc_freeres_ptr.
34072
d7bb4c42
LD
340732012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34074
34075 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34076 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34077 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34078 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34079
9dc4e1fb
MF
340802012-05-14 Mike Frysinger <vapier@gentoo.org>
34081
34082 * NEWS: Update ia64 info.
34083
c7df0112
AS
340842012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34085
34086 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34087 used as bcopy.
34088
dc70356c
TS
340892012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34090
34091 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34092 * sysdeps/unix/syscalls.list (dup3): Likewise.
34093 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34094 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34095
9fb1a21f
L
340962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34097
34098 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34099 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34100
4822a2a5
L
341012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34102
34103 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34104 thread pointer.
34105 (TLS_IE): Use mov/add instead of movq/addq to load thread
34106 pointer.
34107 (TLS_GD_PREFIX): New.
34108 (TLS_GD): Use it.
34109
842b81d6
DM
341102012-05-11 David S. Miller <davem@davemloft.net>
34111
34112 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34113 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34114 (_FPU_SETCW): Likewise.
34115
1cf463cd
L
341162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34117
34118 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34119 is 32-byte aligned.
34120
60cc4a18
AS
341212012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34122
34123 [BZ #11837]
34124 * iconvdata/gb18030.c: Update tables.
34125 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34126 characters specially.
34127 (BODY for TO_LOOP): Add encoding of missing ranges.
34128
febb44a4
TS
341292012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34130
34131 [BZ #13673]
34132 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34133 * sysdeps/mach/hurd/dup3.c: Likewise.
34134 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34135 * sysdeps/powerpc/memmove.c:: Likewise.
34136
0a10fb9e
L
341372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34138
34139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34140 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34141
df8a552f
L
341422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34143
34144 * elf/elf.h (R_X86_64_RELATIVE64): New.
34145 (R_X86_64_NUM): Updated.
34146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34147 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34148 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34149 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34150 tst-quad1pie tst-quad2pie
34151 (modules-names): Add tst-quadmod1 tst-quadmod2.
34152 ($(objpfx)tst-quad1): New dependency.
34153 ($(objpfx)tst-quad2): Likewise.
34154 ($(objpfx)tst-quad1pie): Likewise.
34155 ($(objpfx)tst-quad2pie): Likewise.
34156 * sysdeps/x86_64/tst-quad1.c: New file.
34157 * sysdeps/x86_64/tst-quad1pie.c: New file.
34158 * sysdeps/x86_64/tst-quad2.c: Likewise.
34159 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34160 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34161 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34162 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34163 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34164
f34d6f84
ST
341652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34166
f42d41d1
ST
34167 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34168 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34169 * streams/stropts.h (t_scalar_t): Define type.
34170
3c3571fc
ST
34171 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34172 (_PATH_PRESERVE): Set to "/var/lib".
34173 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34174
61f06bd3
ST
34175 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34176 instead of int.
34177
918d4d71
ST
34178 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34179 if __dir_mkfile succeeded.
34180
f34d6f84
ST
34181 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34182 checking for _hurd_dtablesize. Unlock it right after having
34183 finished _hurd_dtable allocation.
34184
10589b4a
TS
341852012-05-10 Thomas Schwinge <thomas@schwinge.name>
34186
674cdbc7
TS
34187 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34188 * sysdeps/mach/hurd/configure: Regenerated.
34189 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34190 special-casing to...
34191 * sysdeps/gnu/configure.in: ... this new file.
34192 * sysdeps/unix/sysv/linux/configure: Regenerated.
34193 * sysdeps/gnu/configure: New generated file.
34194
8e41b99f
TS
34195 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34196 for Linux: use nsec instead of usec, as well as:
34197 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34198 members of type struct timespec.
34199 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34200 New macros.
34201 (struct stat64): Likewise.
34202 (_STATBUF_ST_NSEC): New macro.
34203 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34204
10589b4a
TS
34205 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34206 __strtoul_internal rather than strtoul.
34207
63643c85
PT
342082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34209
34210 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34211 and reject them.
34212
3faebe6a
ST
342132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34214
34215 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34216 which preserves existing values.
34217 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34218
c6474b07
PT
342192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34220
34221 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34222 TIMEOUT values. Return EINVAL for NFDS values either negative or
34223 greater than FD_SETSIZE.
34224
1043890b
ST
342252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34226
34227 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34228 allocated, call __vm_protect to finish enabling the existing space, and
34229 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34230 allocate the remainder.
34231
37ed8b9b
PT
342322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34233
34234 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34235 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34236
db653660
ST
342372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34238
37ed8b9b
PT
34239 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34240 sysdeps/mach/hurd/readlink.c.
b29d4053 34241
db653660
ST
34242 * posix/tst-sysconf.c (posix_options): Only use
34243 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34244 _POSIX_SYNCHRONIZED_IO when they are defined
34245 * sysdeps/mach/hurd/bits/posix_opt.h:
34246 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34247 (_XOPEN_REALTIME): Undefine macro.
34248 (_XOPEN_REALTIME_THREADS): Undefine macro.
34249 (_XOPEN_SHM): Undefine macro.
34250 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34251 macro to -1.
34252 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34253 macro to -1.
34254 (_POSIX_ASYNC_IO): Undefine macro.
34255 (_POSIX_PRIORITIZED_IO): Undefine macro.
34256 (_POSIX_SPIN_LOCKS): Define macro to -1.
34257
ee16e894
ST
34258 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34259 SA_NODEFER, SA_RESETHAND.
34260 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34261 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34262 F_DUPFD_CLOEXEC.
34263
6103ae3b
TS
342642012-05-10 Thomas Schwinge <thomas@schwinge.name>
34265
34266 * elf/Makefile (pldd-modules): Define unconditionally.
34267
80b4e5f3
TS
342682012-05-10 Thomas Schwinge <thomas@schwinge.name>
34269
34270 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34271
edadcbd6
ST
342722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34273
34274 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34275 Return ENOENT when name is empty.
34276 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34277
80694780
TS
342782012-05-10 Thomas Schwinge <thomas@schwinge.name>
34279
1792c087
TS
34280 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34281
80694780
TS
34282 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34283
6b645f0d
ST
342842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34285
80694780
TS
34286 Fix mlock in all cases except non-readable pages.
34287 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34288 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34289
6b645f0d
ST
34290 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34291 (__mkdir): When path is `/', just fail with EEXIST.
34292 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34293
e468f8a3
TS
342942012-05-10 Thomas Schwinge <thomas@schwinge.name>
34295
34296 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34297 <sys/uio.h> (for writev).
34298 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34299 and <sys/param.h> (for MIN).
34300
a4186cff
PT
343012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34302
34303 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34304 REQUESTED_TIME. Properly set the remaining time and return EINTR
34305 if interrupted.
34306
510bbf14
TS
343072012-05-10 Thomas Schwinge <thomas@schwinge.name>
34308
34309 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34310 Depend on against $(link-rpcuserlibs).
34311
5d5722e8
ST
343122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34313
a4186cff
PT
34314 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34315 (__libc_stack_end): Do not use attribute_relro.
34316 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34317 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34318 to libthread-provided value.
a4186cff
PT
34319 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34320 attribute_relro.
5d5722e8 34321
37233df9
TS
343222012-05-10 Thomas Schwinge <thomas@schwinge.name>
34323
be971a2b
TS
34324 [BZ #3748]
34325 * bits/libc-lock.h (__libc_once_get): New macro.
34326 * sysdeps/mach/bits/libc-lock.h: Likewise.
34327 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34329 instead of using implementation details.
34330
37233df9
TS
34331 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34332 * libio/freopen.c: Likewise.
34333 * libio/freopen64.c: Likewise.
34334 * misc/syslog.c: Likewise.
34335 * nscd/connections.c: Likewise.
34336 * nscd/netgroupcache.c: Likewise.
34337 * sysdeps/posix/getcwd.c: Likewise.
34338
38de94a5
RM
343392012-05-10 Roland McGrath <roland@hack.frob.com>
34340
34341 * math/w_ilogbf.c: Add #include <limits.h>.
34342
67530489
ST
343432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34344
a4186cff 34345 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34346 path instead of returning without unlocking.
34347
67530489
ST
34348 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34349 immediate-write ioctls.
34350 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34351
5aa3a74a
TS
343522012-05-10 Thomas Schwinge <thomas@schwinge.name>
34353
18bad2ae
TS
34354 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34355 __builtin_frame_address instead of making assumptions about the
34356 location of the return address relative to DATA. Force early load of
34357 the return address.
34358 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34359 __builtin_frame_address.
34360
5aa3a74a
TS
34361 dup3 for GNU Hurd.
34362 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34363 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34364 implement dup3 and do some further code clean-ups.
34365 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34366 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34367
ecd0de9a
ST
343682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34369
cd9fa985
ST
34370 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34371
a4186cff
PT
34372 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34373 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34374 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34375 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34376 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34377 d->port.lock.
802ca5a5 34378
a4186cff
PT
34379 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34380 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34381 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34382
bcf55240
TS
343832012-05-10 Thomas Schwinge <thomas@schwinge.name>
34384
6960eb42
TS
34385 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34386 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34387 definitions.
34388
eb43375f
TS
34389 accept4 for GNU Hurd.
34390 * include/sys/socket.h (__libc_accept4): New prototype.
34391 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34392 to implement __libc_accept4.
34393 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34394 __libc_accept4.
34395 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34396
bcf55240
TS
34397 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34398 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34399 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34400 signal-defines.sym.
34401
6178c55b
ST
344022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34403
a4186cff 34404 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34405
6f080c2f
TS
344062012-05-10 Thomas Schwinge <thomas@schwinge.name>
34407
34408 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34409 assertion on O_CLOEXEC flag.
34410 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34411 * hurd/intern-fd.c: Likewise.
34412 * hurd/port2fd.c: Likewise.
34413
bcfe3a54
ST
344142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34415
34416 [BZ #3906]
34417 * bits/in.h (IPV6_PKTINFO): Define new macro.
34418 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34419
89c9aa49
AZ
344202012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34421
34422 [BZ #13954]
34423 [BZ #13955]
34424 [BZ #13956]
34425 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34426 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34427 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34430 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34431 * math/libm-test.inc (logb_test) : Additional logb tests.
34432
021db4be
AJ
344332012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34434 Andreas Jaeger <aj@suse.de>
34435
34436 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34437 * configure: Regenerated.
34438 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34439 * config.make.in (link-obsolete-rpc): New substituted variable.
34440 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34441 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34442 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34443 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34444 so that libc.a contains the symbols.
34445 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34446 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34447 * sunrpc/auth_none.c: Likewise.
34448 * sunrpc/auth_unix.c: Likewise.
34449 * sunrpc/authdes_prot.c: Likewise.
34450 * sunrpc/authuxprot.c: Likewise.
34451 * sunrpc/clnt_gen.c: Likewise.
34452 * sunrpc/clnt_perr.c: Likewise.
34453 * sunrpc/clnt_raw.c: Likewise.
34454 * sunrpc/clnt_simp.c: Likewise.
34455 * sunrpc/clnt_tcp.c: Likewise.
34456 * sunrpc/clnt_udp.c: Likewise.
34457 * sunrpc/clnt_unix.c: Likewise.
34458 * sunrpc/des_crypt.c: Likewise.
34459 * sunrpc/des_soft.c: Likewise.
34460 * sunrpc/get_myaddr.c: Likewise.
34461 * sunrpc/key_call.c: Likewise.
34462 * sunrpc/key_prot.c: Likewise.
34463 * sunrpc/netname.c: Likewise.
34464 * sunrpc/pm_getmaps.c: Likewise.
34465 * sunrpc/pm_getport.c: Likewise.
34466 * sunrpc/pmap_clnt.c: Likewise.
34467 * sunrpc/pmap_prot.c: Likewise.
34468 * sunrpc/pmap_prot2.c: Likewise.
34469 * sunrpc/pmap_rmt.c: Likewise.
34470 * sunrpc/publickey.c: Likewise.
34471 * sunrpc/rpc_cmsg.c: Likewise.
34472 * sunrpc/rpc_common.c: Likewise.
34473 * sunrpc/rpc_dtable.c: Likewise.
34474 * sunrpc/rpc_prot.c: Likewise.
34475 * sunrpc/rpc_thread.c: Likewise.
34476 * sunrpc/rtime.c: Likewise.
34477 * sunrpc/svc.c: Likewise.
34478 * sunrpc/svc_auth.c: Likewise.
34479 * sunrpc/svc_raw.c: Likewise.
34480 * sunrpc/svc_run.c: Likewise.
34481 * sunrpc/svc_tcp.c: Likewise.
34482 * sunrpc/svc_udp.c: Likewise.
34483 * sunrpc/svc_unix.c: Likewise.
34484 * sunrpc/svcauth_des.c: Likewise.
34485 * sunrpc/xcrypt.c: Likewise.
34486 * sunrpc/xdr.c: Likewise.
34487 * sunrpc/xdr_array.c: Likewise.
34488 * sunrpc/xdr_float.c: Likewise.
34489 * sunrpc/xdr_intXX_t.c: Likewise.
34490 * sunrpc/xdr_mem.c: Likewise.
34491 * sunrpc/xdr_rec.c: Likewise.
34492 * sunrpc/xdr_ref.c: Likewise.
34493 * sunrpc/xdr_sizeof.c: Likewise.
34494 * sunrpc/xdr_stdio.c: Likewise.
34495
b5c086a2
RM
344962012-05-10 Roland McGrath <roland@hack.frob.com>
34497
34498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34499 change. Update copyright years.
34500
6d74dd09
JM
345012012-05-10 Joseph Myers <joseph@codesourcery.com>
34502
34503 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34504
28e72501
MK
345052012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34506 Joseph Myers <joseph@codesourcery.com>
34507 Paul Pluzhnikov <ppluzhnikov@google.com>
34508
34509 [BZ #14012]
34510 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34511 requiring rpcgen.
34512 [cross-compiling] (extra-libs): Likewise.
34513 [cross-compiling] (extra-libs-others): Likewise.
34514 [cross-compiling] (librpcsvc-routines): Likewise.
34515 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34516 [cross-compiling] (omit-deps): Likewise.
34517 (sunrpc-CPPFLAGS): New variable.
34518 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34519 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34520 (cross-rpcgen-objs): New variable.
34521 (extra-objs): Append $(cross-rpcgen-objs).
34522 ($(cross-rpcgen-objs)): New rule.
34523 ($(objpfx)cross-rpcgen): Likewise.
34524 (rpcgen-cmd): Define to use $(built-program-file). Expand
34525 comment.
34526 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34527 ($(objpfx)x%.stmp): Likewise.
34528 * sunrpc/proto.h [IS_IN_build] (_): Define.
34529 [IS_IN_build] (_libc_intl_domainname): Likewise.
34530
c8c59454
L
345312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34532
34533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34534 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34535 and R_X86_64_TPOFF64.
34536
6f27cd16
JM
345372012-05-10 Joseph Myers <joseph@codesourcery.com>
34538
34539 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34540 sysdeps/unix/sysv/syscalls.list.
34541 (stime): Likewise.
34542 (utime): Likewise.
34543 * sysdeps/unix/sysv/syscalls.list: Remove file.
34544
02467e1c
PE
345452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34546
34547 [BZ #3440]
34548 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34549 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34550 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34551 (__LC_IDENTIFICATION): Make these macros useful in #if
34552 expressions, as required by C99.
34553
da392631
AS
345542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34555
34556 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34557 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34558 after this.
34559
8115f29b
L
345602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34561
34562 * stdlib/longlong.h: Updated from GCC.
34563
bdd74070
AJ
345642012-05-09 Andreas Jaeger <aj@suse.de>
34565
edfe0dbe
AJ
34566 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34567 default is first entry.
34568 (run_mode): Set type.
34569 (main): Remove informal message about syslog.
34570 (options): Fix typo.
34571
bcfe3a54
ST
34572 [BZ #14053]
34573 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 34574 to asm.
bcfe3a54
ST
34575 (lrint): Likewise.
34576 (llrintf): Likewise.
34577 (llrint): Likewise.
34578 (rint): Likewise.
34579 (rintf): Likewise.
34580 (nearbyint): Likewise.
34581 (nearbyintf): Likewise.
bdd74070 34582
91d8d69e
AJ
345832012-05-09 Andreas Jaeger <aj@suse.de>
34584 Pedro Alves <palves@redhat.com>
34585
34586 * nscd/nscd.c (run_mode): Use enum.
34587 (main): Cleanup coding style issue.
34588
bb90b80b
AJ
345892012-05-09 Alexandre Oliva <aoliva@redhat.com>
34590 Andreas Jaeger <aj@suse.de>
34591
bcfe3a54
ST
34592 * nscd/nscd.c (go_background): Replaced with...
34593 (run_mode): ... this.
bb90b80b 34594 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
34595 (options): Add -F --foreground.
34596 (main): Implement it.
34597 (parse_opt): Parse it.
bb90b80b 34598
1a4b75a1
AJ
345992012-05-09 Andreas Jaeger <aj@suse.de>
34600
34601 [BZ #14083]
34602 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34603 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34604 -Wconversion warning.
34605 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34606 Likewise.
34607
b1cc2472
JM
346082012-05-09 Joseph Myers <joseph@codesourcery.com>
34609
34610 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34611 == 0.
34612 (LC_ALL): Use macro-int-constant.
34613 (LC_COLLATE): Likewise.
34614 (LC_CTYPE): Likewise.
34615 (LC_MESSAGES): Likewise.
34616 (LC_MONETARY): Likewise.
34617 (LC_NUMERIC): Likewise.
34618 (LC_TIME): Likewise.
34619 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34620 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34622 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34623 Specify type.
34624 [C99-based standards] (float_t): Expect type.
34625 [C99-based standards] (double_t): Expect type.
34626 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34627 type.
34628 [C99-based standards] (HUGE_VALL): Likewise.
34629 [C99-based standards] (INFINITY): Likewise.
34630 [C99-based standards] (NAN): Likewise.
34631 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34632 [C99-based standards] (FP_NAN): Likewise.
34633 [C99-based standards] (FP_NORMAL): Likewise.
34634 [C99-based standards] (FP_SUBNORMAL): Likewise.
34635 [C99-based standards] (FP_ZERO): Likewise.
34636 [C99-based standards] (FP_FAST_FMA): Use
34637 optional-macro-int-constant. Specify type. Require == 1.
34638 [C99-based standards] (FP_FAST_FMAF): Likewise.
34639 [C99-based standards] (FP_FAST_FMAL): Likewise.
34640 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34641 [C99-based standards] (FP_ILOGBNAN): Likewise.
34642 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34643 Specify type.
34644 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34645 [C99-based standards] (math_errhandling): Specify type.
34646 [ISO99 || ISO11] (signgam): Do not allow.
34647 [non-C99-based standards] (copysignf): Do not allow.
34648 [non-C99-based standards] (exp2f): Likewise.
34649 [non-C99-based standards] (log2f): Likewise.
34650 [non-C99-based standards] (modff): Allow.
34651 [non-C99-based standards] (erff): Do not allow.
34652 [non-C99-based standards] (erfcf): Likewise.
34653 [non-C99-based standards] (gammaf): Likewise.
34654 [non-C99-based standards] (hypotf): Likewise.
34655 [non-C99-based standards] (j0f): Likewise.
34656 [non-C99-based standards] (j1f): Likewise.
34657 [non-C99-based standards] (jnf): Likewise.
34658 [non-C99-based standards] (lgammaf): Likewise.
34659 [non-C99-based standards] (tgammaf): Likewise.
34660 [non-C99-based standards] (y0f): Likewise.
34661 [non-C99-based standards] (y1f): Likewise.
34662 [non-C99-based standards] (ynf): Likewise.
34663 [non-C99-based standards] (isnanf): Likewise.
34664 [non-C99-based standards] (acoshf): Likewise.
34665 [non-C99-based standards] (asinhf): Likewise.
34666 [non-C99-based standards] (atanhf): Likewise.
34667 [non-C99-based standards] (cbrtf): Likewise.
34668 [non-C99-based standards] (expm1f): Likewise.
34669 [non-C99-based standards] (ilogbf): Likewise.
34670 [non-C99-based standards] (log1pf): Likewise.
34671 [non-C99-based standards] (logbf): Likewise.
34672 [non-C99-based standards] (nextafterf): Likewise.
34673 [non-C99-based standards] (remainderf): Likewise.
34674 [non-C99-based standards] (rintf): Likewise.
34675 [non-C99-based standards] (scalbf): Likewise.
34676 [non-C99-based standards] (copysignl): Likewise.
34677 [non-C99-based standards] (exp2l): Likewise.
34678 [non-C99-based standards] (log2l): Likewise.
34679 [non-C99-based standards] (modfl): Allow.
34680 [non-C99-based standards] (erfl): Do not allow.
34681 [non-C99-based standards] (erfcl): Likewise.
34682 [non-C99-based standards] (gammal): Likewise.
34683 [non-C99-based standards] (hypotl): Likewise.
34684 [non-C99-based standards] (j0l): Likewise.
34685 [non-C99-based standards] (j1l): Likewise.
34686 [non-C99-based standards] (jnl): Likewise.
34687 [non-C99-based standards] (lgammal): Likewise.
34688 [non-C99-based standards] (tgammal): Likewise.
34689 [non-C99-based standards] (y0l): Likewise.
34690 [non-C99-based standards] (y1l): Likewise.
34691 [non-C99-based standards] (ynl): Likewise.
34692 [non-C99-based standards] (isnanl): Likewise.
34693 [non-C99-based standards] (acoshl): Likewise.
34694 [non-C99-based standards] (asinhl): Likewise.
34695 [non-C99-based standards] (atanhl): Likewise.
34696 [non-C99-based standards] (cbrtl): Likewise.
34697 [non-C99-based standards] (expm1l): Likewise.
34698 [non-C99-based standards] (ilogbl): Likewise.
34699 [non-C99-based standards] (log1pl): Likewise.
34700 [non-C99-based standards] (logbl): Likewise.
34701 [non-C99-based standards] (nextafterl): Likewise.
34702 [non-C99-based standards] (remainderl): Likewise.
34703 [non-C99-based standards] (rintl): Likewise.
34704 [non-C99-based standards] (scalbl): Likewise.
34705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34706 [non-C99-based standards] (FP_*): Do not allow.
34707 [C99-based standards] (FP_*): Change to
34708 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34709 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34710 allow.
34711 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34712 (SIG_ERR): Likewise.
34713 [X/Open-based standards] (SIG_HOLD): Likewise.
34714 (SIG_IGN): Likewise.
34715 (SIGABRT): Use macro-int-constant. Specify type. Require
34716 positive value.
34717 (SIGFPE): Likewise.
34718 (SIGILL): Likewise.
34719 (SIGINT): Likewise.
34720 (SIGSEGV): Likewise.
34721 (SIGTER): Likewise.
34722 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34723 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34724 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34725 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34726 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34727 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34728 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34729 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34730 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34731 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34732 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34733 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34734 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34735 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34736 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34737 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34738 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34739 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34740 [X/Open-based standards] (SIGTRAP): Likewise.
34741 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34742 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34743 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34744 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34745 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34746 allow.
34747
b9f1922d
IW
347482012-05-08 Ian Wienand <ianw@vmware.com>
34749
34750 [BZ #14080]
34751 * time/tzset.c (__tzset_parse_tz): Update default rules for
34752 daylight time changes in the Energy Policy Act of 2005.
34753
1db86e88
AJ
347542012-05-09 Andreas Jaeger <aj@suse.de>
34755
34756 [BZ #13983]
34757 * elf/ldconfig.c (parse_conf): Change string to make clear that
34758 ldconfig only issued a warning if ld.so.conf does not exist.
34759
dee4a4e3
DM
347602012-05-08 David S. Miller <davem@davemloft.net>
34761
ee0db190
DM
34762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34763 movxtod instead of popping the value on the stack.
34764
dee4a4e3
DM
34765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34766
6a43ec98
CD
347672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34768
34769 * config.h.in: Add HAVE_ARM_PCS_VFP.
34770
05c2c961
RMG
347712012-05-08 Roland Mc Grath <roland@hack.frob.com>
34772
bcfe3a54
ST
34773 [BZ #13979]
34774 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34775 checking but the checks are disabled for any reason.
05c2c961 34776
4b30f61a
L
347772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34778
34779 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34780 and ELF64_R_TYPE with ELFW(R_TYPE).
34781
eee2bc67
JM
347822012-05-08 Joseph Myers <joseph@codesourcery.com>
34783
7ea5391a
JM
34784 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34785 (ulimit): Likewise.
34786
eee2bc67
JM
34787 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34788 (settimeofday): Likewise.
34789
abb66a67
MF
347902012-05-08 Mike Frysinger <vapier@gentoo.org>
34791
34792 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34793 a struct th_u2 inside the union, and move tu_block/tu_code into
34794 a new th_u3 union of tu_block/tu_code inside of that. Move
34795 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34796 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34797 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34798 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34799 (th_stuff): Change to th_u1.tu_stuff.
34800 (th_data): Define.
34801 (th_msg): Change to th_u1.th_u2.tu_data.
34802
7f18b530
DM
348032012-05-07 David S. Miller <davem@davemloft.net>
34804
05760585
DM
34805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34806
7f18b530
DM
34807 [BZ #14074]
34808 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34809 (SETUP_PIC_REG): Use it.
34810 (SETUP_PIC_REG_LEAF): Use it.
34811
495fd99f
JM
348122012-05-07 Joseph Myers <joseph@codesourcery.com>
34813
34814 [BZ #13885]
34815 [BZ #13923]
34816 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34817 USE_AS_EXPM1L.
34818 (EXPL_FINITE): Likewise.
34819 (FLDLOG): Likewise.
34820 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34821 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34822 e_expl.S.
34823 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34824 USE_AS_EXPM1L.
34825 (EXPL_FINITE): Likewise.
34826 (FLDLOG): Likewise.
34827 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34828 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34829 e_expl.S.
34830 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34831 test of -max_value argument for long double.
34832 * sysdeps/i386/fpu/libm-test-ulps: Update.
34833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34834
6693d694
DM
348352012-05-06 David S. Miller <davem@davemloft.net>
34836
34837 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34838 quad soft-float symbols whose references which are compiler
34839 generated.
34840 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34841
6c23e11c
JM
348422012-05-06 Joseph Myers <joseph@codesourcery.com>
34843
d8b82cad
JM
34844 [BZ #13884]
34845 [BZ #13914]
34846 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34847 USE_AS_EXP10L.
34848 (EXPL_FINITE): Likewise.
34849 (FLDLOG): Likewise.
34850 (c0): Likewise.
34851 (c1): Likewise.
34852 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34853 Adjust comments for base varying.
34854 (__expl_finite): Change alias to EXPL_FINITE.
34855 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34856 e_expl.S.
34857 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34858 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34859 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34860 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34861 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34862 USE_AS_EXP10L.
34863 (EXPL_FINITE): Likewise.
34864 (FLDLOG): Likewise.
34865 (c0): Likewise.
34866 (c1): Likewise.
34867 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34868 Adjust comments for base varying.
34869 (__expl_finite): Change alias to EXPL_FINITE.
34870 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34871 tests for bugs.
34872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34873
6c23e11c
JM
34874 [BZ #14064]
34875 * math/libm-test.inc (check_float_internal): Correct ulp
34876 calculation for subnormal expected results.
34877
29ba805c
AJ
348782012-05-06 Andreas Jaeger <aj@suse.de>
34879
34880 * Makeconfig (+math-flags): New, set to -frounding-math.
34881 (+cflags): Add +math-flags so that all of glibc gets compiled with
34882 it.
34883
34884 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34885
7b17aeda
JM
348862012-05-05 Joseph Myers <joseph@codesourcery.com>
34887
5779f134
JM
34888 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34889 Disable one test.
34890
41498f4d
JM
34891 [BZ #13787]
34892 [BZ #13922]
34893 [BZ #14036]
34894 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34895 (__ieee754_expl): Allow for and saturate large arguments.
34896 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34897 (u_threshold): Likewise.
34898 (__exp): Call __ieee754_exp before checking for overflow and
34899 underflow.
34900 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34901 (u_threshold): Likewise.
34902 (__expf): Call __ieee754_expf before checking for overflow and
34903 underflow.
34904 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34905 (u_threshold): Likewise.
34906 (__expl): Call __ieee754_expl before checking for overflow and
34907 underflow.
34908 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34909 (__ieee754_expl): Allow for and saturate large arguments.
34910 * math/libm-test.inc (exp_test): Add another test. Do not allow
34911 missing overflow exception on overflow.
34912 (expm1_test): Do not allow missing overflow exception on overflow.
34913
6698b8bf
JM
34914 * sysdeps/i386/fpu/e_expl.c: Move to ...
34915 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34916 rather than using inline asm.
34917 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34918 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34919 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34920
7b17aeda
JM
34921 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34922 (nice): Likewise.
34923 (poll): Likewise.
34924 (signal): Likewise.
34925 (time): Likewise.
34926 (times): Likewise.
34927
f7c85819
JM
349282012-05-04 Joseph Myers <joseph@codesourcery.com>
34929
34930 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34931 sysdeps/unix/common/syscalls.list.
34932 (fchmod): Likewise.
34933 (fchown): Likewise.
34934 (ftruncate): Likewise.
34935 (getrusage): Likewise.
34936 (gettimeofday): Likewise.
34937 (setpgid): Likewise.
34938 (setregid): Likewise.
34939 (setreuid): Likewise.
34940 (sigaction): Likewise.
34941 (truncate): Likewise.
34942 (vhangup): Likewise.
34943 * sysdeps/unix/common/syscalls.list: Remove file.
34944 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34945 * sysdeps/unix/sysv/linux/Implies: Likewise.
34946
336270d0
L
349472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34948
34949 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34951 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34952 Moved to ...
34953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34954 Here.
34955 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34956 to ...
34957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34958 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34959 to ...
34960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34961 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34962 to ...
34963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34964 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34965 to ...
34966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34967 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34968 to ...
34969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34970 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34971 to ...
34972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34973 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34974 to ...
34975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34976 Here.
34977 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34978 to ...
34979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34980 Here.
34981 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34982 to ...
34983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34984 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34985 Moved to ...
34986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34987 Here.
34988 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34989 to ...
34990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34991
d128e450
JM
349922012-05-04 Joseph Myers <joseph@codesourcery.com>
34993
fa8ee516
JM
34994 * sysdeps/unix/common/bits/dirent.h: Remove file.
34995 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34996
d128e450
JM
34997 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34998 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34999 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35000 * sysdeps/unix/bsd/isatty.c: Likewise.
35001 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35002 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35003 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35004
ff8faaf0 350052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35006
62881be4 35007 [BZ #13563]
31dc8730
AZ
35008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35009 long double comparison inaccuracies.
35010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35012
6fef930c
AS
350132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35014
35015 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35016 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35017
8f203e6c
JM
350182012-05-04 Joseph Myers <joseph@codesourcery.com>
35019
35020 [BZ #14049]
35021 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35022 nonzero digits before rounding a hex value.
35023 * stdlib/tst-strtod.c (tests): Add another test.
35024
5197d9c2
AK
350252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35026
35027 * sysdeps/s390/fpu/libm-test-ulps: Update.
35028
f0c1dedf
AJ
350292012-05-03 Andreas Jaeger <aj@suse.de>
35030
35031 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35032 does not get optimized out.
35033 (malloc_opt_barrier): New.
35034
a65ef2ae 350352012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35036 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35037
2b942cb7 35038 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35039 intermediate file deletion.
2b942cb7 35040 (generated): Add .symlist files.
a65ef2ae 35041
54b71e02
JM
350422012-05-03 Joseph Myers <joseph@codesourcery.com>
35043
35044 [BZ #13775]
35045 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35046 Redirect under this condition.
35047 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35048 [__USE_GNU] (__dprintf_chk): Not under this condition.
35049 [__USE_GNU] (__vdprintf_chk): Likewise.
35050 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35051 under this condition.
35052 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35053 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35054 [__USE_XOPEN2K8] (vdprintf): Likewise.
35055 [__USE_GNU] (__dprintf_chk): Not under this condition.
35056 [__USE_GNU] (__vdprintf_chk): Likewise.
35057 [__USE_GNU] (dprintf): Likewise.
35058 [__USE_GNU] (vdprintf): Likewise.
35059
d3dfcc41
RM
350602012-05-03 Roland McGrath <roland@hack.frob.com>
35061
35062 * elf/Makefile (common-generated): Set this instead of generated for
35063 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35064 $(all-built-dso)-derived lists.
35065
7ac30cc5
AJ
350662012-05-03 Andreas Jaeger <aj@suse.de>
35067
0c51e550
AJ
35068 * sysdeps/i386/fpu/libm-test-ulps: Update.
35069
7ac30cc5
AJ
35070 * FAQ: Removed.
35071 * FAQ.in: Likewise.
35072 * scripts/gen-FAQ.pl: Likewise.
35073 * manual/install.texi (Installation): Point to online location of
35074 FAQ.
35075 * Makefile (files-for-dist): Remove FAQ.
35076 (FAQ): Remove.
35077
d4c2917f
AM
350782012-05-02 Allan McRae <allan@archlinux.org>
35079
35080 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35081 (LDFLAGS-reldepmod5.so): Likewise.
35082 (LDFLAGS-reldep6mod1.so): Likewise.
35083 (LDFLAGS-reldep6mod4.so): Likewise.
35084 (LDFLAGS-reldep8mod3.so): Likewise.
35085 (LDFLAGS-unload4mod1.so): Likewise.
35086 (LDFLAGS-unload4mod2.so): Likewise.
35087 (LDFLAGS-tst-initorder): Likewise.
35088 (LDFLAGS-tst-initordera2.so): Likewise.
35089 (LDFLAGS-tst-initordera3.so): Likewise.
35090 (LDFLAGS-tst-initordera4.so): Likewise.
35091 (LDFLAGS-tst-initorderb2.so): Likewise.
35092 (LDFLAGS-noload): Likewise.
35093 (LDFLAGS-next): Likewise.
35094 (LDFLAGS-order2mod1.so): Likewise.
35095 (LDFLAGS-order2mod2.so): Likewise.
35096 (LDFLAGS-tst-initorder2): Likewise.
35097 (LDFLAGS-tst-initorder2a.so): Likewise.
35098 (LDFLAGS-tst-initorder2b.so): Likewise.
35099 (LDFLAGS-tst-initorder2c.so): Likewise.
35100 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35101
d77f993f
DM
351022012-05-02 David S. Miller <davem@davemloft.net>
35103
35104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35105
171a70b4
PP
351062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35107
35108 [BZ #14055]
35109 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35110
0be196ad
AJ
351112012-05-02 Andreas Jaeger <aj@suse.de>
35112
35113 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35114 since we manipulate rounding mode.
35115 (CPPFLAGS-test-idouble.c): Likewise.
35116 (CPPFLAGS-test-ifloat.c): Likewise.
35117 (CFLAGS-test-ldouble.c): Likewise.
35118 (CFLAGS-test-double.c): Likewise.
35119 (CFLAGS-test-float.c): Likewise.
35120 (CFLAGS-test-misc.c): Likewise.
35121 (CFLAGS-test-test-fenv.c): Likewise.
35122
4f9d04aa
AZ
351232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35124
2b942cb7
RM
35125 [BZ #2550]
35126 [BZ #2570]
35127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35128 comparisons to determine direction to adjust input.
4f9d04aa 35129
82a79e7d
RM
351302012-05-01 Roland McGrath <roland@hack.frob.com>
35131
f5a01ca9
RM
35132 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35133 output to the target.
35134
90fe4186
RM
35135 * scripts/localplt.awk: New file.
35136 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35137 (check-localplt-CFLAGS): Variable removed.
35138 ($(all-built-dso:=.jmprel)): New static pattern rule.
35139 (generated): Add those targets.
35140 (localplt-built-dso): New variable.
35141 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35142
35143 * elf/check-localplt.c: File removed.
35144
82397ed6
RM
35145 * scripts/check-execstack.awk: New file.
35146 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35147 (check-execstack-CFLAGS): Variable removed.
35148 ($(objpfx)check-execstack.h): Target removed.
35149 ($(objpfx)execstack-default): New target.
35150 (generated): Add that instead of check-execstack.h.
35151 ($(all-built-dso:=.phdr)): New static pattern rule.
35152 (generated): Add those targets.
35153 * elf/check-execstack.c: File removed.
35154
82a79e7d
RM
35155 * scripts/check-textrel.awk: New file.
35156 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35157 (check-textrel-CFLAGS): Variable removed.
35158 (all-built-dso): Use := to define.o
35159 ($(all-built-dso:=.dyn)): New static pattern rule.
35160 (generated): Add those targets.
35161 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35162 * config.make.in (READELF): New substituted variable.
35163 * elf/check-textrel.c: File removed.
35164
62fde54f 351652012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35166
615605c9
JM
35167 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35168 allow.
35169 * conform/data/ctype.h-data [C99-based standards] (isblank):
35170 Expect function.
35171 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35172 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35174 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35175 Specify type. Require positive value.
35176 (EILSEQ): Likewise.
35177 (ERANGE): Likewise.
35178 [ISO || POSIX] (EILSEQ): Do not expect.
35179 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35180 Specify type. Require positive value.
35181 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35182 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35183 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35184 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35185 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35186 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35187 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35188 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35189 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35190 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35191 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35192 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35193 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35194 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35195 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35196 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35197 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35198 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35199 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35200 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35201 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35202 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35203 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35204 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35206 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35209 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35210 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35211 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35212 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35213 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35214 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35215 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35216 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35217 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35218 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35223 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35224 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35225 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35226 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35229 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35230 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35231 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35232 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35233 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35236 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35237 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35238 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35239 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35240 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35242 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35243 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35244 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35245 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35246 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35247 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35248 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35251 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35252 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35253 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35254 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35255 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35256 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35257 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35258 Require >= 2.
35259 (FLT_ROUNDS): Expect as macro, not constant.
35260 (FLT_MANT_DIG): Use macro-int-constant.
35261 (DBL_MANT_DIG): Likewise.
35262 (LDBL_MANT_DIG): Likewise.
35263 (FLT_DIG): Likewise.
35264 (DBL_DIG): Likewise.
35265 (LDBL_DIG): Likewise.
35266 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35267 (DBL_MIN_EXP): Likewise.
35268 (LDBL_MIN_EXP): Likewise.
35269 (FLT_MAX_EXP): Use macro-int-constant.
35270 (DBL_MAX_EXP): Likewise.
35271 (LDBL_MAX_EXP): Likewise.
35272 (FLT_MAX_10_EXP): Likewise.
35273 (DBL_MAX_10_EXP): Likewise.
35274 (LDBL_MAX_10_EXP): Likewise.
35275 (FLT_MAX): Use macro-constant.
35276 (DBL_MAX): Likewise.
35277 (LDBL_MAX): Likewise.
35278 (FLT_EPSILON): Use macro-constant. Give upper bound.
35279 (DBL_EPSILON): Likewise.
35280 (LDBL_EPSILON): Likewise.
35281 (FLT_MIN): Likewise.
35282 (DBL_MIN): Likewise.
35283 (LDBL_MIN): Likewise.
35284 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35285 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35286 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35287 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35288 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35289 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35290 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35291 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35292 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35293 [ISO11] (FLT_TRUE_MIN): Likewise.
35294 [ISO11] (LDBL_TRUE_MIN): Likewise.
35295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35296 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35297 (SCHAR_MIN): Use macro-int-constant. Specify type.
35298 (SCHAR_MAX): Likewise.
35299 (UCHAR_MAX): Likewise.
35300 (CHAR_MIN): Likewise.
35301 (CHAR_MAX): Likewise.
35302 (MB_LEN_MAX): Use macro-int-constant.
35303 (SHRT_MIN): Use macro-int-constant. Specify type.
35304 (SHRT_MAX): Likewise.
35305 (USHRT_MAX): Likewise.
35306 (INT_MAX): Likewise.
35307 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35308 bound negative.
35309 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35310 bound with "U".
35311 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35312 bound with "L".
35313 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35314 bound negative. Suffix upper bound with "L".
35315 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35316 bound with "UL".
35317 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35318 Specify type.
35319 [C99-based standards] (LLONG_MAX): Likewise.
35320 [C99-based standards] (ULLONG_MAX): Likewise.
35321 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35322 == 0.
35323 [ISO11] (max_align_t): Require type.
35324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35325
c9140a62
JM
35326 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35327 from $CFLAGS, without defining away __attribute__ calls.
35328 (checknamespace): Use $CFLAGS_namespace.
35329
9af0bf29
JM
35330 * conform/conformtest.pl (@keywords): Only include C99 keywords
35331 for standards based on C99 or C11.
35332
343222a2
JM
35333 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35334 Disable tests.
35335 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35336 UNIX98]: Likewise.
35337
661f8cf0
JM
35338 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35339 usability of symbols in #if.
35340
ee74b9cb
JM
35341 * conform/conformtest.pl: If macro or constant types start
35342 "promoted:", expect the symbol to be of the following type
35343 promoted by the integer promotions.
62fde54f 35344
aafc49b3
JM
35345 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35346 in one place. Also handle "macro-constant".
35347
fefdf574
JM
35348 * conform/conformtest.pl: Only accept expected macro values with
35349 "==". Parse all "macro" lines in one place.
35350 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35351
f2d922fe
JM
35352 * conform/conformtest.pl: Handle braced types on "constant" lines
35353 instead of handling "typed-constant".
35354 * conform/data/signal.h-data: Use "constant" instead of
35355 "typed-constant".
35356
d22956c9
JM
35357 * conform/conformtest.pl: Handle "optional-" at start of lines in
35358 one place rather than duplicating several cases. Handle each
35359 format of "macro" line with initial "optional-".
35360
028e2e38
JM
35361 * conform/conformtest.pl: Only accept expected constant or
35362 optional-constant values with "==". Parse all "constant" lines in
35363 one place. Parse all "optional-constant" lines in one place.
35364 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35365 * conform/data/fmtmsg.h-data: Likewise.
35366 * conform/data/netinet/in.h-data: Likewise.
35367 * conform/data/tar.h-data: Likewise.
35368 * conform/data/limits.h-data: Use "==" form on "constant" and
35369 "optional-constant" lines.
35370
1b8f2850
JM
35371 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35372 Use -std=c99 for XOPEN2K.
35373 (@knownproblems): Remove.
35374 (newtoken): Don't check %isknown.
35375
a05a144b
JM
35376 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35377 Do not expect macro.
35378 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35379 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35380 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35381 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35382 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35383 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35384 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35385 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35386 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35387 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35388 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35389 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35390 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35391 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35392 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35393 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35394 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35395 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35396 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35397 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35398 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35399 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35400 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35401 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35402 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35403 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35404 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35405 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35406 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35407 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35408 [XPG3] (acosh): Likewise.
35409 [XPG3] (asinh): Likewise.
35410 [XPG3] (atanh): Likewise.
35411 [XPG3] (cbrt): Likewise.
35412 [XPG3] (expm1): Likewise.
35413 [XPG3] (ilogb): Likewise.
35414 [XPG3] (log1p): Likewise.
35415 [XPG3] (logb): Likewise.
35416 [XPG3] (nextafter): Likewise.
35417 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35418 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35419 [XPG3] (remainder): Likewise.
35420 [XPG3] (rint): Likewise.
35421 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35422 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35423 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35424 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35425 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35426 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35427 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35428 [UNIX98 || XOPEN2K] (scalb): Expect.
35429 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35430 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35431 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35432 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35433 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35434 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35435 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35436 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35437 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35438 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35439 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35440 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35441 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35442 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35443 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35444 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35445 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35446 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35447 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35448 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35449 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35450 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35451 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35452 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35453 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35454 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35455 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35456 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35457 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35459 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35460 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35461 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35487 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35488 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35489 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35490 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35491 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35492 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35493 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35494 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35495 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35496 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35497 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35498 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35499 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35500 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35501 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35504 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35505 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35507 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35508 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35509 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35510 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35511 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35512 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35513 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35514 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35515 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35516 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35517 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35518 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35519 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35520 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35521 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35522 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35523 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35524 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35525 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35526 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35527 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35528 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35529 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35530 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35531 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35532 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35533 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35534 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35535 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35536 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35537 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35538 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35539 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35540 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35541 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35542 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35543 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35544 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35545 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35546 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35547 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35548 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35549 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35550 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35551 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35552 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35553 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35554 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35555 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35556 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35557 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35558 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35559 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35560 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35561 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35562 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35563 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35564 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35565 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35566
73c5ebe3
JM
35567 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35568 _XOPEN_SOURCE_EXTENDED for XPG4.
35569
39c33b6c
JM
35570 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35571
62fde54f
JM
35572 * Makeconfig (localtime): Remove variable.
35573 (inst_localtime-file): Likewise.
35574
0741d64c
AS
355752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35576
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35578 Update.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35580 Update.
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35582 Update.
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35584 Update.
35585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35586 Update.
35587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35588 Update.
35589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35590 Update.
35591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35592 Update.
35593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35594 Update.
35595
7cb029ee
JM
355962012-05-01 Joseph Myers <joseph@codesourcery.com>
35597
35598 [BZ #2550]
35599 [BZ #2570]
35600 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35601 comparisons to determine direction to adjust input.
35602 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35603 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35604 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35605 Likewise.
35606 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35607 Likewise.
35608 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35609 Likewise.
35610 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35611 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35612 Likewise.
35613 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35614 Likewise.
35615 * math/libm-test.inc (nexttoward_test): Add more tests.
35616
412bd966
AS
356172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35618
35619 [BZ #14040]
35620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35621 in version GLIBC_2.1, not GLIBC_2.0.
35622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35623 Likewise.
35624
9568c0c2
JM
356252012-04-30 Joseph Myers <joseph@codesourcery.com>
35626
adfbc8ac
JM
35627 [BZ #13942]
35628 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35629 (1 - x) * (1 + x).
35630 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35631 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35632 * math/libm-test.inc (acos_test): Add more tests.
35633 (asin_test): Likewise.
35634 * sysdeps/i386/fpu/libm-test-ulps: Update.
35635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35636
5ba3cc69
JM
35637 [BZ #14034]
35638 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35639 of square root.
35640 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35641 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35642 * math/libm-test.inc (acos_test_tonearest): New function.
35643 (acos_test_towardzero): Likewise.
35644 (acos_test_downward): Likewise.
35645 (acos_test_upward): Likewise.
35646 (asin_test_tonearest): Likewise.
35647 (asin_test_towardzero): Likewise.
35648 (asin_test_downward): Likewise.
35649 (asin_test_upward): Likewise.
35650 (main): Call the new functions.
35651 * sysdeps/i386/fpu/libm-test-ulps: Update.
35652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35653
9568c0c2
JM
35654 [BZ #13884]
35655 [BZ #13924]
35656 * math/e_exp10.c: Include <float.h>.
35657 (__ieee754_exp10): Handle underflow here rather than multiplying
35658 large negative argument by M_LN10.
35659 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35660 of __ieee754_expf.
35661 * math/e_exp10l.c: Include <float.h>.
35662 (__ieee754_exp10l): Handle underflow here rather than multiplying
35663 large negative argument by M_LN10l.
35664 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35665 spurious overflow exception on underflow.
35666
5ac3ea17
MP
356672012-04-29 Marek Polacek <polacek@redhat.com>
35668
35669 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35670 (__fortify_function): New macro.
35671 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35672 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35673 __extern_always_inline.
35674 * libio/bits/stdio2.h: Likewise.
35675 * libio/bits/stdio.h: Likewise.
35676 * string/string.h: Likewise.
35677 * string/bits/string3.h: Likewise.
35678 * include/stdio.h: Likewise.
35679 * stdlib/bits/stdlib.h: Likewise.
35680 * stdlib/stdlib.h: Likewise.
35681 * rt/bits/mqueue2.h: Likewise.
35682 * rt/mqueue.h: Likewise.
35683 * posix/bits/unistd.h: Likewise.
35684 * posix/unistd.h: Likewise.
35685 * io/bits/poll2.h: Likewise.
35686 * io/bits/fcntl2.h: Likewise.
35687 * io/fcntl.h: Likewise.
35688 * io/sys/poll.h: Likewise.
35689 * misc/bits/syslog.h: Likewise.
35690 * misc/bits/syslog-ldbl.h: Likewise.
35691 * misc/sys/syslog.h: Likewise.
35692 * socket/bits/socket2.h: Likewise.
35693 * socket/sys/socket.h: Likewise.
35694 * debug/tst-chk1.c: Likewise.
35695 * wcsmbs/bits/wchar2.h: Likewise.
35696 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35697 * wcsmbs/wchar.h: Likewise.
35698
ecf0ebfb
AJ
356992012-04-29 Andreas Jaeger <aj@suse.de>
35700
35701 * Makerules (tests): Remove enable-check-abi protection.
35702 (check-abi-warn): Remove.
35703 (check-abi-%): Remove check-abi-warn usage.
35704
35705 * configure.in: Remove check-abi configure option.
35706 * configure: Regenerated.
35707 * config.make.in (enable-check-abi): Remove.
35708
6d5c57fa
AS
357092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35710
24c5d07e 35711 [BZ #14033]
ded5180a
AS
35712 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35713 double functions to double *_finite functions.
35714
7e0d315d
AS
35715 [BZ #13941]
35716 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35717 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35718 LDBL_MIN_EXP.
35719 * stdio-common/Makefile (tests): Add tst-sprintf3.
35720 * stdio-common/tst-sprintf3.c: New file.
35721
6d5c57fa
AS
35722 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35723 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35724
0749ff8b
JM
357252012-04-28 Joseph Myers <joseph@codesourcery.com>
35726
35727 * conform/conformtest.pl: Remove duplicate typed-constant
35728 handling.
35729
8dbd5d7b
DM
357302012-04-28 David S. Miller <davem@davemloft.net>
35731
35732 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35733 (check-abi-%): Remove AWK script prerequisite and explicit
35734 abilist directory.
35735 (check-abi): Rewrite to just diff the symlist with the abilist.
35736 (config-tls, config-abi-config): Delete, no longer used.
35737 (update-abi-%): Remove AWK script and explicit abilist directory.
35738 (update-abi): Rewrite to simply compare and conditionally copy the
35739 symlist and the sysdep abilist file. Remove update-abi-config
35740 checks.
35741 * abilist/ld.abilist: Remove.
35742 * abilist/libBrokenLocale.abilist: Remove.
35743 * abilist/libanl.abilist: Remove.
35744 * abilist/libcrypt.abilist: Remove.
35745 * abilist/libdl.abilist: Remove.
35746 * abilist/librt.abilist: Remove.
35747 * abilist/libthread_db.abilist: Remove.
35748 * abilist/libutil.abilist: Remove.
35749 * scripts/extract-abilist.awk: Remove.
35750 * scripts/merge-abilist.awk: Remove.
35751 * sysdeps/generic/libcidn.abilist: New file.
35752 * sysdeps/generic/libnss_compat.abilist: New file.
35753 * sysdeps/generic/libnss_db.abilist: New file.
35754 * sysdeps/generic/libnss_dns.abilist: New file.
35755 * sysdeps/generic/libnss_files.abilist: New file.
35756 * sysdeps/generic/libnss_hesiod.abilist: New file.
35757 * sysdeps/generic/libnss_nis.abilist: New file.
35758 * sysdeps/generic/libnss_nisplus.abilist: New file.
35759 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35760 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35761 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35762 file.
35763 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35764 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35765 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35766 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35767 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35768 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35769 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35770 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35771 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35772 file.
35773 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35774 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35775 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35776 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35777 file.
35778 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35779 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35780 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35781 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35782 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35783 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35784 file.
35785 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35787 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35788 file.
35789 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35791 New file.
35792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35793 New file.
35794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35795 New file.
35796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35797 New file.
35798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35799 New file.
35800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35801 New file.
35802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35803 New file.
35804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35805 New file.
35806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35807 New file.
35808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35809 New file.
35810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35811 New file.
35812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35813 New file.
35814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35815 New file.
35816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35817 file.
35818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35819 New file.
35820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35821 New file.
35822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35823 file.
35824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35825 New file.
35826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35827 New file.
35828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35829 file.
35830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35831 New file.
35832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35833 New file.
35834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35835 New file.
35836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35837 New file.
35838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35839 New file.
35840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35841 New file.
35842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35844 file.
35845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35846 New file.
35847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35848 file.
35849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35850 file.
35851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35852 file.
35853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35854 file.
35855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35856 file.
35857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35858 New file.
35859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35860 file.
35861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35862 file.
35863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35864 New file.
35865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35866 file.
35867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35869 file.
35870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35871 New file.
35872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35873 file.
35874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35875 file.
35876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35877 file.
35878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35879 file.
35880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35881 file.
35882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35883 New file.
35884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35885 file.
35886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35887 file.
35888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35889 New file.
35890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35891 file.
35892 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35893 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35894 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35895 file.
35896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35897 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35898 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35899 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35900 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35901 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35902 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35903 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35904 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35905 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35908 file.
35909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35910 New file.
35911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35912 file.
35913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35914 file.
35915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35916 file.
35917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35918 file.
35919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35920 file.
35921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35922 New file.
35923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35924 New file.
35925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35926 file.
35927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35928 New file.
35929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35930 file.
35931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35933 file.
35934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35935 New file.
35936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35937 file.
35938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35939 file.
35940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35941 file.
35942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35943 file.
35944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35945 file.
35946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35947 New file.
35948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35949 New file.
35950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35951 file.
35952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35953 New file.
35954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35955 file.
35956
41d73a1b
JM
359572012-04-28 Joseph Myers <joseph@codesourcery.com>
35958
35959 * conform/conformtest.pl: Fix typo in handling typed-constant from
35960 allow-header.
35961
28aeeda4
JM
359622012-04-27 Joseph Myers <joseph@codesourcery.com>
35963
adae8f5e
JM
35964 * README: Cut down references to pre-2.6 Linux kernels and
35965 Linuxthreads. Update lists of configurations in libc and ports
35966 and sort alphabetically. Say "or newer" with Linux kernel version
35967 requirements.
35968
28aeeda4
JM
35969 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35970
a462cb63
RA
359712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35972
35973 [BZ #887]
35974 * math/libm-test.inc (logb_test_downward): New test to expose
35975 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35976 rounding mode.
35977
6ad3493e
JM
359782012-04-27 Joseph Myers <joseph@codesourcery.com>
35979
35980 [BZ #14027]
35981 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35982 to be done.
35983 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35984 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35985
2ce4f015
JM
359862012-04-26 Joseph Myers <joseph@codesourcery.com>
35987
5aeb141a
JM
35988 * sysdeps/unix/i386/brk.S: Remove file.
35989 * sysdeps/unix/i386/dl-brk.S: Likewise.
35990 * sysdeps/unix/i386/pipe.S: Likewise.
35991 * sysdeps/unix/i386/sigreturn.S: Likewise.
35992 * sysdeps/unix/i386/syscall.S: Likewise.
35993 * sysdeps/unix/i386/vfork.S: Likewise.
35994 * sysdeps/unix/i386/wait.S: Likewise.
35995
7143acae
JM
35996 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35997 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35998
2ce4f015
JM
35999 * configure.in (arm*-none*): Do not allow without
36000 --enable-hacker-mode.
36001 (netbsd*): Remove case setting base_os.
36002 (386bsd*): Likewise.
36003 (freebsd*): Likewise.
36004 (bsdi*): Likewise.
36005 (osf*): Likewise.
36006 (sunos*): Likewise.
36007 (ultrix*): Likewise.
36008 (newsos*): Likewise.
36009 (dynix*): Likewise.
36010 (*bsd*): Likewise.
36011 (sysv*): Likewise.
36012 (isc*): Likewise.
36013 (esix*): Likewise.
36014 (sco*): Likewise.
36015 (minix*): Likewise.
36016 (irix4*): Likewise.
36017 (irix6*): Likewise.
36018 (solaris[2-9]*): Likewise.
36019 (none): Likewise.
36020 * configure: Regenerated.
36021
0ac229c8
AZ
360222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36023
36024 [BZ #11521]
36025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36026 overflow or cancellation in calculating denominator.
36027 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36029 down expression to avoid unexpected rounding in newer GCCs.
36030 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36031
33f244f4
DM
360322012-04-26 David S. Miller <davem@davemloft.net>
36033
36034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36035 long-double compat symbols.
36036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36049
cfa1f3e8
DM
360502012-04-25 David S. Miller <davem@davemloft.net>
36051
36052 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36053 HWCAP_* values only after the memory barriers have been defined.
36054 (atomic_full_barrier): Define.
36055 (atomic_read_barrier): Define.
36056 (atomic_write_barrier): Define.
36057
6e236b92
SP
360582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36059
36060 * shlib-versions: Add libgcc_s version information.
36061 * sysdeps/generic/libgcc_s.h: Remove.
36062 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36063 libgcc_s.h.
36064 * sysdeps/gnu/unwind-resume.c: Likewise.
36065 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36066
aab39a09
DM
360672012-04-25 David S. Miller <davem@davemloft.net>
36068
36069 * sysdeps/unix/sparc/brk.S: Delete.
36070 * sysdeps/unix/sparc/dl-brk.S: Delete.
36071 * sysdeps/unix/sparc/pipe.S: Delete.
36072 * sysdeps/unix/sparc/sysdep.S: Delete.
36073 * sysdeps/unix/sparc/sysdep.h: Delete.
36074 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36075 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36076 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36078 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36079 (JUMPTARGET): Remove.
36080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36081 sysdeps/unix/sparc/sysdep.h
36082 (ENTRY, END): Remove.
36083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36084
a3cc4f48
JM
360852012-04-25 Joseph Myers <joseph@codesourcery.com>
36086
2ed8cda2
JM
36087 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36088 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36089 -DIS_IN_build.
36090
35d76d59
JM
36091 * timezone/README: Update upstream location and email address for
36092 tzcode and tzdata.
36093 * timezone/zdump.c: Update from tzcode 2012b.
36094 * timezone/zic.c: Likewise.
36095
a3cc4f48
JM
36096 * configure.in (libc_cv_as_needed): Remove test.
36097 * configure: Regenerated.
36098 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36099 conditional definition.
36100 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36101 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36102 * config.make.in (have-as-needed): Remove variable.
36103
ceab42c3
SP
361042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36105 Paul Pluzhnikov <ppluzhnikov@google.com>
36106
36107 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36108 strings correctly.
36109
3ce2865f
CLT
361102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36111
36112 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36113 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36114 * sysdeps/sh/strlen.S: Likewise.
36115
f37e0d68
JM
361162012-04-24 Joseph Myers <joseph@codesourcery.com>
36117
ae186e9a
JM
36118 * sysdeps/unix/fork.S: Remove file.
36119 * sysdeps/unix/i386/fork.S: Likewise.
36120 * sysdeps/unix/sparc/fork.S: Likewise.
36121
b96914af
JM
36122 * sysdeps/unix/system.c: Remove file.
36123 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36124
f37e0d68
JM
36125 * sysdeps/unix/getegid.S: Remove file.
36126 * sysdeps/unix/geteuid.S: Likewise.
36127
87ef29ca
RM
361282012-04-24 Roland McGrath <roland@hack.frob.com>
36129
83bcd236
RM
36130 * scripts/check-localplt.awk: New file.
36131 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36132 of diff.
36133 * scripts/data/localplt-generic.data: Add a comment.
36134
87ef29ca
RM
36135 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36136 NODE when __dir_mkfile failed.
36137 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36138 Reported by Ludovic Courtès <ludo@gnu.org>.
36139
e5a6e567
AJ
361402012-04-24 Andreas Jaeger <aj@suse.de>
36141
36142 * Makerules (common-clean): Also remove gen-as-const-headers
36143 files.
36144
c1820385
JM
361452012-04-24 Joseph Myers <joseph@codesourcery.com>
36146
36147 * Makerules (native-compile): Do not change working directory for
36148 build. Use $(OUTPUT_OPTION) in command.
36149 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36150
94e02fc4
AZ
361512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36152
36153 [BZ #13886]
36154 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36155 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36156 * math/libm-test.inc (floor_test): Add more tests.
36157 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36158
3a533ca3
JM
361592012-04-24 Joseph Myers <joseph@codesourcery.com>
36160
940ab4b3
JM
36161 * sysdeps/unix/getdents.c: Remove file.
36162 * sysdeps/unix/sysv/getdents.c: Likewise.
36163 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36164
90e037bd
JM
36165 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36166 sysdeps/unix/mman/syscalls.list.
36167 (mmap): Likewise.
36168 (mprotect): Likewise.
36169 (msync): Likewise.
36170 (munmap): Likewise.
36171 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36172 * sysdeps/unix/mman/syscalls.list: Remove.
36173 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36174
3a533ca3
JM
36175 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36176 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36177 * configure: Regenerated.
36178 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36179 $(libgcc_s_suffix).
36180 * config.make.in (libgcc_s_suffix): Remove variable.
36181
1ad743de
JM
361822012-04-23 Joseph Myers <joseph@codesourcery.com>
36183
4ad451e2
JM
36184 * sysdeps/unix/sysv/gethostname.c: Move to ...
36185 * sysdeps/posix/gethostname.c: ... here.
36186
5e37ce39
JM
36187 * sysdeps/unix/execve.S: Remove file.
36188
1ad743de
JM
36189 * sysdeps/unix/_exit.S: Remove file.
36190
4e681b5b
AJ
361912012-04-23 Andreas Jaeger <aj@suse.de>
36192
36193 [BZ #13739]
36194 * manual/Makefile: Remove make dist support, there's no
36195 need for a stand-alone documentation tar ball.
36196 (TEXI2DVI): Define always, it's not in Makeconfig.
36197 (dist): Removed.
36198 (tar-it): Removed.
36199 (edition): Removed.
36200 (glibc-doc-$(edition).tar): Removed
36201 (%.Z): Removed.
36202 (%.gz): Removed.
36203 (%.uu): Removed.
36204 (ETAGS): Remove, it's in Makeconfig.
36205 (move-if-change): Remove, it's in Makeconfig.
36206
38686a03 362072012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36208
36209 [BZ #13970]
36210 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36211 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36212 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36213 (strtod_l, strtof_l, strtold_l): Remove __wur.
36214 It is not necessarily an error to ignore strtol's return value.
36215 One can reliably look at the stored endptr to decide whether
36216 the number had valid syntax.
36217
7c0616fa
AJ
362182012-04-21 Andreas Jaeger <aj@suse.de>
36219
803cb6b7 36220 [BZ #13739]
7c0616fa
AJ
36221 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36222
b0fe253f
JM
362232012-04-21 Joseph Myers <joseph@codesourcery.com>
36224
36225 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36226 * sysdeps/unix/sysv/Versions: Remove file.
36227
8280f22d
MT
362282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36229
36230 [BZ #13927]
36231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36232
75ce411f 362332012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36234
36235 [BZ #7064]
36236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36237 version from __vm86.
36238
097d59fa
JM
362392012-04-20 Joseph Myers <joseph@codesourcery.com>
36240
a90f3bcb
JM
36241 * sysdeps/unix/common/lxstat.c: Remove file.
36242 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36243
edc7ea78
JM
36244 * sysdeps/unix/sysv/Makefile: Remove file.
36245
cb78c221
JM
36246 * sysdeps/unix/sysv/direct.h: Remove file.
36247
efa6a45f
JM
36248 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36249 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36250 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36251 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36252 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36253 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36254 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36255
9c9f2d0c
JM
36256 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36257
4541c83b
JM
36258 * sysdeps/unix/xmknod.c: Remove file.
36259 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36260
f5d153a0
JM
36261 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36262
aa746595
JM
36263 * sysdeps/unix/sysv/i386/time.S: Remove file.
36264
cce5905e
JM
36265 * sysdeps/unix/fxstat.c: Remove file.
36266 * sysdeps/unix/xstat.c: Likewise.
36267 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36268
37fa3841
JM
36269 * sysdeps/unix/sysv/sigaction.c: Remove file.
36270
ff1962a3
JM
36271 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36272 (sysdep_headers): Remove variable.
36273 [termio.h not in sysdep_headers] (generated): Likewise.
36274 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36275 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36276 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36277 * sysdeps/unix/sysv/tcflow.c: Likewise.
36278 * sysdeps/unix/sysv/tcflush.c: Likewise.
36279 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36280 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36281 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36282 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36283 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36284
e7740d31
JM
36285 * sysdeps/unix/siglist.c: Remove file.
36286
ee06f18b
JM
36287 * sysdeps/unix/getppid.S: Remove file.
36288
097d59fa
JM
36289 * sysdeps/unix/mkdir.c: Remove file.
36290 * sysdeps/unix/rmdir.c: Likewise.
36291
ff3d51ec
AS
362922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36293
36294 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36295 ERR_MAX value.
36296 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36297 errlist-compat value.
36298
50f81fd7
DM
362992012-04-18 David S. Miller <davem@davemloft.net>
36300
36301 * sysdeps/generic/memcopy.h (reg_char): Delete.
36302 * debug/strcat_chk.c: Use char, not reg_char.
36303 * debug/strcpy_chk.c: Likewise.
36304 * debug/strncat_chk.c: Likewise.
36305 * debug/strncpy_chk.c: Likewise.
36306 * string/memchr.c: Likewise.
36307 * string/memrchr.c: Likewise.
36308 * string/rawmemchr.c: Likewise.
36309 * string/strcat.c: Likewise.
36310 * string/strchr.c: Likewise.
36311 * string/strchrnul.c: Likewise.
36312 * string/strcmp.c: Likewise.
36313 * string/strcpy.c: Likewise.
36314 * string/strncat.c: Likewise.
36315 * string/strncmp.c: Likewise.
36316 * string/strncpy.c: Likewise.
36317
8ff41c46
WS
363182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36319
36320 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36321 __builtin_memcopy is called when src and dest ranges are known to not
36322 overlap.
36323
6b652f46
WS
363242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36325
36326 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36327 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36328 fwd_align_merge macro call.
36329 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36330 bwd_align_merge macro call.
36331 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36332
b282631e
WS
363332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36334
36335 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36336 bwd_align_merge macros.
36337 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36338 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36340
95aa737c
DM
363412012-04-18 David S. Miller <davem@davemloft.net>
36342
36343 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36344
7a99a614
AJ
363452012-04-18 Andreas Jaeger <aj@suse.de>
36346
36347 [BZ# 6794]
36348 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36349 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36350 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36351
36352 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36353 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36354 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36355
36356 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36357 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36358 Adjust for changed ldbl-128 files.
36359
36360 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36361 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36362 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36363
e5270c23
DM
363642012-04-17 David S. Miller <davem@davemloft.net>
36365
36366 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36367
fb5e92c9
AS
363682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36369
36370 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36371 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36372 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36373 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36374 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36375 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36376
76da7265
AZ
363772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36378
36379 [BZ #6794]
36380 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36381 * math/libm-test.inc: Add ilogb errno and exception tests.
36382 * math/w_ilogb.c: New file: ilogb wrapper.
36383 * math/w_ilogbf.c: New file: ilogbf wrapper.
36384 * math/w_ilogbl.c: New file: ilogbl wrapper.
36385 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36386 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36387 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36388 exception being thrown with 0.0 as argument.
36389 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36390 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36391 exception being thrown with 0.0 as argument.
36392 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36393 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36394 exception being thrown with 0.0 as argument.
36395 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36396 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36397 exception being thrown with 0.0 as argument.
36398 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36399 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36401 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36403 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36404 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36405 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36406 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36407
0396e69d
PB
364082012-04-17 Petr Baudis <pasky@ucw.cz>
36409
36410 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36411 with altivec.
36412
750b5926
MP
364132012-04-16 Marek Polacek <polacek@redhat.com>
36414
36415 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36416
751728a1
MP
364172012-04-16 Marek Polacek <polacek@redhat.com>
36418
36419 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36420 operands of fdivp instruction.
36421
34a27407
L
364222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36423
36424 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36425 * elf/tst-auditmod3b.c: Likewise.
36426 * elf/tst-auditmod4b.c: Likewise.
36427 * elf/tst-auditmod5b.c: Likewise.
36428 * elf/tst-auditmod6b.c: Likewise.
36429 * elf/tst-auditmod6c.c: Likewise.
36430 * elf/tst-auditmod7b.c: Likewise.
36431 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36432 * sysdeps/x86_64/preconfigure.in: Likewise.
36433 * sysdeps/x86_64/preconfigure: Regenerated.
36434
7e73e17d
L
364352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36436
36437 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36438 __ILP32__.
36439
c7a6ab72
AB
364402012-04-13 Antoine Balestrat <merkil33@gmail.com>
36441
36442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36443 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36444
a9e8e0e0
CL
364452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36446
36447 [BZ #13973]
36448 * locale/iso-639.def: Fix gl language name. Spotted by
36449 Yaron Shahrabani.
36450
ec98af7d
RM
364512012-04-12 Roland McGrath <roland@hack.frob.com>
36452
36453 [BZ #2074]
36454 * libio/libio.h (__io_write_fn): Update comment.
36455
247c3ede
PB
364562012-04-12 Petr Baudis <pasky@ucw.cz>
36457
36458 [BZ #2074]
36459 * stdio.texi (Hook Functions): The user provided writer function
36460 is not allowed to return -1.
36461
55939d6d
DM
364622012-04-11 David S. Miller <davem@davemloft.net>
36463
36464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36465
90020f5a
MF
364662012-04-11 Mike Frysinger <vapier@gentoo.org>
36467
36468 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36469 Add a leading slash to rtkaio.
36470
288f9098
JM
364712012-04-11 Jim Meyering <meyering@redhat.com>
36472
90020f5a
MF
36473 [BZ #11959]
36474 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36475 It is not necessarily an error to ignore fwrite's return
36476 value. One can reliably use ferror to test for errors after
36477 the fact.
288f9098 36478
4be2b570
L
364792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36480
36481 * bits/types.h (__snseconds_t): New type.
36482 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36483
36484 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36486 (__SNSECONDS_T_TYPE): Likewise.
36487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36488 (__SNSECONDS_T_TYPE): Likewise.
36489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36490 (__SNSECONDS_T_TYPE): Likewise.
36491
288f9098 364922012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36493
36494 [BZ #2636]
36495 * manual/time.texi (Processor Time): Return type of times is
36496 elapsed real time since an arbitrary point in the past.
36497 (CPU Time): Move CLK_TCK from here...
36498 (Processor Time): ...to here. Correct description.
36499 * manual/conf.texi (Constants for Sysconf): Correct description of
36500 _SC_CLK_TCK.
36501
d7dd4413
DM
365022012-04-10 David S. Miller <davem@davemloft.net>
36503
36504 [BZ #13967]
36505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36506 where the is a gap between DT_REL(A) and DT_JMPREL.
36507
b46068fc
L
365082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36509
36510 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36511 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36512 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36513
73d65cc3
SP
365142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36515
36516 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36517 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36518 (dl_main): Handle --inhibit-cache.
36519 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36520 _dl_inhibit_cache.
36521 * elf/dl-load.c (_dl_map_object): Use it.
36522 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36523
bcc8d661
JM
365242012-04-09 Joseph Myers <joseph@codesourcery.com>
36525
8f9a2fae
JM
36526 [BZ #13872]
36527 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36528 (__ieee754_powl): Saturate large exponents rather than testing for
36529 overflow of y*log2(x).
36530 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36531 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36532 exceptions.
36533
bcc8d661
JM
36534 [BZ #11521]
36535 * math/s_ctan.c: Include <float.h>.
36536 (__ctan): Avoid internal overflow or cancellation in calculating
36537 denominator.
36538 * math/s_ctanf.c: Likewise.
36539 * math/s_ctanl.c: Likewise.
36540 * math/s_ctanh.c: Likewise.
36541 * math/s_ctanhf.c: Likewise.
36542 * math/s_ctanhl.c: Likewise.
36543 * math/libm-test.inc (ctan_test): Add more tests.
36544 (ctanh_test): Likewise.
36545 * sysdeps/i386/fpu/libm-test-ulps: Update.
36546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36547
823fbbb4
AJ
365482012-04-09 Andreas Jaeger <aj@suse.de>
36549
03879793
AJ
36550 [BZ #6894]
36551 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36552 is an optional BSD extension.
36553
823fbbb4
AJ
36554 [BZ #10254]
36555 * manual/stdio.texi (Opening Streams): Document additional fopen
36556 parameters.
36557
8de131cb
RM
365582012-04-09 Roland McGrath <roland@hack.frob.com>
36559
36560 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36561 %eax without telling the compiler.
36562
c0ed9d7d
CD
365632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36564
36565 [BZ # 13963]
36566 * manual/install.texi: Use sourceware.org.
36567
c483f6b4
JM
365682012-04-09 Joseph Myers <joseph@codesourcery.com>
36569
d7dd9453
JM
36570 [BZ #13873]
36571 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36572 (__ieee754_pow): Generate overflow and underflow using huge*huge
36573 and tiny*tiny rather than just returning constant infinity or zero
36574 for large exponents.
36575 * math/libm-test.inc (pow_test): Require overflow exceptions for
36576 applicable cases of large exponents.
36577
c483f6b4
JM
36578 [BZ #706]
36579 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36580 (__ieee754_pow): Use iterative multiplication algorithm only for
36581 integer exponents with absolute value below 1024. Check for odd
36582 integer exponents when using algorithm for real exponents.
36583 * math/libm-test.inc (pow_test): Add more tests.
36584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36585
d2de7579
JM
365862012-04-08 Joseph Myers <joseph@codesourcery.com>
36587
36588 [BZ #13705]
36589 * math/libm-test.inc (exp_test): Do not allow overflow exception
36590 on underflow test.
36591
f77f1232
AJ
365922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36593
36594 [BZ #13705]
36595 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36596 instead of __kernel_standard_f.
36597
3884932b
MF
365982012-04-08 Mike Frysinger <vapier@gentoo.org>
36599
36600 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36601 * sysdeps/x86_64/memset_chk.S: Likewise.
36602
54472e9c
AJ
366032012-04-08 Andreas Jaeger <aj@suse.de>
36604
6ab0fbfc
AJ
36605 [BZ #10153]
36606 * manual/startup.texi (Environment Access): Describe return value
36607 for putenv and setenv.
36608
61efba8c
AJ
36609 [BZ #6895]
36610 * manual/filesys.texi (Directory Entries): Add description for
36611 DT_LNK.
36612
95c3f29a
AJ
36613 [BZ #6890]
36614 * manual/filesys.texi (Directory Entries): Clarify that it's file
36615 system not operating system in the description of DT_UNKNOWN.
36616
54472e9c
AJ
36617 [BZ #6578]
36618 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36619
624254b1
SC
366202012-04-08 Stephen Compall <s11@member.fsf.org>
36621
36622 [BZ #6649]
36623 * manual/llio.texi (Opening and Closing Files): Add cross
36624 reference to explain mode argument.
36625
1e4920e0
MF
366262012-04-07 Mike Frysinger <vapier@gentoo.org>
36627
36628 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36629 * sysdeps/x86_64/memset_chk.S: Likewise.
36630
5ed848f3
DM
366312012-04-07 David S. Miller <davem@davemloft.net>
36632
36633 * elf/elf.h (R_SPARC_WDISP10): Define.
36634 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36635 R_SPARC_SIZE32.
36636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36637 R_SPARC_SIZE64 and R_SPARC_H34.
36638
96154cd8
CD
366392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36640
36641 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36642 conditions and remove no longer applicable assertion.
36643
9904dc47
L
366442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36645
36646 * bits/byteswap.h: Include <features.h>.
36647 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36648 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36649
f8887d0a
L
366502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36651
36652 * bits/byteswap.h (__bswap_16): Removed.
36653 Include <bits/byteswap-16.h> to get __bswap_16.
36654 * sysdeps/i386/bits/byteswap.h: Likewise.
36655 * sysdeps/s390/bits/byteswap.h: Likewise.
36656 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36657 * bits/byteswap-16.h: New file.
36658 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36659 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36660 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36661 * string/Makefile (headers): Add bits/byteswap-16.h.
36662
62470f60
PP
366632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36664
36665 [BZ #13895]
36666 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36667 extra indirection.
36668 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36669 * nss/tst-nss-static.c: New.
36670
4dad7bab
RM
366712012-04-06 Robert Millan <rmh@gnu.org>
36672
36673 [BZ #6486]
36674 * manual/llio.texi (File Position Primitive): lseek
36675 refers to WHENCE when it really means OFFSET.
36676
e9142a17
AJ
366772012-04-06 Andreas Jaeger <aj@suse.de>
36678
2c040eff
AJ
36679 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36680 strncmp declarations.
36681
e9142a17
AJ
36682 * abilist/libc.abilist: Add __poll and __ppoll.
36683
ff9f1c5f
DM
366842012-04-05 David S. Miller <davem@davemloft.net>
36685
dcd2ae90
DM
36686 * scripts/check-local-headers.sh: Accept a host triplet in the
36687 path matched by the exclude regexp.
36688
993eb054
DM
36689 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36690 definition.
36691 * sysdeps/powerpc/powerpc32/dl-machine.h
36692 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36693 * sysdeps/s390/s390-32/dl-machine.h
36694 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36695 * sysdeps/sparc/sparc32/dl-machine.h
36696 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36697 * sysdeps/sparc/sparc64/dl-machine.h
36698 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36699
ff9f1c5f
DM
36700 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36701 lazy binding.
48e2e132 36702 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
36703 undefined symbol errors.
36704
48e2e132 36705 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
36706 DT_NEEDED entries.
36707
e80d6f94
MM
367082012-04-05 Michael Matz <matz@suse.de>
36709
36710 [BZ #13592]
36711 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36712
349fa79f
AJ
367132012-04-05 Andreas Jaeger <aj@suse.de>
36714
36715 [BZ #13908]
36716 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36717 comment.
36718
f402708f
KK
367192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36720
36721 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36722 which ROUND is no valid rounding mode.
36723
2ecccfc9
KK
367242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36725
36726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36727 read again.
36728 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36729
8a53f50f
KK
367302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36731
36732 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36733 an exception using FPU order intentionally.
36734
367352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36736
36737 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36738 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36739 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36740 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36741
d653abb7
SJ
367422012-04-05 Simon Josefsson <simon@josefsson.org>
36743
36744 [BZ #12340]
36745 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36746 EINVAL when BUFLEN is too smal.
36747
c3b1bf7d
TS
367482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36749
36750 [BZ #13553]
36751 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36752 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36753
b1aa60f3
AJ
367542012-04-03 Andreas Jaeger <aj@suse.de>
36755
c3b1bf7d 36756 [BZ #13938]
67f60a26
AJ
36757 * manual/setjmp.texi (System V contexts): Fix sentence.
36758
b1aa60f3
AJ
36759 [BZ #13926]
36760 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36761 New macro for this case.
36762 [!__GNUC__] (__bswap_64): New inline function for this case.
36763 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36764 * bits/byteswap.h: Likewise.
36765 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36766 ull, guard with __GLIBC_HAVE_LONG_LONG.
36767
36768 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36769 __GLIBC_HAVE_LONG_LONG.
36770
36771 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36772 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36773
39c59c35
TMQMF
367742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36775
36776 [BZ #13691]
36777 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36778 inptr and inend, rather than using last_ch.
36779
135ffda8
DM
367802012-04-02 David S. Miller <davem@davemloft.net>
36781
36782 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36783 * stdio-common/printf-parse.h (read_int): Change return type to
36784 'int', return -1 on INT_MAX overflow.
36785 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36786 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36787 overflows INT_MAX. Check for overflow of in-format-string precision
36788 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36789 SIZE_MAX not INT_MAX for integer overflow test.
36790 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36791 skip the construct in the format string but do not record anything.
36792 * stdio-common/bug22.c: Adjust to test both width/prevision
36793 INT_MAX overflow as well as total length INT_MAX overflow. Check
36794 explicitly for proper errno values.
36795
228c019e
TS
367962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36797
302cadd3
TS
36798 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36799 CHAR_MAX.
36800 * string/test-strcmp.c [! WIDE]: Likewise.
36801 * time/tst-mktime2.c: Likewise for INT_MAX.
36802 * string/test-string.h: #include <sys/param.h> for MIN.
36803
228c019e
TS
36804 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36805 * sysdeps/i386/init-first.c (init): Likewise.
36806 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36807 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36808 * sysdeps/sh/init-first.c (init): Likewise.
36809
cfa633f5
UD
368102012-04-01 Ulrich Drepper <drepper@gmail.com>
36811
36812 * po/ru.po: Update from translation team.
d1635ef8 36813 * po/vi.po: Likewise.
cfa633f5 36814
6cd0a5ea
SP
368152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36816
36817 * resolv/nss_dns/dns-host.c: Merge copyright years.
36818
4b43400f
LD
368192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36820
36821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36822 Optimize memcpy with prefetch if
36823 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36824 src, dst pointers have unequal 16 byte alignments.
36825
48c41d04
SP
368262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36827
36828 [BZ #13928]
36829 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36830 from a CNAME entry and return the minimum ttl for the query.
36831 (gaih_getanswer_slice): Likewise.
36832
b8dc394d
JL
368332012-03-30 Jeff Law <law@redhat.com>
36834
36835 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36836 due to long keys.
36837 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36838 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36839
2f5a5ed0
JL
36840 * resolv/nss_dns/dns-host.c: Update copyright year.
36841
1d39e359
UD
368422012-03-30 Ulrich Drepper <drepper@gmail.com>
36843
c030f70c 36844 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 36845 requests to save a system call. Fix check that all bytes are sent.
c030f70c 36846
1d39e359
UD
36847 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36848 comments for sendmmsg.
36849
368502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
36851
36852 [BZ #13691]
36853 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36854 with only 1 character between 0x0041 and 0x01b0.
36855 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36856 * wcsmbs/tst-mbsnrtowcs.c: New file.
36857
20fde227
DM
368582012-03-29 David S. Miller <davem@davemloft.net>
36859
36860 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36861 small copies by hand.
36862
984a4237
JL
368632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36864
36865 [BZ #13761]
57f41c40
AS
36866 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36867 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36868 group memberships.
984a4237 36869
18c9d62b
DM
368702012-03-28 David S. Miller <davem@davemloft.net>
36871
88d85d4f
DM
36872 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36873 that branches into memcpy.
36874 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36876 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36877 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36879 bits.
36880 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36881 implementation too.
36882 * sysdeps/sparc/mempcpy.S: New file.
36883
e5aa83e1
DM
36884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36885 the IFUNC routine in the libc case.
36886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36887
88570753
DM
36888 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36889 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36890 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36891 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36892 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36893 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36894 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36895 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36896
249d7567
DM
36897 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36898 loop to 256 bytes instead of 64 bytes and fix test signedness.
36899
18c9d62b
DM
36900 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36901 * sysdeps/sparc/sparc32/Makefile: rather than here...
36902 * sysdeps/sparc/sparc64/Makefile: and here.
36903
05f3d1f6
UD
369042012-03-28 Ulrich Drepper <drepper@gmail.com>
36905
36906 * malloc/mallocbug.c: Avoid warnings about unused variables.
36907
86ae07a8
JL
369082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36909
36910 [BZ #13760]
36911 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36912 in the right place. Discard and retry query if response is
36913 larger than input buffer size.
36914
41bf21a1
JM
369152012-03-28 Joseph Myers <joseph@codesourcery.com>
36916
d6270972
JM
36917 [BZ #369]
36918 [BZ #2678]
36919 [BZ #3866]
36920 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36921 x for large integer exponent.
36922 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36923 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36924 sign of result as needed afterwards.
36925 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36926 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36927 result for underflowing pow the same as for overflow.
36928 (__kernel_standard_l): Handle powl overflow and underflow here
36929 rather than calling __kernel_standard.
36930 * math/libm-test.inc (pow_test): Add more tests.
36931
414fca03 36932 [BZ #3868]
41bf21a1
JM
36933 [BZ #13879]
36934 [BZ #13910]
36935 [BZ #13911]
36936 [BZ #13912]
36937 [BZ #13913]
36938 [BZ #13915]
36939 [BZ #13916]
36940 [BZ #13917]
36941 [BZ #13918]
36942 [BZ #13919]
36943 [BZ #13920]
36944 [BZ #13921]
36945 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36946 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36947 (__kernel_standard_l): New function.
36948 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36949 __kernel_standard.
36950 * math/w_acosl.c (__acosl): Likewise.
36951 * math/w_asinl.c (__asinl): Likewise.
36952 * math/w_atan2l.c (__atan2l): Likewise.
36953 * math/w_atanhl.c (__atanhl): Likewise.
36954 * math/w_coshl.c (__coshl): Likewise.
36955 * math/w_exp10l.c (__exp10l): Likewise.
36956 * math/w_exp2l.c (__exp2l): Likewise.
36957 * math/w_fmodl.c (__fmodl): Likewise.
36958 * math/w_hypotl.c (__hypotl): Likewise.
36959 * math/w_j0l.c (__j0l, __y0l): Likewise.
36960 * math/w_j1l.c (__j1l, __y1l): Likewise.
36961 * math/w_jnl.c (__jnl, __ynl): Likewise.
36962 * math/w_lgammal.c (__lgammal): Likewise.
36963 * math/w_log10l.c (__log10l): Likewise.
36964 * math/w_log2l.c (__log2l): Likewise.
36965 * math/w_logl.c (__logl): Likewise.
36966 * math/w_powl.c (__powl): Likewise.
36967 * math/w_remainderl.c (__remainderl): Likewise.
36968 * math/w_scalbl.c (sysv_scalbl): Likewise.
36969 * math/w_sinhl.c (__sinhl): Likewise.
36970 * math/w_sqrtl.c (__sqrtl): Likewise.
36971 * math/w_tgammal.c (__tgammal): Likewise.
36972 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36973 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36974 * math/libm-test.inc (acos_test): Add more tests.
36975 (acosh_test): Likewise.
36976 (asin_test): Likewise.
36977 (atanh_test): Likewise.
36978 (exp_test): Likewise.
36979 (exp10_test): Likewise.
36980 (exp2_test): Likewise.
36981 (expm1_test): Likewise.
36982 (lgamma_test): Likewise.
36983 (log_test): Likewise.
36984 (log10_test): Likewise.
36985 (log1p_test): Likewise.
36986 (log2_test): Likewise.
36987 (pow_test): Do not allow some spurious overflow exceptions.
36988 (sqrt_test): Add more tests.
36989 (tgamma_test): Likewise.
36990 (y0_test): Likewise.
36991 (y1_test): Likewise.
36992 (yn_test): Likewise.
36993
dd62fda6
AB
369942012-03-27 Anton Blanchard <anton@samba.org>
36995
36996 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36997 MAP_HUGETLB.
36998 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36999 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37000 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37001
1e3cdfda
AJ
370022012-03-27 David S. Miller <davem@davemloft.net>
37003
b855ab85
DM
37004 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37005
1e3cdfda
AJ
37006 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37007 have-as-vis3 check.
37008
370092012-03-27 Andreas Jaeger <aj@suse.de>
37010
37011 * sysdeps/x86_64/elf/configure.in: Moved to ...
37012 * sysdeps/x86_64/configure.in: ... here.
37013 * sysdeps/x86_64/elf/start.S: Moved to ...
37014 * sysdeps/x86_64/start.S: ... here.
37015 * sysdeps/x86_64/elf/configure: Delete.
37016
37017 * sysdeps/x86_64/configure.in: Merge contents from
37018 sysdeps/i386/configure.in (without i686 check).
37019
37020 * sysdeps/i386/elf/Versions: Merge into ...
37021 * sysdeps/i386/Versions: ... this.
37022 * sysdeps/i386/elf/Versions: Delete file.
37023 * sysdeps/i386/elf/start.S: Moved to ...
37024 * sysdeps/i386/start.S: ...here.
37025 * sysdeps/i386/elf/configure.in: Merge into...
37026 * sysdeps/i386/configure.in: ...here.
37027 * sysdeps/i386/elf/configure.in: Delete file.
37028 * sysdeps/i386/elf/configure: Delete file.
37029
37030 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37031 * debug/backtracesyms.c: ... here.
37032 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37033 * debug/backtracesymsfd.c: ... here.
37034 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37035 * sysdeps/generic/ifunc-sel.h: ... here.
37036
37037 * sysdeps/unix/i386/start.c: Delete file.
37038 * sysdeps/unix/sparc/start.c: Delete file.
37039 * sysdeps/unix/start.c: Delete file.
37040
37041 * sysdeps/sh/elf/configure.in: Moved to ...
37042 * sysdeps/sh/configure.in: ... here.
37043 * sysdeps/sh/elf/start.S: Moved to ...
37044 * sysdeps/sh/start.S: ... here.
37045 * sysdeps/sh/elf/configure: Delete file.
37046
37047 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37048 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37049 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37050 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37051 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37052 * sysdeps/powerpc/powerpc64/start.S: here.
37053 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37054 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37055 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37056 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37057 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37058
37059 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37060 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37061 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37062 * sysdeps/powerpc/powerpc32/start.S: ... here.
37063 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37064 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37065 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37066
37067 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37068 * sysdeps/powerpc/ifunc-sel.h: ... here.
37069 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37070 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37071
37072 * sysdeps/sparc/elf/configure.in: Moved to ...
37073 * sysdeps/sparc/configure.in: ... here.
37074 * sysdeps/sparc/elf/configure: Delete file.
37075 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37076 * sysdeps/sparc/sparc32/start.S: ... here.
37077 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37078 * sysdeps/sparc/sparc64/start.S: ... here.
37079 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37080 * sysdeps/sparc/sparc32/Makefile: ... this.
37081 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37082 * sysdeps/sparc/sparc64/Makefile: ... this.
37083
37084 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37085 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37086 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37087 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37088 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37089 * sysdeps/s390/s390-32/setjmp.S: ... here.
37090 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37091 * sysdeps/s390/s390-32/configure.in: ... here.
37092 * sysdeps/s390/s390-32/elf/configure: Delete file.
37093 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37094 * sysdeps/s390/s390-32/start.S: ... here.
37095
37096 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37097 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37098 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37099 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37100 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37101 * sysdeps/s390/s390-64/setjmp.S: ... here.
37102 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37103 * sysdeps/s390/s390-64/configure.in: ... here
37104 * sysdeps/s390/s390-64/elf/configure: Delete file.
37105 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37106 * sysdeps/s390/s390-64/start.S: ... here.
37107 * sysdeps/s390/s390-64/elf/configure: Delete.
37108
37109 * configure.in: Remove support for elf directories in sysdeps.
37110
37111 * configure: Regenerated.
37112 * sysdeps/i386/configure: Regenerated.
37113 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37114 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37115 * sysdeps/s390/s390-32/configure: Regenerated.
37116 * sysdeps/s390/s390-64/configure: Regenerated.
37117 * sysdeps/sh/configure: Regenerated.
37118 * sysdeps/sparc/configure: Regenerated.
37119 * sysdeps/x86_64/configure: Regenerated.
37120
a3f61311
AS
371212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37122
c876e002
AS
37123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37124
a3f61311
AS
37125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37126 denormal result into account.
37127
ac4c54f0
RM
371282012-03-25 Roland McGrath <roland@hack.frob.com>
37129
37130 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37131 Reported by Allan McRae <allan@archlinux.org>.
37132
6a9b9c02
JL
371332012-03-23 Jeff Law <law@redhat.com>
37134
37135 * nss/getnssent.c (__nss_getent): Fix typo.
37136
4c42a0c1
DM
371372012-03-23 David S. Miller <davem@davemloft.net>
37138
37139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37140
1532c7ac
L
371412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37142
37143 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37144 to pad to uint64_t for each field.
37145 (dl_tls_index): Replace unsigned long with uint64_t.
37146
3ff42526
PP
371472012-03-23 Daniel Jacobowitz <dmj@google.com>
37148 Paul Pluzhnikov <ppluzhnikov@google.com>
37149
37150 [BZ #6528]
37151 * grp/Makefile (otherlibs): Don't set it.
37152 * inet/Makefile (otherlibs): Likewise.
37153 * login/Makefile (otherlibs): Likewise.
37154 * nscd/Makefile (otherlibs): Likewise.
37155 * posix/Makefile (otherlibs): Likewise.
37156 * pwd/Makefile (otherlibs): Likewise.
37157 * rt/Makefile (otherlibs): Likewise.
37158 * sunrpc/Makefile (otherlibs): Likewise.
37159 * nss/Makefile (otherlibs): Likewise.
37160 Add libnss_files to routines and static-only-routines.
37161 ($(objpfx)getent): Remove rule.
37162 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37163 static-only-routines.
37164
7c69cd14
JM
371652012-03-22 Joseph Myers <joseph@codesourcery.com>
37166
37167 [BZ #13892]
37168 * math/s_cexp.c: Include <float.h>.
37169 (__cexp): Handle exp result overflowing not necessarily
37170 overflowing both real and imaginary parts of result.
37171 * math/s_cexpf.c: Likewise.
37172 * math/s_cexpl.c: Likewise.
37173 * math/libm-test.inc (cexp_test): Add more tests.
37174 * sysdeps/i386/fpu/libm-test-ulps: Update.
37175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37176
81b035fe
L
371772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37178
37179 * include/link.h (ELFW): New macro.
37180 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37181 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37182
1da7940c
L
371832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37184
37185 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37186 with uint64_t.
37187
b749dbb9
L
371882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37189
37190 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37191 declaration.
37192 (struct La_x32_retval): Likewise.
37193
2ff87f3f
L
371942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37195
37196 * sysdeps/x86_64/preconfigure.in: New file.
37197 * sysdeps/x86_64/preconfigure: New generated file.
37198
c0df8e69
JM
371992012-03-22 Joseph Myers <joseph@codesourcery.com>
37200
48e44791
JM
37201 [BZ #13824]
37202 * math/e_exp2l.c: Include <float.h>.
37203 (__ieee754_exp2l): Handle overflow and underflow cases
37204 separately. Only pass fractional part of argument to
37205 __ieee754_expl.
37206 * math/libm-test.inc (exp2_test): Add more tests.
37207
c0df8e69
JM
37208 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37209 negating x to take absolute value.
37210 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37211 Likewise.
37212 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37213 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37214 Likewise.
37215 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37216 computing low part if x was negated.
37217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37218
c8e43ba7
L
372192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37220
37221 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37222 la_x32_gnu_pltexit.
37223 (pltexit): Cast int_retval to ptrdiff_t.
37224 * elf/tst-auditmod3b.c: Likewise.
37225 * elf/tst-auditmod4b.c: Likewise.
37226 * elf/tst-auditmod5b.c: Likewise.
37227 * elf/tst-auditmod6b.c: Likewise.
37228 * elf/tst-auditmod6c.c: Likewise.
37229 * elf/tst-auditmod7b.c: Likewise.
37230
37231 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37232 and x32_gnu_pltexit.
37233
37234 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37235 __ELF_NATIVE_CLASS.
37236 (La_x32_regs): New macro.
37237 (La_x32_retval): Likewise.
37238 (la_x32_gnu_pltenter): New function prototype.
37239 (la_x32_gnu_pltexit): Likewise.
37240
7998fa78
AS
372412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37242
dcb33988
AS
37243 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37244 exponent.
37245
233fc563
AS
37246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37247
7998fa78
AS
37248 * configure.in (libc_cv_cc_nofma): Check for option to disable
37249 generation of FMA instructions.
37250 * configure: Regenerate.
37251 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37252 * sysdeps/ieee754/dbl-64/Makefile: New file.
37253 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37254 Remove brandred-fma4.
37255 (CFLAGS-brandred-fma4.c): Remove.
37256 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37257 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37258 define.
37259 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37260 define.
37261
8e95c99a
L
372622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37263
37264 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37265 LLONG_MAX != LONG_MAX.
37266 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37267 (_fitoa_word): Likewise.
37268 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37269 LLONG_MAX != LONG_MAX.
37270 * stdio-common/_itowa.h: Include <_itoa.h>.
37271 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37272 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37273 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37274 only if not defined.
37275 (_ITOA_WORD_TYPE): Likewise.
37276 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37277 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37278
6f4db457
DM
372792012-03-21 David S. Miller <davem@davemloft.net>
37280
37281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37282
7785fe5a
L
372832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37284
37285 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37286 of x86_64 when setting libc_cv_slibdir, libdir and
37287 libc_cv_localedir.
37288 * sysdeps/unix/sysv/linux/configure: Regenerated.
37289
4535cd55
JM
372902012-03-21 Joseph Myers <joseph@codesourcery.com>
37291
37292 * manual/lang.texi (Old Varargs): Remove section.
37293 (How Variadic): Update menu.
37294 (va_start): Do not mention varargs.h.
37295
17228132
TS
372962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37297 Joseph Myers <joseph@codesourcery.com>
37298
37299 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37300 link test.
37301 * configure: Regenerated.
37302
8149f976
TS
373032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37304
05f3d1f6
UD
37305 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37306 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37307 conformtest.pl
8149f976 37308
1a4ac776
JM
373092012-03-21 Joseph Myers <joseph@codesourcery.com>
37310
be22ce65
JM
37311 * NOTES: Remove.
37312 * Makefile (files-for-dist): Remove NOTES.
37313 (NOTES): Remove rule.
37314 * README: Don't refer to NOTES.
37315 * manual/creature.texi: Don't include macros.texi.
37316 * manual/intro.texi (creature.texi): Remove comment referring to
37317 NOTES.
37318
40b601fb
JM
37319 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37320 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37321 * configure: Regenerated.
37322 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37323 LIBC_TRY_CC_OPTION.
37324 (libc_cv_as_i686): Likewise.
37325 (libc_cv_cc_avx): Likewise.
37326 (libc_cv_cc_sse2avx): Likewise.
37327 (libc_cv_cc_fma4): Likewise.
37328 (libc_cv_cc_novzeroupper): Likewise.
37329 * sysdeps/i386/configure: Regenerated.
37330
1a4ac776
JM
37331 [BZ #13883]
37332 * sysdeps/i386/fpu/s_cexp.S: Remove.
37333 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37334 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37335 * math/libm-test.inc (cexp_test): Add more tests.
37336 * sysdeps/i386/fpu/libm-test-ulps: Update.
37337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37338
a458e7fe
AM
373392012-03-21 Allan McRae <allan@archlinux.org>
37340
37341 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37342
0cb7efc5
JM
373432012-03-21 Joseph Myers <joseph@codesourcery.com>
37344
37345 [BZ #13871]
37346 * math/w_exp2.c: Do not include <float.h>.
37347 (o_threshold, u_threshold): Remove.
37348 (__exp2): Calculate result before checking finiteness and calling
37349 __kernel_standard.
37350 * math/w_exp2f.c: Likewise.
37351 * math/w_exp2l.c: Likewise.
37352 * math/libm-test.inc (exp2_test): Require overflow exception for
37353 1e6 input.
2460d3aa
JM
37354
37355 [BZ #3866]
37356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37357 range of signed 64-bit integers before using fistpll. Remove
37358 checks for whether integers fit in mantissa bits.
37359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37360 the range of signed 32-bit integers before using fistpl. Remove
37361 checks for whether integers fit in mantissa bits.
37362 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37363 (__ieee754_powl): Test for y outside the range of signed 64-bit
37364 integers before using fistpll. Reduce 64-bit values to 63-bit
37365 ones as needed.
37366 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37367 divide-by-zero is raised for zero to large negative powers.
37368 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37369 (__ieee754_powl): Test for y outside the range of signed 64-bit
37370 integers before using fistpll. Reduce 64-bit values to 63-bit
37371 ones as needed.
37372 * math/libm-test.inc (pow_test): Add more tests.
37373
eb96ffb0
L
373742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37375
37376 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37377 <stdio-common/_itoa.h>.
37378 * debug/segfault.c: Likewise.
37379 * elf/dl-cache.c: Likewise.
37380 * elf/dl-minimal.c: Likewise.
37381 * elf/dl-misc.c: Likewise.
37382 * elf/dl-sysdep.c: Likewise.
37383 * elf/dl-version.c: Likewise.
37384 * elf/rtld.c: Likewise.
37385 * hurd/hurdsock.c: Likewise.
37386 * hurd/lookup-retry.c: Likewise.
37387 * malloc/malloc.c: Likewise.
37388 * malloc/mtrace.c: Likewise.
37389 * nscd/nscd_getgr_r.c: Likewise.
37390 * nscd/nscd_getpw_r.c: Likewise.
37391 * nscd/nscd_getserv_r.c: Likewise.
37392 * posix/getopt_init.c: Likewise.
37393 * posix/wordexp.c: Likewise.
37394 * stdio-common/_itoa.c: Likewise.
37395 * stdio-common/printf_fphex.c: Likewise.
37396 * stdio-common/vfprintf.c: Likewise.
37397 * string/_strerror.c: Likewise.
37398 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37399 * sysdeps/i386/i686/hp-timing.h: Likewise.
37400 * sysdeps/mach/_strerror.c: Likewise.
37401 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37402 * sysdeps/mach/hurd/sethostid.c: Likewise.
37403 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37404 * sysdeps/mach/xpg-strerror.c: Likewise.
37405 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37406 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37407 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37408 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37409 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37410 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37411 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37412 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37413 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37414 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37415 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37416 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37417 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37418 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37419 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37420 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37421 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37422 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37423 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37424 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37425 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37426
37427 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37428
37429 * stdio-common/_itoa.h: Moved to ...
37430 * sysdeps/generic/_itoa.h: Here.
37431
37432 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37433
37434 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37435 instead of "_itoa.h" and "_itowa.h".
37436 * stdio-common/vfprintf.: Likewise.
37437
d1af992d
L
374382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37439
37440 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37441 <bits/wordsize.h>.
37442 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37443 (__signbit): Likwise.
37444 (llrintf): Likwise.
37445 (llrint): Likwise.
37446
114883e0
L
374472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37448
37449 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37450 __WORDSIZE != 64.
37451
c135cc1b
JM
374522012-03-20 Joseph Myers <joseph@codesourcery.com>
37453
37454 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37455 OVERFLOW_EXCEPTION_OK.
37456 * math/libm-test.inc ("Philosophy"): Update comment about
37457 exception testing.
37458 (OVERFLOW_EXCEPTION): Define.
37459 (OVERFLOW_EXCEPTION_OK): Likewise.
37460 (INVALID_EXCEPTION_OK): Renumber.
37461 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37462 (IGNORE_ZERO_INF_SIGN): Likewise.
37463 (test_exceptions): Handle FE_OVERFLOW.
37464 (exp10_test): Expect overflow exceptions.
37465 (exp2_test): Likewise.
37466 (expm1_test): Likewise.
37467 (nextafter_test): Likewise.
37468 (pow_test): Likewise.
37469 (scalbn_test): Likewise.
37470 (scalbln_test): Likewise.
37471
95443d88
L
374722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37473
37474 * sysdeps/x86_64/bits/atomic.h
37475 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37476 64bit integer.
37477 (atomic_exchange_acq): Likewise.
37478 (__arch_exchange_and_add_body): Likewise.
37479 (__arch_add_body): Likewise.
37480 (atomic_add_negative): Likewise.
37481 (atomic_add_zero): Likewise.
37482
490df6c4
L
374832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37484
c2722551 37485 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37486 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37487
5e52b189
L
374882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37489
37490 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37491 Check __x86_64__ instead of __WORDSIZE.
37492
a9879d4c
L
374932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37494
37495 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37496
5df98260
DM
374972012-03-19 David S. Miller <davem@davemloft.net>
37498
e1497744
DM
37499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37500
5df98260
DM
37501 * sysdeps/sparc/fpu/fenv_private.h: New file.
37502 * sysdeps/sparc/fpu/math_private.h: Use it.
37503 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37504 Remove.
57f41c40 37505 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37506 (libc_feholdexcept_setroundl): Remove.
37507 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37508 Remove.
37509 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37510 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37511
b4c35121
L
375122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37513
37514 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37515 int64_t instead of long int.
37516 (INSERT_WORDS64): Likwise.
37517
56965fd7
L
375182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37519
37520 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37521 _Unwind_GetCFA return to _Unwind_Ptr first.
37522
83d1aec8
JM
375232012-03-19 Joseph Myers <joseph@codesourcery.com>
37524
1897ad44
JM
37525 [BZ #13629]
37526 * math/s_clog.c: Include <float.h>.
37527 (__clog): Scale large or subnormal inputs.
37528 * math/s_clogf.c: Likewise.
37529 * math/s_clogl.c: Likewise.
37530 * math/s_clog10.c: Include <float.h>.
37531 (M_LOG10_2): Define.
37532 (__clog10): Scale large or subnormal inputs.
37533 * math/s_clog10f.c: Likewise.
37534 * math/s_clog10l.c: Likewise.
37535 * math/libm-test.inc (clog_test): Add more tests.
37536 (clog10_test): Likewise.
37537 * sysdeps/i386/fpu/libm-test-ulps: Update.
37538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37539
7726d6a9
JM
37540 [BZ #11451]
37541 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37542 x and y.
37543 * math/libm-test.inc (atan2_test): Add another test.
37544
83d1aec8
JM
37545 * Makerules (common-objdir-compile): Remove.
37546 * sysdeps/unix/Makefile (config-generated): Do not add
37547 $(unix-generated) to variable.
37548 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37549 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37550 Remove rule.
37551 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37552 Likewise.
37553 [generic bits/local_lim.h] (before-compile): Do not append to
37554 variable.
37555 [generic bits/local_lim.h] (common-generated): Likewise.
37556 [generic sys/param.h] (before-compile): Do not append to variable.
37557 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37558 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37559 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37560 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37561 include.
37562 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37563 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37564 [generic sys/param.h] ($(addprefix
37565 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37566 [generic sys/param.h] (common-generated): Do not append to
37567 variable.
37568 [generic sys/param.h] (sysdep_headers): Likewise.
37569 [generic bits/errno.h] (before-compile): Do not append to
37570 variable.
37571 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37572 rule.
37573 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37574 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37575 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37576 [generic bits/errno.h] (common-generated): Do not append to
37577 variable.
37578 [generic bits/ioctls.h] (before-compile): Do not append to
37579 variable.
37580 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37581 rule.
37582 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37583 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37584 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37585 rule.
37586 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37587 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37588 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37589 [generic bits/ioctls.h] (common-generated): Do not append to
37590 variable.
37591 [generic sys/syscall.h] (syscall.h): Remove variable.
37592 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37593 rule.
37594 [generic sys/syscall.h] (before-compile): Do not append to
37595 variable.
37596 [generic sys/syscall.h] (common-generated): Likewise.
37597 * sysdeps/unix/errnos-tmpl.c: Remove file.
37598 * sysdeps/unix/errnos.awk: Likewise.
37599 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37600 * sysdeps/unix/ioctls.awk: Likewise.
37601 * sysdeps/unix/mk-local_lim.c: Likewise.
37602 * sysdeps/unix/snarf-ioctls: Likewise.
37603
4851a949
RH
376042012-03-19 Richard Henderson <rth@twiddle.net>
37605
bd37f2ee
RH
37606 * sysdeps/i386/fpu/fenv_private.h: New file.
37607 * sysdeps/i386/fpu/math_private.h: Use it.
37608 (math_opt_barrier, math_force_eval): Remove.
37609 (libc_feholdexcept_setround_53bit): Remove.
37610 (libc_feupdateenv_53bit): Remove.
37611 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37612 (math_opt_barrier, math_force_eval): Remove.
37613 (libc_feholdexcept): Remove.
37614 (libc_feholdexcept_setround): Remove.
37615 (libc_fetestexcept, libc_fesetenv): Remove.
37616 (libc_feupdateenv_test): Remove.
37617 (libc_feupdateenv, libc_feholdsetround): Remove.
37618 (libc_feresetround): Remove.
37619
d0adc922
RH
37620 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37621 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37622
0fe0f1f8
RH
37623 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37624 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37625 (libc_feupdateenv_testl): New.
37626 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37627 (libc_feupdateenv_testf): New.
37628 (libc_feupdateenv): Use libc_feupdateenv_test.
37629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37630 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37631
eb92c487
RH
37632 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37633 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37634 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37635 (libc_feresetround_noex): New.
37636 (libc_feresetround_noexf): New.
37637 (libc_feresetround_noexl): New.
37638 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37639 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37640 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37641 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37642 SET_RESTORE_ROUND.
37643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37644 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37645 (__cos): Likewise.
37646 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37647 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37648 SET_RESTORE_ROUND_NOEX.
37649 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37650 SET_RESTORE_ROUND_NOEXF.
37651 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37652 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37653 (libc_feholdsetroundf): New.
37654 (libc_feresetround, libc_feresetroundf): New.
37655
7d2e8012
RH
37656 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37657 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37658 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37659
b4dabbb4
RH
37660 * sysdeps/generic/math_private.h: Include <fenv.h>.
37661 (default_libc_feholdexcept): New.
37662 (default_libc_feholdexcept_setround): New.
37663 (default_libc_fesetenv, default_libc_feupdateenv): New.
37664 (libc_feholdexcept): Only define if undefined.
37665 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37666 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37667 (libc_feholdexcept_setroundl): Likewise.
37668 (libc_feholdexcept_setround_53bit): Likewise.
37669 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37670 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37671 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37672 (libc_feupdateenv_53bit): Likewise.
37673 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37674 (libc_feholdexcept): Convert from macro to inline function.
37675 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37676 (libc_fesetenv, libc_feupdateenv): Likewise.
37677
4851a949
RH
37678 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37679 not previously defined.
37680 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37681 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37682 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37683 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37684 * sysdeps/ieee754/flt-32/math_private.h: New file.
37685 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37686 math_private.h below SET_FLOAT_WORD.
37687 (__isnan, __isinf_ns, __finite): Remove.
37688 (__isnanf, __isinf_nsf, __finitef): Remove.
37689
e79d442e
AS
376902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37691
37692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37693
90b80344
DM
376942012-03-17 David S. Miller <davem@davemloft.net>
37695
37696 [BZ #6471]
37697 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37698 for 2.16.
37699
edc21804
DM
377002012-03-16 David S. Miller <davem@davemloft.net>
37701
77e927af
DM
37702 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37703 warnings.
37704
374976dd
DM
37705 [BZ #6471]
37706 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37707 properly.
37708 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37709 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37710 sysdep_routines when subdir is sysvipc.
37711 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37712 __getshmlba helper.
37713
edc21804
DM
37714 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37715
473c3ef3
L
377162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37717
37718 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37719 [__LP64__].
37720
eb0f39b6
L
377212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37722
37723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37724 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37725 (__lround): Renamed to ...
37726 (__llround): This. Replace long int with long long int.
37727 Define lround functions as aliases of llround functions.
37728 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37729
6b6cd74b
L
377302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37731
37732 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37733 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37734 adresses to uintptr_t. Replace "long int" and "unsigned long
37735 int" with "greg_t" on va_arg.
37736
f1a77b01
L
377372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37738
37739 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37740 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37741
37742 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37743 Move e_machine check before EI_CLASS check. Handle x32
37744 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37745 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37746 SKIP_EM_IA_64 and include
37747 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37748
37749 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37750 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37751 (add_system_dir): New macro.
37752
37753 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37754 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37755
11b90b9f
JM
377562012-03-16 Joseph Myers <joseph@codesourcery.com>
37757
c36e1d23
JM
37758 [BZ #2551]
37759 [BZ #2552]
37760 [BZ #2553]
37761 [BZ #2554]
37762 [BZ #2562]
37763 [BZ #2563]
37764 [BZ #2565]
37765 [BZ #2566]
37766 [BZ #2576]
37767 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37768 (y0): Likewise.
37769 * math/w_j0f.c (j0f): Likewise.
37770 (y0f): Likewise.
37771 * math/w_j0l.c (__j0l): Likewise.
37772 (__y0l): Likewise.
37773 * math/w_j1.c (j1): Likewise.
37774 (y1): Likewise.
37775 * math/w_j1f.c (j1f): Likewise.
37776 (y1f): Likewise.
37777 * math/w_j1l.c (__j1l): Likewise.
37778 (__y1l): Likewise.
37779 * math/w_jn.c (jn): Likewise.
37780 (yn): Likewise.
37781 * math/w_jnf.c (jnf): Likewise.
37782 (ynf): Likewise.
37783 * math/w_jnl.c (__jnl): Likewise.
37784 (__ynl): Likewise.
37785 * math/libm-test.inc (j0_test): Add more tests.
37786 (j1_test): Likewise.
37787 (jn_test): Likewise. Add trailing semicolon to existing test.
37788 (y0_test): Likewise.
37789 (y1_test): Likewise.
37790 * sysdeps/i386/fpu/libm-test-ulps: Update.
37791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37792
11b90b9f
JM
37793 [BZ #13851]
37794 [BZ #13854]
37795 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37796 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37797 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37798 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37799 (__tanl): Set errno for infinite argument.
37800 * sysdeps/i386/fpu/mptan.c: Remove.
37801 * sysdeps/i386/fpu/s_tan.S: Likewise.
37802 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37803 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37804 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37805 * math/libm-test.inc (tan_test): Add more tests and enable more
37806 tests for double and long double.
37807 * sysdeps/i386/fpu/libm-test-ulps: Update.
37808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37809
6a1bd2a1
JK
378102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37811
37812 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37813 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37814
10a803e0
RM
378152012-03-16 Roland McGrath <roland@hack.frob.com>
37816
37817 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37818 * configure.in: Use it for both main tree and add-ons.
37819 * configure: Regenerated.
37820
f196c7f7
L
378212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37822
37823 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37824
8848d99d
JM
378252012-03-16 Joseph Myers <joseph@codesourcery.com>
37826
96cbe7f4
JM
37827 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37828 in comment.
37829
8848d99d
JM
37830 [BZ #13851]
37831 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37832 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37836 infinite argument.
37837 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37838 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37839 != 0 for prec == 2.
37840 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37841 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37842 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37843 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37844 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37845 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37846 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37847 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37848 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37849 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37850 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37851 * math/libm-test.inc (cos_test): Add more tests and enable more
37852 tests for long double.
37853 (sin_test): Likewise.
37854 (sincos_test): Likewise.
37855 * sysdeps/i386/fpu/libm-test-ulps: Update.
37856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37857
dd7f4703
DM
378582012-03-16 David S. Miller <davem@davemloft.net>
37859
37860 * sysdeps/sparc/fpu/math_private.h: New file.
37861
006f1daa
DM
378622012-03-15 David S. Miller <davem@davemloft.net>
37863
c0c83bc8
DM
37864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37865 file.
e6a62e18 37866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
37867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37868 file.
e6a62e18
DM
37869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37875 sysdep routines.
37876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37877
88cb87d9
DM
37878 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37879 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37880
006f1daa 37881 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
37882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37883 sparc-ifunc.h
006f1daa 37884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
37885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37886 Likewise.
37887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37888 Likewise.
006f1daa
DM
37889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
37892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37893 Likewise.
006f1daa
DM
37894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
37898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37899 Likewise.
37900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37901 Likewise.
006f1daa
DM
37902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37926
11e0098e
AS
379272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37928
37929 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37930 scaling.
37931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37932
e85b09d0
AJ
379332012-03-15 Andreas Jaeger <aj@suse.de>
37934
37935 [BZ #13852]
37936 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37937 ieee754/flt-32 implementation for sin, cos and sincos.
37938 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37939 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37940 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37941 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37942 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37943 ieee754/flt-32 implementation for tan.
37944
37945 * math/libm-test.inc (cos_test): Enable some large input tests for
37946 float as well
37947 (sin_test): Likewise.
37948 (sincos_test): Likewise.
37949 (tan_test): Add tests for large input.
37950
37951 * sysdeps/i386/fpu/libm-test-ulps: Update.
37952
81c64153
AJ
379532012-03-15 Andreas Jaeger <aj@suse.de>
37954
37955 [BZ #13658]
37956 * math/libm-test.inc (cos_test): Add more test cases.
37957 (sin_test): Likewise.
37958 (sincos_test): Likewise.
37959
7bbfa5c6
AJ
379602012-03-15 Andreas Jaeger <aj@suse.de>
37961
37962 [BZ #13837]
37963 * math/libm-test.inc (cos_test): Add a test case for large input
37964 value.
37965 (sin_test): Likewise.
37966 (sincos_test): Likewise.
37967
57f41c40
AS
379682012-03-15 Andreas Jaeger <aj@suse.de>
37969 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
37970
37971 [BZ #13658]
0671f479 37972 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
37973 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37974 * sysdeps/i386/fpu/branred.c: Likewise.
37975 * sysdeps/i386/fpu/dosincos.c: Likewise.
37976 * sysdeps/i386/fpu/mpa.c: Likewise.
37977 * sysdeps/i386/fpu/s_cos.S: Likewise.
37978 * sysdeps/i386/fpu/s_sin.S: Likewise.
37979 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37980 * sysdeps/i386/fpu/sincos32.c: Likewise.
37981
37982 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37983 Define.
37984 (libc_feupdateenv_53bit): Define.
37985 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37986 Define.
37987 (libc_feupdateenv_53bit): Define.
37988
37989 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37990 53 bit (without extend i386 double precision).
37991
37992 * math/libm-test.inc (sincos_test): Add tests for large input.
37993 (sin): Likewise.
37994 (cos): Likewise.
37995
37996 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37997
9cad04ea
AS
379982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37999
38000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38001
f7062b9a
DM
380022012-03-15 David S. Miller <davem@davemloft.net>
38003
38004 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38005 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38006 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38007 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38020 file.
f7062b9a 38021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38023 file.
f7062b9a 38024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38026 file.
f7062b9a 38027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38029 file.
f7062b9a
DM
38030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38032 fmin/fmax sysdep routines.
38033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38034
7bd951ff
DM
380352012-03-14 David S. Miller <davem@davemloft.net>
38036
559398ab
DM
38037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38043 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38044 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38060 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38064 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38066 routines.
38067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38068 file.
559398ab 38069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38071 file.
559398ab 38072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38074 file.
559398ab 38075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38077 file.
559398ab 38078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38080 file.
559398ab 38081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38083 file.
38084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38085 file.
38086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38087 file.
38088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38089 file.
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38091 New file.
38092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38093 file.
38094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38095 file.
559398ab 38096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38098 file.
559398ab 38099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38101 file.
559398ab 38102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38104 file.
559398ab 38105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38107 VIS3 routines.
559398ab
DM
38108
38109 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38110 New file.
38111
5a1c1e32
DM
38112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38113
eae47a36
DM
38114 * sysdeps/sparc/configure.in: New file.
38115 * sysdeps/sparc/configure: Generate.
38116 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38117 * configure: Regenerate.
38118 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38119 * config.make.in (have-as-vis3): New.
38120 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38121 available use -Av9d instead of -Av9a.
38122 * sysdeps/sparc/sparc64/Makefile: Likewise.
38123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38125 New file.
38126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38127 file.
38128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38129 New file.
38130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38131 file.
eae47a36
DM
38132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38134 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38135 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38136 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38137
c0c83bc8
DM
38138 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38139 fzeros/fnegs to load 0x80000000 into a float register instead of
38140 using the stack.
7bd951ff
DM
38141 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38142
bd951ccb
JM
381432012-03-14 Joseph Myers <joseph@codesourcery.com>
38144
38145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38146 bits/syscall.h.
38147 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38148 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38149 ($(inst_includedir)/bits/syscall.h): Remove rule.
38150 ($(objpfx)bits/syscall.d): Include instead of
38151 $(objpfx)syscall-list.d.
38152 (generated): Change syscall-list.h and syscall-list.d to
38153 bits/syscall.h and bits/syscall.d.
38154
bb4e6db2
RM
381552012-03-14 Roland McGrath <roland@hack.frob.com>
38156
38157 [BZ #13846]
38158 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38159
aa4a2ae1
JM
381602012-03-14 Joseph Myers <joseph@codesourcery.com>
38161
e456826d
JM
38162 [BZ #13841]
38163 * math/s_csqrt.c: Include <float.h>.
38164 (__csqrt): Scale large or subnormal inputs.
38165 * math/s_csqrtf.c: Likewise.
38166 * math/s_csqrtl.c: Likewise.
38167 * math/libm-test.inc (csqrt_test): Add more tests.
38168 * sysdeps/i386/fpu/libm-test-ulps: Update.
38169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38170
aa4a2ae1
JM
38171 [BZ #13840]
38172 * math/libm-test.inc (hypot_test): Add more tests.
38173
7c10fd35
DM
381742012-03-13 David S. Miller <davem@davemloft.net>
38175
38176 [BZ #13840]
38177 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38178 double-precision for the calculation instead of scaling.
38179
f453b98b
JM
381802012-03-13 Joseph Myers <joseph@codesourcery.com>
38181
38182 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38183 manipulate bits before adding and subtracting TWO52[sx].
38184 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38186 Likewise.
38187 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38188
09a3453f
DM
381892012-03-13 David S. Miller <davem@davemloft.net>
38190
8e59da90
DM
38191 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38192 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38194 rtld-global-offsets.h
38195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38196
2a8ab7f2
DM
38197 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38198 large parameters.
38199
10f62770
DM
38200 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38201
5f0bdb18
DM
38202 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38203 'err' in the ifdef scope in which it is actually used.
38204
09a3453f
DM
38205 * nss/nss_db/db-init.c: Include string.h
38206
b4b2eb5e
DM
382072012-03-12 David S. Miller <davem@davemloft.net>
38208
98bb2f1c
DM
38209 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38210 masking out of the most significant byte of random value used.
38211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38212 Fix coding style in previous change.
38213
b4b2eb5e
DM
38214 * sysdeps/unix/sysv/linux/kernel-features.h
38215 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38216 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38217 expression.
38218 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38219 later.
38220
6e226b09
DM
382212012-03-11 David S. Miller <davem@davemloft.net>
38222
a1bcbd40
DM
38223 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38224 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38225 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38226 for 'resultvar' otherwise things get truncated on 64-bit.
38227
cb9d6174
DM
38228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38229 Fix masking out of the most significant byte of random value used.
38230
6e226b09
DM
38231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38232
058c132d
AS
382332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38234
38235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38236
2d2cd515
DM
382372012-03-09 David S. Miller <davem@davemloft.net>
38238
38239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38240 variables with appropriate CPP guards.
57f41c40
AS
38241 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38242 from the frame pointer, not the stack pointer. Correct layout
38243 comments. Fix test on resulting framesize and the management of
38244 the outregs buffer for pltexit. Preserve floating point return
38245 values across _dl_call_pltexit call.
2d2cd515
DM
38246 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38247 framesize and the management of the outregs buffer for pltexit.
38248 Preserve floating point return values across _dl_call_pltexit
38249 call.
57f41c40
AS
38250 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38251 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38252 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38253 (print_exit): Fix format string for return register value.
38254
9a07f9d0
JM
382552012-03-10 Joseph Myers <joseph@codesourcery.com>
38256
38257 * sunrpc/Makefile (others): Add rpcgen.
38258 ($(objpfx)rpcgen): Remove special build rule and dependency on
38259 libc.
38260 * sunrpc/rpcgen.c: New file.
38261
547b5e30
PE
382622012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38263
c524201a
PE
38264 [BZ #13673]
38265 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38266 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38267 * sysdeps/i386/crti.S: Likewise.
38268 * sysdeps/i386/crtn.S: Likewise.
38269 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38270 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38271 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38272 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38273 * sysdeps/sh/crti.S: Likewise.
38274 * sysdeps/sh/crtn.S: Likewise.
38275 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38276
7b6235f2
PE
38277 [BZ #13673]
38278 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38279 with URL.
38280 * locale/programs/locfile-kw.gperf: Likewise.
38281 * locale/programs/charmap-kw.h: Regenerated.
38282 * locale/programs/locfile-kw.h: Likewise.
38283
547b5e30
PE
38284 [BZ #13673]
38285 * intl/plural.y: Replace FSF snail mail address with URL.
38286 * intl/plural.c: Regenerated.
38287
5f0a5dae
RH
382882012-03-09 Richard Henderson <rth@twiddle.net>
38289
38290 * include/math_private.h: Remove file.
38291 * math/math_private.h: Move file ...
38292 * sysdeps/generic/math_private.h: ... here.
38293
b8c03620
RH
38294 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38295 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38296 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38297
4e234f5d 38298 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38299 and <math_private.h>.
38300 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38301 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38302 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38303 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38304 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38309 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38312 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38314 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38315 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38321 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38322 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38324 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38325 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38326 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38327 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38328 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38329 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38330 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38331 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38332 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38333 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38335 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38337 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38338 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38341 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38348 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38349 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38350 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38351 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38354 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38355 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38356 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38357 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38358 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38359 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38360 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38361 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38362 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38363 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38364 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38365 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38366 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38367 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38368 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38369 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38371 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38372 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38374 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38380 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38382 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38388 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38389 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38390 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38391 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38392 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38393 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38394 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38395 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38396 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38397 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38398 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38399 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38400 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38401 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38402 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38403 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38404 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38405 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38406 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38407 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38408 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38409 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38410 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38411 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38412 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38413 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38414 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38415 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38416 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38417 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38418 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38419 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38420 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38421 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38422 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38423 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38424 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38425 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38427 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38428 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38429 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38430 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38431 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38433 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38434 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38435 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38436 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38437 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38438 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38439 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38440 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38441 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38442 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38443 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38444 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38445 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38446 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38447 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38448 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38449 * sysdeps/ieee754/k_standard.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38456 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38462 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38463 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38464 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38466 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38467 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38468 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38469 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38472 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38473 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38474 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38475 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38476 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38477 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38478 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38479 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38480 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38482 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38483 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38484 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38523 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38527 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38532 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38533 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38541 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38542 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38543 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38544 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38548 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38549 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38554 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38558 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38565 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38569 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38570 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38572 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38577 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38580 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38582 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38598 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38599 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38610 * sysdeps/ieee754/s_lib_version.c: Likewise.
38611 * sysdeps/ieee754/s_matherr.c: Likewise.
38612 * sysdeps/ieee754/s_signgam.c: Likewise.
38613 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38614 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38615 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38616 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38617 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38618 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38619 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38620 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38621 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38622 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38623 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38624 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38625 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38626 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38627 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38628 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38629 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38630 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38631 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38632 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38633 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 38634
1991fa03
JM
386352012-03-09 Joseph Myers <joseph@codesourcery.com>
38636
38637 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38638 * sunrpc/rpc_main.c: Likewise.
38639 * sunrpc/rpc_svcout.c: Likewise.
38640
60d6f5a6
DM
386412012-03-09 David S. Miller <davem@davemloft.net>
38642
38643 * include/math_private.h: New file.
38644
4962050e
JM
386452012-03-09 Joseph Myers <joseph@codesourcery.com>
38646
02a6f887
JM
38647 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38648 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38649 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38650 from <bits/socket_type.h>.
38651 (enum __socket_type): Don't define here.
38652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38654 bits/socket_type.h.
38655
c6e013c1
JM
38656 [BZ #13566]
38657 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38658 checking __USE_GNU.
38659
4962050e
JM
38660 * Makerules ($(inst_includedir)/%.h): New rule.
38661 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38662 (install-others): Remove variable setting.
38663 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38664
38842f45
RH
386652012-03-08 Richard Henderson <rth@twiddle.net>
38666
67bb6da6
RH
38667 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38668 from macro to inline function; merge with the
38669 !__LIBC_INTERNAL_MATH_INLINES version.
38670 (__ieee754_sqrtf): Likewise.
38671
15194b4b
RH
38672 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38673 to inline function.
38674 (__rintf, __floor, __floorf): Likewise.
38675
64e21ede
RH
38676 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38677 macro to inline function.
38678 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38679
38842f45
RH
38680 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38681 not <math/math_private.h>.
38682
c64bf5fe
DM
386832012-03-08 David S. Miller <davem@davemloft.net>
38684
38685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38686 copyright year.
38687 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38688
82d86f28
TS
386892012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38690
38691 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38692 normalization.
38693 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38694 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38695
aea5d727
UD
386962012-03-08 Ulrich Drepper <drepper@gmail.com>
38697
38698 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38699 be defined individually, they must be defined as a block. Define
38700 S for printing a string instead of hidint the different by using a
38701 macro for adding the 'l'.
38702 * stdio-common/tst-fphex-wide.c: Adjust.
38703
70bca0a3
MP
387042012-03-07 Marek Polacek <polacek@redhat.com>
38705
38706 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38707
65b81130
MP
387082012-03-08 Marek Polacek <polacek@redhat.com>
38709
38710 [BZ #13806]
38711 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38712 * stdio-common/tst-fphex.c: Define a few macros to make the
38713 test reusable. Use them.
38714 * stdio-common/tst-fphex-wide.c: New file.
38715
07037eeb
JM
387162012-03-08 Joseph Myers <joseph@codesourcery.com>
38717
a7a93d50
JM
38718 [BZ #6911]
38719 * manual/macros.texi (gnusystems): New macro.
38720 (nongnusystems): Likewise.
38721 (gnulinuxhurdsystems): Likewise.
38722 (gnuhurdsystems): Likewise..
38723 (gnulinuxsystems): Likewise.
38724 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38725 variants of the GNU system, not "GNU system".
38726 * manual/conf.texi: Likewise.
38727 * manual/errno.texi: Likewise. Update example of errno macro
38728 expansion.
38729 * manual/filesys.texi: Likewise.
38730 (getumask): Document as specific to GNU/Hurd.
38731 * manual/install.texi: Likewise. Reword some references to
38732 GNU/Linux.
38733 * manual/intro.texi: Likewise.
38734 * manual/io.texi: Likewise.
38735 (File Name Portability): Detail which constraints are inapplicable
38736 to all GNU systems and which are only inapplicable to GNU/Hurd.
38737 * manual/job.texi: Likewise.
38738 * manual/llio.texi: Likewise.
38739 (O_NOCTTY): Document as present on GNU/Linux.
38740 * manual/maint.texi: Likewise.
38741 * manual/memory.texi: Likewise.
38742 * manual/pattern.texi: Likewise.
38743 * manual/pipe.texi: Likewise.
38744 * manual/process.texi: Likewise.
38745 * manual/resource.texi: Likewise.
38746 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38747 child on GNU/Hurd.
38748 * manual/setjmp.texi: Likewise.
38749 * manual/signal.texi: Likewise.
38750 * manual/startup.texi: Likewise.
38751 * manual/stdio.texi: Likewise.
38752 * manual/terminal.texi: Likewise.
38753 (ONLCR): Document as POSIX.
38754 (OXTABS): Document availability on GNU/Linux as XTABS.
38755 (ONOEOT): Document availability separately from other bits.
38756 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38757 * manual/time.texi: Likewise.
38758 * manual/users.texi: Likewise.
38759 * INSTALL: Regenerated.
38760 * sysdeps/gnu/errlist.c: Regenerated.
38761
07037eeb
JM
38762 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38763 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38764 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38765 puts.
38766 * configure: Regenerated.
38767
d1d3431a
JM
387682012-03-07 Joseph Myers <joseph@codesourcery.com>
38769
af6a1e37
JM
38770 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38771 default includes instead of AC_HEADER_CHECK.
38772 * sysdeps/i386/configure: Regenerated.
38773
d1d3431a
JM
38774 [BZ #10716]
38775 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38776 * math/s_cacoshf.c (__cacoshf): Likewise.
38777 * math/s_cacoshl.c (__cacoshl): Likewise.
38778 * math/s_casinh.c (__casinh): Set signs of result from argument.
38779 * math/s_casinhf.c (__casinhf): Likewise.
38780 * math/s_casinhl.c (__casinhl): Likewise.
38781 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38782 (casinh_test): Add more tests.
38783 * sysdeps/i386/fpu/libm-test-ulps: Update.
38784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38785
482ff4da
UD
387862012-03-07 Ulrich Drepper <drepper@gmail.com>
38787
872fda05
UD
38788 * po/zh_TW.po: Update from translation team.
38789
a4300c7a
UD
38790 * login/Makefile (distribute): Remove variable.
38791 * catgets/Makefile: Likewise.
38792 * mach/Makefile: Likewise.
38793 * malloc/Makefile: Likewise.
38794 * misc/Makefile: Likewise.
38795 * iconv/Makefile: Likewise.
38796 * nscd/Makefile: Likewise.
38797 * hurd/Makefile: Likewise.
38798 * manual/Makefile: Likewise.
38799 * locale/Makefile: Likewise.
38800 * intl/Makefile: Likewise.
38801 * conform/Makefile: Likewise.
38802 * nss/Makefile: Likewise.
38803 * time/Makefile: Likewise.
38804 * soft-fp/Makefile: Likewise.
38805 * dirent/Makefile: Likewise.
38806 * gmon/Makefile: Likewise.
38807 * po/Makefile: Likewise.
38808 * rt/Makefile: Likewise.
38809 * socket/Makefile: Likewise.
38810 * math/Makefile: Likewise.
38811 * signal/Makefile: Likewise.
38812 * debug/Makefile: Likewise.
38813 * elf/Makefile: Likewise.
38814 * timezone/Makefile: Likewise.
38815 * stdlib/Makefile: Likewise.
38816 * iconvdata/Makefile: Likewise.
38817 * sunrpc/Makefile: Likewise.
38818 * io/Makefile: Likewise.
38819 * argp/Makefile: Likewise.
38820 * inet/Makefile: Likewise.
38821 * hesiod/Makefile: Likewise.
38822 * grp/Makefile: Likewise.
38823 * csu/Makefile: Likewise.
38824 * wctype/Makefile: Likewise.
38825 * crypt/Makefile: Likewise.
38826 * libio/Makefile: Likewise.
38827 * string/Makefile: Likewise.
38828 * nis/Makefile: Likewise.
38829 * resolv/Makefile: Likewise.
38830 * stdio-common/Makefile: Likewise.
38831 * wcsmbs/Makefile: Likewise.
38832 * dlfcn/Makefile: Likewise.
38833 * posix/Makefile: Likewise.
38834
3b7c4e74 38835 [BZ #6959]
482ff4da
UD
38836 * timezone/Makefile: Don't install timezone files, just the programs
38837 and scripts.
38838
f72ed77d
UD
388392012-03-06 Ulrich Drepper <drepper@gmail.com>
38840
a000466f
UD
38841 * nss/databases.def: Add missing gshadow entry.
38842
f72ed77d
UD
38843 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38844
a53b7a4e
MP
388452012-03-06 Marek Polacek <polacek@redhat.com>
38846
38847 [BZ #13726]
38848 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38849 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38850 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38851 * stdio-common/tst-long-dbl-fphex.c: New file.
38852
e9258400
DM
388532012-03-06 David S. Miller <davem@davemloft.net>
38854
38855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38856 (set_obp_int): New function.
38857 (get_obp_int): New function.
38858 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
38859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38860 Avoid unused variable warnings on 'val' and use builtin_expect.
38861 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38862 __builtin_expect.
e9258400
DM
38863 (INLINE_CLONE_SYSCALL): Likewise.
38864
3bd2c723
DM
388652012-03-05 David S. Miller <davem@davemloft.net>
38866
38867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38868
bbb78d03
AS
388692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38870
884c5db4
AS
38871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38872
bbb78d03
AS
38873 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38874 only for |x| >= 40.
38875 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38876
1c9f702a 388772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
38878
38879 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38880 Replace gettimeofday with __vdso_gettimeofday.
38881
7be16f82
RM
38882 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38883 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38884 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
38885
38886 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38887 time with __vdso_time.
38888
ed58a00f
JM
388892012-03-05 Joseph Myers <joseph@codesourcery.com>
38890
38891 * manual/lang.texi (size_t): Note types to which size_t may be
38892 equivalent with the GNU C Library, but do not describe when
38893 differences between them are significant.
38894
30ee4ced
AJ
388952012-03-05 Andreas Jaeger <aj@suse.de>
38896
38897 * sysdeps/i386/fpu/libm-test-ulps: Update.
38898
b7cd39e8
JM
388992012-03-05 Joseph Myers <joseph@codesourcery.com>
38900
38901 [BZ #3976]
38902 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38903 (__ieee754_pow): Save and restore rounding mode and use
38904 round-to-nearest for main computations.
38905 * math/libm-test.inc (pow_test_tonearest): New function.
38906 (pow_test_towardzero): Likewise.
38907 (pow_test_downward): Likewise.
38908 (pow_test_upward): Likewise.
38909 (main): Call the new functions.
38910 * sysdeps/i386/fpu/libm-test-ulps: Update.
38911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
38912
38913 [BZ #3976]
38914 * math/libm-test.inc (cosh_test_tonearest): New function.
38915 (cosh_test_towardzero): Likewise.
38916 (cosh_test_downward): Likewise.
38917 (cosh_test_upward): Likewise.
38918 (sinh_test_tonearest): Likewise.
38919 (sinh_test_towardzero): Likewise.
38920 (sinh_test_downward): Likewise.
38921 (sinh_test_upward): Likewise.
38922 (main): Call the new functions.
38923 * sysdeps/i386/fpu/libm-test-ulps: Update.
38924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38925
6c6a98c9
TV
389262012-03-05 Tom de Vries <tom@codesourcery.com>
38927
38928 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38929 default stack guard is set in last bytes.
38930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38931
21bb2d2e 389322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 38933
21bb2d2e 38934 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 38935
21bb2d2e
AJ
38936 [BZ #13656]
38937 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38938 possibly allocate from heap instead of stack.
38939 * stdio-common/bug-vfprintf-nargs.c: New file.
38940 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 38941
c6922934
AS
389422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38943
38944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38945
bc957d53
MP
389462012-03-03 Marek Polacek <polacek@redhat.com>
38947
38948 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38949 * math/math_private.h: Likewise.
38950 * stdlib/tst-strtod.c: Likewise.
38951 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38952 * sysdeps/x86_64/bits/atomic.h: Likewise.
38953
6358490d
DM
389542012-03-02 David S. Miller <davem@davemloft.net>
38955
38956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38960 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38961 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38962 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38963 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38964
01ae168d
RM
389652012-03-02 Roland McGrath <roland@hack.frob.com>
38966
d9a17c07
RM
38967 [BZ #13792]
38968 * manual/examples/README: New file, says the example source files
38969 can be used under GPL>=2.
38970 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38971 line containing just "*/".
38972 * manual/examples/add.c: Add copyright header (GPL>=2).
38973 * manual/examples/argp-ex1.c: Likewise.
38974 * manual/examples/argp-ex2.c: Likewise.
38975 * manual/examples/argp-ex3.c: Likewise.
38976 * manual/examples/argp-ex4.c: Likewise.
38977 * manual/examples/atexit.c: Likewise.
38978 * manual/examples/db.c: Likewise.
38979 * manual/examples/dir.c: Likewise.
38980 * manual/examples/dir2.c: Likewise.
38981 * manual/examples/execinfo.c: Likewise.
38982 * manual/examples/filecli.c: Likewise.
38983 * manual/examples/filesrv.c: Likewise.
38984 * manual/examples/fmtmsgexpl.c: Likewise.
38985 * manual/examples/genpass.c: Likewise.
38986 * manual/examples/inetcli.c: Likewise.
38987 * manual/examples/inetsrv.c: Likewise.
38988 * manual/examples/isockad.c: Likewise.
38989 * manual/examples/longopt.c: Likewise.
38990 * manual/examples/memopen.c: Likewise.
38991 * manual/examples/memstrm.c: Likewise.
38992 * manual/examples/mkfsock.c: Likewise.
38993 * manual/examples/mkisock.c: Likewise.
38994 * manual/examples/mygetpass.c: Likewise.
38995 * manual/examples/pipe.c: Likewise.
38996 * manual/examples/popen.c: Likewise.
38997 * manual/examples/rprintf.c: Likewise.
38998 * manual/examples/search.c: Likewise.
38999 * manual/examples/select.c: Likewise.
39000 * manual/examples/setjmp.c: Likewise.
39001 * manual/examples/sigh1.c: Likewise.
39002 * manual/examples/sigusr.c: Likewise.
39003 * manual/examples/stpcpy.c: Likewise.
39004 * manual/examples/strdupa.c: Likewise.
39005 * manual/examples/strftim.c: Likewise.
39006 * manual/examples/strncat.c: Likewise.
39007 * manual/examples/subopt.c: Likewise.
39008 * manual/examples/swapcontext.c: Likewise.
39009 * manual/examples/termios.c: Likewise.
39010 * manual/examples/testopt.c: Likewise.
39011 * manual/examples/testpass.c: Likewise.
39012 * manual/examples/timeval_subtract.c: Likewise.
39013
01ae168d
RM
39014 [BZ #13792]
39015 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39016 function to ...
39017 * manual/timeval_subtract.c.texi: ... here, new file.
39018
49efa33d
DM
390192012-03-02 David S. Miller <davem@davemloft.net>
39020
39021 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39022
28afd92d
JM
390232012-03-02 Joseph Myers <joseph@codesourcery.com>
39024
804360ed
JM
39025 [BZ #3976]
39026 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39027 (__sin): Save and restore rounding mode and use round-to-nearest
39028 for all computations.
39029 (__cos): Save and restore rounding mode and use round-to-nearest
39030 for all computations.
39031 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39032 <fenv.h>.
39033 (tan): Save and restore rounding mode and use round-to-nearest for
39034 all computations.
39035 * math/libm-test.inc (cos_test_tonearest): New function.
39036 (cos_test_towardzero): Likewise.
39037 (cos_test_downward): Likewise.
39038 (cos_test_upward): Likewise.
39039 (sin_test_tonearest): Likewise.
39040 (sin_test_towardzero): Likewise.
39041 (sin_test_downward): Likewise.
39042 (sin_test_upward): Likewise.
39043 (tan_test_tonearest): Likewise.
39044 (tan_test_towardzero): Likewise.
39045 (tan_test_downward): Likewise.
39046 (tan_test_upward): Likewise.
39047 (main): Call the new functions.
39048 * sysdeps/i386/fpu/libm-test-ulps: Update.
39049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39050
a6d06d7b
JM
39051 [BZ #10135]
39052 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39053 small n, then large n, before computing and testing k+n.
39054 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39056 Likewise.
39057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39058 Likewise.
39059 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39060 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39061 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39062 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39063 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39064 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39065 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39066 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39067 * math/libm-test.inc (scalbn_test): Add more tests.
39068 (scalbln_test): Likewise.
39069
07e12bb3
JM
39070 * manual/filesys.texi (mode_t): Describe constraints on size and
39071 signedness, not exact equivalence to a particular type.
39072 (ino_t): Likewise.
39073 (ino64_t): Likewise.
39074 (dev_t): Likewise.
39075 (nlink_t): Likewise.
39076 (blkcnt_t): Likewise.
39077 (blkcnt64_t): Likewise.
39078 * manual/llio.texi (off_t): Likewise.
39079
28afd92d
JM
39080 [BZ #3976]
39081 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39082 (__ieee754_exp): Save and restore rounding mode and use
39083 round-to-nearest for all computations.
39084 * math/libm-test.inc (exp_test_tonearest): New function.
39085 (exp_test_towardzero): Likewise.
39086 (exp_test_downward): Likewise.
39087 (exp_test_upward): Likewise.
39088 (main): Call the new functions.
39089 * sysdeps/i386/fpu/libm-test-ulps: Update.
39090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39091
b1eeb65d
CD
390922012-03-01 Chris Demetriou <cgd@google.com>
39093
39094 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39095 have predictable order.
39096
53362a4b
DM
390972012-03-01 David S. Miller <davem@davemloft.net>
39098
3c969083
DM
39099 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39100
759707de
DM
39101 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39102 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39103 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39104 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39105
dfdb8ff2
DM
39106 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39107 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39108 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39110 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39111 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39112 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39113 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39114 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39115
ead89f96
DM
39116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39117
7f66bd07
DM
39118 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39119 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39120 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39121
53362a4b
DM
39122 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39123 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39124 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39125 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39126 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39127 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39128 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39129 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39130 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39131 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39132 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39133 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39135 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39136 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39138 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39139 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39140 * sysdeps/sparc/elf/configure: Regenerated.
39141
7b1902cb
JM
391422012-03-01 Joseph Myers <joseph@codesourcery.com>
39143
bec039bc
JM
39144 * configure.in (AS, LD): Require binutils 2.20 or later.
39145 * configure: Regenerated.
39146 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39147 as required minimum version.
39148 * INSTALL: Regenerated.
39149
7b1902cb
JM
39150 [BZ #2541]
39151 [BZ #4108]
39152 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39153 before squaring exponent.
39154 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39155 bottom long double and 27 bits of top long double before squaring
39156 exponent.
39157 * math/libm-test.inc (erfc_test): Add more tests.
39158 * sysdeps/i386/fpu/libm-test-ulps: Update.
39159 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39161
f775c276
KT
391622012-03-01 Kai Tietz <ktietz@redhat.com>
39163
39164 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39165 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39166 containing bit-fields.
39167 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39168 * soft-fp/single.h (_FP_UNION_S): Likewise.
39169 * soft-fp/double.h (_FP_UNION_D): Likewise.
39170
5b8a4d4a
JM
391712012-02-29 Joseph Myers <joseph@codesourcery.com>
39172
0bab47b6
JM
39173 [BZ #13786]
39174 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39175 not include ../strcmp.S.
39176 [USE_AS_STRNCASECMP_L]: Likewise.
39177 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39178 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39179 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39180 (__strncasecmp_l_ia32): Define as alias to
39181 __strncasecmp_l_nonascii.
39182
0fcad3e2
JM
39183 [BZ #5794]
39184 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39185 * sysdeps/i386/fpu/libm-test-ulps: Update.
39186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39187
5b8a4d4a
JM
39188 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39190
8fdceb2e
JL
391912012-02-29 Jeff Law <law@redhat.com>
39192
39193 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39194 out of bounds read.
39195
1f393a11
MP
391962012-02-29 Marek Polacek <polacek@redhat.com>
39197
39198 [BZ #13706]
39199 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39200 * elf/Makefile: Add rules to run tst-unused-dep.out.
39201
8847f037
DM
392022012-02-28 David S. Miller <davem@davemloft.net>
39203
39204 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39205 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39207 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39208 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39209 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39210
169d7f11
JM
392112012-02-29 Joseph Myers <joseph@codesourcery.com>
39212
39213 * math/libm-test.inc (llround_test): Move one test from
39214 lround_test. Use TEST_f_L in moved test.
39215 (lround_test): Move misplaced test to llround_test. Add testcase
39216 from bug 2561.
39217
39adf059
UD
392182012-02-28 Ulrich Drepper <drepper@gmail.com>
39219
39220 * sysdeps/x86_64/fpu/e_expf.S: New file.
39221 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39222
71b5d1c5
SB
392232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39224
39225 [BZ #13637]
39226 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39227 of remain_len that may cause incomplete multi-byte character and
39228 false match.
39229 * posix/bug-regex33.c: New file.
39230 * posix/Makefile (tests): Add bug-regex33.
39231
1f77f049
JM
392322012-02-28 Joseph Myers <joseph@codesourcery.com>
39233
39234 * manual/macros.texi: New file.
39235 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39236 * manual/libc.texinfo: Include macros.texi.
39237 * manual/creatute.texi: Likewise.
39238 * manual/install.texi: Likewise.
39239 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39240 @glibcadj{} in references to the GNU C Library.
39241 * manual/charset.texi: Likewise.
39242 * manual/conf.texi: Likewise.
39243 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39244 when not using those macros.
39245 * manual/creature.texi: Likewise.
39246 * manual/crypt.texi: Likewise.
39247 * manual/errno.texi: Likewise.
39248 * manual/filesys.texi: Likewise.
39249 * manual/header.texi: Likewise.
39250 * manual/install.texi: Likewise.
39251 * manual/intro.texi: Likewise.
39252 * manual/io.texi: Likewise.
39253 * manual/job.texi: Likewise.
39254 * manual/lang.texi: Likewise.
39255 * manual/libc.texiinfo: Likewise.
39256 * manual/llio.texi: Likewise.
39257 * manual/locale.texi: Likewise.
39258 * manual/maint.texi: Likewise.
39259 * manual/math.texi: Likewise.
39260 * manual/memory.texi: Likewise.
39261 * manual/message.texi: Likewise.
39262 * manual/nss.texi: Likewise.
39263 * manual/pattern.texi: Likewise.
39264 * manual/process.texi: Likewise.
39265 * manual/resource.texi: Likewise.
39266 * manual/search.texi: Likewise.
39267 * manual/setjmp.texi: Likewise.
39268 * manual/signal.texi: Likewise.
39269 * manual/socket.texi: Likewise.
39270 * manual/startup.texi: Likewise.
39271 * manual/stdio.texi: Likewise.
39272 * manual/string.texi: Likewise.
39273 * manual/sysinfo.texi: Likewise.
39274 * manual/syslog.texi: Likewise.
39275 * manual/terminal.texi: Likewise.
39276 * manual/time.texi: Likewise.
39277 * manual/users.texi: Likewise.
39278 * INSTALL: Regenerated.
39279 * NOTES: Regenerated.
d40c5d54 39280 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39281
450bf206
AS
392822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39283
39284 * include/dirent.h: Include <dirstream.h> before
39285 <dirent/dirent.h>.
39286
741a235b
DM
392872012-02-28 David S. Miller <davem@davemloft.net>
39288
39289 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39290 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39291 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39292 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39293
d6b5aa58
DM
392942012-02-27 David S. Miller <davem@davemloft.net>
39295
1aff59a3
DM
39296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39298 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39299 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39300
d6b5aa58
DM
39301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39302 frame pointer instead of stack pointer relative arg slot.
39303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39304 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39305 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39306
433f48bf
CD
393072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39308
39309 [BZ #3992]
39310 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39311
d674b76d
DM
393122012-02-27 David S. Miller <davem@davemloft.net>
39313
39314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39318 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39319 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39320 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39321 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39322
0e7727f7
JM
393232012-02-27 Joseph Myers <joseph@codesourcery.com>
39324
39325 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39326 later. Allow versions 5-9.
43be4ca2 39327 * configure: Regenerated.
0e7727f7
JM
39328 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39329 required minimum version and 4.6 as recommended version. Do not
39330 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39331 * INSTALL: Regenerated.
0e7727f7 39332
a78bc654
DM
393332012-02-27 David S. Miller <davem@davemloft.net>
39334
428d5830
DM
39335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39339 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39340 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39341 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39342 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39343
a78bc654
DM
39344 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39345 manipulate bits before adding and subtracting TWO112[sx].
39346 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39347
4579f81c
RM
393482012-02-27 Roland McGrath <roland@hack.frob.com>
39349
36c8acb4
RM
39350 [BZ #13775]
39351 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39352 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39353 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39354 being in POSIX, because they are in 1003.1-2008.
39355
84ad622b
RM
39356 * rt/tst-aio.c: Include <fcntl.h>.
39357 * rt/tst-aio7.c: Likewise.
39358 * rt/tst-aio64.c: Likewise.
39359
4579f81c
RM
39360 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39361
abd923db
JM
393622012-02-27 Joseph Myers <joseph@codesourcery.com>
39363
39364 * manual/install.texi (--with-headers): Describe headers as
39365 interface headers, not private headers.
39366 (Specific advice for GNU/Linux systems): Describe use of headers
39367 from "make headers_install", not private headers from older
39368 kernels.
43be4ca2 39369 * INSTALL: Regenerated.
abd923db
JM
39370 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39371 Change to 2.6.19.
39372 * sysdeps/unix/sysv/linux/configure: Regenerated.
39373
6664049b
JM
39374 * manual/llio.texi (fclean): Remove documentation.
39375
bb8b6697
JM
39376 * manual/Makefile (libc-texi-generated): New variable. Include
39377 version.texi.
39378 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39379 $(libc-texi-generated), not duplicated list of files.
39380 (version.texi, stamp-version): New rules.
39381 (realclean): Remove $(libc-texi-generated), not individual files
39382 from that list. Do not remove dir-add.texinfo.
39383 * manual/libc.texinfo: Comment out uses of edition numbers and
39384 references to printed manual. Remove last-updated dates.
39385 (EDITION): Comment out.
39386 (ISBN): Likewise.
39387 (VERSION, UPDATED): Remove.
39388 (version.texi): Include.
39389
12e5c3b9
AS
393902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39391
39392 * sysdeps/posix/spawni.c: Include <signal.h>.
39393 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39394 * sysdeps/pthread/aio_fsync.c: Likewise.
39395
4efeffc1 393962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39397
ba63ba08
UD
39398 * conform/Makefile (tests): Run only when not cross-compiling and
39399 when fast-check is not defined.
39400
d94a4670
UD
39401 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39402 * conform/data/limits.h-data: Fixes for POSIX2008.
39403 * conform/run-conformtest.sh: Run all tests.
39404 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39405 headers.
39406 * include/bits/dlfcn.h: Likewise.
39407 * include/langinfo.h: Likewise.
39408 * include/monetary.h: Likewise.
39409 * include/sys/poll.h: Likewise.
39410
39411 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39412 for __USE_GNU.
39413 * posix/spawn.h: Define __need_sigset_t.
39414 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39415 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39416 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39417 to get sigevent_t only.
39418 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39419 only for __USE_GNU.
39420 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39421 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39422 process_vm_writev only for __USE_GNU.
39423 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39424
39425 * conform/Makefile: For now ignore errors from run-conformtest.
39426 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39427 POSIX to avoid namespace pollution. Don't prepend headers.
39428 * conform/data/aio.h-data: Fixes for POSIX testing.
39429 * conform/data/fcntl.h-data: Likewise.
39430 * conform/data/glob.h-data: Likewise.
39431 * conform/data/grp.h-data: Likewise.
39432 * conform/data/pthread.h-data: Likewise.
39433 * conform/data/pwd.h-data: Likewise.
39434 * conform/data/signal.h-data: Likewise.
39435 * conform/data/spawn.h-data: Likewise.
39436 * conform/data/stdio.h-data: Likewise.
39437 * conform/data/stdlib.h-data: Likewise.
39438 * conform/data/stropts.h-data: Likewise.
39439 * conform/data/sys/mman.h-data: Likewise.
39440 * conform/data/sys/stat.h-data: Likewise.
39441 * conform/data/sys/types.h-data: Likewise.
39442 * conform/data/sys/wait.h-data: Likewise.
39443 * conform/data/time.h-data: Likewise.
39444 * conform/data/unistd.h-data: Likewise.
39445 * conform/data/utime.h-data: Likewise.
39446
39447 * io/sys/stat.h: fchmod was always in POSIX.
39448 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39449 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39450 * rt/aio.h: Define __need_timespec before including <time.h>.
39451 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39452 struct. Add forward declaration of pthread_attr_t and use it in
39453 sigevent.
39454 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39455 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39456 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39457 always remove CLK_TCK definition.
39458
c20105c3
AS
394592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39460
39461 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39462
7a270350
UD
394632012-02-25 Ulrich Drepper <drepper@gmail.com>
39464
31341567
UD
39465 * conform/run-conformtest.sh: New file.
39466 * conform/Makefile: Run run-conformtest for tests.
39467 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39468 support.
39469
39470 * conform/data/uchar.h-data: New file.
39471 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39472 * conform/data/arpa/inet.h-data: Likewise.
39473 * conform/data/assert.h-data: Likewise.
39474 * conform/data/complex.h-data: Likewise.
39475 * conform/data/cpio.h-data: Likewise.
39476 * conform/data/ctype.h-data: Likewise.
39477 * conform/data/dirent.h-data: Likewise.
39478 * conform/data/dlfcn.h-data: Likewise.
39479 * conform/data/errno.h-data: Likewise.
39480 * conform/data/fcntl.h-data: Likewise.
39481 * conform/data/float.h-data: Likewise.
39482 * conform/data/fmtmsg.h-data: Likewise.
39483 * conform/data/fnmatch.h-data: Likewise.
39484 * conform/data/ftw.h-data: Likewise.
39485 * conform/data/glob.h-data: Likewise.
39486 * conform/data/grp.h-data: Likewise.
39487 * conform/data/iconv.h-data: Likewise.
39488 * conform/data/inttypes.h-data: Likewise.
39489 * conform/data/langinfo.h-data: Likewise.
39490 * conform/data/libgen.h-data: Likewise.
39491 * conform/data/limits.h-data: Likewise.
39492 * conform/data/locale.h-data: Likewise.
39493 * conform/data/math.h-data: Likewise.
39494 * conform/data/monetary.h-data: Likewise.
39495 * conform/data/mqueue.h-data: Likewise.
39496 * conform/data/ndbm.h-data: Likewise.
39497 * conform/data/net/if.h-data: Likewise.
39498 * conform/data/netdb.h-data: Likewise.
39499 * conform/data/netinet/in.h-data: Likewise.
39500 * conform/data/nl_types.h-data: Likewise.
39501 * conform/data/poll.h-data: Likewise.
39502 * conform/data/pthread.h-data: Likewise.
39503 * conform/data/pwd.h-data: Likewise.
39504 * conform/data/regex.h-data: Likewise.
39505 * conform/data/sched.h-data: Likewise.
39506 * conform/data/search.h-data: Likewise.
39507 * conform/data/semaphore.h-data: Likewise.
39508 * conform/data/setjmp.h-data: Likewise.
39509 * conform/data/signal.h-data: Likewise.
39510 * conform/data/spawn.h-data: Likewise.
39511 * conform/data/stdarg.h-data: Likewise.
39512 * conform/data/stdio.h-data: Likewise.
39513 * conform/data/stdlib.h-data: Likewise.
39514 * conform/data/string.h-data: Likewise.
39515 * conform/data/strings.h-data: Likewise.
39516 * conform/data/stropts.h-data: Likewise.
39517 * conform/data/sys/ipc.h-data: Likewise.
39518 * conform/data/sys/mman.h-data: Likewise.
39519 * conform/data/sys/msg.h-data: Likewise.
39520 * conform/data/sys/resource.h-data: Likewise.
39521 * conform/data/sys/select.h-data: Likewise.
39522 * conform/data/sys/sem.h-data: Likewise.
39523 * conform/data/sys/shm.h-data: Likewise.
39524 * conform/data/sys/socket.h-data: Likewise.
39525 * conform/data/sys/stat.h-data: Likewise.
39526 * conform/data/sys/statvfs.h-data: Likewise.
39527 * conform/data/sys/time.h-data: Likewise.
39528 * conform/data/sys/timeb.h-data: Likewise.
39529 * conform/data/sys/times.h-data: Likewise.
39530 * conform/data/sys/types.h-data: Likewise.
39531 * conform/data/sys/uio.h-data: Likewise.
39532 * conform/data/sys/un.h-data: Likewise.
39533 * conform/data/sys/utsname.h-data: Likewise.
39534 * conform/data/sys/wait.h-data: Likewise.
39535 * conform/data/syslog.h-data: Likewise.
39536 * conform/data/tar.h-data: Likewise.
39537 * conform/data/termios.h-data: Likewise.
39538 * conform/data/utime.h-data: Likewise.
39539 * conform/data/utmpx.h-data: Likewise.
39540 * conform/data/varargs.h-data: Likewise.
39541 * conform/data/wchar.h-data: Likewise.
39542 * conform/data/wctype.h-data: Likewise.
39543 * conform/data/wordexp.h-data: Likewise.
39544
39545 * include/stropts.h: New file.
39546 * include/uchar.h: New file.
39547 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39548 * include/assert.h: Likewise.
39549 * include/ctype.h: Likewise.
39550 * include/dirent.h: Likewise.
39551 * include/dlfcn.h: Likewise.
39552 * include/fcntl.h: Likewise.
39553 * include/fnmatch.h: Likewise.
39554 * include/glob.h: Likewise.
39555 * include/grp.h: Likewise.
39556 * include/libio.h: Likewise.
39557 * include/locale.h: Likewise.
39558 * include/math.h: Likewise.
39559 * include/net/if.h: Likewise.
39560 * include/netdb.h: Likewise.
39561 * include/netinet/in.h: Likewise.
39562 * include/pthread.h: Likewise.
39563 * include/pwd.h: Likewise.
39564 * include/regex.h: Likewise.
39565 * include/sched.h: Likewise.
39566 * include/search.h: Likewise.
39567 * include/setjmp.h: Likewise.
39568 * include/signal.h: Likewise.
39569 * include/stdio.h: Likewise.
39570 * include/stdlib.h: Likewise.
39571 * include/string.h: Likewise.
39572 * include/sys/cdefs.h: Likewise.
39573 * include/sys/mman.h: Likewise.
39574 * include/sys/msg.h: Likewise.
39575 * include/sys/resource.h: Likewise.
39576 * include/sys/select.h: Likewise.
39577 * include/sys/socket.h: Likewise.
39578 * include/sys/stat.h: Likewise.
39579 * include/sys/statvfs.h: Likewise.
39580 * include/sys/time.h: Likewise.
39581 * include/sys/times.h: Likewise.
39582 * include/sys/uio.h: Likewise.
39583 * include/sys/utsname.h: Likewise.
39584 * include/sys/wait.h: Likewise.
39585 * include/termios.h: Likewise.
39586 * include/time.h: Likewise.
39587 * include/ulimit.h: Likewise.
39588 * include/unistd.h: Likewise.
39589 * include/utime.h: Likewise.
39590 * include/wchar.h: Likewise.
39591 * include/wctype.h: Likewise.
39592 * include/wordexp.h: Likewise.
39593
39594 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39595
7a270350
UD
39596 * time/time.h: TIME_UTC must be a macro.
39597 Make timespec_get available for ISO C11 only as well.
39598
7724defc
UD
395992012-02-24 Ulrich Drepper <drepper@gmail.com>
39600
39601 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39602 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39603
6b1d1d46
JM
396042012-02-24 Joseph Myers <joseph@codesourcery.com>
39605
39606 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 39607
0f8bbd69
JM
396082012-02-24 Joseph Myers <joseph@codesourcery.com>
39609
39610 * manual/texinfo.tex: Update to version 2012-01-19.16.
39611
66ab80bc
JM
396122012-02-24 Joseph Myers <joseph@codesourcery.com>
39613
39614 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39615
74981cc5
RM
396162012-02-24 Roland McGrath <roland@hack.frob.com>
39617
ee968201
RM
39618 [BZ #13738]
39619 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39620 * manual/fdl-1.3.texi: New file.
39621 * manual/fdl-1.1.texi: File removed.
39622
74981cc5
RM
39623 [BZ #13738]
39624 * manual/libc.texinfo (FDL_VERSION): New @set.
39625 Use it for mention of FDL in cover text.
39626 (Documentation License): Use it in @include file name.
39627
7bb764bc
JM
396282012-02-22 Joseph Myers <joseph@codesourcery.com>
39629 Roland McGrath <roland@hack.frob.com>
39630
39631 [BZ #5461]
57f41c40
AS
39632 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39633 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
39634 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39635 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39636 name.
39637 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39638
6cbeae47
JM
396392012-02-22 Joseph Myers <joseph@codesourcery.com>
39640
39641 [BZ #2547]
39642 [BZ #11365]
39643 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39644 manipulate bits before adding and subtracting TWO23[sx].
39645 * math/libm-test.inc (nearbyint_test): Add more tests.
39646
fe45ce09
JM
396472012-02-22 Joseph Myers <joseph@codesourcery.com>
39648
39649 [BZ #2548]
39650 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39651 bits before adding and subtracting TWO23[sx].
39652 * math/libm-test.inc (rint_test): Add more tests.
39653 (rint_test_tonearest): Likewise.
39654 (rint_test_towardzero): Likewise.
39655 (rint_test_downward): Likewise.
39656 (rint_test_upward: Likewise.
39657
ff3b3d82
JM
396582012-02-22 Joseph Myers <joseph@codesourcery.com>
39659
39660 [BZ #10110]
39661 * include/stdc-predef.h: New file. Extracted from features.h.
39662 * include/features.h: Include stdc-predef.h.
39663 * Makefile (headers): Add stdc-predef.h.
39664 * CONFORMANCE (Compiler limitations): Update.
39665
ef0aab35
JM
396662012-02-22 Joseph Myers <joseph@codesourcery.com>
39667
39668 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39669
58639409
DM
396702012-02-21 David S. Miller <davem@davemloft.net>
39671
39672 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39673 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39674
c0e70b25
DM
396752012-02-20 David S. Miller <davem@davemloft.net>
39676
39677 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39678 using a normal save/restore sequence, rather than allocating a
39679 dummy stack frame just to store a frame pointer and restore.
39680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39681
fb06851d
JM
396822012-02-21 Joseph Myers <joseph@codesourcery.com>
39683
39684 * manual/install.texi: Fix stray word in line-wrapped comment.
39685
7a8b71c3
DM
396862012-02-20 David S. Miller <davem@davemloft.net>
39687
d510c123
DM
39688 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39689 both binutils and gcc support GOTDATA.
39690
0722d7c2
DM
39691 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39692 "rd %pc" in the PIC register setup sequences.
39693
3d2b3019
DM
39694 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39695 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39696 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39697 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39698 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39700 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39701 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39703 (SYSCALL_ERROR_HANDLER): Likewise.
39704 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39705 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39707 (SYSCALL_ERROR_HANDLER): Likewise.
39708
c80098a9
DM
39709 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39710 (HAVE_GCC_GOTDATA): New.
39711 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39712 relocation support in both binutils and gcc.
39713 * sysdeps/sparc/elf/configure: Regenerate.
39714
3a2545a0
DM
39715 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39716 * sysdeps/sparc/sparc32/elf/configure: Delete.
39717 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39718 * sysdeps/sparc/sparc64/elf/configure: Delete.
39719 * sysdeps/sparc/elf/configure.in: New file.
39720 * sysdeps/sparc/elf/configure: Generate.
39721
7a8b71c3
DM
39722 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39723 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39724 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39725 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39726 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39727
f1e86fca
JM
397282012-02-21 Joseph Myers <joseph@codesourcery.com>
39729
39730 * manual/install.texi: Do not mention specific glibc version
39731 numbers.
39732 * manual/libc.texinfo (VERSION, UPDATED): Update.
39733 (@copying): Use @copyright{} and range of years.
39734
0e7dfaef
JM
397352012-02-21 Joseph Myers <joseph@codesourcery.com>
39736
39737 [BZ #13695]
39738 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39739 [crti.S not in sysdirs] (generated): Do not append.
39740 [crti.S not in sysdirs] (omit-deps): Likewise.
39741 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39742 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39743 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39744 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39745 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39746 Likewise.
39747 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39748 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39749 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39750 * csu/defs.awk: Remove file.
39751 * sysdeps/generic/initfini.c: Likewise.
39752 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39753 variable.
39754 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39755 Likewise.
39756
599af3ca
JM
397572012-02-20 Joseph Myers <joseph@codesourcery.com>
39758
39759 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39760 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39761 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39762 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39763 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39764 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39765 <bits/epoll.h>.
39766 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39767 (__EPOLL_PACKED): Define to empty if not defined by
39768 <bits/epoll.h>.
39769 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39771 bits/epoll.h.
39772
0e499750
JM
397732012-02-20 Joseph Myers <joseph@codesourcery.com>
39774
39775 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39776 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39777 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39778 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39779 <bits/timerfd.h>.
39780 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39782 bits/timerfd.h.
39783
5ad91f6e
JM
397842012-02-20 Joseph Myers <joseph@codesourcery.com>
39785
39786 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39787 in C locale.
39788 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39789 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39790 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39792
06b99b02
AJ
397932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39794
39795 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39796 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39797
7638c0fd
AS
397982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39799
39800 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39801 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39802 defined.
39803 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39804 Likewise.
39805 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39806 entry for 2.16.
39807
92221550
AJ
398082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39809
39810 * math/w_acos.c: Use non-signaling floating-point comparisons.
39811 * math/w_acosf.c: Likewise.
39812 * math/w_acosh.c: Likewise.
39813 * math/w_acoshf.c: Likewise.
39814 * math/w_acoshl.c: Likewise.
39815 * math/w_acosl.c: Likewise.
39816 * math/w_asin.c: Likewise.
39817 * math/w_asinf.c: Likewise.
39818 * math/w_asinl.c: Likewise.
39819 * math/w_atanh.c: Likewise.
39820 * math/w_atanhf.c: Likewise.
39821 * math/w_atanhl.c: Likewise.
39822 * math/w_exp2.c: Likewise.
39823 * math/w_exp2f.c: Likewise.
39824 * math/w_exp2l.c: Likewise.
39825 * math/w_j0.c: Likewise.
39826 * math/w_j0f.c: Likewise.
39827 * math/w_j0l.c: Likewise.
39828 * math/w_j1.c: Likewise.
39829 * math/w_j1f.c: Likewise.
39830 * math/w_j1l.c: Likewise.
39831 * math/w_jn.c: Likewise.
39832 * math/w_jnf.c: Likewise.
39833 * math/w_log.c: Likewise.
39834 * math/w_log10.c: Likewise.
39835 * math/w_log10f.c: Likewise.
39836 * math/w_log10l.c: Likewise.
39837 * math/w_log2.c: Likewise.
39838 * math/w_log2f.c: Likewise.
39839 * math/w_log2l.c: Likewise.
39840 * math/w_logf.c: Likewise.
39841 * math/w_logl.c: Likewise.
39842 * math/w_sqrt.c: Likewise.
39843 * math/w_sqrtf.c: Likewise.
39844 * math/w_sqrtl.c: Likewise.
39845 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39846 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39848 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39849 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39850
ebaf36eb
JM
398512012-02-19 Joseph Myers <joseph@codesourcery.com>
39852
39853 [BZ #9739]
39854 * manual/string.texi (strnlen): Use correct parameter name in
39855 equivalent expression.
39856
71c254a6
JM
398572012-02-19 Joseph Myers <joseph@codesourcery.com>
39858
39859 [BZ #11174]
39860 * manual/users.texi (seteuid): Consistently use neweuid for
39861 argument name.
39862
16d2c631
JM
398632012-02-19 Joseph Myers <joseph@codesourcery.com>
39864
39865 [BZ #13704]
39866 * manual/nss.texi (Services in the NSS configuration): Correct
39867 list of services in example configuration file.
39868
cd837b09
NB
398692012-02-19 Nick Bowler <nbowler@draconx.ca>
39870
39871 [BZ #11322]
39872 * manual/arith.texi: Remove statements about negative zero
39873 behaving identically to zero.
39874
02c4bbad
JM
398752012-02-18 Joseph Myers <joseph@codesourcery.com>
39876
39877 [BZ #5993]
39878 * manual/install.texi: Do not document upgrading from libc5.
39879
366842e7
JM
398802012-02-18 Joseph Myers <joseph@codesourcery.com>
39881
39882 [BZ #4596]
39883 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39884
dd54084d
DM
398852012-02-18 David S. Miller <davem@davemloft.net>
39886
39887 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39888 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39889 %o7 across the call.
39890 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39891 instead.
39892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39893 SETUP_PIC_REG_LEAF.
39894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39895 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39896 * sysdeps/sparc/crtn.S: Likewise.
39897
2bcc53a3
UD
398982012-02-17 Ulrich Drepper <drepper@gmail.com>
39899
39900 * aout/Makefile: Remove.
39901
09c093b5
RK
399022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39903
39904 [BZ #13058]
39905 * manual/examples/argp-ex1.c (main): Format definition in GNU
39906 style.
39907 * manual/examples/argp-ex2.c (main): Likewise.
39908 * manual/examples/argp-ex3.c (main): Likewise.
39909 * manual/examples/argp-ex4.c (main): Likewise.
39910 * manual/examples/longopt.c (main): Use new-style prototype
39911 definition.
39912 * manual/examples/strncat.c (main): Specify return type and use
39913 (void) for arguments.
39914 * manual/examples/subopt.c (main): Use char **argv argument.
39915
2ee633a2
JM
399162012-02-17 Joseph Myers <joseph@codesourcery.com>
39917
39918 [BZ #5077]
39919 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39920 rounding modes.
39921
0520adde
FB
399222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39923
39924 [BZ #6907]
39925 * manual/string.texi (strchr): Change when strchrnul is
39926 recommended.
39927
3f4081cd
DGM
399282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39929
39930 [BZ #174]
39931 * manual/locale.texi (setlocale): Document LOCPATH.
39932
d1b10e78
JM
399332012-02-17 Joseph Myers <joseph@codesourcery.com>
39934
39935 [BZ #10210]
39936 * manual/process.texi (execle): Move @dots{} before last argument.
39937
79c6869c
PB
399382012-02-17 Paul Bolle <pebolle@tiscali.nl>
39939
39940 [BZ #12047]
39941 * manual/charset.texi (Generic Charset Conversion): Fix typo
39942 (LC_TYPE -> LC_CTYPE).
39943
cc6e48bc
NB
399442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39945
39946 [BZ #5805]
39947 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39948 (scalbnf): Likewise.
39949 (scalbnl): Likewise.
39950 (scalbln): Likewise.
39951 (scalblnf): Likewise.
39952 (scalblnl): Likewise.
39953 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39954 (vwarnx): Likewise.
39955 (verr): Likewise.
39956 (verrx): Likewise.
39957 * manual/filesys.texi (telldir): Use braces around return type.
39958 * manual/llio.texi (mmap): Add space after comma.
39959 (mmap64): Likewise.
39960 * manual/math.texi (jn): Use @var{} on parameter names.
39961 (jnf): Likewise.
39962 (jnl): Likewise.
39963 (yn): Likewise.
39964 (ynf): Likewise.
39965 (ynl): Likewise.
39966 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39967 line.
39968 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39969 "...".
39970 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39971 (sched_get_priority_max): Likewise.
39972 * manual/signal.texi (sigvec): Add space after comma.
39973 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39974 names.
39975 (if_indextoname): Likewise.
39976 (if_freenameindex): Likewise.
39977 (sendto): Use ',' instead of '.' in prototype.
39978 * manual/startup.texi (syscall): Use @dots{} instead of literal
39979 "...".
39980 * manual/stdio.texi (__fpending): Separate initial words of
39981 paragraph from @deftypefun line.
39982 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39983 "...".
39984 (vsyslog): Use @var{} on parameter names.
39985 * manual/terminal.texi (stty): Use @var{} on parameter names.
39986 * manual/users.texi (getutmp): Use @var{} on parameter names.
39987 (getutmpx): Likewise.
39988
5b23062f
JM
399892012-02-17 Joseph Myers <joseph@codesourcery.com>
39990
39991 [BZ #6884]
39992 * manual/stdio.texi (fopen): Fix typos in description of
39993 ",ccs=STRING".
39994
8dee4833
AJ
399952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39996
39997 [BZ #4026]
39998 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39999 get clock_id definition.
40000
9078ce93
TS
400012012-02-17 Thomas Schwinge <thomas@schwinge.name>
40002
40003 [BZ #4822]
40004 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40005 (madvise): Cast every argument to void on its own.
40006
3835c55f
JM
400072012-02-17 Joseph Myers <joseph@codesourcery.com>
40008
40009 [BZ #9902]
40010 * manual/startup.texi (Exit Status): Fix typo.
40011
35c47e37
JM
400122012-02-17 Joseph Myers <joseph@codesourcery.com>
40013
40014 [BZ #10140]
40015 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40016 * manual/examples/argp-ex2.c: Likewise.
40017 * manual/examples/argp-ex3.c: Likewise.
40018
e3b69ca7
RH
400192012-02-16 Richard Henderson <rth@redhat.com>
40020
40021 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40022 * sysdeps/s390/s390-32/initfini.c: Remove.
40023 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40024 * sysdeps/s390/s390-64/initfini.c: Remove.
40025
df83af67
KK
400262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40027
40028 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40029 compiler output for sysdeps/generic/initfini.c.
40030 * sysdeps/sh/elf/initfini.c: Remove file.
40031
f63f3380
DM
400322012-02-16 David S. Miller <davem@davemloft.net>
40033
fb59b3a4
DM
40034 [BZ #11494]
40035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40036
f63f3380
DM
40037 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40038 * sysdeps/sparc/crti.S: New file.
40039 * sysdeps/sparc/crtn.S: New file.
40040 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40041 * sysdeps/sparc/sparc64/Makefile: Likewise.
40042
df6a4a4a
MF
400432012-02-15 Mike Frysinger <vapier@gentoo.org>
40044
6dd8f3dc 40045 [BZ #3335]
df6a4a4a
MF
40046 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40047
1cac7236
RM
400482012-02-15 Roland McGrath <roland@hack.frob.com>
40049
d2c736f8
RM
40050 [BZ #4822]
40051 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40052
1cac7236
RM
40053 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40054 (write, read, close): Likewise.
40055 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40056
8e475601
JM
400572012-02-15 Joseph Myers <joseph@codesourcery.com>
40058
40059 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40060 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40061 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40062 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40063 <bits/signalfd.h>.
40064 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40066 bits/signalfd.h.
40067
ed656b40
MP
400682012-02-14 Marek Polacek <polacek@redhat.com>
40069
40070 * sysdeps/x86_64/crti.S: New file.
40071 * sysdeps/x86_64/crtn.S: New file.
40072 * sysdeps/x86_64/elf/initfini.c: Remove file.
40073
2a979d3a
JM
400742012-02-13 Joseph Myers <joseph@codesourcery.com>
40075
40076 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40077 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40078 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40079 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40080 <bits/inotify.h>.
40081 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40083 bits/inotify.h.
40084
2a418ac3
JM
400852012-02-13 Joseph Myers <joseph@codesourcery.com>
40086
40087 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40088 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40089 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40090 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40091 <bits/eventfd.h>.
40092 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40094 bits/eventfd.h.
40095
fb779be7
TS
400962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40097
e19e83c5
RM
40098 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40099 __feraiseexcept instead of feraiseexcept.
7c35ffed 40100
fb779be7
TS
40101 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40102 nanosleep invocations.
40103 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40104 strings, and add error checking for a nanosleep invocations.
40105
59ba27a6
PE
401062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40107
40108 Replace FSF snail mail address with URLs, as per GNU coding standards.
40109 Most of the snail mail addresses were wrong anyway, and omitting
40110 them makes the source code easier to maintain. Almost all of the
40111 changes are to license notices and to locale LC_IDENTIFICATION
40112 addresses, except for this one:
40113 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40114 not its snail mail address.
40115
57b957eb
RH
401162012-02-09 Richard Henderson <rth@twiddle.net>
40117
af850b1c
RH
40118 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40119 of kernel-features.h.
40120
57b957eb
RH
40121 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40122
6b73181a
MP
401232012-02-08 Marek Polacek <polacek@redhat.com>
40124
40125 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40126 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40127 * sysdeps/gnu/_G_config.h: Likewise.
40128 * sysdeps/generic/_G_config.h: Likewise.
40129
26ecc33a
AS
401302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40131
6c6dbc63
AS
40132 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40133 tests.
40134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40135
e216c012
AS
40136 * sysdeps/powerpc/powerpc32/crti.S: New file.
40137 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40138 * sysdeps/powerpc/powerpc64/crti.S: New file.
40139 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40140
26ecc33a
AS
40141 * Makeconfig (have-initfini): Don't set.
40142 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40143 * configure.in (nopic_initfini): Don't substitute.
40144 * config.h.in (HAVE_INITFINI): Don't #undef.
40145 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40146 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40147
3add8e13
JM
401482012-02-08 Joseph Myers <joseph@codesourcery.com>
40149
40150 Support crti.S and crtn.S provided directly by architectures.
40151 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40152 [crti.S in sysdirs] (omit-deps): Likewise.
40153 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40154 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40155 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40156 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40157 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40158 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40159 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40160 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40161 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40162 compiler output for sysdeps/generic/initfini.c.
40163 * sysdeps/i386/elf/Makefile: Remove file.
40164 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40165
a22f12b4
MP
401662012-02-07 Marek Polacek <polacek@redhat.com>
40167
40168 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40169 * sysdeps/gnu/_G_config.h: Likewise.
40170 * sysdeps/mach/hurd/_G_config.h: Likewise.
40171
148cf100
MP
401722012-02-07 Marek Polacek <polacek@redhat.com>
40173
40174 * math/Makefile (tests): Add tst-CMPLX2.
40175 * math/tst-CMPLX2.c: New file.
40176
cfdc0dd7
AS
401772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40178
84ba42c4
AS
40179 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40180
cfdc0dd7
AS
40181 * math/libm-test.inc (jn_test): Add missing L suffix.
40182
622c86f4
MP
401832012-02-06 Marek Polacek <polacek@redhat.com>
40184
40185 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40186 * sysdeps/i386/fpu/e_powf.S: Likewise.
40187 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40188 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40189 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40190 * sysdeps/i386/fpu/e_pow.S: Likewise.
40191 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40192 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40193 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40194 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40195 * sysdeps/i386/fpu/e_log2.S: Likewise.
40196 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40197 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40198 * sysdeps/i386/fpu/e_powl.S: Likewise.
40199 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40200 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40201 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40202 * sysdeps/i386/fpu/e_logl.S: Likewise.
40203 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40204 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40205 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40206 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40207 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40208 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40209 * sysdeps/i386/fpu/e_log.S: Likewise.
40210 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40211 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40212 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40213 * sysdeps/i386/fpu/e_logf.S: Likewise.
40214 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40215 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40216 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40217 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40218 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40219 * sysdeps/i386/fpu/e_log10.S: Likewise.
40220 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40221 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40222 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40223 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40224 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40225 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40226 * sysdeps/i386/asm-syntax.h: Likewise.
40227 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40228 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40229 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40230 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40231 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40232 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40233 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40234 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40235 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40236 * sysdeps/powerpc/sysdep.h: Likewise.
40237 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40238 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40239
d4a54ac6
JM
402402012-02-06 Joseph Myers <joseph@codesourcery.com>
40241
40242 [BZ #411]
40243 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40244
314054ea
JM
402452012-02-06 Joseph Myers <joseph@codesourcery.com>
40246
40247 * sysdeps/i386/sysdep.h: Include <features.h>.
40248 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40249 version.
40250
d8e0ca50
JM
402512012-02-05 Joseph Myers <joseph@codesourcery.com>
40252
40253 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40254 Define.
40255 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40256 LOAD_PIC_REG_STR.
40257
b1da7dd9
JM
402582012-02-03 Joseph Myers <joseph@codesourcery.com>
40259
40260 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40261 (SETUP_PIC_REG): Use GET_PC_THUNK.
40262 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40263 macro.
40264
9a1d9254
JM
402652012-02-03 Joseph Myers <joseph@codesourcery.com>
40266
40267 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40268 for non-PIC compilation.
40269 (SETUP_PIC_REG): Add .p2align directive.
40270 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40271 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40272 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40273 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40274 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40275 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40277 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40278 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40279 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40280 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40281 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40282 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40283 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40284 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40285 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40286 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40287 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40288 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40289 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40290 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40291 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40292 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40293 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40296 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40298 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40299 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40300 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40301 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40302 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40303 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40304 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40305 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40306 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40307 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40308 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40309 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40310 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40311
65dc3b75
JM
403122012-02-03 Joseph Myers <joseph@codesourcery.com>
40313
40314 * math/tst-CMPLX.c: Include <stdio.h>.
40315
d55bf177
JM
403162012-01-31 Joseph Myers <joseph@codesourcery.com>
40317
40318 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40319 float.
40320 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40321 * sysdeps/sparc/bits/mathdef.h: Likewise.
40322
69db4f8f
MP
403232012-01-31 Marek Polacek <polacek@redhat.com>
40324
40325 * libio/libio.h: Don't define _PARAMS.
40326 * locale/programs/config.h: Don't define PARAMS.
40327 * stdlib/strtol_l.c: Likewise.
40328 (__strtol_l): Remove PARAMS from the prototype.
40329
41b81892
UD
403302012-01-31 Ulrich Drepper <drepper@gmail.com>
40331
3b49edc0
UD
40332 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40333 names. Just use the correct names. Remove unnecessary wrapper
40334 functions.
40335 * malloc/arena.c: Likewise.
40336 * malloc/hooks.c: Likewise.
40337
41b81892
UD
40338 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40339 ARENA_TEST says not to. Simplify test for creation of a new arena.
40340 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40341
27a25b6e
UD
403422012-01-30 Ulrich Drepper <drepper@gmail.com>
40343
40344 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40345 into tail calls.
40346 (update_get_addr): New function.
40347 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40348 GET_ADDR_MODULE parameter.
40349
c8a89e7d
JM
403502012-01-30 Joseph Myers <joseph@codesourcery.com>
40351
40352 * crypt/cert.c: Remove __STDC__ conditionals.
40353 * crypt/crypt-entry.c: Likewise.
40354 * crypt/crypt_util.c: Likewise.
40355 * libio/filedoalloc.c: Likewise.
40356 * libio/fileops.c: Likewise.
40357 * libio/genops.c: Likewise.
40358 * libio/iofclose.c: Likewise.
40359 * libio/iofdopen.c: Likewise.
40360 * libio/iofopen.c: Likewise.
40361 * libio/iofopen64.c: Likewise.
40362 * libio/iogetdelim.c: Likewise.
40363 * libio/iopopen.c: Likewise.
40364 * libio/obprintf.c: Likewise.
40365 * libio/oldfileops.c: Likewise.
40366 * libio/oldiofclose.c: Likewise.
40367 * libio/oldiofdopen.c: Likewise.
40368 * libio/oldiofopen.c: Likewise.
40369 * libio/oldiopopen.c: Likewise.
40370 * libio/wfiledoalloc.c: Likewise.
40371 * libio/wgenops.c: Likewise.
40372 * locale/programs/xmalloc.c: Likewise.
40373 * misc/syslog.c: Likewise.
40374 * stdio-common/xbug.c: Likewise.
40375 * string/memchr.c: Likewise.
40376 * string/memcmp.c: Likewise.
40377 * string/memrchr.c: Likewise.
40378 * string/rawmemchr.c: Likewise.
40379 * sysdeps/posix/getcwd.c: Likewise.
40380 * time/strftime_l.c: Likewise.
40381
3b100462
JM
403822012-01-30 Joseph Myers <joseph@codesourcery.com>
40383
40384 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40385 * config.make.in (config-cflags-sse2avx): Define.
40386 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40387 Fix typo.
40388
607998af
CM
403892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40390
40391 * scripts/config.guess: Update from upstream config git repository.
40392 * scripts/config.sub: Likewise.
40393
3601428f
CM
403942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40395
3ac8b282
CM
40396 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40397 (EM_NUM): Update.
40398 (R_TILEPRO_*, R_TILEGX_*): New macros.
40399
e034841e
CM
40400 * scripts/firstversions.awk: Fix bug in version range handling.
40401
540d7568
CM
40402 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40403
3601428f
CM
40404 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40405
463de862
CM
40406 * include/sys/epoll.h: New file.
40407 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40408 libc_hidden_def.
40409
73139a76
UD
404102012-01-28 Ulrich Drepper <drepper@gmail.com>
40411
96bc5b45
UD
40412 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40413 Avoid unnecessary __WORDSIZE == 64 test.
40414 (fmaxf): Use VEX format if possible.
40415 (fmax): Likewise.
40416 (fminf): Likewise.
40417 (fmin): Likewise.
40418
56f6f6a2
UD
40419 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40420 * math/math_private.h: Remove libc_fegetround* and
40421 libc_fesetround*.
40422 * sysdeps/i386/configure.in: Check for -msse2avx.
40423 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40424 also if SSE2AVX is defined.
40425 Remove libc_fegetround* and libc_fesetround*.
40426 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40427 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40429 of HAS_YMM_USABLE.
40430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40435
73139a76
UD
40436 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40437
d73f93a4
AZ
404382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40439
40440 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40441 size is not set.
40442 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40443
6ee65ed6
UD
404442012-01-27 Ulrich Drepper <drepper@gmail.com>
40445
40446 [BZ #13618]
40447 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40448 relocation.
40449 * Makeconfig (libm): Define.
40450 * elf/Makefile: Add rules to build and run tst-relsort1.
40451 * elf/tst-relsort1.c: New file.
40452 * elf/tst-relsort1mod1.c: New file.
40453 * elf/tst-relsort1mod2.c: New file.
40454
8db21882
JM
404552012-01-27 Joseph Myers <joseph@codesourcery.com>
40456
40457 * math/s_ldexp.c: Remove __STDC__ conditionals.
40458 * math/s_ldexpf.c: Likewise.
40459 * math/s_ldexpl.c: Likewise.
40460 * math/s_nextafter.c: Likewise.
40461 * math/s_nexttowardf.c: Likewise.
40462 * math/s_significand.c: Likewise.
40463 * math/s_significandf.c: Likewise.
40464 * math/s_significandl.c: Likewise.
40465 * math/w_jnl.c: Likewise.
40466 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40467 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40468 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40469 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40470 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40471 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40472 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40478 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40480 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40481 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40485 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40486 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40487 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40488 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40490 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40491 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40492 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40493 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40494 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40495 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40496 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40497 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40498 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40499 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40500 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40501 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40502 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40503 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40504 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40505 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40506 * sysdeps/ieee754/k_standard.c: Likewise.
40507 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40511 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40512 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40513 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40514 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40515 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40516 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40517 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40518 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40519 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40521 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40524 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40525 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40526 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40529 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40530 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40531 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40532 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40536 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40537 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40538 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40539 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40540 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40541 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40542 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40543 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40544 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40545 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40546 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40547 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40549 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40550 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40551 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40552 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40556 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40557 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40558 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40559 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40560 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40561 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40562 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40563 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40564 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40565 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40566 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40567 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40568 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40569 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40571 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40572 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40573 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40574 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40575 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40576 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40577 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40578 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40579 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40580 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40581 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40582 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40583 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40584 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40585 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40586 * sysdeps/ieee754/s_matherr.c: Likewise.
40587 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40588 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40589 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40590 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40591
965a54a4
JM
405922012-01-26 Joseph Myers <joseph@codesourcery.com>
40593
40594 * crypt/md5.h: Remove __STDC__ conditionals.
40595 * libio/libioP.h: Likewise.
40596 * locale/programs/config.h: Likewise.
40597 * sysdeps/generic/sysdep.h: Likewise.
40598 * sysdeps/i386/asm-syntax.h: Likewise.
40599 * sysdeps/s390/asm-syntax.h: Likewise.
40600 * sysdeps/unix/sysdep.h: Likewise.
40601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40603
7071ad79
JM
406042012-01-26 Joseph Myers <joseph@codesourcery.com>
40605
40606 * libio/libio.h: Remove __STDC__ conditionals.
40607 * malloc/obstack.h: Likewise.
40608 * math/complex.h: Likewise.
40609 * math/math.h: Likewise.
40610 * sysdeps/generic/_G_config.h: Likewise.
40611 * sysdeps/gnu/_G_config.h: Likewise.
40612 * sysdeps/mach/hurd/_G_config.h: Likewise.
40613 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40614 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40615 * sysdeps/sparc/bits/mathdef.h: Likewise.
40616
afc5ed09
UD
406172012-01-26 Ulrich Drepper <drepper@gmail.com>
40618
40619 [BZ #13583]
40620 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 40621 Clean up HAS_* macros.
afc5ed09 40622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
40623 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40624 possible.
40625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40626 HAS_AVX.
40627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40628 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40630 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 40632
bdb6de1d
JM
406332012-01-25 Joseph Myers <joseph@codesourcery.com>
40634
40635 * elf/tst-unique3.cc (gets): Remove declaration.
40636 * elf/tst-unique3lib.cc (gets): Likewise.
40637 * elf/tst-unique3lib2.cc (gets): Likewise.
40638 * elf/tst-unique4.cc (gets): Likewise.
40639
b15549e6
UD
406402012-01-24 Ulrich Drepper <drepper@gmail.com>
40641
40642 * include/stdio.h: Add C++ protection. Add gets declarations and
40643 definitions.
40644 * debug/tst-chk1.c: Don't declare gets here.
40645 * stdio-common/tst-gets.c: Likewise.
40646
a037381f
JM
406472012-01-24 Joseph Myers <joseph@codesourcery.com>
40648
40649 * posix/glob: Remove directory.
40650
f1d4aa75
JM
406512012-01-24 Joseph Myers <joseph@codesourcery.com>
40652
40653 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40654
81c0c964
PT
406552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40656
40657 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40658 of the non-standard EPFNOSUPPORT.
40659
0ea698ae
ST
406602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40661
40662 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40663 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40664 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40665
d220b117
UD
406662012-01-21 Ulrich Drepper <drepper@gmail.com>
40667
40668 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40669
3e1aa84e
UD
406702012-01-20 Ulrich Drepper <drepper@gmail.com>
40671
40672 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40673 transient errors.
40674 * nscd/grpcache.c (cache_addgr): Likewise.
40675 * nscd/hstcache.c (cache_addhst): Likewise.
40676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40677 * nscd/pwdcache.c (cache_addpw): Likewise.
40678 * nscd/servicescache.c (cache_addserv): Likewise.
40679
400aa020
UD
406802012-01-16 Ulrich Drepper <drepper@gmail.com>
40681
d77e7869
UD
40682 * malloc/malloc.c: Various cleanups.
40683 * malloc/hooks.c: Likewise.
40684
400aa020
UD
40685 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40686 * stdlib/bug-fmtmsg1.c: New file.
40687
40688 * stdlib/fmtmsg.c (init): Add missing unlock.
40689 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40690
e0a309cf
MP
406912012-01-12 Marek Polacek <polacek@redhat.com>
40692
40693 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40694 and _GNU_SOURCE.
40695
929d11c7
WS
406962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40697
40698 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40699 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40700 macro to ensure uniqueness of label name.
40701 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40702 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40703
41d0e869
UD
407042012-01-11 Ulrich Drepper <drepper@gmail.com>
40705
0cc5ed3b
UD
40706 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40707
41d0e869
UD
40708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40709 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40710 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40712
a47a831a
UD
407132012-01-10 Ulrich Drepper <drepper@gmail.com>
40714
daa891c0
UD
40715 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40716
40717 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40718 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40719 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40720
e58ef0f2
UD
40721 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40722
a47a831a 40723 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
40724 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40725 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 40726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
40727
40728 * math/bits/math-finite.h: Add ldexp support.
40729
a0bfc9c7
MP
407302012-01-10 Marek Polacek <polacek@redhat.com>
40731
40732 * locale/programs/localedef.h (show_archive_content): Add noreturn
40733 attribute.
40734
d6e97a1d
UD
407352012-01-09 Ulrich Drepper <drepper@gmail.com>
40736
40737 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40738
d5835c26
UD
407392012-01-08 Ulrich Drepper <drepper@gmail.com>
40740
e5f484c6
UD
40741 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40742
d5835c26
UD
40743 * io/Makefile (headers): Add bits/poll2.h.
40744
d1f741e9
WS
407452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40746
40747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40748 typo #include statement.
40749
ec09c1c4
UD
407502012-01-08 Ulrich Drepper <drepper@gmail.com>
40751
40752 * include/sys/cdefs.h: Define __attribute_alloc_size.
40753 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40754 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40755 * elf/pldd.c: Likewise.
40756 * iconv/iconv_charmap.c: Likewise.
40757 * iconv/iconvconfig.c: Likewise.
40758 * iconv/strtab.c: Likewise.
40759 * locale/programs/locale.c: Likewise.
40760 * locale/programs/localedef.h: Likewise.
40761 * locale/programs/simple-hash.c: Likewise.
40762 * nscd/nscd.h: Likewise.
40763 * nss/makedb.c: Likewise.
40764 * sysdeps/generic/ldconfig.h: Likewise.
40765 * locale/programs/localedef.c: Remove xmalloc prototype.
40766 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40767
20b38e03
PP
407682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40769
40770 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40771 appropriate.
40772
a0da5fe1
UD
407732012-01-08 Ulrich Drepper <drepper@gmail.com>
40774
1d5a644a 40775 * math/Makefile (tests): Add tst-CMPLX.
669704fd 40776 * math/tst-CMPLX.c: New file.
1d5a644a 40777
8784a6db
UD
40778 * math/complex.h (CMPLXL): Fix typo.
40779
d9a216c0
UD
40780 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40781 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40782 GLIBC_2.16.
40783 * debug/tst-chk1.c: Add poll and ppoll tests.
40784 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40785 * include/sys/poll.h: Add hidden proto for ppoll.
40786 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40787 * sysdeps/mach/hurd/ppoll.c: Likewise.
40788 * io/ppoll.c: Likewise.
40789 * debug/poll_chk.c: New file.
40790 * debug/ppoll_chk.c: New file.
40791 * include/bits/poll2.h: New file.
40792 * io/bits/poll2.h: New file.
40793
ac097f5c
UD
40794 [BZ #1350]
40795 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40796
2119dcfa
UD
40797 * configure.in: static is always set to yes. Remove.
40798 * config.make.in: Don't set build-static.
40799 * Makeconfig: Remove use of build-static.
40800 * dlfcn/Makefile: Likewise.
40801 * elf/Makefile: Likewise.
40802 * math/Makefile: Likewise.
40803 * misc/Makefile: Likewise.
40804 * nptl/Makefile: Likewise.
40805 * sysdeps/mach/hurd/Makefile: Likewise.
40806
121766a9
UD
40807 * configure.in: PWD_P is not used anymore.
40808 * config.make.in: Remove PWD_P entry.
40809
51a1d39c 40810 * configure.in: Remove last remnants of RANLIB.
8720d066 40811 No need to check for signed size_t anymore.
215f4bdc
UD
40812 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40813 and IA-64.
3857022a 40814 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
40815 * aclocal.m4: Likewise.
40816
d3ed7225
UD
40817 * wcsmbs/mbrtoc16.c: Implement using towc function.
40818 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40819 * wcsmbs/wcsmbsload.c: Likewise.
40820 * iconv/gconv_simple.c: Likewise.
40821 * iconv/gconv_int.h: Likewise.
40822 * iconv/gconv_builtin.h: Likewise.
40823 * iconv/iconv_prog.c: Remove CHAR16 handling.
40824
40825 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40826
40827 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40828
a0da5fe1
UD
40829 * configure.in: Remove --with-elf and --enable-bounded options.
40830 Dont set base_machine for ia64. More non-ELF conditions removed.
40831 Remove testing and setting of leading underscore information.
40832 * config.make.in (build-bounded): Set to no.
40833 * config.h.in: Remove NO_UNDERSCORES entry.
40834 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40835 them.
40836 * csu/start.c: Remove !NO_UNDERSCORE code.
40837 * locale/localeinfo.h: Likewise.
40838 * sysdeps/generic/machine-gmon.h: Likewise.
40839 * sysdeps/generic/sysdep.h: Likewise.
40840 * sysdeps/i386/sysdep.h: Likewise.
40841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40842 * sysdeps/mach/sysdep.h: Likewise.
40843 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40844 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40845 * sysdeps/sh/sysdep.h: Likewise.
40846 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40847 * sysdeps/unix/i386/sysdep.S: Likewise.
40848 * sysdeps/unix/sparc/start.c: Likewise.
40849 * sysdeps/unix/sparc/sysdep.S: Likewise.
40850 * sysdeps/unix/sparc/sysdep.h: Likewise.
40851 * sysdeps/unix/start.c: Likewise.
40852 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40853 * sysdeps/x86_64/sysdep.h: Likewise.
40854
df78418a
UD
408552012-01-07 Ulrich Drepper <drepper@gmail.com>
40856
a784e502
UD
40857 [BZ #13553]
40858 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40859 for non-gcc.
40860 * argp/argp-fmtstream.h: Use const instead __const.
40861 * argp/argp.h: Likewise.
40862 * assert/assert.h: Likewise.
40863 * bits/fenv.h: Likewise.
40864 * bits/sched.h: Likewise.
40865 * bits/sigset.h: Likewise.
40866 * bits/sigthread.h: Likewise.
40867 * catgets/nl_types.h: Likewise.
40868 * conform/data/pthread.h-data: Likewise.
40869 * crypt/crypt-private.h: Likewise.
40870 * crypt/crypt.h: Likewise.
40871 * crypt/crypt_util.c: Likewise.
40872 * ctype/ctype.h: Likewise.
40873 * debug/execinfo.h: Likewise.
40874 * debug/mbsnrtowcs_chk.c: Likewise.
40875 * debug/mbsrtowcs_chk.c: Likewise.
40876 * debug/wcsnrtombs_chk.c: Likewise.
40877 * debug/wcsrtombs_chk.c: Likewise.
40878 * debug/wcstombs_chk.c: Likewise.
40879 * dirent/dirent.h: Likewise.
40880 * dlfcn/dlfcn.h: Likewise.
40881 * elf/neededtest4.c: Likewise.
40882 * grp/grp.h: Likewise.
40883 * gshadow/gshadow.h: Likewise.
40884 * iconv/gconv.h: Likewise.
40885 * iconv/gconv_int.h: Likewise.
40886 * iconv/gconv_simple.c: Likewise.
40887 * iconv/iconv.h: Likewise.
40888 * iconv/loop.c: Likewise.
40889 * iconv/skeleton.c: Likewise.
40890 * include/aio.h: Likewise.
40891 * include/aliases.h: Likewise.
40892 * include/argz.h: Likewise.
40893 * include/arpa/inet.h: Likewise.
40894 * include/assert.h: Likewise.
40895 * include/dirent.h: Likewise.
40896 * include/dlfcn.h: Likewise.
40897 * include/execinfo.h: Likewise.
40898 * include/fcntl.h: Likewise.
40899 * include/fenv.h: Likewise.
40900 * include/glob.h: Likewise.
40901 * include/grp.h: Likewise.
40902 * include/libintl.h: Likewise.
40903 * include/mntent.h: Likewise.
40904 * include/netdb.h: Likewise.
40905 * include/pwd.h: Likewise.
40906 * include/rpc/netdb.h: Likewise.
40907 * include/sched.h: Likewise.
40908 * include/search.h: Likewise.
40909 * include/shadow.h: Likewise.
40910 * include/signal.h: Likewise.
40911 * include/stdio.h: Likewise.
40912 * include/stdlib.h: Likewise.
40913 * include/string.h: Likewise.
40914 * include/sys/socket.h: Likewise.
40915 * include/sys/stat.h: Likewise.
40916 * include/sys/statfs.h: Likewise.
40917 * include/sys/statvfs.h: Likewise.
40918 * include/sys/syslog.h: Likewise.
40919 * include/sys/time.h: Likewise.
40920 * include/sys/uio.h: Likewise.
40921 * include/time.h: Likewise.
40922 * include/unistd.h: Likewise.
40923 * include/utmp.h: Likewise.
40924 * include/wchar.h: Likewise.
40925 * include/wctype.h: Likewise.
40926 * inet/aliases.h: Likewise.
40927 * inet/arpa/inet.h: Likewise.
40928 * inet/netinet/ether.h: Likewise.
40929 * inet/netinet/in.h: Likewise.
40930 * intl/libintl.h: Likewise.
40931 * io/bits/fcntl2.h: Likewise.
40932 * io/fcntl.h: Likewise.
40933 * io/ftw.h: Likewise.
40934 * io/sys/poll.h: Likewise.
40935 * io/sys/stat.h: Likewise.
40936 * io/sys/statfs.h: Likewise.
40937 * io/sys/statvfs.h: Likewise.
40938 * io/utime.h: Likewise.
40939 * libio/bits/stdio.h: Likewise.
40940 * libio/bits/stdio2.h: Likewise.
40941 * libio/libio.h: Likewise.
40942 * libio/libioP.h: Likewise.
40943 * libio/stdio.h: Likewise.
40944 * locale/lc-ctype.c: Likewise.
40945 * locale/locale.h: Likewise.
40946 * login/utmp.h: Likewise.
40947 * malloc/arena.c: Likewise.
40948 * malloc/malloc.c: Likewise.
40949 * malloc/malloc.h: Likewise.
40950 * malloc/mcheck.c: Likewise.
40951 * malloc/mtrace.c: Likewise.
40952 * math/bits/mathcalls.h: Likewise.
40953 * math/fenv.h: Likewise.
40954 * math/math_private.h: Likewise.
40955 * misc/bits/error.h: Likewise.
40956 * misc/bits/syslog.h: Likewise.
40957 * misc/err.h: Likewise.
40958 * misc/error.h: Likewise.
40959 * misc/fstab.h: Likewise.
40960 * misc/mntent.h: Likewise.
40961 * misc/regexp.h: Likewise.
40962 * misc/search.h: Likewise.
40963 * misc/sgtty.h: Likewise.
40964 * misc/sys/mman.h: Likewise.
40965 * misc/sys/syslog.h: Likewise.
40966 * misc/sys/uio.h: Likewise.
40967 * misc/sys/xattr.h: Likewise.
40968 * misc/ttyent.h: Likewise.
40969 * nis/rpcsvc/ypclnt.h: Likewise.
40970 * nss/nss.h: Likewise.
40971 * posix/bits/unistd.h: Likewise.
40972 * posix/fnmatch.h: Likewise.
40973 * posix/glob.h: Likewise.
40974 * posix/sched.h: Likewise.
40975 * posix/spawn.h: Likewise.
40976 * posix/sys/wait.h: Likewise.
40977 * posix/unistd.h: Likewise.
40978 * posix/wordexp.h: Likewise.
40979 * pwd/pwd.h: Likewise.
40980 * resolv/netdb.h: Likewise.
40981 * resource/sys/resource.h: Likewise.
40982 * rt/aio.h: Likewise.
40983 * rt/bits/mqueue2.h: Likewise.
40984 * rt/mqueue.h: Likewise.
40985 * shadow/shadow.h: Likewise.
40986 * signal/signal.h: Likewise.
40987 * socket/send.c: Likewise.
40988 * socket/sendto.c: Likewise.
40989 * socket/sys/socket.h: Likewise.
40990 * stdio-common/printf.h: Likewise.
40991 * stdlib/bits/stdlib.h: Likewise.
40992 * stdlib/fmtmsg.h: Likewise.
40993 * stdlib/monetary.h: Likewise.
40994 * stdlib/stdlib.h: Likewise.
40995 * stdlib/ucontext.h: Likewise.
40996 * streams/stropts.h: Likewise.
40997 * string/argz.h: Likewise.
40998 * string/bits/string2.h: Likewise.
40999 * string/string.h: Likewise.
41000 * string/strings.h: Likewise.
41001 * sunrpc/rpc/auth.h: Likewise.
41002 * sunrpc/rpc/auth_des.h: Likewise.
41003 * sunrpc/rpc/clnt.h: Likewise.
41004 * sunrpc/rpc/netdb.h: Likewise.
41005 * sunrpc/rpc/pmap_clnt.h: Likewise.
41006 * sunrpc/rpc/xdr.h: Likewise.
41007 * sysdeps/generic/inttypes.h: Likewise.
41008 * sysdeps/generic/net/if.h: Likewise.
41009 * sysdeps/generic/sys/swap.h: Likewise.
41010 * sysdeps/gnu/net/if.h: Likewise.
41011 * sysdeps/gnu/utmpx.h: Likewise.
41012 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41013 * sysdeps/i386/i486/bits/string.h: Likewise.
41014 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41015 * sysdeps/s390/bits/string.h: Likewise.
41016 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41017 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41018 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41019 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41020 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41021 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41022 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41023 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41024 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41025 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41026 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41027 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41028 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41029 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41030 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41031 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41032 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41036 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41037 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41038 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41039 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41040 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41041 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41042 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41043 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41044 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41045 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41046 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41047 * sysvipc/sys/ipc.h: Likewise.
41048 * sysvipc/sys/msg.h: Likewise.
41049 * sysvipc/sys/sem.h: Likewise.
41050 * sysvipc/sys/shm.h: Likewise.
41051 * termios/termios.h: Likewise.
41052 * time/sys/time.h: Likewise.
41053 * time/time.h: Likewise.
41054 * wcsmbs/bits/wchar2.h: Likewise.
41055 * wcsmbs/uchar.h: Likewise.
41056 * wcsmbs/wchar.h: Likewise.
41057 * wctype/wctype.h: Likewise.
41058
0269750c
UD
41059 [BZ #13551]
41060 * Makeconfig: Remove all but ELF support including AIX support.
41061 * Makerules: Likewise.
41062 * config.h.in: Likewise.
41063 * config.make.in: Likewise.
41064 * configure: Likewise.
41065 * configure.in: Likewise.
41066 * csu/Makefile: Likewise.
41067 * csu/version.c: Likewise.
41068 * debug/Makefile: Likewise.
41069 * dlfcn/Makefile: Likewise.
41070 * elf/Makefile: Likewise.
41071 * extra-lib.mk: Likewise.
41072 * iconv/Makefile: Likewise.
41073 * include/libc-symbols.h: Likewise.
41074 * include/shlib-compat.h: Likewise.
41075 * resolv/Makefile: Likewise.
41076 * resolv/res_libc.c: Likewise.
41077 * rt/Makefile: Likewise.
41078 * sysdeps/i386/asm-syntax.h: Likewise.
41079 * sysdeps/i386/sysdep.h: Likewise.
41080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41081 * sysdeps/mach/sysdep.h: Likewise.
41082 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41083 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41084 * sysdeps/s390/asm-syntax.h: Likewise.
41085 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41087 * sysdeps/sh/sysdep.h: Likewise.
41088 * sysdeps/unix/sparc/sysdep.h: Likewise.
41089 * sysdeps/wordsize-32/divdi3.c: Likewise.
41090 * sysdeps/x86_64/sysdep.h: Likewise.
41091
00bbd29b
UD
41092 * argp/Versions: Remove _argp_unlock_xxx.
41093
41094 [BZ #13559]
41095 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41096 * abilist/libBrokenLocale.abilist: Likewise.
41097 * abilist/libanl.abilist: Likewise.
41098 * abilist/libc.abilist: Likewise.
41099 * abilist/libcrypt.abilist: Likewise.
41100 * abilist/libdl.abilist: Likewise.
41101 * abilist/libm.abilist: Likewise.
41102 * abilist/libnsl.abilist: Likewise.
41103 * abilist/libpthread.abilist: Likewise.
41104 * abilist/libresolv.abilist: Likewise.
41105 * abilist/librt.abilist: Likewise.
41106 * abilist/libthread_db.abilist: Likewise.
41107 * abilist/libutil.abilist: Likewise.
41108 * abilist/libnss_db.abilist: New file.
41109
41110 * scripts/abilist.awk: Add support for indirect functions.
41111
a2693a0e
UD
41112 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41113
3f05895f
UD
41114 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41115
ecb6fb48
UD
41116 * shlib-versions: Remove entries for ports architectures.
41117
664f8cb9
UD
41118 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41119 files in ports.
41120 * elf/stackguard-macros.h: Remove support for IA-64.
41121 * elf/tst-auditmod1.c: Likewise.
41122 * sysdeps/generic/ldsodefs.h: Likewise.
41123
7ae81d88
UD
41124 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41125 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41126 configure files.
41127
bdeba135
UD
41128 [BZ #13552]
41129 * configure.in: Remove --enable-omitfp support.
41130 * FAQ.in: Adjust.
41131 * config.make.in: Likewise.
41132 * Makeconfig: Likewise.
41133 * manual/install.texi: Likewise.
41134
d75a0a62
UD
41135 In case anyone cares, the IA-64 architecture could move to ports.
41136 * sysdeps/ia64/*: Removed.
41137 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41138 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41139
dcc9756b
UD
41140 [BZ #13555]
41141 * configure.in: Remove entries for unsupported architectures.
41142
d3761ebc 41143 [BZ #13533]
9954432e
UD
41144 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41145 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41146 routines.
41147 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41148 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41149 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41150 fall back to using wcrtomb.
41151 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41152 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41153 renaming.
41154 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41155 * wcsmbs/tst-c16c32-1.c: New file.
41156
41157 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41158 local variable.
41159
c3a87236
UD
41160 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41161
28926a1b
UD
41162 * elf/tst-unique3.cc: Add explicit declaration of gets.
41163 * elf/tst-unique3lib.cc: Likewise.
41164 * elf/tst-unique3lib2.cc: Likewise.
41165 * elf/tst-unique4.cc: Likewise.
41166
df78418a
UD
41167 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41168
8ecd6b2a
JM
411692012-01-06 Joseph Myers <joseph@codesourcery.com>
41170
41171 [BZ #13566]
41172 * assert/assert.h (static_assert): Don't define for C++.
41173 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41174 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41175
9f115170
UD
411762012-01-03 Ulrich Drepper <drepper@gmail.com>
41177
5e0d0300
UD
41178 * iconv/loop.c (single loop): Fix assertion in storing of
41179 remaining bytes.
41180
9f115170
UD
41181 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41182
81fb02b0
UD
411832012-01-01 Ulrich Drepper <drepper@gmail.com>
41184
41185 * posix/getconf.c: Update copyright year.
41186 * nss/getent.c: Likewise.
a316c1f6 41187 * nss/makedb.c: Likewise.
81fb02b0
UD
41188 * iconv/iconvconfig.c: Likewise.
41189 * iconv/iconv_prog.c: Likewise.
41190 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41191 * elf/pldd.c: Likewise.
41192 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41193 * catgets/gencat.c: Likewise.
41194 * csu/version.c: Likewise.
41195 * elf/ldd.bash.in: Likewise.
41196 * elf/sprof.c (print_version): Likewise.
41197 * locale/programs/locale.c: Likewise.
41198 * locale/programs/localedef.c: Likewise.
a316c1f6 41199 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41200 * nscd/nscd.c (print_version): Likewise.
41201 * debug/xtrace.sh: Likewise.
41202 * malloc/memusage.sh: Likewise.
41203 * malloc/mtrace.pl: Likewise.
41204 * debug/catchsegv.sh: Likewise.
41205
2ba92745
JJ
412062011-12-30 Jakub Jelinek <jakub@redhat.com>
41207
41208 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41209 pure attribute.
41210
dadebdae
UD
412112011-12-24 Ulrich Drepper <drepper@gmail.com>
41212
d3761ebc 41213 [BZ #13533]
db6af3eb
UD
41214 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41215 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41216 transformations.
41217 * iconv/gconv_int.h: Likewise.
41218 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41219 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41220 from libc for GLIBC_2.16.
41221 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41222 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41223 * wcsmbs/uchar.h: Really define mbstate_t.
41224 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41225 * wcsmbs/c16rtomb.c: New file.
41226 * wcsmbs/mbrtoc16.c: New file.
41227 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41228 for C/POSIX locale.
41229 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41230 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41231
dadebdae
UD
41232 * wcsmbs/wchar.h: Add missing __restrict.
41233
67371b56
UD
412342011-12-23 Ulrich Drepper <drepper@gmail.com>
41235
74033a25
UD
41236 [BZ #13532]
41237 * time/Makefile (routines): Add timespec_get.
41238 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41239 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41240 timespec for ISO C11.
41241 * time/timespec_get.c: New file.
41242 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41243 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41244
380d7e87
UD
41245 [BZ #13531]
41246 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41247 * stdlib/stdlib.h: Declare aligned_alloc.
41248 * Versions.def: Add GLIBC_2.16 for libc.
41249 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41250
4e9e7a35
UD
41251 [BZ 13527]
41252 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41253 ISO C11.
41254
380d7e87 41255 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41256 code.
41257
03a71829
UD
41258 [BZ #13528]
41259 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41260
839e283e
UD
41261 [BZ #13529]
41262 * assert/assert.h (static_assert): Define.
41263
ce5294e2 41264 * version.h: Update for 2.16 development version.
90fa7312 41265
8d44e150 41266 [BZ #13526]
d7809905
UD
41267 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41268 _ISOC11_SOURCE.
41269
c0da14cd
UD
41270 * version.h (RELEASE): Bump for 2.15 release.
41271 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41272
530a3249
MP
41273 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41274 Patch by Marek Polacek <mpolacek@redhat.com>.
41275
67371b56
UD
41276 * bits/byteswap.h: Protect long long constants with __extension__.
41277 * sysdeps/i386/bits/byteswap.h: Likewise.
41278 * sysdeps/ia64/bits/byteswap.h: Likewise.
41279 * sysdeps/s390/bits/byteswap.h: Likewise.
41280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41281
15db4de1
LD
412822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41283
41284 [BZ #13540]
bbe315ea
LD
41285 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41286 destination buffer.
15db4de1
LD
41287 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41288
2b2596b1
MP
412892011-12-23 Marek Polacek <polacek@redhat.com>
41290
41291 * elf/dl-addr.c (determine_info): Add inline keyword.
41292 * elf/tst-auditmod4b.c (check_avx): Likewise.
41293 * elf/tst-auditmod6b.c (check_avx): Likewise.
41294 * elf/tst-auditmod6c.c (check_avx): Likewise.
41295 * elf/tst-auditmod7b.c (check_avx): Likewise.
41296
70c6c246
UD
412972011-12-23 Ulrich Drepper <drepper@gmail.com>
41298
41299 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41300 !__SSE_MATH__.
41301
c044cf14
LD
413022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41303
15db4de1 41304 [BZ #13540]
c044cf14
LD
41305 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41306 processing for last bytes.
41307
6b13d9d9
BH
413082011-08-06 Bruno Haible <bruno@clisp.org>
41309
d455f537
BH
41310 [BZ #13061]
41311 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41312 U+0385, not to U+1FEE.
41313
6b13d9d9
BH
41314 [BZ #13062]
41315 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41316 entry for U+00A5 U+0301.
41317
db910efd
UD
413182011-12-22 Ulrich Drepper <drepper@gmail.com>
41319
27deeafc
UD
41320 [BZ #13166]
41321 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41322 buffer for the output is too small.
41323
aed9d171
UD
41324 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41325 optimization.
41326
db910efd
UD
41327 [BZ #13185]
41328 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41329 SSE flags if possible.
41330
2bd779ae
LD
413312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41332
e7f9dac3 41333 [BZ #13540]
2bd779ae
LD
41334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41335 processing for last bytes.
41336
154bfc16
JM
413372011-12-22 Joseph Myers <joseph@codesourcery.com>
41338
41339 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41340 (syscall-list-default-options, syscall-list-default-condition)
41341 (syscall-list-includes): Define.
41342 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41343 list of ABIs and options and #if conditions for each ABI. Do not
41344 handle common syscalls between ABIs specially.
41345 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41346 Remove.
41347 (syscall-list-variants, syscall-list-32bit-options)
41348 (syscall-list-32bit-condition, syscall-list-64bit-options)
41349 (syscall-list-64bit-condition): Define.
41350 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41351 (syscall-list-variants, syscall-list-32bit-options)
41352 (syscall-list-32bit-condition, syscall-list-64bit-options)
41353 (syscall-list-64bit-condition): Define.
41354 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41355 Remove.
41356 (syscall-list-variants, syscall-list-32bit-options)
41357 (syscall-list-32bit-condition, syscall-list-64bit-options)
41358 (syscall-list-64bit-condition): Define.
41359 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41360 Remove.
41361 (syscall-list-variants, syscall-list-32bit-options)
41362 (syscall-list-32bit-condition, syscall-list-64bit-options)
41363 (syscall-list-64bit-condition): Define.
41364
21eaf3a5
UD
413652011-12-22 Ulrich Drepper <drepper@gmail.com>
41366
16c6f992
UD
41367 * locale/iso-639.def: Add brx entry.
41368
41043168
UD
41369 [BZ #13328]
41370 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41371 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41372
21eaf3a5
UD
41373 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41374 __feraiseexcept_renamed.
41375
e3a851a2
UD
413762011-12-21 Ulrich Drepper <drepper@gmail.com>
41377
4920765e
UD
41378 [BZ #13538]
41379 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41380 EPOLLET with unsigned values.
41381 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41382 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41383
e3a851a2
UD
41384 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41385 to large cancellation.
41386 * math/s_cacoshf.c: Likewise.
41387 * math/s_cacoshl.c: Likewise.
41388
b27e24b8
RK
413892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41390
41391 [BZ #13305]
aebefeee 41392 [BZ #12786]
b27e24b8
RK
41393 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41394 * math/s_cacoshf.c: Likewise.
41395 * math/s_cacoshl.c: Likewise.
41396
ee190f67
UD
413972011-12-21 Ulrich Drepper <drepper@gmail.com>
41398
41399 [BZ #13439]
41400 * iconv/gconv.h: Define __GCONV_SWAP.
41401 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41402 * iconvdata/utf-16.c: Likewise.
41403 * iconvdata/utf-32.c: Likewise.
41404
707f25df
AS
414052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41406
41407 [BZ #13524]
41408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41409 numerator after shifting it by one limb.
41410
d2daaa1e
RÁE
414112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41412
41413 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41414 under [__USE_EXTERN_INLINES].
41415
a4647e72
UD
414162011-12-17 Ulrich Drepper <drepper@gmail.com>
41417
41418 [BZ #13446]
41419 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41420
f0b264f1
AZ
414212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41422
41423 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41424 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41425 optimized code.
41426 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41427 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41428 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41429 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41430 for strncasecmp/strncasecmp_l compilation.
41431 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41432 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41433
8ef4f244
MP
414342011-12-08 Marek Polacek <mpolacek@redhat.com>
41435
41436 [BZ #13484]
41437 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41438 of __asm__.
41439
97ac2654
UD
414402011-12-17 Ulrich Drepper <drepper@gmail.com>
41441
41442 [BZ #13506]
41443 * time/tzfile.c (__tzfile_read): Check values from file header.
41444
91d2a845
WS
414452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41446
41447 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41448 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41449 * powerpc/powerpc32/dl-start.S: Likewise.
41450 * powerpc/powerpc32/elf/start.S: Likewise.
41451 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41452 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41453 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41454 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41455 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41456 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41457 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41458 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41459 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41460 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41461 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41462 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41463 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41464 * powerpc/powerpc32/memset.S: Likewise.
41465 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41466 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41467 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41468 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41469 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41470 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41471 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41472 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41473 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41474 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41475 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41476 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41477 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41478
a1267ba1
AZ
414792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41480
41481 * math/libm-test.inc: Added more nearbyint tests.
41482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41483 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41486
ad8ac1bd
RL
414872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41488
41489 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41490 FD_CLOEXEC.
41491
1d3e4b61
UD
414922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41493
41494 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41495 Add wcscpy-ssse3 wcscpy-c.
41496 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41497 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41498 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41499 * sysdeps/x86_64/wcschr.S: New file.
41500 * sysdeps/x86_64/wcsrchr.S: New file.
41501 * string/test-strcmp.c: Remove checking of wcscmp function for
41502 wrong alignments.
41503 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41504 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41505 wcsrchr-sse2 wcsrchr-c.
41506 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41507 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41508 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41509 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41510 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41511 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41512 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41513 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41514 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41515 * wcsmbc/wcschr.c (WCSCHR): New macro.
41516
5b330a2d
UD
415172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41518
41519 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41520 * wcsmbs/test-wcsrchr.c: New file.
41521 * string/test-strrchr.c: Add wcsrchr support.
41522 (WIDE): New macro.
41523 * wcsmbs/test-wcscpy.c: New file.
41524 * string/test-strcpy.c: Add wcscpy support.
41525 (WIDE): New macro.
26428b7c 41526
f039c043
UD
415272011-12-10 Ulrich Drepper <drepper@gmail.com>
41528
41529 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41530 the inner loop.
41531
850fb039
AS
415322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41533
41534 [BZ #13472]
41535 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41536
4efbd5cb
UD
415372011-12-04 Ulrich Drepper <drepper@gmail.com>
41538
52ff5dd0 41539 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 41540 Minor optimizations.
52ff5dd0 41541
4efbd5cb
UD
41542 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41543 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41544 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41545
8a426e12
UD
415462011-12-03 Ulrich Drepper <drepper@gmail.com>
41547
aff2453d
UD
41548 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41549 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41550 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41551 for gcc to avoid warnings.
41552 * inet/Makefile (tests): Add tst-checks.
41553 * inet/tst-checks.c: New file.
41554
41555 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41556 warning.
41557
41558 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41559 __wmemcmp_sse2.
41560
41561 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41562 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41563
8a426e12
UD
41564 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41565
9bea3473
UD
415662011-12-02 Ulrich Drepper <drepper@gmail.com>
41567
3a965496
UD
41568 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41569 problem.
41570
9bea3473
UD
41571 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41572
f101631b
UD
415732011-11-29 Joseph Myers <joseph@codesourcery.com>
41574
41575 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41576 conditional on GCC version.
41577 (__arch_compare_and_exchange_val_8_acq)
41578 (__arch_compare_and_exchange_val_16_acq)
41579 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41580 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41581 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41582
a98275aa
UD
415832011-12-02 Joseph Myers <joseph@codesourcery.com>
41584
41585 * sysdeps/sh/backtrace.c: New file.
41586
d4cc29a2
AS
415872011-12-02 Andreas Schwab <schwab@redhat.com>
41588
41589 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41590 parenthesis.
41591
6257af2d
AS
415922011-12-01 Andreas Schwab <schwab@redhat.com>
41593
41594 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41595 falling back to utime.
41596
b5f44c1a
AS
415972011-11-30 Andreas Schwab <schwab@redhat.com>
41598
41599 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41600 expectations for float.
41601
f3a6cc0a
AS
416022011-11-29 Andreas Schwab <schwab@redhat.com>
41603
41604 * locale/weight.h (findidx): Add parameter len.
41605 * locale/weightwc.h (findidx): Likewise.
41606 * posix/fnmatch_loop.c (FCT): Adjust caller.
41607 * posix/regcomp.c (build_equiv_class): Likewise.
41608 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41609 * posix/regexec.c (check_node_accept_bytes): Likewise.
41610 * string/strcoll_l.c (STRCOLL): Likewise.
41611 * string/strxfrm_l.c (STRXFRM): Likewise.
41612
9d65ea3a
UD
416132011-11-17 Ulrich Drepper <drepper@gmail.com>
41614
41615 * Makefile.in: Remove CVSOPT handling.
41616 * configure.in: Remove use of AC_REVISION.
41617 * iconvdata/Makefile (distribute): No need to filter out CVS.
41618 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41619 handling.
41620
5583a086
AS
416212011-11-16 Andreas Schwab <schwab@redhat.com>
41622
41623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41624 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41625 [USE_AS_STRNCASECMP_L]: Likewise.
41626 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41627 NO_TLS_DIRECT_SEG_REFS.
41628 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41629 Fix argument offsets for non-PIC.
41630 [USE_AS_STRNCASECMP_L]: Likewise.
41631 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41632 NO_TLS_DIRECT_SEG_REFS.
41633
d62a8200
UD
416342011-11-15 Ulrich Drepper <drepper@gmail.com>
41635
9d65ea3a 41636 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
41637 O_CLOEXEC.
41638 * locale/loadlocale.c (_nl_load_locale): Likewise.
41639
09f93bd3
AS
416402011-11-15 Andreas Schwab <schwab@redhat.com>
41641
446514f9
AS
41642 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41643 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41644 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41645 (SYSCALL_GETTIME): Set errno on error.
41646
09f93bd3
AS
41647 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41648 count references to noai6ai_cached.
41649
312be3f9
UD
416502011-11-15 Ulrich Drepper <drepper@gmail.com>
41651
41652 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41653
41654 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41655 FD_CLOEXEC for /proc/self/maps.
41656
41657 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41658 FD_CLOEXEC for /proc/meminfo.
41659
41660 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41661 gai.conf.
41662
41663 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41664 FD_CLOEXEC for given file.
41665
41666 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41667
41668 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41669 FD_CLOEXEC for /etc/hosts.
41670 (_gethtent): Likewise.
41671
41672 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41673
41674 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41675 cancellation and set FD_CLOEXEC for /etc/netgroup.
41676
41677 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41678 reading /etc/publickey.
41679
41680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41681 allow cancellation when reading /etc/group.
41682
41683 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41684 cancellation.
41685 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41686
41687 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41688 when using data file.
41689
41690 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41691
41692 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41693 (write_nis_obj): Use "c" and "e" in fopen.
41694
41695 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41696
41697 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41698
41699 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41700
41701 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41702
41703 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41704 locale.alias.
41705
41706 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41707
41708 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41709
41710 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41711
41712 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41713 file parsing and set FD_CLOEXEC.
41714
82af0fa8
UD
417152011-11-14 Ulrich Drepper <drepper@gmail.com>
41716
41717 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41718
a5fb313c
AS
417192011-11-14 Andreas Schwab <schwab@redhat.com>
41720
41721 * malloc/arena.c (arena_get2): Don't call reused_arena when
41722 _int_new_arena failed.
41723
6abf3465
UD
417242011-11-14 Ulrich Drepper <drepper@gmail.com>
41725
41726 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41727 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41728 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41729 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41730 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41731 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41732 to compile strcasecmp and strncasecmp.
41733 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41734 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41735
41736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41737
76e3966e
UD
417382011-11-13 Ulrich Drepper <drepper@gmail.com>
41739
41740 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41741 locale-defines.sym to gen-as-const-headers.
41742 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41743 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41745 to compile strcasecmp and strncasecmp.
41746 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41747 strcasecmp_l and strncasecmp_l.
41748 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41749 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41750 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41751 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41752 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41753 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41754 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41755 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41756 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41757 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41758 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41759
ab26144e
UD
417602011-11-12 Ulrich Drepper <drepper@gmail.com>
41761
7edb22ef
UD
41762 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41763 result of SYSDEP_GETTIME_CPU to retval.
41764 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41765 parameter list to macro. Remove trailing semicolon. Adjust users.
41766
9694fc44
UD
41767 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41768 variable.
41769
8ad89ef8
UD
41770 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41771 mantissa words.
41772 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41773
0c822ef9
UD
41774 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41775 from unused variable.
41776
874e0564
UD
41777 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41778 DWARF definitions.
41779 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41780 for assembling.
41781
3a2edc79
UD
41782 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41783 over namespaces.
41784
f3c2577f
UD
41785 * sunrpc/rpc_prot.c (rejected): Fix case value.
41786
294ce126
UD
41787 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41788 unsigned long long int to avoid warnings in shift.
41789
5e2b63c6
UD
41790 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41791 of use of trans.
41792 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41793 variable tmp.
41794
e7f4b08e
UD
41795 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41796 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41797 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41798
ab26144e
UD
41799 * nis/nis_table.c (nis_list): Use variable of correct type for
41800 result of __follow_path call.
41801
8a6d5255
AZ
418022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41803
41804 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41805 of math functions ceil, trunc, floor, round, and sqrt, when
41806 avaliable on the platform.
41807 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41808 name clash.
41809 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41810 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41811 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41812
aaddc98c
MP
418132011-10-30 Marek Polacek <mpolacek@redhat.com>
41814
41815 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41816 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41817
95b7042b
RM
418182011-11-11 Roland McGrath <roland@hack.frob.com>
41819
41820 * include/unistd.h: Fix __readlink return type.
41821 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41822
57769839
UD
418232011-11-11 Ulrich Drepper <drepper@gmail.com>
41824
41825 * stdlib/ucontext.h: Undo last change for makecontext.
41826
edc5984d
AS
418272011-11-11 Andreas Schwab <schwab@redhat.com>
41828
98591e58
AS
41829 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41830
edc5984d
AS
41831 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41832 * setjmp/setjmp.h: Mark functions as non-leaf.
41833 * setjmp/bits/setjmp2.h: Likewise.
41834 * stdlib/ucontext.h: Likewise.
41835
77cdc054
AS
418362011-11-10 Andreas Schwab <schwab@redhat.com>
41837
41838 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41839 (reused_arena): Don't check arena limit.
41840 (arena_get2): Atomically check arena limit.
41841
fe72eebd
UD
418422011-11-08 Ulrich Drepper <drepper@gmail.com>
41843
5f078c32
UD
41844 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41845 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41846
fe72eebd
UD
41847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41848 instructions.
41849
ae1bc2fa
AS
418502011-11-07 Andreas Schwab <schwab@redhat.com>
41851
7583a88d
AS
41852 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41853 handler when locking.
41854
ae1bc2fa
AS
41855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41856 Fix size of allocated buffer.
41857
10fb0bfa
AS
418582011-11-04 Andreas Schwab <schwab@redhat.com>
41859
998832a4
AS
41860 [BZ #10103]
41861 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41862 declarations for long double functions.
41863 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41864
10fb0bfa
AS
41865 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41866
3d7ba52b
AS
418672011-11-03 Andreas Schwab <schwab@redhat.com>
41868
a9ae54a1
AS
41869 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41870 installed.
41871
3d7ba52b
AS
41872 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41873 is disabled.
41874
bc8db248
ST
418752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41876
41877 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41878
45b96dd6
AS
418792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41880
647776f6
AS
41881 * include/alloca.h (stackinfo_alloca_round): Define.
41882 (extend_alloca): Use it.
41883 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41884 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41885 here.
41886
d91a8b93
AS
41887 * scripts/check-local-headers.sh: Ignore libaudit.h.
41888
45b96dd6
AS
41889 * nscd/Makefile (extra-objs): Make recursively expanded.
41890
432d41ce
UD
418912011-11-01 Ulrich Drepper <drepper@gmail.com>
41892
34372fc6
UD
41893 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41894 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41895
fadb59f8
UD
41896 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41897 * posix/tst-rfc3484-2.c: Likewise.
41898 * posix/tst-rfc3484-3.c: Likewise.
41899
78239589
UD
41900 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41901 process_vm_writev.
41902 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41903 process_vm_writev.
41904 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41905 process_vm_writev from libc using GLIBC_2.15 version.
41906
432d41ce
UD
41907 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41908
02f9c6cf
PP
419092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41910
41911 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41912 stack usage.
41913
3a2c0242
UD
419142011-10-31 Ulrich Drepper <drepper@gmail.com>
41915
f4ec4833
UD
41916 [BZ #13367]
41917 * nss/getent.c (initgroups_keys): Show error message in case no group
41918 names are given.
41919
3a2c0242
UD
41920 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41921 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41922 __bump_nl_timestamp.
41923 * nscd/connections (nscd_init): When host database is served open
41924 netlink socket and request notification about configuration changes.
41925 (main_loop_poll): Track netlink file descriptor and bump timestamp
41926 in case data becomes available.
41927 (main_loop_epoll): Likewise.
41928 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41929 (database_pers_head): Add extra_data fileds.
41930 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41931 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41932 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41933 Adjust caller.
41934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41935 in6ai data, call __free_in6ai.
41936 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41937 Add -DHAVE_NETLINK.
41938 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41939 interface information. Reuse previous data if netlink timestamp
41940 is not changed.
41941 (__bump_nl_timestamp): New function.
41942 (__free_in6ai): New function.
41943
636064eb
UD
419442011-10-30 Ulrich Drepper <drepper@gmail.com>
41945
41946 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41947 close_not_cancel_no_status here.
41948 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41949
9beb2334
UD
419502011-10-29 Ulrich Drepper <drepper@gmail.com>
41951
6ef76f3b
UD
41952 [BZ #13276]
41953 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41954 return value.
41955
0ffc4f3e 41956 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
41957 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41958 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41959
cb95113e
UD
419602011-07-03 Andreas Jaeger <aj@suse.de>
41961
41962 [BZ #10709]
41963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41964 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41965 * math/libm-test.inc (sin_test): Add test case.
41966
a1b560ff
UD
419672011-10-29 Ulrich Drepper <drepper@gmail.com>
41968
c9aaface
UD
41969 [BZ #13337]
41970 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41971 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41972
d272e7f1
UD
41973 * elf/chroot_canon.c (chroot_canon): Cleanups.
41974
1bc33071
UD
41975 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41976
1760874d
TJ
41977 [BZ #13335]
41978 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41979 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41980
51d91b18
UD
41981 * string/test-strchr.c: Make usable for strchrnul testing.
41982 * string/test-strchrnul.c: New file.
41983 * string/Makefile (strop-tests): Add strchrnul.
41984
a1b560ff 41985 * po/it.po: Update from translation team.
b611fb81 41986 * po/es.po: Likewise.
a1b560ff 41987
a5b81e1f
UD
419882011-10-28 Ulrich Drepper <drepper@gmail.com>
41989
fd52bc6d
UD
41990 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41991 the three constants needed as parameters. Drop the others.
41992 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41993 __m128i_strloadu_tolower.
52e4b9eb
UD
41994 Create and initialize variable zero and use it in all the places
41995 where _mm_setzero_si128 was used.
fd52bc6d 41996
a5b81e1f
UD
41997 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41998 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41999 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42000 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42001 anymore.
42002 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42003 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42004 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42005 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42006 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42007 __mpranred, __mptan.
42008 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42009 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42010 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42011 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42012 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42013 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42015 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42016 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42017
b4343346
AS
420182011-10-28 Andreas Schwab <schwab@redhat.com>
42019
0c92d8a8
AS
42020 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42021 redefine if SHARED.
42022 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42023
b4343346
AS
42024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42025 wide char related routines to wcsmbs subdir.
42026
3871f58f
AS
420272011-10-27 Andreas Schwab <schwab@redhat.com>
42028
42029 [BZ #13344]
42030 * misc/sys/cdefs.h (__THROWNL): Define.
42031 * posix/unistd.h: Use __THREADNL instead of __THREAD
42032 for memory synchronization functions.
42033
94d44d9f
RM
420342011-10-26 Roland McGrath <roland@hack.frob.com>
42035
21b64b15 42036 [BZ #13349]
94d44d9f
RM
42037 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42038 doesn't exist.
42039 * manual/stdio.texi (Obstack Streams): Node removed.
42040
f6ce9294
AS
420412011-10-26 Andreas Schwab <schwab@redhat.com>
42042
80479147
AS
42043 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42044 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42045 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42046
f6ce9294
AS
42047 * math/math_private.h (math_force_eval): Allow non-addressable
42048 arguments.
42049 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42050
618280a1
UD
420512011-10-25 Ulrich Drepper <drepper@gmail.com>
42052
e0016b11
UD
42053 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42054 file is not needed.
42055
42056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42057 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42058 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42059 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42060 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42062 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42063 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42064 Add AVX variants.
42065 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42066 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42067 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42068 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42069 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42070 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42071 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42072 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42073 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42074 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42075 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42076 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42077 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42078 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42079 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42080 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42081 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42082 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42083 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42084
42085 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42086 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42087
618280a1
UD
42088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42089 place. Use VEX encoding when compiling for AVX.
42090
37822576
AS
420912011-10-25 Andreas Schwab <schwab@redhat.com>
42092
1f1e1947
AS
42093 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42094 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42095
37822576
AS
42096 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42097
31ea014d
UD
420982011-10-25 Ulrich Drepper <drepper@gmail.com>
42099
d7826aa1 42100 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42101 useless if() expression.
d7826aa1
UD
42102 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42103 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42104 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42106 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42107 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42108 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42110 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42112 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42113 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42114 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42115 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42116 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42117 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42118 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42120 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42121
31ea014d
UD
42122 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42123
16437fec
AS
421242011-10-25 Andreas Schwab <schwab@redhat.com>
42125
42126 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42127 condition.
42128 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42129
31d3cc00
UD
421302011-10-25 Ulrich Drepper <drepper@gmail.com>
42131
42132 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42133 .text section. Avoid duplicate constants.
42134 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42144 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42146 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42149 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42151 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42152 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42154 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42155 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42156 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42157 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42158 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42159 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42160 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42161 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42163 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42164 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42165 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42166 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42167 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42168 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42169 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42170 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42172 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42173 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42174 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42175 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42176 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42177 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42178 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42179
58985aa9
UD
421802011-10-24 Ulrich Drepper <drepper@gmail.com>
42181
202c9deb
UD
42182 * sysdeps/x86_64/dla.h: Move to ...
42183 * sysdeps/x86_64/fpu/dla.h: ...here.
42184 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42185 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42186
af968f62
UD
42187 * config.make.in: Add have-mfma4 entry.
42188 * configure.in: Substitute libc_cv_cc_fma4.
42189 * math/Makefile (dbl-only-routines): Add sincostab.
42190 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42191 Use __sincostab not sincos.
42192 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42193 name is a macro.
42194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42198 using __copysign.
42199 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42200 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42201 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42202 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42203 and __inv.
42204 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42205 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42206 __copysign.
42207 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42208 define aliases when function name is a macro.
42209 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42210 sysdeps/ieee754/dbl-64/sincos.tbl.
42211 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42212 fma4-enabled routines.
42213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42214 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42215 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42216 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42217 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42218 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42219 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42220 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42221 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42222 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42223 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42224 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42225 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42226 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42227 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42228 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42229 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42230 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42231 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42232 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42233 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42234 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42236 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42238 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42239 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42240 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42241 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42242 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42243
58985aa9
UD
42244 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42245 rename.
42246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42254
a201fbcf
AS
422552011-10-24 Andreas Schwab <schwab@redhat.com>
42256
42257 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42258
fc2ee42a
LD
422592011-10-23 Ulrich Drepper <drepper@gmail.com>
42260
bb3129bd
UD
42261 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42262
0275fff8
UD
42263 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42264 prediction.
42265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42266
2fa2ae85
UD
42267 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42268 Remove unused variable magic_bits.
42269 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42270
fc2ee42a
LD
42271 * string/strnlen.c: Define and use STRNLEN macro.
42272 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42273 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42275 * wcsmbs/wcslen.c: Define and use WCSLEN.
42276 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42277 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42278 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42279 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42280 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42281 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42282 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42283
ce7dd29f
LD
422842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42285
42286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42287 strnlen-sse2-no-bsf.
42288 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42290 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42291 Add strnlen support.
42292 (USE_AS_STRNLEN): New macro.
42293 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42294 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42295 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42296 * sysdeps/x86_64/wcslen.S: New file.
42297
979c70a3
MZ
422982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42299
42300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42301 XMM-moves are used for copying on small sizes.
42302
2d09f82f
LD
423032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42304
42305 * wcsmbs/Makefile (strop-tests): Add wcschr.
42306 * wcsmbs/test-wcschr.c: New file.
42307 * string/test-strchr.c: Update.
42308 Add wcschr support.
42309 (WIDE): New macro.
42310
619fccca
LD
423112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42312
2d09f82f 42313 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42314 * wcsmbs/test-wcslen.c: New file.
42315 * string/test-strlen.c: Update.
42316 Add wcslen support.
42317 (WIDE): New macro.
42318
09f699ea
UD
423192011-10-23 Ulrich Drepper <drepper@gmail.com>
42320
42321 * po/it.po: Update from translation team.
42322
95584d3b
LD
423232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42324
42325 * sysdeps/x86_64/wcscmp.S: Update.
42326 Fix wrong comparison semantics.
42327 wcscmp shall use signed comparison not unsigned.
42328 Don't use substraction to avoid overflow bug.
42329 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42330 * wcsmbc/wcscmp.c: Likewise.
42331 * string/test-strcmp.c: Likewise.
42332 Add new tests to check cases with negative values.
42333
c8b3296b
UD
423342011-10-23 Ulrich Drepper <drepper@gmail.com>
42335
42336 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42337 * sysdeps/x86_64/dla.h: ...here. New file.
42338 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42347
246ad57a
AS
423482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42349
42350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42351 __ynl_finite aliases.
42352
a1a87169
UD
423532011-10-22 Ulrich Drepper <drepper@gmail.com>
42354
0d355eb7
UD
42355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42356
a1a87169
UD
42357 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42358 define DLA_FMA.
42359 [DLA_FMA] (EMULV): Use DLA_FMA.
42360 [DLA_FMA] (MUL12): Use EMULV.
42361 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42362 that are not needed.
42363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42370
ee2aafe0
AS
423712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42372
42373 * math/s_nan.c: Undef __nan.
42374 * math/s_nanf.c: Undef __nanf.
42375 * math/s_nanl.c: Undef __nanl.
42376 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42377 "math_private.h".
42378
bc62c2fb
UD
423792011-10-22 Ulrich Drepper <drepper@gmail.com>
42380
77425c63
UD
42381 * math/s_catan.c: Add branch predictions.
42382 * math/s_catanf.c: Likewise.
42383 * math/s_catanh.c: Likewise.
42384 * math/s_catanhf.c: Likewise.
42385 * math/s_catanhl.c: Likewise.
42386 * math/s_catanl.c: Likewise.
42387 * math/s_cexp.c: Likewise.
42388 * math/s_cexpf.c: Likewise.
42389 * math/s_cexpl.c: Likewise.
42390 * math/s_clog.c: Likewise.
42391 * math/s_clog10.c: Likewise.
42392 * math/s_clog10f.c: Likewise.
42393 * math/s_clog10l.c: Likewise.
42394 * math/s_clogf.c: Likewise.
42395 * math/s_clogl.c: Likewise.
42396 * math/s_csqrt.c: Likewise.
42397 * math/s_csqrtf.c: Likewise.
42398 * math/s_csqrtl.c: Likewise.
42399 * math/s_ctanf.c: Likewise.
42400 * math/s_ctanh.c: Likewise.
42401 * math/s_ctanhf.c: Likewise.
42402 * math/s_ctanhl.c: Likewise.
42403 * math/s_ctanl.c: Likewise.
42404
bc62c2fb
UD
42405 * math/math_private.h: Define __nan, __nanf, __nanl.
42406 * math/s_cacosh.c: Include <math_private.h>.
42407 * math/s_cacoshl.c: Likewise.
42408 * math/s_casinh.c: Likewise.
42409 * math/s_casinhf.c: Likewise.
42410 * math/s_casinhl.c: Likewise.
42411 * math/s_ccos.c: Rely entire on ccosh.
42412 * math/s_ccosf.c: Rely entire on ccoshf.
42413 * math/s_ccosl.c: Rely entirely on ccoshl.
42414 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42415 Remove tests for FE_INVALID.
42416 * math/s_ccoshf.c: Likewise.
42417 * math/s_ccoshl.c: Likewise.
42418 * math/s_csin.c: Likewise.
42419 * math/s_csinf.c: Likewise.
42420 * math/s_csinh.c Likewise.
42421 * math/s_csinhf.c: Likewise.
42422 * math/s_csinhl.c: Likewise.
42423 * math/s_csinl.c: Likewise.
42424 * math/s_ctan.c: Likewise.
42425 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42426 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42427 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42428
8ec250a4
UD
424292011-10-21 Ulrich Drepper <drepper@gmail.com>
42430
c196fed8
UD
42431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42432 compilation problems.
42433
8ec250a4
UD
42434 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42435 __builtin_expect.
42436
8d4f46c6
UD
424372011-10-20 Ulrich Drepper <drepper@gmail.com>
42438
ed72b654
UD
42439 * sysdeps/i386/configure.in: Test for -mfma4 option.
42440 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42441 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42442 COMMON_CPUID_INDEX_80000001.
42443 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42444 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42445 use it if FMA3 is not supported.
42446 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42447
8d4f46c6
UD
42448 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42449 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42450
d45c60c2
AS
424512011-10-20 Andreas Schwab <schwab@redhat.com>
42452
42453 [BZ #12892]
42454 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42455 it would create a cycle with a link time dependency.
42456
d9a4d2ab
UD
424572011-10-19 Ulrich Drepper <drepper@gmail.com>
42458
855d1560
UD
42459 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42460 instruction.
42461 * string/Makefile (strop-tests): Add rawmemchr.
42462 * string/test-rawmemchr.c: New file.
42463
d9a4d2ab
UD
42464 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42466 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42467 when compiling str{,n}casecmp and when AVX is available. Hook up
42468 new optimized code in initializers.
42469
8f3b1ffe
AS
424702011-10-19 Andreas Schwab <schwab@redhat.com>
42471
42472 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42473 __feraiseexcept instead of feraiseexcept.
42474
d38f1dba
UD
424752011-10-18 Ulrich Drepper <drepper@gmail.com>
42476
d9a8d0ab
UD
42477 * math/math_private.h: Define defaults for libc_fetestexcept and
42478 libc_feupdateenv.
42479 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42480 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42481 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42482 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42483 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42484 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42485 libc_fetestexcept and libc_feupdateenv.
42486
4855e3dd
UD
42487 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42488 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42489 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42490 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42491 libc_feholdexcept_setround.
42492
581d30e3
UD
42493 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42494 Add s_nearbyint-c and s_nearbyintf-c.
42495 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42496 nearbyintf inlines.
42497 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42498 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42499 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42500 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42501
d38f1dba
UD
42502 * math/math_private.h: Define defaults for libc_fegetround,
42503 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42504 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42505 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42507 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42508 standard functions.
42509 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42510 Remove comments and hacks for old compiler versions.
42511 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42512 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42513 libc_feholdexceptl.
42514
caa6c9d8
AS
425152011-10-18 Andreas Schwab <schwab@redhat.com>
42516
42517 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42518 (__feraiseexcept_renamed): Add __NTH.
42519 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42520 namespace violations.
42521
97c066e6
UD
425222011-10-17 Ulrich Drepper <drepper@gmail.com>
42523
99ce7b04
UD
42524 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42525
1004d182
UD
42526 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42527
228a984d
UD
42528 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42529 recently added interfaces.
42530 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42531
c8553a6a
UD
42532 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42533 about macro parameter expansion.
42534
ed22dcf6
UD
42535 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42536 __NO_MATH_INLINES is defined. Cleanups.
42537
42538 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42539 and __floorf is target has SSE4.1.
42540 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42541 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42542 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42543 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42544
b171c137
UD
42545 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42546 name.
42547 (floorf): Likewise.
42548
97c066e6
UD
42549 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42550
629f62ef
AS
425512011-10-17 Andreas Schwab <schwab@redhat.com>
42552
49a43d80
AS
42553 * misc/sys/cdefs.h: Fix last change.
42554
629f62ef
AS
42555 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42556 database lookup.
42557
e453f6cd
UD
425582011-10-16 Ulrich Drepper <drepper@gmail.com>
42559
aa78043a
UD
42560 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42561
ad0f5cad
UD
42562 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42564 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42566 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42567 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42569 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42570 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42571 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42572 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42573 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42574 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42575 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42578 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42580 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42581 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42582 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42583 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42584
42585 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42586 ceil, ceilf, floor, floorf.
42587
42588 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42589 Perform IRELATIVE relocations last.
42590
e453f6cd
UD
42591 * elf/do-rel.h: Add another parameter nrelative, replacing the
42592 local variable with the same name. Change name of the function
42593 to end in Rel or Rela (uppercase).
42594 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42595 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42596 elf_dynamic_do_##reloc function.
42597
fd5bdc09
UD
425982011-10-15 Ulrich Drepper <drepper@gmail.com>
42599
79b195b5
UD
42600 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42601 is sufficient, at least on modern CPUs.
42602
d4a28569
UD
42603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42604
b61099b5
UD
42605 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42607
bcf01e6d
UD
42608 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42609 __expl_finite.
42610 * math/bits/math-finite.h: Add entries for exp.
42611 * math/e_expl.c: Add __*_finite alias.
42612 * sysdeps/i386/fpu/e_exp.S: Likewise.
42613 * sysdeps/i386/fpu/e_expf.S: Likewise.
42614 * sysdeps/i386/fpu/e_expl.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42616 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42617 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42620 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42621 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42622
ba1a0d59
UD
42623 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42624 is sufficient, at least on modern CPUs.
42625
fd5bdc09
UD
42626 * ctype/ctype-info.c (__ctype_init): Define.
42627 * include/ctype.h (__ctype_init): Declare.
42628 (__ctype_b_loc): The variable is always initialized.
42629 (__ctype_toupper_loc): Likewise.
42630 (__ctype_tolower_loc): Likewise.
42631 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42632 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42633
7872cfb0
AS
426342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42635
b468825a
AS
42636 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42637
7872cfb0
AS
42638 * configure.in: Also look in $cxxmachine/include for C++ system
42639 headers.
42640
be13f7bf
LD
426412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42642
42643 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42644 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42645 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42646 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42647 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42648 (USE_AS_WMEMCMP): New macro.
42649 Fixing indents.
42650 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42651 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42652 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42653 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42655 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42656 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42657 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42658 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42659 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42660 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42661 (USE_AS_WMEMCMP): New macro.
42662 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42663 * sysdeps/string/test-memcmp.c: Update.
42664 Fix simple_wmemcmp.
42665 Add new tests.
42666 * wcsmbs/wmemcmp.c: Update.
42667 (WMEMCMP): New macro.
42668 Fix overflow bug.
42669
556a2007
AJ
426702011-10-12 Andreas Jaeger <aj@suse.de>
42671
42672 [BZ #13268]
42673 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42674
538faaa7
UD
426752011-10-15 Ulrich Drepper <drepper@gmail.com>
42676
ab6737ff
UD
42677 * libio/iofwide.c (do_length): Avoid warning.
42678
538faaa7
UD
42679 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42680
396a21b1
UD
426812011-10-14 Ulrich Drepper <drepper@gmail.com>
42682
cdf2901f
UD
42683 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42684
38ad40ce
UD
42685 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42686 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42687 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42688 * sysdeps/i386/i686/fpu/e_log.S: New file.
42689 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42690 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42691
396a21b1
UD
42692 * ctype/ctype.h: Add support for inlined isXXX functions when
42693 compiling C++ code.
42694
6b1f68c9
AS
426952011-10-14 Andreas Schwab <schwab@redhat.com>
42696
349290c0
AS
42697 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42698
6b1f68c9
AS
42699 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42700
f2282d42
RM
427012011-10-13 Roland McGrath <roland@hack.frob.com>
42702
42703 [BZ #13291]
42704 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42705
5298ffa8
AS
427062011-10-13 Andreas Schwab <schwab@redhat.com>
42707
714fad23
AS
42708 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42709 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42710 feraiseexcept.
42711
81dcc7fb
AS
42712 * sysdeps/x86_64/memrchr.S: Check for zero size.
42713
5298ffa8
AS
42714 * string/stratcliff.c: Add memrchr tests.
42715
951fbcec
LD
427162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42717
42718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42719 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42720 rawmemchr-sse2 rawmemchr-sse2-bsf.
42721 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42722 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42723 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42724 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42725 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42726 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42727 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42728 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42729 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42730 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42731 * string/memrchr.c (MEMRCHR): New macro.
42732
0ac5ae23
UD
427332011-10-12 Ulrich Drepper <drepper@gmail.com>
42734
42735 Add integration with gcc's -ffinite-math-only and optimize wrapper
42736 functions in libm.
42737 * Versions.def: Define GLIBC_2.15 version for libm.
42738 * math/Makefile (headers): Add bits/math-finite.h.
42739 * math/bits/math-finite.h: New file.
42740 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42741 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42742 * math/e_acoshl.c: Add __*_finite alias.
42743 * math/e_acosl.c: Likewise.
42744 * math/e_asinl.c: Likewise.
42745 * math/e_atan2l.c: Likewise.
42746 * math/e_atanhl.c: Likewise.
42747 * math/e_coshl.c: Likewise.
42748 * math/e_exp10.c: Likewise.
42749 * math/e_exp10f.c: Likewise.
42750 * math/e_exp10l.c: Likewise.
42751 * math/e_exp2l.c: Likewise.
42752 * math/e_fmodl.c: Likewise.
42753 * math/e_gammal_r.c: Likewise.
42754 * math/e_hypotl.c: Likewise.
42755 * math/e_j0l.c: Likewise.
42756 * math/e_j1l.c: Likewise.
42757 * math/e_jnl.c: Likewise.
42758 * math/e_lgammal_r.c: Likewise.
42759 * math/e_log10l.c: Likewise.
42760 * math/e_log2l.c: Likewise.
42761 * math/e_logl.c: Likewise.
42762 * math/e_powl.c: Likewise.
42763 * math/e_sinhl.c: Likewise.
42764 * math/e_sqrtl.c: Likewise.
42765 * math/e_scalb.c: Completely rewritten and optimized.
42766 * math/e_scalbf.c: Likewise.
42767 * math/e_scalbl.c: Likewise.
42768 * math/w_acos.c: Likewise.
42769 * math/w_acosf.c: Likewise.
42770 * math/w_acosl.c: Likewise.
42771 * math/w_acosh.c: Likewise.
42772 * math/w_acoshf.c: Likewise.
42773 * math/w_acoshl.c: Likewise.
42774 * math/w_asin.c: Likewise.
42775 * math/w_asinf.c: Likewise.
42776 * math/w_asinl.c: Likewise.
42777 * math/w_atan2.c: Likewise.
42778 * math/w_atan2f.c: Likewise.
42779 * math/w_atan2l.c: Likewise.
42780 * math/w_atanh.c: Likewise.
42781 * math/w_atanhf.c: Likewise.
42782 * math/w_atanhl.c: Likewise.
42783 * math/w_exp10.c: Likewise.
42784 * math/w_exp10f.c: Likewise.
42785 * math/w_exp10l.c: Likewise.
42786 * math/w_fmod.c: Likewise.
42787 * math/w_fmodf.c: Likewise.
42788 * math/w_fmodl.c: Likewise.
42789 * math/w_j0.c: Likewise.
42790 * math/w_j0f.c: Likewise.
42791 * math/w_j0l.c: Likewise.
42792 * math/w_j1.c: Likewise.
42793 * math/w_j1f.c: Likewise.
42794 * math/w_j1l.c: Likewise.
42795 * math/w_jn.c: Likewise.
42796 * math/w_jnf.c: Likewise.
42797 * math/w_log.c: Likewise.
42798 * math/w_logf.c: Likewise.
42799 * math/w_logl.c: Likewise.
42800 * math/w_log10.c: Likewise.
42801 * math/w_log10f.c: Likewise.
42802 * math/w_log10l.c: Likewise.
42803 * math/w_log2.c: Likewise.
42804 * math/w_log2f.c: Likewise.
42805 * math/w_log2l.c: Likewise.
42806 * math/w_pow.c: Likewise.
42807 * math/w_powf.c: Likewise.
42808 * math/w_powl.c: Likewise.
42809 * math/w_remainder.c: Likewise.
42810 * math/w_remainderf.c: Likewise.
42811 * math/w_remainderl.c: Likewise.
42812 * math/w_scalb.c: Likewise.
42813 * math/w_scalbf.c: Likewise.
42814 * math/w_scalbl.c: Likewise.
42815 * math/w_sqrt.c: Likewise.
42816 * math/w_sqrtf.c: Likewise.
42817 * math/w_sqrtl.c: Likewise.
42818 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42819 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42820 used.
42821 * math/math_private.h: Declare __kernel_standard_f.
42822 * math/w_cosh.c: Remove cruft and optimize a bit.
42823 * math/w_coshf.c: Likewise.
42824 * math/w_coshl.c: Likewise.
42825 * math/w_exp2.c: Likewise.
42826 * math/w_exp2f.c: Likewise.
42827 * math/w_exp2l.c: Likewise.
42828 * math/w_hypot.c: Likewise.
42829 * math/w_hypotf.c: Likewise.
42830 * math/w_hypotl.c: Likewise.
42831 * math/w_lgamma.c: Likewise.
42832 * math/w_lgamma_r.c: Likewise.
42833 * math/w_lgammaf.c: Likewise.
42834 * math/w_lgammaf_r.c: Likewise.
42835 * math/w_lgammal.c: Likewise.
42836 * math/w_lgammal_r.c: Likewise.
42837 * math/w_sinh.c: Likewise.
42838 * math/w_sinhf.c: Likewise.
42839 * math/w_sinhl.c: Likewise.
42840 * math/w_tgamma.c: Likewise.
42841 * math/w_tgammaf.c: Likewise.
42842 * math/w_tgammal.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42845 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42846 Minor optimizations. Pretty printing. Remove cruft.
42847 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42848 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42850 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42851 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42852 * sysdeps/i386/fpu/e_asin.S: Likewise.
42853 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42854 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42855 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42856 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42857 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42859 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42860 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42861 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42862 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42863 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42864 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42865 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42866 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42867 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42868 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42869 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42870 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42871 * sysdeps/i386/fpu/e_log.S: Likewise.
42872 * sysdeps/i386/fpu/e_log10.S: Likewise.
42873 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42874 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42875 * sysdeps/i386/fpu/e_log2.S: Likewise.
42876 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42877 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42878 * sysdeps/i386/fpu/e_logf.S: Likewise.
42879 * sysdeps/i386/fpu/e_logl.S: Likewise.
42880 * sysdeps/i386/fpu/e_pow.S: Likewise.
42881 * sysdeps/i386/fpu/e_powf.S: Likewise.
42882 * sysdeps/i386/fpu/e_powl.S: Likewise.
42883 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42884 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42885 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42886 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42888 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42889 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42890 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42891 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42913 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42914 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42915 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42916 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42917 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42918 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42919 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42920 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42921 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42922 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42923 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42925 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42926 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42927 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42928 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42929 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42930 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42931 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42932 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42933 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42941 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42942 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42943 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42944 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42945 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42947 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42948 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42949 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42950 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42953 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42956 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42957 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42961 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42964 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42969 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42971 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42972 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42973 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42977 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42978 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42980 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42983 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42984 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42985 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42986 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42987 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42988 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42989 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42990 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42991 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42992 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42993 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42994 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42995 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42996 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42998 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42999 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43000 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43002 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43003 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43004 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43005 (__isnanf): Likewise.
43006 (__isinf_ns): Likewise.
43007 (__isinf_nsf): Likewise.
43008 (__finite): Likewise.
43009 (__finitef): Likewise.
43010 (__ieee754_sqrt): Define as macro.
43011 (__ieee754_sqrtf): Define as macro.
43012 (__ieee754_sqrtl): Define as macro.
43013 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43014 inlined copy.
43015 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43016 __FINITE_MATH_ONLY__ consistent.
43017 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43018
12cc2fcd
AS
430192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43020
a843a204
AS
43021 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43022 of rawmemchr.
43023
12cc2fcd
AS
43024 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43025
c853acd5
UD
430262011-10-09 Ulrich Drepper <drepper@gmail.com>
43027
43028 * po/ja.po: Update from translation team.
43029
c658d255
RM
430302011-10-08 Roland McGrath <roland@hack.frob.com>
43031
110946e4
RM
43032 * locale/programs/locarchive.c (prepare_address_space): New function.
43033 (create_archive, enlarge_archive, open_archive): Use it.
43034
50604220
RM
43035 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43036 inside [SHARED], where it is used.
43037
c658d255
RM
43038 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43039
43040 * nss/getent.c (netgroup_keys): Remove unused variable.
43041 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43042
6a621eb7
UD
430432011-10-08 Ulrich Drepper <drepper@gmail.com>
43044
7edb55ce
UD
43045 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43046 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43049 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43050 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43051 * math/Makefile (libm-calls): Add s_isinf_ns.
43052 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43053 * math/multc3.c: Likewise.
43054 * math/s_casin.c: Likewise.
43055 * math/s_casinf.c: Likewise.
43056 * math/s_casinl.c: Likewise.
43057 * math/s_ccos.c: Likewise.
43058 * math/s_ccosf.c: Likewise.
43059 * math/s_ccosl.c: Likewise.
43060 * math/s_ctan.c: Likewise.
43061 * math/s_ctanf.c: Likewise.
43062 * math/s_ctanh.c: Likewise.
43063 * math/s_ctanhf.c: Likewise.
43064 * math/s_ctanhl.c: Likewise.
43065 * math/s_ctanl.c: Likewise.
43066 * math/w_fmod.c: Likewise.
43067 * math/w_fmodf.c: Likewise.
43068 * math/w_fmodl.c: Likewise.
43069 * math/w_remainder.c: Likewise.
43070 * math/w_remainderf.c: Likewise.
43071 * math/w_remainderl.c: Likewise.
43072 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43073 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43074 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43076 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43077 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43078 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43079 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43080
187da0ae
UD
43081 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43082 of the number.
43083 * stdio-common/printf_fphex.c: Likewise.
43084 * stdio-common/printf_size.c: Likewise.
43085
9277c064
UD
43086 * math/e_exp10.c: Include math_private.h using <...> not "...".
43087 * math/e_exp10f.c: Likewise.
43088 * math/e_exp10l.c: Likewise.
43089 * math/e_exp2l.c: Likewise.
43090 * math/e_j0l.c: Likewise.
43091 * math/e_j1l.c: Likewise.
43092 * math/e_jnl.c: Likewise.
43093 * math/e_lgammal_r.c: Likewise.
43094 * math/e_rem_pio2l.c: Likewise.
43095 * math/e_scalb.c: Likewise.
43096 * math/e_scalbf.c: Likewise.
43097 * math/e_scalbl.c: Likewise.
43098 * math/k_cosl.c: Likewise.
43099 * math/k_sinl.c: Likewise.
43100 * math/k_tanl.c: Likewise.
43101 * math/s_cacoshf.c: Likewise.
43102 * math/s_catan.c: Likewise.
43103 * math/s_catanf.c: Likewise.
43104 * math/s_catanh.c: Likewise.
43105 * math/s_catanhf.c: Likewise.
43106 * math/s_catanhl.c: Likewise.
43107 * math/s_catanl.c: Likewise.
43108 * math/s_ccosh.c: Likewise.
43109 * math/s_ccoshf.c: Likewise.
43110 * math/s_ccoshl.c: Likewise.
43111 * math/s_cexp.c: Likewise.
43112 * math/s_cexpf.c: Likewise.
43113 * math/s_cexpl.c: Likewise.
43114 * math/s_clog.c: Likewise.
43115 * math/s_clog10.c: Likewise.
43116 * math/s_clog10f.c: Likewise.
43117 * math/s_clog10l.c: Likewise.
43118 * math/s_clogf.c: Likewise.
43119 * math/s_clogl.c: Likewise.
43120 * math/s_csin.c: Likewise.
43121 * math/s_csinf.c: Likewise.
43122 * math/s_csinh.c: Likewise.
43123 * math/s_csinhf.c: Likewise.
43124 * math/s_csinhl.c: Likewise.
43125 * math/s_csinl.c: Likewise.
43126 * math/s_csqrt.c: Likewise.
43127 * math/s_csqrtf.c: Likewise.
43128 * math/s_csqrtl.c: Likewise.
43129 * math/s_ctan.c: Likewise.
43130 * math/s_ctanf.c: Likewise.
43131 * math/s_ctanh.c: Likewise.
43132 * math/s_ctanhf.c: Likewise.
43133 * math/s_ctanhl.c: Likewise.
43134 * math/s_ctanl.c: Likewise.
43135 * math/s_ldexp.c: Likewise.
43136 * math/s_ldexpf.c: Likewise.
43137 * math/s_ldexpl.c: Likewise.
43138 * math/s_significand.c: Likewise.
43139 * math/s_significandf.c: Likewise.
43140 * math/s_significandl.c: Likewise.
43141 * math/w_acos.c: Likewise.
43142 * math/w_acosf.c: Likewise.
43143 * math/w_acosh.c: Likewise.
43144 * math/w_acoshf.c: Likewise.
43145 * math/w_acoshl.c: Likewise.
43146 * math/w_acosl.c: Likewise.
43147 * math/w_asin.c: Likewise.
43148 * math/w_asinf.c: Likewise.
43149 * math/w_asinl.c: Likewise.
43150 * math/w_atan2.c: Likewise.
43151 * math/w_atan2f.c: Likewise.
43152 * math/w_atan2l.c: Likewise.
43153 * math/w_atanh.c: Likewise.
43154 * math/w_atanhf.c: Likewise.
43155 * math/w_atanhl.c: Likewise.
43156 * math/w_cosh.c: Likewise.
43157 * math/w_coshf.c: Likewise.
43158 * math/w_coshl.c: Likewise.
43159 * math/w_dremf.c: Likewise.
43160 * math/w_exp10.c: Likewise.
43161 * math/w_exp10f.c: Likewise.
43162 * math/w_exp10l.c: Likewise.
43163 * math/w_exp2.c: Likewise.
43164 * math/w_exp2f.c: Likewise.
43165 * math/w_fmod.c: Likewise.
43166 * math/w_fmodf.c: Likewise.
43167 * math/w_fmodl.c: Likewise.
43168 * math/w_hypot.c: Likewise.
43169 * math/w_hypotf.c: Likewise.
43170 * math/w_hypotl.c: Likewise.
43171 * math/w_j0.c: Likewise.
43172 * math/w_j0f.c: Likewise.
43173 * math/w_j0l.c: Likewise.
43174 * math/w_j1.c: Likewise.
43175 * math/w_j1f.c: Likewise.
43176 * math/w_j1l.c: Likewise.
43177 * math/w_jn.c: Likewise.
43178 * math/w_jnf.c: Likewise.
43179 * math/w_jnl.c: Likewise.
43180 * math/w_lgamma.c: Likewise.
43181 * math/w_lgamma_r.c: Likewise.
43182 * math/w_lgammaf.c: Likewise.
43183 * math/w_lgammaf_r.c: Likewise.
43184 * math/w_lgammal.c: Likewise.
43185 * math/w_lgammal_r.c: Likewise.
43186 * math/w_log.c: Likewise.
43187 * math/w_log10.c: Likewise.
43188 * math/w_log10f.c: Likewise.
43189 * math/w_log10l.c: Likewise.
43190 * math/w_log2.c: Likewise.
43191 * math/w_log2f.c: Likewise.
43192 * math/w_log2l.c: Likewise.
43193 * math/w_logf.c: Likewise.
43194 * math/w_logl.c: Likewise.
43195 * math/w_pow.c: Likewise.
43196 * math/w_powf.c: Likewise.
43197 * math/w_powl.c: Likewise.
43198 * math/w_remainder.c: Likewise.
43199 * math/w_remainderf.c: Likewise.
43200 * math/w_remainderl.c: Likewise.
43201 * math/w_scalb.c: Likewise.
43202 * math/w_scalbf.c: Likewise.
43203 * math/w_scalbl.c: Likewise.
43204 * math/w_sinh.c: Likewise.
43205 * math/w_sinhf.c: Likewise.
43206 * math/w_sinhl.c: Likewise.
43207 * math/w_sqrt.c: Likewise.
43208 * math/w_sqrtf.c: Likewise.
43209 * math/w_sqrtl.c: Likewise.
43210 * math/w_tgamma.c: Likewise.
43211 * math/w_tgammaf.c: Likewise.
43212 * math/w_tgammal.c: Likewise.
43213
6a621eb7
UD
43214 * po/ja.po: Update from translation team.
43215
bf582445
AJ
432162011-09-29 Andreas Jaeger <aj@suse.de>
43217
f9efbf3a
AJ
43218 [BZ #13179]
43219 * sunrpc/netname.c (netname2host): Fix logic.
43220
bf582445
AJ
43221 [BZ #6779]
43222 [BZ #6783]
43223 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43224 correctly.
43225 * math/w_remainder.c (__remainder): Likewise.
43226 * math/w_remainderf.c (__remainderf): Likewise.
43227 * math/libm-test.inc (remainder_test): Add test cases.
43228
48693bea
AK
432292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43230
43231 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43232 sdiv_qrnnd.
43233
42622229
LD
432342011-10-07 Ulrich Drepper <drepper@gmail.com>
43235
43236 * string/test-memcmp.c: Avoid unncessary #defines.
43237 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43238
093ecf92
LD
432392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43240
43241 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43242 Use new sse2 version for core i3 - i7 as it's faster
43243 than sse42 version.
43244 (bit_Prefer_PMINUB_for_stringop): New.
43245 * sysdeps/x86_64/rawmemchr.S: Update.
43246 Replace with faster SSE2 version.
43247 * sysdeps/x86_64/memrchr.S: New file.
43248 * sysdeps/x86_64/memchr.S: Update.
43249 Replace with faster SSE2 version.
43250
fde56e5c
MP
432512011-09-12 Marek Polacek <mpolacek@redhat.com>
43252
43253 * elf/dl-load.c (lose): Add cast to avoid warning.
43254
21fd49a9
UD
432552011-10-07 Ulrich Drepper <drepper@gmail.com>
43256
5a06e643
UD
43257 * po/ca.po: Update from translation team.
43258
684ae515
UD
43259 * inet/getnetgrent_r.c: Hook up nscd.
43260 * nscd/Makefile (routines): Add nscd_netgroup.
43261 (nscd-modules): Add netgroupcache.
43262 (CFLAGS-netgroupcache.c): Define.
43263 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43264 (cache_search): Add const to second parameter.
43265 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43266 INNETGR.
43267 (dbs): Add netgrdb entry.
43268 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43269 (verify_persistent_db): Handle netgrdb.
43270 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43271 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43272 GETFDNETGR.
43273 (netgroup_response_header): Define.
43274 (innetgroup_response_header): Define.
43275 (datahead): Add netgroup_response_header and innetgroup_response_header
43276 elements.
43277 * nscd/nscd.conf: Add entries for netgroup cache.
43278 * nscd/nscd.h (dbtype): Add netgrdb.
43279 (_PATH_NSCD_NETGROUP_DB): Define.
43280 (netgroup_iov_disabled): Declare.
43281 (xmalloc, xcalloc, xrealloc): Move declarations here.
43282 (cache_search): Adjust prototype.
43283 Add netgroup-related prototypes.
43284 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43285 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43286 (__nscd_innetgr): Declare.
43287 * nscd/selinux.c (perms): Use access_vector_t as element type and
43288 add netgroup-related initializers.
43289 * nscd/netgroupcache.c: New file.
43290 * nscd/nscd_netgroup.c: New file.
43291 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43292 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43293 For four parameters use innetgr.
43294 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43295 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43296 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43297 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43298
21fd49a9
UD
43299 * nscd/connections.c (register_traced_file): Don't register file
43300 for disabled databases.
43301
054c0457
UD
433022011-10-06 Ulrich Drepper <drepper@gmail.com>
43303
32b63198
UD
43304 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43305
054c0457
UD
43306 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43307 from tree and freeing node.
43308
64031225
JO
433092011-09-25 Jiri Olsa <jolsa@redhat.com>
43310
43311 * nss/nsswitch.c (__nss_database_lookup): Handle
43312 nss_parse_service_list out of memory case.
43313
0490345c
JO
433142011-09-15 Jiri Olsa <jolsa@redhat.com>
43315
43316 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43317 out of memory case.
43318
3a62d00d
AS
433192011-10-04 Andreas Schwab <schwab@redhat.com>
43320
43321 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43322 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43323 pass it down.
43324 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43325 elf_machine_rela, elf_machine_lazy_rel.
43326 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43327 (ELF_DYNAMIC_DO_REL): Likewise.
43328 (ELF_DYNAMIC_DO_RELA): Likewise.
43329 (ELF_DYNAMIC_RELOCATE): Likewise.
43330 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43331 to ELF_DYNAMIC_DO_REL.
43332 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43333 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43334 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43335 elf_machine_rela.
43336 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43337 skip_ifunc, don't call ifunc function if non-zero.
43338 (elf_machine_rela): Likewise.
43339 (elf_machine_lazy_rel): Likewise.
43340 (elf_machine_lazy_rela): Likewise.
43341 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43342 (elf_machine_lazy_rel): Likewise.
43343 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43344 Likewise.
43345 (elf_machine_lazy_rel): Likewise.
43346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43347 Likewise.
43348 (elf_machine_lazy_rel): Likewise.
43349 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43350 (elf_machine_lazy_rel): Likewise.
43351 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43352 (elf_machine_lazy_rel): Likewise.
43353 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43354 (elf_machine_lazy_rel): Likewise.
43355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43356 (elf_machine_lazy_rel): Likewise.
43357 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43358 (elf_machine_lazy_rel): Likewise.
43359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43360 (elf_machine_lazy_rel): Likewise.
43361
68577918
UD
433622011-09-28 Ulrich Drepper <drepper@gmail.com>
43363
43364 * nss/nss_files/files-init.c (_nss_files_init): Use static
43365 initialization for all the *_traced_file variables.
43366
68822d74
AS
433672011-09-28 Andreas Schwab <schwab@redhat.com>
43368
43369 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43370
2056100b
RM
433712011-09-27 Roland McGrath <roland@hack.frob.com>
43372
43373 [BZ #13226]
43374 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43375
32c76b63
AS
433762011-09-27 Andreas Schwab <schwab@redhat.com>
43377
43378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43379 Reread the line before reparsing it.
43380
bf972c9d
AS
433812011-09-26 Andreas Schwab <schwab@redhat.com>
43382
43383 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43384
e057a1b5
JM
433852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43386 Maxim Kuvyrkov <maxim@codesourcery.com>
43387 Joseph Myers <joseph@codesourcery.com>
43388
43389 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43390 if needed for __stack_chk_guard.
43391
bc7e1c36
RM
433922011-09-19 Roland McGrath <roland@hack.frob.com>
43393
ecb1482f
RM
43394 * sysdeps/posix/spawni.c (script_execute): Always define it.
43395 It will be optimized away if unused.
43396 (maybe_script_execute): New function.
43397 (__spawni): Call it.
43398
bc7e1c36
RM
43399 * Makerules: Don't include tls.make.
43400 (config-tls): Always set to thread.
43401 * tls.make.c: File removed.
43402
1c3b002b
MF
434032011-09-19 Mike Frysinger <vapier@gentoo.org>
43404
43405 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43406 * config.make.in (CPPFLAGS-config): New substituted variable.
43407
2840865d
UD
434082011-09-15 Ulrich Drepper <drepper@gmail.com>
43409
88738eb6
UD
43410 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43411
cbf645a6 43412 [BZ #13192]
2840865d
UD
43413 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43414 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43415
b402e91a
RM
434162011-09-15 Roland McGrath <roland@hack.frob.com>
43417
43418 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43419 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43421 (CALL_FAIL): Likewise.
43422 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43423 (CALL_FAIL): Macro removed.
43424 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43425
4c1a1f71
UD
434262011-09-15 Ulrich Drepper <drepper@gmail.com>
43427
43428 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43429 for __FINITE_MATH_ONLY__ == 1.
43430
edc121be
AS
434312011-09-15 Andreas Schwab <schwab@redhat.com>
43432
43433 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43434 __ieee754_sqrt instead of sqrt.
43435 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43436 __ieee754_sqrtf instead of sqrtf.
43437 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43438 __floorf instead of floorf.
43439 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43440 __floorf, __truncf instead of floorf, truncf.
43441
cd205654
UD
434422011-09-14 Ulrich Drepper <drepper@gmail.com>
43443
ee4d0315
UD
43444 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43445
cd205654
UD
43446 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43447 __extern_always_inline.
43448 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43449 32-bit.
43450
48b67d71
AS
434512011-09-14 Andreas Schwab <schwab@redhat.com>
43452
43453 * elf/rtld.c (dl_main): Also relocate in dependency order when
43454 doing symbol dependency testing.
43455
1ae12c75
AS
434562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43457
43458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43459 Always define `refsym'.
43460
995a80df
AS
434612011-09-13 Andreas Schwab <schwab@redhat.com>
43462
e529793b
AS
43463 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43464 (__FD_ELT): Renamed from __FDELT.
43465 * misc/bits/select2.h (__FD_ELT): Likewise.
43466 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43467 __FD_MASK instead of __FDELT, __FDMASK.
43468 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43469 Likewise.
43470 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43471 Likewise.
43472
52d4fef8
AS
43473 * elf/Makefile (gen-ldd): Fix pattern.
43474
995a80df
AS
43475 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43476 (init_tls): Likewise.
43477
8682f8b0
UD
434782011-09-12 Ulrich Drepper <drepper@gmail.com>
43479
43480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43481
de82006d
AS
434822011-09-12 Andreas Schwab <schwab@redhat.com>
43483
a7c8e6a1
AS
43484 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43485 `struct cmsghdr *' instead of `void *'.
43486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43487 Likewise.
43488
0f31fe77
AS
434892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43490
43491 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43492 if non-absolute.
43493 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43494 ldd_rewrite_script.
0f31fe77 43495
32b4c839
UD
434962011-09-11 Ulrich Drepper <drepper@gmail.com>
43497
83cd1420
UD
43498 * configure.in: Remove --with-tls option.
43499 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43500 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43501 out in case it is missing.
43502 * sysdeps/ia64/elf/configure.in: Likewise.
43503 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43504 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43505 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43506 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43507 * sysdeps/sh/elf/configure.in: Likewise.
43508 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43509 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43510 * sysdeps/x86_64/elf/configure.in: Likewise.
43511 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43512 * sysdeps/mach/hurd/tls.h: Likewise.
43513
633f745d
UD
43514 [BZ #13067]
43515 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43516
f318beb8
UD
43517 [BZ #13090]
43518 * configure.in: Fix use of AC_INIT.
43519
32b4c839
UD
43520 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43521
3ce1f295
UD
435222011-09-10 Ulrich Drepper <drepper@gmail.com>
43523
bb016596
UD
43524 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43525 __set_errno.
8e58439c
UD
43526 * malloc/hooks.c: Likewise.
43527
aebae053 43528 [BZ #11929]
02d46fc4
UD
43529 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43530 variables statically.
43531 (narenas): Initialize.
43532 (list_lock): Initialize.
bb016596
UD
43533 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43534 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
43535 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43536 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43537 Add initializers to main_arena and mp_.
43538 (malloc_state): Remove pagesize member. Change all users to use
43539 GLRO(dl_pagesize).
43540
43541 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43542 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43543 is always initialized.
43544
22a89187
UD
43545 * malloc/malloc.c: Removed unused configurations and dead code.
43546 * malloc/arena.c: Likewise.
43547 * malloc/hooks.c: Likewise.
02d46fc4 43548 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 43549
d063d164
UD
43550 * include/tls.h: Removed. USE___THREAD must always be defined.
43551 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43552 * elf/dl-libc.c: Likewise.
43553 * elf/dl-tsd.c: Likewise.
43554 * include/errno.h: Likewise.
43555 * include/netdb.h: Likewise.
43556 * include/resolv.h: Likewise.
43557 * inet/herrno-loc.c: Likewise.
43558 * inet/herrno.c: Likewise.
43559 * malloc/arena.c: Likewise.
43560 * malloc/hooks.c: Likewise.
43561 * malloc/malloc.c: Likewise.
43562 * resolv/res-state.c: Likewise.
43563 * resolv/res_libc.c: Likewise.
43564 * sysdeps/i386/dl-machine.h: Likewise.
43565 * sysdeps/ia64/dl-machine.h: Likewise.
43566 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43567 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43568 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43569 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43570 * sysdeps/sh/dl-machine.h: Likewise.
43571 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43572 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43573 * sysdeps/unix/i386/sysdep.S: Likewise.
43574 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43575 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43577 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43578 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43579 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43580 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43582 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43584 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43585 * sysdeps/x86_64/dl-machine.h: Likewise.
43586 * tls.make.c: Likewise.
43587
3ce1f295
UD
43588 * configure.in: Remove --with-__thread option. Make tests for
43589 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43590 tls_model attribute fail if no support is available. Remove
43591 USE_IN_LIBIO.
43592 * Makeconfig: Adjust for dropped configure option. All features are
43593 now mandatory.
43594 * Makerules: Likewise.
43595 * Versions.def: Likewise.
43596 * argp/argp-fmtstream.c: Likewise.
43597 * argp/argp-fmtstream.h: Likewise.
43598 * argp/argp-help.c: Likewise.
43599 * assert/assert.c: Likewise.
43600 * config.h.in: Likewise.
43601 * config.make.in: Likewise.
43602 * configure: Likewise.
43603 * configure.in: Likewise.
43604 * csu/Versions: Likewise.
43605 * csu/init.c: Likewise.
43606 * elf/tst-audit2.c: Likewise.
43607 * elf/tst-tls10.c: Likewise.
43608 * elf/tst-tls10.h: Likewise.
43609 * elf/tst-tls11.c: Likewise.
43610 * elf/tst-tls12.c: Likewise.
43611 * elf/tst-tls14.c: Likewise.
43612 * elf/tst-tlsmod11.c: Likewise.
43613 * elf/tst-tlsmod12.c: Likewise.
43614 * elf/tst-tlsmod13.c: Likewise.
43615 * elf/tst-tlsmod13a.c: Likewise.
43616 * elf/tst-tlsmod14a.c: Likewise.
43617 * elf/tst-tlsmod15b.c: Likewise.
43618 * elf/tst-tlsmod16a.c: Likewise.
43619 * elf/tst-tlsmod16b.c: Likewise.
43620 * elf/tst-tlsmod7.c: Likewise.
43621 * elf/tst-tlsmod8.c: Likewise.
43622 * elf/tst-tlsmod9.c: Likewise.
43623 * gmon/gmon.c: Likewise.
43624 * grp/fgetgrent_r.c: Likewise.
43625 * grp/putgrent.c: Likewise.
43626 * hurd/fopenport.c: Likewise.
43627 * include/libc-symbols.h: Likewise.
43628 * include/tls.h: Likewise.
43629 * intl/gettextP.h: Likewise.
43630 * intl/loadinfo.h: Likewise.
43631 * locale/global-locale.c: Likewise.
43632 * locale/localeinfo.h: Likewise.
43633 * mach/devstream.c: Likewise.
43634 * malloc/arena.c: Likewise.
43635 * malloc/set-freeres.c: Likewise.
43636 * misc/err.c: Likewise.
43637 * misc/getttyent.c: Likewise.
43638 * misc/mntent_r.c: Likewise.
43639 * posix/getopt.c: Likewise.
43640 * posix/wordexp.c: Likewise.
43641 * pwd/fgetpwent_r.c: Likewise.
43642 * resolv/Versions: Likewise.
43643 * resolv/res_hconf.c: Likewise.
43644 * shadow/fgetspent_r.c: Likewise.
43645 * shadow/putspent.c: Likewise.
43646 * stdio-common/printf_fphex.c: Likewise.
43647 * stdio-common/tmpfile.c: Likewise.
43648 * stdlib/abort.c: Likewise.
43649 * stdlib/fmtmsg.c: Likewise.
43650 * sunrpc/auth_unix.c: Likewise.
43651 * sunrpc/clnt_perr.c: Likewise.
43652 * sunrpc/clnt_tcp.c: Likewise.
43653 * sunrpc/clnt_udp.c: Likewise.
43654 * sunrpc/clnt_unix.c: Likewise.
43655 * sunrpc/openchild.c: Likewise.
43656 * sunrpc/svc_simple.c: Likewise.
43657 * sunrpc/svc_tcp.c: Likewise.
43658 * sunrpc/svc_udp.c: Likewise.
43659 * sunrpc/svc_unix.c: Likewise.
43660 * sunrpc/xdr.c: Likewise.
43661 * sunrpc/xdr_array.c: Likewise.
43662 * sunrpc/xdr_rec.c: Likewise.
43663 * sunrpc/xdr_ref.c: Likewise.
43664 * sunrpc/xdr_stdio.c: Likewise.
43665
1248c1c4
PB
436662011-09-09 Ulrich Drepper <drepper@gmail.com>
43667
43668 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43669
436702011-07-03 Andreas Jaeger <aj@suse.de>
43671
43672 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43673 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43674 regenerate with gen-libm-tests.pl.
43675
436762010-05-12 Petr Baudis <pasky@suse.cz>
43677
43678 [BZ #11589]
43679 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43680 around j0() zero points by switching to j1().
43681 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43685
f22e1074
UD
436862011-09-09 Ulrich Drepper <drepper@gmail.com>
43687
f19009c1
UD
43688 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43689 instead of 0.
43690 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 43691 instead of 0.
f19009c1
UD
43692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43693 Patch in part by Pavel Roskin <proski@gnu.org>.
43694
3f8cc204
UD
43695 [BZ #13138]
43696 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43697 realloc.
43698 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43699 Free memory block if necessary.
43700
f22e1074
UD
43701 [BZ #12847]
43702 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43703 be NULL. Don't lock in this case.
43704
0a2349f9
RM
437052011-09-09 Roland McGrath <roland@hack.frob.com>
43706
43707 * elf/elf.h (ELFOSABI_GNU): New macro.
43708 (ELFOSABI_LINUX): Define to that.
43709
f3cdd467
DZ
437102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43711
43712 * string/strncat.c (strncat): Undef the symbol in case it has been
43713 defined in bits/string.h.
43714
74718d13
UD
437152011-09-09 Ulrich Drepper <drepper@gmail.com>
43716
633e9e0f
UD
43717 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43718
0a2349f9 43719 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
43720 link map.
43721
f9924780
AJ
437222011-08-17 Andreas Jaeger <aj@suse.de>
43723
43724 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43725
7f5517aa
PP
437262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43727 Ian Lance Taylor <iant@google.com>
43728
43729 * math/libm-test.inc (lround_test): New testcase.
43730 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43731
762011fe
UD
437322011-09-08 Ulrich Drepper <drepper@gmail.com>
43733
92963737
UD
43734 * Makefile: Remove support for automatic cvs check-ins.
43735 * Makerules: Likewise.
43736 * config.make.in: Likewise.
43737 * configure.in: Likewise.
43738 * intl/Makefile: Likewise.
43739 * locale/Makefile: Likewise.
43740 * po/Makefile: Likewise.
43741 * posix/Makefile: Likewise.
43742 * sysdeps/gnu/Makefile: Likewise.
43743 * sysdeps/mach/hurd/Makefile: Likewise.
43744 * sysdeps/sparc/sparc32/Makefile: Likewise.
43745
b0727fd8
JS
43746 [BZ #13118]
43747 * posix/Makefile (bug-regex32-ENV): Define.
43748 Patch by John Stanley <jpsinthemix@verizon.net>.
43749
a0f33f99
UD
43750 * misc/Makefile (headers): Add bits/select2.h.
43751 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43752 * misc/bits/select2.h: New file.
43753 * include/bits/select2.h: New file.
43754 * debug/Makefile (routines): Add fdelt_chk.
43755 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43756 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43757 FD_ISSET.
43758 * debug/fdelt_chk.c: New file.
43759
762011fe
UD
43760 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43761 * wcsmbs/test-wmemcmp.c: Likewise.
43762 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 43763 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
43764
437652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43766
43767 * string/Makefile (strop-tests): Add memcmp.
43768 * string/test-wmemcmp.c: New file.
43769 * string/test-memcmp.c: Add wmemcmp support.
43770
7f513ec8
RM
437712011-09-08 Roland McGrath <roland@hack.frob.com>
43772
0442afb4
RM
43773 [BZ #13153]
43774 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43775 2011-07-19 change.
43776
7f513ec8
RM
43777 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43778 garbage value in a __mach_port_mod_refs call in the cases of the
43779 task-self and thread-self ports.
43780
a12b2239
ST
437812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43782
43783 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43784
610f9ab4
AS
437852011-09-08 Andreas Schwab <schwab@redhat.com>
43786
7f513ec8 43787 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 43788
48882a1a
LD
437892011-09-07 Ulrich Drepper <drepper@gmail.com>
43790
b49865be
UD
43791 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43792
fdc86bc9
UD
43793 * elf/dl-libc.c (dlerror_run): Pass back error code from
43794 dl_catch_error.
43795
c966526a
UD
43796 [BZ #13123]
43797 * elf/dl-load.c (lose): Free l_origin if it is valid.
43798
48882a1a
LD
43799 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43800 names.
43801 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43802 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43803 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43804 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43805 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43806 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43807
77a2a8b4
AZ
438082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43809
43810 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43811 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43812 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43813 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43814 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43815 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43816 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43817 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43818 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43819 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43820
24f579d8
AM
438212011-08-15 Alan Modra <amodra@gmail.com>
43822
43823 [BZ #13092]
43824 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43825 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43826 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43827 ppc_mcount to static-only-routines.
43828 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43829 __mcount_internal.
43830 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43831 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43832
3d4837df
UD
438332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43834
43835 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43836 for finite and infinity parameters.
43837
22700377
WS
438382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43839
43840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43841 and add nop instructions for throughput optimization.
43842 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43843
5025581e
WS
438442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43845
43846 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43847 aligned copy for power7 with vector-scalar instructions.
43848 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43849
08a300c9
L
438502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43851
43852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43853 AVX check.
43854
59178ef9
AS
438552011-09-07 Andreas Schwab <schwab@redhat.com>
43856
43857 [BZ #13144]
43858 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43859 last change.
43860
e38ba7ab
UD
438612011-09-07 Ulrich Drepper <drepper@gmail.com>
43862
43863 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43864 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43865 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43866 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43867 clock_gettime.
43868
d53a73ac
UD
438692011-09-06 Ulrich Drepper <drepper@gmail.com>
43870
fc8bffcc
UD
43871 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43872 Forgot to demangle the pointer.
43873
ceaa0c5d
UD
43874 * sysdeps/i386/sysdep.h: Define atom_text_section.
43875 * sysdeps/x86_64/sysdep.h: Likewise.
43876 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43877 section with atom_text_section.
43878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43879 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43880 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43881 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43882 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43883
a77d3c17
UD
43884 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43886 already be defined. Change to take two parameters and don't assign
43887 result to variable. Adjust all users.
43888 Define INTERNAL_GETTIME if not already defined.
43889 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43890 call.
43891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43892 HAVE_CLOCK_GETTIME_VSYSCALL.
43893 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43894
d53a73ac
UD
43895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43896 gettimeofday vsyscall, just use time.
43897
a8f84144
AS
438982011-09-06 Andreas Schwab <schwab@redhat.com>
43899
43900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43901 <errno.h>.
43902
ef606249
UD
439032011-09-06 Ulrich Drepper <drepper@gmail.com>
43904
43905 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43906 syscall on x86-64.
43907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43908 syscall.
43909 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43910 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43911 syscall if possible.
43912
6585cb60
UD
439132011-09-05 Ulrich Drepper <drepper@gmail.com>
43914
43915 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43916 e_ident. Don't pass to find_mapsXX.
43917 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43918
a5f524e4
LD
439192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43920
43921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43922 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43923 * sysdeps/x86_64/multiarch/strchr.S: Update.
43924 Check bit_slow_BSF bit.
43925 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43926 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43927 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43928
554881ef
UD
439292011-09-05 Ulrich Drepper <drepper@gmail.com>
43930
d96de963
UD
43931 [BZ #13134]
43932 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43933 before glibc 2.15.
43934 (tryshell): Define.
43935 (__spawni): Change last parameter to be flag. Test
43936 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43937 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43938 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43939 * posix/spawni.c: Likewise.
43940 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43941 * posix/spawnp.c: Likewise. Change normal version to use
43942 SPAWN_XFLAGS_USE_PATH.
43943 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43944 SPAWN_XFLAGS_TRY_SHELL.
43945
d48e5868
UD
43946 [BZ #13150]
43947 * posix/glob.h: Remove gcc 1.x support.
43948
554881ef
UD
43949 [BZ #13068]
43950 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43951
693fb948
LD
439522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43953
43954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43955 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43956 strrchr-sse2-bsf
43957 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43958 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43959 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43960 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43961 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43962 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43963
1b48c537
UD
439642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43965
49d42c37
UD
43966 * sysdeps/x86_64/wcscmp.S: New file.
43967
1b48c537
UD
43968 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43969 wcscmp-c wcscmp-sse2
43970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43971 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43972 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43973 * wcsmbs/wcscmp.c: Allow renaming.
43974
15c95c5d
DM
439752011-09-05 David S. Miller <davem@davemloft.net>
43976
43977 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43978 stack slot, rather than the struct return pointer slot.
43979 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43980 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43982 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43983
2f0ad8f3
UD
439842011-09-05 Ulrich Drepper <drepper@gmail.com>
43985
d88ae418
UD
43986 * po/ja.po: Update from translation team.
43987
2f0ad8f3
UD
43988 [BZ #13144]
43989 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43990 kernel in 64-bit binaries.
43991
5f4318d1
DM
439922011-09-01 David S. Miller <davem@davemloft.net>
43993
43994 * elf/elf.h (HWCAP_SPARC_*): Move to..
43995 * sysdeps/sparc/sysdep.h: this new file and add new values.
43996 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43997 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43998 _DL_HWCAP_COUNT to 24.
43999 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44000 entries.
44001 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44002 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44003 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44005 instead of magic constants.
44006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44007
3ba57516
DM
440082011-08-31 David S. Miller <davem@davemloft.net>
44009
44010 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44012 Reimplement to do errno handling inline.
44013 (SYSCALL_ERROR_HANDLER): New macro.
44014 (__SYSCALL_STRING): Do not do errno handling in asm.
44015 (__CLONE_SYSCALL_STRING): Delete.
44016 (__INTERNAL_SYSCALL_STRING): Delete.
44017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44018 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44019 (PSEUDO): Reimplement to do errno handling inline.
44020 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44021 (SYSCALL_ERROR_HANDLER): New macro.
44022 (__SYSCALL_STRING): Do not do errno handling in asm.
44023 (__CLONE_SYSCALL_STRING): Delete.
44024 (__INTERNAL_SYSCALL_STRING): Delete.
44025 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44026 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44027 i386.
44028 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44029 (inline_syscall*): Add 'err' argument.
44030 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44031 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44032 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44033 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44034
44035 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44037
2bc17433
AS
440382011-08-30 Andreas Schwab <schwab@redhat.com>
44039
44040 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44041
fbeb5f4d
JO
440422011-08-29 Jiri Olsa <jolsa@redhat.com>
44043
44044 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44045 directive.
44046
ad69cc26
DM
440472011-08-24 David S. Miller <davem@davemloft.net>
44048
44049 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44050
39dd69df
AS
440512011-08-24 Andreas Schwab <schwab@redhat.com>
44052
44053 * elf/Makefile: Add rules to build and run unload8 test.
44054 * elf/unload8.c: New file.
44055 * elf/unload8mod1.c: New file.
44056 * elf/unload8mod1x.c: New file.
44057 * elf/unload8mod2.c: New file.
44058 * elf/unload8mod3.c: New file.
44059
44060 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44061 it wasn't used.
44062
2c0b250a
DM
440632011-08-23 David S. Miller <davem@davemloft.net>
44064
44065 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44066 subtract stack bias.
44067 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44068 %sp not %fp in calculations.
44069 (_JMPBUF_UNWINDS_ADJ): Likewise.
44070
22044b48
DM
44071 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44072 (aio_suspend): Call it to force an exception region around the
44073 AIO_MISC_WAIT() invocation.
44074
2cae4995
AS
440752011-08-23 Andreas Schwab <schwab@redhat.com>
44076
44077 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44078 backslash.
44079
873a772e
AJ
440802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44081
44082 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44083 protection macro.
44084 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44085 and <dl-machine.h>.
44086 (Elf64_FuncDesc): Remove.
44087
25ad0df1
DM
440882011-08-22 David S. Miller <davem@davemloft.net>
44089
44090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44091 sigaltstack check, add missing cfi directives.
44092 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44093 missing cfi directives, and sigaltstack handling.
44094
e888bcbe
AS
440952011-08-16 Andreas Schwab <schwab@redhat.com>
44096
44097 [BZ #11724]
44098 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44099 object is seen twice.
44100 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44101
44102 * elf/Makefile (distribute): Add tst-initorder2.c.
44103 (tests): Add tst-initorder2.
44104 (modules-names): Add tst-initorder2a tst-initorder2b
44105 tst-initorder2c tst-initorder2d. Add rules to build them.
44106 ($(objpfx)tst-initorder2.out): New rule.
44107 * elf/tst-initorder2.c: New file.
44108 * elf/tst-initorder2.exp: New file.
44109
87162f46
AS
441102011-08-22 Andreas Schwab <schwab@redhat.com>
44111
70538b7f
AS
44112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44113
f55ffe58
AS
44114 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44115 dependencies back to end of function.
44116
87162f46
AS
44117 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44118 $(elfobjdir)/ld.so.
44119
91b392a4
UD
441202011-08-21 Ulrich Drepper <drepper@gmail.com>
44121
44122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44123 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44125 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44126 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44127 of __vdso_gettimeofday.
44128 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44129 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44130 attribute_hidden.
44131 (_libc_vdso_platform_setup): Remove initialization of
44132 __vdso_gettimeofday and __vdso_time.
44133
5c43483f
UD
441342011-08-20 Ulrich Drepper <drepper@gmail.com>
44135
775a77e7
UD
44136 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44137 and fgetc_unlocked.
44138 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44139 getc_unlocked.
89f447ed 44140
49c74ba9
UD
44141 * elf/dl-open.c (add_to_global): Report additions to the global scope
44142 for LD_DEBUG=scopes.
44143 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44144 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44145
5c43483f
UD
44146 [BZ #13114]
44147 * stdio-common/Makefile (tests): Add bug24.
44148 * stdio-common/bug24.c: New file.
44149
a101b025
AJ
441502011-08-19 Andreas Jaeger <aj@suse.de>
44151
44152 [BZ #13114]
44153 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44154 non-existant file when using close-on-exec mode.
44155
c88f1766
UD
441562011-08-20 Ulrich Drepper <drepper@gmail.com>
44157
0276a718
UD
44158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44159 the very first instruction.
44160
c88f1766
UD
44161 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44162 the CFI state in the end.
44163 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44164 inclusion of dl-trampoline.h.
44165 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44166
51ccffa0
AS
441672011-08-19 Andreas Schwab <schwab@redhat.com>
44168
94d7165f
AS
44169 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44170 expectations for long double.
44171
51ccffa0
AS
44172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44173 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44174
fd708658 441752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44176
44177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44178 artificual limit depends upon the system page size.
44179
44f0a71e
UD
441802011-08-17 Ulrich Drepper <drepper@gmail.com>
44181
44182 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44183 * resolv/Makefile: Define CFLAGS-libresolv.
44184
8de79a24
AS
441852011-08-17 Andreas Schwab <schwab@redhat.com>
44186
44187 * nss/makedb.c (compute_tables): Make variables used in nested
44188 function static.
44189
27724598
UD
441902011-08-17 Ulrich Drepper <drepper@gmail.com>
44191
c5305d88
UD
44192 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44193 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44194 if buffer was too small.
44195
27724598
UD
44196 * elf/pldd.c (main): Attach to all threads in the process.
44197 Rewrite /proc handling to use *at functions.
44198
076fe015
UD
441992011-08-16 Ulrich Drepper <drepper@gmail.com>
44200
174baab3
UD
44201 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44202 specifies first scope to show.
44203 (dl_open_worker): Update callers. Move printing scope of new
44204 object to before the relocation.
44f0a71e 44205 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44206 * sysdeps/generic/ldsodefs.h: Update declaration.
44207
076fe015
UD
44208 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44209 string for the scope number.
44210
a60df2c3
UD
442112011-08-14 Ulrich Drepper <drepper@gmail.com>
44212
44213 * nscd/servicescache.c (cache_addserv): Make sure written is always
44214 initialized.
44215
5e4287d1
RM
442162011-08-14 Roland McGrath <roland@hack.frob.com>
44217
85ae0589
RM
44218 * sysdeps/i386/i486/bits/atomic.h
44219 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44220 statement expression, so as to suppress "set but not used" warning.
44221 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44222
69f63097
RM
44223 * string/strncat.c (STRNCAT): Use prototype definition.
44224
675456ef
RM
44225 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44226 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44227 -Iprograms here.
44228 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44229 (localedef-modules): Add localedef.
44230 (locale-modules): Add locale.
44231
5e4287d1
RM
44232 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44233 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44234 to avoid a warning.
44235
9c96ff23
DM
442362011-08-14 David S. Miller <davem@davemloft.net>
44237
44238 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44239 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44240
f9ddf089
UD
442412011-08-13 Ulrich Drepper <drepper@gmail.com>
44242
44f0a71e 44243 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44244 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44245 * elf/rtld.c (dl_main): Set l_name of vDSO.
44246 Call _dl_show_scope when DL_DEBUG_SCOPES.
44247 (process_dl_debug): Recognize scopes flag and also set it for all.
44248 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44249 Declare _dl_show_scope.
44250
1dc27704
UD
44251 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44252 (do_dlopen): Pass caller_dlopen to dl_open.
44253 (__libc_dlopen_mode): Initialize caller_dlopen.
44254
f9ddf089
UD
44255 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44256 of libc. Make tolower call locale-independent. Optimize a bit by
44257 using isdigit instead of isalnum.
44258 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44259
9ac533d3
UD
442602011-08-12 Ulrich Drepper <drepper@gmail.com>
44261
44262 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44263 was a dependency or dynamically loaded.
44264
89edf2e9
UD
442652011-08-11 Ulrich Drepper <drepper@gmail.com>
44266
8e999d29
UD
44267 * intl/l10nflist.c: Allow architecture-specific pop function.
44268 * sysdeps/x86_64/l10nflist.c: New file.
44269
89edf2e9
UD
44270 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44271 classification.
44272
14d96785
AS
442732011-08-10 Andreas Schwab <schwab@redhat.com>
44274
44275 * include/dirent.h: Add libc_hidden_proto for scandirat and
44276 scandirat64. Don't declare __scandirat64.
44277 * dirent/scandirat.c: Add libc_hidden_def.
44278 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44279 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44280
6761ac04
DM
442812011-08-10 David S. Miller <davem@davemloft.net>
44282
44283 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44284 enum.
44285 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44287 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44288
c55fbd1e
UD
442892011-08-09 Ulrich Drepper <drepper@gmail.com>
44290
44291 * Versions.def [libc]: Add GLIBC_2.15.
44292 * dirent/Makefile (routines): Add scandirat and scandirat64.
44293 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44294 GLIBC_2.15.
44295 * dirent/dirent.h: Declare scandirat and scandirat64.
44296 * dirent/scandirat.c: New file.
44297 * dirent/scandirat64.c: New file.
44298 * sysdeps/wordsize-64/scandirat.c: New file.
44299 * sysdeps/wordsize-64/scandirat64.c: New file.
44300 * dirent/opendir.c: Define opendirat.
44301 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44302 using scandirat.
44303 * dirent/scandir64.c: Adjust for scandir.c change.
44304 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44305 __scandirat64, and __scandir_cancel_handler.
44306 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44307 additional parameter and use openat instead of open (outside of ld.so).
44308 Add new __opendir as wrapper around __opendirat.
44309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44310 here without requiring old scandirat implementation.
44311
879165f2
UD
443122011-08-08 Ulrich Drepper <drepper@gmail.com>
44313
44314 * dirent/scandir.c (cancel_handler): Renamed to
44315 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44316 defined. Adjust users.
44317 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44318 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44319
cb7e923b
UD
443202011-08-04 Ulrich Drepper <drepper@gmail.com>
44321
16292edd
UD
44322 * string/test-string.h (IMPL): Use __STRING to expand name and then
44323 stringify it.
44324
cb7e923b
UD
44325 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44326 of cleanups.
44327
cff82933
LD
443282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44329
44330 * string/Makefile: Update.
44331 (strop-tests): Append strncat.
44332 * string/test-wcscmp.c: New file.
44333 New comprehensive test for wcscmp.
44334 * string/test-strcmp.c: Update.
44335 (WIDE): New define.
44336
9be9bfcc
AS
443372011-07-22 Andreas Schwab <schwab@redhat.com>
44338
44339 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44340 line.
44341
2e96f1c7
AS
443422011-07-26 Andreas Schwab <schwab@redhat.com>
44343
44344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44345 encoding to ACE if AI_IDN.
44346
85188888
JJ
443472011-08-01 Jakub Jelinek <jakub@redhat.com>
44348
44349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44350 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44351
5fa16e9b
LD
443522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44353
44354 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44355 Fix overflow bug in strncat.
44356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44357
44358 * string/test-strncat.c: Update.
44359 Add new tests for checking overflow bugs.
44360
443612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44362
44363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44364 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44365 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44366 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44368 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44369 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44370 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44371 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44372
44373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44374 (USE_AS_STRCAT): Define.
44375 Add strcat and strncat support.
44376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44377
8c1a459f
AS
443782011-07-25 Andreas Schwab <schwab@redhat.com>
44379
44380 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44381 __n bigger than INT_MAX+1.
44382 (__strncmp_g): Likewise.
44383
bba33c28
UD
443842011-07-23 Ulrich Drepper <drepper@gmail.com>
44385
798be72d
UD
44386 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44387 * libio/stido.h: Likewise.
44388
8accd4dc
UD
44389 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44390 (AF_NFC): Define.
44391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44392 (AF_NFC): Define.
44393
cbff0d96
UD
44394 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44396 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44397 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44399
9191c04a
UD
44400 [BZ #13021]
44401 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44402 installed.
44403
bba33c28
UD
44404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44405 typo.
44406 (_dl_x86_64_save_sse): Likewise.
44407
90f139dd
UD
444082011-07-22 Ulrich Drepper <drepper@gmail.com>
44409
1aae088a
UD
44410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44411 OSXSAVE.
44412 (_dl_x86_64_save_sse): Likewise.
44413
8e2045f5
UD
44414 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44415
90f139dd
UD
44416 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44417
1d002f25
AS
444182011-07-21 Andreas Schwab <schwab@redhat.com>
44419
44420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44421 change.
44422 (_dl_x86_64_save_sse): Use correct AVX check.
44423
21137f89
UD
444242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44425
44426 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44427 bug in strncpy/strncat.
44428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44429
a65c0b7a
UD
444302011-07-21 Ulrich Drepper <drepper@gmail.com>
44431
44432 * string/tester.c (test_strcat): Add tests for different alignments
44433 of source and destination.
44434 (test_strncat): Likewise.
44435
6986b98a
UD
444362011-07-20 Ulrich Drepper <drepper@gmail.com>
44437
90bb2039
UD
44438 [BZ #12852]
44439 * posix/glob.c (glob): Check passed in values before using them in
44440 expressions to avoid some overflows.
44441 (glob_in_dir): Likewise.
44442
5644ef54
UD
44443 [BZ #13007]
44444 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44445 check for AVX enablement so that we don't crash with old kernels and
44446 new hardware.
44447 * elf/tst-audit4.c: Add same checks here.
44448 * elf/tst-audit6.c: Likewise.
44449
44450 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44451
bfc9dc9b
AS
444522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44453
44454 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44455
702e64bb
UD
444562011-07-20 Ulrich Drepper <drepper@gmail.com>
44457
44458 * po/cs.po: Update from translation team.
44459 * po/bg.po: Likewise.
44460
295e904f
MP
444612011-07-12 Marek Polacek <mpolacek@redhat.com>
44462
44463 * misc/sys/cdefs.h: Add support for const attribute.
44464 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44465 to gnu_dev_{major,minor,makedev} functions.
44466
3ff94596
MP
444672011-07-20 Marek Polacek <mpolacek@redhat.com>
44468
44469 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44470
28b59fca
AS
444712011-07-20 Andreas Schwab <schwab@redhat.com>
44472
44473 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44474 strlen results.
44475
19df733e
AK
444762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44477
44478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44479 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44480 register in order to avoid conflicts with the soft frame pointer
44481 being held in r11 when necessary.
44482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44483 (INTERNAL_VSYSCALL_NCS): Likewise.
44484
c8835729
MP
444852011-07-14 Marek Polacek <mpolacek@redhat.com>
44486
44487 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44488 * elf/dl-fini.c (_dl_fini): Adjust caller.
44489 * elf/dl-close.c (_dl_close_worker): Likewise.
44490 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44491
b902330c
MP
444922011-07-15 Marek Polacek <mpolacek@redhat.com>
44493
8991e135
MP
44494 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44495 "aux_cache->nlibs < 0".
44496
b902330c
MP
44497 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44498 in the reload-count case.
44499
99710781
LD
445002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44501
44502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44503 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44504 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44505 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44506 * sysdeps/x86_64/multiarch/strcat.S: New file.
44507 * sysdeps/x86_64/multiarch/strncat.S: New file.
44508 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44509 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44510 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44511 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44512 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44513 (USE_AS_STRCAT): Define.
44514 Add strcat and strncat support.
44515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44516 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44517 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44518 * string/strncat.c: Update.
44519 (USE_AS_STRNCAT): Define.
44520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44521 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44522 and i7.
44523 * sysdeps/x86_64/multiarch/init-arch.h
44524 (bit_Prefer_PMINUB_for_stringop): New.
44525 (index_Prefer_PMINUB_for_stringop): Likewise.
44526 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44527 bit_Prefer_PMINUB_for_stringop.
44528
7dc6bd90
UD
445292011-07-19 Ulrich Drepper <drepper@gmail.com>
44530
44531 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44532 buffer64.
44533 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44534 of casting of buffer.
44535 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44536 buffer32 and buffer64.
44537 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44538 writes instead of casting of buffer.
44539 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44540 buffer32.
44541 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44542 casting of buffer.
44543
e0e72284
AS
445442011-07-19 Andreas Schwab <schwab@redhat.com>
44545
44546 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44547
feb1eb0b
UD
445482011-07-19 Ulrich Drepper <drepper@gmail.com>
44549
44550 * nscd/nscd.c (termination_handler): Don't do anything for a database
44551 if it has not yet been initialized.
44552
298711ff
UD
445532011-07-18 Ulrich Drepper <drepper@gmail.com>
44554
44555 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44556
445572011-07-15 Marek Polacek <mpolacek@redhat.com>
44558
44559 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44560
f9d68389
UD
445612011-07-18 Ulrich Drepper <drepper@gmail.com>
44562
44563 * po/nl.po: Update from translation team.
44564 * po/sv.po: Likewise.
44565
db290cf5
RM
445662011-07-16 Roland McGrath <roland@hack.frob.com>
44567
44568 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44569 now disallowed by GCC.
5c550700 44570
fd5e21c7
RM
44571 * configure.in (use-default-link): Default to yes if a test -shared
44572 link meets our qualifications.
44573 * configure: Regenerated.
44574
5c550700
RM
44575 * config.make.in (output-format): New variable.
44576 * configure.in: Check for ld --print-output-format support.
44577 * configure: Regenerated.
44578 * Makerules ($(common-objpfx)format.lds)
44579 [$(output-format) != unknown]: Just use $(output-format),
44580 instead of the linker-script munging.
44581
9fa2c032
RM
445822011-07-14 Roland McGrath <roland@hack.frob.com>
44583
a6928d51
RM
44584 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44585 of $(common-objpfx)shlib.lds.
44586 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44587
661607b3
RM
44588 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44589 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44590
9fa2c032
RM
44591 * configure.in (-z relro check): Adjust test code to add a large
44592 writable data section after it.
44593 * configure: Regenerated.
44594
defe9061
RM
445952011-07-11 Roland McGrath <roland@hack.frob.com>
44596
44597 * configure.in (-z relro check): Fix test code to make the variable
44598 truly const.
44599 * configure: Regenerated.
44600
319b9ad4
UD
446012011-07-11 Ulrich Drepper <drepper@gmail.com>
44602
44603 * nscd/nscd.h (struct traced_file): Define.
44604 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44605 elements. Add traced_files.
44606 (inotify_fd): Declare.
44607 (register_traced_file): Declare.
44608 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44609 (inotify_fd): Export.
44610 (resolv_conf_descr): Remove.
44611 (nscd_init): Move inotify descriptor creation to main.
44612 Don't register files for notification here.
44613 (register_traced_file): New function.
44614 (invalidate_cache): Don't use reset_res to determine whether to call
44615 res_init, go through the list of registered files.
44616 (main_loop_poll): The inotify descriptors are now stored in the
44617 structures for the traced files.
44618 (main_loop_epoll): Likewise
44619 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44620 to __nss_disable_nscd.
44621 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44622 for a database anymore. Check the records for all the registered
44623 files instead.
44624 * nss/Makefile (libnss_files-routines): Add files-init.
44625 (libnss_db-routines): Add db-init.
44626 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44627 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44628 * nss/nss_db/db-init.c: New file.
44629 * nss/nss_files/files-init.c: New file.
44630 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44631 __nss_lookup_function.
44632 (__nss_lookup_function): Call nss_load_library.
44633 (nss_load_all_libraries): New function.
44634 (__nss_disable_nscd): Take parameter with callback function for files
44635 to register. Set is_nscd. Load all the DSOs for the NSS modules
44636 used for the cached services.
44637 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44638 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44639 options for features to all the files in nscd.
44640
44641 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44642
23bee3e8
RM
446432011-07-10 Roland McGrath <roland@hack.frob.com>
44644
44645 * csu/elf-init.c (__libc_csu_init): Comment typo.
44646
46a5b7f0
UD
446472011-07-09 Ulrich Drepper <drepper@gmail.com>
44648
44649 * po/pl.po: Update from translation team.
44650 * po/ja.po: Likewise.
44651 * po/ru.po: Likewise.
44652 * po/ko.po: Likewise.
44653 * po/fr.po: Likewise.
44654
d30cf5bb
RM
446552011-07-09 Roland McGrath <roland@hack.frob.com>
44656
113ddea4
RM
44657 * configure.in (.ctors/.dtors header and trailer check):
44658 Use an empirical test on a built program.
44659 * configure: Regenerated.
44660
574920b4
RM
44661 * configure.in (-z relro check): Use an empirical test on a built DSO.
44662 Detect, but do not require, on ia64.
44663 * configure: Regenerated.
44664
d30cf5bb
RM
44665 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44666 Update tests that use readelf to use $READELF instead.
44667 * configure: Regenerated.
44668
8538fdb3
UD
446692011-07-08 Ulrich Drepper <drepper@gmail.com>
44670
44671 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44672 if the result is not used.
44673
04d08991
AJ
446742011-07-05 Andreas Jaeger <aj@suse.de>
44675
44676 [BZ#9696]
44677 * stdlib/tst-strtod.c: Add testcase.
44678
de283087
AD
446792011-07-07 Ulrich Drepper <drepper@gmail.com>
44680
4e5f31c8 44681 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 44682 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
44683 The latter has a higher limit. Take additional parameter to pass to
44684 the new function.
44685 (__pathconf): Pass file to __statfs_link_max.
44686 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44687 __statfs_link_max.
44688 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44689 __statfs_link_max.
44690
de283087
AD
44691 [BZ #12868]
44692 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44694 Handle Lustre.
44695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44696 (__statfs_filesize_max): Likewise.
44697 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44698
c75fa153
AJ
446992011-07-05 Andreas Jaeger <aj@suse.de>
44700
44701 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44702
1a544854
UD
447032011-07-06 Marek Polacek <mpolacek@redhat.com>
44704
44705 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44706 `status' variable.
44707 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44708 Likewise.
44709
6f0eec67
UD
447102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44711
44712 * Makefile (strop-tests): Add strncat.
44713 * string/test-strncat.c: New file.
44714
aae30307
UD
447152011-06-30 Marek Polacek <mpolacek@redhat.com>
44716
44717 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44718
c0cfb5eb
UD
447192011-06-21 Andreas Jaeger <aj@suse.de>
44720
44721 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44722 Copy rule from iconvdata/Makefile.
44723
01636b21
UD
447242011-07-06 Ulrich Drepper <drepper@gmail.com>
44725
44726 [BZ #12922]
44727 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44728 but no long options are defined, just return 'W'.
44729
9895c8bc
UD
447302011-06-22 Marek Polacek <mpolacek@redhat.com>
44731
44732 [BZ #9696]
44733 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44734
5d4cf042
UD
447352011-07-06 Ulrich Drepper <drepper@gmail.com>
44736
44737 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44738 netgroups to read.
960e5535 44739 (innetgr): Likewise.
5d4cf042 44740
751eb97e
RM
447412011-07-05 Roland McGrath <roland@hack.frob.com>
44742
44743 * config.make.in (install_root): Default to $(DESTDIR).
44744
f15f1e45
UD
447452011-07-05 Ulrich Drepper <drepper@gmail.com>
44746
44747 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44748
4e34ac6a
RM
447492011-07-02 Roland McGrath <roland@hack.frob.com>
44750
5e9b6af4
RM
44751 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44752
84f9ea0f
RM
44753 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44754 containing directory rather than embedding absolute directory names.
44755
ea5ee9f7
RM
44756 * scripts/check-local-headers.sh: Rewritten using awk.
44757 Match by word, not by line. Print error messages for matches.
44758 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44759
1b74661a
RM
44760 * Makerules [shlib-lds-flags empty]:
44761 ($(common-objpfx)libc_pic.opts): New target.
44762 ($(common-objpfx)libc_pic.os.clean): New target.
44763 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44764
44765 * config.make.in (OBJCOPY): New variable.
44766 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44767 * configure: Regenerated.
44768
f781ef40
RM
44769 * config.make.in (use-default-link): New variable.
44770 * configure.in (use_default_link): Grok --with-default-link to set it.
44771 * configure: Regenerated.
44772 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44773 (shlib-lds, shlib-lds-flags): Define to empty.
44774
2d4fa81e
RM
44775 * Makerules (shlib-lds): New variable.
44776 (shlib-lds-flags): New variable.
44777 (build-shlib, build-moduile, build-module-asneeded): Use it.
44778 ($(common-objpfx)libc.so): Use $(shlib-lds).
44779 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44780 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44781
31fffa6b
RM
44782 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44783 DT_FLAGS/DT_FLAGS_1 with zero flags.
44784
4e34ac6a
RM
44785 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44786 linker script munging.
44787
fcfc776b
UD
447882011-07-02 Ulrich Drepper <drepper@gmail.com>
44789
44790 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44791 as 128-bit value.
44792 * crypt/sha512.c (sha512_process_block): Perform total addition using
44793 128-bit if possible.
44794 (__sha512_finish_ctx): Likewise.
44795 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44796 as 64-bit value.
44797 * crypt/sha256.c (SWAP64): Define.
44798 (sha256_process_block): Perform total addition using 64-bit if
44799 possible.
44800 (__sha256_finish_ctx): Likewise.
44801
99231d9a
UD
448022011-07-01 Ulrich Drepper <drepper@gmail.com>
44803
44804 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44805 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44806 * nscd/hstcache.c (cache_addhst): Likewise.
44807 * nscd/grpcache.c (cache_addgr): Likewise.
44808 * nscd/aicache.c (addhstaiX): Likewise
44809 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44810
445b4a53
TK
448112011-07-01 Thorsten Kukuk <kukuk@suse.de>
44812
44813 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44815 * nscd/hstcache.c (cache_addhst): Likewise.
44816 * nscd/grpcache.c (cache_addgr): Likewise.
44817 * nscd/aicache.c (addhstaiX): Likewise
44818
6d4d8e8e
AS
448192011-07-01 Andreas Schwab <schwab@redhat.com>
44820
44821 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44822 domain only when needed.
44823
89f654c5
AS
448242011-06-30 Andreas Schwab <schwab@redhat.com>
44825
44826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44827 is always restored.
44828
cf3b23ff
UD
448292011-06-29 Ulrich Drepper <drepper@gmail.com>
44830
44831 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44832 are re-adding the entry.
44833 * nscd/servicescache.c (cache_addserv): Likewise.
44834
751626f9
AJ
448352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44836
44837 * sysdeps/generic/dl-irel.h: fix protection against multiple
44838 inclusions.
44839 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44840
9113ea1f
UD
448412011-06-28 Ulrich Drepper <drepper@gmail.com>
44842
5c0b8d90
UD
44843 [BZ #12935]
44844 * malloc/memusage.sh: Fix quoting in message.
44845 * debug/xtrace.sh: Likewise.
44846
9113ea1f
UD
44847 * configure.in: Remove support for --experimental-malloc option, make
44848 it the default.
44849 * config.make.in: Likewise.
44850 * malloc/Makefile: Likewise.
44851
a4172181
AS
448522011-06-27 Andreas Schwab <schwab@redhat.com>
44853
44854 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44855 two-byte characters.
44856
78a7eee7
RM
448572011-06-27 Roland McGrath <roland@hack.frob.com>
44858
62bede13
RM
44859 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44860 AC_CACHE_CHECK invocation.
44861 * configure: Regenerated.
44862
78a7eee7
RM
44863 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44864
5ce33a62
UD
448652011-06-27 Ulrich Drepper <drepper@gmail.com>
44866
034807a9
UD
44867 [BZ #12350]
44868 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44869 bit from old_res_options.
44870
4902da17
UD
44871 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44872
5ce33a62
UD
44873 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44874 value type for setfct.
44875
c2344f56
L
448762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44877
44878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44879 __gettimeofday instead of gettimeofday.
44880
68468076
UD
448812011-06-26 Ulrich Drepper <drepper@gmail.com>
44882
44883 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44884
acb0d739
L
448852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44886
44887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44888
44889 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44890 info.
44891
8912479f
L
448922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44893
44894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44895 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44896 strcpy-sse2-unaligned strncpy-sse2-unaligned
44897 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44898 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44899 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44900 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44901 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44903 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44904 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44905 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44906 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44907 (STRCPY): Support SSE2 and SSSE3 versions.
44908
d5495a11
UD
449092011-06-24 Ulrich Drepper <drepper@gmail.com>
44910
44911 [BZ #12874]
44912 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44913 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44914 kernels which artificially limit size of requests.
44915
0b1cbaae
L
449162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44917
44918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44919 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44920 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44921 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44922 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44923 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44924 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44925 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44926 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44927 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44928 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44929 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44930 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44931 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44932 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44934 Enable unaligned load optimization for Intel Core i3, i5 and i7
44935 processors.
44936 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44937 Define.
44938 (index_Fast_Unaligned_Load): Define.
44939 (HAS_FAST_UNALIGNED_LOAD): Define.
44940
07f494a0
MP
449412011-06-23 Marek Polacek <mpolacek@redhat.com>
44942
44943 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44944
fa3fc0fe
UD
449452011-06-22 Ulrich Drepper <drepper@gmail.com>
44946
44947 [BZ #12907]
44948 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44949 until it is clear that the information is realy needed.
44950 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44951
e12df166
AS
449522011-06-22 Andreas Schwab <schwab@redhat.com>
44953
44954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44955
852eb34d
UD
449562011-06-22 Ulrich Drepper <drepper@gmail.com>
44957
84e2a551
UD
44958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44959 /sys/devices/system/cpu/online if it is usable.
44960
852eb34d
UD
44961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44962 reading the information from the /proc filesystem to once a second.
44963
6e502e19
UD
449642011-06-21 Andreas Jaeger <aj@suse.de>
44965
44966 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44967 NULL after inclusion of kernel headers.
44968
75d39ff2
UD
449692011-06-21 Ulrich Drepper <drepper@gmail.com>
44970
51f9aa6a
UD
44971 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44972 calls to internal_setent.
44973
c0244a9d
UD
44974 [BZ #12885]
44975 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44976 addresses using gethostbyname4_r ignore IPv4 addresses.
44977
c5e3c2ae
UD
44978 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44979 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44980
75d39ff2
UD
44981 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44982
42675c6f
DM
449832011-06-20 David S. Miller <davem@davemloft.net>
44984
44985 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44986 inclusions.
44987 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44988
44989 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44990 (elf_irel): Use it.
44991 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44992 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44993 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44994 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44995 * sysdeps/x86_64/dl-irel.h: Likewise.
44996
44997 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44998 * elf/dl-sym.c: Likewise.
44999
57912a71
UD
450002011-06-15 Ulrich Drepper <drepper@gmail.com>
45001
45002 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45003 need to dereference resplen2.
45004
ee22793d
AS
450052011-06-14 Andreas Schwab <schwab@redhat.com>
45006
45007 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45008
a9e836b0
UD
450092011-06-15 Ulrich Drepper <drepper@gmail.com>
45010
77fb9117
UD
45011 * Makeconfig: Define vardbdir and inst_vardbdir.
45012 * nss/Makefile: Add rules to install db-Makefile.
45013
40c1b22c
UD
45014 * nss/nss_db/db-XXX.c: Cleanup.
45015
9f2da732
UD
45016 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45017 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45018 GLIBC_PRIVATE.
45019 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45020 * nss/makedb.c: Implement -g option to specify that value strings
45021 are generated and should not be added to table iterated over for
45022 get*ent calls.
45023 * nss/nss_db/db-initgroups.c: New file.
45024
82e9a1f7
UD
45025 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45026 interface.
45027
c41af17e
UD
45028 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45029 (internal_getgrouplist): Adjust to name change.
45030 Update use_initgroups_entry if this is not the first call.
45031 * nss/databases.def: Add initgroups entry.
45032
a9e836b0
UD
45033 * nss/makedb.c (compute_tables): Check result of multiple hash table
45034 sizes to minimize maximum chain length.
45035
2666d441
UD
450362011-06-14 Ulrich Drepper <drepper@gmail.com>
45037
45038 * Versions.def: Add entry for libnss_db.
45039 * shlib-versions: Likewise.
45040 * nss/Makefile: Add rules to build libnss_db.
45041 * nss/Versions: Add libnss_db information. Organize libnss_files
45042 entries better.
45043 * nss/db-Makefile: Add gshadow support. Change rules for the new
45044 makedb progra. Some minor improvements to generate smaller files.
45045 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45046 here from...
45047 * nss/makedb.c: ...here.
45048 Improve database format to be smaller and require less memory at
45049 runtime.
45050 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45051 db anymore.
45052 * nss/nss_db/db-netgrp.c: Likewise.
45053 * nss/nss_db/db-open.c: Likewise.
45054 * nss/nss_files/flies-XXX.x: Adjust comments.
45055 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45056 * nss/nss_files/files-grp.c: Likewise.
45057 * nss/nss_files/files-hosts.c: Likewise.
45058 * nss/nss_files/files-network.c: Likewise.
45059 * nss/nss_files/files-proto.c: Likewise.
45060 * nss/nss_files/files-pwd.c: Likewise.
45061 * nss/nss_files/files-rpc.c: Likewise.
45062 * nss/nss_files/files-service.c: Likewise.
45063 * nss/nss_files/files-sgrp.c: Likewise.
45064 * nss/nss_files/files-spwd.c: Likewise.
45065 * nss/nss_db/db-alias.c: Removed.
45066 * nss/nss_db/dummy-db.h: Removed.
45067
9ee76b5a
UD
450682011-06-02 Ulrich Drepper <drepper@gmail.com>
45069
45070 * nss/makedb.c: Rewritten to not use database library.
45071 * nss/Makefile: Update to build new makedb program.
45072
c71ca1f8
AJ
450732011-06-14 Andreas Jaeger <aj@suse.de>
45074
45075 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45076 memset declaration.
45077
3154bfb8
UD
450782011-06-10 Andreas Schwab <schwab@redhat.com>
45079
45080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45081 tmpbuf.
45082
b350afab
RM
450832011-06-10 Roland McGrath <roland@hack.frob.com>
45084
decd4e50
RM
45085 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45086 * elf/Makefile ($(objpfx)ld.so): Likewise.
45087
5615eaf2
RM
45088 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45089 Don't list ld.so twice in dependencies.
45090
45091 * posix/bug-regex31.c: Include <stdlib.h>.
45092
45093 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45094
45095 * nis/nss_compat/compat-spwd.c
45096 (getspent_next_nss_netgr): Remove unused variable.
45097 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45098
45099 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45100 nonmembers" output to use the right array.
45101
45102 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45103
45104 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45105
45106 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45107 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45108 * catgets/gencat.c (read_input_file): Likewise.
45109 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45110
45111 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45112 variable definition inside #if's controlling its use.
45113
45114 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45115
45116 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45117
45118 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45119
45120 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45121 unreachable code.
45122
45123 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45124
b68e08db
RM
45125 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45126 * configure: Regenerated.
45127
b350afab
RM
45128 * Makerules: Revert last change.
45129 * elf/Makefile: Likewise.
45130
28368601
RM
451312011-06-09 Roland McGrath <roland@hack.frob.com>
45132
45133 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45134 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45135 (reloc-link): Likewise.
45136
11988f8f
UD
451372011-06-09 Ulrich Drepper <drepper@gmail.com>
45138
45139 * elf/Makefile: Add rules to build pldd.
45140 * elf/pldd.c: New file.
45141 * elf/pldd-xx.c: New file.
45142
e80fab37
UD
451432011-06-07 Ulrich Drepper <drepper@gmail.com>
45144
45145 * version.h: Update for 2.15 development version.
45146
9b849836
DM
451472011-06-07 David S. Miller <davem@davemloft.net>
45148
45149 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45150 ifuncs.
45151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45152 elf_machine_lazy_rel): Likewise.
45153 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45155 elf_machine_lazy_rel): Likewise.
45156 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45157 dl_hwcap via passed in argument.
45158 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45159 Likewise.
45160
5a31b283
AK
451612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45162
45163 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45164
069e52f8
RM
451652011-06-06 Roland McGrath <roland@hack.frob.com>
45166
45167 [BZ #12849]
45168 * manual/fdl-1.1.texi: New file, verbatim from:
45169 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45170 * manual/lgpl-2.1.texi: New file, verbatim from:
45171 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45172 * manual/Makefile (licenses): New variable, list those new file names.
45173 (texis): Use it.
45174 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45175
45176 * manual/fdl.texi: File removed.
45177 * manual/lesser.texi: File removed.
45178 * manual/libc.texinfo (Copying, Documentation License):
45179 Use new @include file names, put @appendix directive before @include.
45180
f16846a5
JJ
451812011-06-04 Jakub Jelinek <jakub@redhat.com>
45182
45183 [BZ #12841]
45184 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45185 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45186 (mq_open): Add __NTH.
45187
3d29045b
L
451882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45189
45190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45191 Assume Intel Core i3/i5/i7 processor if AVX is available.
45192
8c297311
UD
451932011-05-31 Ulrich Drepper <drepper@gmail.com>
45194
45195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45196 typo.
45197
c8fc0c91
UD
451982011-05-31 Andreas Schwab <schwab@redhat.com>
45199
45200 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45201 memory. Use alloca_account. Fix memory leak when retrying.
45202
5b27a807
UD
452032011-05-31 Ulrich Drepper <drepper@gmail.com>
45204
356f8bc6
UD
45205 * version.h (RELEASE): Bump for 2.14 release.
45206 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45207
5b27a807
UD
45208 * config.make.in (RANLIB): Remove entry.
45209
01f16ab0
UD
452102011-05-30 Ulrich Drepper <drepper@gmail.com>
45211
41fce8bd
UD
45212 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45213 (libc.pot): Work around missing support for .ksh extension in xgettext.
45214
4769ae77
UD
45215 [BZ #12684]
45216 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45217 if both request failed.
45218 (send_dg): In case of server errors clear resplen or *resplen2.
45219
6b1e7d19
UD
45220 [BZ #12454]
45221 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45222 when there are multiple maps.
45223 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45224 (_dl_fini): Remove test here.
45225
01f16ab0
UD
45226 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45227
b1ebd700
UD
452282011-05-29 Ulrich Drepper <drepper@gmail.com>
45229
7ae22829
UD
45230 [BZ #12350]
45231 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45232 bit from old_res_options.
45233 (gaih_inet): Likewise.
45234
553149f6 45235 [BZ #11099]
18a84741 45236 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45237 as signed.
45238
652ffab1
UD
45239 * resolv/res_init.c (res_setoptions): Make the code more compact.
45240
16985fd0
UD
45241 [BZ #11558]
45242 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45243 set RES_USEVC.
45244
0464f746
UD
45245 [BZ #11634]
45246 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45247
7d17596c
UD
45248 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45249
cf6bbbd7
UD
45250 [BZ #11781]
45251 * malloc/malloc.h: Declare malloc hook variables as volatile.
45252
13f1ab36
UD
45253 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45254 in last patch.
45255
b1ebd700
UD
45256 [BZ #11799]
45257 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45258 raise in the comment.
80e2212d
UD
45259 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45261 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45262
ce67228d
UD
452632011-05-28 Ulrich Drepper <drepper@gmail.com>
45264
8887a920
UD
45265 [BZ #12811]
45266 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45267 grow the buffers more if it already has to be sufficient.
45268 (build_wcs_upper_buffer): Likewise.
45269 * posix/regexec.c (check_matching): Likewise.
45270 (clean_state_log_if_needed): Likewise.
45271 (extend_buffers): Don't enlarge buffers beyond size of the input
45272 buffer.
45273 Patches mostly by Emil Wojak <emil@wojak.eu>.
45274 * posix/bug-regex32.c: New file.
45275 * posix/Makefile (tests): Add bug-regex32.
45276
4f031072
UD
45277 * locale/findlocale.c (_nl_find_locale): Return right away if
45278 _nl_explode_name failed.
45279 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45280
d0478f0c
UD
45281 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45282
de81b246
UD
45283 * debug/xtrace.sh: Unify messages.
45284 * malloc/memusage.sh: Likewise.
45285
c738465a
UD
45286 [BZ #12813]
45287 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45288 time symbol from vDSO. Substitute with vsyscall if not available.
45289 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45290 __vdso_time.
45291
f1f929d7
UD
45292 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45293 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45294 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45295 Add sendmmsg and internal_sendmmsg.
45296 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45297 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45299
ce67228d
UD
45300 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45301 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45302 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45303
e57420c6
UD
453042011-05-27 Ulrich Drepper <drepper@gmail.com>
45305
a8509ca5
UD
45306 [BZ #12813]
45307 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45308 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45309 available.
45310 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45311 __vdso_getcpu.
45312
e57420c6
UD
45313 [BZ #12814]
45314 * iconvdata/Makefile (tests): Add bug-iconv9.
45315 * iconvdata/bug-iconv9.c: New file.
45316
4d07db15
AS
453172011-05-27 Andreas Schwab <schwab@redhat.com>
45318
45319 [BZ #12814]
45320 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45321
ea486f69
JJ
453222011-05-25 Jakub Jelinek <jakub@redhat.com>
45323
45324 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45325 (struct user_regs_struct): Change intcs field back to cs.
45326
6f038433
UD
453272011-05-25 Ulrich Drepper <drepper@gmail.com>
45328
45329 * po/ja.po: Update from translation team.
45330
67f86a25
UD
453312011-05-23 Ulrich Drepper <drepper@gmail.com>
45332
45333 [BZ #12795]
45334 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45335 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45336
def7fbd6
AS
453372011-05-20 Andreas Schwab <schwab@redhat.com>
45338
45339 * stdlib/longlong.h: Update from GCC.
45340
f50ef8f1
AS
453412011-05-23 Andreas Schwab <schwab@redhat.com>
45342
45343 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45344 parameter name.
45345 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45346 Add parameter name.
45347 (__sysconf): Pass it down.
45348
de7ce8f1
UD
453492011-05-22 Ulrich Drepper <drepper@gmail.com>
45350
f2962a71
UD
45351 [BZ #12671]
45352 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45353 some situations.
45354 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45355 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45356 add in in __libc_use_alloca calls. Adjust callers.
45357 (glob): Use malloc in some situations.
45358
de7ce8f1
UD
45359 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45360 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45361 pltexit.
45362
aec84f53
UD
453632011-05-21 Ulrich Drepper <drepper@gmail.com>
45364
05bb4a68
UD
45365 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45366 and CLOCK_BOOTTIME_ALARM.
45367
7ea72f99
UD
45368 [BZ #12782]
45369 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45370 is returned.
45371
7e4afad5
UD
45372 * string/_strerror.c (__strerror_r): Print negative errors as signed
45373 numbers.
45374
8e211fec
UD
45375 [BZ #12777]
45376 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45377 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45378 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45379
f7d82dc9
UD
45380 * configure.in: Fix typo in redirection and correct removal of test
45381 files in two cases.
45382
cc9e536d
UD
45383 [BZ #12788]
45384 * locale/setlocale.c (new_composite_name): Fix test to check for
45385 identical name of all categories.
45386
aec84f53
UD
45387 [BZ #12792]
45388 * libio/filedoalloc.c (local_isatty): New function.
45389 (_IO_file_doallocate): Use local_isatty.
45390 * stdio-common/perror.c (perror): In case a new stream is used
45391 forward the stream error.
45392 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45393 error flag.
45394
78e64fdc
RT
453952011-05-20 Ulrich Drepper <drepper@gmail.com>
45396
34a9094f
UD
45397 [BZ #11869]
45398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45399 alloca.
45400 * include/alloca.h (extend_alloca_account): Define.
45401
78e64fdc
RT
45402 [BZ #11857]
45403 * posix/regex.h: Fix comments with documentation of user-accessible
45404 fields after compilation and describe correct free'ing of pattern
45405 after re_compile_pattern.
45406 Patch by Reuben Thomas <rrt@sc3d.org>.
45407
457bddfc
RA
454082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45409
45410 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45411 and -mno-altivec to prevent the compiler from using Altivec and/or
45412 VSX instructions when the corresponding registers are not available.
45413
a4527b51
AS
454142011-05-19 Andreas Schwab <schwab@redhat.com>
45415
45416 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45417
ed690b2f
UD
454182011-05-19 Ulrich Drepper <drepper@gmail.com>
45419
45420 * libio/freopen.c (freopen): Use __dup2, not dup2.
45421 * libio/freopen64.c (freopen64): Likewise.
45422
8db73634
L
454232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45424
45425 [BZ #12775]
45426 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45427 * math/Makefile (tests): Add test-powl.
45428 (CFLAGS-test-powl.c): Define.
45429 * math/test-powl.c: New file.
45430
0a197a9d
L
454312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45432
45433 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45434
ee30c380
UD
454352011-05-17 Ulrich Drepper <drepper@gmail.com>
45436
45437 [BZ #11837]
45438 * iconvdata/gb18030.c: Update to GB18020-2005.
45439
6ce75379
UD
454402011-05-16 Ulrich Drepper <drepper@gmail.com>
45441
a4b89fd8
AR
45442 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45443 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45444 Patch by Aharon Robbins <arnold@skeeve.com>.
45445
ea389b12
UD
45446 [BZ #11892]
45447 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45448 on the stack.
45449
68a3f91f
UD
45450 [BZ #11895]
45451 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45452 through underflows.
45453
15cc7dd1
UD
45454 [BZ #12766]
45455 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45456 point to strings before performing equality test for error_one_per_line
45457 mode.
45458
f3799213
UD
45459 [BZ #11697]
45460 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45461
d79a9c94
UD
45462 [BZ #11820]
45463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45464 (struct user_fpregs_struct): Avoid __uint*_t types.
45465
56e5eb46
UD
45466 [BZ #6420]
45467 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45468 symbol info. Use it instead of calling _dl_addr locally.
45469 (lock_and_info): New function.
45470 (tr_freehook): Call lock_and_info and pass symbol info as additional
45471 parameter to tr_where.
45472 (tr_mallochook): Likewise.
45473 (tr_reallochook): Likewise.
45474 (tr_memalignhook): Likewise.
45475
6ce75379
UD
45476 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45477 used and couldn't be at all thread-safe.
45478
f8a3b5bf
UD
454792011-05-15 Ulrich Drepper <drepper@gmail.com>
45480
94b7cc37
UD
45481 * libio/freopen.c (freopen): Don't close old file descriptor
45482 before the new one is opened. Instead dup the new file descriptor
45483 to the old one after the new stream is created.
45484 * libio/freopen64.c (freopen64): Likewise.
45485 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45486 * libio/fileops.c (_IO_new_file_close_it): Handle new
45487 _IO_FLAGS2_NOCLOSE flag.
45488 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45489 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45490 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45491 _IO_FLAGS2_NOCLOSE flag.
45492 * include/unistd.h: Add hidden_proto for dup3.
45493 Define __have_dup3.
45494 * io/dup3.c: Define hidden symbol.
45495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45496
bd25564e
UD
45497 [BZ #7101]
45498 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45499 when an incomplete long option is used.
45500 * posix/tst-getopt_long1.c: New file.
45501 * posix/Makefile (tests): Add tst-getopt_long1.
45502
c84cfef4
UD
45503 [BZ #10138]
45504 * scripts/config.guess: Update from autoconf-2.68.
45505 * scripts/config.sub: Likewise.
45506
3b85df27
UD
45507 [BZ #10157]
45508 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45509 tests into ...
45510 (has_cpuclock): ...this. New function.
45511 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45512 macro here based on has_cpuclock code.
45513
15a856b1
UD
45514 [BZ #10149]
45515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45516 First byte (not low byte) is now always NUL.
45517 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45518
05f399e6
UD
45519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45520 Use non-cancelable interfaces.
45521
10a52685 45522 [BZ #9809]
94ecc67d
UD
45523 * locale/iso-639.def: Add entry for Sorani.
45524
f8a3b5bf
UD
45525 [BZ #11901]
45526 * include/stdlib.h: Move include protection to the right place.
45527 Define abort_msg_s. Declare __abort_msg with it.
45528 * stdlib/abort.c (__abort_msg): Adjust type.
45529 * assert/assert.c (__assert_fail_base): New function. Majority
45530 of code from __assert_fail. Allocate memory for __abort_msg with
45531 mmap.
45532 (__assert_fail): Now call __assert_fail_base.
45533 * assert/assert-perr.c: Remove bulk of implementation. Use
45534 __assert_fail_base.
45535 * include/assert.hL Declare __assert_fail_base.
45536 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45537 mmap.
45538 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45539
1af4e298
UD
455402011-05-14 Ulrich Drepper <drepper@gmail.com>
45541
f8a3b5bf 45542 [BZ #11952]
d26dfc60
MG
45543 [BZ #12453]
45544 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45545 until all modules are registered in the DTV.
45546 * elf/Makefile: Add rules to build and run tst-tls19.
45547 * elf/tst-tls19.c: New file.
45548 * elf/tst-tls19mod1.c: New file.
45549 * elf/tst-tls19mod2.c: New file.
45550 * elf/tst-tls19mod3.c: New file.
45551 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45552
2fc54d6f
UD
45553 [BZ #12083]
45554 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45555 correctly.
45556
98d76b46
UD
45557 [BZ #12601]
45558 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45559 two-byte sequence errors.
45560 * iconvdata/Makefile (tests): Add bug-iconv8.
45561 * iconvdata/bug-iconv8.c: New file.
45562
da3c19ef
UD
45563 [BZ #12626]
45564 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45565 buf2 definition.
45566
ca408c15
UD
45567 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45568
d6f67f7d
UD
45569 [BZ #12432]
45570 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45571 (dummy_getcfa): New function.
45572 (init): Get _Unwind_GetCFA address, use dummy if not found.
45573 (backtrace_helper): In recursion check, also check whether CFA changes.
45574 (__backtrace): Completely initialize arg.
45575
1af4e298 45576 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
45577 storing incomplete byte sequence in state object. Avoid testing for
45578 guaranteed too small input if we know there is enough data available.
1af4e298 45579
da62f81b
AS
455802011-05-11 Andreas Schwab <schwab@redhat.com>
45581
45582 * Makeconfig (+link-pie): Indent.
45583 * Rules (binaries-pie): Define if $(have-fpie) and
45584 $(build-shared).
45585 (binaries-shared): Also filter out $(binaries-pie).
45586 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45587 * nscd/Makefile (others-pie): Add nscd.
45588 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45589 ($(objpfx)nscd): Remove command override.
45590 * login/Makefile (others-pie): Add pt_chown.
45591 ($(objpfx)pt_chown): Remove command override.
45592 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45593 remove command overrides.
45594
fcabc0f8
UD
455952011-05-13 Ulrich Drepper <drepper@gmail.com>
45596
20030ae6
UD
45597 * libio/tst_putwc.c: Fix error messages.
45598
fcabc0f8
UD
45599 [BZ #12724]
45600 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45601 currently writing and seek to current position when not.
45602 * libio/Makefile (tests): Add bug-fclose1.
45603 * libio/bug-fclose1.c: New file.
45604
320a5dc0
PB
456052011-05-12 Ulrich Drepper <drepper@gmail.com>
45606
45607 [BZ #12511]
45608 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45609 don't set DF_1_NODELETE here.
45610 (do_lookup_x): When entering new entry test for copy relocation
45611 and if necessary set DF_1_NODELETE flag.
45612 * elf/tst-unique4.cc: New file.
45613 * elf/tst-unique4.h: New file.
45614 * elf/tst-unique4lib.cc: New file.
45615 * elf/Makefile: Add rules to build and run tst-unique4.
45616 Patch by Piotr Bury <pbury@goahead.com>.
45617
22836f52
UD
456182011-05-11 Ulrich Drepper <drepper@gmail.com>
45619
f574184a
UD
45620 [BZ #12052]
45621 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45622
e1fb097f
UD
45623 [BZ #12625]
45624 * misc/mntent_r.c (addmntent): Flush the stream after the output
45625
22836f52
UD
45626 [BZ #12393]
45627 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45628 (is_trusted_path_normalize): Skip initial colon. Append slash
45629 to empty buffer. Duplicate is_trusted_path code but allow
45630 constructed patch to be prefix.
45631 (is_dst): Allow $ORIGIN followed by /.
45632 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45633 Correct testing of result of is_trusted_path_normalize
45634 (decompose_rpath): Fix warning.
45635
7b3b0b2a
UD
456362011-05-10 Ulrich Drepper <drepper@gmail.com>
45637
45638 [BZ #11257]
45639 * grp/initgroups.c (internal_getgrouplist): When we found the service
45640 list through the initgroups entry in nsswitch.conf do not always
45641 continue on a successful lookup. Don't always use the
eac80ce2 45642 __nss_group_database value if it is set.
7b3b0b2a
UD
45643 * nss/nsswitch.conf (initgroups): Change action for successful db
45644 lookup to continue for compatibility.
45645
2a81eaa5
UD
456462011-05-09 Ulrich Drepper <drepper@gmail.com>
45647
be97a69e
UD
45648 [BZ #11532]
45649 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45650 and CP774 modules.
45651 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45652 and CP774 modules.
45653 * iconvdata/tst-tables.sh: Likewise.
45654 * iconvdata/cp770.c: New file.
45655 * iconvdata/cp771.c: New file.
45656 * iconvdata/cp772.c: New file.
45657 * iconvdata/cp773.c: New file.
45658 * iconvdata/cp774.c: New file.
45659 * iconvdata/testdata/CP770: New file.
45660 * iconvdata/testdata/CP770..UTF8: New file.
45661 * iconvdata/testdata/CP771: New file.
45662 * iconvdata/testdata/CP771..UTF8: New file.
45663 * iconvdata/testdata/CP772: New file.
45664 * iconvdata/testdata/CP772..UTF8: New file.
45665 * iconvdata/testdata/CP773: New file.
45666 * iconvdata/testdata/CP773..UTF8: New file.
45667 * iconvdata/testdata/CP774: New file.
45668 * iconvdata/testdata/CP774..UTF8: New file.
45669
45670 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45671 END CHARMAP line.
45672 * iconvdata/gen-8bit-gap.sh: Likewise.
45673 * iconvdata/gen-8bit.sh: Likewise.
45674
c1e9e399
UD
45675 * locale/iso-639.def: Add ary entry.
45676
24c55fb3 45677 [BZ #11258]
96b4b1b0
UD
45678 * locale/C-translit.h.in: Add U20A1 transliteration.
45679
bdc2f971
KB
45680 [BZ #12178]
45681 * locale/iso-639.def: Add wae entry.
45682 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45683
2952b117
UD
45684 [BZ #12545]
45685 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45686 for n.
45687
2a81eaa5
UD
45688 [BZ #12711]
45689 * locale/C-translit.h.in: Add entry for U20B9.
45690 Patch by pravin.d.s@gmail.com.
45691
28377d1b
UD
456922011-05-08 Ulrich Drepper <drepper@gmail.com>
45693
7fb90fb8
UD
45694 [BZ #12713]
45695 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45696 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
45697 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45698 in rtld. Use *stat64.
7fb90fb8 45699 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 45700 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 45701 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
45702 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45703 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45704 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45705 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45706 __fstatat64 macros.
7fb90fb8
UD
45707 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45708 * dirent/rewinddir.c: Add libc_hidden_def.
45709 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 45710 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 45711
28377d1b
UD
45712 * include/dirent.h (__alloc_dir): Add flags parameter.
45713 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45714 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45715 __alloc_dir.
45716 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45717 from fdopendir if O_CLOEXEC is already set.
45718
66bdbaa4
AM
457192011-03-15 Alan Modra <amodra@gmail.com>
45720
45721 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45722 l_tls_firstbyte_offset non-zero. Save padding offset in
45723 l_tls_firstbyte_offset for later use.
45724 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45725 freeing static tls block.
45726
95721191
JN
457272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45728
45729 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45730 where #ifdef was intended. The intent is to prevent ARG_MAX from
45731 being defined by the kernel headers.
45732
f87dfb1f
UD
457332011-05-07 Ulrich Drepper <drepper@gmail.com>
45734
45735 [BZ #12734]
45736 * resolv/resolv.h: Define RES_NOTLDQUERY.
45737 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45738 no-tld-query and set RES_NOTLDQUERY.
45739 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45740 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45741 modern BIND to search name as TLD unless forbidden.
45742
47c3cd7a
UD
457432011-05-07 Petr Baudis <pasky@suse.cz>
45744 Ulrich Drepper <drepper@gmail.com>
45745
45746 [BZ #12393]
45747 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45748 (is_trusted_path): ...to here.
c1e9ea35 45749 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 45750 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 45751 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 45752
8a35c912
PP
457532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45754
45755 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45756 __BEGIN/__END_DECLS.
45757
acd41f47
UD
457582011-05-06 Ulrich Drepper <drepper@gmail.com>
45759
45760 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45761 NSS_STATUS_NOTFOUND if no record was found.
45762
597df647
AS
457632011-05-05 Andreas Schwab <schwab@redhat.com>
45764
45765 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45766 (headers-not-in-tirpc): Remove rpc/netdb.h
45767 * resolv/netdb.h: Revert last change.
45768
b9af1301
PP
457692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45770
45771 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45772 circular dependency between libgcc.a and libc.a.
45773
4e34d5f5
AS
457742011-05-05 Andreas Schwab <schwab@redhat.com>
45775
45776 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45777 * nis/Makefile: Don't install rpcsvc/*.
45778 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45779 instead of <rpc/types.h>.
45780 (MAXHOSTNAMELEN): Define.
45781
00ee369c
AS
457822011-05-03 Andreas Schwab <schwab@redhat.com>
45783
45784 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45785
0b592a30
MB
457862011-04-28 Maciej Babinski <mbabinski@google.com>
45787
45788 [BZ #12714]
45789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45790 gethostbyname4_r when IPv6 results are possible.
45791
6e04cbbe
UD
457922011-05-02 Ulrich Drepper <drepper@gmail.com>
45793
45794 [BZ #12723]
45795 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45796 _PC_PIPE_BUF handling.
45797
e4ecafe0
BH
457982011-04-30 Bruno Haible <bruno@clisp.org>
45799
45800 [BZ #12717]
45801 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45802 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45803 to 'int'.
45804 * inet/getnameinfo.c (getnameinfo): Likewise.
45805
125ee683
UD
458062011-04-29 Ulrich Drepper <drepper@gmail.com>
45807
45808 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45809 to groups setting in database lookup.
45810 * nss/nsswitch.conf: Add initgroups entry.
45811
b722481a
EB
458122011-04-22 Ulrich Drepper <drepper@gmail.com>
45813
45814 [BZ #12685]
45815 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45816 mode string.
45817 Patch by Eric Blake <eblake@redhat.com>.
45818
4df46dbd
L
458192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45820
45821 * sunrpc/Makefile (need-export-routines): Add svc_run.
45822 (routines): Remove svc_run.
45823 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45824 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45825 * sunrpc/svc_run.c (svc_run): Likewise.
45826 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45827
e84142d2
UD
458282011-04-21 Ulrich Drepper <drepper@gmail.com>
45829
45830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45831 problem in reallocation in last patch.
45832
877175d8
UD
458332011-04-20 Ulrich Drepper <drepper@gmail.com>
45834
45835 * sunrpc/Makefile: Move inclusion of Rules.
45836
ab8eed78
UD
458372011-04-19 Ulrich Drepper <drepper@gmail.com>
45838
45839 * nss/nss_files/files-initgroups.c: New file.
45840 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45841 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45842 _nss_files_initgroups_dyn.
45843
e3d8f584
RS
458442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45845
45846 * elf/elf.h (R_ARM_IRELATIVE): Define.
45847
af190f45
UD
458482011-04-19 Ulrich Drepper <drepper@gmail.com>
45849
45850 * po/ru.po: Update from translation team.
45851
53cf59ef
UD
458522011-04-17 Ulrich Drepper <drepper@gmail.com>
45853
45854 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45855 dependencies.
45856
4c559bcd
MF
458572011-02-06 Mike Frysinger <vapier@gentoo.org>
45858
45859 [BZ #12653]
45860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45861 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45865
4420675c
AS
458662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45867
45868 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45869 differing bytes.
45870 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45873
75ea32ab
UD
458742011-04-17 Ulrich Drepper <drepper@gmail.com>
45875
45876 [BZ #12420]
45877 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45878 storing it.
45879 * stdlib/bug-getcontext.c: New file.
45880 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45881
27390476
AK
458822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45883
45884 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45885 instructions into .machine "z9-109".
45886 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45887 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45888
10442705
AK
458892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45890
45891 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45892 between environment variables and auxiliary vector.
45893
7b57bfe5
UD
458942011-04-16 Ulrich Drepper <drepper@gmail.com>
45895
45896 * Makefile: Add rules to build linkobj/libc.so.
45897 * include/libc-symbols.h: Define libc_hidden_nolink.
45898 * include/rpc/auth.h: Mark functions which are to be hidden.
45899 * include/rpc/auth_des.h: Likewise.
45900 * include/rpc/auth_unix.h: Likewise.
45901 * include/rpc/clnt.h: Likewise.
45902 * include/rpc/des_crypt.h: Likewise.
45903 * include/rpc/key_prot.h: Likewise.
45904 * include/rpc/pmap_clnt.h: Likewise.
45905 * include/rpc/pmap_prot.h: Likewise.
45906 * include/rpc/pmap_rmt.h: Likewise.
45907 * include/rpc/rpc_msg.h: Likewise.
45908 * include/rpc/svc.h: Likewise.
45909 * include/rpc/svc_auth.h: Likewise.
45910 * include/rpc/xdr.h: Likewise.
45911 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45912 * nss/Makefile: Likewise.
45913 * sunrpc/Makefile: Don't install headers. Build library with normal
45914 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45915 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45916 for the compat linking library. Remove use of INTDEF/INTUSE.
45917 * sunrpc/auth_none.c: Likewise.
45918 * sunrpc/auth_unix.c: Likewise.
45919 * sunrpc/authdes_prot.c: Likewise.
45920 * sunrpc/authuxprot.c: Likewise.
45921 * sunrpc/clnt_gen.c: Likewise.
45922 * sunrpc/clnt_perr.c: Likewise.
45923 * sunrpc/clnt_raw.c: Likewise.
45924 * sunrpc/clnt_simp.c: Likewise.
45925 * sunrpc/clnt_tcp.c: Likewise.
45926 * sunrpc/clnt_udp.c: Likewise.
45927 * sunrpc/clnt_unix.c: Likewise.
45928 * sunrpc/des_crypt.c: Likewise.
45929 * sunrpc/des_soft.c: Likewise.
45930 * sunrpc/get_myaddr.c: Likewise.
45931 * sunrpc/key_call.c: Likewise.
45932 * sunrpc/key_prot.c: Likewise.
45933 * sunrpc/netname.c: Likewise.
45934 * sunrpc/pm_getmaps.c: Likewise.
45935 * sunrpc/pm_getport.c: Likewise.
45936 * sunrpc/pmap_clnt.c: Likewise.
45937 * sunrpc/pmap_prot.c: Likewise.
45938 * sunrpc/pmap_prot2.c: Likewise.
45939 * sunrpc/pmap_rmt.c: Likewise.
45940 * sunrpc/publickey.c: Likewise.
45941 * sunrpc/rpc_cmsg.c: Likewise.
45942 * sunrpc/rpc_common.c: Likewise.
45943 * sunrpc/rpc_dtable.c: Likewise.
45944 * sunrpc/rpc_prot.c: Likewise.
45945 * sunrpc/rpc_thread.c: Likewise.
45946 * sunrpc/rtime.c: Likewise.
45947 * sunrpc/svc.c: Likewise.
45948 * sunrpc/svc_auth.c: Likewise.
45949 * sunrpc/svc_authux.c: Likewise.
45950 * sunrpc/svc_raw.c: Likewise.
45951 * sunrpc/svc_run.c: Likewise.
45952 * sunrpc/svc_simple.c: Likewise.
45953 * sunrpc/svc_tcp.c: Likewise.
45954 * sunrpc/svc_udp.c: Likewise.
45955 * sunrpc/svc_unix.c: Likewise.
45956 * sunrpc/svcauth_des.c: Likewise.
45957 * sunrpc/xcrypt.c: Likewise.
45958 * sunrpc/xdr.c: Likewise.
45959 * sunrpc/xdr_array.c: Likewise.
45960 * sunrpc/xdr_float.c: Likewise.
45961 * sunrpc/xdr_intXX_t.c: Likewise.
45962 * sunrpc/xdr_mem.c: Likewise.
45963 * sunrpc/xdr_rec.c: Likewise.
45964 * sunrpc/xdr_ref.c: Likewise.
45965 * sunrpc/xdr_sizeof.c: Likewise.
45966 * sunrpc/xdr_stdio.c: Likewise.
45967
e6c61494
UD
459682011-04-10 Ulrich Drepper <drepper@gmail.com>
45969
45970 [BZ #12650]
45971 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45972 * sysdeps/ia64/dl-tls.h: Likewise.
45973 * sysdeps/powerpc/dl-tls.h: Likewise.
45974 * sysdeps/s390/dl-tls.h: Likewise.
45975 * sysdeps/sh/dl-tls.h: Likewise.
45976 * sysdeps/sparc/dl-tls.h: Likewise.
45977 * sysdeps/x86_64/dl-tls.h: Likewise.
45978 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45979
34fe483e
AS
459802011-03-14 Andreas Schwab <schwab@redhat.com>
45981
45982 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45983 rpath element also skip the following colon.
45984 (expand_dynamic_string_token): Add is_path parameter and pass
45985 down to DL_DST_REQUIRED and _dl_dst_substitute.
45986 (decompose_rpath): Call expand_dynamic_string_token with
45987 non-zero is_path. Ignore empty rpaths.
45988 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45989 with zero is_path.
45990
f12a32e6
AS
459912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45992
45993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45994 Make cancelable.
45995
38a7d692
UD
459962011-04-09 Ulrich Drepper <drepper@gmail.com>
45997
45998 [BZ #12655]
45999 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46000 Patch by Filipe David Manana <fdmanana@apache.org>.
46001
e451d22b
AS
460022011-04-07 Andreas Schwab <schwab@redhat.com>
46003
46004 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46005 Maintain aligned stack.
46006 (CHECK_RSP): Remove unused macro.
46007
dedc7c7b
UD
460082011-04-03 Ulrich Drepper <drepper@gmail.com>
46009
46010 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46011 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46012
94521213
UD
460132011-04-02 Ulrich Drepper <drepper@gmail.com>
46014
46015 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46016
8cb700c0 46017 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46018
0354e355
L
460192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46020
46021 [BZ #12518]
46022 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46023 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46024 * sysdeps/x86_64/memmove.c: New file.
46025 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46026 (memcpy): Renamed to ...
46027 (__new_memcpy): This.
46028 (memcpy): Provide GLIBC_2_14 memcpy.
46029 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46030 (memcpy): Provide GLIBC_2_2_5 memcpy.
46031
8593482f
UD
460322011-04-01 Ulrich Drepper <drepper@gmail.com>
46033
46034 [BZ #12631]
46035 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46036
81a5726b
AS
460372011-03-30 Andreas Schwab <schwab@redhat.com>
46038
46039 * misc/syncfs.c: New file.
46040 * misc/Makefile (routines): Add syncfs.
46041 * posix/unistd.h: Declare syncfs.
46042 * sysdeps/unix/syscalls.list: Add syncfs.
46043
00e5419f
AS
460442011-04-01 Andreas Schwab <schwab@redhat.com>
46045
46046 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46047 open_by_handle_at.
46048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46053 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46055
748876bf
UD
460562011-04-01 Ulrich Drepper <drepper@gmail.com>
46057
658e451d
UD
46058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46059 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46060 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46065
748876bf
UD
46066 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46067 sync_file_range.c with -fexceptions.
46068 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46069 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46070 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46071 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46072 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46073 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46075 sync_file_range as cancellation point
46076 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46077 now a wrapper around __call_sync_file_range with cancellation handling.
46078 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46079 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46080 function name to __call_sync_file_range.
46081 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46082 Add call_sync_file_range.
748876bf 46083
6e63d5e1
AS
460842011-04-01 Andreas Schwab <schwab@redhat.com>
46085
46086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46087 bits/timex.h.
6e63d5e1 46088
46998f74
UD
460892011-04-01 Ulrich Drepper <drepper@gmail.com>
46090
4c1423ed
UD
46091 * iconv/iconv.h: Fix typo in comment.
46092 * io/fcntl.h: Likewise.
46093 * libio/stdio.h: Likewise.
46094 * posix/spawn.h: Likewise.
46095 * posix/unistd.h: Likewise.
46096 * stdlib/stdlib.h: Likewise.
46097 * time/time.h: Likewise.
46098 * wcsmbs/wchar.h: Likewise.
46099
158648c0
UD
46100 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46101 open_by_handle): Add.
46102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46103 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46104 Augment a few comments.
46105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46110 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46111 open_by_handle.
46112
46998f74
UD
46113 * io/fcntl.h (AT_EMPTY_PATH): Define.
46114
83fe108b
UD
461152011-03-30 Ulrich Drepper <drepper@gmail.com>
46116
46117 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46118 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46119 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46120 to...
46121 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46122 * Versions.def: Add GLIBC_2.14.
46123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46124 Export.
83fe108b 46125
bb242059
UD
461262011-03-22 Ulrich Drepper <drepper@gmail.com>
46127
46128 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46129 round counter.
46130 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46131
c97a1282
L
461322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46133
46134 [BZ #12597]
46135 * string/test-strncmp.c (do_page_test): New function.
46136 (check2): Likewise.
46137 (test_main): Call check2.
46138 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46139
2a115601
UD
461402011-03-20 Ulrich Drepper <drepper@gmail.com>
46141
46142 [BZ #12587]
46143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46144 Handle cache information in CPU leaf 4.
46145 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46146
8126d904
UD
461472011-03-18 Ulrich Drepper <drepper@gmail.com>
46148
042c49c6 46149 [BZ #12583]
8126d904
UD
46150 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46151 character representation.
46152 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46153
ccfe366e
RA
461542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46155
46156 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46157 END(__isnan) to END(__isnanf) to match function entry point/label
46158 EALIGN(__isnanf,...).
46159
c6e13027
JJ
461602011-03-10 Jakub Jelinek <jakub@redhat.com>
46161
46162 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46163
33f85a3f
UD
461642011-03-10 Ulrich Drepper <drepper@gmail.com>
46165
028478fa
UD
46166 [BZ #12510]
46167 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46168 copy from the symbol referenced in the relocation to initialize the
46169 used variable.
46170 Patch by Piotr Bury <pbury@goahead.com>.
46171 * elf/Makefile: Add rules to build and tst-unique3.
46172 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46173 * elf/tst-unique3.cc: New file.
46174 * elf/tst-unique3.h: New file.
46175 * elf/tst-unique3lib.cc: New file.
46176 * elf/tst-unique3lib2.cc: New file.
46177
33f85a3f
UD
46178 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46179
03592fc7
MF
461802011-03-10 Mike Frysinger <vapier@gentoo.org>
46181
46182 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46183 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46184 to _start.
03592fc7 46185
6a5ee102
UD
461862011-03-06 Ulrich Drepper <drepper@gmail.com>
46187
46188 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46189 to-be-loaded object along a path to loader is ld.so.
46190
7e4ba49c
HJ
461912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46192 Ulrich Drepper <drepper@gmail.com>
46193
46194 * sysdeps/x86_64/memset.S: After aligning destination, code
46195 branches to different locations depending on the value of
46196 misalignment, when multiarch is enabled. Fix this.
46197
461982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46199
46200 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46201 Set _x86_64_preferred_memory_instruction for AMD processsors.
46202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46203 Set bit_Prefer_SSE_for_memop for AMD processors.
46204
13a804de
UD
462052011-03-04 Ulrich Drepper <drepper@gmail.com>
46206
46207 * libio/fmemopen.c (fmemopen): Optimize a bit.
46208
9d25c392
AS
462092011-03-03 Andreas Schwab <schwab@redhat.com>
46210
46211 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46212
a5543c6a
RM
462132011-03-03 Roland McGrath <roland@redhat.com>
46214
46215 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46216
012d35f7
DM
462172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46218
7e4ba49c 46219 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46220 __bzero_ultra1 instead of __memset_ultra1.
46221
4bff6e01
AS
462222011-02-23 Andreas Schwab <schwab@redhat.com>
46223 Ulrich Drepper <drepper@gmail.com>
46224
46225 [BZ #12509]
46226 * include/link.h (struct link_map): Add l_orig_initfini.
46227 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46228 returning unsuccessfully.
46229 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46230 close of a file loaded at startup, restore the original l_initfini
46231 list.
46232 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46233 list, store the pointer.
46234 * elf/Makefile ($(objpfx)noload-mem): New rule.
46235 (noload-ENV): Define.
46236 (tests): Add $(objpfx)noload-mem.
46237 * elf/noload.c: Include <memcheck.h>.
46238 (main): Call mtrace. Close all opened handles.
46239
f2092faf
AS
462402011-02-17 Andreas Schwab <schwab@redhat.com>
46241
46242 [BZ #12454]
46243 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46244 dependencies are missing.
46245
6c8a2e88
ST
462462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46247
f2092faf 46248 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46249 Hurd needs munmap.
46250 * sysdeps/mach/hurd/ifreq.h: New file.
46251
84a42118
PB
462522011-01-27 Petr Baudis <pasky@suse.cz>
46253 Ulrich Drepper <drepper@gmail.com>
46254
071f805e 46255 [BZ 12445]#
84a42118
PB
46256 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46257 to extend_alloca().
46258 * stdio-common/bug23.c: New file.
46259 * stdio-common/Makefile (tests): Add bug23.
46260
e23fe25b
AS
462612010-09-28 Andreas Schwab <schwab@redhat.com>
46262 Ulrich Drepper <drepper@gmail.com>
46263
46264 [BZ #12489]
46265 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46266 before performing relro protection. At old place add assertion
46267 to make sure nothing changed.
46268
d3f02e10
NS
462692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46270 Glauber de Oliveira Costa <glommer@gmail.com>
46271
46272 * elf/elf.h: Add new ARM TLS relocs.
46273
d55fd7a5
RA
462742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46275
46276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46277 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46278 cast from r3.
46279 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46280 'tests' variable.
46281 * sysdeps/wordsize-64/tst-writev.c: New file.
46282
2206397e
RA
462832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46284
46285 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46286 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46287 insns in _dl_start to prevent a TOC reference before relocs are
46288 resolved.
46289
e9433893
UD
462902011-02-15 Ulrich Drepper <drepper@gmail.com>
46291
46292 [BZ #12469]
46293 * Makeconfig: Remove RANLIB definition.
46294 * Makerules: Don't use RANLIB.
46295 * aclocal.m4: Remove ranlib test.
46296 * configure.in: No need to check for ranlib.
46297 * elf/rtld-Rules: Don't use RANLIB.
46298
f75286c6
ST
462992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46300
8e31c82d
ST
46301 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46302 protection macro.
46303 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46304 inclusion protection macro.
46305
f75286c6
ST
46306 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46307 SIGRTMIN and SIGRTMAX and print information in that case only when
46308 SIGRTMIN is defined.
46309
c1d0e639
JJ
463102011-02-11 Jakub Jelinek <jakub@redhat.com>
46311
46312 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46313 arginfo fn returning -1.
46314
46315 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46316 and thousands string is zero terminated.
46317
edf9294e
AS
463182011-02-03 Andreas Schwab <schwab@redhat.com>
46319
46320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46321 sysdeps/unix/sysv/linux/bits/socket.h.
46322
2b7e92df
ST
463232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46324
edf9294e
AS
46325 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46326 (__CPU_COUNT): Remove old macros.
46327 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46328 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46329 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46330 (__sched_cpualloc, __sched_cpufree): Add declarations.
46331
a4c7ea7b
UD
463322011-02-05 Ulrich Drepper <drepper@gmail.com>
46333
46334 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46335 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46336 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46337 (readdhstai): Return value of addhstaiX call.
46338 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46339 (addgrbyX): Return value returned by cache_addgr.
46340 (readdgrbyname): Return value returned by addgrbyX.
46341 (readdgrbygid): Likewise.
46342 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46343 (addpwbyX): Return value returned by cache_addpw.
46344 (readdpwbyname): Return value returned by addhstbyX.
46345 (readdpwbyuid): Likewise.
46346 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46347 (addservbyX): Return value returned by cache_addserv.
46348 (readdservbyname): Return value returned by addservbyX:
46349 (readdservbyport): Likewise.
46350 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46351 (addhstbyX): Return value returned by cache_addhst.
46352 (readdhstbyname): Return value returned by addhstbyX.
46353 (readdhstbyaddr): Likewise.
46354 (readdhstbynamev6): Likewise.
46355 (readdhstbyaddrv6): Likewise.
46356 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46357 (readdinitgroups): Return value returned by addinitgroupsX.
46358 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46359 (prune_cache): Keep track of timeout value of re-added entries.
46360 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46361 * nscd/nscd.h: Adjust prototypes of readd* functions.
46362
a0bf67cc
RM
463632011-02-04 Roland McGrath <roland@redhat.com>
46364
46365 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46366 (nis_stats): Likewise.
46367 * nis/nis_modify.c (nis_modify): Likewise.
46368 * nis/nis_remove.c (nis_remove): Likewise.
46369 * nis/nis_add.c (nis_add): Likewise.
46370
46371 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46372
46373 * posix/fnmatch_loop.c: Add some consts.
46374
46375 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46376
435b95eb
L
463772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46378
46379 [BZ #12460]
46380 * config.make.in (config-cflags-novzeroupper): Define.
46381 * configure.in: Substitute libc_cv_cc_novzeroupper.
46382 * elf/Makefile (AVX-CFLAGS): Define.
46383 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46384 (CFLAGS-tst-auditmod4a.c): Likewise.
46385 (CFLAGS-tst-auditmod4b.c): Likewise.
46386 (CFLAGS-tst-auditmod6b.c): Likewise.
46387 (CFLAGS-tst-auditmod6c.c): Likewise.
46388 (CFLAGS-tst-auditmod7b.c): Likewise.
46389 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46390
8517b15e
UD
463912011-02-02 Ulrich Drepper <drepper@gmail.com>
46392
46393 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46394 function to the callback.
46395 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46396
10a656fe
AS
463972011-02-02 Andreas Schwab <schwab@redhat.com>
46398
46399 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46400 of errno.
46401
968dad0a
UD
464022011-01-19 Ulrich Drepper <drepper@gmail.com>
46403
9f94d2ea 46404 [BZ #11724]
968dad0a
UD
46405 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46406 of constructors.
46407 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46408 of destructors.
46409 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46410
46411 [BZ #11724]
46412 * elf/Makefile: Add rules to build and run new test.
46413 * elf/tst-initorder.c: New file.
46414 * elf/tst-initorder.exp: New file.
46415 * elf/tst-initordera1.c: New file.
46416 * elf/tst-initordera2.c: New file.
46417 * elf/tst-initordera3.c: New file.
46418 * elf/tst-initordera4.c: New file.
46419 * elf/tst-initorderb1.c: New file.
46420 * elf/tst-initorderb2.c: New file.
46421 * elf/tst-order-a1.c: New file.
46422 * elf/tst-order-a2.c: New file.
46423 * elf/tst-order-a3.c: New file.
46424 * elf/tst-order-a4.c: New file.
46425 * elf/tst-order-b1.c: New file.
46426 * elf/tst-order-b2.c: New file.
46427 * elf/tst-order-main.c: New file.
46428 New test case by George Gensure <werkt0@gmail.com>.
46429
86e92359
UD
464302010-10-01 Andreas Schwab <schwab@redhat.com>
46431
46432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46433 decoding ACE if AI_CANONIDN.
46434
5d5732b0
UD
464352011-01-18 Ulrich Drepper <drepper@gmail.com>
46436
46437 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46438
a77e8cbc
UD
464392011-01-17 Ulrich Drepper <drepper@gmail.com>
46440
6392473f
UD
46441 * version.h (RELEASE): Bump for 2.13 release.
46442 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46443
620a0529
UD
46444 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46445
18ba70a5
UD
46446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46447 MADV_NOHUGEPAGE.
32465c3e
UD
46448 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46449 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46450 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46451 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46453 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46454
c0dafcf1
UD
46455 * posix/getconf.c: Update copyright year.
46456 * catgets/gencat.c: Likewise.
46457 * csu/version.c: Likewise.
46458 * debug/catchsegv.sh: Likewise.
46459 * debug/xtrace.sh: Likewise.
46460 * elf/ldconfig.c: Likewise.
46461 * elf/ldd.bash.in: Likewise.
46462 * elf/sprof.c (print_version): Likewise.
46463 * iconv/iconv_prog.c: Likewise.
46464 * iconv/iconvconfig.c: Likewise.
46465 * locale/programs/locale.c: Likewise.
46466 * locale/programs/localedef.c: Likewise.
46467 * malloc/memusage.sh: Likewise.
46468 * malloc/mtrace.pl: Likewise.
46469 * nscd/nscd.c (print_version): Likewise.
46470 * nss/getent.c: Likewise.
46471
a77e8cbc
UD
46472 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46473 PF_CAIF, and PF_ALG.
46474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46475
77e8bddf
AS
464762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46477
1f20b93a
AS
46478 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46479 (modules-names): Use them.
46480 (ifunc-test-modules, ifunc-pie-tests): Define.
46481 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46482 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46483 (test-extras): Likewise.
46484 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46485 $(compile-command.c).
46486 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46487 (all-built-dso): Define.
46488 (check-textrel.out, check-execstack.out): Depend on it.
46489
77e8bddf
AS
46490 * configure.in: Don't override --enable-multi-arch.
46491
bc425b33
UD
464922011-01-15 Ulrich Drepper <drepper@gmail.com>
46493
46494 [BZ #6812]
46495 * nscd/hstcache.c (tryagain): Define.
46496 (cache_addhst): Return tryagain not notfound for temporary errors.
46497 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46498 failed.
46499
794c3ad3
UD
465002011-01-14 Ulrich Drepper <drepper@gmail.com>
46501
70181fdd
UD
46502 [BZ #10563]
46503 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46504 to make the syscall.
46505 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46506
794c3ad3
UD
46507 [BZ #12378]
46508 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46509 and fall back to matching as normal character if the string ends before
46510 the matching ']' is found. This is what POSIX requires.
46511 * posix/testfnm.c: Adjust test result.
46512 * posix/globtest.sh: Adjust test result. Add new test.
46513 * posix/tst-fnmatch.input: Likewise.
46514 * posix/tst-fnmatch2.c: Add new test.
46515
68dc9497
AS
465162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46517
46518 * elf/Makefile (check-execstack): Revert last change. Depend on
46519 check-execstack.h.
46520 (check-execstack.h): New target.
46521 (generated): Add check-execstack.h.
46522 * elf/check-execstack.c: Include "check-execstack.h".
46523 (main): Revert last change.
46524 (handle_file): Return zero if GNU_STACK is absent and
46525 DEFAULT_STACK_PERMS doesn't include PF_X.
46526
451f001b
UD
465272011-01-13 Ulrich Drepper <drepper@gmail.com>
46528
cfa28e56
UD
46529 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46530 in child fails because the descriptor is already closed.
8cf8ce17
UD
46531 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46532 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46533 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 46534
1086d70d
UD
46535 [BZ #12397]
46536 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46537 syscall.
46538
451f001b
UD
46539 [BZ #10484]
46540 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46541 temporary buffer used to handle multi lookups locally.
a85b5cb4 46542 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 46543
08769175
UD
465442011-01-12 Ulrich Drepper <drepper@gmail.com>
46545
46546 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46547 loader is ld.so.
46548
5e49c52e
UD
465492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46550
46551 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46552 alignment for SSE2.
46553
60522a5f
UD
465542011-01-12 Ulrich Drepper <drepper@gmail.com>
46555
46556 [BZ #12394]
46557 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46558 characters. When rounding increased number of integer digits recompute
46559 number of groups.
46560 * stdio-common/tst-grouping.c: New file.
46561 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46562
f257bbd7
UD
465632011-01-09 Ulrich Drepper <drepper@gmail.com>
46564
46565 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46566 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46567
46568 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46569 void.
46570 * bits/select.h: Likewise.
46571
fa9c15cb
UD
465722011-01-08 Ulrich Drepper <drepper@gmail.com>
46573
46574 * po/ja.po: Update from translation team.
46575
16c2895f
DM
465762011-01-04 David S. Miller <davem@sunset.davemloft.net>
46577
46578 [BZ #11155]
46579 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46580 implementation just like for lxstat, fxstatat, et al.
46581
2543fef2
JM
465822010-12-27 Jim Meyering <meyering@redhat.com>
46583
46584 [BZ #12348]
46585 * posix/regexec.c (build_trtable): Return failure indication upon
46586 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46587
98727dbe
UD
465882010-12-25 Ulrich Drepper <drepper@gmail.com>
46589
5bd6dc5c
UD
46590 [BZ #12201]
46591 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46592 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46593 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46594 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46595
97983464
UD
46596 [BZ #12207]
46597 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46598
98727dbe
UD
46599 [BZ #12204]
46600 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46601 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46602
4a531bb0
L
466032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46604
46605 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46606 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46607 script has SORT_BY_INIT_PRIORITY.
46608 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46609 NO_CTORS_DTORS_SECTIONS is defined.
46610 * elf/soinit.c: Likewise.
46611 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46612 NO_CTORS_DTORS_SECTIONS is defined.
46613 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46614 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46615 * sysdeps/sh/init-first.c: Likewise.
46616 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46617
07eb4b71
UD
466182010-12-24 Ulrich Drepper <drepper@gmail.com>
46619
46620 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46621 always use the slow path.
46622
30950a5f
RA
466232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46624
46625 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46626 similar rule which adds the sysdep directories to the header search in
46627 order to pick up the correct platform stackinfo.h.
46628 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46629 perform test if it is, otherwise return successfully without testing.
46630 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46631 DEFAULT_STACK_PERMS define in stackinfo.h.
46632 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46633 defined in stackinfo.h.
46634 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46635 DEFAULT_STACK_PERMS defined in stackinfo.h.
46636 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46637 * sysdeps/ia64/stackinfo.h: Likewise.
46638 * sysdeps/s390/stackinfo.h: Likewise.
46639 * sysdeps/sh/stackinfo.h: Likewise.
46640 * sysdeps/sparc/stackinfo.h: Likewise.
46641 * sysdeps/x86_64/stackinfo.h: Likewise.
46642 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46643 PF_X for powerpc64. Retain PF_X for powerpc32.
46644
db753e2c
UD
466452010-12-19 Ulrich Drepper <drepper@gmail.com>
46646
14b697f7
UD
46647 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46648 accurately.
db753e2c
UD
46649 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46650 GETDENTS_64BIT_ALIGNED.
46651
28300719
UD
466522010-12-14 Ulrich Drepper <dreper@gmail.com>
46653
14b697f7 46654 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 46655
4f197237
AS
466562010-12-10 Andreas Schwab <schwab@redhat.com>
46657
dbb0472f
AS
46658 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46659 _GNU_SOURCE.
46660
4f197237
AS
46661 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46662 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46663 Remove __restrict.
46664 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46665 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46666
fb88ac72
UD
466672010-12-09 Ulrich Drepper <drepper@gmail.com>
46668
46669 [BZ #11655]
46670 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46671 are initialized.
46672
42acbb92
JJ
466732010-12-09 Jakub Jelinek <jakub@redhat.com>
46674
46675 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46676
c038d98d
UD
466772010-12-03 Ulrich Drepper <drepper@gmail.com>
46678
46679 * po/it.po: Update from translation team.
46680
3a4a2499
L
466812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46682
46683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46684 unused codes.
46685
1e24cf6e
UD
466862010-11-30 Ulrich Drepper <drepper@gmail.com>
46687
46688 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46689
a7690819
AS
466902010-11-24 Andreas Schwab <schwab@redhat.com>
46691
46692 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46693 specially.
46694 (gaih_getanswer_slice): Likewise.
46695
3bf8d1b1
JJ
466962010-10-20 Jakub Jelinek <jakub@redhat.com>
46697
46698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46699
6db52fbb
PB
467002010-05-31 Petr Baudis <pasky@suse.cz>
46701
46702 [BZ #11149]
46703 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46704 silently even in the chroot mode.
46705
eaca7569
UD
467062010-11-22 Ulrich Drepper <drepper@gmail.com>
46707
46708 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46709 last patch a bit. Pretty printing
46710
3056dcdb
UD
467112010-05-31 Petr Baudis <pasky@suse.cz>
46712
46713 [BZ #10085]
46714 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46715 initialization of skip_initgroups_dyn.
46716
cf7c9078
UD
467172010-11-19 Ulrich Drepper <drepper@gmail.com>
46718
46719 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46721
a1fb5e3e
UD
467222010-11-16 Ulrich Drepper <drepper@gmail.com>
46723
46724 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46725
3540d66b
AS
467262010-11-11 Andreas Schwab <schwab@redhat.com>
46727
46728 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46729 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46730 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46731 ($(objpfx)tst-fnmatch-mem): New rule.
46732 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46733 * posix/tst-fnmatch.c (main): Call mtrace.
46734
13b69574
L
467352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46736
46737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46738 Support Intel processor model 6 and model 0x2c.
46739
da93d214
LM
467402010-11-10 Luis Machado <luisgpm@br.ibm.com>
46741
46742 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46743 signed comparison.
46744
8ca52c6e
L
467452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46746
46747 [BZ #12205]
46748 * string/test-strncasecmp.c (check_result): New function.
46749 (do_one_test): Use it.
46750 (check1): New function.
46751 (test_main): Use it.
46752 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46753 Support strcasecmp and strncasecmp.
46754
69da074d
UD
467552010-11-08 Ulrich Drepper <drepper@gmail.com>
46756
46757 [BZ #12194]
46758 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46759 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46760
ff02d528
L
467612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46762
46763 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46764 IFUNC support.
46765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46766 memset-x86-64.
46767 * sysdeps/x86_64/multiarch/bzero.S: New file.
46768 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46769 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46770 * sysdeps/x86_64/multiarch/memset.S: New file.
46771 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46773 Set bit_Prefer_SSE_for_memop for Intel processors.
46774 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46775 Define.
46776 (index_Prefer_SSE_for_memop): Define.
46777 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46778
344d0b54
LM
467792010-11-04 Luis Machado <luisgpm@br.ibm.com>
46780
46781 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46782 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46783
c0dde15b
UD
467842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46785
46786 [BZ #12191]
46787 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46788 (__x86_64_raw_data_cache_size_half): Likewise.
46789 (__x86_64_raw_shared_cache_size): Likewise.
46790 (__x86_64_raw_shared_cache_size_half): Likewise.
46791
46792 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46793 (__x86_64_raw_data_cache_size_half): Likewise.
46794 (__x86_64_raw_shared_cache_size): Likewise.
46795 (__x86_64_raw_shared_cache_size_half): Likewise.
46796 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46797 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46798 and __x86_64_raw_shared_cache_size_half. Round
46799 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46800 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46801 to multiple of 256 bytes.
46802
0e516e0e
MS
468032010-11-03 Ulrich Drepper <drepper@gmail.com>
46804
46805 [BZ #12167]
46806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46807 of inacessible symlinks. Verify result of symlink before returning it.
46808 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46809 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46810
0e012e87
ER
468112010-10-28 Erich Ritz <erichritz@gmail.com>
46812
46813 * math/math.h (isinf): Fix typo in comment.
46814
de0ff7bc
UD
468152010-11-01 Ulrich Drepper <drepper@gmail.com>
46816
46817 * po/da.po: Update from translation team.
46818
fa41c84d
UD
468192010-10-26 Ulrich Drepper <drepper@gmail.com>
46820
46821 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46822 is added to the list.
46823
f0967738
AK
468242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46825 Ulrich Drepper <drepper@gmail.com>
46826
46827 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46828 the global list here. Move code to...
46829 (_dl_add_to_namespace_list): ...here. New function.
46830 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46831 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46832 * elf/dl-load.c (lose): Don't remove the element from the list.
46833 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46834 (_dl_map_object): Likewise.
46835
468362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
46837
46838 [BZ #12159]
46839 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46840 into all bytes of SSE register.
46841 Patch by Richard Li <richardpku@gmail.com>.
46842
f0967738 468432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
46844
46845 [BZ #12140]
46846 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46847 perturbing.
46848
d0b9e94f
MB
468492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46850
46851 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46852 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46853 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46854 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46856 submachine.
46857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46858
8e9f92e9
AS
468592010-10-22 Andreas Schwab <schwab@redhat.com>
46860
46861 * include/dlfcn.h (__RTLD_SECURE): Define.
46862 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46863 mode & __RTLD_SECURE instead.
46864 (open_path): Rename preloaded parameter to secure.
46865 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46866 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46867 * elf/dl-deps.c (openaux): Likewise.
46868 * elf/rtld.c (struct map_args): Remove is_preloaded.
46869 (map_doit): Don't use it.
46870 (dl_main): Likewise.
46871 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46872 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46873
bc96fbda
AS
468742010-09-09 Andreas Schwab <schwab@redhat.com>
46875
46876 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46877 (sysd-rules-targets): Remove duplicates.
46878 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46879 rtld-%.$o dependency.
46880
22cd1c9b
AS
468812010-10-18 Andreas Schwab <schwab@redhat.com>
46882
46883 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46884 _dl_map_object do it.
46885
18edac48
UD
468862010-10-19 Ulrich Drepper <drepper@gmail.com>
46887
46888 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46889 fast fma builtins, define the macros in the C99 standard.
46890 (FP_FAST_FMAF): Likewise.
46891 (FP_FAST_FMAL): Likewise.
46892 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46893
46894 * bits/mathdef.h: Update copyright year.
46895 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46896
d2050124
MM
468972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46898
46899 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46900 builtins, define the macros in the C99 standard.
46901 (FP_FAST_FMAF): Likewise.
46902 (FP_FAST_FMAL): Likewise.
46903 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46904 multiply/add.
46905 (FP_FAST_FMAF): Likewise.
46906
475facd1
JJ
469072010-10-15 Jakub Jelinek <jakub@redhat.com>
46908
46909 [BZ #3268]
46910 * math/libm-test.inc (fma_test): Some new testcases.
46911 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46912 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46913 y and infinite z. Do multiplication by C already in long double.
46914 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46916 y and infinite z. Do bitwise or of inexact bit into u.d.
46917 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46918 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46919 * sysdeps/i386/fpu/s_fma.S: Removed.
46920 * sysdeps/i386/fpu/s_fmal.S: Removed.
46921
7c08a05c
JJ
469222010-10-16 Jakub Jelinek <jakub@redhat.com>
46923
46924 [BZ #3268]
46925 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46927 computation is not scheduled after fetestexcept. Fix value
46928 of minimum denormal long double.
46929
f3f7372d
JJ
469302010-10-14 Jakub Jelinek <jakub@redhat.com>
46931
46932 [BZ #3268]
46933 * math/libm-test.inc (fma_test): Add some more tests.
46934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46935 correctly.
46936
14d43591
AS
469372010-10-15 Andreas Schwab <schwab@redhat.com>
46938
46939 * scripts/data/localplt-s390-linux-gnu.data: New file.
46940 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46941
5e908464
JJ
469422010-10-13 Jakub Jelinek <jakub@redhat.com>
46943
46944 [BZ #3268]
46945 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46946 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46947 instead of dbl-64.
46948 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46949 inlines.
46950 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46952 if one of x and y is very large and the other is subnormal.
46953 * sysdeps/s390/fpu/s_fmaf.c: New file.
46954 * sysdeps/s390/fpu/s_fma.c: New file.
46955 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46956 * sysdeps/powerpc/fpu/s_fma.S: New file.
46957 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46958 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46959 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46960
469612010-10-12 Jakub Jelinek <jakub@redhat.com>
46962
46963 [BZ #3268]
46964 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46965 fma tests.
46966 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46967 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46968 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46969 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46970 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46971 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46972 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46973
b833d51f
UD
469742010-10-12 Ulrich Drepper <drepper@redhat.com>
46975
46976 [BZ #12078]
46977 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46978 * posix/bug-regex31.input: Add test case.
46979
1751705d
UD
469802010-10-11 Ulrich Drepper <drepper@gmail.com>
46981
e9b9cbf5
UD
46982 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46983 * posix/bug-regex31.input: New file.
46984
46985 [BZ #12078]
46986 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46987 (parse_sub_exp): Fix last change, use postorder.
46988
ef06edbe
UD
46989 * posix/bug-regex31.c: New file.
46990 * posix/Makefile: Add rules to build and run bug-regex31.
46991
a129c80d
UD
46992 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46993
46994 [BZ #12078]
46995 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46996
b76b818e
UD
46997 [BZ #12108]
46998 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46999 to have entries in sys_siglist.
47000
1751705d
UD
47001 [BZ #12093]
47002 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47003 be NULL.
47004
9ff8d36f
JJ
470052010-10-07 Jakub Jelinek <jakub@redhat.com>
47006
47007 [BZ #3268]
47008 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47009 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47010 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47011 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47012 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47013 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47014 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47015 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47016 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47017 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47018 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47019 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47020 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47021 * math/ftestexcept.c (fetestexcept): Likewise.
47022 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47023 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47024 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47025 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47026 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47027 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47028 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47029
af325969
UD
470302010-10-11 Ulrich Drepper <drepper@gmail.com>
47031
c579b202 47032 [BZ #12107]
af325969
UD
47033 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47034 newline.
47035
67a67b95
UD
470362010-10-06 Ulrich Drepper <drepper@gmail.com>
47037
47038 * string/bug-strstr1.c: New file.
47039 * string/Makefile: Add rules to build and run bug-strstr1.
47040
5fb308bc
EB
470412010-10-05 Eric Blake <eblake@redhat.com>
47042
47043 [BZ #12092]
47044 * string/str-two-way.h (two_way_long_needle): Always clear memory
47045 when skipping input due to the shift table.
47046
45db99c7
UD
470472010-10-03 Ulrich Drepper <drepper@gmail.com>
47048
3b111893
UD
47049 [BZ #12005]
47050 * malloc/mcheck.c: Handle large requests.
47051
45db99c7
UD
47052 [BZ #12077]
47053 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47054 for strncmp and strncasecmp.
47055 * string/stratcliff.c: Add tests for strcmp and strncmp.
47056 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47057
cf7a1eb8
NI
470582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47059
47060 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47061 __set_fpscr.
47062
6484ba5e
AJ
470632010-09-30 Andreas Jaeger <aj@suse.de>
47064
47065 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47066 (CGROUP_SUPER_MAGIC): Define.
47067 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47068 Handle btrfs and cgroup file systems.
47069 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47070 Likewise.
47071
91c42559
LM
470722010-09-27 Luis Machado <luisgpm@br.ibm.com>
47073
47074 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47075 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47076
87a97932
AK
470772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47078
47079 [BZ #12067]
47080 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47081 trying to locate the ELF header.
47082
c21cc9bc
AS
470832010-09-27 Andreas Schwab <schwab@redhat.com>
47084
47085 [BZ #11611]
47086 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47087 Mask out sign-bit copies when constructing f_fsid.
47088
315970f6
PB
470892010-09-24 Petr Baudis <pasky@suse.cz>
47090
47091 * debug/stack_chk_fail_local.c: Add missing licence exception.
47092 * debug/warning-nop.c: Likewise.
47093
1ac7a2c7
JM
470942010-09-15 Joseph Myers <joseph@codesourcery.com>
47095
47096 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47097 implementing getdents64 using getdents syscall, set d_type if
47098 __ASSUME_GETDENTS32_D_TYPE.
47099
56801c50
AS
471002010-09-16 Andreas Schwab <schwab@redhat.com>
47101
47102 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47103 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47104
dda51327
UD
471052010-09-21 Ulrich Drepper <drepper@redhat.com>
47106
47107 [BZ #12037]
47108 * posix/unistd.h: Undo change of feature selection for ftruncate from
47109 2010-01-11.
47110
8ffcee4a
UD
471112010-09-20 Ulrich Drepper <drepper@redhat.com>
47112
a545ecd9 47113 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47114 detection.
47115
e24f0a8b
AS
471162010-09-20 Andreas Schwab <schwab@redhat.com>
47117
47118 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47119 fanotify_mark.
47120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47121
7291c56f
AS
471222010-09-14 Andreas Schwab <schwab@redhat.com>
47123
47124 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47125 variables after CHECK_SP call.
47126 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47127
bc5fb037
AS
471282010-09-13 Andreas Schwab <schwab@redhat.com>
47129 Ulrich Drepper <drepper@redhat.com>
47130
47131 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47132 re-relocationg ld.so.
47133 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47134 _dl_init_paths call.
47135 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47136 here anymore.
47137
e66e7419
UD
471382010-09-14 Ulrich Drepper <drepper@redhat.com>
47139
47140 * resolv/res_init.c (__res_vinit): Count the default server we added.
47141
c044aa75
CLT
471422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47143 Ulrich Drepper <drepper@redhat.com>
47144
47145 [BZ #11968]
47146 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47147 (____longjmp_chk): Use %ebx for saving value across system call.
47148 Add unwind info.
47149
32cf4069
AS
471502010-09-06 Andreas Schwab <schwab@redhat.com>
47151
47152 * manual/Makefile: Don't mix pattern rules with normal rules.
47153
817328ee
AS
471542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47155
47156 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47157 operation.
47158 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47159 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47160 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47161 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47163 Likewise.
47164
29fddf61
UD
471652010-09-04 Ulrich Drepper <drepper@redhat.com>
47166
47167 [BZ #11979]
47168 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47169 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47170
0959ffc9
UD
471712010-09-02 Ulrich Drepper <drepper@redhat.com>
47172
47173 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47174 * sysdeps/x86_64/addmul_1.S: Likewise.
47175 * sysdeps/x86_64/lshift.S: Likewise.
47176 * sysdeps/x86_64/mul_1.S: Likewise.
47177 * sysdeps/x86_64/rshift.S: Likewise.
47178 * sysdeps/x86_64/sub_n.S: Likewise.
47179 * sysdeps/x86_64/submul_1.S: Likewise.
47180
ece29840
ST
471812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47182
0959ffc9
UD
47183 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47184 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47185 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47186 * bits/sched.h [__need_schedparam]
ece29840 47187 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47188 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47189 (__defined_schedparam): Define to 1.
ece29840
ST
47190 (__sched_param): New structure, identical to sched_param.
47191 (__need_schedparam): Undefine.
47192
e53a31fe
MF
471932010-08-31 Mike Frysinger <vapier@gentoo.org>
47194
fdc0c10d
MF
47195 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47196 (epoll_create1): Declare.
47197
e53a31fe
MF
47198 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47199
a726d796
AS
472002010-08-31 Andreas Schwab <schwab@redhat.com>
47201
47202 [BZ #7066]
47203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47204 shifting retval into place.
47205
2f3e3dc7
UD
472062010-09-01 Ulrich Drepper <drepper@redhat.com>
47207
f2933da9
UD
47208 * nis/rpcsvc/nis.h: Update copyright notice.
47209 * nis/rpcsvc/nis.x: Likewise.
47210 * nis/rpcsvc/nis_callback.h: Likewise.
47211 * nis/rpcsvc/nis_callback.x: Likewise.
47212 * nis/rpcsvc/nis_object.x: Likewise.
47213 * nis/rpcsvc/nis_tags.h: Likewise.
47214 * nis/rpcsvc/yp.h: Likewise.
47215 * nis/rpcsvc/yp.x: Likewise.
47216 * nis/rpcsvc/ypupd.h: Likewise.
47217 * nis/yp_xdr.c: Likewise.
47218 * nis/ypupdate_xdr.c: Likewise.
47219
2f3e3dc7
UD
47220 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47221 mainly the body of pmap_getport. Add parameters to specify timeouts.
47222 (pmap_getport): Use __libc_rpc_getport.
47223 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47224 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47225 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47226
f3dcc2f9
AS
472272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47228
47229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47230 fanotify_mark.
47231
6d34eb5b
RM
472322010-08-27 Roland McGrath <roland@redhat.com>
47233
47234 * sysdeps/i386/i686/multiarch/Makefile
47235 (CFLAGS-varshift.c): New variable.
47236
9ea3de11
UD
472372010-08-27 Ulrich Drepper <drepper@redhat.com>
47238
c96d23fc
UD
47239 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47240 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47241
9ea3de11
UD
47242 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47243
47244 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47245
623aac7f
L
472462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47247
47248 * sysdeps/x86_64/strlen.S: Unroll the loop.
47249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47250 strlen-sse2 strlen-sse2-bsf.
47251 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47252 __strlen_no_bsf if bit_Slow_BSF is set.
47253 (__strlen_sse42): Removed.
47254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47255 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47256
8b2b7715
RM
472572010-08-25 Roland McGrath <roland@redhat.com>
47258
47259 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47260 * sysdeps/x86_64/multiarch/varshift.c: New file.
47261 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47262 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47263 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47264 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47265
e73015f2
L
472662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47267
47268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47269 strlen-sse2 strlen-sse2-bsf.
47270 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47271 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47272 (__strlen_sse2): Removed.
47273 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47276 bit_Slow_BSF for Atom.
47277 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47278 (index_Slow_BSF): Define.
47279 (HAS_SLOW_BSF): Define.
47280
df24a73e
UD
472812010-08-25 Ulrich Drepper <drepper@redhat.com>
47282
47283 [BZ #10851]
47284 * resolv/res_init.c (__res_vinit): When no server address at all
47285 is given default to loopback.
47286
f2ac4868
RM
472872010-08-24 Roland McGrath <roland@redhat.com>
47288
09055553
RM
47289 * configure.in: Remove config-name.h generation.
47290 * configure: Regenerated.
47291 * config-name.in: File removed.
47292 * scripts/config-uname.sh: New file.
47293 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47294 ($(objdir)config-name.h): New target.
47295
f2ac4868
RM
47296 * sunrpc/rpc_parse.h: Avoid nested comment.
47297
73f27d5e
RH
472982010-08-24 Richard Henderson <rth@redhat.com>
47299 Ulrich Drepper <drepper@redhat.com>
47300 H.J. Lu <hongjiu.lu@intel.com>
47301
47302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47304 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47305 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47306 _mm_alignr_epi8 with _mm_loadu_si128.
47307 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47308 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47309 (__m128i_shift_right): Removed.
47310 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47311 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47312 * sysdeps/x86_64/multiarch/varshift.h: New file.
47313 * sysdeps/x86_64/multiarch/varshift.S: New file.
47314
84b9230c
MF
473152010-08-21 Mike Frysinger <vapier@gentoo.org>
47316
47317 * configure.in: Move assembler checks to before sysdep dir checking.
47318
9bbd0ddc
PB
473192010-08-20 Petr Baudis <pasky@suse.cz>
47320
47321 * LICENSES: Sync the sunrpc license.
47322
9da4bb31
UD
473232010-08-19 Ulrich Drepper <drepper@redhat.com>
47324
a7ab6ec8
UD
47325 * sunrpc/auth_des.c: Update copyright notice once again.
47326 * sunrpc/auth_none.c: Likewise.
47327 * sunrpc/auth_unix.c: Likewise.
47328 * sunrpc/authdes_prot.c: Likewise.
47329 * sunrpc/authuxprot.c: Likewise.
47330 * sunrpc/bindrsvprt.c: Likewise.
47331 * sunrpc/clnt_gen.c: Likewise.
47332 * sunrpc/clnt_perr.c: Likewise.
47333 * sunrpc/clnt_raw.c: Likewise.
47334 * sunrpc/clnt_simp.c: Likewise.
47335 * sunrpc/clnt_tcp.c: Likewise.
47336 * sunrpc/clnt_udp.c: Likewise.
47337 * sunrpc/clnt_unix.c: Likewise.
47338 * sunrpc/des_crypt.c: Likewise.
47339 * sunrpc/des_soft.c: Likewise.
47340 * sunrpc/get_myaddr.c: Likewise.
47341 * sunrpc/getrpcport.c: Likewise.
47342 * sunrpc/key_call.c: Likewise.
47343 * sunrpc/key_prot.c: Likewise.
47344 * sunrpc/openchild.c: Likewise.
47345 * sunrpc/pm_getmaps.c: Likewise.
47346 * sunrpc/pm_getport.c: Likewise.
47347 * sunrpc/pmap_clnt.c: Likewise.
47348 * sunrpc/pmap_prot.c: Likewise.
47349 * sunrpc/pmap_prot2.c: Likewise.
47350 * sunrpc/pmap_rmt.c: Likewise.
47351 * sunrpc/rpc/auth.h: Likewise.
47352 * sunrpc/rpc/auth_unix.h: Likewise.
47353 * sunrpc/rpc/clnt.h: Likewise.
47354 * sunrpc/rpc/des_crypt.h: Likewise.
47355 * sunrpc/rpc/key_prot.h: Likewise.
47356 * sunrpc/rpc/netdb.h: Likewise.
47357 * sunrpc/rpc/pmap_clnt.h: Likewise.
47358 * sunrpc/rpc/pmap_prot.h: Likewise.
47359 * sunrpc/rpc/pmap_rmt.h: Likewise.
47360 * sunrpc/rpc/rpc.h: Likewise.
47361 * sunrpc/rpc/rpc_des.h: Likewise.
47362 * sunrpc/rpc/rpc_msg.h: Likewise.
47363 * sunrpc/rpc/svc.h: Likewise.
47364 * sunrpc/rpc/svc_auth.h: Likewise.
47365 * sunrpc/rpc/types.h: Likewise.
47366 * sunrpc/rpc/xdr.h: Likewise.
47367 * sunrpc/rpc_clntout.c: Likewise.
47368 * sunrpc/rpc_cmsg.c: Likewise.
47369 * sunrpc/rpc_common.c: Likewise.
47370 * sunrpc/rpc_cout.c: Likewise.
47371 * sunrpc/rpc_dtable.c: Likewise.
47372 * sunrpc/rpc_hout.c: Likewise.
47373 * sunrpc/rpc_main.c: Likewise.
47374 * sunrpc/rpc_parse.c: Likewise.
47375 * sunrpc/rpc_parse.h: Likewise.
47376 * sunrpc/rpc_prot.c: Likewise.
47377 * sunrpc/rpc_sample.c: Likewise.
47378 * sunrpc/rpc_scan.c: Likewise.
47379 * sunrpc/rpc_scan.h: Likewise.
47380 * sunrpc/rpc_svcout.c: Likewise.
47381 * sunrpc/rpc_tblout.c: Likewise.
47382 * sunrpc/rpc_util.c: Likewise.
47383 * sunrpc/rpc_util.h: Likewise.
47384 * sunrpc/rpcinfo.c: Likewise.
47385 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47386 * sunrpc/rpcsvc/key_prot.x: Likewise.
47387 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47388 * sunrpc/rpcsvc/mount.x: Likewise.
47389 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47390 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47391 * sunrpc/rpcsvc/rex.x: Likewise.
47392 * sunrpc/rpcsvc/rstat.x: Likewise.
47393 * sunrpc/rpcsvc/rusers.x: Likewise.
47394 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47395 * sunrpc/rpcsvc/spray.x: Likewise.
47396 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47397 * sunrpc/rtime.c: Likewise.
47398 * sunrpc/svc.c: Likewise.
47399 * sunrpc/svc_auth.c: Likewise.
47400 * sunrpc/svc_authux.c: Likewise.
47401 * sunrpc/svc_raw.c: Likewise.
47402 * sunrpc/svc_run.c: Likewise.
47403 * sunrpc/svc_simple.c: Likewise.
47404 * sunrpc/svc_tcp.c: Likewise.
47405 * sunrpc/svc_udp.c: Likewise.
47406 * sunrpc/svc_unix.c: Likewise.
47407 * sunrpc/svcauth_des.c: Likewise.
47408 * sunrpc/xcrypt.c: Likewise.
47409 * sunrpc/xdr.c: Likewise.
47410 * sunrpc/xdr_array.c: Likewise.
47411 * sunrpc/xdr_float.c: Likewise.
47412 * sunrpc/xdr_mem.c: Likewise.
47413 * sunrpc/xdr_rec.c: Likewise.
47414 * sunrpc/xdr_ref.c: Likewise.
47415 * sunrpc/xdr_sizeof.c: Likewise.
47416 * sunrpc/xdr_stdio.c: Likewise.
47417
9da4bb31
UD
47418 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47419 handling.
47420
bdaa77bc
AS
474212010-08-19 Andreas Schwab <schwab@redhat.com>
47422
47423 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47424
fe2f79db
LM
474252010-08-19 Luis Machado <luisgpm@br.ibm.com>
47426
47427 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47428 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47429 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47430 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47431 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47432 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47433 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47434 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47436 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47437 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47438 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47439 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47440 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47441
b9b42ee0
AB
474422010-07-26 Anton Blanchard <anton@samba.org>
47443
47444 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47445 * malloc/arena.c (heap_trim): Likewise.
47446
1c06ba31
UD
474472010-08-16 Ulrich Drepper <drepper@redhat.com>
47448
47449 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47450 here. Not...
47451 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47452 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47453
f8392f40
L
474542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47455
47456 * sysdeps/i386/elf/Makefile: New file.
47457
3162f12e
AS
474582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47459
47460 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47461 from fanotify_init.
47462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47464
28c90b2c
UD
474652010-08-15 Ulrich Drepper <drepper@redhat.com>
47466
47467 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47468 of strncasecmp_l.
1feccb6c 47469 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47470
ca6bb004
UD
474712010-08-14 Ulrich Drepper <drepper@redhat.com>
47472
e9f82e0d
UD
47473 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47474 strncase_l-nonascii.
47475 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47476 Add strncase_l-ssse3.
47477 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47478 * sysdeps/x86_64/strcmp.S: Likewise.
47479 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47480 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47481 * sysdeps/x86_64/strncase.S: New file.
47482 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47483 * sysdeps/x86_64/strncase_l.S: New file.
47484 * string/Makefile (strop-tests): Add strncasecmp.
47485 * string/test-strncasecmp.c: New file.
47486
47487 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47488 warning.
47489
ca6bb004
UD
47490 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47491 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47492
052fa7b3
AS
474932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47494
47495 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47496
962dba78
UD
474972010-08-12 Ulrich Drepper <drepper@redhat.com>
47498
47499 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47500 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47501 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47502
bebff237
AM
475032010-05-01 Alan Modra <amodra@gmail.com>
47504
47505 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47506 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47507 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47508 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47509 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47510 tidying. Don't tail-call __sigjmp_save for static lib.
47511 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47512 save location.
47513 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47514 (CALL_MCOUNT): Add eh info, and nop after bl.
47515 (TAIL_CALL_SYSCALL_ERROR): New macro.
47516 (PSEUDO_RET): Use it.
47517 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47518 Correct save location of integer regs and cr.
47519 (_dl_profile_resolve): Correct cr save location. Delete nops
47520 after bl when SHARED. Reduce cfi size a little by better
47521 placement of cfi directives.
47522 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47523 make a stack frame. Instead use parm save area as a temp.
47524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47525 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47527 Don't make a stack frame for parent, use parm save area.
47528 Increase child stack frame to 112 bytes. Don't save unused reg,
47529 and adjust reg usage. Set up cfi on error recovery and
47530 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47532 (__makecontext): Add dummy nop after jump to exit.
47533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47534 Use correct parm save area and cr save, reduce stack frame.
47535 Correct cfi for possible PSEUDO_RET frame setup.
47536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47537 Branch to local label emitted by PSEUDO_RET rather than
47538 __syscall_error.
47539
02637374
AS
475402010-08-12 Andreas Schwab <schwab@redhat.com>
47541
47542 [BZ #11904]
47543 * locale/programs/locale.c (print_assignment): New function.
47544 (show_locale_vars): Use it.
47545
c3e2f19b
UD
475462010-08-11 Ulrich Drepper <drepper@redhat.com>
47547
3cdaa6ad
UD
47548 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47549 field.
47550 (struct statfs64): Likewise.
47551 (_STATFS_F_FLAGS): Define.
47552 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47553 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47554 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47555 (ST_VALID): Define locally.
47556 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47557 __statvfs_getflags, use the provided value.
47558 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47559 __ASSUME_STATFS_F_FLAGS.
47560
754f7da3
UD
47561 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47562
10b3bedc
UD
47563 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47564 Add sys/fanotify.h.
47565 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47566 fanotify_mask for GLIBC_2.13.
47567 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47568 fanotify_init and fanotify_mark.
47569 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47570 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47571
c08fb0d7
UD
47572 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47573 Add prlimit.
47574 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47575 prlimit64 for GLIBC_2.13.
47576 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47577 prlimit64.
47578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47579 syscall.
47580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47581 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47582 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47583 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47585 add prlimit alias.
47586 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47587
15bac72b
UD
47588 [BZ #11903]
47589 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47590 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47591
c3e2f19b
UD
47592 * nss/Makefile: Add rules to build and run tst-nss-test1.
47593 * shlib-versions: Add entry for libnss_test1.
47594 * nss/nss_test1.c: New file.
47595 * nss/tst-nss-test1.c: New file.
47596
47597 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47598 (__nss_configure_lookup): Set appropriate entry in
47599 __nss_configure_lookup to true.
47600 * nss/nsswitch.h: Define enum with indeces of databases in
47601 databases and __nss_database_custom arrays. Declare
47602 __nss_database_custom.
47603 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47604 to avoid using nscd when custom rules are installed.
47605 * nss/getXXbyYY_r.c: Likewise.
47606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47607
47608 * nss/nss_files/files-parse.c: Whitespace fixes.
47609
f15ce4d8
UD
476102010-08-09 Ulrich Drepper <drepper@redhat.com>
47611
47612 [BZ #11883]
47613 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47614 * posix/fnmatch_loop.c: Likewise.
47615
d22e4cc9
AK
476162010-07-17 Andi Kleen <ak@linux.intel.com>
47617
47618 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47619 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47620 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47621 * Versions.def [GLIBC_2.13]: Add.
47622
805bc17d
UD
476232010-08-06 Ulrich Drepper <drepper@redhat.com>
47624
47625 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47626 Also fail if tpwd after pwuid call is NULL.
47627
5a42321d
ST
476282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47629
47630 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47631 when converting to ms.
47632
fd3ebeda
ST
476332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47634
47635 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47636 EOPNOTSUPP errors with ENOTTY.
47637 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47638 EOPNOTSUPP errors with ENOTTY.
47639
73507d3a
UD
476402010-07-31 Ulrich Drepper <drepper@redhat.com>
47641
47642 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47643 Add strcasecmp_l-ssse3.
47644 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47645 strcasecmp.
47646 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47647 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47648 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47649
fe36dd02
UD
476502010-07-30 Ulrich Drepper <drepper@redhat.com>
47651
66f6765a
UD
47652 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47653
42e08a54
UD
47654 * string/Makefile (strop-tests): Add strcasecmp.
47655 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47656 strcasecmp_l-nonascii.
47657 (gen-as-const-headers): Add locale-defines.sym.
47658 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47659 * sysdeps/x86_64/strcasecmp.S: New file.
47660 * sysdeps/x86_64/strcasecmp_l.S: New file.
47661 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47662 * sysdeps/x86_64/locale-defines.sym: New file.
47663 * string/test-strcasecmp.c: New file.
47664
fe36dd02
UD
47665 * string/test-strcasestr.c: Test both ends of the range of characters.
47666 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47667
48cbc0d6
RM
476682010-07-29 Roland McGrath <roland@redhat.com>
47669
76e6d6bc 47670 [BZ #11856]
48cbc0d6
RM
47671 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47672
880113d9
UD
476732010-07-27 Ulrich Drepper <drepper@redhat.com>
47674
47675 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47676 for ld.so.
47677
deb9cabb
AS
476782010-07-27 Andreas Schwab <schwab@redhat.com>
47679
47680 * manual/memory.texi (Malloc Tunable Parameters): Document
47681 M_PERTURB.
47682
1c7570ff
RM
476832010-07-26 Roland McGrath <roland@redhat.com>
47684
47685 [BZ #11840]
47686 * configure.in (-fgnu89-inline check): Set and substitute
47687 gnu89_inline, not libc_cv_gnu89_inline.
47688 * configure: Regenerated.
47689 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47690
24fb0f88
UD
476912010-07-26 Ulrich Drepper <drepper@redhat.com>
47692
47693 * string/test-strnlen.c: New file.
47694 * string/Makefile (strop-tests): Add strnlen.
47695 * string/tester.c (test_strnlen): Add a few more test cases.
47696 * string/tst-strlen.c: Better error reporting.
47697
47698 * sysdeps/x86_64/strnlen.S: New file.
47699
8e96b93a
UD
477002010-07-24 Ulrich Drepper <drepper@redhat.com>
47701
47702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47703 lower-latency instructions.
47704
dbc676d4
UD
477052010-07-23 Ulrich Drepper <drepper@redhat.com>
47706
47707 * string/test-strcasestr.c: New file.
47708 * string/test-strstr.c: New file.
47709 * string/Makefile (strop-tests): Add strstr and strcasestr.
47710 * string/str-two-way.h: Don't undefine MAX.
47711 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47712
f6a31e0e
AS
477132010-07-21 Andreas Schwab <schwab@redhat.com>
47714
47715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47716 strcasestr-nonascii.
47717 (CFLAGS-strcasestr-nonascii.c): Define.
47718 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47720 Remove unused attribute.
47721
5dbc3b6c
RM
477222010-07-20 Roland McGrath <roland@redhat.com>
47723
47724 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47725 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47726 ld.so.cache was broken. With it, there is no way to disable dsocaps
47727 like LD_HWCAP_MASK can disable hwcaps.
47728
23d101d8
EPM
477292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47730
47731 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47732
cc9f2e47
UD
477332010-07-16 Ulrich Drepper <drepper@redhat.com>
47734
47735 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47736 call in strcasestr.
47737 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47738 __strcasestr_sse42_nonascii.
47739 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47740 strcasestr-nonascii.c.
47741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47742
77c1b069
LM
477432010-06-15 Luis Machado <luisgpm@br.ibm.com>
47744
47745 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47746 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47747 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47749
440566c3
UD
477502010-07-09 Ulrich Drepper <drepper@redhat.com>
47751
47752 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47753 fcntl.
47754
5be9d05d
AS
477552010-07-06 Andreas Schwab <schwab@redhat.com>
47756
c30b7ee2 47757 [BZ #11577]
5be9d05d
AS
47758 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47759 dl_signal_cerror.
47760
8a492a67
UD
477612010-07-06 Ulrich Drepper <drepper@redhat.com>
47762
47763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47764 _PC_PIPE_BUF using F_GETPIPE_SZ.
47765
713df3d5
RM
477662010-07-05 Roland McGrath <roland@redhat.com>
47767
47768 * manual/arith.texi (Rounding Functions): Fix rint description
47769 implicit in round description.
47770
702e8f14
UD
477712010-07-02 Ulrich Drepper <drepper@redhat.com>
47772
47773 * elf/Makefile: Fix linking for a few tests to make recent linker
47774 happy.
47775
52ed8be9
AS
477762010-06-30 Andreas Schwab <schwab@redhat.com>
47777
47778 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47779 $(common-objpfx)libc_nonshared.a.
47780
f47c9a11
LM
477812010-06-21 Luis Machado <luisgpm@br.ibm.com>
47782
47783 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47784 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47785 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47786 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47787 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47788 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47789 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47790 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47805 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47806 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47807 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47808 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47809 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47810 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47811 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47812 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47813 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47814 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47815 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47816 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47831
6fb8cbcb
L
478322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47833
47834 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47835 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47836 * string/memmove.c (memmove): Renamed to ...
47837 (MEMMOVE): ...this. Default to memmove.
47838 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47839 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47840 (END_CHK): Define.
47841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47842 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47843 mempcpy-ssse3-back memmove-ssse3-back.
47844 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47845 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47846 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47847 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47848 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47849 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47850 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47851 * sysdeps/x86_64/multiarch/memmove.c: New file.
47852 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47853 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47854 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47855 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47856 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47857 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47858 Define.
47859 (index_Fast_Copy_Backward): Define.
47860 (HAS_ARCH_FEATURE): Define.
47861 (HAS_FAST_REP_STRING): Define.
47862 (HAS_FAST_COPY_BACKWARD): Define.
47863
4e733bac 478642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
47865
47866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47867 Restore proper fallback handling.
47868
63c4ed22
UD
478692010-06-19 Ulrich Drepper <drepper@redhat.com>
47870
ac2b484c
UD
47871 [BZ #11701]
47872 * posix/group_member.c (__group_member): Correct checking loop.
47873
63c4ed22
UD
47874 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47875 OOM in getpwuid_r correctly. Return error number when the caller
47876 should return, otherwise -1.
47877 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47878 call returning > 0 value.
47879 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47880
765ade4b
AS
478812010-06-07 Andreas Schwab <schwab@redhat.com>
47882
47883 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47884 libc_nonshared.a from targets in modules-names.
47885
80da2e09
KS
478862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47887
47888 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47889 requires it.
47890
158db122
LM
478912010-06-10 Luis Machado <luisgpm@br.ibm.com>
47892
47893 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47894 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47896 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47897
caa78cf8
AS
478982010-06-02 Andreas Schwab <schwab@redhat.com>
47899
47900 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47901
b2ef2c01
UD
479022010-06-14 Ulrich Drepper <drepper@redhat.com>
47903
47904 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47905 and F_GETPIPE_SZ.
47906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47907 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47912
fbd643b6
RM
479132010-06-14 Roland McGrath <roland@redhat.com>
47914
47915 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47916
f32f2869
JJ
479172010-06-07 Jakub Jelinek <jakub@redhat.com>
47918
47919 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47920 __REDIRECT followed by __THROW.
47921 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47922 * posix/getopt.h (getopt): Likewise.
47923
2a50c078
EPM
479242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47925
47926 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47927 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47928 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47929 in AT_FLAGS.
47930 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47931 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47932
eb5ad2eb
LM
479332010-05-28 Luis Machado <luisgpm@br.ibm.com>
47934
47935 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47936
3c88fe1e
L
479372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47938
47939 [BZ #11640]
47940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47941 Properly check family and model.
47942
d2f73151
TY
479432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47944
47945 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47946
ebd2e13d
LM
479472010-05-24 Luis Machado <luisgpm@br.ibm.com>
47948
47949 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47950
b32b8b45
UD
479512010-05-21 Ulrich Drepper <drepper@redhat.com>
47952
47953 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47954 symbol reference.
47955
9acbe24d
AS
479562010-05-19 Andreas Schwab <schwab@redhat.com>
47957
47958 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47959 symbol reference.
47960
f0ccf6ea
AS
479612010-05-21 Andreas Schwab <schwab@redhat.com>
47962
3d04ff3a
AS
47963 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47964 and internal_recvmmsg.
47965 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47966 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47967 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47968 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47969
f0ccf6ea
AS
47970 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47971 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47972 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47973
5b08ac57
AS
479742010-05-20 Andreas Schwab <schwab@redhat.com>
47975
47976 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47977
4828935d
LM
479782010-05-17 Luis Machado <luisgpm@br.ibm.com>
47979
47980 POWER7 optimizations.
47981 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47982 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47983
373d545e
UD
479842010-05-19 Ulrich Drepper <drepper@redhat.com>
47985
47986 * version.h: Update for 2.13 development version.
47987
21a2b1ae
AS
479882010-05-12 Andrew Stubbs <ams@codesourcery.com>
47989
47990 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47991 exceptions. Return 0.
47992
3f7dcb2b
RM
479932010-05-07 Roland McGrath <roland@redhat.com>
47994
47995 * elf/ldconfig.c (main): Add a const.
47996
5f24d53a 479972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 47998
a160f8d8
UD
47999 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48000 (args_options): Add no-idn option.
48001 (ahosts_keys_int): Add idn_flags to ai_flags.
48002 (parse_option): Handle 'i' option to clear idn_flags.
48003
5f24d53a
UD
48004 * malloc/malloc.c (_int_free): Possible race in the most recently
48005 added check. Only act on the data if no current modification
48006 happened.
265bb1ce
UD
48007
48008See ChangeLog.17 for earlier changes.