]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Linux: Move getdents64 to <dirent.h>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b8b3d5a1
FW
12019-07-29 Florian Weimer <fweimer@redhat.com>
2
3 Linux: Move declaration of getdents64 to <dirent.h>.
4 * bits/dirent_ext.h: New file.
5 * dirent/Makefile (headers): Add bits/dirent_ext.h.
6 * dirent/dirent.h: Include <bits/dirent_ext.h>.
7 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
8 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
9 declaration.
10 * manual/filesys.texi (Low-level Directory Access): Update header
11 to dirent.h.
12
354e4c1a
TMQMF
132019-07-29 DJ Delorie <dj@redhat.com>
14 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15
16 [BZ #24794]
17 * Makeconfig (all-subdirs): Improved source comments.
18 * Makefile (testroot.pristine/install.stamp): Pass
19 subdirs='$(sorted-subdirs)' to make install.
20
50ce3eae
FW
212019-07-25 Florian Weimer <fweimer@redhat.com>
22
23 [BZ #24677]
24 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
25 counter before freeing array.
26
7e681561
L
272019-07-24 H.J. Lu <hongjiu.lu@intel.com>
28
29 [BZ #24603]
30 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
31 works.
32 * sysdeps/x86_64/configure: Regenerated.
33 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
34 to -mprefer-vector-width=128 if supported.
35
82c664ed
FW
362019-07-24 Florian Weimer <fweimer@redhat.com>
37
38 * scripts/build-many-glibcs.py (Context.checkout): Default to
39 Linux 5.2.
40
7854ebf8
FW
412019-07-24 Florian Weimer <fweimer@redhat.com>
42
43 [BZ #24532]
44 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
45 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
46 (sysdep_headers): Add bits/socket-constants.h.
47 (tests-special): Add tst-socket-consts.out.
48 (tst-socket-consts.out): New target.
49 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
50 around <asm/unistd.h>.
51 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
52 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
53 <asm/socket.h>.
54 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
55 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
56 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
57 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
58 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
59 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
60 Likewise.
61 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
62
95da14da
TMQMF
632019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
64
35e038c1
TMQMF
65 [BZ #24794]
66 * Makefile (testroot.pristine/install.stamp): Pass
67 subdirs='$(all-subdirs)' to make install.
68
95da14da
TMQMF
69 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
70 the same arguments used in all tests.
71
dcf36bca
SN
722019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
73
74 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
75
c7e4b684
EK
762019-07-20 Egor Kobylkin <egor@kobylkin.com>
77
78 [BZ #2872]
79 * locale/C-translit.h.in: Add Cyrillic transliteration.
80
1f7097d0
FW
812019-07-19 Florian Weimer <fweimer@redhat.com>
82
83 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
84 from Linux 5.2.
85 (fsconfig): Add system call name.
86 (fsmount): Likewise.
87 (fsopen): Likewise.
88 (fspick): Likewise.
89 (move_mount): Likewise.
90 (open_tree): Likewise.
91
3556658c
CD
922019-07-18 Carlos O'Donell <carlos@redhat.com>
93
94 * po/libc.pot: Regenerate.
95
4a8f6d31
MC
962019-07-18 Mike Crowe <mac@mcrowe.com>
97
2ab9ad57
AZ
98 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
99 functions recently added to sysdeps/nptl/pthread.h:
100 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
101 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
102
4a8f6d31
MC
103 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
104 pthread_cond_clockwait forwarding functions. There are no internal
105 users, so it is unnecessary to expose these functions in libc.so.
106 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
107 unnecessary ptr___pthread_cond_clockwait member.
108 * nptl/nptl-init.c (pthread_functions): Remove assignment of
109 removed member.
110
9208c3b8
RL
1112019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
112
113 [BZ #21897]
114 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
115 begin with an uppercase letter now.
116 (abmon): Likewise.
117 (mon): Update from CLDR, reword February from "Kudo" to
118 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
119 and August from "Liiqen" to "Leqeeni".
120 * localedata/locales/aa_ER (mon): Update from CLDR, reword
121 April from "Agda Baxisso" to "Agda Baxis" and August from
122 "Leqeeni" to "Liiqen".
123 * localedata/locales/aa_ER@saaho (mon): Likewise.
124 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
125 abbreviated February from "Kud" to "Nah".
126 (mon): Update from CLDR, reword February from "Kudo" to
127 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
128
fba6d4bb
RL
1292019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
130
131 [BZ #23996]
132 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
133
3cc7c9c5
P
1342019-07-17 PanderMusubi <pander@users.sourceforge.net>
135
136 [BZ #23996]
137 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
138 name_mrs, name_miss, and name_ms.
139 * localedata/locales/nl_NL (LC_NAME): Likewise.
140
cce7b6a5
DZ
1412019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
142
143 [BZ #24200]
144 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
145 * localedata/locales/en_IE (first_weekday): Likewise.
146
99d01ffc
MC
1472019-07-12 Mike Crowe <mac@mcrowe.com>
148
1ff1373b
MC
149 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
150 that is only useful if futex_supports_exact_relative_timeouts ()
151 returns false.
152 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
153 Likewise.
154 * sysdeps/nptl/futex-internal.h: Remove comment about relative
155 timeouts potentially being imprecise since it's no longer true.
156 Remove declaration of futex_supports_exact_relative_timeouts.
157 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
158 of futex_supports_exact_relative_timeouts.
159
65dd7e9c
MC
160 * NEWS: Mention recently-added pthread_cond_clockwait,
161 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
162 sem_clockwait functions.
163
9d20e22e
MC
164 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
165 works like pthread_mutex_timedlock but takes a clockid parameter to
166 measure the abstime parameter against.
167 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
168 * nptl/DESIGN-systemtap-probes.txt: Likewise.
169 * nptl/pthread_mutex_timedlock.c
170 (__pthread_mutex_clocklock_common): Rename from
171 __pthread_mutex_timedlock and add clockid parameter. Pass this
172 parameter to lll_clocklock and lll_clocklock_elision in place of
173 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
174 LIBC_PROBE and validate clockid parameter before calling
175 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
176 implementation to add LIBC_PROBE and calls
177 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
178 clockid.
179 * nptl/Makefile: Add tst-mutex11.c.
180 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
181 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
182 clockid parameters to pthread_mutex_clocklock.
183 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
184 clockid parameter to indicate which clock to be used. Call
185 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
186 (do_test): Call do_test_clock to separately test
187 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
188 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
189 * nptl/tst-mutex9.c: Likewise.
190 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
191 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
192 Likewise.
193 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
194 Likewise.
195 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
196 Likewise.
197 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
198 Likewise.
199 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
200 Likewise.
201 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
202 Likewise.
203 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
204 Likewise.
205 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
206 (GLIBC_2.30): Likewise.
207 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
208 (GLIBC_2.30): Likewise.
209 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
210 (GLIBC_2.30): Likewise.
211 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
212 (GLIBC_2.30): Likewise.
213 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
214 (GLIBC_2.30): Likewise.
215 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
216 Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
218 (GLIBC_2.30): Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
220 (GLIBC_2.30): Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
222 (GLIBC_2.30): Likewise.
223 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
224 (GLIBC_2.30): Likewise.
225 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
226 (GLIBC_2.30): Likewise.
227 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
228 (GLIBC_2.30): Likewise.
229 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
230 Likewise.
231 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
232 (GLIBC_2.30): Likewise.
233 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
234 (GLIBC_2.30): Likewise.
235 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
236 (GLIBC_2.30): Likewise.
237 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
238 (GLIBC_2.30): Likewise.
239
59213094
MC
240 nptl: Rename lll_timedlock to lll_clocklock and add clockid
241 parameter to indicate the clock that the abstime parameter should
242 be measured against in preparation for adding
243 pthread_mutex_clocklock.
244 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
245 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
246 from __lll_timedlock and add clockid parameter.
247 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
248 Likewise.
249 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
250 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
251 rather than __gettimeofday so that clockid can be used. This means
252 that conversion from struct timeval is no longer required.
253 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
254 Likewise.
255 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
256 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
257 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
258 from lll_timedlock_elision, add clockid parameter and use
259 meaningful names for other parameters. (__pthread_mutex_timedlock):
260 Pass CLOCK_REALTIME where necessary to lll_clocklock and
261 lll_clocklock_elision.
262 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
263 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
264 clockid parameter. (__lll_clocklock_elision): Rename from
265 __lll_timedlock_elision and add clockid parameter.
266 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
267 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
268 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
269 (__lll_lock_elision): Call __lll_clocklock_elision rather than
270 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
271 (LLL_LOCK): Likewise.
272 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
273 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
274
e996fa72
MC
275 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
276 pthread_rwlock_clockwrlock which behave like
277 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
278 respectively, except they always measure abstime against the
279 supplied clockid. The functions currently support CLOCK_REALTIME
280 and CLOCK_MONOTONIC and return EINVAL if any other clock is
281 specified.
282 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
283 pthread_wrlock_clockwrlock.
284 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
285 pthread_rwlock_clockwrlock.c.
286 * nptl/pthread_rwlock_clockrdlock.c: Implement
287 pthread_rwlock_clockrdlock.
288 * nptl/pthread_rwlock_clockwrlock.c: Implement
289 pthread_rwlock_clockwrlock.
290 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
291 clockid parameter and verify that it indicates a supported clock on
292 entry so that we fail even if it doesn't end up being used. Pass
293 that clock on to futex_abstimed_wait when necessary.
294 (__pthread_rwlock_wrlock_full): Likewise.
295 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
296 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
297 be used because there's no timeout.
298 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
299 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
300 be used because there is no timeout.
301 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
302 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
303 uses that clock.
304 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
305 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
306 uses that clock.
307 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
308 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
310 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
312 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
313 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
314 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
315 (GLIBC_2.30): Likewise.
316 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
317 (GLIBC_2.30): Likewise.
318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
319 (GLIBC_2.30): Likewise.
320 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
321 (GLIBC_2.30): Likewise.
322 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
323 (GLIBC_2.30): Likewise.
324 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
326 (GLIBC_2.30): Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
328 (GLIBC_2.30): Likewise.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
330 (GLIBC_2.30): Likewise.
331 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
332 (GLIBC_2.30): Likewise.
333 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
334 (GLIBC_2.30): Likewise.
335 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
336 (GLIBC_2.30): Likewise.
337 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
339 (GLIBC_2.30): Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
341 (GLIBC_2.30): Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
343 (GLIBC_2.30): Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
345 (GLIBC_2.30): Likewise.
346 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
347 pthread_rwlock_clockwrlock timeout tests to match the existing
348 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
349 * nptl/tst-rwlock14.c (do_test): Likewise.
350 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
351 ancillary output throughout. (tf): Accept thread_args structure so
352 that rwlock, a clockid and function name can be passed to the
353 thread. (do_test_clock): Rename from do_test. Accept clockid
354 parameter to specify test clock. Use the magic clockid value of
355 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
356 pthread_rwlock_timedwrlock should be tested, otherwise pass the
357 specified clockid to pthread_rwlock_clockrdlock and
358 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
359 (do_test): Call do_test_clock to test each clockid in turn.
360 * nptl/tst-rwlock7.c: Likewise.
361 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
362 thread_args structure so that the (now int) thread number, the
363 clockid and the function name can be passed to the thread.
364 (do_test_clock): Renamed from do_test. Pass the necessary
365 thread_args when creating the reader and writer threads. Use
366 xpthread_create and xpthread_join.
367 (do_test): Call do_test_clock to test each clockid in turn.
368 * manual/threads.texi: Add documentation for
369 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
370
600b4be4
MC
371 nptl: pthread_rwlock: Move timeout validation into _full functions
372 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
373 Check validity of abstime parameter.
374 (__pthread_rwlock_rwlock_full): Likewise.
375 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
376 Remove check for validity of abstime parameter.
377 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
378 Likewise.
379
afe4de7d
MC
380 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
381 like pthread_cond_timedwait except it always measures abstime
382 against the supplied clockid.
383 * nptl/Makefile: Add tst-cond26 and tst-cond27
384 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
385 * sysdeps/nptl/pthread.h: Likewise
386 * nptl/forward.c: Add __pthread_cond_clockwait
387 * nptl/forward.c: Likewise
388 * nptl/pthreadP.h: Likewise
389 * sysdeps/nptl/pthread-functions.h: Likewise
390 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
391 clockid parameter and comment describing why we don't need to check
392 its value. Use that value when calling
393 futex_abstimed_wait_cancelable rather than reading the clock from
394 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
395 (__pthread_cond_timedwait): Read clock from flags and pass it to
396 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
397 function with weak alias from pthread_cond_clockwait.
398 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
399 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
401 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
402 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
403 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
404 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
405 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
406 (GLIBC_2.30): Likewise.
407 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
408 (GLIBC_2.30): Likewise.
409 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
410 (GLIBC_2.30): Likewise.
411 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
412 (GLIBC_2.30): Likewise.
413 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
414 (GLIBC_2.30): Likewise.
415 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
417 (GLIBC_2.30): Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
419 (GLIBC_2.30): Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
421 (GLIBC_2.30): Likewise.
422 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
423 (GLIBC_2.30): Likewise.
424 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
425 (GLIBC_2.30): Likewise.
426 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
427 (GLIBC_2.30): Likewise.
428 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
429 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
430 (GLIBC_2.30): Likewise.
431 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
432 (GLIBC_2.30): Likewise.
433 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
434 (GLIBC_2.30): Likewise.
435 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
436 (GLIBC_2.30): Likewise.
437 * nptl/tst-cond11.c (run_test): Support testing
438 pthread_cond_clockwait too by using a special magic
439 CLOCK_USE_ATTR_CLOCK value to determine whether to call
440 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
441 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
442 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
443 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
444 clocks to pthread_cond_clockwait.
445 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
446 struct timespec and pthread_cond_clockwait.
447 * manual/threads.texi: Document pthread_cond_clockwait.
448
6615f779
MC
449 nptl: Add POSIX-proposed sem_clockwait which behaves just like
450 sem_timedwait, but measures abstime against the specified clock.
451 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
452 clockid parameters to indicate the clock which abstime should be
453 measured against.
454 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
455 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
456 __new_sem_wait_slow.
457 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
458 on sem_timedwait.c.
459 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
460 sem_clockwait.c to match those used for sem_timedwait.c.
461 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
462 * nptl/Versions (GLIBC_2.30): Likewise.
463 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
464 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
465 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
466 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
467 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
468 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
469 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
470 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
471 (GLIBC_2.30): Likewise.
472 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
473 (GLIBC_2.30): Likewise.
474 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
475 (GLIBC_2.30): Likewise.
476 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
477 (GLIBC_2.30): Likewise.
478 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
479 (GLIBC_2.30): Likewise.
480 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
482 (GLIBC_2.30): Likewise.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
484 (GLIBC_2.30): Likewise.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
486 (GLIBC_2.30): Likewise.
487 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
488 (GLIBC_2.30): Likewise.
489 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
490 (GLIBC_2.30): Likewise.
491 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
492 (GLIBC_2.30): Likewise.
493 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
494 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
495 (GLIBC_2.30): Likewise.
496 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
497 (GLIBC_2.30): Likewise.
498 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
499 (GLIBC_2.30): Likewise.
500 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
501 (GLIBC_2.30): Likewise.
502 * nptl/tst-sem17.c: Add new test for passing invalid clock to
503 sem_clockwait.
504 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
505 tests to also test sem_clockwait.
506 * manual/threads.texi: Document sem_clockwait.
507
99d01ffc
MC
508 nptl: Add clockid parameter to futex timed wait calls
509 * sysdeps/nptl/lowlevellock-futex.h,
510 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
511 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
512 takes a clockid rather than a special clockbit.
513 * sysdeps/nptl/lowlevellock-futex.h: Add
514 lll_futex_supported_clockid so that client functions can check
515 whether their clockid parameter is valid even if they don't
516 ultimately end up calling lll_futex_clock_wait_bitset.
517 * sysdeps/nptl/futex-internal.h,
518 sysdeps/unix/sysv/linux/futex-internal.h
519 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
520 clockid_t parameter to indicate which clock the absolute time
521 passed should be measured against. Pass that clockid onto
522 lll_futex_clock_wait_bitset. Add invalid clock as reason for
523 returning -EINVAL.
524 * sysdeps/nptl/futex-internal.h,
525 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
526 futex_abstimed_supported_clockid so that client functions can check
527 whether their clockid parameter is valid even if they don't
528 ultimately end up calling futex_abstimed_wait.
529 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
530 code to calculate relative timeout for
531 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
532 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
533 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
534 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
535 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
536 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
537 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
538
a008c76b
AZ
5392019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
540
541 [BZ #24699]
542 * posix/tst-mmap-offset.c: Mention BZ #24699.
543 (do_test_bz21270): Rename to do_test_large_offset and use
544 mmap64_maximum_offset to check for maximum expected offset value.
545 * sysdeps/generic/mmap_info.h: New file.
546 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
547 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
548 __NR_mmap2 is used.
549
99135114
DD
5502019-07-10 DJ Delorie <dj@redhat.com>
551 Sergei Trofimovich <slyfox@inbox.ru>
552
553 [BZ #24696]
554 [BZ #24695]
555 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
556 mappings.
557 * nss/tst-nss-db-endgrent.c: New.
558 * nss/tst-nss-db-endgrent.root: New.
559 * nss/tst-nss-db-endpwent.c: New.
560 * nss/tst-nss-db-endpwent.root: New.
561 * nss/Makefile: Add new tests.
562 * support/links-dso-program-c.c: Add selinux dependency.
563 * support/links-dso-program.cc: Add selinux dependency.
564 * support/Makefile: Build those with -lselinux if enabled.
565
30ba0375
SN
5662019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
567
568 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
569 DT_AARCH64_VARIANT_PCS check.
570 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
571 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
572 variant_pcs.
573
32b8188a
AS
5742019-07-10 Andreas Schwab <schwab@suse.de>
575
576 [BZ #23352]
577 * malloc/malloc.h (__malloc_check_init): Don't declare.
578 * include/malloc.h (__malloc_check_init): Likewise.
579 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
580 * manual/memory.texi (__malloc_check_init): Don't mention it.
581
7901d4ee
MH
5822019-07-10 Mao Han <han_mao@c-sky.com>
583
584 * locale/Makefile: Fix tst-locale-locpath arguments passing.
585
b5232c9f 5862019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 587
b5232c9f
PC
588 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
589 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
590
6ba205b2
DD
5912019-07-08 DJ Delorie <dj@redhat.com>
592
593 [BZ #23501]
594 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
595 * io/tst-ftw-lnk.c: New test.
596 * io/Makefile: Run it.
597
f215dbbd
AZ
5982019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
599
6ea21bfe
AZ
600 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
601 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
602 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
603 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
604 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
605 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
607 Adjust implementation path.
608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
609 Adjust implementation path.
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
611 Adjust implementation path.
612 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
613 (libm-sysdep_routines): Add s_log* objects.
614 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
615 CFLAGS-s_logb-power7.c): New fule.
616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
617 to ...
618 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
619 ... here.
620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
621 to ...
622 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
623 ... here.
624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
625 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
627 to ...
628 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
629 ... here.
630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
631 to ...
632 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
633 ... here.
634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
635 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
637 to ...
638 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
639 ... here.
640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
641 to ...
642 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
643 ... here.
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
645 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
648 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
650
105f2ed3
AZ
651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
652 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
653 powerpc32 integer 0 converting to -0.
654
0cccd37f
AZ
655 * benchtests/Makefile (bench-math): Add logb.
656 * benchtests/logb-inputs: New file.
657 * benchtests/logbf-inputs: New file.
658
931c616e
AZ
659 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
660 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
661 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
662 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
664 Adjust include.
665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
666 Likewise.
667 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
668 sysdep_routines): Add s_modf* objects.
669 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
670 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
672 to ...
673 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
674 ... here.
675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
676 to ...
677 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
678 ... here.
679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
680 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
682 to ...
683 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
684 ... here.
685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
686 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
687 ... here.
688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
689 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
690
69461d98
AZ
691 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
692 twoM500, twoM600, two60factor, pdnum): Remove.
693 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
694 (__ieee754_hypot): Replace static variables with inline definition,
695 remove ununsed branches.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
697 (libm-sysdep_routines): Remove e_hypot-* objects.
698 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
700 file.
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
706
f215dbbd
AZ
707 * benchtests/Makefile (bench-math): Add hypot.
708 * benchtests/hypot-inputs: New file.
709
97274b18
VC
7102019-07-08 Vincent Chen <vincentc@andestech.com>
711
712 * sysdeps/unix/sysv/linux/dl-vdso.h
713 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
714
484b7af3
AS
7152019-07-04 Andreas Schwab <schwab@suse.de>
716
717 [BZ #24484]
718 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
719
2b8a3c86
SN
7202019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
721
722 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
723 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
724 * sysdeps/aarch64/sys/ifunc.h: New file.
725 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
726 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
727
41d6f74e
FW
7282019-07-01 Florian Weimer <fweimer@redhat.com>
729
730 [BZ #20188]
731 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
732 Replace __vfork with __libpthread_version_placeholder for
733 GLIBC_2.1.2.
734 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
735 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
736 libpthread-compat.
737 * nptl/pt-vfork.c: Remove file.
738 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
739 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
740 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
741 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
742 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
743 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
744 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
745 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
746 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
747 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
748 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
749 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
750 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
751 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
752 Remove vfork, __vfork.
753 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
754 Remove vfork.
755 (GLIBC_2.1.2): Replace __vfork with
756 __libpthread_version_placeholder.
757 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
758 Remove vfork, __vfork.
759 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
760 Likewise.
761 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
762 Remove vfork.
763 (GLIBC_2.1.2): Replace __vfork with
764 __libpthread_version_placeholder.
765 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
766 Remove vfork.
767 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
768 (GLIBC_2.4): Remove vfork, __vfork.
769 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
770 (GLIBC_2.0): Remove vfork.
771 (GLIBC_2.1.2): Replace __vfork with
772 __libpthread_version_placeholder.
773 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
774 (GLIBC_2.18): Remove vfork, __vfork.
775 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
776 (GLIBC_2.0): Remove vfork.
777 (GLIBC_2.2): Remove __vfork.
778 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
779 (GLIBC_2.2): Remove vfork, __vfork.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
781 (GLIBC_2.0): Remove vfork.
782 (GLIBC_2.1.2): Replace __vfork with
783 __libpthread_version_placeholder.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
785 (GLIBC_2.3): Remove vfork, __vfork.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
787 (GLIBC_2.17): Likewise.
788 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
789 (GLIBC_2.0): Remove vfork.
790 (GLIBC_2.1.2): Replace __vfork with
791 __libpthread_version_placeholder.
792 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
793 (GLIBC_2.2): Remove vfork, __vfork.
794 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
795 Likewise.
796 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
797 (GLIBC_2.0): Remove vfork.
798 (GLIBC_2.1.2): Replace __vfork with
799 __libpthread_version_placeholder.
800 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
801 (GLIBC_2.2): Remove vfork, __vfork.
802 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
803 (GLIBC_2.2.5): Likewise.
804 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
805 (GLIBC_2.16): Likewise.
806 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
807 Remove __errno_location.
808
27cec9ae
FW
8092019-07-02 Florian Weimer <fweimer@redhat.com>
810
811 [BZ #24757]
812 * malloc/Depend: Add nptl and htl, due to potential indirect
813 libpthread dependency of memusagestat.
814
d1bc2cbb
SL
8152019-07-02 Stefan Liebler <stli@linux.ibm.com>
816
817 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
818 warning.
819
72edea80
FW
8202019-07-01 Florian Weimer <fweimer@redhat.com>
821
822 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
823 variant for arm-linux-gnueabi.
824
d0093c5c
L
8252019-07-01 H.J. Lu <hongjiu.lu@intel.com>
826
827 [BZ #24259]
828 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
829 relocation.
830 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
831 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
832 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
833 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
834 and tst-cet-legacy-mod-6c.
835 (CFLAGS-tst-cet-legacy-5a.c): New.
836 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
837 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
838 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
839 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
840 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
841 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
842 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
843 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
844 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
845 ($(objpfx)tst-cet-legacy-5a): Likewise.
846 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
847 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
848 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
849 ($(objpfx)tst-cet-legacy-5b): Likewise.
850 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
851 (tst-cet-legacy-5b-ENV): Likewise.
852 ($(objpfx)tst-cet-legacy-6a): Likewise.
853 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
854 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
855 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
856 ($(objpfx)tst-cet-legacy-6b): Likewise.
857 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
858 (tst-cet-legacy-6b-ENV): Likewise.
859 * sysdeps/x86/tst-cet-legacy-5.c: New file.
860 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
861 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
862 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
863 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
864 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
865 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
866 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
867 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
868 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
869 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
870 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
871 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
872 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
873
3db85a98
PC
8742019-06-30 Paul A. Clarke <pc@us.ibm.com>
875
876 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
877 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
878 (__fegetround_ISA300) New.
879 (__fegetround_ISA2) New.
880 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
881 (_FPU_MFFS): Move implementation...
882 (_FPU_GETCW): Here.
883 (_FPU_MFFSL): Move implementation....
884 (_FPU_GET_RC_ISA300): Here. New.
885 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
886 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
887 (fegetenv_status): New.
888 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
889 instead of fegetenv_register().
890 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
891
d0645912
WD
8922019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
893
894 * benchtests/bench-math-inlines.c: Increase iterations.
895 * benchtests/bench-memcmp.c: Likewise.
896 * benchtests/bench-rawmemchr.c: Likewise.
897 * benchtests/bench-strcmp.c: Likewise.
898 * benchtests/bench-strcpy_chk.c: Likewise.
899 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
900 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
901 (INNER_LOOP_ITERS_SMALL): Likewise.
902 * benchtests/bench-strncat.c: Increase iterations.
903 * benchtests/bench-strncmp.c: Increase iterations.
904 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
905 * benchtests/bench-strrchr.c: Increase iterations.
906 * benchtests/bench-strstr.c: Keep iterations unchanged.
907 * benchtests/bench-strtod.c: Increase iterations.
908
afe23eb0
AY
9092019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
910
911 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
912 with INNER_LOOP_ITERS_LARGE.
913 * benchtests/bench-memchr.c: Likewise.
914 * benchtests/bench-rawmemchr.c: Likewise.
915 * benchtests/bench-strcat.c: Likewise.
916 * benchtests/bench-strchr.c: Likewise.
917 * benchtests/bench-string.h: Likewise.
918 * benchtests/bench-strlen.c: Likewise.
919 * benchtests/bench-strncpy.c: Likewise.
920 * benchtests/bench-strnlen.c: Likewise.
921
507f55c0
FW
9222019-06-28 Florian Weimer <fweimer@redhat.com>
923
924 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
925 Use mmap instead of malloc. malloc with M_PERTURB writes to the
926 entire allocated memory range.
927
589787f8
TK
9282019-06-28 Tobias Klauser <tklauser@distanz.ch>
929
930 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
931 (prepare_version_base): New helper inline function.
932 (prepare_version): New macro replacing PREPARE_VERSION.
933 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
934
f0b2132b
FW
9352019-06-28 Florian Weimer <fweimer@redhat.com>
936
937 [BZ #24741]
938 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
939 mismatch in a versioned symbol reference.
940 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
941 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
942 tst-sonamemove-dlopen.
943 (module-names): Add tst-sonamemove-linkmod1,
944 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
945 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
946 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
947 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
948 (tst-sonamemove-runmod1.so): Link against
949 tst-sonamemove-runmod2.so.
950 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
951 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
952 tst-sonamemove-runmod2.so.
953 (tst-sonamemove-dlopen): Link with -ldl.
954 (tst-sonamemove-dlopen.out): Likewise.
955 * elf/tst-sonamemove-link.c: New file.
956 * elf/tst-sonamemove-dlopen.c: Likewise.
957 * elf/tst-sonamemove-linkmod1.c: Likewise.
958 * elf/tst-sonamemove-linkmod1.map: Likewise.
959 * elf/tst-sonamemove-runmod1.c: Likewise.
960 * elf/tst-sonamemove-runmod1.map: Likewise.
961 * elf/tst-sonamemove-runmod2.c: Likewise.
962 * elf/tst-sonamemove-runmod2.map: Likewise.
963
17432d71
FW
9642019-06-28 Florian Weimer <fweimer@redhat.com>
965
966 * support/xdlfcn.h (xdlvsym): Declare function.
967 * support/xdlfcn.c (xdlvsym): Define funciton.
968
5a659ccc
FW
9692019-06-28 Florian Weimer <fweimer@redhat.com>
970
971 [BZ #24744]
972 io: Remove the copy_file_range emulation.
973 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
974 not define and call copy_file_range_compat.
975 * io/Makefile (tests-static, tests-internal): Do not add
976 tst-copy_file_range-compat.
977 * io/copy_file_range-compat.c: Remove file.
978 * io/copy_file_range.c (copy_file_range): Define as stub.
979 * io/tst-copy_file_range-compat.c: Remove file.
980 * io/tst-copy_file_range.c (xdevfile): Remove variable.
981 (typical_sizes): Update comment. Remove 16K sizes.
982 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
983 Remove variables.
984 (find_maximum_offset, pipe_as_source, pipe_as_destination)
985 (delayed_write_failure_beginning, delayed_write_failure_end)
986 (cross_device_failure, enospc_failure_1, enospc_failure)
987 (oappend_failure): Remove functions.
988 (tests): Adjust test case list.
989 (do_test): Remove file system search code. Check for ENOSYS from
990 copy_file_range. Do not free xdevfile.
991 * manual/llio.texi (Copying File Data): Document ENOSYS error from
992 copy_file_range. Do not document the EXDEV error, which future
993 kernels may not report. Update the wording to reflect that
994 further errors are possible.
995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
996 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
997 not undefine.
998 * sysdeps/unix/sysv/linux/arm/kernel-features.h
999 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1000 Likewise.
1001 * sysdeps/unix/sysv/linux/kernel-features.h
1002 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
1003 Remove definition.
1004 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1005 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
1006 not undefine.
1007 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1008 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1009 Likewise.
1010
1626f499
GG
10112019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1012
1013 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
1014 used as a mask for the mode argument of __vfprintf_internal.
1015 * stdio-common/printf-parse.h (printf_arg): New union member:
1016 pa_float128.
1017 * stdio-common/vfprintf-internal.c
1018 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
1019 (PARSE_FLOAT_VA_ARG): Likewise.
1020 (SETUP_FLOAT128_INFO): Likewise.
1021 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
1022 SETUP_FLOAT128_INFO.
1023 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
1024 floating-point value to the new union member, pa_float128.
1025 (printf_positional): Zero-initialize args_value[cnt] with memset.
1026
a620bd79
FW
10272019-06-27 Florian Weimer <fweimer@redhat.com>
1028
1029 [BZ #24740]
1030 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1031 buffer size if necessary.
1032 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1033 Likewise.
1034 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1035 New function.
1036 (large_buffer_checks): Likewise.
1037 (do_test): Call large_buffer_checks.
1038
d039da1c
L
10392019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1040
1041 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1042 * sysdeps/x86/dl-lookupcfg.h: Here.
1043 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1044
9d5d214e
AZ
10452019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1046
aa32f5bf
AZ
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1048 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1049 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1050 file.
1051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1052 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1053 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1054 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1055 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1056
9d5d214e
AZ
1057 * sysdeps/powerpc/powerpc32/fpu/Makefile
1058 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1059 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1060 and fctidz optimization.
1061 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1062 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1064 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1065 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1066 CFLAGS-s_lround-power5+.c): New rule.
1067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1068 New file.
1069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1070 Likewise.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1072 Likewise.
1073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1074 Likewise.
1075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1076 Likewise.
1077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1078 Remove file.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1080 Likewise.
1081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1082 Likewise.
1083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1084 Likewise.
1085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1086 Likewise.
1087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1092 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1093 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1094
a63b96fb
VC
10952019-06-26 Vincent Chen <vincentc@andestech.com>
1096
1097 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1098 specific system calls, fp_udfiex_crtl and udftrap.
1099
c78b3f55
SL
11002019-06-26 Stefan Liebler <stli@linux.ibm.com>
1101
1102 * nptl/tst-eintr1.c (tf1): Add return statement.
1103 (do_test): Remove unused th variable.
1104
9e6a7d9c
SL
11052019-06-26 Stefan Liebler <stli@linux.ibm.com>
1106
1107 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1108 Return error if get_character fails.
1109
c89e669a
SL
11102019-06-25 Stefan Liebler <stli@linux.ibm.com>
1111
1112 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1113
a55541fd
RL
11142019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1115
1116 [BZ #24652]
1117 * localedata/locales/szl_PL (day): Use the correct Unicode
1118 sequences instead of non-ASCII characters.
1119
2bd81b60
GK
11202019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1121
1122 [BZ #24652]
1123 * localedata/locales/szl_PL (abday): Spelling corrections.
1124 (day): Likewise.
1125 (abmon): Likewise.
1126 (mon): Rename to...
1127 (alt_mon): This, then apply spelling corrections.
1128 (mon): New entry, month names in the genitive case.
1129
fefa2179
RL
11302019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1131
1132 [BZ #23831]
1133 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1134 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1135 (thousands_sep): Likewise.
1136 (grouping): Set to 3;3.
1137
85c748f9
TK
11382019-06-21 Tobias Klauser <tklauser@distanz.ch>
1139
1140 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1141 PREPARE_VERSION_KNOWN.
1142 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1143 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1144 define.
1145 (VDSO_HASH_LINUX_2_6_39): Likewise.
1146 (VDSO_NAME_LINUX_4_9): Likewise.
1147 (VDSO_HASH_LINUX_4_9): Likewise.
1148 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1149 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1150 (_libc_vdso_platform_setup): Likewise.
1151 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1152 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1153 Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1155 Likewise.
1156
db13e32c
MC
11572019-06-20 Mike Crowe <mac@mcrowe.com>
1158
ce5b73a7
MC
1159 * nptl/eintr.c: Use libsupport.
1160 * nptl/tst-eintr1.c: Likewise.
1161 * nptl/tst-eintr2.c: Likewise.
1162 * nptl/tst-eintr3.c: Likewise.
1163 * nptl/tst-eintr4.c: Likewise.
1164 * nptl/tst-eintr5.c: Likewise.
1165 * nptl/tst-mutex-errorcheck.c: Likewise.
1166 * nptl/tst-mutex5.c: Likewise.
1167
8bf225d5
MC
1168 * support/test-driver.h: Add verbose_printf macro.
1169
db13e32c
MC
1170 * support/xtime.h: Add xclock_now() helper function.
1171
21cc130b
DL
11722019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1173 Florian Weimer <fweimer@redhat.com>
1174
1175 [BZ #24228]
1176 * libio/genops.c (_IO_unbuffer_all)
1177 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1178 buffers and access _IO_FILE_complete members of legacy libio streams.
1179 * libio/tst-bz24228.c: New file.
1180 * libio/tst-bz24228.map: Likewise.
1181 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1182 [build-shared] (generated): Add tst-bz24228.mtrace and
1183 tst-bz24228.check.
1184 [run-built-tests && build-shared] (tests-special): Add
1185 $(objpfx)tst-bz24228-mem.out.
1186 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1187 ($(objpfx)tst-bz24228-mem.out): New rule.
1188
49bc41b6
PC
11892019-06-19 Paul A. Clarke <pc@us.ibm.com>
1190
1191 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1192 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1193 (__FPU_MFFSL): Likewise.
1194 (_FPU_SETCW): Likewise.
1195
335c1007
SS
11962019-06-19 Stan Shebs <stanshebs@google.com>
1197 Raoni Fassina Firmino <raoni@linux.ibm.com>
1198
1199 [BZ #24640]
1200 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1201 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1202 static-linking version.
1203 * sysdeps/unix/sysv/linux/powerpc/Makefile
1204 (tests-static): Add test-gettimebasefreq-static.
1205 (tests): Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1207 New file.
1208
f59a54ab
RL
12092019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1210
1211 [BZ #24614]
1212 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1213 between the currency symbol and the minus sign).
1214 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1215
f0c5a803
SL
12162019-06-19 Stefan Liebler <stli@linux.ibm.com>
1217
1218 [BZ #24556]
1219 * string/test-strcasestr.c (check_result): Add NULL check.
1220 * nss/tst-field.c (check_rewrite): Likewise.
1221 * benchtests/bench-strstr.c (do_one_test): Likewise.
1222 * string/test-strstr.c (check_result): Likewise.
1223 * argp/argp-test.c (popt): Increase size of buf to 12.
1224 * benchtests/bench-malloc-simple.c (bench):
1225 Do not initialize tests array out of bounds.
1226
fabf5e49
FW
12272019-06-19 Florian Weimer <fweimer@redhat.com>
1228
1229 [BZ #24166]
1230 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1231 dls_serpath field.
1232
2c75b545
FW
12332019-06-18 Florian Weimer <fweimer@redhat.com>
1234
1235 [BZ #24323]
1236 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1237 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1238 fail when called from dlopen.
1239 * elf/Makefile [have-fpie && build-shared] (tests): Add
1240 tst-dlopen-pie.
1241 (tst-dlopen-pie): Link with -ldl.
1242 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1243 * elf/tst-dlopen-pie.c (do_test): New file.
1244
02d8b5ab
RL
12452019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1246
1247 [BZ #24614]
1248 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1249 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1250 between the currency symbol and the minus sign).
1251 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1252 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1253
78049de0
AZ
12542019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1255
112a0ae1
AZ
1256 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1257 sysdep-rtld-routines): Remove rules.
1258 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1259 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1260 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1261 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1262 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1263 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1264 vDSO path for SHARED.
1265 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1266 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1267 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1268 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1269 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1270 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1271
dee07df1
AZ
1272 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1273 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1274 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1275 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1276 CFLAGS-s_llround-power5+.c): New rule.
1277 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1278 New file.
1279 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1280 Likewise.
1281 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1282 Likewise.
1283 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1284 Likewise.
1285 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1286 Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1288 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1290 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1292 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1293 * sysdeps/powerpc/powerpc64/fpu/Makefile
1294 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1296 (libm-sysdep_routines): Remove s_llround-* objects.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1298 file.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1300 Likewise.
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1302 Likewise.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1304 Likewise.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1306 Likewise.
1307 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1308 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1309 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1312 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1315 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1321
2166283f
AZ
1322 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1323 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1324 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1325 * sysdeps/powerpc/powerpc32/fpu/Makefile
1326 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1327 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1328 optimization.
1329 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1330 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1331 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1333 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1334 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1335 CFLAGS-s_lrint-ppc32.c): New rule.
1336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1337 Remove file.
1338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1339 Likewise.
1340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1341 Likewise.
1342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1343 Likewise.
1344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1345 Likewise.
1346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1348 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1349 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1351 New file.
1352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1353 Likewise.
1354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1355 Likewise.
1356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1357 Likewise.
1358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1359 Likewise.
1360
78049de0
AZ
1361 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1362 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1363 s_llrint-ppc64.
1364 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1365 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1366 file.
1367 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1368 Likewise.
1369 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1370 Likewise.
1371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1372 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1374 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1376 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1377 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1378 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1380 (libm-sysdep_routines): Remove s_llrint-* objects.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1382 file.
1383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1384 Likewise.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1386 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1387 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1388 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1389 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1390 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1391 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1392 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1393 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1394 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1395
48c3c123
FW
13962019-06-14 Florian Weimer <fweimer@redhat.com>
1397
1398 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1399 argument to __glibc_has_include to inhibit macro expansion.
1400
8d141877
FW
14012019-06-14 Florian Weimer <fweimer@redhat.com>
1402
1403 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1404 function-like macro, so that __has_include can inhibit expansion
1405 of its argument.
1406
a26e2e9f
JM
14072019-06-13 Joseph Myers <joseph@codesourcery.com>
1408
cf274686
JM
1409 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1410 New macro.
1411
a26e2e9f
JM
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1413 Allow memset in libc.so.
1414
82bc69c0
SN
14152019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1416
1417 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1418 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1419 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1420 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1421 symbols at load time.
1422 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1423
55f82d32
SN
14242019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1425
1426 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1427 (DT_AARCH64_VARIANT_PCS): Define.
1428
21bd039b
AZ
14292019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1430
11926960
AZ
1431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1432 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1433 objects.
1434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1435 Remove file.
1436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1437 Likewise.
1438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1440 Likewise.
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1442 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1443 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1445 Remove s_finite* objects.
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1452 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1453 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1456
a7218676
AZ
1457 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1458 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1459
6427a6ac
AZ
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1461 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1462 objects.
1463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1464 Remove file.
1465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1466 Likewise.
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1469 Likewise.
1470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1471 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1472 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1474 Remove s_isinf* and s_isinf* objects.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1481 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1482 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1485
a8c590f7
AZ
1486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1487 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1488
2666f963
AZ
1489 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1490 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1491 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1493 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1494 s_isnanf-* objects.
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1496 Remove file
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1498 Likewise.
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1500 Likewise.
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1502 Likewise.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1505 Likewise.
1506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1507 Likewise.
1508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1509 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1510 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1513 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1514 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1516 Remove s_isnan-* and s_isnanf-* objects.
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1520 Likewise.
1521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1526 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1529 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1532 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1534
197dbda1
AZ
1535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1536 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1537
2731a326
AZ
1538 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1539 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1540 CFLAGS-bench-isfinite.c): New rule.
1541 * benchtests/isnan-input: New file.
1542 * benchtests/isinf-input: New file.
1543 * benchtests/isfinite-input: New file.
1544
e41d66e4
AZ
1545 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1546 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1547 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1548 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1550 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1551 s_copysign-ppc32.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1553 Remove file.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1555 Likewise.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1557 Likewise.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1559 Likewise.
1560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1563 Remove s_copysign-power6 s_copysign-ppc64.
1564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1565 Remove file.
1566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1567 Likewise.
1568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1570 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1574
21bd039b
AZ
1575 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1576 round_to_integer_float, round_mode): Add RINT handling.
1577 (reset_fenv_mode): New symbol.
1578 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1579 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1580 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1581 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1582 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1583 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1584
cfa61144
FW
15852019-06-12 Florian Weimer <fweimer@redhat.com>
1586
1587 [BZ #24632]
1588 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1589 * libio/freopen.c (freopen): Use it.
1590
744e8296
FW
15912019-06-12 Florian Weimer <fweimer@redhat.com>
1592
1593 Linux: Deprecate sysctl.
1594 * include/sysctl.h (__sysctl): Remove declaration.
1595 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1596 check.
1597 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1598 (sysctl): Add deprecation attribute.
1599 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1600 directly, to avoid the deprecation warning. Do not include
1601 <string.h>.
1602 (__sysctl): Remove hidden alias.
1603
5dad6ffb
FW
16042019-06-12 Florian Weimer <fweimer@redhat.com>
1605
1606 Linux: Use kernel headers for statx definitions if available.
1607 * include/bits/statx-generic.h: New file.
1608 * include/bits/types/struct_statx.h: Likewise.
1609 * include/bits/types/struct_statx_timestamp.h: Likewise.
1610 * io/Makefile (headers): Add bits/statx-generic.h.
1611 * io/bits/statx-generic.h: New file. Partly copied from
1612 io/bits/statx.h.
1613 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1614 define original_statx.
1615 * io/bits/types/struct_statx.h: Likewise.
1616 * io/bits/types/struct_statx_timestamp.h: Likewise.
1617 (statx_generic): Use original_statx.
1618 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1619 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1620
4e75c2a4
FW
16212019-06-12 Florian Weimer <fweimer@redhat.com>
1622
1623 * misc/sys/cdefs.h (__glibc_has_include): Define.
1624
680942b0
WD
16252019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1626
1627 * string/memmem.c (__memmem): Rewrite to improve performance.
1628
5e0a7ecb
WD
16292019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1630
1631 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1632 warning.
1633 (two_way_long_needle): Block inlining.
1634 * string/strstr.c (strstr2): Add new function.
1635 (strstr3): Likewise.
1636 (STRSTR): Completely rewrite strstr to improve performance.
1637
80b2bfb5
WD
16382019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1639
1640 * benchtests/bench-strstr.c (test_hard_needle): New function.
1641
e6e24243
JM
16422019-06-10 Joseph Myers <joseph@codesourcery.com>
1643
1644 * malloc/tst-calloc.c: Include <libc-diag.h>.
1645 (null_test): Ignore -Wunused-result around calls to calloc.
1646 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1647 (do_test): Ignore -Wunused-result around call to malloc.
1648
51ea67d5
FW
16492019-06-07 Florian Weimer <fweimer@redhat.com>
1650
1651 Linux: Add getdents64 system call.
1652 * include/dirnent.h (getdents): Add comment and change buffer
1653 argument type to void *.
1654 (getdents64): Likewise. Add hidden prototype.
1655 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1656 getdents64.
1657 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1658 Add tst-getdents64.
1659 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1660 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1661 argument type to void *.
1662 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1663 Add hidden definition and getdents64 alias.
1664 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1665 Likewise.
1666 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1667 * manual/filesys.texi (Accessing Directories): Add Low-level
1668 Directory Access node reference.
1669 (Opening a Directory): Cross-reference it.
1670 (Low-level Directory Access): New node.
1671 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1672 getdents64.
1673 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1674 Likewise.
1675 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1676 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1677 Likewise.
1678 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1679 Likewise.
1680 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1681 Likewise.
1682 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1685 Likewise.
1686 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1687 Likewise.
1688 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1689 Likewise.
1690 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1691 (GLIBC_2.30): Likewise.
1692 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1693 (GLIBC_2.30): Likewise.
1694 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1695 (GLIBC_2.30): Likewise.
1696 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1697 (GLIBC_2.30): Likewise.
1698 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1699 Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1701 (GLIBC_2.30): Likewise.
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1703 (GLIBC_2.30): Likewise.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1705 (GLIBC_2.30): Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1707 (GLIBC_2.30): Likewise.
1708 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1709 Likewise.
1710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1711 Likewise.
1712 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1713 Likewise.
1714 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1715 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1716 Likewise.
1717 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1718 Likewise.
1719 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1720 Likewise.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1722 Likewise.
1723
de751ebc
PC
17242019-06-06 Paul A. Clarke <pc@us.ibm.com>
1725
1726 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1727 (__FPU_MFFS): New.
1728 (__FPU_MFFSL): New.
1729 (_FPU_GET_RC): New.
1730 (_FPU_GETCW): Use __FPU_MFFS().
1731 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1732
28dd3939
FW
17332019-06-06 Florian Weimer <fweimer@redhat.com>
1734
1735 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1736 internal GCC preprocessor identifier __has_include__.
1737
0158473d
PC
17382019-06-05 Paul A. Clarke <pc@us.ibm.com>
1739
1740 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1741 with call to equivalent function.
1742
e863dbf6
FW
17432019-06-04 Florian Weimer <fweimer@redhat.com>
1744
1745 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1746 (do_release_shlib): Adjust for __twalk_r.
1747 (__gconv_release_shlib): Call __twalk_r.
1748
4802be92
AS
17492019-06-04 Andreas Schwab <schwab@suse.de>
1750
1751 [BZ #18830]
1752 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1753 no irreversible characters occurred.
1754 * iconv/gconv_simple.c (internal_ucs4_loop)
1755 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1756 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1757 (ucs4_internal_loop_single, internal_ucs4le_loop)
1758 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1759 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1760 (ucs4le_internal_loop_single): Add const to outend.
1761 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1762 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1763 * iconv/Makefile (tests): Add tst-iconv7.
1764 * iconv/tst-iconv7.c: New file.
1765
dc91a19e
JM
17662019-06-03 Joseph Myers <joseph@codesourcery.com>
1767
1768 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1769
6a1a9a49 17702019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
1771
1772 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1773 * sysdeps/unix/sysv/linux/arm/Makefile
1774 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1775 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1776 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1777 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1778 compatibility symbols.
1779
0bb8f8c7
FW
17802019-05-31 Florian Weimer <fweimer@redhat.com>
1781
1782 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1783 system calls for the arm architecture: breakpoint, get_tls,
1784 set_tls, usr26, usr32.
1785
9250e661
GG
17862019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1787
1788 * sysdeps/powerpc/Makefile
1789 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1790 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1791 Declare '.machine power7' to get support for ldbrx.
1792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1793 directive based on the directory of the file.
1794 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1795 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1796 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1797 '.machine' directive.
1798 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1799 (VADDUQM_V7_V8): Remove.
1800 (__STRCASECMP): Replace macros with actual instructions.
1801 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1802 '.machine' directive.
1803 (VCLZD_V8_v7): Remove.
1804 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1805
fbd6c928
AZ
18062019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1807
1808 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1809 Remove file.
1810 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1811
e47308c9
AZ
18122019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1813
1814 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1815 NEARBYINT handling.
1816 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1817 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1818 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1820 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1822
157cda1f 18232019-05-28 mansayk <6688000@gmail.com>
1824
1825 [BZ #24370]
1826 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1827
182a3746 18282019-05-28 mansayk <6688000@gmail.com>
1829
1830 [BZ #24369]
1831 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1832 (abmon): Likewise, but remove the trailing dots.
1833
c6df1ce3
JM
18342019-05-28 Joseph Myers <joseph@codesourcery.com>
1835
1836 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1837
85188d82
FW
18382019-05-27 Florian Weimer <fweimer@redhat.com>
1839
1840 * nptl/nptl-init.c: Add comment.
1841
5c23c821
FW
18422019-05-24 Florian Weimer <fweimer@redhat.com>
1843
1844 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1845 struct in_addr/struct in6_addr alignment.
1846
bee1f2c4
JM
18472019-05-23 Joseph Myers <joseph@codesourcery.com>
1848
1849 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1850 (F_SEAL_FUTURE_WRITE): New macro.
1851
481c30cb
AH
18522019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1853
1854 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1855 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1856 * elf/tst-ldconfig_aux-cache.root: New directory.
1857 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1858 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1859 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1860
cb755eed
ZW
18612019-05-22 Zack Weinberg <zackw@panix.com>
1862
1863 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1864 host type.
1865 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1866 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1867
1868 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1871 Delete.
1872
1873 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1874 Issue an #error if used with a compiler in SPE-float mode.
1875 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1876 * sysdeps/powerpc/powerpc32/setjmp_common.S
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1883 Remove code to preserve SPE register state.
1884
1885 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1886 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1887 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1888 Remove __SPE__ ifndefs.
1889
46ae0732
WD
18902019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1891
1892 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1893 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1894 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1895 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1896 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1897 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1898 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1899 (INNER_LOOP_ITERS_MEDIUM): New define.
1900 (INNER_LOOP_ITERS_SMALL): New define.
1901 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1902 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1903 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1904 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1905 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1906
004e52fe
AZ
19072019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1908
1909 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1910 New define.
1911 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1912 (SEMTIMEDOP_IPC_ARGS): Likewise.
1913
c9c15ac3
FW
19142019-05-21 Florian Weimer <fweimer@redhat.com>
1915
1916 [BZ #24584]
1917 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1918 before updating __counter field and release it afterwards. Add
1919 overflow check.
1920 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1921 requirement for __counter member.
1922
7e740ab2
FW
19232019-05-21 Florian Weimer <fweimer@redhat.com>
1924
1925 [BZ #24583]
1926 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1927 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1928 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1929 instead of __gconv_release_step.
1930 * libio/Makefile (tests): Add tst-wfile-gconv.
1931 (tests-container): Add tst-wfile-ascii.
1932 (tst-wfile-gconv-ENV): Enable mtrace.
1933 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1934 (tests-special): Add tst-wfile-gconv-mem.out.
1935 (tst-wfile-gconv.out): Depend on locales.
1936 (tst-wfile-gconv-mem.out): Add mtrace rule.
1937 * libio/tst-wfile-ascii.c: New file.
1938 * libio/tst-wfile-gconv.c: Likewise.
1939
09e1b0e3
FW
19402019-05-20 Florian Weimer <fweimer@redhat.com>
1941
1942 [BZ #24588]
1943 libio: Remove codecvt vtable.
1944 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1945 __libio_codecvt.
1946 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1947 __libio_codecvt_encoding.
1948 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1949 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1950 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1951 * libio/iofwide.c (__libio_codecvt): Remove variable.
1952 (_IO_fwide): Do not copy __libio_codecvt.
1953 (__libio_codecvt_out): Rename from do_out and export.
1954 (do_unshift): Remove function.
1955 (__libio_codecvt_in): Rename from do_in and export.
1956 (__libio_codecvt_encoding): Rename from do_encoding and export.
1957 (do_always_noconv): Remove function.
1958 (__libio_codecvt_length): Rename from do_length and export.
1959 (do_max_length): Remove function.
1960 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1961 to libioP.h.
1962 (struct _IO_codecvt): Remove fields __codecvt_destr,
1963 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1964 __codecvt_do_encoding, __codecvt_do_always_noconv,
1965 __codecvt_do_length, __codecvt_do_max_length.
1966 * libio/libioP.h (enum __codecvt_result): Define; moved from
1967 libio.h.
1968 (__libio_codecvt_out, __libio_codecvt_in)
1969 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1970 functions.
1971 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1972 (_IO_wfile_underflow): Call __libio_codecvt_in.
1973 (_IO_wfile_underflow): Likewise.
1974 (_IO_wfile_underflow_mmap): Likewise.
1975 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1976 __libio_codecvt_length.
1977 (adjust_wide_data): Call __libio_codecvt_encoding,
1978 __libio_codecvt_in.
1979 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1980 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1981 __libio_codecvt_length.
1982
75c51570
FW
19832019-05-20 Florian Weimer <fweimer@redhat.com>
1984
1985 * support/support.h (support_sbindir_prefix): Declare.
1986 (support_install_rootsbindir): Update comment.
1987 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1988 * support/support_paths.c (support_sbindir_prefix): Define.
1989
ff6bec7d
MC
19902019-05-20 Mike Crowe <mac@mcrowe.com>
1991
b62bb3bc
MC
1992 * support/timespec.c: Add backslash to correct newline in failure
1993 message.
1994
ff6bec7d
MC
1995 * support/timespec.h: Correct confusing comment.
1996
dfba907f
AZ
19972019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1998
236c18e5
AZ
1999 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
2000 define.
2001 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
2002 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
2003 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
2004 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
2005
dfba907f
AZ
2006 [BZ #24570]
2007 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
2008 usage.
2009
13886008
JM
20102019-05-20 Joseph Myers <joseph@codesourcery.com>
2011
2012 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
2013 (NT_ARM_PACG_KEYS): Likewise.
2014
1f50f2ad
WD
20152019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
2016
2017 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
2018 (tcache_put): Remove redundant assert.
2019 (tcache_get): Remove redundant asserts.
2020 (__libc_malloc): Check tcache count is not zero.
2021 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
2022
fef7c63c
FW
20232019-05-17 Florian Weimer <fweimer@redhat.com>
2024
2025 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2026
5f161b23
JM
20272019-05-16 Joseph Myers <joseph@codesourcery.com>
2028
2029 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2030 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2031 0x050100].
2032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2033 Likewise.
2034 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2035 (__ASSUME_STATX): Likewise.
2036
ec255a97
FW
20372019-05-16 Florian Weimer <fweimer@redhat.com>
2038
2039 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2040 flags argument.
2041 (LINE_PARSER): Do not map IPv4 addresses.
2042 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2043 to parse_line.
2044 (_nss_nis_gethostent_r): Always pass AF_INET to
2045 internal_nis_gethostent_r.
2046 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2047 to parse_line.
2048 (_nss_nis_gethostbyname2_r): Adjust call to
2049 internal_nis_gethostent_r.
2050 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2051 call to internal_nis_gethostent_r.
2052 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2053 from parse_line.
2054 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2055 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2056 Remove flags argument. Do not map IPv4 addresses.
2057 (internal_nisplus_gethostent_r): Adjust call to
2058 _nss_nisplus_parse_hostent.
2059 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2060 to _nss_nisplus_parse_hostent.
2061 (_nss_nisplus_gethostbyname2_r): Adjust call to
2062 internal_gethostbyname2_r.
2063 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2064 Adjust call to internal_gethostbyname2_r.
2065 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2066 _nss_nisplus_parse_hostent.
2067 (_nss_nisplus_gethostbyname4_r): Adjust call to
2068 internal_gethostbyname2_r.
2069
9c02d078
FW
20702019-05-16 Florian Weimer <fweimer@redhat.com>
2071
2072 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2073 Remove flags.
2074 (LINE_PARSER): Remove address mapping.
2075 (EXTRA_ARGS_VALUE): Remove flags argument.
2076 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2077 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2078 gethostbyname3_multi.
2079 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2080 _nss_files_gethostbyname3_r.
2081 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2082
85b0e1e8
FW
20832019-05-16 Florian Weimer <fweimer@redhat.com>
2084
2085 * support/support_test_compare_blob.c (report_blob): Report
2086 incorrect NULL blobs.
2087
11b451c8
MW
20882019-05-15 Mark Wielaard <mark@klomp.org>
2089
2090 [BZ# 24476]
2091 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2092 __libc_once_get (once) and static_buf == NULL.
2093 (__dlerror): Check we have a valid key, set result to static_buf
2094 otherwise.
2095
32ff3975
AS
20962019-05-15 Andreas Schwab <schwab@suse.de>
2097
2098 [BZ #20568]
2099 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2100 __codecvt_do_length.
2101 * libio/Makefile (tests): Add tst-wfile-sync.
2102 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2103 * libio/tst-wfile-sync.c: New file.
2104 * libio/tst-wfile-sync.input: New file.
2105
a9368c34
FW
21062019-05-15 Florian Weimer <fweimer@redhat.com>
2107
2108 nss: Turn __nss_database_lookup into a compatibility symbol.
2109 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2110 __nss_database_lookup.
2111 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2112 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2113 __nss_database_lookup.
2114 (__nss_next): Move to …
2115 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2116 unconditionally.
2117 (__nss_database_lookup): New function.
2118 * nss/Versions (GLIBC_2.0): Update comment.
2119 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2120 * grp/initgroups.c (internal_getgrouplist): Call
2121 __nss_database_lookup2 instead of __nss_database_lookup.
2122 * nscd/aicache.c (addhstaiX): Likewise.
2123 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2124 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2125 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2126 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2127 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2128 Likewise.
2129 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2130 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2132
d50f0918 21332019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 2134
d50f0918
AH
2135 * support/support.h (support_install_rootsbindir): New variable.
2136 * support/support_paths.c: Likewise.
2137 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2138
7ac6fad9
FW
21392019-05-15 Florian Weimer <fweimer@redhat.com>
2140
2141 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2142 * iconv/gconv_int.h (__gconv_transliterate): … here.
2143 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2144 * iconv/skeleton.c: Likewise.
2145
04b261bd
FW
21462019-05-14 Florian Weimer <fweimer@redhat.com>
2147
2148 Linux: Add the tgkill function.
2149 * bits/signal_ext.h: New file.
2150 * manual/signal.texi (Signaling Another Process): Document tgkill.
2151 * signal/Makefile (headers): Add bits/signal_ext.h.
2152 * signal/signal.h: Include <bits/signal_ext.h>.
2153 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2154 (tst-tgkill): Link with libpthread.
2155 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2156 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2157 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2158 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2159 tgkill.
2160 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2161 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2162 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2163 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2164 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2165 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2166 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2167 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2168 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2169 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2170 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2171 Likewise.
2172 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2173 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2174 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2176 Likewise.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2178 Likewise.
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2180 Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2182 Likewise.
2183 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2184 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2185 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2186 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2187 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2188 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2189 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2190 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2191
6807f47b
CD
21922019-05-14 Carlos O'Donell <carlos@redhat.com>
2193
2194 * manual/search.texi (Tree Search Function): Adjust twalk_r
2195 documentation.
2196
fdb8a0be
AZ
21972019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2198
da2b83ef
AZ
2199 [BZ #24544]
2200 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2201 pre-defined value.
2202
c7ac9caa
AZ
2203 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2204 * support/support.h (support_bindir_prefix): New variable.
2205 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2206
91f043ae
AZ
2207 * config.make.in (bindir): New variable.
2208
c50e1c26
AZ
2209 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2210 (lll_trylock): Call __lll_trylock.
2211 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2212 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2213 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2214 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2215 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2216 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2217 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2219 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2220 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2221 lowlevellock-futex.h.
2222
959aff9f
AZ
2223 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2224 initialization for LLL_LOCK_INITIALIZER different than 0.
2225 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2226 Assume LLL_LOCK_INITIALIZER being 0.
2227 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2228 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2229 Likewise.
2230 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2231 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2232
d7e4c642
AZ
2233 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2234 Optimize futex call and add systemtap probe.
2235
fdb8a0be
AZ
2236 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2237 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2238 __libc_disable_asynccancel, __librt_enable_asynccancel,
2239 __libc_disable_asynccancel, __librt_enable_asynccancel,
2240 __librt_disable_asynccancel): Move to ...
2241 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2242 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2243 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2244 * sysdeps/generic/single-thread.h: New file.
2245 * sysdeps/unix/sysdep.h: Include single-thread.h.
2246 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2247 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2248
f6efec90
MF
22492019-05-08 Mike FABIAN <mfabian@redhat.com>
2250
2251 [BZ #24535]
2252 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2253 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2254 Unicode 12.1.0.
2255 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2256 * localedata/unicode-gen/PropList.txt: Likewise.
2257 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2258 * localedata/charmaps/UTF-8: Regenerate.
2259 * localedata/locales/i18n_ctype: Likewise.
2260 * localedata/locales/tr_TR: Likewise.
2261 * localedata/locales/translit_circle: Likewise.
2262 * localedata/locales/translit_cjk_compat: Likewise.
2263 * localedata/locales/translit_combining: Likewise.
2264 * localedata/locales/translit_compat: Likewise.
2265 * localedata/locales/translit_font: Likewise.
2266 * localedata/locales/translit_fraction: Likewise.
2267
5ad533e8
WD
22682019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2269
2270 [BZ #24531]
2271 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2272 (do_set_tcache_count): Only update if count is small enough.
2273 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2274
4aee85f9
FW
22752019-05-10 Florian Weimer <fweimer@redhat.com>
2276
2277 * nptl/sem_close.c (struct walk_closure): Define.
2278 (walker): Adjust for __twalk_r.
2279 (sem_close): Call __twalk_r.
2280
eb669ff5
AZ
22812019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2282
2283 * support/timespec.c (test_timespec_before_impl,
2284 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2285 insted of long int.
2286
51983996
MC
22872019-05-09 Mike Crowe <mac@mcrowe.com>
2288
44ac6ee9
MC
2289 * nptl/tst-abstime.c: Use libsupport.
2290
495514ee
MC
2291 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2292 small bug where only tv.tv_usec was checked which could cause an
2293 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2294 than a second.
2295
2296 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2297 libsupport.
2298
40d0816f
MC
2299 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2300 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2301
d8e0b901
MC
2302 * nptl/tst-cond11.c: Use libsupport.
2303
51983996
MC
2304 * support/timespec.h: New file. Provide timespec helper functions
2305 along with macros in the style of those in check.h.
2306 * support/timespec.c: New file. Implement check functions declared
2307 in support/timespec.h.
2308 * support/timespec-add.c: New file from gnulib containing
2309 timespec_add implementation that handles overflow.
2310 * support/timespec-sub.c: New file from gnulib containing
2311 timespec_sub implementation that handles overflow.
2312 * support/README: Mention timespec.h.
2313
18aa51ee
SN
23142019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2315
2316 [BZ #24537]
2317 * nptl/Makefile: Move tst-eintr1 to xtests.
2318
252296c6
AZ
23192019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2320
ae45cf84
AZ
2321 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2322 TRUNC handling.
2323 (round_mode): Add definition for TRUNC.
2324 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2325 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2326 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2327 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2328 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2329 Likewise.
2330 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2331 Likewise.
2332 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2333 Likewise.
2334 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2335 Likewise.
2336 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2337 file.
2338 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2339 Likewise.
2340 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2341 Likewise.
2342 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2343 Likewise.
2344 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2345 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2346 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2347 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2348 s_truncf-power5+, and s_truncf-ppc64.
2349 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2350 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2351 file.
2352 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2354 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2355 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2356 file.
2357 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2358 Likewise.
2359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2360 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2362 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2363 s_truncf-power5+, and s_truncf-ppc64.
2364 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2365 file.
2366 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2367 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2368 Likewise.
2369 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2370 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2372 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2373 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2374
a1cb1888
AZ
2375 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2376 ROUND handling.
2377 (round_mode): Add definition for ROUND.
2378 (round_to_integer_float): Likewise.
2379 * sysdeps/powerpc/fpu/s_round.c: New file.
2380 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2381 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2382 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2383 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2384 Likewise.
2385 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2386 Likewise.
2387 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2388 Likewise.
2389 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2390 Likewise.
2391 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2392 file.
2393 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2394 Likewise.
2395 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2396 Likewise.
2397 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2398 Likewise.
2399 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2400 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2401 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2402 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2403 s_roundf-power5+, and s_roundf-ppc64.
2404 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2405 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2406 file.
2407 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2409 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2410 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2411 file.
2412 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2413 Likewise.
2414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2415 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2417 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2418 s_roundf-power5+, and s_roundf-ppc64.
2419 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2420 file.
2421 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2422 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2423 Likewise.
2424 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2425 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2426 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2427 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2428 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2429
252296c6
AZ
2430 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2431 Add FLOOR option.
2432 (round_mode): Add definition for FLOOR.
2433 * sysdeps/powerpc/fpu/s_floor.c: New file.
2434 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2435 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2436 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2438 Remove file.
2439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2440 Likewise
2441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2442 Likewise.
2443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2444 Likewise.
2445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2446 New file.
2447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2448 Likewise.
2449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2450 Likewise.
2451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2452 Likewise.
2453 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2454 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2455 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2456 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2457 s_floorf-power5+, and s_floorf-ppc64.
2458 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2459 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2460 file.
2461 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2463 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2464 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2465 file.
2466 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2467 Likewise.
2468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2469 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2471 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2472 s_floorf-power5+, and s_floorf-ppc64.
2473 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2474 file.
2475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2476 file.
2477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2478 Likewise.
2479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2480 Likewise.
2481 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2482 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2483 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2484 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2485
33647a72
MC
24862019-05-08 Mike Crowe <mac@mcrowe.com>
2487
2488 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2489 clock_gettime wrapper for use in tests that fails the test rather
2490 than returning failure.
2491
2492 * support/xtime.h: New file to declare xclock_gettime.
2493
2494 * support/Makefile: Add xclock_gettime.c.
2495
2496 * support/README: Mention xtime.h.
2497
b2f601ba
FW
24982019-05-08 Florian Weimer <fweimer@redhat.com>
2499
2500 malloc/tst-mallocfork2: Use process-shared barriers.
2501 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2502 (signal_count, sigusr1_sender_pid): Remove.
2503 (iterations): Define constant.
2504 (shared): New variable.
2505 (sigusr1_received): Update comment.
2506 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2507 (signal_sender): Optional use barriers to avoid sending signals
2508 during irrelevant times.
2509 (do_it): Initialize variable shared. Use xfork for error
2510 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2511 the iteration count, independent of signal delivery. Check for
2512 deadlocks in fork. Introduce barriers for reducing signal
2513 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2514 replaced by the barriers. Count signals during fork/free/malloc
2515 and report them.
2516 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2517
c4a392cf
JM
25182019-05-07 Joseph Myers <joseph@codesourcery.com>
2519
7621676f
JM
2520 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2521 version to 5.1.
2522 (clock_adjtime64) New syscall.
2523 (clock_getres_time64) Likewise.
2524 (clock_gettime64) Likewise.
2525 (clock_nanosleep_time64) Likewise.
2526 (clock_settime64) Likewise.
2527 (futex_time64) Likewise.
2528 (io_pgetevents_time64) Likewise.
2529 (io_uring_enter) Likewise.
2530 (io_uring_register) Likewise.
2531 (io_uring_setup) Likewise.
2532 (mq_timedreceive_time64) Likewise.
2533 (mq_timedsend_time64) Likewise.
2534 (pidfd_send_signal) Likewise.
2535 (ppoll_time64) Likewise.
2536 (pselect6_time64) Likewise.
2537 (recvmmsg_time64) Likewise.
2538 (rt_sigtimedwait_time64) Likewise.
2539 (sched_rr_get_interval_time64) Likewise.
2540 (semtimedop_time64) Likewise.
2541 (timer_gettime64) Likewise.
2542 (timer_settime64) Likewise.
2543 (timerfd_gettime64) Likewise.
2544 (timerfd_settime64) Likewise.
2545 (utimensat_time64) Likewise.
2546
c4a392cf
JM
2547 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2548 version to 9 branch.
2549
32e902a9
AY
25502019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2551
2552 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2553 __memmove_thunderx2 to the list of implementations
2554 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2555 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2556 (__memmove_thunderx2): Rewritten using SIMD ld/st
2557 (__memcpy_thunderx2): Fixed handling overlapping cases.
2558 Used ldp/stp instead of ldr/str if possible. Made loops
2559 tails branchless.
2560
ac3da35d
FW
25612019-05-03 Florian Weimer <fweimer@redhat.com>
2562
2563 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2564
b2af6fb2
AZ
25652019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2566
7dfde28a 2567 [BZ #24506]
b2af6fb2
AZ
2568 * elf/tst-pldd.c (in_str_list): New function.
2569 (do_test): Add default names for ld and libc as one option.
2570
7b807a35
FW
25712019-05-02 Florian Weimer <fweimer@redhat.com>
2572
2573 misc: Add twalk_r function.
2574 * include/search.h (__twalk_r): Declare.
2575 * manual/examples/twalk.c: New file.
2576 * manual/search.texi (Tree Search Function): Document twalk_r.
2577 * misc/Versions (2.30): Export twalk_r.
2578 (GLIBC_PRIVATE): Export __twalk_r.
2579 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2580 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2581 (twalk_r): Add weak alias.
2582 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2583 (walk_trace): New variable.
2584 (struct twalk_with_twalk_r_closure): Define.
2585 (twalk_with_twalk_r_action): New function.
2586 (twalk_with_twalk_r): Likewise.
2587 (walk_action): Call walk_trace_add.
2588 (walk_tree_with): Rename from walk_tree. Add walk argument.
2589 (walk_tree): New function.
2590 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2591 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2592 Likewise.
2593 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2594 Likewise.
2595 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2596 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2597 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2598 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2599 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2600 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2601 Likewise.
2602 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2603 Likewise.
2604 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2605 Likewise.
2606 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2607 (GLIBC_2.30): Likewise.
2608 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2609 (GLIBC_2.30): Likewise.
2610 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2611 (GLIBC_2.30): Likewise.
2612 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2613 (GLIBC_2.30): Likewise.
2614 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2615 Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2617 (GLIBC_2.30): Likewise.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2619 (GLIBC_2.30): Likewise.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2621 (GLIBC_2.30): Likewise.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2623 (GLIBC_2.30): Likewise.
2624 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2625 Likewise.
2626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2627 Likewise.
2628 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2629 Likewise.
2630 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2631 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2632 Likewise.
2633 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2634 Likewise.
2635 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2636 Likewise.
2637 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2638 Likewise.
2639
20aa5819
PE
26402019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2641
2642 Make mktime etc. compatible with __time64_t
2643 Keep these functions compatible with Gnulib while adding
2644 __time64_t support. The basic idea is to move private API
2645 declarations from include/time.h to time/mktime-internal.h, since
2646 the former file cannot easily be shared with Gnulib whereas the
2647 latter can.
2648 Also, do some other minor cleanup while in the neighborhood.
2649 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2650 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2651 since Gnulib needs it.
2652 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2653 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2654 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2655 (in_time_t_range): New static function.
2656 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2657 so that glibc users are not tempted to use __time64_t.
2658 * time/mktime-internal.h: Rewrite so that it does both glibc
2659 and Gnulib work. Include time.h if not _LIBC.
2660 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2661 (__time64_t): New type or macro, moved here from
2662 posix/bits/types.h.
2663 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2664 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2665 from include/time.h.
2666 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2667 New macros, taken from GNulib.
2668 (__mktime_internal): New prototype, moved here from include/time.h.
2669 * time/mktime.c (mktime_min, mktime_max, convert_time)
2670 (ranged_convert, __mktime_internal, __mktime64):
2671 * time/timegm.c (__timegm64):
2672 Use __time64_t, not time_t.
2673 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2674 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2675 Rename from mktime.
2676 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2677 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2678 for libc_hidden_def.
2679 Include errno.h.
2680 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2681 Rename from timegm.
2682 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2683
87c266d7
MR
26842019-04-30 Maciej W. Rozycki <macro@wdc.com>
2685
2686 [BZ #19444]
2687 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2688 from `-Wmaybe-uninitialized'.
2689 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2690
c4c0848b
AZ
26912019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2692
6cac323c
AZ
2693 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2694 function.
2695 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2696 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2697 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2698 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2699 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2701 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2703 Remove file.
2704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2705 Likewise.
2706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2707 Likewise.
2708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2709 Likewise.
2710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2711 New file.
2712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2713 Likewise.
2714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2715 Likewise.
2716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2717 Likewise.
2718 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2719 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2720 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2721 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2722 Likewise.
2723 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2724 Likewise.
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2726 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2727 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2728 file.
2729 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2730 Likewise.
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2732 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2733 * here.
2734 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2735 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2736 s_ceilf-power5+, and s_ceilf-ppc64.
2737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2738 file.
2739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2743 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2744 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2746
c4c0848b
AZ
2747 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2748 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2749 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2750
f492fc99
YD
27512019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2752
2753 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2754 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2755 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2756 (sem_getvalue): Likewise.
2757
c57afec0
FW
27582019-04-26 Florian Weimer <fweimer@redhat.com>
2759
2760 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2761 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2762
a8ff215e
FW
27632019-04-26 Florian Weimer <fweimer@redhat.com>
2764
2765 Makeconfig: Move -Wl,-rpath-link options before library references.
2766 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2767 (link-libc): Remove $(link-libc-rpath-link).
2768
27692019-04-25 Florian Weimer <fweimer@redhat.com>
2770
2771 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2772 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2773 (+link-static-before-libc): Remove $(CC).
2774 (+link-static, +link-static-tests): Add $(CC).
2775 (+link-before-libc): Remove $(CC).
2776 (+link, +link-pie, +link-pie-printers): Add $(CC).
2777
e30fb31c
FW
27782019-04-26 Florian Weimer <fweimer@redhat.com>
2779
2780 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2781 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2782 (+link-static-before-libc): Remove $(CC).
2783 (+link-static, +link-static-tests): Add $(CC).
2784 (+link-before-libc): Remove $(CC).
2785 (+link, +link-pie, +link-pie-printers): Add $(CC).
2786
deacca00
DA
27872019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2788
2789 [BZ#24484]
2790 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2791
b5ffdc48
FW
27922019-04-25 Florian Weimer <fweimer@redhat.com>
2793
2794 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2795 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2796 (bench-link-targets): New variable.
2797 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2798
94a4e9e4
FW
27992019-04-25 Florian Weimer <fweimer@redhat.com>
2800
2801 Also enable BIND_NOW for programs if --enable-bind-now.
2802 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2803 (+link-pie): Use $(link-extra-flags).
2804 (+link-static): Likewise.
2805 [! $(build-pie-default)] (+link): Likewise.
2806 * manual/install.texi (Configuring and compiling): Update
2807 --enable-bind-now description.
2808 * INSTALL: Regenerated.
2809
fe92a91f
WD
28102019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2811
2812 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2813 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2814
f9b645b4
MF
28152019-04-24 Mike Frysinger <vapier@gentoo.org>
2816
2817 [BZ #18465]
2818 * malloc/Makefile (others): Add memusagestat.
2819 ($(objpfx)memusagestat): Delete rule.
2820 (LDLIBS-memusagestat): New variable.
2821
439bf534
FW
28222019-04-24 Florian Weimer <fweimer@redhat.com>
2823
2824 * locale/Makefile (tests-special): Guard setting by
2825 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2826 to run while cross-compiling.
2827
1a4c2735
AZ
28282019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2829
2830 [BZ #18035]
2831 * elf/Makefile (tests-container): Add tst-pldd.
2832 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2833 (E(find_maps)): Avoid use alloca, use default read file operations
2834 instead of explicit LFS names, and fix infinite loop.
2835 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2836 (get_process_info): Use _Static_assert instead of assert, use default
2837 directory operations instead of explicit LFS names, and free some
2838 leadek pointers.
2839 * elf/tst-pldd.c: New file.
2840
2d398aa2
L
28412019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2842
2843 * malloc/arena.c (do_set_mallopt_check): Removed.
2844
e485b2b6
FW
28452019-04-23 Florian Weimer <fweimer@redhat.com>
2846
2847 locale: Add LOCPATH diagnostics to the locale program.
2848 * locale/programs/locale.c (setlocale_failed): New variable.
2849 (try_setlocale): New function.
2850 (quote_string): Likewise.
2851 (setlocale_diagnostics): Likewise.
2852 (main): Call try_setlocale instead of setlocale. Call
2853 setlocale_diagnostics.
2854 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2855 (tst-locale-locpath.out): New target.
2856 * locale/tst-locale-locpath.sh: New file.
2857
25f7a3c9
AZ
28582019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2859
2860 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2861 to 2.30 notes.
2862
9bf8e29c
AZ
28632019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2864
2865 [BZ #23741]
2866 * malloc/hooks.c (malloc_check, realloc_check): Use
2867 __builtin_add_overflow on overflow check and adapt to
2868 checked_request2size change.
2869 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2870 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2871 allocation size to PTRDIFF_MAX.
2872 (REQUEST_OUT_OF_RANGE): Remove macro.
2873 (checked_request2size): Change to inline function and limit maximum
2874 requested size to PTRDIFF_MAX.
2875 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2876 maximum allocation size to PTRDIFF_MAX.
2877 (_mid_memalign): Use _int_memalign call for overflow check.
2878 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2879 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2880 limit maximum requested size to PTRDIFF_MAX.
2881 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2882 valloc, pvalloc): Add __attribute_alloc_size__.
2883 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2884 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2885 larger than PTRDIFF_MAX.
2886 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2887 around tests of malloc with negative sizes.
2888 * malloc/tst-posix_memalign.c (do_test): Likewise.
2889 * malloc/tst-pvalloc.c (do_test): Likewise.
2890 * malloc/tst-valloc.c (do_test): Likewise.
2891 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2892 with resulting size allocation larger than PTRDIFF_MAX with
2893 reallocarray_nowarn.
2894 (reallocarray_nowarn): New function.
2895 * NEWS: Mention the malloc function semantic change.
2896
0e169691
AZ
28972019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2898
52faba65
AZ
2899 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2900 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2901
3a16dd78
AZ
2902 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2903 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2904 * sysdeps/powerpc/fpu/s_fma.c: New file.
2905 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2906
1dac8bd6
AZ
2907 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2908 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2909
a3ae315a
AZ
2910 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2911 the magic flag store.
2912 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2913 Likewise.
2914 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2915 Likewise.
2916 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2917 Remove rt_sigreturn call.
2918
ffe8a9a8
AZ
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2920 Remove rt_sigreturn call.
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2922 Likewise.
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2925
0e169691
AZ
2926 * support/Makefile (libsupport-routines): Add support_subprocess,
2927 xposix_spawn, xposix_spawn_file_actions_addclose, and
2928 xposix_spawn_file_actions_adddup2.
2929 (tst-support_capture_subprocess-ARGS): New rule.
2930 * support/capture_subprocess.h (support_capture_subprogram): New
2931 prototype.
2932 * support/support_capture_subprocess.c (support_capture_subprocess):
2933 Refactor to use support_subprocess and support_capture_poll.
2934 (support_capture_subprogram): New function.
2935 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2936 str_to_write_mode, test_common, parse_int, handle_restart,
2937 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2938 (do_test): Add support_capture_subprogram tests.
2939 * support/subprocess.h: New file.
2940 * support/support_subprocess.c: Likewise.
2941 * support/xposix_spawn.c: Likewise.
2942 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2943 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2944 * support/xspawn.h: Likewise.
2945
bae8cf0e
MG
29462019-04-17 Mike Gerow <gerow@google.com>
2947
2948 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2949 groups limit.
2950
e3f454ba
FW
29512019-04-11 Florian Weimer <fweimer@redhat.com>
2952
2953 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2954 domain with empty string.
2955 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2956
32d85c11
FW
29572019-04-11 Florian Weimer <fweimer@redhat.com>
2958
2959 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2960 comment.
2961 (alloc_buffer_next): Change return type to non-const. Update
2962 comment.
2963
221710af
FW
29642019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2965
2966 * manual/time.texi (Formatting Calendar Time): Add missing percent
2967 sign to conversion specifier.
2968
e621246e
CD
29692019-04-09 Carlos O'Donell <carlos@redhat.com>
2970 Kwok Cheung Yeung <kcy@codesourcery.com>
2971
2972 [BZ #16573]
2973 * malloc/mtrace.c: Define prototypes for all hooks.
2974 (set_default_hooks): New function.
2975 (set_trace_hooks): Likewise.
2976 (save_default_hooks): Likewise.
2977 (tr_freehook): Use new s*_hooks functions.
2978 (tr_mallochook): Likewise.
2979 (tr_reallochook): Likewise.
2980 (tr_memalignhook): Likewise.
2981 (mtrace): Likewise.
2982 (muntrace): Likewise.
2983
648279f4
WD
29842019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2985
2986 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2987 (generic_stpcpy): New function.
2988 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2989 (generic_stpncpy): New function.
2990 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2991 (generic_strcat): New function.
2992 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2993 (generic_strcpy): New function.
2994 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2995 (STUPID_STRNCAT): Remove function.
2996 (generic_strncat): New function.
2997 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2998 (STUPID_STRNCPY): Remove function.
2999 (generic_strncpy): New function.
3000 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
3001 (generic_strnlen): New function.
3002 (memchr_strnlen): New function.
3003 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
3004 (memchr_strlen): Likewise.
3005
93eebae5
WD
30062019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3007
3008 * benchtests/bench-strstr.c (input): Add realistic input text.
3009 (stupid_strstr): Remove function.
3010 (basic_strstr): Add function.
3011 (twoway_strstr): Add function.
3012 (do_one_test): Add result checking.
3013 (do_test): Use new input text. Remove accidental early matches.
3014 (test_main): Improve range of tests, reduce unaligned cases.
3015
a173d09f
WD
30162019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3017
3018 * benchtests/bench-memmem.c (simple_memmem): Remove function.
3019 (basic_memmem): Add function.
3020 (twoway_memmem): Add function.
3021
6103c0a8
WD
30222019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3023
3024 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
3025 * benchtests/bench-malloc-thread.c: Likewise.
3026 * benchtests/bench-skeleton.c: Likewise.
3027 * benchtests/bench-strtod.c: Likewise.
3028 * benchtests/bench-timing.h: Likewise.
3029
33322186
FW
30302019-04-08 Florian Weimer <fweimer@redhat.com>
3031
3032 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3033 definitions.
3034 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3035 RES_INSECURE2 security checks.
3036 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3037 RES_INSECURE2 handling.
3038
3f8b44be
FW
30392019-04-08 Florian Weimer <fweimer@redhat.com>
3040
3041 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3042 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3043 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3044 GETHOSTBYNAME.
3045 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3046 (tests-internal): Update justification for tst-resolv-res_init,
3047 tst-resolv-res_init-thread.
3048 (tst-res_use_inet6): Remove target.
3049 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3050 * resolv/res_debug.c (p_option): Remove "inet6" support.
3051 * resolv/res_init.c (res_setoptions): Likewise.
3052 * resolv/res_use_inet6.h: Remove file.
3053 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3054 definition.
3055 (res_use_inet6): Always return false.
3056 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3057 * resolv/resolv_context.h: Adjust file comment.
3058 (struct resolv_context): Update comment on __next field.
3059 (__resolv_context_put): Update comment.
3060 * resolv/tst-res_use_inet6.c: Remove file.
3061 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3062 "inet6" support.
3063 (test_cases): Adjust test case.
3064 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3065 (thread_byname2_af_inet6): Use old byname_inet6 code.
3066 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3067 (gai): Remove do_inet6 argument.
3068 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3069 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3070 (thread_gai_unspec_inet6): Remove functions.
3071 (do_test): Adjust thread_funcs.
3072 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3073 RES_USE_INET6 flag.
3074 (gaih_inet): Do not disable RES_USE_INET6 flag.
3075
6b5c8607 30762019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
3077
3078 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3079 and remove redundant code.
3080
e3fd0b0e
AZ
30812019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3082
f82ed45d
AZ
3083 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3084 New rule.
3085 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3087 Likewise.
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3089 Likewise.
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3091 Likewise.
3092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3094 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3095 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3096 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3097 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3099 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3100 wcsrchr-power7.
3101 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3104 Remove wcsrchr optimizations.
3105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3106
662c2cc4
AZ
3107 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3108 the loop unroll.
3109
421e3005
AZ
3110 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3111 New rule.
3112 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3114 Likewise.
3115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3116 Likewise.
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3118 Likewise.
3119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3120 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3121 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3122 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3123 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3124 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3126 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3127 wcschr-power7.
3128 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3131 Remove wcschr optimizations.
3132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3133
7ba0100c
AZ
3134 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3135 the loop unroll.
3136
447a1306
AZ
3137 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3138 New rule.
3139 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3141 Likewise.
3142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3143 Likewise.
3144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3145 Likewise.
3146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3147 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3149 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3150 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3151 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3153 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3154 wcscpy-power7.
3155 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3158 Remove wcscpy optimizations.
3159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3160
e3fd0b0e
AZ
3161 * include/loop_unroll.h: New file.
3162 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3163 besides generic implementation.
3164
8260f236
DD
31652019-04-03 DJ Delorie <dj@redhat.com>
3166
3167 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3168 snprintf truncating output.
3169
0bd545ee
DD
31702019-04-02 DJ Delorie <dj@redhat.com>
3171
3172 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3173 warning.
3174
466afec3
TS
31752019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3176
3177 [BZ #22964]
3178 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3179 era.
3180 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3181 (mkreftable): Add rules for the new Japanese era and the new dates.
3182
2f1d6155
TS
31832019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3184 Rafal Luzynski <digitalfreak@lingonborough.com>
3185
3186 * time/tst-strftime2.c (date_t): Explicitly define the type.
3187 (dates): Use natural month and year numbers to express a date.
3188 (is_before): New function to compare dates.
3189 (mkreftable): Minor improvements to simplify maintenance.
3190 (do_test): Reflect the changes in dates array.
3191
84aea169
TS
3192 [BZ #24293]
3193 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3194 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3195 * time/tst-strftime2.c (locales): Likewise.
3196 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3197 2010-04-01, and 2011-04-01.
3198 (mkreftable): Add rules for the new locales and the new dates.
3199
62449176
CD
32002019-04-01 Carlos O'Donell <carlos@redhat.com>
3201
3202 * localedata/locales/ja_JP: Add comments to era entries.
3203
e0e4c321
DD
32042019-04-01 DJ Delorie <dj@redhat.com>
3205
3206 [BZ #24394]
3207 * time/strptime_l.c (%Ey): Fix fencepost error.
3208 * time/tst-strftime3.c: New.
3209 * time/Makefile (tests): Add tst-strftime3.
3210
6b5c8607 32112019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
3212
3213 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3214 conditional branch to DIVBYZERO. Fix unwind info.
3215 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3216 excb after conditional branch to $powerof2. Add missing unop
3217 instructions and .align directives and reorder instructions to
3218 match __divqu.
3219
d5ecee82
RH
32202019-04-01 Richard Henderson <rth@twiddle.net>
3221
3222 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3223 Do not redefine.
3224 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3225 Do not redefine.
3226
656dd306
MR
32272019-03-30 Maciej W. Rozycki <macro@wdc.com>
3228
3229 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3230 $libc_cv_riscv_float_abi in `test' invocation.
3231 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3232
10cce669
PC
32332019-03-29 Paul A. Clarke <pc@us.ibm.com>
3234
3235 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3236 asm with builtin.
3237 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3238 Likewise.
3239 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3240 (_GET_SI_FPSCR): Likewise.
3241 (_SET_SI_FPSCR): Likewise.
3242
5e67e4bf 32432019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
3244
3245 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3246 clang 2.8.
3247 (signbit): Use builtin for clang 3.3.
3248 (isinf): Use builtin for clang 3.7.
3249
01963891
AZ
32502019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3251
3252 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3253
67112f7a
AH
32542019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3255
3256 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3257 quote in printf.
3258
7a773abf
MC
32592019-03-25 Mike Crowe <mac@mcrowe.com>
3260
82849fde
MC
3261 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3262 pthread_rwlock_timedrdlock with calls to
3263 pthread_rwlock_timedwrlock to ensure that the latter is tested
3264 too. Use new function name in diagnostic messages too.
3265
7a773abf
MC
3266 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3267 (do_test) Use libsupport test macros rather than hand-coded
3268 conditionals and error messages. Ensure that sem_init returns zero
3269 rather than not -1. Use <support/test-driver.c> rather than
3270 test-skeleton.c.
3271
3272 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3273 test macros rather than hand-coded conditionals and error messages.
3274 Use <support/test-driver.c> rather than test-skeleton.c.
3275
9ac2de69
JM
32762019-03-25 Joseph Myers <joseph@codesourcery.com>
3277
d7563e62
JM
3278 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3279
9ac2de69
JM
3280 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3281 (NT_MIPS_MSA): Likewise.
3282
38cc11da
AZ
32832019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3284
7621e38b
WD
3285 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3286 * benchtests/README: Update description.
3287 * benchtests/bench-timing.h: Default to hp-timing.
3288 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3289 HP_TIMING_PRINT): Remove.
3290 (HP_TIMING_NOW): Add generic implementation.
3291 (hp_timing_t): Change to uint64_t.
3292
1e372ded
AZ
3293 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3294 HP_TIMING_INLINE.
3295 * nptl/descr.h: Likewise.
3296 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3297 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3298 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3299 Abstract hp-timing usage with RTLD_* macros.
3300 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3301 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3302 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3303 HP_TIMING_NONAVAIL): Likewise.
3304 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3305 Likewise.
3306 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3307 HP_SMALL_TIMING_AVAIL): Likewise.
3308 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3309 HP_SMALL_TIMING_AVAIL): Likewise.
3310 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3311 HP_SMALL_TIMING_AVAIL): Likewise.
3312 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3313 HP_SMALL_TIMING_AVAIL): Likewise.
3314 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3315 Likewise.
3316 * sysdeps/generic/hp-timing-common.h: Update comment with
3317 HP_TIMING_AVAIL removal.
3318
359653aa
AZ
3319 * include/random-bits.h: New file.
3320 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3321 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3322 random_bits.
3323 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3324 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3325 Likewise.
3326
6e8ba7fd
AZ
3327 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3328 * rt/Makefile (clock-routines): Remove get_clockfreq.
3329 * rt/get_clockfreq.c: Remove file.
3330 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3331 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3334 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3335
77b6f553
AZ
3336 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3337 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3338 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3339 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3340 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3341
38cc11da
AZ
3342 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3343 pthread_clock_settime.
3344 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3345 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3346 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3347 * elf/rtld.c (_dl_start_final): Likewise.
3348 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3349 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3350 Remove.
3351 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3352 (_dl_cpuclock_offset): Remove.
3353 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3354 cpuclock_offset_ununsed.
3355 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3356 cpuclock_offset set.
3357 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3358 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3359 * nptl/pthread_clock_gettime.c: Remove file.
3360 * nptl/pthread_clock_settime.c: Likewise.
3361 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3362 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3363 and CLOCK_PROCESS_CPUTIME_ID support.
3364 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3365 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3366 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3367 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3368 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3369 Likewise.
3370 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3371
421749d6
SL
33722019-03-22 Stefan Liebler <stli@linux.ibm.com>
3373
3374 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3375 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3376 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3377 New defines.
3378 * sysdeps/s390/memmem-arch13.S: New file.
3379 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3380 if it is only used as fallback.
3381 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3382 * sysdeps/s390/multiarch/ifunc-impl-list.c
3383 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3384
6f47401b
SL
33852019-03-22 Stefan Liebler <stli@linux.ibm.com>
3386
3387 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3388 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3389 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3390 New defines.
3391 * sysdeps/s390/multiarch/ifunc-impl-list.c
3392 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3393 * sysdeps/s390/strstr-arch13.S: New file.
3394 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3395 if it is only used as fallback.
3396 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3397
96fbb9a3
SL
33982019-03-22 Stefan Liebler <stli@linux.ibm.com>
3399
3400 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3401 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3402 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3403 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3404 ifunc selector.
3405 * sysdeps/s390/multiarch/ifunc-impl-list.c
3406 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3407 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3408 S390_IS_ARCH13_MIE3): New defines.
3409
a899a551
SL
34102019-03-22 Stefan Liebler <stli@linux.ibm.com>
3411
3412 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3413 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3414 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3415 * sysdeps/s390/configure: Regenerated.
3416
1a7df49c
SL
34172019-03-22 Stefan Liebler <stli@linux.ibm.com>
3418
3419 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3420 Add vxe2, vxp, dflt, sort flags.
3421 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3422 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3423 capabilities.
3424 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3425 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3426 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3427 HWCAP_S390_DFLT): Define.
3428
5e67e4bf 34292019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
3430
3431 [BZ #24372]
3432 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3433 of compiler warning.
3434 * locale/programs/ld-collate.c (collate_output): Likewise.
3435
ac64195c
DD
34362019-03-21 DJ Delorie <dj@redhat.com>
3437
3438 [BZ #24372]
3439 * iconv/iconvconfig.c (write_output): Replace floating point math
3440 with integer math to avoid imprecise results.
3441 * locale/programs/ld-collate.c (collate_output): Likewise.
3442
61f5e947
SL
34432019-03-21 Stefan Liebler <stli@linux.ibm.com>
3444
3445 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3446 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3447
57ada43c 34482019-03-20 mansayk <6688000@gmail.com>
3449
3450 [BZ #24296]
3451 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3452 (abday): Likewise, but remove the trailing dots.
3453
a2e57f89
JM
34542019-03-19 Joseph Myers <joseph@codesourcery.com>
3455
3456 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3457 macro.
3458 (HWCAP_PACA): Likewise.
3459 (HWCAP_PACG): Likewise.
3460 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3461 Increase to 32.
3462 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3463
e87d8ada
ST
34642019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3465
3466 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3467 should be handled.
3468
477e739b
JM
34692019-03-15 Joseph Myers <joseph@codesourcery.com>
3470
3471 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3472 version to 5.0.
3473 (old_getpagesize): New syscall.
3474
238d60a1
FY
34752019-03-15 Felix Yan <felixonmars@archlinux.org>
3476
3477 [BZ #24293]
3478 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3479 * localedata/locales/cmn_TW (era): Likewise.
3480 * localedata/locales/hak_TW (era): Likewise.
3481 * localedata/locales/lzh_TW (era): Likewise.
3482 * localedata/locales/nan_TW (era): Likewise.
3483
5dde9ef7
DD
34842019-03-14 Adam Maris <amaris@redhat.com>
3485
3486 * malloc/malloc.c (_int_malloc): Check for large bin list
3487 corruption when inserting unsorted chunk.
3488
a0a0dc83
FW
34892019-03-14 Florian Weimer <fweimer@redhat.com>
3490
3491 Remove obsolete, never-implemented XSI STREAMS declarations.
3492 * manual/terminal.texi (Allocation): Remove portability note and
3493 adjust example.
3494 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3495 _SC_STREAMS.
3496 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3497 * sysdeps/unix/inet/Subdirs (streams): Remove.
3498 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3499 (conformtest-headers-UNIX98): Likewise.
3500 (conformtest-headers-XOPEN2K): Likewise.
3501 (conformtest-headers-POSIX2008): Likewise.
3502 * posix/compat-streams.c: New file.
3503 * posix/Makefile (routines): Add it.
3504 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3505 getpmsg, isastream, putmsg, putpmsg.
3506 (GLIBC_2.30): New section.
3507 * bits/stropts.h: Remove file.
3508 * bits/xtitypes.h: Likewise.
3509 * conform/data/stropts.h-data: Likewise.
3510 * include/stropts.h: Likewise.
3511 * include/sys/stropts.h: Likewise.
3512 * include/xtitypes.h: Likewise.
3513 * streams/Makefile: Likewise.
3514 * streams/fattach.c: Likewise.
3515 * streams/fdetach.c: Likewise.
3516 * streams/getmsg.c: Likewise.
3517 * streams/getpmsg.c: Likewise.
3518 * streams/isastream.c: Likewise.
3519 * streams/putmsg.c: Likewise.
3520 * streams/putpmsg.c: Likewise.
3521 * streams/stropts.h: Likewise.
3522 * streams/sys/stropts.h: Likewise.
3523 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3524 * sysdeps/s390/bits/xtitypes.h: Likewise.
3525 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3526 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3527 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3528 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3529 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3530 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3531 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3532 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3533 * sysdeps/x86/bits/xtitypes.h: Likewise.
3534
081bdf94
FW
35352019-03-14 Florian Weimer <fweimer@redhat.com>
3536
3537 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3538 libnss_files.
3539 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3540 but not with libnss_files.
3541 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3542
97f8225d
ZW
35432019-03-14 Zack Weinberg <zackw@panix.com>
3544
3545 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3546 Specify encoding="utf-8" when opening headers to check.
3547
0c1041ee
JM
35482019-03-13 Joseph Myers <joseph@codesourcery.com>
3549
3550 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3551 version to 5.0.
3552 (Context.checkout_tar): Handle variable major version for Linux
3553 kernel.
3554
043440e7
FW
35552019-03-13 Florian Weimer <fweimer@redhat.com>
3556
3557 [BZ #24047]
3558 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3559
29218b26
ZW
35602019-03-13 Zack Weinberg <zackw@panix.com>
3561
3562 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3563 Move to stdlib.
3564 * include/inttypes.h: Adjust to match.
3565 * include/stdint.h: New wrapper.
3566
711a322a
ZW
35672019-03-13 Zack Weinberg <zackw@panix.com>
3568
3569 * scripts/check-obsolete-constructs.py: New test script.
3570 * scripts/check-installed-headers.sh: Remove tests for
3571 obsolete typedefs, superseded by check-obsolete-constructs.py.
3572 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3573 as a special test. Update commentary.
3574 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3575 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3576 Update commentary.
3577 * posix/sys/types.h (__u_intN_t): Remove.
3578 (u_int8_t): Typedef using __uint8_t.
3579 (u_int16_t): Typedef using __uint16_t.
3580 (u_int32_t): Typedef using __uint32_t.
3581 (u_int64_t): Typedef using __uint64_t.
3582
7c651308
SL
35832019-03-13 Stefan Liebler <stli@linux.ibm.com>
3584
3585 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3586 call _dl_procinfo.
3587 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3588 Ignore types other than AT_HWCAP.
3589 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3590 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3591 Likewise.
3592 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3593 in the case of falling back to generic output mechanism.
3594 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3595 Likewise.
3596
38b52865
FW
35972019-03-12 Florian Weimer <fweimer@redhat.com>
3598
3599 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3600
08504de7
FW
36012019-03-12 Florian Weimer <fweimer@redhat.com>
3602
3603 [BZ #24047]
3604 resolv: Enable full ICMP errors for UDP DNS sockets
3605 * resolv/res_enable_icmp.c: New file.
3606 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3607 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3608 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3609 socket.
3610
5fbcd763
MH
36112019-03-11 Mao Han <han_mao@c-sky.com>
3612
3613 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3614 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3615
c4e5f34b
MH
36162019-03-11 Mao Han <han_mao@c-sky.com>
3617
3618 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3619 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3620 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3621
827e30f3
MH
36222019-03-11 Mao Han <han_mao@c-sky.com>
3623
3624 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3625 directly.
3626 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3627 definition.
3628
6229c9bf
MH
36292019-03-11 Mao Han <han_mao@c-sky.com>
3630
3631 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3632 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3633 in mcontext_t
3634
86bdd49d
MF
36352019-03-08 Mike FABIAN <mfabian@redhat.com>
3636
3637 [BZ #24307]
3638 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3639 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3640 Unicode 12.0.0.
3641 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3642 * localedata/unicode-gen/PropList.txt: Likewise.
3643 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3644 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3645 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3646 * localedata/charmaps/UTF-8: Regenerate.
3647 * localedata/locales/i18n_ctype: Likewise.
3648 * localedata/locales/tr_TR: Likewise.
3649 * localedata/locales/translit_circle: Likewise.
3650 * localedata/locales/translit_cjk_compat: Likewise.
3651 * localedata/locales/translit_combining: Likewise.
3652 * localedata/locales/translit_compat: Likewise.
3653 * localedata/locales/translit_font: Likewise.
3654 * localedata/locales/translit_fraction: Likewise.
3655
c5f65462
JM
36562019-03-07 Joseph Myers <joseph@codesourcery.com>
3657
3658 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3659 than after operators.
3660 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3661 (setitimer_locked): Likewise.
3662 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3663 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3664 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3665 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3666 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3667 (PPC_CPU_SUPPORTED): Likewise.
3668 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3669 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3670 (stat_overflow): Likewise.
3671 (statfs_overflow): Likewise.
3672 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3673 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3674 (eq_ttyname_r): Likewise.
3675 (run_chroot_tests): Likewise.
3676
27a2f2f3
FW
36772019-03-07 Florian Weimer <fweimer@redhat.com>
3678
3679 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3680 header check.
3681
ae514971 36822019-03-07 Martin Liska <mliska@suse.cz>
3683
3684 * math/Makefile: Change location where math-vector-fortran.h is
3685 installed.
3686 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3687 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3688 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3689 * scripts/check-installed-headers.sh: Skip Fortran header files.
3690 * scripts/check-wrapper-headers.py: Likewise.
3691
0ddb7ea8
AZ
36922019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3693
3694 * nptl/nptl-init.c (__have_futex_clock_realtime,
3695 __have_futex_clock_realtime): Remove definition.
3696 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3697 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3698 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3699 __ASSUME_FUTEX_CLOCK_REALTIME support.
3700 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3702 * sysdeps/unix/sysv/linux/kernel-features.h
3703 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3704 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3705 Adjust comment.
3706
590675c0
GG
37072019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3708
3709 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3710 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3711 __GI___wcscpy and wcscpy.
3712
de71ee7b
FW
37132019-03-04 Florian Weimer <fweimer@redhat.com>
3714
3715 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3716 declaration.
3717 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3718 defined.
3719
ce6ddae0
SL
37202019-03-04 Stefan Liebler <stli@linux.ibm.com>
3721
3722 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3723 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3724
31efface
TS
37252019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3726
3727 [BZ #24162]
3728 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3729 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3730
f0eaf862
GG
37312019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3732
3733 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3734 tests.
3735 (do_test): Likewise.
3736 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3737 (do_test_call_varg): Likewise.
3738 (do_test_call_rarg): Likewise.
3739 * sysdeps/ieee754/ldbl-opt/Makefile
3740 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3741 tst-nldbl-error.
3742 ($(objpfx)tst-nldbl-warn.c): New rule.
3743 ($(objpfx)tst-nldbl-error.c): Likewise.
3744 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3745 New variables.
3746
d11086a9
GG
37472019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3748
3749 [BZ #23984]
3750 * include/bits/error-ldbl.h: New file.
3751 * include/error.h: Include stdarg.h. Declare internal functions
3752 __error_internal and __error_at_line_internal.
3753 * misc/Makefile (headers): Add bits/error-ldbl.h.
3754 * misc/bits/error-ldbl.h: New file.
3755 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3756 avoid the inclusion of bits/error.h.
3757 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3758 and __nldbl_error_at_line.
3759 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3760 (__nldbl_error, __ndlbl_error_at_line): New functions.
3761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3762 Redirect error and error_at_line.
3763 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3767 Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3769 Likewise.
3770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3771 Likewise.
3772 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3773 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3775
90188e7d
GG
37762019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3777
3778 [BZ #23984]
3779 * include/bits/err-ldbl.h: New file.
3780 * include/err.h: Add prototypes for the internal functions:
3781 __vwarnx_internal and __vwarn_internal.
3782 * misc/Makefile (headers): Add bits/err-ldbl.h.
3783 * misc/bits/err-ldbl.h: New file.
3784 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3785 defined, i.e.: when -mlong-double-64 is in use.
3786 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3787 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3788 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3789 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3790 (VA_CALL): New macro.
3791 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3792 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3793 functions.
3794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3795 declare prototypes for the new functions.
3796 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3798 Likewise.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3800 Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3802 Likewise.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3804 Likewise.
3805 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3808
ea2d89d0
GG
38092019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3810
3811 * sysdeps/ieee754/ldbl-opt/Makefile
3812 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3813 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3814 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3815
6e1f6440
GG
38162019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3817
3818 [BZ #23983]
3819 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3820 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3821 * argp/bits/argp-ldbl.h: New file.
3822 * include/argp.h: Include stdarg.h. Add prototypes for internal
3823 functions: __argp_error_internal and __argp_failure_internal.
3824 * include/bits/argp-ldbl.h: New file.
3825 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3826 __nldbl_argp_error and __nldbl_argp_failure.
3827 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3828 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3829 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3830 Redirect argp_error and argp_failure calls.
3831 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3833 Likewise.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3835 Likewise.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3837 Likewise.
3838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3839 Likewise.
3840 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3842 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3843
c259196b
FW
38442019-03-01 Florian Weimer <fweimer@redhat.com>
3845
3846 [BZ #20419]
3847 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3848 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3849 code, to avoid creating an ABI tag note.
3850 (modules-names-nobuild): Add tst-big-note-lib.
3851
928b305d
SL
38522019-03-01 Stefan Liebler <stli@linux.ibm.com>
3853
3854 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3855 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3856
36f30c10
FW
38572019-03-01 Florian Weimer <fweimer@redhat.com>
3858
3859 [BZ #20271]
3860 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3861 (__netlink_assert_response): Add additional missing newlines.
3862
462e83a4
JM
38632019-02-28 Joseph Myers <joseph@codesourcery.com>
3864
3865 * sysdeps/powerpc/powerpc32/dl-machine.c
3866 (__elf_machine_fixup_plt): Use space before '('.
3867 (__process_machine_rela): Likewise.
3868 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3869 Likewise.
3870 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3871 Likewise.
3872 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3873 Likewise.
3874 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3875 (pattern): Likewise.
3876 (delta): Likewise.
3877 (check_result): Likewise.
3878 (check_excepts): Likewise.
3879 (check_op): Likewise.
3880 (fail_xr): Likewise.
3881 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3882 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3883 (SCNHSZ): Likewise.
3884 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3885 Likewise.
3886 (ARGS): Likewise.
3887 (__makecontext): Likewise.
3888 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3889 Likewise.
3890
cc3e573c
FW
38912019-02-28 Florian Weimer <fweimer@redhat.com>
3892
3893 [BZ #23937]
3894 elf: Add test with a local IFUNC resolver.
3895 * elf/ifuncmain9.c: New file.
3896 * elf/ifuncmain9pic.c: Likewise.
3897 * elf/ifuncmain9picstatic.c: Likewise.
3898 * elf/ifuncmain9pie.c: Likewise.
3899 * elf/ifuncmain9static.c: Likewise.
3900 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3901 ifuncmain9static, ifuncmain9picstatic.
3902 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3903 Add ifuncmain9, ifuncmain9pic.
3904 * elf/Makefile [multi-arch && build-shared && have-fpie]
3905 (ifunc-pie-tests): Add ifuncmain9pie.
3906 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3907 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3908 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3909
92ad88fe
L
39102019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3911
3912 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3913 * configure: Regenerated.
3914 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3915
6bd4d02e
AZ
39162019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3917
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3919 symbol as __wcspcy instead of wcscpy.
3920
1b218417
ST
39212019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3922
3923 * include/stdio.h (__renameat2): New hidden prototype.
3924 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3925 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3926 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3927 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3928
c4f50205
JM
39292019-02-27 Joseph Myers <joseph@codesourcery.com>
3930
f627dd4d
JM
3931 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3932 if statement.
3933
c4f50205
JM
3934 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3935 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3936 * benchtests/bench-strlen.c (do_test): Likewise.
3937 (test_main): Likewise.
3938 * catgets/gencat.c (read_old): Likewise.
3939 * elf/cache.c (load_aux_cache): Likewise.
3940 * iconvdata/bug-iconv8.c (do_test): Likewise.
3941 * math/test-tgmath-ret.c (do_test): Likewise.
3942 * nis/nis_call.c (rec_dirsearch): Likewise.
3943 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3944 * nptl/tst-audit-threads.c (do_test): Likewise.
3945 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3946 * nss/nss_test1.c (init): Likewise.
3947 * nss/test-netdb.c (test_hosts): Likewise.
3948 * posix/execvpe.c (maybe_script_execute): Likewise.
3949 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3950 * stdio-common/tst-printf.c (do_test): Likewise.
3951 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3952 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3953 * stdlib/qsort.c (STACK_SIZE): Likewise.
3954 * stdlib/test-canon.c (do_test): Likewise.
3955 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3956 * string/memcmp.c (OPSIZ): Likewise.
3957 * string/test-strcpy.c (do_test): Likewise.
3958 (do_random_tests): Likewise.
3959 * string/test-strlen.c (do_test): Likewise.
3960 (test_main): Likewise.
3961 * string/test-strrchr.c (do_test): Likewise.
3962 (do_random_tests): Likewise.
3963 * string/tester.c (test_memrchr): Likewise.
3964 (test_memchr): Likewise.
3965 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3966 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3967 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3968 (read_encoded_value_with_base): Likewise.
3969 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3970 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3971 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3972 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3973 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3974 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3975 Likewise.
3976 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3977 Likewise.
3978 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3979 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3980 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3981 Likewise.
3982 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3983 Likewise.
3984 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3985 Likewise.
3986 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3987 Likewise.
3988 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3989 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3990 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3991 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3992 * time/test_time.c (main): Likewise.
3993
7b3fb620
AZ
39942019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3995
457208b1
AZ
3996 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3997
30a7e208
AZ
3998 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3999 wmemcpy.
4000
ddf21ec7
AZ
4001 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4002 wmemcpy.
4003
4d801563
AZ
4004 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4005
81a14439
AZ
4006 * include/wchar.h (__wcscpy): New prototype.
4007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
4008 (__wcscpy): Route internal symbol to generic implementation.
4009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
4010 Add internal __wcscpy alias.
4011 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
4012 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
4013 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
4014 * wcsmbs/wcscpy.c (wcscpy): Add
4015 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
4016 use generic implementation.
4017 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
4018
39ef0744
AZ
4019 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
4020 wmemset.
4021
7b3fb620
AZ
4022 * sysdeps/m68k/wcpcpy.c: Remove file.
4023 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4024
e0cb7b61
JM
40252019-02-26 Joseph Myers <joseph@codesourcery.com>
4026
aa0e4663
JM
4027 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4028 than after operators.
4029 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4030 * sysdeps/mach/hurd/getcwd.c
4031 (__hurd_canonicalize_directory_name_internal): Likewise.
4032 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4033 (pthread_mutex_consistent): Likewise.
4034 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4035 Likewise.
4036 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4037 (__pthread_mutex_transfer_np): Likewise.
4038 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4039 (__pthread_mutex_unlock): Likewise.
4040 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4041 (mtx_owned_p): Likewise.
4042 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4043 (pthread_mutexattr_getrobust): Likewise.
4044 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4045 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4046 Likewise.
4047 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4048 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4049 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4050 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4051 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4053 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4054 Likewise.
4055 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4056 Likewise.
4057 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4058 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4059 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4060 (____longjmp_chk): Likewise.
4061 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4062 Likewise.
4063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4064 (INTERNAL_SYSCALL): Likewise.
4065 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4066 (INTERNAL_SYSCALL): Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4068 (__get_clockfreq_via_cpuinfo): Likewise.
4069
e0cb7b61
JM
4070 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4071 comments.
4072 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4073 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4074 (WORD_COPY_BWD): Likewise.
4075 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4077 Likewise.
4078 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4079 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4080 comment.
4081 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4082
a04549c1
JM
40832019-02-25 Joseph Myers <joseph@codesourcery.com>
4084
4085 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4086 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4087 rather than after operators.
4088 * elf/cache.c (print_cache): Likewise.
4089 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4090 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4091 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4092 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4093 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4094 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4095 (reauth_proc): Likewise.
4096 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4097 (__file_name_split_at): Likewise.
4098 (__directory_name_split_at): Likewise.
4099 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4100 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4101 * iconv/gconv_dl.c (do_print): Likewise.
4102 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4103 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4104 * locale/setlocale.c (new_composite_name): Likewise.
4105 * malloc/memusagestat.c (main): Likewise.
4106 * misc/fstab.c (fstab_convert): Likewise.
4107 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4108 Likewise.
4109 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4110 (getgrent_next_file): Likewise.
4111 (internal_getgrnam_r): Likewise.
4112 (internal_getgrgid_r): Likewise.
4113 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4114 Likewise.
4115 (internal_getgrent_r): Likewise.
4116 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4117 (getpwent_next_nss): Likewise.
4118 (getpwent_next_file): Likewise.
4119 (internal_getpwnam_r): Likewise.
4120 (internal_getpwuid_r): Likewise.
4121 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4122 Likewise.
4123 (getspent_next_nss): Likewise.
4124 (internal_getspnam_r): Likewise.
4125 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4126 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4127 * string/strchr.c (STRCHR): Likewise.
4128 * string/strchrnul.c (STRCHRNUL): Likewise.
4129 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4130 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4131 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4132 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4133 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4134 Likewise.
4135 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4136 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4137 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4138 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4139 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4140 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4141 (open_file): Likewise.
4142 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4143 (pthread_mutexattr_setprotocol): Likewise.
4144 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4145 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4146 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4147 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4148 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4149 Likewise.
4150 (elf_machine_rela): Likewise.
4151 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4152 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4153 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4154 * sysdeps/posix/rename.c (rename): Likewise.
4155 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4156 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4157 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4158 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4159 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4160 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4161 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4162 Likewise.
4163 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4164 Likewise.
4165 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4166 * time/tzfile.c (__tzfile_compute): Likewise.
4167
34a5a146
JM
41682019-02-22 Joseph Myers <joseph@codesourcery.com>
4169
4170 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4171 rather than after operators.
4172 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4173 * crypt/md5.c (md5_finish_ctx): Likewise.
4174 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4175 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4176 * elf/cache.c (load_aux_cache): Likewise.
4177 * elf/dl-load.c (open_verify): Likewise.
4178 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4179 * elf/readelflib.c (process_elf_file): Likewise.
4180 * elf/rtld.c (dl_main): Likewise.
4181 * elf/sprof.c (generate_call_graph): Likewise.
4182 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4183 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4184 * hurd/dtable.c (reauth_dtable): Likewise.
4185 * hurd/getdport.c (__getdport): Likewise.
4186 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4187 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4188 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4189 Likewise.
4190 * hurd/hurdioctl.c (fioctl): Likewise.
4191 * hurd/hurdselect.c (_hurd_select): Likewise.
4192 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4193 (STOPSIGS): Likewise.
4194 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4195 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4196 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4197 * hurd/msgportdemux.c (msgport_server): Likewise.
4198 * hurd/setauth.c (_hurd_setauth): Likewise.
4199 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4200 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4201 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4202 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4203 * login/tst-utmp.c (do_check): Likewise.
4204 (simulate_login): Likewise.
4205 * mach/lowlevellock.h (lll_lock): Likewise.
4206 (lll_trylock): Likewise.
4207 * math/test-fenv.c (ALL_EXC): Likewise.
4208 * math/test-fenvinline.c (ALL_EXC): Likewise.
4209 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4210 * nis/nis_call.c (__do_niscall3): Likewise.
4211 * nis/nis_callback.c (cb_prog_1): Likewise.
4212 * nis/nis_defaults.c (searchaccess): Likewise.
4213 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4214 * nis/nis_ismember.c (internal_ismember): Likewise.
4215 * nis/nis_local_names.c (nis_local_principal): Likewise.
4216 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4217 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4218 Likewise.
4219 * nis/ypclnt.c (yp_match): Likewise.
4220 (yp_first): Likewise.
4221 (yp_next): Likewise.
4222 (yp_master): Likewise.
4223 (yp_order): Likewise.
4224 * nscd/hstcache.c (cache_addhst): Likewise.
4225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4226 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4227 (internal_getpwuid_r): Likewise.
4228 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4229 * posix/glob.h (__GLOB_FLAGS): Likewise.
4230 * posix/regcomp.c (peek_token): Likewise.
4231 (peek_token_bracket): Likewise.
4232 (parse_expression): Likewise.
4233 * posix/regexec.c (sift_states_iter_mb): Likewise.
4234 (check_node_accept_bytes): Likewise.
4235 * posix/tst-spawn3.c (do_test): Likewise.
4236 * posix/wordexp-test.c (testit): Likewise.
4237 * posix/wordexp.c (parse_tilde): Likewise.
4238 (exec_comm): Likewise.
4239 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4240 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4241 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4242 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4243 * stdio-common/tst-fileno.c (do_test): Likewise.
4244 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4245 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4246 * stdlib/strtod_l.c (round_and_return): Likewise.
4247 (____STRTOF_INTERNAL): Likewise.
4248 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4249 * string/strcspn.c (STRCSPN): Likewise.
4250 * string/test-memmem.c (simple_memmem): Likewise.
4251 * termios/tcsetattr.c (tcsetattr): Likewise.
4252 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4253 * time/asctime.c (asctime_internal): Likewise.
4254 * time/strptime_l.c (__strptime_internal): Likewise.
4255 * time/sys/time.h (timercmp): Likewise.
4256 * time/tzfile.c (__tzfile_compute): Likewise.
4257
b0b50fe0
PF
42582019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4259
b39d961c
TS
4260 [BZ #21915]
4261 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 4262
f43b8dd5
GG
42632019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4264
4265 * argp/argp-help.c (__argp_error_internal): New function,
4266 renamed from __argp_error, but that takes a 'mode_flags'
4267 parameter to control the format of long double parameters.
4268 (__argp_error): Converted into a call __argp_error_internal.
4269 (__argp_failure_internal): New function, renamed from
4270 __argp_failure, but that takes a 'mode_flags' parameter.
4271 (__argp_failure): Converted into a call __argp_failure_internal.
4272 * misc/err.c (__vwarnx_internal): New function, renamed from
4273 vwarnx, but that takes a 'mode_flags' parameter.
4274 (vwarnx): Converted into a call to __vwarnx_internal.
4275 (__vwarn_internal): New function, renamed from vwarn, but that
4276 takes a 'mode_flags' parameter.
4277 (vwarn): Converted into a call to __vwarn_internal.
4278 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4279 call to __vfxprintf with 'mode_flags'.
4280 (__error_internal): New function, renamed from error, but that
4281 takes a 'mode_flags' parameter.
4282 (error): Converted into a call to __error_internal.
4283 (__error_at_line_internal): New function, renamed from
4284 error_at_line, but that takes a 'mode_flags' parameter.
4285 (error_at_line): Converted into a call to
4286 __error_at_line_internal.
4287 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4288 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4289 Likewise.
4290
dc0afac3 42912019-02-20 Martin Liska <mliska@suse.cz>
4292
4293 * math/Makefile: Install math-vector-fortran.h.
4294 * bits/math-vector-fortran.h: New file.
4295 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4296
4a2dd41c
GG
42972019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4298
4299 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4300 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4301
04de9302
WS
43022019-02-19 Wolfram Sang <wsa@the-dreams.de>
4303
4304 * nptl/pthread_mutex_trylock.c: Fix comment.
4305
b026ce1e
CD
43062019-02-19 Carlos O'Donell <carlos@redhat.com>
4307
4308 * nptl/pthread_tryjoin.c: Fix comment.
4309
8c9289b6
JM
43102019-02-18 Joseph Myers <joseph@codesourcery.com>
4311
4312 [BZ #24231]
4313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4314 after R_SPARC_H34 case.
4315
308e022f
FW
43162019-02-18 Florian Weimer <fweimer@redhat.com>
4317
4318 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4319 (getanswer): Do not call Dprintf.
4320 (res_gethostbyname2_context): Likewise.
4321 (res_gethostbyaddr_context): Likewise.
4322
a5406364
FW
43232019-02-18 Florian Weimer <fweimer@redhat.com>
4324
4325 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4326 declaration.
4327 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4328 Remove definitions.
4329 * libio/stdfiles.c: Update comment.
4330 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4331 set _IO_stdin, _IO_stdout, _IO_stderr.
4332 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4333 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4334 inline function.
4335 (_IO_deallocate_file): New inline function.
4336 * libio/iolibio.h (_IO_vprintf): Remove definition.
4337 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4338 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4339 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4340 _IO_legacy_file.
4341 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4342 __builtin_expect. Use _IO_legacy_file.
4343
6c29942c
SL
43442019-02-18 Stefan Liebler <stli@linux.ibm.com>
4345
4346 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4347 Initialize ctid with a known value and remove update of ctid
4348 after clone.
4349 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4350 as assumed current value of ctid_ptr.
4351
225d9445 43522019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
4353
4354 Check that non-sysdeps headers have wrapper headers.
4355 * scripts/check-wrapper-headers.py: New file.
4356 * Makefile (tests-special): Add check-wrapper-headers.out.
4357 (check-wrapper-headers.out): New target.
4358 * Rules (tests-special): Add check-wrapper-headers.out.
4359 (check-wrapper-headers.out): New target.
4360
225d9445 43612019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
4362
4363 Add missing header wrappers under include/.
4364 * include/ar.h: New file.
4365 * include/bits/mqueue2.h: Likewise.
4366 * include/bits/stdio.h: Likewise.
4367 * include/bits/stdio2.h: Likewise.
4368 * include/fstab.h: Likewise.
4369 * include/fts.h: Likewise.
4370 * include/lastlog.h: Likewise.
4371 * include/netinet/icmp6.h: Likewise.
4372 * include/netinet/igmp.h: Likewise.
4373 * include/netinet/ip6.h: Likewise.
4374 * include/re_comp.h: Likewise.
4375 * include/regexp.h: Likewise.
4376 * include/rpcsvc/bootparam.h: Likewise.
4377 * include/rpcsvc/yp_prot.h: Likewise.
4378 * include/sys/random.h: Likewise.
4379 * include/sys/stropts.h: Likewise.
4380 * include/sys/ttychars.h: Likewise.
4381 * include/sys/vfs.h: Likewise.
4382 * include/wait.h: Likewise.
4383
225d9445 43842019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
4385
4386 * nptl_db/proc_service.h: Move to ...
4387 * sysdeps/nptl/proc_service.h: ... here.
4388 * nptl_db/thread_db.h: Move to ...
4389 * sysdeps/nptl/thread_db.h: ... here.
4390 * nptl/descr.h: Include <thread_db.h>.
4391
e442e40d
AZ
43922019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4393
4394 * io/Makefile (tests): Add tst-lockf.
4395 * io/lockf.c (lockf): Use __fcntl and only define for
4396 !__OFF_T_MATCHES_OFF64_T.
4397 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4398 __OFF_T_MATCHES_OFF64_T case.
4399 * io/tst-lockf.c: New file.
4400 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4401 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4402 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4403 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4404 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4406 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4407 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4408 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4409
bc10e22c
FW
44102019-02-15 Florian Weimer <fweimer@redhat.com>
4411
4412 [BZ #24211]
4413 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4414 pd->result after the thread descriptor has been freed.
4415
365f05c7
JM
44162019-02-15 Joseph Myers <joseph@codesourcery.com>
4417
8a11f970
JM
4418 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4419 from function return type.
4420
365f05c7
JM
4421 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4422
6b5c8607 44232019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
4424
4425 * scripts/test_printers_common.py: Set TERM to a known harmless
4426 value.
4427
712182c8
JM
44282019-02-14 Joseph Myers <joseph@codesourcery.com>
4429
4430 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4431 (xdr_u_int): Likewise.
4432 (xdr_enum): Likewise.
4433 (xdr_bytes): Reword fall-through comment.
4434 (xdr_string): Likewise.
4435
eb76e5b4
AZ
44362019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4437
4438 [BZ #2421]
4439 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4440 (tests): Add tst-join8 tst-join9.
4441 * nptl/lll_timedwait_tid.c: Remove file.
4442 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4443 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4444 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4445 * nptl/pthread_join_common.c (timedwait_tid): New function.
4446 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4447 is set.
4448 * nptl/tst-join5.c (thread_join): New function.
4449 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4450 check.
4451 * nptl/tst-join8.c: New file.
4452 * nptl/tst-join9.c: Likewise.
4453 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4454 lll_futex_timed_wait_cancel): Add generic macros.
4455 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4456 Remove definitions.
4457 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4458 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4459 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4460 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4461 Remove function.
4462 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4463 Likewise.
4464 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4465 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4466 (lll_futex_timed_wait_cancel): New macro.
4467
3904fd85
WD
44682019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4469
4470 * benchtests/Makefile: Add malloc-simple benchmark.
4471 * benchtests/bench-malloc-simple.c: New benchmark.
4472
24ca04fe
SP
44732019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4474
4475 * benchtests/bench-memmove.c (do_one_test): Remove unused
4476 ORIG_SRC.
4477 (do_test): Adjust.
4478 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4479 ORIG_SRC.
4480 (do_test): Adjust.
4481
85bd1ddb
JW
44822019-01-13 Jim Wilson <jimw@sifive.com>
4483
4484 [BZ #24040]
4485 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4486 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4487 (func): New.
4488 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4489 call func directly.
4490 * nptl/Makefile (tests): Add tst-unwind-thread.
4491 (CFLAGS-tst-unwind-thread.c): Define.
4492 * nptl/tst-unwind-thread.c: New file.
4493 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4494 as undefined.
4495
86140c62
JM
44962019-02-13 Joseph Myers <joseph@codesourcery.com>
4497
10756268
JM
4498 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4499 comment wording.
4500 * nis/nis_call.c (__do_niscall3): Likewise.
4501
05383720
JM
4502 * catgets/gencat.c (normalize_line): Use braces around empty
4503 'else' body.
4504 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4505 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4506 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4507 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4508 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4509 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4510 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4511 definition.
4512
86140c62
JM
4513 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4514 execlp returns.
4515
16f87cfd
WD
45162019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4517
4518 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4519 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4520 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4521 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4522 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4523 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4524 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4525 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4526 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4527 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4528 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4529 * benchtests/bench-bcopy.c: Delete file.
4530 * benchtests/bench-bzero.c: Likewise.
4531 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4532 (simple_memccpy): Remove.
4533 (generic_memccpy): Add function.
4534 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4535 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4536 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4537 (generic_mempcpy): Add new function.
4538 * benchtests/bench-memset.c (simple_bzero): Remove.
4539 (builtin_bzero): Remove.
4540 (builtin_memset): Remove.
4541 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4542 (generic_rawmemchr): Add new function.
4543
0c6d82e9
FW
45442019-02-12 Florian Weimer <fweimer@redhat.com>
4545
4546 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4547
b3fbfe81
AZ
45482019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4549
4550 [BZ #24122]
4551 * elf/Makefile (tests): Add tst-audit13.
4552 (modules-names): Add tst-audit13mod1.
4553 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4554 rule.
4555 * elf/tst-audit13.c: New file.
4556 * elf/tst-audit13mod1.c: Likewise.
4557
3b856d09
FW
45582019-02-12 Florian Weimer <fweimer@redhat.com>
4559
4560 [BZ #24122]
4561 * elf/rtld.c (unload_audit_module): New function.
4562 (report_audit_module_load_error): Likewise.
4563 (load_audit_module): Likewise. Extracted from dl_main. Call
4564 _dl_close if the laversion symbol cannot be found. Use early
4565 returns for error handling. Add malloc error check. Check for a
4566 zero return value from la_version. Remove spurious comment about
4567 static TLS initialization. Remove useless casts.
4568 (notify_audit_modules_of_loaded_object): New function. Extracted
4569 from dl_main.
4570 (load_audit_module): Likewise.
4571 (dl_main): Call load_audit_modules.
4572
32db86d5
JM
45732019-02-12 Joseph Myers <joseph@codesourcery.com>
4574
4575 * elf/dl-exception.c (_dl_exception_create_format): Add
4576 fall-through comments.
4577 * elf/ldconfig.c (parse_conf_include): Likewise.
4578 * elf/rtld.c (print_statistics): Likewise.
4579 * locale/programs/charmap.c (parse_charmap): Likewise.
4580 * misc/mntent_r.c (__getmntent_r): Likewise.
4581 * posix/wordexp.c (parse_arith): Likewise.
4582 (parse_backtick): Likewise.
4583 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4584 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4586
a51bc4fe
PC
45872019-02-11 Paul A. Clarke <pc@us.ibm.com>
4588
4589 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4590 Use float instead of double.
4591
fb25b135
TS
45922019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4593
4594 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4595
32ea7299
JM
45962019-02-08 Joseph Myers <joseph@codesourcery.com>
4597
4598 * sysdeps/powerpc/bits/mathinline.h: Remove.
4599
eef4d4f8
FW
46002019-02-08 Florian Weimer <fweimer@redhat.com>
4601
4602 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4603 * math/bits/math-finite.h: Move to ...
4604 * bits/math-finite.h: ... here.
4605
fdfbd47d
FW
46062019-02-08 Florian Weimer <fweimer@redhat.com>
4607
4608 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4609 * bits/unistd_ext.h: here.
4610
11eb21c4
PF
46112019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4612
4613 [BZ #21915]
4614 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4615 * nss/tst-nss-files-hosts-long.c: New file.
4616 * nss/tst-nss-files-hosts-long.root: New directory.
4617 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4618 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4619
e47d82c9
FW
46202019-02-08 Florian Weimer <fweimer@redhat.com>
4621
4622 * include/bits/unistd_ext.h: Remove file.
4623 * posix/bits/unistd_ext.h: Move to ...
4624 * sysdeps/generic/bits/unistd_ext.h: ... here.
4625
8f89ab21
FW
46262019-02-08 Florian Weimer <fweimer@redhat.com>
4627
4628 * include/bits/unistd_ext.h: New file.
4629
144a794e
TS
46302019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4631
4632 * time/tst-strftime2.c: Use array_length macros instead of magic
4633 numbers.
4634
669ff911
FW
46352019-02-08 Florian Weimer <fweimer@redhat.com>
4636
4637 [BZ #24161]
4638 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4639 argument.
4640 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4641 locking if the new do_locking argument is true.
4642 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4643 __run_fork_handlers.
4644
d0bd87d4 46452019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
4646
4647 [BZ #6399]
4648 Linux: Add gettid system call wrapper.
4649 * posix/Makefile (headers): Add bits/unistd_ext.h.
4650 * posix/bits/unistd_ext.h: New file.
4651 * posix/unistd.h: Include it.
4652 * manual/process.texi (Process Identification): Document gettid.
4653 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4654 tst-gettid, tst-gettid-kill.
4655 (tst-gettid): Link with $(shared-thread-library).
4656 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4657 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4658 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4659 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4660 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4661 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4662 Add gettid.
4663 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4664 Likewise.
4665 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4666 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4667 Likewise.
4668 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4669 Likewise.
4670 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4671 Likewise.
4672 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4673 Likewise.
4674 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4675 Likewise.
4676 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4677 Likewise.
4678 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4679 Likewise.
4680 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4681 (GLIBC_2.30): Likewise.
4682 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4683 (GLIBC_2.30): Likewise.
4684 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4685 (GLIBC_2.30): Likewise.
4686 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4687 (GLIBC_2.30): Likewise.
4688 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4689 Likewise.
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4691 (GLIBC_2.30): Likewise.
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4693 (GLIBC_2.30): Likewise.
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4695 (GLIBC_2.30): Likewise.
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4697 (GLIBC_2.30): Likewise.
4698 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4699 Likewise.
4700 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4701 Likewise.
4702 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4703 Likewise.
4704 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4706 Likewise.
4707 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4708 Likewise.
4709 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4710 Likewise.
4711 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4712 Likewise.
4713 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4714
225d9445 47152019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
4716
4717 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4718 compatibility symbols.
4719
823624bd
SL
47202019-02-07 Stefan Liebler <stli@linux.ibm.com>
4721
4722 [BZ #24180]
4723 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4724 Add compiler barriers and comments.
4725
8311c83f
FW
47262019-02-07 Florian Weimer <fweimer@redhat.com>
4727
4728 * include/array_length.h (array_length): Do not use a statement
4729 expression and _Static_assert, so that array_length can be used at
4730 file scope and as a constant expression.
4731
94b63e66
FW
47322019-02-07 Florian Weimer <fweimer@redhat.com>
4733
4734 * support/xdlfcn.h (xdlmopen): Declare.
4735 * support/xdlmopen.c: New file.
4736 * support/Makefile (libsupport-routines): Add xdlmopen.
4737
c2d8f0b7
JM
47382019-02-06 Joseph Myers <joseph@codesourcery.com>
4739
4740 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4741 before return type, without separate inline.
4742 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4743 * elf/dl-tunables.h (tunable_is_name): Likewise.
4744 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4745 (do_set_top_pad): Likewise.
4746 (do_set_mmap_threshold): Likewise.
4747 (do_set_mmaps_max): Likewise.
4748 (do_set_mallopt_check): Likewise.
4749 (do_set_perturb_byte): Likewise.
4750 (do_set_arena_test): Likewise.
4751 (do_set_arena_max): Likewise.
4752 (do_set_tcache_max): Likewise.
4753 (do_set_tcache_count): Likewise.
4754 (do_set_tcache_unsorted_limit): Likewise.
4755 * nis/nis_subr.c (count_dots): Likewise.
4756 * nptl/allocatestack.c (advise_stack_range): Likewise.
4757 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4758 (do_sin): Likewise.
4759 (reduce_sincos): Likewise.
4760 (do_sincos): Likewise.
4761 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4762 (do_set_elision_enable): Likewise.
4763 (TUNABLE_CALLBACK_FNDECL): Likewise.
4764
3b935595
FW
47652019-02-06 Florian Weimer <fweimer@redhat.com>
4766
4767 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4768 (xdlsym): Use dlerror to detect a NULL symbol.
4769
b4333340
FW
47702019-02-06 Florian Weimer <fweimer@redhat.com>
4771
4772 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4773 <stap-probe.h>.
4774 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4775
b6d8a999
SL
47762019-02-06 Stefan Liebler <stli@linux.ibm.com>
4777
4778 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4779
94eeeec0
SL
47802019-02-06 Stefan Liebler <stli@linux.ibm.com>
4781
4782 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4783 __wmemcmp and weak alias to wmemcmp.
4784
bc79db3f
SL
47852019-02-06 Stefan Liebler <stli@linux.ibm.com>
4786
4787 [BZ #23403]
4788 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4789 TLS_TCB_AT_TP tls variant.
4790 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4791 Add alignment checks.
4792 * support/Makefile (libsupport-routines): Add xposix_memalign and
4793 xpthread_setstack.
4794 * support/support.h: Add xposix_memalign.
4795 * support/xthread.h: Add xpthread_attr_setstack.
4796 * support/xposix_memalign.c: New File.
4797 * support/xpthread_attr_setstack.c: Likewise.
4798
f1ac7455
FW
47992019-02-05 Florian Weimer <fweimer@redhat.com>
4800
4801 [BZ #24164]
4802 arm: Use "nr" constraint for Systemtap probes, to avoid the
4803 compiler using memory operands for constants, due to the "o"
4804 alternative in the default "nor" constraint.
4805 * include/stap-probe.h [USE_STAP_PROBE]: Include
4806 <stap-probe-machine.h>
4807 * sysdeps/generic/stap-probe-machine.h: New file.
4808 * sysdeps/arm/stap-probe-machine.h: Likewise.
4809
7a0dcfc6
JM
48102019-02-04 Joseph Myers <joseph@codesourcery.com>
4811
77dc0d86
JM
4812 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4813 with 0, not tcache->entries[tc_idx].
4814
7a0dcfc6
JM
4815 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4816 once.
4817
65f7767a
AS
48182019-02-04 Andreas Schwab <schwab@suse.de>
4819
4820 [BZ #16976]
4821 [BZ #17396]
4822 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4823 looking up collating elements match against (wide) character
4824 sequence instead of name. Correct alignment adjustment.
4825 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4826 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4827 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4828 (LOCALES): Add cs_CZ.ISO-8859-2.
4829 * posix/tst-fnmatch4.c: New file.
4830 * posix/tst-fnmatch5.c: New file.
4831 * include/wchar.h (__wmemcmp): Declare.
4832 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4833 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4834 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4835 * sysdeps/s390/wmemcmp.c: Likewise.
4836
3f635fb4
L
48372019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 [BZ #24155]
4840 CVE-2019-7309
4841 * NEWS: Updated for CVE-2019-7309.
4842 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4843 upper 32 bits of RDX register for x32. Use unsigned Jcc
4844 instructions, instead of signed.
4845 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4846 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4847
2ab5741b
FW
48482019-02-04 Florian Weimer <fweimer@redhat.com>
4849
4850 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4851 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4852 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4853 Likewise.
4854 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4855 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4856 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4857 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4858 Likewise.
4859 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4860 Likewise.
4861 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4862 Likewise.
4863 (posix_spawn_file_actions_addopen): Likewise.
4864 (posix_spawn_file_actions_addclose): Likewise.
4865 (posix_spawn_file_actions_adddup2): Likewise.
4866 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4867 qualifiers.
4868 (posix_spawn_file_actions_addfchdir_np): Likewise.
4869
8692ebdb
DN
48702019-02-04 David Newall <glibc@davidnewall.com>
4871
4872 elf: Implement --preload option for the dynamic linker.
4873 * elf/rtld.c (preloadarg): New variable.
4874 (handle_preload_list): Pass through “where” argument to
4875 do_preload.
4876 (dl_main): Handle "--preload" and add second call to
4877 handle_preload_list.
4878 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4879 (tst-rtld-preload-OBJS): Set variable.
4880 (tst-rtld-preload.out): New target.
4881 * elf/tst-rtld-preload.sh: New file.
4882
5e10136b
MM
48832019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4884
4885 * Makefile (testrun.sh): Exit in case of incorrect argument.
4886
221baae0
FW
48872019-02-04 Florian Weimer <fweimer@redhat.com>
4888
4889 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4890 alignment gaps.
4891
b8c72381
FW
48922019-02-03 Florian Weimer <fweimer@redhat.com>
4893
4894 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4895 implicit overflow checks.
4896
11f382ee
AJ
48972019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4898
4899 * stdlib/isomac.c: Include <unistd.h>.
4900
77c7d55e
FW
49012019-02-03 Florian Weimer <fweimer@redhat.com>
4902
4903 * include/time.h (__tzfile_default): Use int, not long int, for
4904 the GMT offsets.
4905 * time/tzfile.c (struct ttinfo): Change type of the offset member
4906 to int.
4907 (__tzfile_read): Remove useless cast.
4908 (__tzfile_default): Adjust prototype.
4909 * time/tzset.c (tz_rule): Change type of the offset member to int.
4910 (parse_offset): Change the type of the sign variable to int.
4911
ee9941f9
FW
49122019-02-03 Florian Weimer <fweimer@redhat.com>
4913
4914 [BZ #24153]
4915 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4916 * libio/getchar.c (getchar): Likewise.
4917 * libio/getchar_u.c (getchar_unlocked): Likewise.
4918 * libio/getwchar.c (getwchar): Likewise.
4919 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4920 * libio/iogets.c (_IO_gets): Likewise.
4921 * libio/vscanf.c (_IO_vscanf): Likewise.
4922 * libio/vwscanf.c (__vwscanf): Likewise.
4923 * libio/tst-bz24153.c: New file.
4924 * libio/Makefile (tests): Add it.
4925
c70824b9
FW
49262019-02-02 Florian Weimer <fweimer@redhat.com>
4927
4928 [BZ #14829]
4929 * manual/resource.texi (Basic Scheduling Functions): Add
4930 portability note. Change process to task throughout the section.
4931 Remove incorrect comment about sched_yield as it affects
4932 tasks/threads, not entire processes.
4933 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4934 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4935
4dcbbc3b
JM
49362019-02-01 Joseph Myers <joseph@codesourcery.com>
4937
4938 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4939 * configure: Regenerated.
4940 * manual/install.texi (Tools for Compilation): Update minimum GCC
4941 version.
4942 * INSTALL: Regenerated.
4943
6175507c
FW
49442019-02-01 Florian Weimer <fweimer@redhat.com>
4945
4946 * support/support_test_compare_string.c
4947 (support_test_compare_string): Use "string" in error message.
4948 * support/tst-test_compare_string.c (do_test): Adjust.
4949
baef1943
FW
49502019-02-01 Florian Weimer <fweimer@redhat.com>
4951
4952 * support/support_format_address_family.c
4953 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4954
395599f0
FW
49552019-02-01 Florian Weimer <fweimer@redhat.com>
4956
4957 * manual/socket.texi (Internet Address Formats): Clarify the byte
4958 order of struct sockaddr_in, struct sockaddr_in6. Document
4959 sin6_flowinfo and sin6_scope_id.
4960
b06f4c00
WD
49612019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4962
4963 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4964 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4965 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4966 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4967 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4968 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4969
83d1cc42
FX
49702019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4971
4972 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4973 [!MEMCHR](MEMCHR): Set to __memchr.
4974 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4975 Add memchr_generic and memchr_nosimd.
4976 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4977 (__libc_ifunc_impl_list): Add memchr ifuncs.
4978 * sysdeps/aarch64/multiarch/memchr.c: New file.
4979 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4980 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4981
c7d3890f
FX
49822019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4983
4984 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4985 Add memset_emag.
4986 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4987 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4988 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4989 Add IS_EMAG check for ifunc dispatch.
4990 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4991 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4992
07c3d1ec
FX
49932019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4994
4995 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4996 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4997 Add emag.
4998 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4999 New macro.
5000
114f792e
SL
50012019-02-01 Stefan Liebler <stli@linux.ibm.com>
5002
5003 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
5004
d5627550
VG
50052019-01-31 Vineet Gupta <vgupta@synopsys.com>
5006
5007 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
5008 syscall-template file.
5009
5fc9ed4c
CD
50102019-01-31 Carlos O'Donell <carlos@redhat.com>
5011 Torvald Riegel <triegel@redhat.com>
5012 Rik Prohaska <prohaska7@gmail.com>
5013
5014 [BZ# 23844]
5015 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
5016 tst-rwlock-trywrlock-stall.
5017 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5018 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
5019 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
5020 Set __wrphase_fute to 1 only if we started the write phase.
5021 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
5022 * nptl/tst-rwlock-trywrlock-stall.c: New file.
5023 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
5024 * support/xpthread_rwlock_destroy.c: New file.
5025 * support/xthread.h: Declare xpthread_rwlock_destroy.
5026
932329a5
JM
50272019-02-01 Joseph Myers <joseph@codesourcery.com>
5028
5029 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5030 version to 4.0.2.
5031
5f10701f
PP
50322019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5033
5034 [BZ #24051]
5035 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5036 * libio/fileops.c (_IO_new_file_underflow): Likewise
5037 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5038 * libio/putchar.c (putchar): Likewise.
5039 * libio/putchar_u.c (putchar_unlocked): Likewise.
5040 * libio/putwchar.c (putchar): Likewise.
5041 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5042 * libio/tst-bz24051.c: New test.
5043 * libio/Makefile (tests): Add tst-bz24051
5044
583dd860
PE
50452019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5046
b626c5aa 5047 CVE-2019-9169
583dd860
PE
5048 regex: fix read overrun [BZ #24114]
5049 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5050 https://debbugs.gnu.org/34140
5051 * posix/regexec.c (proceed_next_node):
5052 Do not read past end of input buffer.
5053
2bac7daa
FW
50542019-01-31 Florian Weimer <fweimer@redhat.com>
5055
5056 [BZ #24059]
5057 * nss/nss_files/files-alias.c (get_next_alias): Handle
5058 continuation line without newline at the end.
5059 * nss/tst-nss-files-alias-truncated.c: New file.
5060 * nss/Makefile [$(build-shared)] (tests): Add
5061 tst-nss-files-alias-truncated.
5062 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5063 * support/namespace.h (struct support_chroot_configuration): Add
5064 aliases member.
5065 (struct support_chroot): Add path_aliases member.
5066 * support/support_chroot.c (support_chroot_create): Handle
5067 aliases.
5068 (support_chroot_free): Free path_aliases.
5069
330c9d0d
SP
50702019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5071
de44ab67
SP
5072 * version.h (RELEASE): Set to "development".
5073 (VERSION): Set to "2.29.9000".
5074 * NEWS: Add section for 2.30.
5075
56c86f5d
SP
5076 * version.h (RELEASE): Set to "stable".
5077 (VERSION): Set to "2.29".
5078 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5079
330c9d0d
SP
5080 * NEWS: Add the list of bugs fixed in 2.29.
5081 * manual/contrib.texi: Update contributors list with some more
5082 names.
5083 * manual/install.texi: Update latest versions of packages
5084 tested.
5085 * INSTALL: Regenerated.
5086
e1e47c91
SP
50872019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5088
5089 * po/be.po: Update translations.
5090 * po/bg.po: Likewise.
5091 * po/ca.po: Likewise.
5092 * po/cs.po: Likewise.
5093 * po/da.po: Likewise.
5094 * po/de.po: Likewise.
5095 * po/el.po: Likewise.
5096 * po/eo.po: Likewise.
5097 * po/es.po: Likewise.
5098 * po/fi.po: Likewise.
5099 * po/fr.po: Likewise.
5100 * po/gl.po: Likewise.
5101 * po/hr.po: Likewise.
5102 * po/hu.po: Likewise.
5103 * po/ia.po: Likewise.
5104 * po/id.po: Likewise.
5105 * po/it.po: Likewise.
5106 * po/ja.po: Likewise.
5107 * po/ko.po: Likewise.
5108 * po/lt.po: Likewise.
5109 * po/nb.po: Likewise.
5110 * po/nl.po: Likewise.
5111 * po/pl.po: Likewise.
5112 * po/pt_BR.po: Likewise.
5113 * po/ru.po: Likewise.
5114 * po/rw.po: Likewise.
5115 * po/sk.po: Likewise.
5116 * po/sl.po: Likewise.
5117 * po/sv.po: Likewise.
5118 * po/tr.po: Likewise.
5119 * po/uk.po: Likewise.
5120 * po/vi.po: Likewise.
5121 * po/zh_CN.po: Likewise.
5122 * po/zh_TW.po: Likewise.
5123
8d016826
UB
51242019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5125
5126 [BZ #24130]
5127 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5128 of $f3 register on $y_is_neg path.
5129
a0bb5abd
ST
51302019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5131
b96e22d0 5132 [BZ #24110]
a0bb5abd
ST
5133 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5134 sigaltstack.ss_flags.
5135
b22eed37
TS
51362019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5137
5138 [BZ #23758]
5139 * manual/time.texi (strftime): Document "%Ey".
5140 * time/strftime_l.c (__strftime_internal): Set the default width
5141 padding with zero of "%Ey" to 2.
5142
32f600a2
TS
5143 [BZ #24096]
5144 * manual/time.texi (strftime): Document "%EC" and "%EY".
5145 * time/Makefile (tests): Add tst-strftime2.
5146 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5147 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5148 override padding for "%Ey".
5149 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5150 "%Ey" in the subformat as if decorated with that flag.
5151 * time/tst-strftime2.c: New file.
5152
8e889c5d
AZ
51532019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5154
3367acdb
AZ
5155 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5156 are not defined.
5157
8e889c5d
AZ
5158 [BZ #24122]
5159 * elf/Makefile (tests): Add tst-audit13.
5160 (modules-names): Add tst-audit13mod1.
5161 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5162 rule.
5163 * elf/rtld.c (dl_main): Handle invalid audit module version.
5164 * elf/tst-audit13.c: New file.
5165 * elf/tst-audit13mod1.c: Likewise.
5166
a95dc01c
ST
51672019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5168
5169 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5170 returned by __hurd_at_flags.
ee4d7902
ST
5171 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5172 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5173 directly instead of __hurd_file_name_lookup.
a95dc01c 5174
712f1167
JM
51752019-01-21 Joseph Myers <joseph@codesourcery.com>
5176
5177 * scripts/build-many-glibcs.py (Context.checkout): Default
5178 binutils version to 2.32 branch.
5179
108bc404
FW
51802019-01-21 Florian Weimer <fweimer@redhat.com>
5181
5182 [BZ #20018]
5183 CVE-2016-10739
5184 resolv: Reject trailing characters in host names
5185 * include/arpa/inet.h (__inet_aton_exact): Declare.
5186 (inet_aton): Remove hidden prototype. No longer used internally.
5187 * nscd/gai.c (__inet_aton): Do not define.
5188 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5189 * nss/digits_dots.c (__inet_aton): Likewise.
5190 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5191 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5192 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5193 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5194 (tst-resolv-trailing): Likewise.
5195 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5196 libc.
5197 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5198 Make static. Add endp parameter.
5199 (__inet_aton_exact): New function.
5200 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5201 (__inet_addr): Call inet_aton_end.
5202 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5203 not just IPv6. Call __inet_aton_exact.
5204 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5205 (tests): Make const. Add additional test cases with trailing
5206 characters.
5207 (do_test): Use array_length.
5208 * resolv/tst-inet_aton_exact.c: New file.
5209 * resolv/tst-resolv-trailing.c: Likewise.
5210 * resolv/tst-resolv-nondecimal.c: Likewise.
5211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5212
5165de69
L
52132019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5214
5215 [BZ# 24097]
5216 CVE-2019-6488
5217 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5218 Clear the upper 32 bits of RSI register.
5219 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5220 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5221 and tst-size_t-wcsnlen.
5222 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5223 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5224
c7c54f65
L
52252019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5226
5227 [BZ# 24097]
5228 CVE-2019-6488
5229 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5232 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5233 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5234
ee915088
L
52352019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5236
5237 [BZ# 24097]
5238 CVE-2019-6488
5239 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5241 * sysdeps/x86_64/strcmp.S: Likewise.
5242 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5243 tst-size_t-strncmp and tst-size_t-wcsncmp.
5244 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5245 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5246 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5247
82d0b4a4
L
52482019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5249
5250 [BZ# 24097]
5251 CVE-2019-6488
5252 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5253 RDX_LP for length. Clear the upper 32 bits of RDX register.
5254 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5255 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5256 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5257 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5258
ecd8b842
L
52592019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5260
5261 [BZ# 24097]
5262 CVE-2019-6488
5263 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5264 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5265 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5266 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5267
231c5676
L
52682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5269
5270 [BZ# 24097]
5271 CVE-2019-6488
5272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5273 length. Clear the upper 32 bits of RDX register.
5274 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5275 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5276 Likewise.
5277 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5278 Likewise.
5279 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5280 tst-size_t-wmemchr.
5281 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5282
b304fc20
L
52832019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5284
5285 [BZ# 24097]
5286 CVE-2019-6488
5287 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5288 length. Clear the upper 32 bits of RDX register.
5289 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5290 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5291 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5292 tst-size_t-wmemcmp.
5293 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5294 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5295
97700a34
L
52962019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5297
5298 [BZ# 24097]
5299 CVE-2019-6488
5300 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5301 upper 32 bits of RDX register.
5302 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5303 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5304 tst-size_t-wmemchr.
5305 * sysdeps/x86_64/x32/test-size_t.h: New file.
5306 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5307 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5308
6ca53a24
FW
53092019-01-18 Florian Weimer <fweimer@redhat.com>
5310
5311 [BZ #24112]
5312 resolv: Do not send queries for non-host-names in nss_dns.
5313 * resolv/nss_dns/dns-host.c (check_name): New function.
5314 (_nss_dns_gethostbyname2_r): Use it.
5315 (_nss_dns_gethostbyname_r): Likewise.
5316 (_nss_dns_gethostbyname4_r): Likewise.
5317
5e30b8ef
FW
53182019-01-21 Florian Weimer <fweimer@redhat.com>
5319
5320 * resolv/inet_addr.c: Reformat to GNU style.
5321 (__inet_addr, __inet_aton): Update comment.
5322
71effcea
FW
53232019-01-18 Florian Weimer <fweimer@redhat.com>
5324
5325 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5326 ("malloc: Use current (C11-style) atomics for fastbin access").
5327 This commit introduces a substantial performance regression on
5328 POWER and Aarch64.
5329 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5330 (REMOVE_FB): Define.
5331 (_int_malloc): Use it and reindent.
5332 (_int_free): Use CAS loop with
5333 catomic_compare_and_exchange_val_rel.
5334 (malloc_consolidate): Use atomic_exchange_acq.
5335
5336
562f4362
L
53372019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5338
5339 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5340 -Wl,-z,now.
5341 (LDFLAGS-tst-minsigstksz-2): Likewise.
5342 (LDFLAGS-tst-minsigstksz-3): Likewise.
5343 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5344 (LDFLAGS-tst-minsigstksz-4): Likewise.
5345
80dfa298
TS
53462019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5347
5348 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5349 than "alternate".
5350
008b598e
PC
53512019-01-16 Paul A. Clarke <pc@us.ibm.com>
5352
5353 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5354
fbbc9a4e
ZW
53552019-01-16 Zack Weinberg <zackw@panix.com>
5356
6b5c8607
TS
5357 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5358 (xget_sigstack_location): New test support functions.
5359 * support/xsigstack.c: New file, implementing them.
5360 * support/tst-xsigstack.c: New test for them.
5361 * support/Makefile: Update.
fbbc9a4e 5362
6b5c8607
TS
5363 * signal/tst-minsigstksz-1.c
5364 * signal/tst-minsigstksz-2.c
5365 * signal/tst-minsigstksz-3.c
5366 * signal/tst-minsigstksz-3a.c
5367 * signal/tst-minsigstksz-4.c: New tests.
5368 * signal/Makefile: Run them.
fbbc9a4e 5369
5f1135e4
SP
53702019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5371
5372 * po/libc.pot: Regenerate.
5373
ecdacd34
TMQMF
53742019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5375
5376 * math/libm-test-fma.inc (fma_test_data): Set
5377 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5378
56054664
RA
53792019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5380
5381 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5382 (do_test): Changed __vector __int128_t to __vector unsigned int.
5383
1a153e47
LS
53842019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5385
5386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5387 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5388 stpcpy-avx2 and stpncpy-avx2.
5389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5390 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5391 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5392 and __stpncpy_avx2.
5393 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5394 ifunc-strcpy.h}: rename header for a more generic name.
5395 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5396 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5397 AVX unaligned load is fast and vzeroupper is preferred.
5398 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5399 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5400 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5401 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5402 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5403 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5404
a1b02ae7
DL
54052019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5406
5407 * argp/argp-help.c: Fix typo in comment.
5408 * misc/sys/cdefs.h: Likewise.
5409 * posix/regexec.c (sift_states_iter_mb): Likewise.
5410 * socket/sockatmark.c: Likewise.
5411 * socket/sys/socket.h: Likewise.
5412 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5413 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5414 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5416 * sysdeps/unix/sockatmark.c: Likewise.
5417 * time/strptime_l.c: Likewise.
5418
5cbbf01e
TS
54192019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5420
5421 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5422 missing space after the cast of "_NL_CURRENT".
5423
0bc9bdf1
RA
54242019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5425
5426 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5427 ifdef to fix read of VSCR.
5428 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5429 tst-ucontext-ppc64-vscr.c to test list.
5430 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5431
5494af04
AH
54322019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5433
5434 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5435 fall-through.
5436
e17f63ff
JW
54372019-01-09 Jim Wilson <jimw@sifive.com>
5438
5439 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5440
02f440c1
WD
54412019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5442
5443 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5444 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5445 __memcpy_falkor for ares.
5446 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5447 Add new define.
5448 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5449 Add ares cpu.
5450
69da3c9e
L
54512019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5452
5453 [BZ #24066]
5454 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5455 4_FP_W_TYPEs are used for IEEE quad precision.
5456 * soft-fp/extendhftf2.c: Likewise.
5457 * soft-fp/extendsftf2.c: Likewise.
5458 * soft-fp/extendxftf2.c: Likewise.
5459 * soft-fp/trunctfdf2.c: Likewise.
5460 * soft-fp/trunctfhf2.c: Likewise.
5461 * soft-fp/trunctfsf2.c: Likewise.
5462 * soft-fp/trunctfxf2.c: Likewise.
5463 * sysdeps/alpha/ots_cvttx.c: Likewise.
5464 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5465 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5466 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5467 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5468 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5469 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5470 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5471 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5472 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5473 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5474 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5475 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5476 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5477 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5478 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5479 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5480 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5481
2ef42716
AJ
54822019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5483
5484 [BZ #24024]
5485 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5486 code with -fmath-errno.
5487 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5488 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5489 * string/test-strerror-errno.c: New file.
5490
7395f3a0
AJ
54912019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5492
5493 [BZ #24046]
5494 * localedata/locales/en_US (date_fmt): Add, set to
5495 "%a %d %b %Y %r %Z".
5496
010fe231
FW
54972019-01-07 Florian Weimer <fweimer@redhat.com>
5498
5499 [BZ #24063]
5500 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5501 instead of @var{errno}.
5502 (Parsing of Integers): Likewise.
5503 (Parsing of Floats): Likewise.
5504 * manual/filesys.texi (Working with Directory Trees): Likewise.
5505 (Temporary Files): Likewise.
5506 * manual/job.texi (Terminal Access Functions): Likewise.
5507 * manual/llio.texi (Synchronizing I/O): Likewise.
5508 * manual/math.texi (SVID Random): Likewise.
5509 * manual/message.texi (The catgets Functions): Likewise.
5510 (Translation with gettext): Likewise.
5511 (Locating gettext catalog): Likewise.
5512 (Charset conversion in gettext): Likewise.
5513 * manual/nss.texi (NSS Module Function Internals): Likewise.
5514 * manual/search.texi (Hash Search Function): Likewise.
5515 * manual/setjmp.texi (System V contexts): Likewise.
5516 * manual/time.texi (Sleeping): Likewise.
5517 * manual/users.texi (Lookup User): Likewise.
5518 (Lookup Group): Likewise.
5519
b79dc8d0
AZ
55202019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5521
5522 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5523 fix typo.
5524
890461fe 55252019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
5526
5527 [BZ #19444]
5528 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5529 __builtin_unreachable for default case in switch.
5530 (__ieee754_yn): Likewise.
5531 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5532 (__ieee754_ynl): Likewise.
5533 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5534 (__ieee754_ynl): Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5536 (__ieee754_ynl): Likewise.
5537
8b18d418
SN
55382019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5539
5540 * manual/maint.texi: Use @{ and @}.
5541
4392898d
FW
55422019-01-04 Florian Weimer <fweimer@redhat.com>
5543
5544 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5545 function.
5546 (do_in_chroot_1): Call it.
5547 (run_chroot_tests):
5548 Improve error reporting in case it is not possible to create a
5549 collision for the PTY name required by the test.
5550
17cc27d5
AZ
55512019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5552
ce7eb0e9
AZ
5553 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5554 lll_wait_tid with timeout.
5555 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5556 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5557 futex_reltimed_wait_cancelable for cancelabla mode.
5558 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5559 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5560 macros.
5561 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5562 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5563 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5564 SYSCALL_CANCEL_NCS): New macro.
5565 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5566 (lll_timedwait_tid): Remove macro.
5567 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5568 Likewise.
5569 (lll_timedwait_tid): Likewise.
5570 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5571 Likewise.
5572 (lll_timedwait_tid): Likewise.
5573 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5574 Likewise.
5575 (lll_timedwait_tid): Likewise.
5576 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5577 Use INTERNAL_SYSCALL_CANCEL.
5578 * sysdeps/unix/sysv/linux/futex-internal.h
5579 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5580 instead of __pthread_{enable,disable}_asynccancel.
5581 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5582 (lll_futex_wait_cancel): New macro.
5583
0b13e255
AZ
5584 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5585 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5586
85c828a4
AZ
5587 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5588 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5589
d0d7f85f
AZ
5590 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5591 in backtrace analysis.
5592 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5593 side-effects.
5594 (tf_send): Likewise.
5595
17cc27d5
AZ
5596 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5597 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5598 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5599 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5600 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5601 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5602 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5603 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5604 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5605 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5606 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5607 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5608 Likewise.
5609 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5610 tst-cancel-wrappers.sh.
5611 (generated): Remove tst-cancel-wrappers.out.
5612 (tst-cancel-wrappers.out): Remove rule.
5613 * nptl/tst-cancel-wrappers.sh: Remove file.
5614
7d7af8f1
SN
56152019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5616
5617 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5618 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5619 Update.
5620
805334b2
AZ
56212019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5622
5623 [BZ #23640]
5624 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5625 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5626 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5627 close-on-exec reset for adddup2 file action.
5628 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5629
03992356
ZW
56302019-01-03 Zack Weinberg <zackw@panix.com>
5631
5632 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5633 parameter. Only use deprecated scanf when __USE_GNU is defined
5634 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5635 than 201103L, whichever is relevant for the language being compiled.
5636
5637 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5638 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5639 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5640 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5641 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5642
5643 * libio/iovsscanf.c
5644 * libio/fwscanf.c
5645 * libio/iovswscanf.c
5646 * libio/swscanf.c
5647 * libio/vscanf.c
5648 * libio/vwscanf.c
5649 * libio/wscanf.c
5650 * stdio-common/fscanf.c
5651 * stdio-common/scanf.c
5652 * stdio-common/vfscanf.c
5653 * stdio-common/vfwscanf.c
5654 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5655 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5656 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5657 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5658 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5659 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5660 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5661 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5662 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5663 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5664 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5665 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5666 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5667 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5668 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5669
5670 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5671 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5672 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5673 not sscanf.
5674 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5675 with a preprocessor macro.
5676
5677 * stdio-common/bug21.c, stdio-common/scanf14.c:
5678 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5679 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5680 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5681 to xscanf, xfscanf, xsscanf.
5682
5683 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5684 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5685 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5686 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5687 xfscanf, xsscanf.
5688 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5689 override feature selection macros or provide definitions of u_char etc.
5690 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5691 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5692 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5693 with -std=gnu89.
5694
8083afa5
AZ
56952019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5696
6f343c1f
AZ
5697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5698 bits/termios-misc.h.
5699 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5700 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5702 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5703 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5704 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5705
51f4beb0
AZ
5706 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5707 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5708 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5709 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5710 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5711 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5712 termios-misc.h.
5713 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5714 (sysdep_headers): Add termios-misc.h.
5715
f69c5cb2
AZ
5716 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5717 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5718 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5719
3aa4a07e
AZ
5720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5721 termios-tcflow.h.
5722 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5723 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5724 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5725 TCSAFLUSH): Move to termios-tcflow.h.
5726 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5727 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5728 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5729 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5730
22679ddf
AZ
5731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5732 termios-c_lflag.h.
5733 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5734 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5735 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5736 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5737 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5738 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5739 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5740 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5741 Likewise.
5742 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5743 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5745 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5746
72eb6ecc
AZ
5747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5748 termios-c_cflag.h.
5749 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5750 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5751 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5752 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5753 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5754 termios-c_cflag.h.
5755 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5756 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5757 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5758 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5759
9c5d0d02
AZ
5760 [BZ #23783]
5761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5762 termios-baud.h.
5763 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5764 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5765 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5766 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5767 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5768 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5769 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5770 __MAX_BAUD): Move to termios-baud.h.
5771 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5772 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5773 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5775 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5776
7b832018
AZ
5777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5778 termios-c_oflag.h.
5779 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5780 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5781 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5782 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5783 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5784 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5785 termios-c_oflag.h.
5786 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5787 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5788 FFR1): Likewise.
5789 [USE_MISC] (XTABS): Likewise.
5790 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5791 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5792 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5793 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5794
3127003e
AZ
5795 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5796 termios-c_iflag.h.
5797 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5798 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5799 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5800 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5801 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5802 IUTF8): Move to termios-c_iflag.h.
5803 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5804 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5805 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5806 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5807
48c1dd96
AZ
5808 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5809 termios-cc.h.
5810 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5811 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5812 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5813 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5814 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5815 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5816 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5817 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5818 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5819 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5821 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5822
e5a50db3
AZ
5823 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5824 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5825 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5826 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5828 termios-struct.h.
5829 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5830 termios-struct.h.
5831 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5832 Likewise.
5833 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5834 Likewise.
5835 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5836 Likewise.
5837 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5838 Likewise.
5839 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5840 _HAVE_C_OSPEED): Define.
5841 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5842 _HAVE_C_OSPEED): Likewise.
5843 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5844 _HAVE_C_OSPEED): Likewise.
5845 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5846 (cfsetospeed): Check for define value instead of existence.
5847 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5848 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5849 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5850 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5851 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5852
8083afa5
AZ
5853 [BZ #17783]
5854 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5855 Define.
5856 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5857 (TIOCSER_TEMT): Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5859 (TEOCSER_TEMT): Likewise.
5860
4d7d7dc6
P
58612019-01-02 PanderMusubi <pander@users.sourceforge.net>
5862
5863 [BZ #24011]
5864 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5865
8e291a29
JM
58662019-01-02 Joseph Myers <joseph@codesourcery.com>
5867
5868 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5869
55137f7d
ST
58702019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5871
5872 * sysdeps/htl/pt-barrierattr-setpshared.c
5873 (pthread_barrierattr_setpshared): Add stub warning.
5874 * sysdeps/htl/pt-condattr-setpshared.c
5875 (pthread_condattr_setpshared): Likewise.
5876 * sysdeps/htl/pt-mutexattr-setpshared.c
5877 (pthread_mutexattr_setpshared): Likewise.
5878 * sysdeps/htl/pt-rwlockattr-setpshared.c
5879 (pthread_rwlockattr_setpshared): Likewise.
5880 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5881 (pthread_mutexattr_setpshared): Likewise.
5882
2ce09e01
JM
58832019-01-02 Joseph Myers <joseph@codesourcery.com>
5884
acb55dcb
JM
5885 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5886 constants to match with Linux 4.20.
5887
2ce09e01
JM
5888 * sysdeps/mips/mips32/libm-test-ulps: Update.
5889 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5890
fe20bb1d
AJ
58912019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5892
5893 [BZ #24034]
5894 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5895 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5896 than __typeof (...) for the a_ptr variable.
5897
2d9837c1
GG
58982019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5899
5900 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5901 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5902 * libio/Makefile (tests): Add tst-sprintf-ub and
5903 tst-sprintf-chk-ub.
5904 (CFLAGS-tst-sprintf-ub.c): New variable.
5905 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5906 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5907 destination buffer and check for overflows in fortified mode.
5908 * libio/libioP.h (PRINTF_CHK): New macro.
5909 * libio/tst-sprintf-chk-ub.c: New file.
5910 * libio/tst-sprintf-ub.c: Likewise.
5911
d5c6df0b 59122019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
5913
5914 [BZ #24018]
5915 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5916 failure.
5917
66081e38
FW
59182019-01-02 Florian Weimer <fweimer@redhat.com>
5919
5920 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5921
04277e02
JM
59222019-01-01 Joseph Myers <joseph@codesourcery.com>
5923
6ef3d225
JM
5924 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5925 macro.
5926
e3d4e292
JM
5927 * sysdeps/unix/sysv/linux/netpacket/packet.h
5928 (PACKET_IGNORE_OUTGOING): New macro.
5929
f4507797
JM
5930 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5931 macro.
5932
47ad5e1a
JM
5933 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5934 version to 4.20.
5935 (riscv_flush_icache): New syscall.
5936
7628a1b0
JM
5937 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5938 trailing whitespace removed.
5939 * scripts/config.guess: Update to version 2019-01-01.
5940 * scripts/config.sub: Update to version 2019-01-01.
5941 * scripts/move-if-change: Update from gnulib.
5942
c9123888
JM
5943 * NEWS: Update copyright dates.
5944 * catgets/gencat.c (print_version): Likewise.
5945 * csu/version.c (banner): Likewise.
5946 * debug/catchsegv.sh: Likewise.
5947 * debug/pcprofiledump.c (print_version): Likewise.
5948 * debug/xtrace.sh (do_version): Likewise.
5949 * elf/ldconfig.c (print_version): Likewise.
5950 * elf/ldd.bash.in: Likewise.
5951 * elf/pldd.c (print_version): Likewise.
5952 * elf/sotruss.sh: Likewise.
5953 * elf/sprof.c (print_version): Likewise.
5954 * iconv/iconv_prog.c (print_version): Likewise.
5955 * iconv/iconvconfig.c (print_version): Likewise.
5956 * locale/programs/locale.c (print_version): Likewise.
5957 * locale/programs/localedef.c (print_version): Likewise.
5958 * login/programs/pt_chown.c (print_version): Likewise.
5959 * malloc/memusage.sh (do_version): Likewise.
5960 * malloc/memusagestat.c (print_version): Likewise.
5961 * malloc/mtrace.pl: Likewise.
5962 * manual/libc.texinfo: Likewise.
5963 * nptl/version.c (banner): Likewise.
5964 * nscd/nscd.c (print_version): Likewise.
5965 * nss/getent.c (print_version): Likewise.
5966 * nss/makedb.c (print_version): Likewise.
5967 * posix/getconf.c (main): Likewise.
5968 * scripts/test-installation.pl: Likewise.
5969 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5970
04277e02
JM
5971 * All files with FSF copyright notices: Update copyright dates
5972 using scripts/update-copyrights.
5973 * locale/programs/charmap-kw.h: Regenerated.
5974 * locale/programs/locfile-kw.h: Likewise.
5975
e740e5b1
JM
59762018-12-31 Joseph Myers <joseph@codesourcery.com>
5977
5978 * timezone/zdump.c: Update from tzcode 2018i.
5979 * timezone/zic.c: Likewise.
5980
9b7f98b3
PE
59812018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5982
5983 regex: improve Gnulib port to AIX
5984 From the glibc point of view, this removes duplicate macro
5985 definitions and is obviously safe.
5986 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5987 * posix/regex_internal.h:
5988 (__attribute__, __attribute_warn_unused_result__):
5989 Remove; already defined elsewhere.
5990
b50dd3bc
FW
59912018-12-31 Florian Weimer <fw@deneb.enyo.de>
5992
5993 [BZ #24027]
5994 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5995 copying operation. (ncopies had the wrong type, resulting in an
5996 integer wraparound and too few elements being copied.)
5997
0b9c8490
L
59982018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5999
6000 [BZ #24022]
6001 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
6002 <asm/syscalls.h> exists with __has_include__ before including it.
6003
01047fa6
JM
60042018-12-31 Joseph Myers <joseph@codesourcery.com>
6005
6006 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6007 version to 4.20.
6008
6b5c8607 60092018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
6010
6011 * hurd/lookup-retry: Include <unistd.h>.
6012 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
6013 Release it on return. Handle "pid" magical lookup retry.
6014
989182c4
RL
60152018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6016
6017 [BZ #10496]
6018 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
6019 (t_fmt_ampm): Likewise.
6020 * localedata/locales/aa_ER (t_fmt): Likewise.
6021 (t_fmt_ampm): Likewise.
6022 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
6023 (t_fmt_ampm): Likewise.
6024 * localedata/locales/aa_ET (t_fmt): Likewise.
6025 (t_fmt_ampm): Likewise.
6026 * localedata/locales/am_ET (t_fmt): Likewise.
6027 (t_fmt_ampm): Likewise.
6028 * localedata/locales/byn_ER (t_fmt): Likewise.
6029 (t_fmt_ampm): Likewise.
6030 * localedata/locales/om_ET (t_fmt): Likewise.
6031 (t_fmt_ampm): Likewise.
6032 * localedata/locales/sid_ET (t_fmt): Likewise.
6033 (t_fmt_ampm): Likewise.
6034 * localedata/locales/so_DJ (t_fmt): Likewise.
6035 (t_fmt_ampm): Likewise.
6036 * localedata/locales/so_ET (t_fmt): Likewise.
6037 (t_fmt_ampm): Likewise.
6038 * localedata/locales/so_SO (t_fmt): Likewise.
6039 (t_fmt_ampm): Likewise.
6040 * localedata/locales/ti_ER (t_fmt): Likewise.
6041 (t_fmt_ampm): Likewise.
6042 * localedata/locales/ti_ET (t_fmt): Likewise.
6043 (t_fmt_ampm): Likewise.
6044 * localedata/locales/tig_ER (t_fmt): Likewise.
6045 (t_fmt_ampm): Likewise.
6046 * localedata/locales/wal_ET (t_fmt): Likewise.
6047 (t_fmt_ampm): Likewise.
6048
6049 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6050 * localedata/locales/ar_IN (t_fmt): Likewise.
6051 * localedata/locales/bhb_IN (t_fmt): Likewise.
6052 * localedata/locales/bho_IN (t_fmt): Likewise.
6053 * localedata/locales/bi_VU (t_fmt): Likewise.
6054 * localedata/locales/bn_BD (t_fmt): Likewise.
6055 * localedata/locales/bn_IN (t_fmt): Likewise.
6056 * localedata/locales/brx_IN (t_fmt): Likewise.
6057 * localedata/locales/doi_IN (t_fmt): Likewise.
6058 * localedata/locales/en_HK (t_fmt): Likewise.
6059 (t_fmt_ampm): Likewise.
6060 * localedata/locales/en_IN (t_fmt): Likewise.
6061 * localedata/locales/en_PH (t_fmt): Likewise.
6062 * localedata/locales/gu_IN (t_fmt): Likewise.
6063 * localedata/locales/hi_IN (t_fmt): Likewise.
6064 * localedata/locales/hif_FJ (t_fmt): Likewise.
6065 * localedata/locales/hne_IN (t_fmt): Likewise.
6066 * localedata/locales/kn_IN (t_fmt): Likewise.
6067 * localedata/locales/kok_IN (t_fmt): Likewise.
6068 * localedata/locales/ks_IN (t_fmt): Likewise.
6069 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6070 * localedata/locales/mag_IN (t_fmt): Likewise.
6071 * localedata/locales/mai_IN (t_fmt): Likewise.
6072 * localedata/locales/mjw_IN (t_fmt): Likewise.
6073 * localedata/locales/ml_IN (t_fmt): Likewise.
6074 * localedata/locales/mni_IN (t_fmt): Likewise.
6075 * localedata/locales/mr_IN (t_fmt): Likewise.
6076 * localedata/locales/ms_MY (t_fmt): Likewise.
6077 * localedata/locales/pa_IN (t_fmt): Likewise.
6078 * localedata/locales/raj_IN (t_fmt): Likewise.
6079 * localedata/locales/sa_IN (t_fmt): Likewise.
6080 * localedata/locales/sat_IN (t_fmt): Likewise.
6081 * localedata/locales/sd_IN (t_fmt): Likewise.
6082 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6083 * localedata/locales/tcy_IN (t_fmt): Likewise.
6084 * localedata/locales/the_NP (t_fmt): Likewise.
6085 * localedata/locales/to_TO (t_fmt): Likewise.
6086 * localedata/locales/ur_IN (t_fmt): Likewise.
6087
6088 * localedata/locales/hif_FJ (d_t_fmt): Set to
6089 "%A %d %b %Y %I:%M:%S %p".
6090 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6091
6092 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6093 * localedata/locales/ar_BH (t_fmt): Likewise.
6094 * localedata/locales/ar_DZ (t_fmt): Likewise.
6095 * localedata/locales/ar_EG (t_fmt): Likewise.
6096 * localedata/locales/ar_IQ (t_fmt): Likewise.
6097 * localedata/locales/ar_JO (t_fmt): Likewise.
6098 * localedata/locales/ar_KW (t_fmt): Likewise.
6099 * localedata/locales/ar_LB (t_fmt): Likewise.
6100 * localedata/locales/ar_LY (t_fmt): Likewise.
6101 * localedata/locales/ar_OM (t_fmt): Likewise.
6102 * localedata/locales/ar_QA (t_fmt): Likewise.
6103 * localedata/locales/ar_SD (t_fmt): Likewise.
6104 * localedata/locales/ar_SS (t_fmt): Likewise.
6105 * localedata/locales/ar_SY (t_fmt): Likewise.
6106 * localedata/locales/ar_TN (t_fmt): Likewise.
6107 * localedata/locales/ar_YE (t_fmt): Likewise.
6108
6109 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6110 (t_fmt_ampm): Likewise.
6111 * localedata/locales/gez_ET (t_fmt): Likewise.
6112 (t_fmt_ampm): Likewise.
6113
6114 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6115 (t_fmt_ampm): Likewise.
6116 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6117
6118 * localedata/locales/zh_HK (t_fmt):
6119 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6120
6121 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6122 because this locale does not use the 12-hour clock.
6123 (t_fmt): Set to "%Z %H:%M:%S".
6124 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6125
6126 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6127 because this locale does not use the 12-hour clock.
6128 (t_fmt): Set to "%H:%M:%S %Z".
6129 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6130
6131 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6132 because this locale does not use the 12-hour clock.
6133 (t_fmt): Set to "%T".
6134 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6135 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6136
6137 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6138 because this locale does not use the 12-hour clock.
6139 (t_fmt): Set to "%H:%M:%S %Z".
6140 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6141
6142 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6143 because this locale does not use the 12-hour clock.
6144 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6145 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6146
27841a7d
RL
61472018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6148
6149 [BZ #10496]
6150 [BZ #23724]
6151 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6152 (t_fmt_ampm): Likewise.
6153 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6154 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6155 (d_fmt): Set to "%-d.%-m.%y".
6156
0253580a
AZ
61572018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6158
6159 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6160 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6161 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6162 Likewise.
6163 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6164 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6165 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6166 function.
6167 * support/blob_repeat.c (check_mul_overflow_size_t,
6168 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6169
09104e5b
AJ
61702018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6171
6172 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6173
c0feb731
PE
61742018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6175
6176 regex: simplify Gnulib port
6177 This simplifies the code, by removing stuff intended for porting
6178 to Gnulib but no longer needed there.
6179 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6180 uses of libc_hidden_def, weak_alias.
6181 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6182 _Restrict_ except for public-facing headers.
6183 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6184 Remove; already defined elsewhere.
6185 * posix/regex.c, posix/regex_internal.h:
6186 Use __GNUC_PREREQ instead of rolling our own.
6187 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6188
5289f1f5
WD
61892018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6190
6191 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 6192 (memchr_strlen): New function.
5289f1f5 6193
ba4b8fab
L
61942018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6195
6196 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6197 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6198 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6199
9412979a
L
62002018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6203
8700a785
L
62042018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6205
6206 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6207 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6208 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6209 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6210 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6211 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6212 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6213
57b3ff8e
JM
62142018-12-21 Joseph Myers <joseph@codesourcery.com>
6215
6216 [BZ #24023]
6217 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6218 PLT reference in libc.so.
6219 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6220 _Q_lltoq and _Q_qtod PLT references in libc.so.
6221
90d3320d
WD
62222018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6223
6224 * benchtests/bench-memchr.c: Cleanup defines.
6225 * benchtests/bench-memcmp.c: Likewise.
6226 * benchtests/bench-memset.c: Likewise.
6227 * benchtests/bench-memset-large.c: Likewise.
6228 * benchtests/bench-memset-walk.c: Likewise.
6229 * benchtests/bench-stpcpy.c: Likewise.
6230 * benchtests/bench-stpncpy.c: Likewise.
6231 * benchtests/bench-strcat.c: Likewise.
6232 * benchtests/bench-strchr.c: Likewise.
6233 * benchtests/bench-strcmp.c: Likewise.
6234 * benchtests/bench-strcpy.c: Likewise.
6235 * benchtests/bench-strcspn.c: Likewise.
6236 * benchtests/bench-string.h: Likewise.
6237 * benchtests/bench-strlen.c: Likewise.
6238 * benchtests/bench-strncat.c: Likewise.
6239 * benchtests/bench-strncmp.c: Likewise.
6240 * benchtests/bench-strncpy.c: Likewise.
6241 * benchtests/bench-strnlen.c: Likewise.
6242 * benchtests/bench-strpbrk.c: Likewise.
6243 * benchtests/bench-strrchr.c: Likewise.
6244 * benchtests/bench-strspn.c: Likewise.
6245
192963be
JM
62462018-12-21 Joseph Myers <joseph@codesourcery.com>
6247
5d025ea6
JM
6248 * stdlib/longlong.h: Update from GCC.
6249
192963be
JM
6250 [BZ #23993]
6251 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6252 * configure: Regenerated.
6253 * manual/install.texi (Tools for Compilation): Update minimum GCC
6254 version.
6255 * INSTALL: Regenerated.
6256
6b5c8607 62572018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
6258
6259 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6260
6b5c8607 62612018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
6262
6263 * malloc/malloc.c (mremap_chunk): Additional checks.
6264
5f72b005
MH
62652018-12-21 Mao Han <han_mao@c-sky.com>
6266
6267 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6268 * scripts/build-many-glibcs.py: Add C-SKY targets.
6269 * sysdeps/csky/Implies: New file.
6270 * sysdeps/csky/Makefile: Likewise.
6271 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6272 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6273 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6274 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6275 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6276 * sysdeps/csky/abiv2/memmove.S: Likewise.
6277 * sysdeps/csky/abiv2/memset.S: Likewise.
6278 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6279 * sysdeps/csky/abiv2/start.S: Likewise.
6280 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6281 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6282 * sysdeps/csky/abiv2/strlen.S: Likewise.
6283 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6284 * sysdeps/csky/abort-instr.h: Likewise.
6285 * sysdeps/csky/atomic-machine.h: Likewise.
6286 * sysdeps/csky/bits/endian.h: Likewise.
6287 * sysdeps/csky/bits/fenv.h: Likewise.
6288 * sysdeps/csky/bits/link.h: Likewise.
6289 * sysdeps/csky/bits/setjmp.h: Likewise.
6290 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6291 * sysdeps/csky/bsd-setjmp.S: Likewise.
6292 * sysdeps/csky/configure: Likewise.
6293 * sysdeps/csky/configure.ac: Likewise.
6294 * sysdeps/csky/dl-machine.h: Likewise.
6295 * sysdeps/csky/dl-procinfo.c: Likewise.
6296 * sysdeps/csky/dl-procinfo.h: Likewise.
6297 * sysdeps/csky/dl-sysdep.h: Likewise.
6298 * sysdeps/csky/dl-tls.h: Likewise.
6299 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6300 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6301 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6302 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6303 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6304 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6305 * sysdeps/csky/fpu/fegetround.c: Likewise.
6306 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6307 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6308 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6309 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6310 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6311 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6312 * sysdeps/csky/fpu/fesetround.c: Likewise.
6313 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6314 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6315 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6316 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6317 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6318 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6319 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6320 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6321 * sysdeps/csky/fpu_control.h: Likewise.
6322 * sysdeps/csky/gccframe.h: Likewise.
6323 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6324 * sysdeps/csky/ldsodefs.h: Likewise.
6325 * sysdeps/csky/libc-tls.c: Likewise.
6326 * sysdeps/csky/linkmap.h: Likewise.
6327 * sysdeps/csky/machine-gmon.h: Likewise.
6328 * sysdeps/csky/memusage.h: Likewise.
6329 * sysdeps/csky/nofpu/Implies: Likewise.
6330 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6331 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6332 * sysdeps/csky/nptl/Makefile: Likewise.
6333 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6334 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6335 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6336 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6337 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6338 * sysdeps/csky/nptl/tls.h: Likewise.
6339 * sysdeps/csky/preconfigure: Likewise.
6340 * sysdeps/csky/sfp-machine.h: Likewise.
6341 * sysdeps/csky/sotruss-lib.c: Likewise.
6342 * sysdeps/csky/stackinfo.h: Likewise.
6343 * sysdeps/csky/sysdep.h: Likewise.
6344 * sysdeps/csky/tininess.h: Likewise.
6345 * sysdeps/csky/tst-audit.h: Likewise.
6346 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6347 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6348 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6349 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6350 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6351 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6352 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6353 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6354 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6355 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6356 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6357 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6358 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6359 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6360 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6361 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6362 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6363 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6364 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6365 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6366 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6367 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6368 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6369 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6370 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6371 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6372 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6373 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6374 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6375 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6376 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6377 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6378 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6379 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6380 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6381 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6382 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6383 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6384 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6385 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6386 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6387 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6388 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6389 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6390
6b5c8607 63912018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
6392
6393 * include/time.h (__difftime64): Add.
6394 * time/difftime.c (subtract): convert to 64-bit time.
6395 * time/difftime.c (__difftime64): Add.
6396 * time/difftime.c (__difftime): Wrap around __difftime64.
6397
ab416931
L
63982018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6399
6400 * manual/examples/add.c: Remove redundant "if not".
6401 * manual/examples/argp-ex1.c: Likewise.
6402 * manual/examples/argp-ex2.c: Likewise.
6403 * manual/examples/argp-ex3.c: Likewise.
6404 * manual/examples/argp-ex4.c: Likewise.
6405 * manual/examples/atexit.c: Likewise.
6406 * manual/examples/db.c: Likewise.
6407 * manual/examples/dir.c: Likewise.
6408 * manual/examples/dir2.c: Likewise.
6409 * manual/examples/execinfo.c: Likewise.
6410 * manual/examples/filecli.c: Likewise.
6411 * manual/examples/filesrv.c: Likewise.
6412 * manual/examples/fmtmsgexpl.c: Likewise.
6413 * manual/examples/genpass.c: Likewise.
6414 * manual/examples/inetcli.c: Likewise.
6415 * manual/examples/inetsrv.c: Likewise.
6416 * manual/examples/isockad.c: Likewise.
6417 * manual/examples/longopt.c: Likewise.
6418 * manual/examples/memopen.c: Likewise.
6419 * manual/examples/memstrm.c: Likewise.
6420 * manual/examples/mkdirent.c: Likewise.
6421 * manual/examples/mkfsock.c: Likewise.
6422 * manual/examples/mkisock.c: Likewise.
6423 * manual/examples/mygetpass.c: Likewise.
6424 * manual/examples/pipe.c: Likewise.
6425 * manual/examples/popen.c: Likewise.
6426 * manual/examples/rprintf.c: Likewise.
6427 * manual/examples/search.c: Likewise.
6428 * manual/examples/select.c: Likewise.
6429 * manual/examples/setjmp.c: Likewise.
6430 * manual/examples/sigh1.c: Likewise.
6431 * manual/examples/sigusr.c: Likewise.
6432 * manual/examples/stpcpy.c: Likewise.
6433 * manual/examples/strdupa.c: Likewise.
6434 * manual/examples/strftim.c: Likewise.
6435 * manual/examples/subopt.c: Likewise.
6436 * manual/examples/swapcontext.c: Likewise.
6437 * manual/examples/termios.c: Likewise.
6438 * manual/examples/testopt.c: Likewise.
6439 * manual/examples/testpass.c: Likewise.
6440 * manual/examples/timeval_subtract.c: Likewise.
6441
515f463f
JM
64422018-12-19 Joseph Myers <joseph@codesourcery.com>
6443
da75c1b1
JM
6444 * sysdeps/x86/fpu/math_private.h: New file.
6445 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6446
515f463f
JM
6447 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6448 definition.
6449 (cosh): Likewise.
6450 (tanh): Likewise.
6451
1616d034
TMQMF
64522018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6453
6454 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6455 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6456 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6457 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6458 fields.
6459 (_dl_show_auxv): Give a special treatment to
6460 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6461 and AT_L3_CACHEGEOMETRY.
6462 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6463 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6464 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6465 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6466
61595e3d
AS
64672018-12-19 Andreas Schwab <schwab@suse.de>
6468
6469 * nscd/connections.c (check_use): Don't abort on invalid len.
6470
bbb7dc84
ST
64712018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6472
6473 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6474 values in the 64bit value cases.
6475
6b5c8607 64762018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 6477
c4c2836a
AA
6478 * include/time.h
6479 (__ctime64_r): Add.
6480 * time/ctime_r.c
6481 (__ctime64_r): Add.
6482 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6483
7755e504
AA
6484 * include/time.h
6485 (__ctime64): Add.
6486 * time/gmtime.c
6487 (__ctime64): Add.
6488 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6489
a1d346ce
AA
6490 * include/time.h
6491 (__gmtime64_r): Add.
6492 * time/gmtime.c
6493 (__gmtime64_r): Add.
6494 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6495
131db8b0
AA
6496 * include/time.h
6497 (__gmtime64): Add.
6498 * time/gmtime.c
6499 (__gmtime64): Add.
6500 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6501
64c2277d
AA
6502 * include/time.h
6503 (__localtime64_r): Add.
6504 * time/localtime.c
6505 (__localtime64_r): Add.
6506 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6507
56b98bf1
AZ
65082018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6509
64dd7a16
AZ
6510 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6511 kernel_sigction definition.
6512
8b1d5da5
AZ
6513 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6514
f9eabb19
AZ
6515 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6516
56b98bf1
AZ
6517 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6518 __syscall_rt_sigaction.
6519 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6520 (kernel_sigaction): Use Linux generic defintion.
6521 (STUB): Define.
6522 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6523 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6524 (__syscall_rt_sigaction): Remove implementation.
6525 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6526 hidden.
6527 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6528 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6529 INTERNAL_SYSCALL): Remove definitions.
6530 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6531 action and signal set size.
6532 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6534
43a45c2d
AZ
65352018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6536 James Clarke <jrtc27@jrtc27.com>
6537
dfa6216f 6538 [BZ #23967]
43a45c2d
AZ
6539 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6540 Define if SA_RESTORER is defined.
6541 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6542 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6543 already defined.
6544 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6545 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6546 definitions.
6547 (HAS_SA_RESTORER): Define.
6548 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6549 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6550 (HAS_SA_RESTORER): Define.
6551 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6552 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6553 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6554 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6555 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6556
646ce7e0
JM
65572018-12-18 Joseph Myers <joseph@codesourcery.com>
6558
6559 * sysdeps/unix/sysv/linux/kernel-features.h
6560 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6561 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6562 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6563 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6564 (__ASSUME_ST_INO_64_BIT): Likewise.
6565 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6566 <kernel-features.h>.
6567 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6568 Remove conditional code.
6569 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6570 <kernel-features.h>.
6571 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6572 Remove conditional code.
6573 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6574 <kernel-features.h>.
6575 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6576 Remove conditional code.
6577 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6578 <kernel-features.h>.
6579 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6580 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6581
80190d2b
SL
65822018-12-18 Stefan Liebler <stli@linux.ibm.com>
6583
6584 * sysdeps/s390/multiarch/ifunc-resolve.h
6585 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6586 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6587 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6588 Delete macro definition.
6589 (s390_libc_ifunc_init): Rename to
6590 s390_libc_ifunc_expr_stfle_init.
6591 * sysdeps/s390/bzero: Use
6592 s390_libc_ifunc_expr_stfle_init instead of
6593 s390_libc_ifunc_init.
6594 * sysdeps/s390/memcmp.c: Likewise.
6595 * sysdeps/s390/memcpy.c: Likewise.
6596 * sysdeps/s390/mempcpy.c: Likewise.
6597 * sysdeps/s390/memset.c: Likewise.
6598
12f0dcb8
SL
65992018-12-18 Stefan Liebler <stli@linux.ibm.com>
6600
6601 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6602 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6603
25654a8c
SL
66042018-12-18 Stefan Liebler <stli@linux.ibm.com>
6605
6606 * sysdeps/s390/multiarch/Makefile
6607 (sysdep_routines): Remove wmemcmp variants.
6608 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6609 * sysdeps/s390/multiarch/ifunc-impl-list.c
6610 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6611 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6612 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6613 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6614 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6615 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6616 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6617 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6618
d2a7436c
SL
66192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6620
6621 * sysdeps/s390/multiarch/Makefile
6622 (sysdep_routines): Remove wmemset variants.
6623 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6624 * sysdeps/s390/multiarch/ifunc-impl-list.c
6625 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6626 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6627 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6628 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6629 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6630 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6631 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6632 * sysdeps/s390/ifunc-wmemset.h: New file.
6633
c62534ae
SL
66342018-12-18 Stefan Liebler <stli@linux.ibm.com>
6635
6636 * sysdeps/s390/multiarch/Makefile
6637 (sysdep_routines): Remove wmemchr variants.
6638 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6639 * sysdeps/s390/multiarch/ifunc-impl-list.c
6640 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6641 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6642 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6643 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6644 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6645 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6646 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6647 * sysdeps/s390/ifunc-wmemchr.h: New file.
6648
79b44cf6
SL
66492018-12-18 Stefan Liebler <stli@linux.ibm.com>
6650
6651 * sysdeps/s390/multiarch/Makefile
6652 (sysdep_routines): Remove wcscspn variants.
6653 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6654 * sysdeps/s390/multiarch/ifunc-impl-list.c
6655 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6656 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6657 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6658 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6659 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6660 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6661 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6662 * sysdeps/s390/ifunc-wcscspn.h: New file.
6663
8e87c1f6
SL
66642018-12-18 Stefan Liebler <stli@linux.ibm.com>
6665
6666 * sysdeps/s390/multiarch/Makefile
6667 (sysdep_routines): Remove wcspbrk variants.
6668 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6669 * sysdeps/s390/multiarch/ifunc-impl-list.c
6670 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6671 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6672 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6673 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6674 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6675 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6676 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6677 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6678
8507e831
SL
66792018-12-18 Stefan Liebler <stli@linux.ibm.com>
6680
6681 * sysdeps/s390/multiarch/Makefile
6682 (sysdep_routines): Remove wcsspn variants.
6683 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6684 * sysdeps/s390/multiarch/ifunc-impl-list.c
6685 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6686 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6687 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6688 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6689 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6690 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6691 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6692 * sysdeps/s390/ifunc-wcsspn.h: New file.
6693
4753713a
SL
66942018-12-18 Stefan Liebler <stli@linux.ibm.com>
6695
6696 * sysdeps/s390/multiarch/Makefile
6697 (sysdep_routines): Remove wcsrchr variants.
6698 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6699 * sysdeps/s390/multiarch/ifunc-impl-list.c
6700 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6701 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6702 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6703 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6704 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6705 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6706 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6707 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6708
c09c1b6f
SL
67092018-12-18 Stefan Liebler <stli@linux.ibm.com>
6710
6711 * sysdeps/s390/multiarch/Makefile
6712 (sysdep_routines): Remove wcschrnul variants.
6713 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6714 * sysdeps/s390/multiarch/ifunc-impl-list.c
6715 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6716 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6717 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6718 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6719 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6720 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6721 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6722 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6723
cf3ccc31
SL
67242018-12-18 Stefan Liebler <stli@linux.ibm.com>
6725
6726 * sysdeps/s390/multiarch/Makefile
6727 (sysdep_routines): Remove wcschr variants.
6728 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6729 * sysdeps/s390/multiarch/ifunc-impl-list.c
6730 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6731 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6732 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6733 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6734 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6735 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6736 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6737 * sysdeps/s390/ifunc-wcschr.h: New file.
6738
e9873e1d
SL
67392018-12-18 Stefan Liebler <stli@linux.ibm.com>
6740
6741 * sysdeps/s390/multiarch/Makefile
6742 (sysdep_routines): Remove wcsncmp variants.
6743 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6744 * sysdeps/s390/multiarch/ifunc-impl-list.c
6745 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6746 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6747 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6748 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6749 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6750 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6751 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6752 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6753
3459e23d
SL
67542018-12-18 Stefan Liebler <stli@linux.ibm.com>
6755
6756 * sysdeps/s390/multiarch/Makefile
6757 (sysdep_routines): Remove wcscmp variants.
6758 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6759 * sysdeps/s390/multiarch/ifunc-impl-list.c
6760 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6761 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6762 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6763 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6764 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6765 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6766 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6767 * sysdeps/s390/ifunc-wcscmp.h: New file.
6768
814a76e1
SL
67692018-12-18 Stefan Liebler <stli@linux.ibm.com>
6770
6771 * sysdeps/s390/multiarch/Makefile
6772 (sysdep_routines): Remove wcsncat variants.
6773 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6774 * sysdeps/s390/multiarch/ifunc-impl-list.c
6775 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6776 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6777 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6778 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6779 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6780 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6781 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6782 * sysdeps/s390/ifunc-wcsncat.h: New file.
6783
3389cae4
SL
67842018-12-18 Stefan Liebler <stli@linux.ibm.com>
6785
6786 * sysdeps/s390/multiarch/Makefile
6787 (sysdep_routines): Remove wcscat variants.
6788 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6789 * sysdeps/s390/multiarch/ifunc-impl-list.c
6790 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6791 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6792 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6793 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6794 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6795 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6796 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6797 * sysdeps/s390/ifunc-wcscat.h: New file.
6798
c3081bcb
SL
67992018-12-18 Stefan Liebler <stli@linux.ibm.com>
6800
6801 * sysdeps/s390/multiarch/Makefile
6802 (sysdep_routines): Remove wcpncpy variants.
6803 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6804 * sysdeps/s390/multiarch/ifunc-impl-list.c
6805 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6806 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6807 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6808 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6809 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6810 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6811 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6812 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6813
0966dd86
SL
68142018-12-18 Stefan Liebler <stli@linux.ibm.com>
6815
6816 * sysdeps/s390/multiarch/Makefile
6817 (sysdep_routines): Remove wcsncpy variants.
6818 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6819 * sysdeps/s390/multiarch/ifunc-impl-list.c
6820 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6821 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6822 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6823 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6824 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6825 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6826 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6827 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6828
0582e428
SL
68292018-12-18 Stefan Liebler <stli@linux.ibm.com>
6830
6831 * sysdeps/s390/multiarch/Makefile
6832 (sysdep_routines): Remove wcpcpy variants.
6833 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6834 * sysdeps/s390/multiarch/ifunc-impl-list.c
6835 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6836 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6837 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6838 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6839 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6840 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6841 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6842 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6843
804f2e5c
SL
68442018-12-18 Stefan Liebler <stli@linux.ibm.com>
6845
6846 * sysdeps/s390/multiarch/Makefile
6847 (sysdep_routines): Remove wcscpy variants.
6848 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6849 * sysdeps/s390/multiarch/ifunc-impl-list.c
6850 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6851 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6852 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6853 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6854 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6855 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6856 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6857 * sysdeps/s390/ifunc-wcscpy.h: New file.
6858
c7e7cd26
SL
68592018-12-18 Stefan Liebler <stli@linux.ibm.com>
6860
6861 * sysdeps/s390/multiarch/Makefile
6862 (sysdep_routines): Remove wcsnlen variants.
6863 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6864 * sysdeps/s390/multiarch/ifunc-impl-list.c
6865 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6866 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6867 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6868 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6869 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6870 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6871 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6872 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6873
2e02d0b7
SL
68742018-12-18 Stefan Liebler <stli@linux.ibm.com>
6875
6876 * sysdeps/s390/multiarch/Makefile
6877 (sysdep_routines): Remove wcslen variants.
6878 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6879 * sysdeps/s390/multiarch/ifunc-impl-list.c
6880 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6881 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6882 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6883 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6884 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6885 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6886 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6887 * sysdeps/s390/ifunc-wcslen.h: New file.
6888
89bfcbdf
SL
68892018-12-18 Stefan Liebler <stli@linux.ibm.com>
6890
6891 * sysdeps/s390/multiarch/Makefile
6892 (sysdep_routines): Remove memrchr variants.
6893 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6894 * sysdeps/s390/multiarch/ifunc-impl-list.c
6895 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6896 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6897 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6898 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6899 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6900 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6901 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6902 * sysdeps/s390/ifunc-memrchr.h: New file.
6903
196655ba
SL
69042018-12-18 Stefan Liebler <stli@linux.ibm.com>
6905
6906 * sysdeps/s390/multiarch/Makefile
6907 (sysdep_routines): Remove memccpy variants.
6908 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6909 * sysdeps/s390/multiarch/ifunc-impl-list.c
6910 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6911 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6912 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6913 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6914 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6915 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6916 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6917 * sysdeps/s390/ifunc-memccpy.h: New file.
6918
4c7b3cec
SL
69192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6920
6921 * sysdeps/s390/multiarch/Makefile
6922 (sysdep_routines): Remove rawmemchr variants.
6923 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6924 * sysdeps/s390/multiarch/ifunc-impl-list.c
6925 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6926 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6927 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6928 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6929 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6930 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6931 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6932 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6933
581a051c
SL
69342018-12-18 Stefan Liebler <stli@linux.ibm.com>
6935
6936 * sysdeps/s390/multiarch/Makefile
6937 (sysdep_routines): Remove memchr variants.
6938 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6939 * sysdeps/s390/multiarch/ifunc-impl-list.c
6940 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6941 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6942 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6943 * sysdeps/s390/multiarch/memchr.c: Move to ...
6944 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6945 * sysdeps/s390/ifunc-memchr.h: New file.
6946 * sysdeps/s390/s390-64/memchr.S: Move to ...
6947 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6948 for 31/64bit and ifunc handling.
6949 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6950 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6951 * sysdeps/s390/s390-32/memchr.S: Likewise.
6952
5d2ec20a
SL
69532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6954
6955 * sysdeps/s390/multiarch/Makefile
6956 (sysdep_routines): Remove strcspn variants.
6957 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6958 * sysdeps/s390/multiarch/ifunc-impl-list.c
6959 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6960 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6961 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6962 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6963 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6964 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6965 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6966 * sysdeps/s390/ifunc-strcspn.h: New file.
6967
572cca93
SL
69682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6969
6970 * sysdeps/s390/multiarch/Makefile
6971 (sysdep_routines): Remove strpbrk variants.
6972 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6973 * sysdeps/s390/multiarch/ifunc-impl-list.c
6974 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6975 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6976 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6977 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6978 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6979 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6980 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6981 * sysdeps/s390/ifunc-strpbrk.h: New file.
6982
483fc569
SL
69832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6984
6985 * sysdeps/s390/multiarch/Makefile
6986 (sysdep_routines): Remove strspn variants.
6987 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6988 * sysdeps/s390/multiarch/ifunc-impl-list.c
6989 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6990 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6991 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6992 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6993 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6994 * sysdeps/s390/multiarch/strspn.c: Move to ...
6995 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6996 * sysdeps/s390/ifunc-strspn.h: New file.
6997
26ea8760
SL
69982018-12-18 Stefan Liebler <stli@linux.ibm.com>
6999
7000 * sysdeps/s390/multiarch/Makefile
7001 (sysdep_routines): Remove strrchr variants.
7002 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
7003 * sysdeps/s390/multiarch/ifunc-impl-list.c
7004 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
7005 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
7006 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
7007 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
7008 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
7009 * sysdeps/s390/multiarch/strrchr.c: Move to ...
7010 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
7011 * sysdeps/s390/ifunc-strrchr.h: New file.
7012
a1361e65
SL
70132018-12-18 Stefan Liebler <stli@linux.ibm.com>
7014
7015 * sysdeps/s390/multiarch/Makefile
7016 (sysdep_routines): Remove strchrnul variants.
7017 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
7018 * sysdeps/s390/multiarch/ifunc-impl-list.c
7019 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
7020 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
7021 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
7022 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
7023 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
7024 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
7025 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7026 * sysdeps/s390/ifunc-strchrnul.h: New file.
7027
32f12653
SL
70282018-12-18 Stefan Liebler <stli@linux.ibm.com>
7029
7030 * sysdeps/s390/multiarch/Makefile
7031 (sysdep_routines): Remove strchr variants.
7032 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7033 * sysdeps/s390/multiarch/ifunc-impl-list.c
7034 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7035 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7036 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7037 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7038 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7039 * sysdeps/s390/multiarch/strchr.c: Move to ...
7040 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7041 * sysdeps/s390/ifunc-strchr.h: New file.
7042
316b8842
SL
70432018-12-18 Stefan Liebler <stli@linux.ibm.com>
7044
7045 * sysdeps/s390/multiarch/Makefile
7046 (sysdep_routines): Remove strncmp variants.
7047 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7048 * sysdeps/s390/multiarch/ifunc-impl-list.c
7049 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7050 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7051 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7052 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7053 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7054 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7055 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7056 * sysdeps/s390/ifunc-strncmp.h: New file.
7057
cdab85fe
SL
70582018-12-18 Stefan Liebler <stli@linux.ibm.com>
7059
7060 * sysdeps/s390/multiarch/Makefile
7061 (sysdep_routines): Remove strcmp variants.
7062 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7063 * sysdeps/s390/multiarch/ifunc-impl-list.c
7064 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7065 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7066 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7067 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7068 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7069 * sysdeps/s390/ifunc-strcmp.h: New file.
7070 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7071 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7072 for 31/64bit and ifunc handling.
7073 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7074 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7075 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7076
b9353351
SL
70772018-12-18 Stefan Liebler <stli@linux.ibm.com>
7078
7079 * sysdeps/s390/multiarch/Makefile
7080 (sysdep_routines): Remove strncat variants.
7081 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7082 * sysdeps/s390/multiarch/ifunc-impl-list.c
7083 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7084 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7085 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7086 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7087 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7088 * sysdeps/s390/multiarch/strncat.c: Move to ...
7089 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7090 * sysdeps/s390/ifunc-strncat.h: New file.
7091
8e5a0afb
SL
70922018-12-18 Stefan Liebler <stli@linux.ibm.com>
7093
7094 * sysdeps/s390/multiarch/Makefile
7095 (sysdep_routines): Remove strcat variants.
7096 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7097 * sysdeps/s390/multiarch/ifunc-impl-list.c
7098 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7099 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7100 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7101 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7102 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7103 * sysdeps/s390/multiarch/strcat.c: Move to ...
7104 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7105 * sysdeps/s390/ifunc-strcat.h: New file.
7106
25218822
SL
71072018-12-18 Stefan Liebler <stli@linux.ibm.com>
7108
7109 * sysdeps/s390/multiarch/Makefile
7110 (sysdep_routines): Remove stpncpy variants.
7111 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7112 * sysdeps/s390/multiarch/ifunc-impl-list.c
7113 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7114 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7115 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7116 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7117 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7118 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7119 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7120 * sysdeps/s390/ifunc-stpncpy.h: New file.
7121
d1bdbf38
SL
71222018-12-18 Stefan Liebler <stli@linux.ibm.com>
7123
7124 * sysdeps/s390/multiarch/Makefile
7125 (sysdep_routines): Remove strncpy variants.
7126 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7127 * sysdeps/s390/multiarch/ifunc-impl-list.c
7128 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7129 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7130 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7131 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7132 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7133 * sysdeps/s390/ifunc-strncpy.h: New file.
7134 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7135 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7136 and adjust ifunc handling.
7137 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7138 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7139 and adjust ifunc handling.
7140 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7141 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7142
97044931
SL
71432018-12-18 Stefan Liebler <stli@linux.ibm.com>
7144
7145 * sysdeps/s390/multiarch/Makefile
7146 (sysdep_routines): Remove stpcpy variants.
7147 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7148 * sysdeps/s390/multiarch/ifunc-impl-list.c
7149 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7150 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7151 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7152 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7153 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7154 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7155 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7156 * sysdeps/s390/ifunc-stpcpy.h: New file.
7157
914a4e05
SL
71582018-12-18 Stefan Liebler <stli@linux.ibm.com>
7159
7160 * sysdeps/s390/multiarch/Makefile
7161 (sysdep_routines): Remove strcpy variants.
7162 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7163 * sysdeps/s390/multiarch/ifunc-impl-list.c
7164 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7165 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7166 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7167 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7168 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7169 * sysdeps/s390/ifunc-strcpy.h: New file.
7170 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7171 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7172 for 31/64bit and ifunc handling.
7173 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7174 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7175 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7176
de10e44d
SL
71772018-12-18 Stefan Liebler <stli@linux.ibm.com>
7178
7179 * sysdeps/s390/multiarch/Makefile
7180 (sysdep_routines): Remove strnlen variants.
7181 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7182 * sysdeps/s390/multiarch/ifunc-impl-list.c
7183 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7184 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7185 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7186 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7187 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7188 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7189 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7190 * sysdeps/s390/ifunc-strnlen.h: New file.
7191
ff3ca374
SL
71922018-12-18 Stefan Liebler <stli@linux.ibm.com>
7193
7194 * sysdeps/s390/multiarch/Makefile
7195 (sysdep_routines): Remove strlen variants.
7196 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7197 * sysdeps/s390/multiarch/ifunc-impl-list.c
7198 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7199 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7200 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7201 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7202 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7203 * sysdeps/s390/multiarch/strlen.c: Move to ...
7204 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7205 * sysdeps/s390/ifunc-strlen.h: New file.
7206
d2c4c403
SL
72072018-12-18 Stefan Liebler <stli@linux.ibm.com>
7208
7209 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7210 * sysdeps/s390/multiarch/ifunc-impl-list.c
7211 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7212 * sysdeps/s390/ifunc-memmem.h: New file.
7213 * sysdeps/s390/memmem.c: Likewise.
7214 * sysdeps/s390/memmem-c.c: Likewise.
7215 * sysdeps/s390/memmem-vx.c: Likewise.
7216
8c25dddd
SL
72172018-12-18 Stefan Liebler <stli@linux.ibm.com>
7218
7219 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7220 * sysdeps/s390/multiarch/ifunc-impl-list.c
7221 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7222 * sysdeps/s390/ifunc-strstr.h: New file.
7223 * sysdeps/s390/strstr.c: Likewise.
7224 * sysdeps/s390/strstr-c.c: Likewise.
7225 * sysdeps/s390/strstr-vx.c: Likewise.
7226
cdd927d9
SL
72272018-12-18 Stefan Liebler <stli@linux.ibm.com>
7228
7229 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7230 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7231 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7232 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7233 New defines.
7234 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7235 * sysdeps/s390/memmove-c.c: New file.
7236 * sysdeps/s390/memmove.c: Likewise.
7237 * sysdeps/s390/multiarch/ifunc-impl-list.c
7238 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7239
2ee1bc57
SL
72402018-12-18 Stefan Liebler <stli@linux.ibm.com>
7241
7242 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7243 * sysdeps/s390/configure.ac: Add check for z13 support.
7244 * sysdeps/s390/configure: Regenerated.
7245
d097d976
SL
72462018-12-18 Stefan Liebler <stli@linux.ibm.com>
7247
7248 * sysdeps/s390/memcopy.h: New file.
7249
e099aab0
SL
72502018-12-18 Stefan Liebler <stli@linux.ibm.com>
7251
7252 * sysdeps/s390/s390-32/bcopy.S: Remove.
7253 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7254
18eb862d
SL
72552018-12-18 Stefan Liebler <stli@linux.ibm.com>
7256
7257 * sysdeps/s390/ifunc-memcpy.h: New File.
7258 * sysdeps/s390/memcpy.S: Move to ...
7259 * sysdeps/s390/memcpy-z900.S ... here.
7260 Move implementations from memcpy-s390x.s to here.
7261 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7262 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7263 Remove memcpy/mempcpy variants.
7264 * sysdeps/s390/Makefile (sysdep_routines):
7265 Add memcpy/mempcpy variants.
7266 * sysdeps/s390/multiarch/ifunc-impl-list.c
7267 (__libc_ifunc_impl_list): Adjust ifunc variants for
7268 memcpy and mempcpy.
7269 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7270 to ...
7271 * sysdeps/s390/memcpy.c: ... here.
7272 Adjust ifunc variants for memcpy.
7273 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7274 * sysdeps/s390/mempcpy.c: ... here.
7275 Adjust ifunc variants for mempcpy.
7276 * sysdeps/s390/mempcpy.S: Delete file.
7277
df3eb8de
SL
72782018-12-18 Stefan Liebler <stli@linux.ibm.com>
7279
7280 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7281 * sysdeps/s390/memcpy.S: ... here.
7282 Adjust to be usable for 31/64bit.
7283 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7284 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7285 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7286 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7287 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7288 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7289 Adjust to be usable for 31/64bit.
7290 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7291 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7292 * sysdeps/s390/multiarch/memcpy.c: ... here.
7293 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7294
b7e024a8
SL
72952018-12-18 Stefan Liebler <stli@linux.ibm.com>
7296
7297 * sysdeps/s390/ifunc-memcmp.h: New File.
7298 * sysdeps/s390/memcmp.S: Move to ...
7299 * sysdeps/s390/memcmp-z900.S ... here.
7300 Move implementations from memcmp-s390x.s to here.
7301 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7302 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7303 Remove memcmp variants.
7304 * sysdeps/s390/Makefile (sysdep_routines):
7305 Add memcmp variants.
7306 * sysdeps/s390/multiarch/ifunc-impl-list.c
7307 (__libc_ifunc_impl_list): Adjust ifunc variants for
7308 memcmp.
7309 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7310 to ...
7311 * sysdeps/s390/memcmp.c: ... here.
7312 Adjust ifunc variants for memcmp.
7313
6c6b8c74
SL
73142018-12-18 Stefan Liebler <stli@linux.ibm.com>
7315
7316 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7317 * sysdeps/s390/memcmp.S: ... here.
7318 Adjust to be usable for 31/64bit.
7319 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7320 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7321 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7322 Remove memcmp.
7323 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7324 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7325 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7326 Adjust to be usable for 31/64bit.
7327 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7328 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7329 * sysdeps/s390/multiarch/memcmp.c: ... here.
7330 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7331
07be3928
SL
73322018-12-18 Stefan Liebler <stli@linux.ibm.com>
7333
7334 * sysdeps/s390/s390-32/bzero.S: Delete file.
7335 * sysdeps/s390/s390-64/bzero.S: Likewise.
7336 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7337 * sysdeps/s390/bzero.c: New file.
7338 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7339 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7340 * sysdeps/s390/multiarch/ifunc-impl-list.c
7341 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7342
712a254a
SL
73432018-12-18 Stefan Liebler <stli@linux.ibm.com>
7344
7345 * sysdeps/s390/ifunc-memset.h: New File.
7346 * sysdeps/s390/memset.S: Move to ...
7347 * sysdeps/s390/memset-z900.S ... here.
7348 Move implementations from memset-s390x.s to here.
7349 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7350 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7351 Remove memset variants.
7352 * sysdeps/s390/Makefile (sysdep_routines):
7353 Add memset variants.
7354 * sysdeps/s390/multiarch/ifunc-impl-list.c
7355 (__libc_ifunc_impl_list): Adjust ifunc variants for
7356 memset.
7357 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7358 to ...
7359 * sysdeps/s390/memset.c: ... here.
7360 Adjust ifunc variants for memset.
7361
5f1743d1
SL
73622018-12-18 Stefan Liebler <stli@linux.ibm.com>
7363
7364 * sysdeps/s390/s390-64/memset.S: Move to ...
7365 * sysdeps/s390/memset.S: ... here.
7366 Adjust to be usable for 31/64bit.
7367 * sysdeps/s390/s390-32/memset.S: Delete File.
7368 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7369 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7370 Remove memset.
7371 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7372 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7373 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7374 Adjust to be usable for 31/64bit.
7375 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7376 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7377 * sysdeps/s390/multiarch/memset.c: ... here.
7378 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7379
e8023f26
SL
73802018-12-18 Stefan Liebler <stli@linux.ibm.com>
7381
7382 * sysdeps/s390/multiarch/ifunc-resolve.h
7383 (s390_libc_ifunc_init, s390_libc_ifunc,
7384 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7385
b8686c0d
SL
73862018-12-18 Stefan Liebler <stli@linux.ibm.com>
7387
7388 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7389 * sysdeps/s390/configure.ac: Add check for z10 support.
7390 * sysdeps/s390/configure: Regenerated.
7391
cd815050
L
73922018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7393
7394 * sysdeps/i386/atomic-machine.h: Merged with ...
7395 * sysdeps/x86_64/atomic-machine.h: To ...
7396 * sysdeps/x86/atomic-machine.h: This. New file.
7397
053c52b1
FW
73982018-12-18 Florian Weimer <fweimer@redhat.com>
7399
7400 Rewrite locale/gen-translit.pl in Python.
7401 * locale/Makefile (generated): Add C-translit.h.
7402 (before-compile): Add $(objpfx)C-translit.h.
7403 (C-translit.h): Move to $(objpfx). Create target directory.
7404 Build using Python script.
7405 * locale/gen-translit.py: New file.
7406 * locale/gen-translit.pl: Remove file.
7407 * locale/C-translit.h.in: Change comment character to '#' for
7408 easier parsing without a C preprocessor.
7409 * locale/C-translit.h: Remove generated file.
7410 * manual/install.texi (Tools for Compilation): Do not mention
7411 C-translit.h.
7412 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7413 Remove locale/C-translit.h.
7414 * scripts/update-copyrights: Likewise.
7415 * INSTALL: Regenerate.
7416
40e6c1ec
FW
74172018-12-18 Florian Weimer <fweimer@redhat.com>
7418
7419 [BZ #23995]
7420 * localedata/locales/bi_VU: Remove executable bit from file.
7421
6b5c8607 74222018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
7423
7424 * include/time.h
7425 (__localtime64): Add.
7426 * manual/maint.texi: Document Y2038 symbol handling.
7427 * time/localtime.c
7428 (__localtime64): Add.
bfb79db4 7429 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 7430
df648905
JM
74312018-12-17 Joseph Myers <joseph@codesourcery.com>
7432
551e81d9
JM
7433 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7434 Do not clobber r12.
7435
df648905
JM
7436 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7437 to allow extra macros from first or second sources.
7438 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7439 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7440 (tests-special): Add $(objpfx)tst-mman-consts.out.
7441 ($(objpfx)tst-mman-consts.out): New makefile target.
7442
6bbfc5c0
MH
74432018-12-17 Mao Han <han_mao@c-sky.com>
7444
7445 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7446 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7447 without stat64 system call support.
7448 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7449 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7450 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7451 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7452 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7453 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7454 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7455 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7456 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7457 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7458 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7459
ef202e53
PE
74602018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7461
7462 regex: fix storage-exhaustion error
7463 [BZ #18040]
7464 * posix/regexec.c (get_subexp):
7465 Do not continue if storage is exhausted.
7466
077caf61
AG
74672018-12-15 Assaf Gordon <assafgordon@gmail.com>
7468
7469 regex: fix heap-use-after-free error
7470 [BZ #18040]
7471 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7472 https://debbugs.gnu.org/32592
7473 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7474 call extend_buffers which reallocates the re_string_t internal buffer.
7475 Local variable 'buf' was not updated in such case, resulting in
7476 use-after-free.
7477 * posix/regexec.c (get_subexp): Update 'buf' after call to
7478 get_subexp_sub.
7479
0c1719e6
FW
74802018-12-15 Florian Weimer <fweimer@redhat.com>
7481
7482 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7483 (minimum_stride_size): Use it.
7484 (support_blob_repeat_allocate): Likewise.
7485
033a2c0a
JM
74862018-12-14 Joseph Myers <joseph@codesourcery.com>
7487
7488 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7489 definition.
7490 (acosh): Likewise.
7491 (atanh): Likewise.
7492
e361dc04
FW
74932018-12-14 Florian Weimer <fweimer@redhat.com>
7494
7495 * manual/process.texi (Process Creation Concepts): Remove
7496 documentation of process (ID) lifetime. List more process
7497 creation functions. Reference Process Identification section.
7498 (Process Identification): Add information about process ID
7499 lifetime. Describe Linux thread/task IDs.
7500 * manual/signal.texi (Signaling Another Process): Mention that the
7501 signal is always sent to the process.
7502
bd51ff5e
GG
75032018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7504
7505 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7506 and tst-ldbl-efgcvt.
7507 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7508 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7509 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7510 (fcvt_tests, output_error, output_r_error, do_test): Use the
7511 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7512 select the type of floating-point variables and arguments; to
7513 produce extra tests for double and conversion specifiers for
7514 printf; and to set the names of called functions.
7515 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7516 in tst-efgcvt-template.c.
7517 * misc/tst-ldbl-efgcvt.c: Likewise.
7518
268bb71e
SL
75192018-12-14 Stefan Liebler <stli@linux.ibm.com>
7520
7521 * nss/Makefile (tst-nss-test3.out): New rule.
7522
db6df070
JM
75232018-12-13 Joseph Myers <joseph@codesourcery.com>
7524
7525 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7526 clobber sp.
7527
ade8b817
CD
75282018-12-13 fanjinke <fanjinke@hygon.cn>
7529
7530 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7531 "HygonGenuine".
7532
3d265911
AS
75332018-12-13 Andreas Schwab <schwab@suse.de>
7534
f21e8f8c 7535 [BZ #23861]
3d265911 7536 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
7537 (__pthread_rwlock_rdlock_full): Update expected value for
7538 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7539 * nptl/tst-rwlock-pwn.c: New file.
7540 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 7541
bf8ae8c0
JM
75422018-12-12 Joseph Myers <joseph@codesourcery.com>
7543
7544 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7545 definition.
7546
de099757
LS
75472018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7548
7549 * benchtests/scripts/compare_bench.py (do_compare): write to
7550 stderr in casestat is not present.
7551 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7552 stderr in case timings field is not present. Also string showing
7553 the output filename goes into the stderr.
7554
1990185f
LS
75552018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7556
7557 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7558 and ZeroDivisorError exceptions.
7559 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7560 argument to loop through user provided statistics.
7561 * benchtests/scripts/compare_bench.py (main): Include the --stats
7562 argument.
7563
587426d4
LS
75642018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7565
7566 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7567 instead of return.
7568
46703efa
FW
75692018-12-12 Florian Weimer <fweimer@redhat.com>
7570
7571 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7572 clause to copyright header.
7573
1d880d4a
TMQMF
75742018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7575
7576 [BZ #23614]
7577 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7578 registers saved in the stack frame.
7579 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7580 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7581
1a502f52
GG
75822018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7583
7584 * include/bits/monetary-ldbl.h: New file.
7585 * include/bits/printf-ldbl.h: Likewise.
7586 * include/bits/stdio-ldbl.h: Likewise.
7587 * include/bits/stdlib-ldbl.h: Likewise.
7588 * include/bits/syslog-ldbl.h: Likewise.
7589 * include/bits/wchar-ldbl.h: Likewise.
7590
df682d1d
GG
75912018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7592
7593 * libio/libio.h: Remove redirection for _IO_vfprintf.
7594
c2c082c1
AS
75952018-12-11 Andreas Schwab <schwab@suse.de>
7596
7597 * Makerules: Remove all references to abilist-pattern.
7598 (update-all-abi): Simplify find expression.
7599
505b5b29
SN
76002018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7601
7602 [BZ #23961]
7603 * math/auto-libm-test-in: Add new test case.
7604 * math/auto-libm-test-out-pow: Regenerated.
7605 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7606
304c61a2
DD
76072018-12-10 DJ Delorie <dj@redhat.com>
7608
7609 [BZ #23948]
7610 * support/test-container.c: Move postclean step to before we
7611 change namespaces.
7612
a8110b72
JM
76132018-12-10 Joseph Myers <joseph@codesourcery.com>
7614
cb7be159
JM
7615 * scripts/gen-as-const.py (main): Handle --python option.
7616 * scripts/gen-py-const.awk: Remove.
7617 * Makerules (py-const-script): Use gen-as-const.py.
7618 ($(py-const)): Likewise.
7619 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7620 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7621 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7622 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7623 ~PTHREAD_MUTEX_NO_ELISION_NP.
7624 * manual/README.pretty-printers: Update reference to
7625 gen-py-const.awk.
7626
a8110b72
JM
7627 * scripts/glibcextract.py: New file.
7628 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7629 or tempfile. Import glibcexctract.
7630 (compute_c_consts): Remove. Moved to glibcextract.py.
7631 (gen_test): Update reference to compute_c_consts.
7632 (main): Likewise.
7633 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7634 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7635 * sysdeps/unix/sysv/linux/Makefile
7636 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7637 Redirect stderr as well as stdout.
7638
f9ba9eb8
RÁE
76392018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7640
7641 [BZ #19767]
7642 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
7643 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7644 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 7645 ALWAYS_USE_VSYSCALL.
b39d961c 7646 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
7647 ALWAYS_USE_VSYSCALL.
7648 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7649 ALWAYS_USE_VSYSCALL.
7650
8d20a2f4
FW
76512018-12-10 Florian Weimer <fweimer@redhat.com>
7652
7653 [BZ #23972]
7654 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7655 offset instead of count for clarity. Fix typo in comment.
7656 (__old_getdents64): Keep track of previous offset. Use it to call
7657 handle_overflow.
7658 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7659 that d_off is never zero.
7660
80472e2f
AS
76612018-12-10 Andreas Schwab <schwab@suse.de>
7662
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7664 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7666 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7667 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7668
0afcb29d
JM
76692018-12-10 Joseph Myers <joseph@codesourcery.com>
7670
7671 * timezone/private.h: Update from tzcode 2018g.
7672 * timezone/tzfile.h: Likewise.
7673 * timezone/tzselect.ksh: Likewise.
7674 * timezone/zdump.c: Likewise.
7675 * timezone/zic.c: Likewise.
7676
b93f4052
PP
76772018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7678
7679 [BZ #23490]
7680 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7681 (do_test): Adjust buffer size and fix format.
7682
7c9a7c68
DD
76832018-12-07 DJ Delorie <dj@redhat.com>
7684
7685 [BZ #23907]
7686 * malloc/tst-tcfree3.c: New.
7687 * malloc/Makefile: Add it.
7688
37caec3a
L
76892018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7690
7691 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7692
10446f5d
GG
76932018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7694
7695 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7696 used as a mask for the mode argument of __vfscanf_internal and
7697 __vfwscanf_internal.
7698 * stdio-common/vfscanf-internal.c
7699 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7700 (__strtof128_internal): Define to __wcstof128_internal.
7701 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7702 __strtof128_internal or __wcstof128_internal when the format of
7703 long double is the same as _Float128.
7704
45f33aac
ST
77052018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7706
7707 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7708 * posix/confstr.c (confstr): Rename to __confstr.
7709 (__confstr): Add hidden def.
7710 (confstr): Add weak alias for __confstr.
7711 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7712 confstr.
7713
a092ca94
L
77142018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7715
7716 * NEWS: Mention getcpu.
7717 * include/sched.h (__getcpu): New libc_hidden_proto.
7718 * manual/resource.texi: Document getcpu.
7719 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7720 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7721 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7722 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7723 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7724 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7725 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7726 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7727 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7728 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7729 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7730 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7731 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7732 Likewise.
7733 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7734 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7735 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7737 Likewise.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7739 Likewise.
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7741 Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7743 Likewise.
7744 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7745 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7746 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7747 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7748 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7750 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7751 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7752 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7753 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7754 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7755 Also check getcpu.
7756
7c857b6f
ST
77572018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7758
7759 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7760 functions.
7761 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7762
3a3fb755
FW
77632018-12-07 Florian Weimer <fweimer@redhat.com>
7764
7765 [BZ #17405]
7766 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7767 * posix/Versions (GLIBC_2.29): Export
7768 posix_spawn_file_actions_addfchdir_np.
7769 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7770 * posix/spawn_faction_destroy.c
7771 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7772 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7773 and the field action.fchdir_action.
7774 * posix/tst-spawn-chdir.c (add_chdir): New function.
7775 (do_test): Add do_fchdir loop. Call add_chdir.
7776 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7777 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7778 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7779 posix_spawn_file_actions_addfchdir_np.
7780 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7781 Likewise.
7782 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7783 Likewise.
7784 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7785 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7786 Likewise.
7787 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7788 Likewise.
7789 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7790 Likewise.
7791 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7792 Likewise.
7793 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7794 Likewise.
7795 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7796 Likewise.
7797 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7798 (GLIBC_2.29): Likewise.
7799 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7800 (GLIBC_2.29): Likewise.
7801 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7802 (GLIBC_2.29): Likewise.
7803 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7804 (GLIBC_2.29): Likewise.
7805 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7806 Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7808 (GLIBC_2.29): Likewise.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7810 (GLIBC_2.29): Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7812 (GLIBC_2.29): Likewise.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7814 (GLIBC_2.29): Likewise.
7815 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7816 Likewise.
7817 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7818 Likewise.
7819 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7820 Likewise.
7821 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7823 Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7825 Likewise.
7826 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7827 Likewise.
7828 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7829 Likewise.
7830
c37cd439
JM
78312018-12-06 Joseph Myers <joseph@codesourcery.com>
7832
7833 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7834 trailing whitespace removed.
7835 * scripts/config.guess: Update to version 2018-11-28.
7836 * scripts/config.sub: Update to version 2018-11-28.
7837 * scripts/install-sh: Update to version 2018-03-11.20.
7838 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7839 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7840
899478c2
FW
78412018-12-07 Florian Weimer <fweimer@redhat.com>
7842
7843 [BZ #23927]
7844 CVE-2018-19591
7845 * inet/tst-if_index-long.c: New file.
7846 * inet/Makefile (tests): Add tst-if_index-long.
7847
f255336a
FW
78482018-12-07 Florian Weimer <fweimer@redhat.com>
7849
7850 * support/check.h (support_record_failure_is_failed): Declare.
7851 * support/descriptors.h: New file.
7852 * support/support_descriptors.c: Likewise.
7853 * support/tst-support_descriptors.c: Likewise.
7854 * support/support_record_failure.c
7855 (support_record_failure_is_failed): New function.
7856 * support/Makefile (libsupport-routines): Add support_descriptors.
7857 (tests): Add tst-support_descriptors.
7858
35caceb1
ZW
78592018-12-05 Zack Weinberg <zackw@panix.com>
7860 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7861
7862 * stdio-common/vfprintf-internal.c
7863 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7864 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7865 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7866 and __no_long_double.
7867 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7868 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7869 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7870 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7871 and __nldbl_*syslog* functions.
7872 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7873 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7874 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7875 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7876 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7877 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7878 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7879 (__nldbl_vwprintf, __nldbl_wprintf):
7880 Directly call the appropriate __v*printf_internal routine, passing
7881 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7882 variable names.
7883 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7884 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7885 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7886 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7887 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7888 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7889 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7890 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7891 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7892 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7893 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7894 (__nldbl_syslog, __nldbl_vsyslog):
7895 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7896 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7897 appropriate.
7898 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7899 appropriate.
7900
4e2f43f8
ZW
79012018-12-05 Zack Weinberg <zackw@panix.com>
7902 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7903
7904 [BZ #11319]
7905 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7906 Moved here from debug/vsprintf_chk.c.
7907 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7908 and completion logic for the strfile to match exactly what
7909 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7910 _IO_str_init_static_internal instead of maxlen-1.
7911 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7912 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7913 __vsprintf_internal.
7914
7915 * debug/vsprintf_chk.c (__vsprintf_chk)
7916 * debug/sprintf_chk.c (__sprintf_chk):
7917 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7918 'flags' argument is positive, and slen as maxlen. No need to lock
7919 the FILE and/or construct a temporary FILE. Minimize and normalize
7920 header inclusions and variable names. Do not libc_hidden_def anything.
7921
7922 * debug/asprintf_chk.c (__asprintf_chk)
7923 * debug/dprintf_chk.c (__dprintf_chk)
7924 * debug/fprintf_chk.c (__fprintf_chk)
7925 * debug/fwprintf_chk.c (__fwprintf_chk)
7926 * debug/printf_chk.c (__printf_chk)
7927 * debug/snprintf_chk.c (__snprintf_chk)
7928 * debug/swprintf_chk.c (__swprintf_chk)
7929 * debug/vasprintf_chk.c (__vasprintf_chk)
7930 * debug/vdprintf_chk.c (__vdprintf_chk)
7931 * debug/vfprintf_chk.c (__vfprintf_chk)
7932 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7933 * debug/vprintf_chk.c (__vprintf_chk)
7934 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7935 * debug/vswprintf_chk.c (__vswprintf_chk)
7936 * debug/vwprintf_chk.c (__vwprintf_chk)
7937 * debug/wprintf_chk.c (__wprintf_chk):
7938 Directly call the corresponding vxxprintf_internal function, passing
7939 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7940 the FILE and/or construct a temporary FILE. Minimize and normalize
7941 header inclusions and variable names. Do not libc_hidden_def anything.
7942
7943 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7944 __obstack_vprintf_internal.
7945 (__obstack_vprintf_chk): Convert into a wrapper that calls
7946 __obstack_vprintf_internal (these two functions already had the
7947 same code) and move to new file...
7948 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7949 file.
7950 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7951 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7952 * debug/Makefile (routines): Add vobprintf_chk.
7953
7954 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7955 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7956 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7957 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7958 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7959 (__nldbl___obstack_vfprintf_chk):
7960 Directly call the corresponding vxxprintf_internal function,
7961 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7962 duplicate comparison of slen with 0 or maxlen from the corresponding
7963 non-__nldbl function.
7964
7965 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7966 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7967 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7968 Remove libc_hidden_proto.
7969
7970 * stdio-common/vfprintf-internal.c
7971 (__vfprintf_internal, __vfwprintf_internal):
7972 Do not check _IO_FLAGS2_FORTIFY.
7973 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7974 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7975 a comment explaining why it has the maxlen argument.
7976 (_IO_acquire_lock_clear_flags2_fct): Remove.
7977 (_IO_acquire_lock_clear_flags2): Remove.
7978 (_IO_release_lock): Remove conditional statement which will
7979 now never execute.
7980 (_IO_acquire_lock): Remove variable which is now unused.
7981 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7982 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7983
7984 * stdio-common/Makefile (tests): Add tst-bz11319 and
7985 tst-bz11319-fortify2.
7986 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7987 * stdio-common/tst-bz11319-fortify2.c: New file.
7988 * stdio-common/tst-bz11319.c: Likewise.
7989
124fc732
ZW
79902018-12-05 Zack Weinberg <zackw@panix.com>
7991 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7992
7993 * misc/syslog.c: Include libioP.h, not iolibio.h.
7994 (__vsyslog_internal): New function with the former body of
7995 __vsyslog_chk; takes mode_flags argument same as
7996 __v*printf_internal. Call __vfprintf_internal directly.
7997
7998 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7999 Remove libc_hidden_def.
8000 (__syslog, __syslog_chk): Use __vsyslog_internal.
8001 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
8002
8003 * include/sys/syslog.h: Add multiple inclusion guard.
8004 Add prototype for __vsyslog_internal.
8005 Remove declaration and libc_hidden_proto for __vsyslog_chk.
8006
8007 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
8008 Use __vsyslog_internal.
8009
698fb75b
ZW
80102018-12-05 Zack Weinberg <zackw@panix.com>
8011 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8012
8013 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
8014 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
8015 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
8016 New functions.
8017 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
8018 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
8019
8020 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
8021 Include wctype.h here if COMPILE_WPRINTF is defined.
8022 Define __vfprintf_internal or __vfwprintf_internal, depending
8023 on COMPILE_WPRINTF.
8024 Temporarily, on entry to this function, update mode_flags
8025 according to the environmental settings corresponding to
8026 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8027 Throughout, check mode_flags instead of __ldbl_is_dbl and
8028 _IO_FLAGS2_FORTIFY on the destination FILE.
8029 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8030 Include vfprintf-internal.c. Don't include wctype.h.
8031 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8032 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8033 and vfprintf.
8034 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8035 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8036 and vfwprintf.
8037 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8038
8039 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8040 and add mode_flags argument; use __vfprintf_internal.
8041 (__vdprintf): New function. Alias vdprintf to this.
8042 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8043 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8044 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8045 (__obstack_printf): Use __obstack_printf_internal.
8046 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8047 public aliases __vsnprintf and vsnprintf.
8048 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8049 called internally.
8050 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8051 public aliases _IO_vsprintf and vsprintf.
8052 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8053 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8054 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8055 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8056 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8057
8058 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8059 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8060 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8061 * stdio-common/printf.c: Use __vfprintf_internal.
8062
8063 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8064 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8065 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8066
8067 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8068 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8069 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8070 __vfwprintf_internal.
8071
8072 * libio/libio.h: Remove libc_hidden_proto and declaration for
8073 _IO_vfprintf.
8074 Remove declaration of _IO_vfwprintf.
8075 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8076 _IO_vsprintf.
8077 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8078 _IO_obstack_printf.
8079 * include/stdio.h: Add prototype for __vasprintf.
8080 (__vsnprintf): Remove declaration, because there are no more
8081 internal calls.
8082 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8083 declaration, because there are no more internal calls.
8084
8085 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8086 __vsnprintf_internal, instead of _IO_vsnprintf.
8087 * argp/argp-help.c (__argp_error, __argp_failure): Use
8088 __vasprintf_internal, instead of _IO_vasprintf.
8089 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8090 redefine, because there are no more internal calls.
8091
d91798b3
ZW
80922018-12-05 Zack Weinberg <zackw@panix.com>
8093 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8094
8095 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8096 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8097 Include libio/strfile.h instead of libioP.h.
8098 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8099 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8100 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8101 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8102 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8103 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8104 necessary. Do not set __no_long_double. Normalize variable names.
8105 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8106 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8107 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8108 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8109 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8110 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8111 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8112 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8113 Do not set __no_long_double. Normalize variable names.
8114
b87eb3f8
ZW
81152018-12-05 Zack Weinberg <zackw@panix.com>
8116 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8117
8118 * stdio-common/isoc99_scanf.c
8119 * stdio-common/isoc99_fscanf.c
8120 * stdio-common/isoc99_sscanf.c
8121 * stdio-common/isoc99_vscanf.c
8122 * stdio-common/isoc99_vfscanf.c
8123 * stdio-common/isoc99_vsscanf.c
8124 * wcsmbs/isoc99_wscanf.c
8125 * wcsmbs/isoc99_fwscanf.c
8126 * wcsmbs/isoc99_swscanf.c
8127 * wcsmbs/isoc99_vwscanf.c
8128 * wcsmbs/isoc99_vfwscanf.c
8129 * wcsmbs/isoc99_vswscanf.c:
8130 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8131 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8132 No need to lock and unlock the FILE passed to that function.
8133
8134 * stdio-common/vfscanf-internal.c
8135 (__vfscanf_internal, __vfwscanf_internal):
8136 Don't look at _IO_FLAGS2_SCANF_STD.
8137 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8138 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8139 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8140
349718d4
ZW
81412018-12-05 Zack Weinberg <zackw@panix.com>
8142 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8143
8144 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8145 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8146 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8147 * libio/strfile.h: Add multiple inclusion guard.
8148 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8149
8150 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8151 consistency with the other version of this file.
8152 (ldbl_compat_symbol): New macro.
8153 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8154 New macro.
8155
8156 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8157 Define __vfscanf_internal or __vfwscanf_internal, depending on
8158 COMPILE_WSCANF; don't define any other public symbols.
8159 Remove errval and code to set errp.
8160 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8161 as the mode_flags argument.
8162 (encode_error, conv_error, input_error): Don't set errval.
8163 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8164 Include vfscanf-internal.c.
8165 * stdio-common/vfscanf.c: New file defining the public entry
8166 point vfscanf, which calls __vfscanf_internal.
8167 * stdio-common/vfwscanf.c: New file defining the public entry
8168 point vfwscanf, which calls __vfwscanf_internal.
8169
8170 * stdio-common/iovfscanf.c: New file.
8171 * stdio-common/iovfwscanf.c: Likewise.
8172
8173 * stdio-common/Makefile (routines): Add vfscanf-internal,
8174 vfwscanf-internal, iovfscanf, iovfwscanf.
8175 * stdio-common/Versions: Mention GLIBC_2.29, so that
8176 it can be used in SHLIB_COMPAT expressions.
8177 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8178 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8179 Call __vfscanf_internal, instead of _IO_vfscanf.
8180 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8181 _IO_vfscanf.
8182 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8183 _IO_vfwscanf.
8184
8185 * libio/iovsscanf.c: Clean up includes, when possible. Use
8186 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8187 __vfscanf_internal or __vfwscanf_internal directly.
8188 * libio/iovswscanf.c: Likewise.
8189 * libio/swscanf.c: Likewise.
8190 * libio/vscanf.c: Likewise.
8191 * libio/vwscanf.c: Likewise.
8192 * libio/wscanf.c: Likewise.
8193 * stdio-common/isoc99_fscanf.c: Likewise.
8194 * stdio-common/isoc99_scanf.c: Likewise.
8195 * stdio-common/isoc99_sscanf.c: Likewise.
8196 * stdio-common/isoc99_vfscanf.c: Likewise.
8197 * stdio-common/isoc99_vscanf.c: Likewise.
8198 * stdio-common/isoc99_vsscanf.c: Likewise.
8199 * stdio-common/scanf.c: Likewise.
8200 * stdio-common/sscanf.c: Likewise.
8201 * wcsmbs/isoc99_fwscanf.c: Likewise.
8202 * wcsmbs/isoc99_swscanf.c: Likewise.
8203 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8204 * wcsmbs/isoc99_vswscanf.c: Likewise.
8205 * wcsmbs/isoc99_vwscanf.c: Likewise.
8206 * wcsmbs/isoc99_wscanf.c: Likewise.
8207
6b5c8607 82082018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
8209
8210 * include/time.h
8211 (__tz_compute): Replace time_t with __time64_t.
8212 (__tz_convert): Replace time_t* with __time64_t.
8213 (__offtime): Replace time_t* with __time64_t.
8214 * time/gmtime.c
8215 (__gmtime_r): Adjust call to __tz_convert.
8216 (gmtime): Likewise.
8217 * time/localtime.c
8218 (__localtime_r): Likewise.
8219 (localtime): Likewise.
8220 * time/offtime.c: Replace time_t with __time64_t.
8221 * time/tzset.c: Likewise.
8222
bd598da9
JM
82232018-12-04 Joseph Myers <joseph@codesourcery.com>
8224
8225 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8226 dynamic linker unless [$(run-built-tests) = yes].
8227
b2e93de0
DD
82282018-12-03 DJ Delorie <dj@delorie.com>
8229
8230 * support/test-container.c (check_for_unshare_hints): New.
8231 (main): Call it if unshare fails. Add support for "su" scriptlet
8232 command.
8233
477a02f6
JM
82342018-12-03 Joseph Myers <joseph@codesourcery.com>
8235
8236 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8237 'START' to indicate that start text should be output.
8238 (gen_test): Likewise.
8239 (main): Generate 'START' for first symbol or '--' line, or at end
8240 of input if not previously generated.
8241
6af956e5
RÁE
82422018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8243
8244 [BZ #19767]
8245 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8246 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8247 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8248 ALWAYS_USE_VSYSCALL.
8249
f5ec0ea9
AZ
82502018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8251
8252 [BZ #23913]
8253 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8254 new_argv by one.
8255
8cebd4ff
CD
82562018-12-03 Carlos O'Donell <carlos@redhat.com>
8257
8258 [BZ #23923]
8259 * locale/programs/localedef.c: Declare boolean hard_links default true.
8260 (options): Add --no-hard-links option.
8261 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8262 * locale/programs/localedef.h: Declare prototype for hard_links.
8263 * locale/programs/locfile.c (write_locale_data): Don't use hard
8264 links if hard_links is false.
8265
c22e4c2a
L
82662018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8267
8268 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8269 cpu_features_basic.
8270 (__cache_sysconf): Likewise.
8271 (init_cacheinfo): Likewise.
8272 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8273 populate COMMON_CPUID_INDEX_80000007 and
8274 COMMON_CPUID_INDEX_80000008.
8275 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8276 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8277 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8278 (init_cpu_features): Use _Static_assert on
8279 index_arch_Fast_Unaligned_Load.
8280 __get_cpuid_registers and __get_arch_feature. Updated for
8281 cpu_features_basic. Set stepping in cpu_features.
8282 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8283 (FEATURE_INDEX_2): New.
8284 (FEATURE_INDEX_MAX): Changed to enum.
8285 (COMMON_CPUID_INDEX_D_ECX_1): New.
8286 (COMMON_CPUID_INDEX_80000007): Likewise.
8287 (COMMON_CPUID_INDEX_80000008): Likewise.
8288 (cpuid_registers): Likewise.
8289 (cpu_features_basic): Likewise.
8290 (CPU_FEATURE_USABLE): Likewise.
8291 (bit_arch_XXX_Usable): Likewise.
8292 (cpu_features): Use cpuid_registers and cpu_features_basic.
8293 (bit_arch_XXX): Reweritten.
8294 (bit_cpu_XXX): Likewise.
8295 (index_cpu_XXX): Likewise.
8296 (reg_XXX): Likewise.
8297 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8298 <support/check.h>.
8299 (CHECK_CPU_FEATURE): New.
8300 (CHECK_CPU_FEATURE_USABLE): Likewise.
8301 (cpu_kinds): Likewise.
8302 (do_test): Print vendor, family, model and stepping. Check
8303 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8304 (TEST_FUNCTION): Removed.
8305 Include <support/test-driver.c> instead of
8306 "../../test-skeleton.c".
8307 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8308 Check POPCNT instead of POPCOUNT.
8309 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8310
7b36d26b
ST
83112018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8312
8313 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8314 there is no element in `consts'.
8315
02cd5c1a
FW
83162018-12-01 Florian Weimer <fweimer@redhat.com>
8317
8318 * support/support_capture_subprocess.c
8319 (support_capture_subprocess): Check that pipe descriptors have
8320 expected values. Close original pipe descriptors in subprocess.
8321
fc493bc9
ST
83222018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8323
8324 [BZ #23032]
8325 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8326 attr with __pthread_default_barrierattr.
8327 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8328 attr with __pthread_default_condattr.
8329 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8330 attr with __pthread_default_mutexattr.
8331 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8332 attr with __pthread_default_rwlockattr.
8333
6310e6be
KW
83342018-12-01 Kemi Wang <kemi.wang@intel.com>
8335
8336 * manual/tunables.texi (POSIX Thread Tunables): New node.
8337 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8338 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8339 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8340 __pthread_tunables_init.
8341 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8342 (max_adaptive_count): Define.
8343 * nptl/pthread_mutex_conf.c: New file.
8344 * nptl/pthread_mutex_conf.h: New file.
8345 * sysdeps/generic/adaptive_spin_count.h: New file.
8346 * sysdeps/nptl/dl-tunables.list: New file.
8347 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8348 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8349 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8350 Likewise.
8351
8e67b39e
PP
83522018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8353
8354 [BZ #20544]
8355 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8356 * stdlib/on_exit.c (__on_exit): Likewise.
8357 * stdlib/Makefile (tests): Add tst-bz20544.
8358 * stdlib/tst-bz20544.c: New test.
8359
15b8d67e
RÁE
83602018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8361
8362 [BZ #19767]
8363 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8364 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8365 New.
8366
5e63c240
FW
83672018-11-30 Florian Weimer <fweimer@redhat.com>
8368
8369 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8370 Extend error logging.
8371 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8372 symbol.
8373
71058602 83742018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 8375
5fb7fc96
AZ
8376 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8377 __sigismember instead of sigismember.
8378 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8379 cancel_handler): New definitions.
8380 (do_system): Use posix_spawn instead of fork and execl and remove
8381 reentracy code.
8382 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8383 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8384 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8385 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8386 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8387 * sysdeps/unix/sysv/linux/system.c: Likewise.
8388
14d0e87d
AZ
8389 [BZ #22834]
8390 [BZ #17490]
8391 * NEWS: Add new semantic for atfork with popen and system.
8392 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8393 fork and execl.
8394
e5d262ef
TMQMF
83952018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8396
8397 [BZ #23690]
8398 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8399 modification order when accessing reloc_result->addr.
8400 * include/link.h (reloc_result): Add field init.
8401 * nptl/Makefile (tests): Add tst-audit-threads.
8402 (modules-names): Add tst-audit-threads-mod1 and
8403 tst-audit-threads-mod2.
8404 Add rules to build tst-audit-threads.
8405 * nptl/tst-audit-threads-mod1.c: New file.
8406 * nptl/tst-audit-threads-mod2.c: Likewise.
8407 * nptl/tst-audit-threads.c: Likewise.
8408 * nptl/tst-audit-threads.h: Likewise.
8409
7e1d4240
JM
84102018-11-30 Joseph Myers <joseph@codesourcery.com>
8411
8412 * scripts/gen-as-const.py: New file.
8413 * scripts/gen-as-const.awk: Remove.
8414 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8415 gen-as-const.py.
8416 ($(objpfx)test-as-const-%.c): Likewise.
8417
ce7387cc
L
84182018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8419
8420 * elf/dl-exception.c: Include <_itoa.h>.
8421
c6a5bdc1
ST
84222018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8423
8424 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8425 returned by __f_setlk.
8426
a5275ba5
L
84272018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8428 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8429
8430 * elf/Makefile (tests-internal): Add tst-create_format1.
8431 * elf/dl-exception.c (_dl_exception_create_format): Support
8432 %x, %lx and %zx.
8433 * elf/tst-create_format1.c: New file.
8434
3a67e81d
CAC
84352018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8436
8437 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8438 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8439 gnulib.)
8440 * argp/argp-help.c (__argp_failure): Likewise.
8441
4975f0c3
MH
84422018-11-29 Mao Han <han_mao@c-sky.com>
8443
8444 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8445 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8446 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8447 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8448 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8449 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8450 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8451 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8452 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8453 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8454 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8455 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8456 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8457 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8458 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8459 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8460 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8461 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8462 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8463 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8464 (R_CKCORE_TLS_TPOFF32): New defines.
8465
250102c8
FW
84662018-11-29 Florian Weimer <fweimer@redhat.com>
8467
8468 * posix/Makefile (before-compile): Remove testcases.h and
8469 ptestcases.h.
8470 (generated): Add testcases.h and ptestcases.h.
8471 (testcases.h, ptestcases.h): Move to $(objpfx).
8472 (runtests.o): Add dependency on testcases.h.
8473 (runptests.o): Add dependency on ptestcases.h.
8474 * posix/testcases.h, posix/ptestcases.h: Remove files.
8475 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8476 not touch posix/testcases.h and posix/ptestcases.h.
8477
96cd0558
FW
84782018-11-28 Florian Weimer <fweimer@redhat.com>
8479
8480 support: Add signal support to support_capture_subprocess_check.
8481 * support/capture_subprocess.h (support_capture_subprocess_check):
8482 Adjust comment and rename parameter.
8483 * support/support_capture_subprocess_check.c
8484 (print_actual_status): New function.
8485 (support_capture_subprocess_check): Support negative
8486 status_or_signal. Call print_actual_status.
8487 * support/tst-support_capture_subprocess.c (do_test): Call
8488 support_capture_subprocess_check.
8489 * libio/tst-vtables-common.c (termination_status)
8490 (init_termination_status): Remove.
8491 (check_for_termination): Adjust support_capture_subprocess_check
8492 call.
8493 (do_test): Remove call to init_termination_status.
8494
530504e3
JM
84952018-11-28 Joseph Myers <joseph@codesourcery.com>
8496
8497 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8498 source directory instead of a copy.
8499 (CommandList.create_copy_dir): Remove.
8500
9a0b6970
SL
85012018-11-28 Stefan Liebler <stli@linux.ibm.com>
8502
8503 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8504
47d8d9a2
FW
85052018-11-28 Florian Weimer <fweimer@redhat.com>
8506
8507 * support/support.h (support_quote_string): Do not use str
8508 parameter name.
8509
b473b7d8
JM
85102018-11-27 Joseph Myers <joseph@codesourcery.com>
8511
8512 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8513 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8514
c74a91de
FW
85152018-11-27 Florian Weimer <fweimer@redhat.com>
8516
8517 * support/support.h (support_quote_string): Declare.
8518 * support/support_quote_string.c: New file.
8519 * support/tst-support_quote_string.c: Likewise.
8520 * support/Makefile (libsupport-routines): Add
8521 support_quote_string.
8522 (tests): Add tst-support_quote_string.
8523
d527c860
FW
85242018-11-27 Florian Weimer <fweimer@redhat.com>
8525
8526 [BZ #23927]
8527 CVE-2018-19591
8528 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8529 descriptor leak in case of ENODEV error.
8530
979cfed0
RÁE
85312018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8532
8533 [BZ #19767]
8534 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8535 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8537
ce035c6e
CD
85382018-11-26 Carlos O'Donell <carlos@redhat.com>
8539
8540 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8541 Error for unknown lines.
8542
2bd0bfcc
JM
85432018-11-26 Joseph Myers <joseph@codesourcery.com>
8544
8545 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8546 Touch additional files.
8547
affec03b
FW
85482018-11-26 Florian Weimer <fweimer@redhat.com>
8549
8550 [BZ #23907]
8551 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8552 double-frees.
8553
8ae74ead
RÁE
85542018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8555
8556 [BZ #19767]
8557 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8558 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8559 SHARED. Include sysdep.h.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8561 ALWAYS_USE_VSYSCALL.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8563 ALWAYS_USE_VSYSCALL.
8564
1e8bdc3a
RÁE
85652018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8566
8567 [BZ #19767]
8568 * nptl/Makefile (tests-static): Add tst-cond11-static.
8569 (tests): Likewise.
8570 * nptl/tst-cond11-static.c: New File.
8571 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8572 tst-affinity-static.
8573 (tests): Likewise.
8574 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8575 instead of SHARED.
8576 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8577 (USE_VSYSCALL): Likewise.
8578 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8579 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8580 instead of SHARED.
8581 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8582 SHARED.
8583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8584 New.
8585
1283c478
JM
85862018-11-23 Joseph Myers <joseph@codesourcery.com>
8587
8588 [BZ #23915]
8589 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8590 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8591 Undefine.
8592
c089fd80
L
85932018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8596 (tst-cet-legacy-1a-ARGS): New.
8597 ($(objpfx)tst-cet-legacy-1a): New target.
8598 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8599
cc6c89fa
JM
86002018-11-22 Joseph Myers <joseph@codesourcery.com>
8601
95edd05c
JM
8602 * conform/conformtest.py (CompileSubTest.__init__): Set
8603 self.run_early to False.
8604 (ExecuteSubTest.__init__): Likewise.
8605 (HeaderTests.run): Try running all non-optional, non-XFAILed
8606 compilation tests in a single execution of the compiler.
8607
cc6c89fa
JM
8608 * conform/conformtest.py (CompileSubTest): New class.
8609 (ExecuteSubTest): Likewise.
8610 (ElementTest.run): Rename to gen_subtests. Append tests to
8611 self.subtests instead of running them.
8612 (ConstantTest.run): Likewise.
8613 (SymbolTest.run): Likewise.
8614 (TypeTest.run): Likewise.
8615 (TagTest.run): Likewise.
8616 (FunctionTest.run): Likewise.
8617 (VariableTest.run): Likewise.
8618 (MacroFunctionTest.run): Likewise.
8619 (MacroStrTest.run): Likewise.
8620 (HeaderTests.handle_test_line): Generate subtests for tests.
8621 (HeaderTests.run): Run subtests for tests.
8622
a502c529
SN
86232018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8624
8625 * math/Versions (GLIBC_2.29): Add pow.
8626 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8627 symbol.
8628 * math/w_pow.c: New file.
8629 * sysdeps/i386/fpu/w_pow.c: New file.
8630 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8632 and add necessary aliases.
8633 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8634 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8635 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8636 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8637 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8638 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8639 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8640 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8641 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8642 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8643 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8644 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8645 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8646 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8647 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8652 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8653 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8654 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8655 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8656 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8657 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8658 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8659 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8660 __pow.
8661 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8662 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8663 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8664
718d6542
SN
86652018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8666
8667 * math/Versions (GLIBC_2.29): Add log2.
8668 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8669 symbol.
8670 * math/w_log2.c: New file.
8671 * sysdeps/i386/fpu/w_log2.c: New file.
8672 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8673 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8674 and add necessary aliases.
8675 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8676 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8677 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8678 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8679 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8680 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8681 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8682 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8683 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8684 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8685 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8686 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8687 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8688 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8689 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8694 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8695 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8696 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8697 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8698 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8699 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8700 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8701
f29b7c49
SN
87022018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8703
8704 * math/Versions (GLIBC_2.29): Add log.
8705 * math/w_log_compat.c (__log_compat): Change to versioned compat
8706 symbol.
8707 * math/w_log.c: New file.
8708 * sysdeps/i386/fpu/w_log.c: New file.
8709 * sysdeps/ia64/fpu/e_log.S: Update.
8710 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8711 and add necessary aliases.
8712 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8713 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8714 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8715 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8716 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8717 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8718 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8719 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8720 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8721 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8722 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8723 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8724 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8725 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8726 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8731 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8732 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8733 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8736 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8737 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8738 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8739 __log.
8740 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8741 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8742 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8743 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8744
c20a1056
SN
87452018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8746
8747 * math/Versions (GLIBC_2.29): Add exp and exp2.
8748 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8749 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8750 * math/w_exp_compat.c (__exp_compat): Likewise.
8751 * math/w_exp.c: New file.
8752 * math/w_exp2.c: New file.
8753 * sysdeps/i386/fpu/w_exp.c: New file.
8754 * sysdeps/i386/fpu/w_exp2.c: New file.
8755 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8756 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8757 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8758 and add necessary aliases.
8759 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8760 and add necessary aliases.
8761 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8762 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8763 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8764 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8765 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8766 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8767 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8768 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8769 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8770 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8771 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8772 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8773 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8774 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8775 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8776 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8777 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8782 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8783 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8784 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8785 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8786 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8787 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8788 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8789 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8790 (__ieee754_exp): Rename to __exp.
8791 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8792 (__ieee754_exp): Rename to __exp.
8793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8794 (__ieee754_exp): Rename to __exp.
8795 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8796 __exp.
8797 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8798
bcdaad21
DD
87992018-11-20 DJ Delorie <dj@redhat.com>
8800
8801 * malloc/malloc.c (tcache_entry): Add key field.
8802 (tcache_put): Set it.
8803 (tcache_get): Likewise.
8804 (_int_free): Check for double free in tcache.
8805 * malloc/tst-tcfree1.c: New.
8806 * malloc/tst-tcfree2.c: New.
8807 * malloc/Makefile: Run the new tests.
8808 * manual/probes.texi: Document memory_tcache_double_free probe.
8809
8810 * dlfcn/dlerror.c (check_free): Prevent double frees.
8811
5770c0ad
WD
88122018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8813
8814 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8815
9a62a939
JM
88162018-11-20 Joseph Myers <joseph@codesourcery.com>
8817
8818 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8819 in tests. Use names for format arguments.
8820 (ConstantTest.run): Likewise.
8821 (SymbolTest.run): Likewise.
8822 (TypeTest.run): Likewise.
8823 (TagTest.run): Likewise.
8824 (FunctionTest.run): Likewise.
8825 (VariableTest.run): Likewise.
8826 (MacroFunctionTest.run): Likewise.
8827 (MacroStrTest.run): Likewise.
8828 (HeaderTests.__init__): Set self.num_tests.
8829 (HeaderTests.handle_test_line): Set test.num. Increment
8830 self.num_tests.
8831
b15b1a95
ST
88322018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8833
8834 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8835 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8836 SEEK_SET.
8837
0c7f97ae
MH
88382018-11-19 Mao Han <han_mao@c-sky.com>
8839
8840 * scripts/config.guess: Update to version 2018-08-29.
8841 * scripts/config.sub: Update to version 2018-08-29.
8842
35e3fbc4
FW
88432018-11-19 Florian Weimer <fweimer@redhat.com>
8844
8845 support: Print timestamps in timeout handler.
8846 * support/support_test_main.c (print_timestamp): New function.
8847 (signal_handler): Use it to print the termination time and the
8848 time of the last write to standard output.
8849
c75772e3
ZW
88502018-11-16 Zack Weinberg <zackw@panix.com>
8851 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8852
8853 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8854 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8855 argument.
8856 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8857 and add flags argument. Check flags instead of __ldbl_is_dbl when
8858 deciding whether to set is_long_double.
8859 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8860 passing zero for flags argument.
8861 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8862
8863 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8864 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8865 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8866 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8867 variable names. Remove libc_hidden_def/libc_hidden_proto from
8868 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8869 longer called from within the library.
8870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8871 for __nldbl___vstrfmon_l, declare it explicitly.
8872
8873 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8874
346ef23f
ST
88752018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8876
8877 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8878 macros
8879 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8880 F_SETLK64, F_SETLKW64, respectively.
8881 * sysdeps/mach/hurd/f_setlk.c: New file.
8882 * sysdeps/mach/hurd/f_setlk.h: New file.
8883 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8884 f_setlk.
8885 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8886 (__libc_fcntl): Move non-flock operations to...
8887 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8888 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8889
de20b81a
PE
88902018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8891
5d8af156
PE
8892 mktime: DEBUG_MKTIME cleanup
8893 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8894 And it’s no longer needed now that glibc and Gnulib both have
8895 their own testing mechanisms for mktime.
8896 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8897
86aece3b
PE
8898 mktime: fix non-EOVERFLOW errno handling
8899 [BZ#23789]
8900 mktime was not properly reporting failures when the underlying
8901 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8902 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8903 The problem could happen on non-glibc platforms, with Gnulib.
8904 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8905 (tm_diff): ... this simpler function, which does not change errno.
8906 All callers changed to deal with errno themselves.
8907 (ranged_convert, __mktime_internal): Return failure immediately if
8908 the underlying function reports any failure other than EOVERFLOW.
8909 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8910 gap code fails.
8911
f6b3331b
PE
8912 mktime: fix bug with Y2038 DST transition
8913 [BZ#23789]
8914 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8915 mishandle a DST transition that jumps over the Y2038 boundary.
8916 No such DST transitions are known so this is only a theoretical
8917 bug, but we might as well do things right.
8918
efbdddc3
PE
8919 mktime: make more room for overflow
8920 [BZ#23789]
8921 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8922 This is so that we can add tm_diff results to a previous guess,
8923 which will be useful in a later patch.
8924
6c90d759
PE
8925 mktime: simplify offset guess
8926 [BZ#23789]
8927 * time/mktime.c (__mktime_internal): Omit excess precision.
8928
32c12f3f
PE
8929 mktime: new test for mktime failure
8930 [BZ#23789]
8931 Based on a test suggested by Albert Aribaud in:
8932 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8933 * time/Makefile (tests): Add bug-mktime4.
8934 * time/bug-mktime4.c: New file.
8935
de20b81a
PE
8936 mktime: fix EOVERFLOW bug
8937 [BZ#23789]
8938 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8939 Include libc-config.h, not config.h, for __set_errno.
8940 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8941
8c6c3fb0
ST
89422018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8943
8944 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8945 __attribute_copy__ to copy attributes from name. Drop static qualifier
8946 to avoid warnings about leaf attribute not having effect on static
8947 functions.
8948
6923f6db
FW
89492018-11-13 Florian Weimer <fweimer@redhat.com>
8950
8951 * malloc/malloc.c (fastbin_push_entry): New function.
8952 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8953 (REMOVE_FB): Remove macro.
8954 (_int_malloc): Use fastbin_pop_entry and reindent.
8955 (_int_free): Use fastbin_push_entry.
8956 (malloc_consolidate): Use atomic_exchange_acquire.
8957
53f5c659
JM
89582018-11-13 Joseph Myers <joseph@codesourcery.com>
8959
0c096dcf
JM
8960 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8961 alias attribute, not with strong_alias.
8962
9c4b457e
JM
8963 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8964 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8965 with additional parameter thread.
8966 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8967 in terms of __hidden_ver2.
8968 (hidden_tls_def): New macro.
8969 (libc_hidden_tls_def): Likewise.
8970 (rtld_hidden_tls_def): Likewise.
8971 (libm_hidden_tls_def): Likewise.
8972 (libmvec_hidden_tls_def): Likewise.
8973 (libresolv_hidden_tls_def): Likewise.
8974 (librt_hidden_tls_def): Likewise.
8975 (libdl_hidden_tls_def): Likewise.
8976 (libnss_files_hidden_tls_def): Likewise.
8977 (libnsl_hidden_tls_def): Likewise.
8978 (libnss_nisplus_hidden_tls_def): Likewise.
8979 (libutil_hidden_tls_def): Likewise.
8980 (libutil_hidden_tls_def): Likweise.
8981 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8982 libc_hidden_tls_def.
8983 (__sim_disabled_exceptions_thread): Likewise.
8984 (__sim_round_mode_thread): Likewise.
8985
53f5c659
JM
8986 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8987 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8988 copy attributes from name.
8989
092dfde6
JM
89902018-11-12 Joseph Myers <joseph@codesourcery.com>
8991
f578f97b
JM
8992 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8993 Use __attribute_copy__ to copy attributes from name.
8994
9a7c643a
JM
8995 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8996 with __hidden_ver1 call.
8997 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8998 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8999 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
9000 (__cosf): Do not declare here.
9001 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
9002 (__sincosf): Do not declare here.
9003 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
9004 (__sinf): Do not declare here.
9005
092dfde6
JM
9006 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
9007 (__BIG_ENDIAN): Likewise.
9008 (__BYTE_ORDER): Likewise.
9009 (strong_alias): Likewise.
9010 (_strong_alias): Likewise.
9011
1ecba1fa
FW
90122018-11-12 Florian Weimer <fweimer@redhat.com>
9013
9014 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
9015 function. Move after the definition of in_smallbin_range. Do not
9016 use __builtin_expect for paths that lead to a noreturn function.
9017 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
9018 because it is unclear whether this is in fact an unlikely
9019 condition.
9020 (_int_malloc, _int_free): Adjust.
9021 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
9022 variables.
9023 * malloc/arena.c (heap_trim): Likewise.
9024
434c34bd
ST
90252018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9026
9027 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9028 it, free it if needed.
9029 (reauthenticate): Test and use ccwdir.
9030 (child_init_port): In non-resetids case, test and use ccwdir.
9031 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
9032 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9033 * hurd/hurd/port.h (_hurd_port_move): New function.
9034 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9035 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
9036 * hurd/Versions (_hurd_port_move): Export function.
9037 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9038 symbol.
58bb655a
ST
9039 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9040 of dtablesize for allocating dtable_cloexec.
434c34bd 9041
1626a1cf
MS
90422018-11-09 Martin Sebor <msebor@redhat.com>
9043
9044 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9045 it's already defined.
9046 (_strong_alias): Use __attribute_copy__.
9047 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9048 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9049 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9050 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9051 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9052 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9053 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9054 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9055 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9056 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9057 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9058 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9059 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9060 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9061 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9062 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9063 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9064 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9065 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9066
968ed530
GG
90672018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9068
9069 * misc/tst-efgcvt.c: Include support/check.h and
9070 support/test-driver.c. Do not include test-skeleton.c.
9071 (error_count): Remove.
9072 (output_error): Replace increments to error_count with calls to
9073 support_record_failure.
9074 (output_r_error): Likewise.
9075 (special): Likewise.
9076 (do_test): Unconditionally return zero.
9077 (TEST_FUNCTION): Remove.
9078
c3ec0972
JM
90792018-11-09 Joseph Myers <joseph@codesourcery.com>
9080
91faaa93
JM
9081 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9082 not $(@D)/scratch.
9083 ($(linknamespace-header-tests)): Likewise.
9084
c3ec0972
JM
9085 * conform/conformtest.py: New file.
9086 * conform/conformtest.pl: Remove.
9087 * conform/GlibcConform.pm: Likewise.
9088 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9089 (KEYWORDS_C99): Likewise.
9090 (KEYWORDS): Likewise.
9091 * conform/Makefile ($(conformtest-header-tests)): Use
9092 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9093 option. Use --header instead of --headers.
9094 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9095 function entries.
9096 * conform/data/spawn.h-data: Likewise.
9097 * conform/data/fcntl.h-data (openat): Add space after function
9098 name.
9099 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9100 (wcscasecmp_l): Likewise.
9101 * conform/data/termios.h-data (c_cc): Add space after element
9102 name.
9103
43257c33
GG
91042018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9105
9106 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9107 instead of manually comparing and reporting mismatching strings.
9108 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9109 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9110
e5de3b5b
JM
91112018-11-08 Joseph Myers <joseph@codesourcery.com>
9112
9113 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9114 __ASSUME_SOCKETCALL.
9115 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9116 (__ASSUME_SOCKETCALL): Remove.
9117 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9118 (__ASSUME_SOCKETCALL): Likewise.
9119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9120 (__ASSUME_SOCKETCALL): Likewise.
9121 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9122 (__ASSUME_SOCKETCALL): Likewise.
9123 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9124 (__ASSUME_SOCKETCALL): Likewise.
9125 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9126 (__ASSUME_SOCKETCALL): Likewise.
9127 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9128 (__ASSUME_SOCKETCALL): Likewise.
9129
d524fa6c
L
91302018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9131
9132 [BZ #23509]
9133 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9134 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9135 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9136 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9137 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9138 lc_unknown.
9139
ac806026
AH
91402018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9141
9142 [BZ #17630]
9143 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9144
596cc360
JM
91452018-11-07 Joseph Myers <joseph@codesourcery.com>
9146
9147 [BZ #23867]
9148 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9149 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9151 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9152
00c86a37
AZ
91532018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9154
9155 * support/support_test_compare_string.c
9156 (support_test_compare_string): Fix printf format.
9157
1df872fd
FW
91582018-11-07 Florian Weimer <fweimer@redhat.com>
9159
9160 Implement TEST_COMPARE_STRING.
9161 * support/check.h (TEST_COMPARE_STRING): Define.
9162 (support_test_compare_string): Declare.
9163 * support/Makefile (libsupport-routines): Add
9164 support_test_compare_string.
9165 (tests): Add tst-test_compare_string.
9166 * support/support_test_compare_string.c: New file.
9167 * support/tst-test_compare_string.c: Likewise.
9168
295132ff
AS
91692018-11-07 Andreas Schwab <schwab@suse.de>
9170
9171 [BZ #23864]
9172 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9173 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9174 Undef.
9175
e143ceba
JM
91762018-11-06 Joseph Myers <joseph@codesourcery.com>
9177
9178 [BZ #23862]
9179 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9180 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9181 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9182 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9183 Likewise.
9184
4a938cb2
FW
91852018-11-06 Florian Weimer <fweimer@redhat.com>
9186
9187 [BZ #17405]
9188 * posix/Makefile (routines): Add spawn_faction_addchdir.
9189 (tests): Add tst-spawn-chdir.
9190 * posix/Versions (GLIBC_2.29): Add
9191 posix_spawn_file_actions_addchdir_np.
9192 * posix/spawn_faction_addchdir.c: New file.
9193 * posix/spawn_faction_destroy.c
9194 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9195 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9196 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9197 chdir_action.
9198 * posix/tst-spawn-chdir.c: New file.
9199 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9200 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9201 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9202 posix_spawn_file_actions_addchdir_np.
9203 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9204 Likewise.
9205 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9206 Likewise.
9207 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9208 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9209 Likewise.
9210 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9211 Likewise.
9212 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9213 Likewise.
9214 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9215 Likewise.
9216 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9217 Likewise.
9218 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9219 Likewise.
9220 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9221 (GLIBC_2.29): Likewise.
9222 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9223 (GLIBC_2.29): Likewise.
9224 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9225 (GLIBC_2.29): Likewise.
9226 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9227 (GLIBC_2.29): Likewise.
9228 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9229 Likewise.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9231 (GLIBC_2.29): Likewise.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9233 (GLIBC_2.29): Likewise.
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9235 (GLIBC_2.29): Likewise.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9237 (GLIBC_2.29): Likewise.
9238 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9239 Likewise.
9240 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9241 Likewise.
9242 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9243 Likewise.
9244 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9245 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9246 Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9248 Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9250 Likewise.
9251 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9252 Likewise.
9253
7597b0c7
GG
92542018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9255
9256 * misc/Makefile (tests): Add tst-ldbl-error.
9257 * misc/tst-ldbl-error.c: New file.
9258
9771e6cb
GG
92592018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9260
9261 * misc/Makefile (tests): Add tst-ldbl-warn.
9262 * misc/tst-ldbl-warn.c: New file.
9263
2c03961f
GG
92642018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9265
9266 * argp/Makefile (tests): Add tst-ldbl-argp.
9267 * argp/tst-ldbl-argp.c: New file.
9268
6d6ee046
AS
92692018-11-05 Arjun Shankar <arjun@redhat.com>
9270
9271 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9272 __gconv_path_elem and call __gconv_get_path unconditionally.
9273
bd3b0fba
AS
92742018-11-05 Andreas Schwab <schwab@suse.de>
9275
9276 [BZ #22927]
9277 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9278 creating the first helper thread failed.
9279
2e96e980
ST
92802018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9281
9282 * sysdeps/mach/hurd/msync.c: New file.
9283
6e36266c
FW
92842018-11-02 Florian Weimer <fweimer@redhat.com>
9285
9286 * support/shell-container.c (copy_func): Call
9287 support_copy_file_range instead of copy_file_range to support
9288 cross-device copies.
9289
599f7bee
FW
92902018-11-02 Florian Weimer <fweimer@redhat.com>
9291
9292 * support/test-container.c: Include <libc-pointer-arith.h> for
9293 ALIGN_UP.
9294
ff48ea67
ZL
92952018-11-01 Zong Li <zong@andestech.com>
9296
af1d5782
ZL
9297 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9298 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9299 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9300 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9301
ff48ea67
ZL
9302 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9303 variable to avoid overlap arguments.
9304
daea71c2
JM
93052018-11-01 Joseph Myers <joseph@codesourcery.com>
9306
eac4405a
JM
9307 * posix/bug-regex22.c (main): Use puts with distinct error
9308 messages for unexpected success of re_compile_pattern, not printf
9309 with NULL argument to %s.
9310
6f30e59f
JM
9311 * stdio-common/bug22.c: Include <libc-diag.h>.
9312 (do_test): Disable -Wformat-overflow= warnings around fprintf
9313 calls outputting more than INT_MAX characters.
9314 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9315 around printf call with NULL %s argument.
9316
daea71c2
JM
9317 [BZ #23848]
9318 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9319 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9320 Undefine.
9321 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9322 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9323 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9324 (__ASSUME_SENDTO_SYSCALL): Likewise.
9325 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9326 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9327 [!__arch64__].
9328 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9329 (__ASSUME_CONNECT_SYSCALL): Likewise.
9330 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9331 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9332 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9333 Define.
9334 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9335 Likewise.
9336 [__LINUX_KERNEL_VERSION >= 0x040400]
9337 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9338 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9339 Remove.
9340 (listen): Likewise.
9341 (setsockopt): Likewise.
9342
8e3c00db
FN
93432018-11-01 Fredrik Noring <noring@nocrew.org>
9344
9345 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9346 with the ISA override.
9347
9c3dbdbe
RAE
93482018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9349
9350 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9351 #endif.
9352
e3a88b3e
ST
93532018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9354
a67377e7 9355 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 9356 translate the error message.
a67377e7
ST
9357 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9358 printing trailing whitespaces refused by git.
9359 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9360 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 9361 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 9362
3ca235ed
JM
93632018-10-30 Joseph Myers <joseph@codesourcery.com>
9364
9365 * conform/linknamespace.py: New file.
9366 * conform/linknamespace.pl: Remove file.
9367 * conform/Makefile ($(linknamespace-header-tests)): Use
9368 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9369 option.
9370
60708030
FW
93712018-10-30 Florian Weimer <fweimer@redhat.com>
9372
9373 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9374 memory leaks.
9375
a91e9301
FW
93762018-10-30 Florian Weimer <fweimer@redhat.com>
9377
9378 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9379
07da99aa
FW
93802018-10-30 Florian Weimer <fweimer@redhat.com>
9381
9382 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9383 support_blob_repeat.
9384
f5e7e959
FW
93852018-10-30 Florian Weimer <fweimer@redhat.com>
9386
9387 Avoid spurious test failures in stdlib/test-bz22786.
9388 * support/Makefile (libsupport-routines): Add blob_repeat.
9389 (tests): Add tst-support_blob_repeat.
9390 * support/blob_repeat.h: New file.
9391 * support/blob_repeat.c: Likewise.
9392 * support/tst-support_blob_repeat.c: Likewise.
9393 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9394 support_blob_repeat_allocate.
9395
2dd12baa
AS
93962018-10-30 Andreas Schwab <schwab@suse.de>
9397
9398 [BZ #23125]
9399 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9400 Don't use tail call.
9401 * elf/tst-unwind-main.c: New file.
9402 * elf/Makefile (tests): Add tst-unwind-main.
9403 (CFLAGS-tst-unwind-main.c): Define.
9404
6b5c8607 94052018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
9406
9407 [BZ #23791]
9408 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9409 n_cs_precedes to 0.
9410 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9411
c6982f7e
JM
94122018-10-29 Joseph Myers <joseph@codesourcery.com>
9413
954cf3c2
JM
9414 * conform/glibcconform.py: Do not import shutil.
9415 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9416 of mkdtemp.
9417
c6982f7e
JM
9418 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9419 critic_missing for versions before 3.4.
9420 * configure: Regenerated.
9421 * manual/install.texi (Tools for Compilation): Document
9422 requirement for Python to build glibc.
9423 * INSTALL: Regenerated.
9424 * Rules [PYTHON]: Make code unconditional.
9425 * benchtests/Makefile [PYTHON]: Likewise.
9426 * conform/Makefile [PYTHON]: Likewise.
9427 * manual/Makefile [PYTHON]: Likewise.
9428 * math/Makefile [PYTHON]: Likewise.
9429
46a7f24c
ST
94302018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9431
9432 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 9433 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 9434 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
9435 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9436 _hurd_intr_rpc_msg_about_to global point to start of controlled
9437 assembly snippet. Make it check canceled flag.
9438 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9439 the _hurd_intr_rpc_msg_about_to point.
9440 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9441 issue, remove cancel flag check.
46a7f24c 9442
e5b8756d
JM
94432018-10-26 Joseph Myers <joseph@codesourcery.com>
9444
9445 * scripts/build-many-glibcs.py: Remove compatibility for missing
9446 os.cpu_count and re.fullmatch.
9447
ba5b14c7
SN
94482018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9449
9450 [BZ #23822]
9451 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9452 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9453 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9454
fe61f17c
JM
94552018-10-25 Joseph Myers <joseph@codesourcery.com>
9456
9457 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9458 macro.
9459
7c5e34d7
FW
94602018-10-25 Florian Weimer <fweimer@redhat.com>
9461
9462 [BZ #23562]
9463 [BZ #23821]
9464 XFAIL siginfo_t si_band conform test on sparc64.
9465 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9466 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9467 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9468 (conformtest-xfail-conds): Add sparc64-linux.
9469 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9470 sparc64.
9471 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9472
5b784e88
JM
94732018-10-25 Joseph Myers <joseph@codesourcery.com>
9474
9475 * elf/elf.h (NT_MIPS_DSP): New macro.
9476 (NT_MIPS_FP_MODE): Likewise.
9477
41432ebe
ZL
94782018-10-25 Zong Li <zong@andestech.com>
9479
9480 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9481 name by adding the file extension (.so).
9482
d026efea
ST
94832018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9484
9485 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9486 (test-xfail-ISO11/threads.h/linknamespace,
9487 test-xfail-ISO11/threads.h/conform): Add.
9488
b71ac2b9
JM
94892018-10-24 Joseph Myers <joseph@codesourcery.com>
9490
9491 * math/gen-libm-test.py: Import os.
9492 (ALL_FLOATS_MANUAL): New constant.
9493 (ALL_FLOATS_SUFFIX): Likewise.
9494 (Ulps.all_functions): New function.
9495 (real_all_ulps): Likewise.
9496 (generate_err_table_sub): Likewise.
9497 (generate_err_table): Likewise.
9498 (main): Handle -s and -m options.
9499 * manual/libm-err-tab.pl: Remove.
9500 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9501 instead of libm-err-tab.pl.
9502 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9503 != no].
9504 * manual/install.texi (Tools for Compilation): Document
9505 requirement for Python to build manual.
9506 * INSTALL: Regenerated.
9507
6b5c8607 95082018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
9509
9510 * bits/time64.h: New file.
9511 * include/time.h: Replace internal_time_t with __time64_t.
9512 * posix/bits/types (__time64_t): Add.
9513 * stdlib/Makefile: Add bits/time64.h to includes.
9514 * time/tzfile.c: Replace internal_time_t with __time64_t.
9515
97d91fcc 95162018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
9517
9518 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9519 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9520 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9521 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9522 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9523 prototype.
9524 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9525 * posix/spawn_faction_addclose.c
9526 (__posix_spawn_file_actions_addclose): Add hidden definition.
9527 * posix/spawn_faction_adddup2.c
9528 (__posix_spawn_file_actions_adddup2): Likewise.
9529 * posix/spawn_faction_destroy.c
9530 (__posix_spawn_file_actions_destroy): Likewise.
9531 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9532 Likewise.
9533 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9534 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9535 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9536 Likewise.
9537 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9538 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9539 Likewise.
9540
2954daf0
AS
95412018-10-24 Andreas Schwab <schwab@suse.de>
9542
9543 [BZ #18093]
9544 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9545 format cache.
9546 * elf/cache.c (print_cache): Likewise.
9547
6b5c8607 95482018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
9549
9550 * bits/timesize.h: New file.
9551 * stdlib/Makefile (headers): Add bits/timesize.h.
9552 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9553 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9554 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9555 (__SEM_PAD_AFTER_TIME): Likewise.
9556 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9557 (__SHM_PAD_AFTER_TIME): Likewise.
9558 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9559 (__MSQ_PAD_BEFORE_TIME): Likewise.
9560 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9561 (__SEM_PAD_BEFORE_TIME): Likewise.
9562 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9563 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9564 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
9565 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9566 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9567 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
9568 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9569 (__SEM_PAD_BEFORE_TIME): Likewise.
9570 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9571 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9572 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9573 (__MSQ_PAD_BEFORE_TIME): Likewise.
9574 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9575 (__SEM_PAD_BEFORE_TIME): Likewise.
9576 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9577 (__SHM_PAD_BEFORE_TIME): Likewise.
9578 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9579 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9580 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9581
7cc65773
L
95822018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9583
9584 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9585 USE_RDTSCP is defined.
9586 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9587 USE_RDTSCP is defined.
9588
c3d8dc45
AZ
95892018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9590
18ad0de6
AZ
9591 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9592 defined.
9593
c3d8dc45
AZ
9594 [BZ #23709]
9595 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9596 independently of other flags.
9597
f1034472
FW
95982018-10-23 Florian Weimer <fweimer@redhat.com>
9599
9600 * time/tst-mktime2.c (N_STRINGS): Remove.
9601 (set_timezone): New function.
9602 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9603 (mktime_test1): Report localtime failure and check errno value.
9604 Use TEST_COMPARE.
9605 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9606 (do_test): Remove alarm call. Use set_timezone and array_length.
9607
367d7cc2
AS
96082018-10-23 Andreas Schwab <schwab@suse.de>
9609
9610 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9611 (__start_context): Use END instead of PSEUDO_END.
9612
be8ff03f
JM
96132018-10-22 Joseph Myers <joseph@codesourcery.com>
9614
029ad711
JM
9615 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9616 version to 4.19.
9617
8190520f
JM
9618 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9619 version to 4.19.
9620
be8ff03f
JM
9621 [BZ #23793]
9622 * wcsmbs/c32rtomb.c: New file.
9623 * wcsmbs/mbrtoc32.c: Likewise.
9624 * wcsmbs/tst-c32-state.c: Likewise.
9625 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9626 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9627 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9628 (tests): Add tst-c32-state.
9629 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9630 $(gen-locales).
9631
2dd8e58c
L
96322018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9633
9634 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9635 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9636
d0a74159
JM
96372018-10-19 Joseph Myers <joseph@codesourcery.com>
9638
9639 [BZ #23794]
9640 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9641 pair and return 0 in that case, and use saved character to
9642 interpret following character.
9643 * wcsmbs/tst-c16-surrogate.c: New file.
9644 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9645 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9646 Depend on $(gen-locales)
9647
f997b4be
IYM
96482018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9649
9650 [BZ #23562]
9651 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9652 (struct siginfo_t): Use correct type for si_band.
9653
53b2bb87
FW
96542018-10-19 Florian Weimer <fweimer@redhat.com>
9655
9656 [BZ #23689]
9657 * resource/bits/types/struct_rusage.h (struct rusage): Update
9658 comment on struct. Remove extraneous field comment.
9659
0a271c8f
DM
96602018-10-18 David S. Miller <davem@davemloft.net>
9661
94a3a27f
DM
9662 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9663 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9664 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9665 sysdep_routines in subdir elf.
9666 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9667 version for __vdso_clock_gettime.
9668 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9669 Define.
9670 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9671 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9672
0a271c8f
DM
9673 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9674
72771e53
L
96752018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 * sysdeps/i386/init-arch.h: Removed.
9678 * sysdeps/i386/i586/init-arch.h: Likewise.
9679 * sysdeps/i386/i686/init-arch.h: Likewise.
9680 * sysdeps/i386/i686/hp-timing.h: Likewise.
9681 * sysdeps/x86_64/hp-timing.h: Likewise.
9682 * sysdeps/i386/isa.h: New file.
9683 * sysdeps/i386/i586/isa.h: Likewise.
9684 * sysdeps/i386/i686/isa.h: Likewise.
9685 * sysdeps/x86_64/isa.h: Likewise.
9686 * sysdeps/x86/hp-timing.h: New file.
9687 * sysdeps/x86/init-arch.h: Include <isa.h>.
9688
c2b7ccad
JM
96892018-10-17 Joseph Myers <joseph@codesourcery.com>
9690
9691 * math/libm-test-pow.inc (pow_test_data): Do not allow
9692 divide-by-zero exception for pow(+/- 0, -Inf).
9693
26756e57
ZW
96942018-10-17 Zack Weinberg <zackw@panix.com>
9695
9696 * manual/job.texi (Job Control is Optional): Remove node, as
9697 job control has not been optional in quite some time.
9698 (Job Control): Mention briefly that systems older than
9699 POSIX.1-2001 might not support job control.
9700 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9701 defined on systems conforming to POSIX.1-2001.
9702
c5288d37
AS
97032018-10-17 Arjun Shankar <arjun@redhat.com>
9704
9705 [BZ #22062]
9706 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9707 indentation.
9708 * (__gconv_read_conf): Mark function static.
9709 * (once): New static variable.
9710 * (__gconv_load_conf): New function.
9711 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9712 * iconv/gconv_db.c (once): Remove static variable.
9713 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9714 __gconv_read_conf.
9715 * (__gconv_find_transform): Likewise.
9716 * iconv/tst-iconv-mt.c: New test.
9717 * iconv/Makefile: Add tst-iconv_mt.
9718
8c8d2a8a
JM
97192018-10-17 Joseph Myers <joseph@codesourcery.com>
9720
9721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
9722 bits/shm-pad.h.
9723 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9724 (shmatt_t): Define as __syscall_ulong_t.
9725 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9726 and [__SHM_PAD_AFTER_TIME].
9727 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9728 Define shm_segsz and associated padding based on
9729 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9730 Use __syscall_ulong_t instead of unsigned long int.
9731 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9732 unsigned long int.
9733 [__USE_MISC] (struct shm_info): Likewise.
9734 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9735 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9736 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9737 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9738 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9739 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9740 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9741 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9742 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9743 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9744 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9745
9746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
9747 bits/shmlba.h.
9748 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9749 (SHMLBA): Remove macro.
9750 (__getpagesize): Remove function declaration.
9751 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9752 <bits/shmlba.h>.
9753 (SHMLBA): Remove macro.
9754 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9755 <bits/shmlba.h>.
9756 (SHMLBA): Remove macro.
9757 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9758 <bits/shmlba.h>.
9759 (SHMLBA): Remove macro.
9760 (__getpagesize): Remove function declaration.
9761 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9762 <bits/shmlba.h>.
9763 (SHMLBA): Remove macro.
9764 (__getshmlba): Remove function declaration.
9765 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9766 (SHMLBA): Remove macro.
9767 (__getpagesize): Remove function declaration.
9768 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9769 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9770 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9771 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9772 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9773 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9774 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9775 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9776 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9777 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9778
403b4feb
SL
97792018-10-17 Stefan Liebler <stli@linux.ibm.com>
9780
9781 [BZ #23275]
9782 * nptl/tst-mutex10.c: New File.
9783 * nptl/Makefile (tests): Add tst-mutex10.
9784 (tst-mutex10-ENV): New variable.
9785 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9786 Ensure that elision path is used if elision is available.
9787 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9788 Likewise.
9789 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9790 Likewise.
9791 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9792 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9793 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9794 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9795 Likewise.
9796 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9797 (__pthread_mutex_cond_lock_adjust): Likewise.
9798 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9799 Likewise.
9800 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9801 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9802 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9803 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9804 Add comments.
9805 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9806 Use atomic_load_relaxed and atomic_store_relaxed.
9807 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9808 Use atomic_store_relaxed.
9809
ce5a7de6
AS
98102018-10-17 Andreas Schwab <schwab@suse.de>
9811
9812 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9813 * crypt/badsalttest.c (TIMEOUT): Likewise.
9814 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9815 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9816 * io/test-lfs.c (TIMEOUT): Likewise.
9817 * libio/tst-atime.c (TIMEOUT): Likewise.
9818 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9819 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9820 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9821 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9822 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9823 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9824 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9825 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9826 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9827 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9828 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9829 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9830 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9831 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9832 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9833 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9834 * nptl/tst-once2.c (TIMEOUT): Likewise.
9835 * nptl/tst-once3.c (TIMEOUT): Likewise.
9836 * nptl/tst-once4.c (TIMEOUT): Likewise.
9837 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9838 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9839 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9840 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9841 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9842 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9843 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9844 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9845 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9846 * posix/tst-chmod.c (TIMEOUT): Likewise.
9847 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9848 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9849 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9850 * posix/tst-regex2.c (TIMEOUT): Likewise.
9851 * posix/tst-waitid.c (TIMEOUT): Likewise.
9852 * rt/tst-aio.c (TIMEOUT): Likewise.
9853 * rt/tst-aio10.c (TIMEOUT): Likewise.
9854 * rt/tst-aio4.c (TIMEOUT): Likewise.
9855 * rt/tst-aio5.c (TIMEOUT): Likewise.
9856 * rt/tst-aio6.c (TIMEOUT): Likewise.
9857 * rt/tst-aio64.c (TIMEOUT): Likewise.
9858 * rt/tst-aio7.c (TIMEOUT): Likewise.
9859 * rt/tst-aio9.c (TIMEOUT): Likewise.
9860 * rt/tst-clock.c (TIMEOUT): Likewise.
9861 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9862 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9863 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9864 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9865 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9866 * rt/tst-timer4.c (TIMEOUT): Likewise.
9867 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9868 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9869 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9870 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9871 * time/tst-ftime.c (TIMEOUT): Likewise.
9872 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9873
6b5c8607 98742018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
9875
9876 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9877 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9878 for thunderX2.
9879
bcdb1bfa
JM
98802018-10-15 Joseph Myers <joseph@codesourcery.com>
9881
9882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9883 bits/sem-pad.h.
9884 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9885 instead of <bits/wordsize.h>.
9886 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9887 and [__SEM_PAD_AFTER_TIME].
9888 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9889 __syscall_ulong_t instead of unsigned long int.
9890 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9891 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9892 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9894 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9895 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9896 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9897 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9898 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9899 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9900 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9901
f4efbdfb
PE
99022018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9903
620a5d4c
PE
9904 regex: simplify by using intprops.h
9905 [BZ#23744]
9906 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9907 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9908 intprops.h defines them.
9909
f4efbdfb
PE
9910 regex: __builtin_expect → __glibc_unlikely
9911 [BZ#23744]
9912 This refactoring was prompted by a problem when the regex code is
9913 used as part of Gnulib and when the builder’s compiler does not grok
9914 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9915 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9916 Although this refactoring does not fix the problem directly,
9917 we might as well have Gawk use the now-preferred glibc style for when
9918 __builtin_expect is unavailable.
9919 * posix/regex_internal.h (BE): Remove.
9920 All uses replaced by __glibc_unlikely or __glibc_likely.
9921
9f9feb6d
JM
99222018-10-11 Joseph Myers <joseph@codesourcery.com>
9923
9924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9925 bits/msq-pad.h.
9926 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9927 instead of <bits/wordsize.h>.
9928 (msgqnum_t): Define as __syscall_ulong_t.
9929 (msglen_t): Likewise.
9930 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9931 and [__MSQ_PAD_AFTER_TIME].
9932 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9933 __syscall_ulong_t instead of unsigned long int.
9934 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9935 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9936 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9937 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9938 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9939 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9940 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9941 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9942 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9944 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9945
b9c0f6c1
JM
99462018-10-10 Joseph Myers <joseph@codesourcery.com>
9947
2a4b25fa
JM
9948 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9949 (struct shmid_ds): Condition padding after time fields on
9950 [__WORDSIZE == 32].
9951 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9952 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9953 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9954
19e62f26
JM
9955 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9956 (struct semid_ds): Condition padding after time fields on
9957 [__WORDSIZE == 32].
9958 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9959 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9960 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9961 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9962
b9c0f6c1
JM
9963 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9964 (struct msqid_ds): Condition padding after time fields on
9965 [__WORDSIZE == 32].
9966 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9967 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9968 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9969 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9970
97785a61
SN
99712018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9972
9973 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9974
ed643089
SN
99752018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9976
9977 * libio/tst-readline.c (TIMEOUT): Define.
9978
5a580643
PE
99792018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9980
9981 mktime fix for Gnulib + coreutils
9982 [BZ#23745]
9983 This fix affects only Gnulib. Problem discovered when
9984 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9985 * time/mktime.c:
9986 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9987 Do not define since it is not used. Defining an unused static
9988 function prompts a warning from GCC when Coreutils is configured
9989 with --enable-gcc-warnings.
9990
c892ae04
LS
99912018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9992
9993 * benchtests/scripts/compare_bench.py (main): set float type on
9994 threshold argument.
9995
a68ec8ea
RL
99962018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9997
9998 [BZ #23740]
9999 * localedata/locales/kl_GL (mon): Update, the relative case.
10000 (alt_mon): Add, fill with month names in the nominative case.
10001 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
10002 (d_fmt): Set to "%b %d %Y".
10003
a1987621
JM
100042018-10-04 Joseph Myers <joseph@codesourcery.com>
10005
47c49251
JM
10006 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
10007 <bits/mman-linux.h>.
10008 (PROT_READ): Don't define here.
10009 (PROT_WRITE): Likewise.
10010 (PROT_EXEC): Likewise.
10011 (PROT_NONE): Likewise.
10012 (PROT_GROWSDOWN): Likewise.
10013 (PROT_GROWSUP): Likewise.
10014 (MAP_SHARED): Likewise.
10015 (MAP_PRIVATE): Likewise.
10016 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
10017 [__USE_MISC] (MAP_FILE): Likewise.
10018 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
10019 [__USE_MISC] (MAP_ANON): Likewise.
10020 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
10021 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
10022 (MCL_CURRENT): Likewise.
10023 (MCL_FUTURE): Likewise.
10024 (MCL_ONFAULT): Likewise.
10025 [__USE_MISC] (MADV_NORMAL): Likewise.
10026 [__USE_MISC] (MADV_RANDOM): Likewise.
10027 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10028 [__USE_MISC] (MADV_WILLNEED): Likewise.
10029 [__USE_MISC] (MADV_DONTNEED): Likewise.
10030 [__USE_MISC] (MADV_FREE): Likewise.
10031 [__USE_MISC] (MADV_REMOVE): Likewise.
10032 [__USE_MISC] (MADV_DONTFORK): Likewise.
10033 [__USE_MISC] (MADV_DOFORK): Likewise.
10034 [__USE_MISC] (MADV_HWPOISON): Likewise.
10035 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10036 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10037 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10038 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10039 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10040 (__MAP_ANONYMOUS): New macro.
10041 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10042 <bits/mman-linux.h> inclusion.
10043 (MAP_FIXED): Likewise.
10044 (MS_SYNC): Likewise.
10045 (MS_ASYNC): Likewise.
10046 (MS_INVALIDATE): Likewise.
10047 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10048 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10049 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10050 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10051 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10052 [__USE_MISC] (MADV_DODUMP): Likewise.
10053 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10054 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10055
a1987621
JM
10056 [BZ #23735]
10057 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10058 Define.
10059 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10060 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10061 Add test-nldbl-redirect.
10062 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10063 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10064 $(objpfx)libnldbl_nonshared.a.
10065
e7624d70
SL
100662018-10-04 Stefan Liebler <stli@linux.ibm.com>
10067
10068 * support/support.h (support_objdir_elf_ldso): New variable.
10069 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10070 * support/Makefile (CFLAGS-support_paths.c): Add definition
10071 for OBJDIR_ELF_LDSO_PATH.
10072 * support/test-container.c (main): Search for the ld.so
10073 which is also used by the testsuite.
10074
dae3ed95
RL
100752018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10076
10077 [BZ #20209]
10078 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10079 should be "sap" rather than "sab".
10080 (day): Fix spelling of Sunday, should be "sapaat" rather than
10081 "sabaat".
10082
f346b5b3
JM
100832018-10-02 Joseph Myers <joseph@codesourcery.com>
10084
10085 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10086
4a06ceea
MJ
100872018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10088
10089 [BZ #19444]
10090 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10091 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10092 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10093
a06fc4a5
AZ
100942018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10095
10096 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10097
a1ccc065
L
100982018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10101 Add -mrtm.
10102 (CFLAGS-elision-unlock.c): Likewise.
10103 (CFLAGS-elision-timed.c): Likewise.
10104 (CFLAGS-elision-trylock.c): Likewise.
10105 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10106
0b727ed4
AZ
101072018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10108
10109 [BZ #21037]
10110 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10111 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10112 new fd_to_filename interface.
10113 * libio/freopen64.c (freopen64): Likewise.
10114 * libio/tst-memstream.h: New file.
10115 * libio/tst-memstream4.c: Likewise.
10116 * libio/tst-wmemstream4.c: Likewise.
10117 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10118 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10119 and remove internal dynamic allocation.
10120
d0e91e8c
JM
101212018-10-01 Joseph Myers <joseph@codesourcery.com>
10122
10123 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10124 (MREMAP_MAYMOVE): Do not define here.
10125 [__USE_GNU] (MREMAP_FIXED): Likewise.
10126 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10127 (MREMAP_MAYMOVE): Define here instead.
10128 [__USE_GNU] (MREMAP_FIXED): Likewise.
10129 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10130 (MREMAP_MAYMOVE): Remove.
10131 [__USE_GNU] (MREMAP_FIXED): Likewise.
10132
c52944e8
JM
101332018-09-28 Joseph Myers <joseph@codesourcery.com>
10134
10135 * math/fromfp.h: Do not include <math_private.h>.
10136 * math/s_cacosh_template.c: Likewise.
10137 * math/s_casin_template.c: Likewise.
10138 * math/s_casinh_template.c: Likewise.
10139 * math/s_ccos_template.c: Likewise.
10140 * math/s_cproj_template.c: Likewise.
10141 * math/s_fdim_template.c: Likewise.
10142 * math/s_fmaxmag_template.c: Likewise.
10143 * math/s_fminmag_template.c: Likewise.
10144 * math/s_iseqsig_template.c: Likewise.
10145 * math/s_ldexp_template.c: Likewise.
10146 * math/s_nextdown_template.c: Likewise.
10147 * math/w_log1p_template.c: Likewise.
10148 * math/w_scalbln_template.c: Likewise.
10149 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10150 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10151 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10152 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10153 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10154 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10155 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10156 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10157 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10158 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10159 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10160 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10161 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10162 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10163 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10164 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10165 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10170 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10171 * sysdeps/ieee754/k_standardf.c: Likewise.
10172 * sysdeps/ieee754/k_standardl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10175 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10177 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10181 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10182 * sysdeps/ieee754/s_signgam.c: Likewise.
10183 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10184 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10185 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10186 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10187 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10188 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10189 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10190 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10191 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10192 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10193 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10194 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10195 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10196 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10197 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10198 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10199 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10200 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10201 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10202 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10203 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10204 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10205 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10206 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10207 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10208 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10209 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10210 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10211 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10212 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10213 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10214 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10215 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10216 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10217 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10218 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10219 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10220 <math_private.h>.
10221 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10222
7b1f9406
L
102232018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10224
10225 [BZ #23716]
10226 * sysdeps/i386/dl-cet.c: Removed.
10227 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10228 prototype.
10229 (_dl_runtime_profile_shstk): Likewise.
10230 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10231 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10232
7a16bdbb
AZ
102332018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10234
10235 [BZ #23579]
10236 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10237 do_test_with_invalid_iov): New tests.
10238 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10239 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10240 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10241 errno is ENOSYS.
10242 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10243 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10244 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10245
9755bc46
JM
102462018-09-27 Joseph Myers <joseph@codesourcery.com>
10247
81dca813
JM
10248 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10249 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10250 (MATH_REDIRECT_BINARY_ARGS): New macro.
10251 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10252 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10253 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10254 header inclusion.
10255 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10257 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10258 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10263 Likewise.
10264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10265 Likewise.
10266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10268 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10269 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10271 Likewise.
10272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10273 Likewise.
10274 * sysdeps/generic/math_private_calls.h
10275 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10276 Do not declare and define as an inline function.
10277 * math/divtc3.c (__divtc3): Use copysign functions instead of
10278 __copysign variants.
10279 * math/multc3.c (__multc3): Likewise.
10280 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10281 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10282 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10283 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10284 Likewise.
10285 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10286 (__ieee754_yn): Likewise.
10287 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10288 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10289 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10290 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10291 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10292 (__sin): Likewise.
10293 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10294 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10295 Likewise.
10296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10297 Likewise.
10298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10299 Likewise.
10300 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10301 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10302 Likewise.
10303 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10304 (__ieee754_ynf): Likewise.
10305 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10306 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10307 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10308 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10309 Likewise.
10310 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10311 (__ieee754_ynl): Likewise.
10312 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10313 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10315 Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10317 (__ieee754_ynl): Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10322 Likewise.
10323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10324 (__ieee754_ynl)
10325 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10326 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10327 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10328 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10329 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10330
9755bc46
JM
10331 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10332 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10333 using MATH_REDIRECT.
10334 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10335 header inclusion.
10336 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10339 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10340 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10347 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10348 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10350 (round): Redirect to __round.
10351 (__roundl): Call round instead of __round.
10352 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10353 Remove macro.
10354 [_ARCH_PWR5X] (__roundf): Likewise.
10355 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10356 functions instead of __round variants.
10357 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10358 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10359 Likewise.
10360 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10361 Likewise.
10362 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10363 Likewise.
10364 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10366 __lroundl.
10367 (__ieee754_expl): Call roundl instead of __roundl.
10368
f841c97e
AS
103692018-09-27 Andreas Schwab <schwab@suse.de>
10370
10371 [BZ #23717]
10372 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10373 (do_test): Make st1 static.
10374
6ca8284e
AS
103752018-09-26 Andreas Schwab <schwab@suse.de>
10376
10377 [BZ #23707]
10378 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10379 * elf/Makefile (tests): Add tst-unwind-ctor.
10380 (modules-names): Add tst-unwind-ctor-lib.
10381 ($(objpfx)tst-unwind-ctor): Depend on
10382 $(objpfx)tst-unwind-ctor-lib.so.
10383
61d8b5fe
JM
103842018-09-26 Joseph Myers <joseph@codesourcery.com>
10385
10386 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10387 file. Most contents moved from ....
10388 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10389 and include <bits/mman-map-flags-generic.h>.
10390 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10391 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10392 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10393 <bits/mman-map-flags-generic.h>.
10394 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10395 macros defined in <bits/mman-map-flags-generic.h>.
10396 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10397 <bits/mman-map-flags-generic.h>.
10398 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10399 defined in <bits/mman-map-flags-generic.h>.
10400
46341286
AS
104012018-09-26 Andreas Schwab <schwab@suse.de>
10402
10403 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10404 output.
10405
b5c45e83
AZ
104062018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10407 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10408 Fangrui Song <maskray@google.com>
10409
10410 [BZ #20480]
10411 * config.make.in (have-textrel_ifunc): New define.
10412 * configure.ac: Add check if linker supports textrel relocation with
10413 ifunc.
10414 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10415 tst-ifunc-textrel.
10416 (CFLAGS-tst-ifunc-textrel.c): New rule.
10417 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10418 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10419 * elf/tst-ifunc-textrel.c: New file.
10420
8ea4d2b7
JM
104212018-09-25 Joseph Myers <joseph@codesourcery.com>
10422
d62f9ec0
JM
10423 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10424 <bits/procfs-prregset.h>.
10425 (prgregset_t): Define using __prgregset_t.
10426 (prfpregset_t): Define using __prfpregset_t.
10427 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10428 (sysdep_headers): Add bits/procfs-prregset.h.
10429 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10430 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10431 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10432 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10433
d0d8eb43
JM
10434 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10435 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10436 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10437 pr_uid and pr_gid.
10438 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10439 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10440 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10441 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10442 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10443 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10444 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10445 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10446 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10447 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10448 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10449 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10450 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10451 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10453 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10454 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10455 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10456 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10457 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10458 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10459 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10460 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10461 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10462
8ea4d2b7
JM
10463 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10464 AArch64 version. Include <bits/procfs.h>.
10465 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10466 (sysdep_headers): Add bits/procfs.h.
10467 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10468 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10469 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10470 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10471 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10472 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10473 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10474 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10475 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10476 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10477 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10478 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10479 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10480 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10481 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10482 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10483 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10484
c7027166
AZ
104852018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10486
10487 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10488 Use libsupport.
10489
335a3b0a
AS
104902018-09-25 Arjun Shankar <arjun@redhat.com>
10491
10492 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10493 (__gconv_max_path_elem_len): Likewise.
10494 (__gconv_nmodules): Likewise.
10495 (__gconv_get_path): Likewise.
10496 (path_elem): Move to ...
10497 * iconv/gconv_conf.c: ... here.
10498 (__gconv_get_path): Mark function static.
10499 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10500 * iconv/gconv_open.c: ... here.
10501
462d348c
AS
105022018-09-24 Andreas Schwab <schwab@suse.de>
10503
10504 * scripts/haveversions.awk: New file.
10505 * Makerules ($(common-objpfx)Versions.def)
10506 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10507 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10508 Move rules ...
10509 * Makeconfig ($(common-objpfx)Versions.def)
10510 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10511 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10512 ... here.
10513 ($(common-objpfx)Versions.mk): New rule. Include it.
10514 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10515 Emit error if build-obsolete-nsl = yes.
10516 * manual/install.texi (Configuring and compiling): Describe
10517 --enable-obsolete-nsl as unavaiable after version 2.28.
10518 * INSTALL: Regenerate.
10519
f0458cf4
AZ
105202018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10521
10522 * NEWS: Add note about new TLE support on powerpc64le.
10523 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10524 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10525 __ununsed1.
10526 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10527 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10528 * sysdeps/powerpc/powerpc32/sysdep.h,
10529 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10530 ABORT_TRANSACTION): Remove macros.
10531 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10533 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10535 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10536 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10537 usage.
10538 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10539
434d45fd
RL
105402018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10541
10542 [BZ #10425]
10543 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10544 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10545 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10546 which is the same as in it_IT.
10547 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10548 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10549
d90c9b1a
JM
105502018-09-20 Joseph Myers <joseph@codesourcery.com>
10551
7abf97be
JM
10552 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10553 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10554 using MATH_REDIRECT.
10555 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10556 header inclusion.
10557 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10559 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10560 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10561 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10562 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10567 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10568 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10569 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10570 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10573 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10574 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10575 (ceil): Redirect to __ceil.
10576 (floor): Redirect to __floor.
10577 (trunc): Redirect to __trunc.
10578 (__truncl): Call trunc instead of __trunc.
10579 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10580 Remove macro.
10581 [_ARCH_PWR5X] (__truncf): Likewise.
10582 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10583 trunc functions instead of __trunc variants.
10584 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10585 Likewise.
10586 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10587 Likewise.
10588 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10589 Likewise.
10590 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10591 Likewise.
10592
d90c9b1a
JM
10593 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10594 [__i586__ || __pentium__].
10595 [__i486__]: Handle explicitly.
10596 (HAS_CPUID): Define to 1 if above macros are undefined.
10597 (HAS_I586): Likewise.
10598 (HAS_I686): Likewise.
10599
db9a8ad4
FW
106002018-09-20 Florian Weimer <fweimer@redhat.com>
10601
10602 * misc/tst-gethostid.c: New file.
10603 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10604 (tst-gethostid): Link with -ldl.
10605
1214ba06
MY
106062018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10607
10608 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10609 value from gethostbyname_r.
10610
791b350d
CD
106112018-09-19 Carlos O'Donell <carlos@redhat.com>
10612
10613 * stdlib/tst-setcontext9.c (f1): Rename to...
10614 (f1a): ... this.
10615 (f1b): New function implementing lower half of f1 in alternate stack.
10616
8e6fd2bd
PE
106172018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10618
e1080e7e
PE
10619 Fix mktime localtime offset confusion
10620 [BZ #23603]
10621 * include/time.h (__mktime_internal): The localtime offset is now
10622 of type long int instead of time_t. This is the longstanding type
10623 in glibc, and it is more than enough to represent difference
10624 between localtime and gmtime even if it is 32 bits and time_t is
10625 64. Changing it now will let us avoid an unnecessary change when
10626 time_t is widened to 64 bits on 32-bit platforms.
10627 * time/mktime-internal.h (mktime_offset_t): Now long int.
10628
8e6fd2bd
PE
10629 Merge mktime, timegm from upstream Gnulib
10630 [BZ #23603][BZ #16346]
10631 This fixes some obscure problems with integer overflow.
10632 Although it looks scary, it is almost all a byte-for-byte copy
10633 from Gnulib, and the Gnulib code has been tested reasonably well.
10634 * include/intprops.h: New file, copied from Gnulib.
10635 * include/verify.h, time/mktime-internal.h:
10636 New tiny files, simplified from Gnulib.
10637 * time/mktime.c: Copy from Gnulib. This has the following changes:
10638 Do not include config.h if DEBUG_MKTIME is nonzero.
10639 Include stdbool.h, intprops.h, verify.h.
10640 Include string.h only if needed.
10641 Include stdlib.h on MS-Windows.
10642 Include mktime-internal.h.
10643 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10644 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10645 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10646 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10647 simplify later conditionals; default the others to zero. Use
10648 these conditionals to express only the code needed on the current
10649 platform. In uses of these conditionals, explicitly spell out how
10650 _LIBC affects things, so it’s easier to review from a glibc
10651 viewpoint.
10652 (WRAPV): Remove; no longer needed now that we have
10653 systematic overflow checking.
10654 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10655 compartmentalize tzset issues. Move system-dependent tzsettish
10656 code here from mktime.
10657 (verify): Remove; now done by verify.h. All uses changed.
10658 (long_int): Use a more-conservative definition, to avoid
10659 integer overflow.
10660 (SHR): Remove, replacing with ...
10661 (shr): New function, which means we needn’t worry about side
10662 effects in args, and conversion analysis is simpler.
10663 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10664 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10665 (time_t_avg, time_t_add_ok): Remove.
10666 (mktime_min, mktime_max): New constants.
10667 (leapyear, isdst_differ): Use bool for booleans.
10668 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10669 Use long_int, not time_t, for mktime differences.
10670 (long_int_avg): New function, replacing time_t_avg.
10671 INT_ADD_WRAPV replaces time_t_add_ok.
10672 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10673 All uses changed.
10674 (convert_time): New function.
10675 (ranged_convert): Use it.
10676 (__mktime_internal): Last arg now points to mktime_offset_t, not
10677 time_t. All uses changed. This is a no-op on glibc, where
10678 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10679 offset guess. Directly check for integer overflow instead of
10680 using a heuristic that works only 99.9...% of the time.
10681 Access *OFFSET only once, to avoid an unlikely race if the
10682 compiler delays a load and if this cascades into a signed integer
10683 overflow.
10684 (mktime): Move tzsettish code to my_tzset, and move
10685 localtime_offset to within mktime so that it doesn’t
10686 need a separate ifdef.
10687 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10688 instead of localtime.
10689 * time/timegm.c: Copy from Gnulib. This has the following changes:
10690 Include mktime-internal.h.
10691 [!_LIBC]: Include config.h and time.h. Do not include
10692 timegm.h or time_r.h. Make __mktime_internal a macro,
10693 and include mktime-internal.h to get its declaration.
10694 (timegm): Temporary is now mktime_offset_t, not time_t.
10695 This affects only Gnulib.
10696
83a552b0
WD
106972018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10698
10699 [BZ #23637]
10700 * string/test-strstr.c (pr23637): New function.
10701 (test_main): Add tests with longer needles.
10702 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10703 * string/strstr.c (AVAILABLE): Likewise.
10704
d7347278
SN
107052018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10706
10707 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10708
424c4f60
SN
107092018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10710
10711 * NEWS: Mention pow improvements.
10712 * math/Makefile (type-double-routines): Add e_pow_log_data.
10713 * sysdeps/generic/math_private.h (__exp1): Remove.
10714 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10715 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10716 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10717 contraction.
10718 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10719 (exp_inline): Remove.
10720 (__ieee754_exp): Only single double input is handled.
10721 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10722 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10723 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10724 (__pow_log_data): Define.
10725 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10726 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10727 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10728 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10729 contraction.
10730 (CFLAGS-e_pow-fma4.c): Likewise.
10731
e4e4fde5
PE
107322018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10733
dab9c348
PE
10734 Simplify tzfile fstat failure code
10735 [BZ #21716]
10736 * time/tzfile.c (__tzfile_read): Simplify slightly.
10737
e4e4fde5
PE
10738 Fix tzfile low-memory assertion failure
10739 [BZ #21716]
10740 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10741 when registering time zone abbreviations.
10742
50bc59ca
JM
107432018-09-18 Joseph Myers <joseph@codesourcery.com>
10744
d3a43e49
JM
10745 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10746 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10747 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10748 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10749 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10750 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10751 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10752 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10754
50bc59ca
JM
10755 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10756 __ceil.
10757 (__ceill): Call ceil instead of __ceil.
10758 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10759 __floor.
10760 (__floorl): Call floor instead of __floor.
10761
89983cb3
JM
107622018-09-17 Joseph Myers <joseph@codesourcery.com>
10763
71223ef9
JM
10764 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10765 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10766 using MATH_REDIRECT.
10767 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10768 header inclusion.
10769 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10772 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10776 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10781 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10782 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10785 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10786 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10787 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10788 Remove macro.
10789 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10790 functions instead of __ceil variants.
10791 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10793 Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10795 Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10797 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10798 Likewise.
10799 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10800 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10801
89983cb3
JM
10802 [BZ #21286]
10803 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10804 constant.
10805 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10806 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10807 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10808 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10809 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10810 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10811 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10812 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10813 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10814 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10815 (ILL_BADIADDR): Remove constant.
10816 (TRAP_BRANCH): Likewise.
10817 (TRAP_HWBKPT): Likewise.
10818
e44acb20
JM
108192018-09-14 Joseph Myers <joseph@codesourcery.com>
10820
3f7f1d18
JM
10821 [BZ #23656]
10822 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10823 Remove [_MIPS_SIM = _ABIN32] conditional case.
10824 (struct elf_prpsinfo): Likewise.
10825
d59f3e5e
JM
10826 [BZ #23649]
10827 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10828 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10829 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10830 Likewise.
10831 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10832 elf_prpsinfo): Likewise.
10833 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10834 elf_prpsinfo): Likewise.
10835 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10836 Likewise.
10837
f29b6f17
JM
10838 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10839 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10840 using MATH_REDIRECT.
10841 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10842 header inclusion.
10843 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10844 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10845 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10846 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10847 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10848 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10849 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10850 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10853 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10854 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10855 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10856 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10857 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10858 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10859 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10860 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10861 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10866 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10867 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10868 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10869 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10870 __rint variants.
10871 * math/e_scalbf.c (invalid_fn): Likewise.
10872 * math/e_scalbl.c (invalid_fn): Likewise.
10873 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10874 Likewise.
10875 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10876 Likewise.
10877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10878 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10880 Likewise.
10881 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10882 Likewise.
10883 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10884 Likewise.
10885 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10886 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10887
e44acb20
JM
10888 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10889 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10890 New macro.
10891 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10892 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10893 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10894 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10895 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10896 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10897 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10898 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10899 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10900 && !NO_MATH_REDIRECT] (floor): Likewise.
10901 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10902 header inclusion.
10903 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10906 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10907 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10910 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10915 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10916 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10919 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10920 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10921 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10922 Remove macro.
10923 [_ARCH_PWR5X] (__floorf): Likewise.
10924 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10925 inline function.
10926 [__SSE4_1__] (__floorf): Likewise.
10927 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10928 instead of __floor variants.
10929 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10930 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10931 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10932 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10933 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10934 * math/w_tgamma_compat.c (__tgamma): Likewise.
10935 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10936 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10937 * math/w_tgammal_compat.c (__tgammal): Likewise.
10938 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10940 Likewise.
10941 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10943 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10944 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10945 Likewise.
10946 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10947 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10948 Likewise.
10949 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10950 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10951 Likewise.
10952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10954 Likewise.
10955 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10956 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10958 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10959 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10960 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10961
221e4bab
JM
109622018-09-12 Joseph Myers <joseph@codesourcery.com>
10963
10964 * elf/Makefile (modules-names-tests): New variable.
10965
3e08ff54
SN
109662018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10967
10968 * NEWS: Mention log2 improvements.
10969 * math/Makefile (type-double-routines): Add e_log2_data.
10970 * sysdeps/i386/fpu/e_log2_data.c: New file.
10971 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10972 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10973 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10974 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10975 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10976 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10977
f41b0a43
SN
109782018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10979
10980 * NEWS: Mention log improvement.
10981 * math/Makefile (type-double-routines): Add e_log_data.
10982 * sysdeps/i386/fpu/e_log_data.c: New file.
10983 * sysdeps/ia64/fpu/e_log_data.c: New file.
10984 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10985 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10986 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10987 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10988 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10989 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10990
5a274db4
L
109912018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10992 Xuepeng Guo <xuepeng.guo@intel.com>
10993
10994 [BZ #23606]
10995 * sysdeps/i386/start.S: Include <sysdep.h>
10996 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10997 enabled. Add cfi_undefined (eip).
10998
b1176270
JM
109992018-09-11 Joseph Myers <joseph@codesourcery.com>
11000
4e7fbdd7
JM
11001 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
11002 (MOVQ): Likewise.
11003 (EXTRACT_WORDS64): Likewise.
11004 (INSERT_WORDS64): Likewise.
11005 (GET_FLOAT_WORD): Likewise.
11006 (SET_FLOAT_WORD): Likewise.
11007
b1176270
JM
11008 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
11009 argument.
11010 (Config.build_gcc): Use --disable-libsanitizer for first GCC
11011 build, but not for second build if --full-gcc. Use
11012 --enable-languages=all for second build if --full-gcc.
11013 (get_parser): Add --full-gcc option.
11014 (main): Update call to Context.
11015
527f355e
RL
110162018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
11017
11018 [BZ #10797]
11019 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
11020 Single Quotation Mark).
11021 (thousands_sep): Likewise.
11022 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
11023 * localedata/locales/it_IT (thousands_sep): Use ".".
11024 (grouping): Use "3;3".
11025
7244f13d
JM
110262018-09-10 Joseph Myers <joseph@codesourcery.com>
11027
11028 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11029 x86_64 and i686 configs using --enable-obsolete-rpc
11030 --enable-obsolete-nsl.
11031
38245425
SL
110322018-09-06 Stefan Liebler <stli@linux.ibm.com>
11033
11034 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11035
28669f86
SL
110362018-09-06 Stefan Liebler <stli@linux.ibm.com>
11037
11038 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11039 Increment size of new_argv by one.
11040
a33650d1
RL
110412018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11042
11043 [BZ #17426]
11044 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11045 * localedata/locales/ar_IN (d_fmt): Likewise.
11046 * localedata/locales/bhb_IN (d_fmt): Likewise.
11047 * localedata/locales/bho_IN (d_fmt): Likewise.
11048 * localedata/locales/bn_BD (d_fmt): Likewise.
11049 * localedata/locales/bn_IN (d_fmt): Likewise.
11050 * localedata/locales/doi_IN (d_fmt): Likewise.
11051 * localedata/locales/gu_IN (d_fmt): Likewise.
11052 * localedata/locales/hi_IN (d_fmt): Likewise.
11053 * localedata/locales/hne_IN (d_fmt): Likewise.
11054 * localedata/locales/kn_IN (d_fmt): Likewise.
11055 * localedata/locales/mag_IN (d_fmt): Likewise.
11056 * localedata/locales/mai_IN (d_fmt): Likewise.
11057 * localedata/locales/mjw_IN (d_fmt): Likewise.
11058 * localedata/locales/ml_IN (d_fmt): Likewise.
11059 * localedata/locales/mni_IN (d_fmt): Likewise.
11060 * localedata/locales/mr_IN (d_fmt): Likewise.
11061 * localedata/locales/pa_IN (d_fmt): Likewise.
11062 * localedata/locales/raj_IN (d_fmt): Likewise.
11063 * localedata/locales/sat_IN (d_fmt): Likewise.
11064 * localedata/locales/sd_IN (d_fmt): Likewise.
11065 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11066 * localedata/locales/ta_IN (d_fmt): Likewise.
11067 * localedata/locales/ta_LK (d_fmt): Likewise.
11068 * localedata/locales/tcy_IN (d_fmt): Likewise.
11069 * localedata/locales/ur_IN (d_fmt): Likewise.
11070
11071 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11072 * localedata/locales/ks_IN (d_fmt): Likewise.
11073 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11074
11075 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11076 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11077 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11078 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11079
d114e6a7
SN
110802018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11081
11082 * NEWS: Mention exp and exp2 improvements.
11083 * math/Makefile (libm-support): Remove t_exp.
11084 (type-double-routines): Add math_err and e_exp_data.
11085 * sysdeps/aarch64/libm-test-ulps: Update.
11086 * sysdeps/arm/libm-test-ulps: Update.
11087 * sysdeps/i386/fpu/e_exp_data.c: New file.
11088 * sysdeps/i386/fpu/math_err.c: New file.
11089 * sysdeps/i386/fpu/t_exp.c: Remove.
11090 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11091 * sysdeps/ia64/fpu/math_err.c: New file.
11092 * sysdeps/ia64/fpu/t_exp.c: Remove.
11093 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11094 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11095 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11097 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11098 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11099 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11100 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11101 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11102 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11103 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11104 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11105 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11106 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11109
b9d8c474
JM
111102018-09-05 Joseph Myers <joseph@codesourcery.com>
11111
b7cdc2ae
JM
11112 * sysdeps/alpha/fpu/math_private.h: Remove.
11113
b9d8c474
JM
11114 * sysdeps/generic/math_private.h
11115 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11116 Move this inline function ....
11117 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11118 * include/math.h [!_ISOMAC]: To here....
11119
418d99e6
JM
111202018-09-04 Joseph Myers <joseph@codesourcery.com>
11121
11122 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11123 code ....
11124 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11125 * include/fenv.h [!_ISOMAC]: ... to here.
11126 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11127 (feraiseexcept): Likewise.
11128 * math/fromfp.h: Do not include <fenv_private.h>.
11129 * math/s_cexp_template.c: Likewise.
11130 * math/s_csin_template.c: Likewise.
11131 * math/s_csinh_template.c: Likewise.
11132 * math/s_ctan_template.c: Likewise.
11133 * math/s_ctanh_template.c: Likewise.
11134 * math/s_iseqsig_template.c: Likewise.
11135 * math/w_acos_compat.c: Likewise.
11136 * math/w_acosf_compat.c: Likewise.
11137 * math/w_acosl_compat.c: Likewise.
11138 * math/w_asin_compat.c: Likewise.
11139 * math/w_asinf_compat.c: Likewise.
11140 * math/w_asinl_compat.c: Likewise.
11141 * math/w_j0_compat.c: Likewise.
11142 * math/w_j0f_compat.c: Likewise.
11143 * math/w_j0l_compat.c: Likewise.
11144 * math/w_j1_compat.c: Likewise.
11145 * math/w_j1f_compat.c: Likewise.
11146 * math/w_j1l_compat.c: Likewise.
11147 * math/w_jn_compat.c: Likewise.
11148 * math/w_jnf_compat.c: Likewise.
11149 * math/w_log10_compat.c: Likewise.
11150 * math/w_log10f_compat.c: Likewise.
11151 * math/w_log10l_compat.c: Likewise.
11152 * math/w_log2_compat.c: Likewise.
11153 * math/w_log2f_compat.c: Likewise.
11154 * math/w_log2l_compat.c: Likewise.
11155 * math/w_log_compat.c: Likewise.
11156 * math/w_logf_compat.c: Likewise.
11157 * math/w_logl_compat.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11163 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11164 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11165 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11166 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11167 * sysdeps/ieee754/k_standardl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11185 * math/w_ilogb_template.c: Include <fenv.h> instead of
11186 <fenv_private.h>.
11187 * math/w_llogb_template.c: Likewise.
11188 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11189 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11190
70e2ba33
JM
111912018-09-03 Joseph Myers <joseph@codesourcery.com>
11192
11193 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11194 * math/fromfp.h: Include <fenv_private.h>.
11195 * math/math-narrow.h: Likewise.
11196 * math/s_cexp_template.c: Likewise.
11197 * math/s_csin_template.c: Likewise.
11198 * math/s_csinh_template.c: Likewise.
11199 * math/s_ctan_template.c: Likewise.
11200 * math/s_ctanh_template.c: Likewise.
11201 * math/s_iseqsig_template.c: Likewise.
11202 * math/w_acos_compat.c: Likewise.
11203 * math/w_acosf_compat.c: Likewise.
11204 * math/w_acosl_compat.c: Likewise.
11205 * math/w_asin_compat.c: Likewise.
11206 * math/w_asinf_compat.c: Likewise.
11207 * math/w_asinl_compat.c: Likewise.
11208 * math/w_ilogb_template.c: Likewise.
11209 * math/w_j0_compat.c: Likewise.
11210 * math/w_j0f_compat.c: Likewise.
11211 * math/w_j0l_compat.c: Likewise.
11212 * math/w_j1_compat.c: Likewise.
11213 * math/w_j1f_compat.c: Likewise.
11214 * math/w_j1l_compat.c: Likewise.
11215 * math/w_jn_compat.c: Likewise.
11216 * math/w_jnf_compat.c: Likewise.
11217 * math/w_llogb_template.c: Likewise.
11218 * math/w_log10_compat.c: Likewise.
11219 * math/w_log10f_compat.c: Likewise.
11220 * math/w_log10l_compat.c: Likewise.
11221 * math/w_log2_compat.c: Likewise.
11222 * math/w_log2f_compat.c: Likewise.
11223 * math/w_log2l_compat.c: Likewise.
11224 * math/w_log_compat.c: Likewise.
11225 * math/w_logf_compat.c: Likewise.
11226 * math/w_logl_compat.c: Likewise.
11227 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11228 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11229 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11230 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11242 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11243 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11244 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11245 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11249 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11255 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11256 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11257 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11260 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11261 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11262 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11263 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11264 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11265 * sysdeps/ieee754/k_standardl.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11292 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11296 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11297 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11302 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11304 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11305 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11306 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11307 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11308 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11309 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11310 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11311 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11312 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11313 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11314 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11315 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11316 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11317 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11318 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11319 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11320 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11321 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11322 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11323 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11324 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11325 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11326 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11327 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11328 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11329 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11330 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11331 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11332 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11333 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11334 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11335 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11336 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11337
a6e8926f
PP
113382018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11339
11340 [BZ #20271]
11341 * include/stdio.h (__libc_fatal): Mention newline in comment.
11342 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11343 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11345 * nss/nsswitch.c (__nss_next2): Likewise.
11346 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11347 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11348 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11349 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11350 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11351 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11352 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11353 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11354 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11355 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11356 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11357 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11358 (__netlink_assert_response): Likewise.
11359
2bbd06bc
JM
113602018-08-31 Joseph Myers <joseph@codesourcery.com>
11361
11362 * conform/glibcconform.py: New file.
11363 * conform/list-header-symbols.py: Likewise.
11364 * conform/list-header-symbols.pl: Remove.
11365 * conform/Makefile (tests-special): Only add linknamespace tests
11366 if [PYTHON].
11367 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11368
81b9d87b
L
113692018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11370
11371 [BZ #23597]
11372 * support/Makefile (libsupport-routines): Add
11373 support_copy_file_range and xcopy_file_range.
11374 * support/support.h: Include <sys/types.h>.
11375 (support_copy_file_range): New prototype.
11376 * support/support_copy_file_range.c: New file. Copied and
11377 modified from io/copy_file_range-compat.c.
11378 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11379 instead of copy_file_range.
11380 * support/xcopy_file_range.c: New file.
11381 * support/xunistd.h (xcopy_file_range): New prototype.
11382
d330f31a
CD
113832018-08-30 Carlos O'Donell <carlos@redhat.com>
11384
11385 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11386 xpthread_create and xpthread_join.
11387
2bda273a
FW
113882018-08-30 Florian Weimer <fweimer@redhat.com>
11389
11390 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11391
3bad2358
SL
113922018-08-30 Stefan Liebler <stli@linux.ibm.com>
11393
11394 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11395 if malloc fails.
11396
09c12efc
JM
113972018-08-29 Joseph Myers <joseph@codesourcery.com>
11398
11399 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11400 and minus_oflow as non-finite.
11401
ff6b2450
JM
114022018-08-28 Joseph Myers <joseph@codesourcery.com>
11403
11404 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11405 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11406 moved to fenv_private.h except for ...
11407 (TOINT_INTRINSICS): Kept in math_private.h.
11408 (roundtoint): Likewise.
11409 (converttoint): Likewise.
11410 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11411 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11412 * sysdeps/arm/math_private.h: Remove.
11413 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11414 ....
11415 * sysdeps/generic/math_private.h: ... this file. Include
11416 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11417 Include <fenv_private.h>. Remove functions and macros moved to
11418 fenv_private.h.
11419 * sysdeps/i386/fpu/math_private.h: Remove.
11420 * sysdeps/mips/math_private.h: Move to ....
11421 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11422 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11423 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11424 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11425 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11426 * sysdeps/powerpc/fpu/math_private.h: Do not include
11427 <fenv_private.h>.
11428 * sysdeps/riscv/rvf/math_private.h: Move to ....
11429 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11430 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11431 <fenv_private.h>.
11432 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11433 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11434 * sysdeps/sparc/fpu/math_private.h: Remove.
11435 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11436 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11437 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11438 <fenv_private.h>.
11439 * sysdeps/x86_64/fpu/math_private.h: Do not include
11440 <sysdeps/i386/fpu/fenv_private.h>.
11441
761404b7
FW
114422018-08-28 Florian Weimer <fweimer@redhat.com>
11443
11444 [BZ #23578]
11445 * posix/tst-regcomp-truncated.c: New file.
11446 * posix/Makefile (tests): Add it.
11447 (tst-regcomp-truncated.out): Depend on generated locales.
11448
d6c44c3d
FW
114492018-08-28 Florian Weimer <fweimer@redhat.com>
11450
11451 * support/test-container.c (main): Treat unshare failure with
11452 EPERM as an unsupported test.
11453
745664bd
FW
114542018-08-28 Florian Weimer <fweimer@redhat.com>
11455
11456 [BZ #23520]
11457 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11458 * nscd/netgroupcache.c
11459 (addgetnetgrentX): Add tofreep parameter. Do not free
11460 heap-allocated buffer.
11461 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11462 (addgetnetgrentX_ignore): New function.
11463 (addgetnetgrent): Call it.
11464 (readdgetnetgrent): Likewise.
11465
c8dd67e7
RS
114662018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11467
11468 * string/memmem.c: Use memcmp for first match.
11469
5abedf97
RL
114702018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11471
11472 [BZ #17426]
11473 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11474
86de0499
DD
114752018-08-27 DJ Delorie <dj@redhat.com>
11476
11477 * support/Makefile (others): Don't list programs explicitly as a
11478 dependency of "others".
11479
c3ab2110
JM
114802018-08-27 Joseph Myers <joseph@codesourcery.com>
11481
11482 * sysdeps/generic/math-tests-trap-force.h: New file.
11483 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11484 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11485 * sysdeps/powerpc/math-tests.h: Remove file.
11486 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11487
6b5c8607
TS
114882018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11489 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
11490
11491 [BZ #23538]
11492 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11493 Update r to include the set wake-request flag if waiters are
11494 remaining after spinning.
11495
4061791f
JM
114962018-08-27 Joseph Myers <joseph@codesourcery.com>
11497
11498 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11499
bc680b33
PE
115002018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11501
761404b7 11502 [BZ #23578]
bc680b33
PE
11503 regex: fix uninitialized memory access
11504 I introduced this bug into gnulib in commit
11505 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11506 eventually it was merged into glibc. The bug was found by
11507 project-repo <bugs@feusi.co> and reported here:
11508 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11509 Diagnosis and draft fix reported by Assaf Gordon here:
11510 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11511 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11512 * posix/regex_internal.c (build_wcs_upper_buffer):
11513 Fix bug when mbrtowc returns 0.
11514
02458a52
CD
115152018-08-24 Carlos O'Donell <carlos@redhat.com>
11516
11517 * po/be.po: Update translation.
11518
acc2842a
DD
115192018-08-24 DJ Delorie <dj@delorie.com>
11520
11521 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11522 $(libunwind).
11523
6c3a8a9d
PP
115242018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11525
b39d961c
TS
11526 [BZ #23400]
11527 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11528 create temporary files in source tree.
6c3a8a9d 11529
895ef79e
JM
115302018-08-24 Joseph Myers <joseph@codesourcery.com>
11531
11532 * sysdeps/generic/math-tests-trap.h: New file.
11533 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11534 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11535 * sysdeps/aarch64/math-tests.h: Remove file.
11536 * sysdeps/arm/math-tests.h: Likewise.
11537 * sysdeps/riscv/math-tests.h: Likewise.
11538 * sysdeps/aarch64/math-tests-trap.h: New file.
11539 * sysdeps/arm/math-tests-trap.h: Likewise.
11540 * sysdeps/riscv/math-tests-trap.h: Likewise.
11541
ca3aac57
WD
115422018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11543
11544 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11545 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11546 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11547 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11548 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11549 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11553 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11554 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11555 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11556 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11557 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11558 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11559 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11560 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11561 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11562
60bcac09
JM
115632018-08-23 Joseph Myers <joseph@codesourcery.com>
11564
11565 * sysdeps/generic/math-tests-exceptions.h: New file.
11566 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11567 (EXCEPTION_TESTS_float): Do not define here.
11568 (EXCEPTION_TESTS_double): Likewise.
11569 (EXCEPTION_TESTS_long_double): Likewise.
11570 (EXCEPTION_TESTS_float128): Likewise.
11571 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11572 Likewise.
11573 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11574 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11575 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11576 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11577 * sysdeps/mips/math-tests.h: Likewise.
11578 * sysdeps/nios2/math-tests.h: Likewise.
11579 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11580 (EXCEPTION_TESTS_float): Do not define here.
11581 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11582 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11583 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11584
3bded567
WD
115852018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11586
11587 * NEWS: Move optimized sinf entry to 2.29.
11588
900fb446
WD
115892018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11590
11591 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11592
561b0bec
DD
115932018-08-22 DJ Delorie <dj@redhat.com>
11594
11595 * Makefile (testroot.pristine): New rules to initialize the
11596 test-in-container "testroot".
11597 * Makerules (all-testsuite): Add tests-container.
11598 * Rules (tests-expected): Add tests-container.
11599 (binaries-all-tests): Likewise.
11600 (tests-container): New, run these tests in the testroot container.
11601 * support/Makefile (others): Add *-container, support_paths.c,
11602 xmkdirp, and links-dso-program.
11603 * support/links-dso-program-c.c: New.
11604 * support/links-dso-program.cc: New.
11605 * support/test-container.c: New.
11606 * support/shell-container.c: New.
11607 * support/echo-container.c: New.
11608 * support/true-container.c: New.
11609 * support/xmkdirp.c: New.
11610 * support/xsymlink.c: New.
11611 * support/support_paths.c: New.
11612 * support/support.h: Add support paths prototypes.
11613 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11614
11615 * nss/tst-nss-test3.c: Convert to test-in-container.
11616 * nss/tst-nss-test3.root/: New.
11617
b35d3509
PE
116182018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11619
11620 regex: port Gnulib code to z/OS POSIX environment
11621 Problem reported by Arnold Robbins in:
11622 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11623 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11624 Undef.
11625
16a25138
JM
116262018-08-22 Joseph Myers <joseph@codesourcery.com>
11627
debc4c98
JM
11628 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11629 (ROUNDING_TESTS_double): Remove.
11630 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11631 (ROUNDING_TESTS_double): Remove.
11632 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11633 (ROUNDING_TESTS_double): Remove.
11634 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11635 (ROUNDING_TESTS_float): Remove.
11636 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11637 (ROUNDING_TESTS_float): Remove.
11638 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11639 (ROUNDING_TESTS_float): Remove.
11640 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11641 !TEST_MATHVEC here.
11642 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11643 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11644
16a25138
JM
11645 * sysdeps/generic/math-tests-rounding.h: New file.
11646 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11647 (ROUNDING_TESTS_float): Do not define here.
11648 (ROUNDING_TESTS_double): Likewise.
11649 (ROUNDING_TESTS_long_double): Likewise.
11650 (ROUNDING_TESTS_float128): Likewise.
11651 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11652 (ROUNDING_TESTS_double): Undefine before defining.
11653 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11654 (ROUNDING_TESTS_double): Undefine before defining.
11655 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11656 (ROUNDING_TESTS_double): Undefine before defining.
11657 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11658 (ROUNDING_TESTS_float): Undefine before defining.
11659 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11660 (ROUNDING_TESTS_float): Undefine before defining.
11661 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11662 (ROUNDING_TESTS_float): Undefine before defining.
11663 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11664 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11665 not define here.
11666 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11667 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11668 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11669 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11670 (ROUNDING_TESTS_float): Do not define here.
11671 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11672 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11673 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11674 (ROUNDING_TESTS_float): Likewise.
11675 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11676 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11677 * sysdeps/mips/math-tests.h [__mips_soft_float]
11678 (ROUNDING_TESTS_float): Likewise.
11679 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11680 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11681 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11682 (ROUNDING_TESTS_double): Likewise.
11683 (ROUNDING_TESTS_long_double): Likewise.
11684
38b0593e
TK
116852018-08-21 Tobias Klauser <tklauser@distanz.ch>
11686
11687 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11688 (PF_XDP): New macro.
11689 (AF_XDP): New macro.
11690 (SOL_XDP): New macro.
11691
5cd7dbde
JM
116922018-08-21 Joseph Myers <joseph@codesourcery.com>
11693
11694 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11695 (TCP_INQ): Likewise.
11696 (TCP_CM_INQ): Likewise.
11697 (TCP_REPAIR_ON): Likewise.
11698 (TCP_REPAIR_OFF): Likewise.
11699 (TCP_REPAIR_OFF_NO_WP): Likewise.
11700 (struct tcp_zerocopy_receive): New type.
11701
aa42b3db
FW
117022018-08-21 Florian Weimer <fweimer@redhat.com>
11703
11704 * support/support.h (support_descriptor_supports_holes): Declare.
11705 * support/Makefile (libsupport-routines): Add
11706 support_descriptor_supports_holes.
11707 * support/support_descriptor_supports_holes.c: New file.
11708 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11709 and stop testing if holes are not supported.
11710 * io/test-lfs.c (do_prepare): Likewise.
11711 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11712 Likewise.
11713 * timezone/tst-tzset.c (create_tz_file): Likewise.
11714 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11715 variable.
11716 (do_prepare): Set it.
11717 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11718
c7627f41
FW
117192018-08-21 Florian Weimer <fweimer@redhat.com>
11720
11721 [BZ #17248]
11722 * Makeconfig (+cflags): Do not sort (and deduplicate).
11723
ef939d92
FW
117242018-08-21 Florian Weimer <fweimer@redhat.com>
11725
11726 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11727 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11728
88ffb39d
FW
117292018-08-20 Florian Weimer <fweimer@redhat.com>
11730
11731 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11732 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11733
17419540
JM
117342018-08-20 Joseph Myers <joseph@codesourcery.com>
11735
e6edd40d
JM
11736 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11737 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11738 and ssi_arch members.
11739
17419540
JM
11740 * elf/elf.c (NT_VMCOREDD): New macro.
11741 (AT_MINSIGSTKSZ): Likewise.
11742
fa78896b
RS
117432018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11744
11745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11746 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11747 s_cosf-ppc64 and s_cosf-power8.
11748 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11749 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11750 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11751 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11758 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11759 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11760
86a6c75a
FW
117612018-08-17 Florian Weimer <fweimer@redhat.com>
11762
11763 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11764
35cfefd9
FW
117652018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11766
11767 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11768
6413fcde
FW
117692018-08-16 Florian Weimer <fweimer@redhat.com>
11770
11771 * configure.ac: Add --with-nonshared-cflags option.
11772 * config.make.in (extra-nonshared-cflags): Set variable.
11773 * Makeconfig (CFLAGS-.oS): Use it.
11774 * manual/install.texi (Configuring and compiling): Document
11775 --with-nonshared-cflags.
11776 * configure: Regenerate.
11777 * INSTALL: Likewise.
11778
93a2584c
FW
117792018-08-16 Florian Weimer <fweimer@redhat.com>
11780
11781 * Makeconfig (ASFLAGS): Always append required assembler flags.
11782
f6f275d2 117832018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
11784
11785 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11786 (malloc_consolidate): Likewise.
11787
30a17d8c
PC
117882018-08-16 Pochang Chen <johnchen902@gmail.com>
11789
11790 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11791
953a5a4a
SP
117922018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11793
34f86d61
SP
11794 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11795 every strlen call.
11796
953a5a4a
SP
11797 * benchtests/bench-strlen.c: Print performance numbers in json.
11798
7793ad7a
RS
117992018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11800
11801 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11802 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11803 only for little endian.
11804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11805 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11806 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11807 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11808 Add check for little endian.
11809 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11810 (__strcmp_power9): Add check for little endian.
11811 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11812 Add check for little endian.
11813 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11814 (__strncmp_power9): Add check for little endian.
11815 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11816 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11817 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11818 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11819 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11820
436e4d5b
SP
118212018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11822
11823 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11824 [!STRLEN](STRLEN): Set to __strlen.
11825 * sysdeps/aarch64/multiarch/strlen.c: New file.
11826 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11827 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11828 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11829 (__libc_ifunc_impl_list): Add strlen.
11830 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11831 strlen_generic and strlen_asimd.
11832
126c4e3f
WD
118332018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11834
11835 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11836 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11837 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11838
49acec17
WD
118392018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11840
11841 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11842
fdb16de3
FW
118432018-08-14 Florian Weimer <fweimer@redhat.com>
11844
11845 [BZ #23519]
11846 * include/stdio.h (__vfxprintf): Declare.
11847 * stdio-common/fxprintf.c (__vfxprintf): New function.
11848 (__fxprintf): Call it.
11849 * misc/err.c (convert_and_print): Remove function.
11850 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11851 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11852 * misc/Makefile (tests): Add tst-warn-wide.
11853 * misc/tst-warn-wide.c: New file.
11854
599cf397
WD
118552018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11856 Szabolcs Nagy <szabolcs.nagy@arm.com>
11857
11858 * NEWS: Mention sinf, cosf, sincosf.
11859 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11860 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11861 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11862 constants rather than including generic sincosf.h.
11863 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11864 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11865 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11866 (reduced_cos): Remove.
11867 (sinf_poly): New function.
11868 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11869
e95c6f61
FW
118702018-08-14 Florian Weimer <fweimer@redhat.com>
11871
11872 [BZ #23521]
11873 [BZ #23522]
11874 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11875 processing, bail out if no room, and close the stream before
11876 returning ERANGE.
11877 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11878 (tst-nss-files-alias-leak): Link with libdl.
11879 (tst-nss-files-alias-leak.out): Depend on nss_files.
11880
11881 * nss/tst-nss-files-alias-leak.c: New file.
11882
2d7acfac
FW
118832018-08-14 Florian Weimer <fweimer@redhat.com>
11884
11885 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11886 server_user, stat_user.
11887
f3cd0904
JM
118882018-08-13 Joseph Myers <joseph@codesourcery.com>
11889
17b26500
JM
11890 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11891 version to 4.18.
11892 (io_pgetevents): New syscall.
11893 (rseq): Likewise.
11894
3c1622eb
JM
11895 * manual/install.texi (Configuring and compiling): Do not list
11896 tools used for testing pretty printers here.
11897 (Tools for Compilation): List Python, PExpect and GDB here.
11898 Update descriptions of uses of Perl and Python.
11899 * INSTALL: Regenerate.
11900
f3cd0904
JM
11901 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11902 version to 4.18.
11903
b7b52b9d
FW
119042018-08-13 Florian Weimer <fweimer@redhat.com>
11905
11906 * misc/error.c (error): Add missing va_end call.
11907 (error_at_line): Likewise.
11908
01780188
FW
119092018-08-13 Florian Weimer <fweimer@redhat.com>
11910
11911 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11912
44727aec
SP
119132018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11914
8cac1f26
SP
11915 * benchtests/scripts/benchout.schema.json (properties): Add
11916 new properties.
11917
44727aec
SP
11918 * benchtests/bench-skeleton.c (main): Add duration and
11919 iterations attributes.
11920
c77bf91b
PE
119212018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11922
11923 regex: Gnulib unibyte RRI uses bytes not chars
11924 Adjust the non-glibc code to agree with what Gawk needs for
11925 rational range interpretation (RRI) for regular expression ranges.
11926 In unibyte locales, Gawk wants ranges to use the underlying byte
11927 rather than the character code point. This change does not affect
11928 glibc proper.
11929 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11930 In unibyte locales, use the byte value rather than
11931 running it through btowc.
11932
2ce7ba7d
JM
119332018-08-10 Joseph Myers <joseph@codesourcery.com>
11934
11935 * sysdeps/generic/math-tests-snan.h: New file.
11936 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11937 (SNAN_TESTS_float): Do not define here.
11938 (SNAN_TESTS_double): Likewise.
11939 (SNAN_TESTS_long_double): Likewise.
11940 (SNAN_TESTS_float128): Likewise.
11941 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11942 * sysdeps/i386/fpu/math-tests.h: Remove file.
11943 * sysdeps/ia64/math-tests-snan.h: New file.
11944 * sysdeps/ia64/math-tests.h: Remove file.
11945 * sysdeps/x86/math-tests.h: Likewise.
11946 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11947
ea5c662c
WD
119482018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11949 Szabolcs Nagy <szabolcs.nagy@arm.com>
11950
11951 * math/Makefile: Add s_sincosf_data.c.
11952 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11953 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11954 (sincosf_poly): Likewise.
11955 (reduce_small): Likewise.
11956 (reduce_large): Likewise.
11957 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11958 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11959 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11960 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11961
43cfdf8f
SN
119622018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11963 Szabolcs Nagy <szabolcs.nagy@arm.com>
11964
11965 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11966 (converttoint): Use lround.
11967 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11968 document the semantics when TOINT_INTRINSICS is set.
11969 (converttoint): Likewise.
11970 (TOINT_RINT): Remove.
11971 (TOINT_SHIFT): Remove.
11972 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11973 path.
11974
69065288
FW
119752018-08-10 Florian Weimer <fweimer@redhat.com>
11976
11977 [BZ #23497]
11978 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11979 function.
11980 (__old_getdents64): Use getdents64. Convert entries without
11981 moving them.
11982 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11983 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11984 tst-readdir64-compat.
11985
8f135efc
IL
119862018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11987
11988 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11989 Fix unwind.
11990
71c01af5
IL
119912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11992
11993 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11994 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11995 code to s390x-mcount.h and #include it.
11996 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11998 (__fentry__): Add.
11999
8d997d22
IL
120002018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12001
12002 * stdlib/Versions: Remove __fentry__.
12003 * sysdeps/i386/Versions: Add __fentry__.
12004 * sysdeps/x86_64/Versions: Add __fentry__.
12005
69e2444a
IL
120062018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12007
12008 * sysdeps/s390/Makefile: Register the new tests.
12009 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
12010 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
12011 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
12012 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
12013 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
12014 * sysdeps/s390/tst-dl-runtime.c: New file.
12015
bde6320f
IL
120162018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12017
12018 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12019 Do not clobber R0.
12020
5755f5e4
IL
120212018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12022
12023 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12024 Do not clobber R0.
12025
c8ad8522
IL
120262018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12027
12028 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12029 Do not clobber R0.
12030
b215eee1
IL
120312018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12032
12033 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12034 Do not clobber R0.
12035
329c6fec
IL
120362018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12037
12038 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12039 Use symbolic offsets for stack variables.
12040
0fb7afa2
IL
120412018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12042
12043 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12044 Use symbolic offsets for stack variables.
12045
6954059a
IL
120462018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12047
12048 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12049 Use symbolic offsets for stack variables.
12050
c7099673
IL
120512018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12052
12053 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12054 Use symbolic offsets for stack variables.
12055
2813e41e
JM
120562018-08-09 Joseph Myers <joseph@codesourcery.com>
12057
12058 * math/gen-libm-test.py: New file.
12059 * math/gen-libm-test.pl: Remove.
12060 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12061 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12062 gen-libm-test.pl.
12063 ($(libm-test-c-noauto-obj)): Likewise.
12064 ($(libm-test-c-auto-obj)): Likewise.
12065 ($(libm-test-c-narrow-obj)): Likewise.
12066 (regen-ulps): Likewise.
12067 * math/README.libm-test: Update references to gen-libm-test.pl.
12068 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12069 referencing gen-libm-test.pl.
12070 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12071 * math/libm-test-support.c: Likewise.
12072 * math/libm-test-support.h: Likewise.
12073 * sysdeps/generic/libm-test-ulps: Likewise.
12074
be64b194
SP
120752018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12076
12077 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12078 Fix value.
12079
140137fb
JM
120802018-08-08 Joseph Myers <joseph@codesourcery.com>
12081
12082 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12083 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12084
b5403eca
ST
120852018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12086
12087 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12088 symbols.
8ac0f9e6
ST
12089 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12090 __pthread_setspecific): Add hidden proto.
12091 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12092 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 12093
014efdd7
SP
120942018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12095
12096 * benchtests/bench-string.h (buf1_size, buf2_size): New
12097 variables.
12098 (init_sizes): New function.
12099 (test_init): Use it.
12100 (alloc_buf, exit_error): New functions.
12101 (alloc_bufs): Use ALLOC_BUF.
12102 (realloc_bufs): Remove.
12103 * benchtests/bench-memcmp.c (do_test): Adjust.
12104 * benchtests/bench-memset-large.c (do_test): Likewise.
12105 * benchtests/bench-memset-walk.c (do_test): Likewise.
12106 * benchtests/bench-memset.c (do_test): Likewise.
12107 * benchtests/bench-strncmp.c (do_test): Likewise.
12108
92a4cba7
AS
121092018-08-06 Andreas Schwab <schwab@suse.de>
12110
12111 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12112 of CONST_THREAD_AREA.
12113
fb4c32ae
L
121142018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12115
12116 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12117 (STATE_SAVE_MASK): Likewise.
12118 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12119 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12120 (STATE_SAVE_MASK): Likewise.
12121 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12122 instead of <cpu-features.h>.
12123
bf418187
DD
121242018-08-03 DJ Delorie <dj@redhat.com>
12125
12126 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 12127 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 12128
bb17621a
DD
12129 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12130
ea705eb5
JM
121312018-08-03 Joseph Myers <joseph@codesourcery.com>
12132
12133 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12134 after TEST_* calls.
12135 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12136 * math/libm-test-logb.inc (logb_test_data): Likewise.
12137
284f42bc
WD
121382018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12139
12140 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12141 * string/strstr.c (AVAILABLE): Likewise.
12142
430388d5
L
121432018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12144
12145 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12146 <init-arch.h>.
12147 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12148 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12149 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12150
c5760aa9
CD
121512018-08-03 Carlos O'Donell <carlos@redhat.com>
12152
12153 * po/be.po: Update translation.
12154
6b535b84
CD
12155 * po/be.po: Update translation.
12156
ae67f2e5
L
121572018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 * sysdeps/x86/cpu-features-offsets.sym
12160 (rtld_global_ro_offsetof): Removed.
12161 (CPU_FEATURES_SIZE): Likewise.
12162 (CPUID_OFFSET): Likewise.
12163 (CPUID_SIZE): Likewise.
12164 (CPUID_EAX_OFFSET): Likewise.
12165 (CPUID_EBX_OFFSET): Likewise.
12166 (CPUID_ECX_OFFSET): Likewise.
12167 (CPUID_EDX_OFFSET): Likewise.
12168 (FAMILY_OFFSET): Likewise.
12169 (MODEL_OFFSET): Likewise.
12170 (FEATURE_OFFSET): Likewise.
12171 (FEATURE_SIZ): Likewise.
12172 (COMMON_CPUID_INDEX_1): Likewise.
12173 (COMMON_CPUID_INDEX_7): Likewise.
12174 (FEATURE_INDEX_1): Likewise.
12175 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12176
6b5c8607 121772018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
12178
12179 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12180 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12181 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12182 (install-locales): Depend on install-locale-archive.
12183 (install-locale-archive): Define.
7b7adbd8 12184 (install-locale-files): Define.
08a5ee14
CD
12185 (build-one-locale): Define macro.
12186 * manual/install.texi (Running make install): Document.
12187 * manual/INSTALL: Regenerate.
12188
525691bd
SP
121892018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12190
d67d634b
SP
12191 * benchtests/scripts/compare_strings.py: Import traceback.
12192 (parse_file): Pretty-print error.
12193
525691bd
SP
12194 * NEWS: Mention the change.
12195 * elf/dl-tunables.list: Rename tune namespace to cpu.
12196 * sysdeps/powerpc/dl-tunables.list: Likewise.
12197 * sysdeps/x86/dl-tunables.list: Likewise.
12198 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12199 cpu.name.
12200 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12201 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12202 * manual/README.tunables: Likewise.
12203 * manual/tunables.texi: Likewise.
12204 * sysdeps/powerpc/cpu-features.c: Likewise.
12205 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12206 (init_cpu_features): Likewise.
12207 * sysdeps/x86/cpu-features.c: Likewise.
12208 * sysdeps/x86/cpu-features.h: Likewise.
12209 * sysdeps/x86/cpu-tunables.c: Likewise.
12210 * sysdeps/x86_64/Makefile: Likewise.
12211 * sysdeps/x86/dl-cet.c: Likewise.
12212
506d7fb1
JM
122132018-08-02 Joseph Myers <joseph@codesourcery.com>
12214
12215 [BZ #23479]
12216 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12217 [__mips_hard_float].
12218 (FE_UNDERFLOW): Likewise.
12219 (FE_OVERFLOW): Likewise.
12220 (FE_DIVBYZERO): Likewise.
12221 (FE_INVALID): Likewise.
12222 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12223 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12224 (FE_UPWARD): Likewise.
12225 (FE_DOWNWARD): Likewise.
12226 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12227 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12228 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12229 [__mips_hard_float].
12230 (FP_ROUNDMODE): Likewise.
12231 (FP_RND_NEAREST): Likewise.
12232 (FP_RND_ZERO): Likewise.
12233 (FP_RND_PINF): Likewise.
12234 (FP_RND_MINF): Likewise.
12235 (FP_EX_INVALID): Likewise.
12236 (FP_EX_OVERFLOW): Likewise.
12237 (FP_EX_UNDERFLOW): Likewise.
12238 (FP_EX_DIVZERO): Likewise.
12239 (FP_EX_INEXACT): Likewise.
12240 (FP_INIT_ROUNDMODE): Likewise.
12241 * sysdeps/mips/nofpu/fesetenv.c: New file.
12242 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12243
f6dcefbe
JM
122442018-08-01 Joseph Myers <joseph@codesourcery.com>
12245
12246 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12247 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12248 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12249 conditional on [FE_UPWARD].
12250
fa67ba06
PE
122512018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12252
12253 regex: fix memory leak in Gnulib
12254 Problem and fix reported by Assaf Gordon in:
12255 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12256 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12257 range_ends members too, as they are defined in 'struct
12258 re_charset_t' even if not _LIBC. This affects only Gnulib.
12259
82c80ac2
L
122602018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12263 ...
12264 (get_common_indices): This.
12265 (init_cpu_features): Updated.
12266
c0e7e2c1
JM
122672018-08-01 Joseph Myers <joseph@codesourcery.com>
12268
46f8cf57
JM
12269 * sysdeps/generic/math-tests-snan-payload.h: New file.
12270 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12271 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12272 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12273 * sysdeps/generic/math-tests.h: Include
12274 <math-tests-snan-payload.h>.
12275 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12276 * sysdeps/hppa/math-tests.h: Remove file.
12277 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12278 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12279 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12280 Likewise.
12281
c0e7e2c1
JM
12282 * sysdeps/generic/math-tests-snan-cast.h: New file.
12283 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12284 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12285 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12286 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12287
74939c83
CD
122882018-08-01 Carlos O'Donel <carlos@redhat.com>
12289
b029723b
CD
12290 * version.h (RELEASE): Set to "development".
12291 (VERSION): Set to "2.28.9000".
12292 * NEWS (2.29): New section.
12293
3c03baca
CD
12294 * version.h (RELEASE): Set to "stable".
12295 (VERSION): Set to "2.28".
12296 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12297 * NEWS: Add the list of bugs fixed in 2.28.
12298
74939c83
CD
12299 * po/ca.po: Update to latest version.
12300 * po/cs.po: Likewise
12301 * po/da.po: Likewise
12302 * po/el.po: Likewise
12303 * po/eo.po: Likewise
12304 * po/es.po: Likewise
12305 * po/fi.po: Likewise
12306 * po/fr.po: Likewise
12307 * po/gl.po: Likewise
12308 * po/hu.po: Likewise
12309 * po/ia.po: Likewise
12310 * po/id.po: Likewise
12311 * po/it.po: Likewise
12312 * po/ja.po: Likewise
12313 * po/ko.po: Likewise
12314 * po/lt.po: Likewise
12315 * po/nb.po: Likewise
12316 * po/nl.po: Likewise
12317 * po/pt_BR.po: Likewise
12318 * po/ru.po: Likewise
12319 * po/rw.po: Likewise
12320 * po/sk.po: Likewise
12321 * po/sl.po: Likewise
12322 * po/tr.po: Likewise
12323 * po/zh_CN.po: Likewise
12324 * po/zh_TW.po: Likewise
12325
d4b54bdf
ST
123262018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12327
12328 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12329 initialization...
12330 (init): ... before initializing libpthread.
12331
42fc12ef
ST
12332 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12333 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12334 (__mach_setup_tls): ... new function.
12335 (mach_setup_tls): New alias.
12336 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12337 __mach_setup_thread.
12338 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12339 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12340 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12341 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12342
6cca855e
CD
123432018-07-31 Carlos O'Donell <carlos@redhat.com>
12344
f650932b
CD
12345 * manual/install.texi: Update versions.
12346 * INSTALL: Regenerate.
12347
6cca855e
CD
12348 * manual/contrib.texi (Contributors): Update contributions.
12349
07fdea47
CD
123502018-07-31 Carlos O'Donell <carlos@redhat.com>
12351
12352 * po/be.po: Update translations.
12353
63d5fad4
AZ
123542018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12355
12356 * sysdeps/sh/libm-test-ulps: Update.
12357
1ff712a6
CD
123582018-07-30 Carlos O'Donell <carlos@redhat.com>
12359
12360 * po/bg.po: Update translations.
12361 * po/de.po: Likewise.
12362 * po/hr.po: Likewise.
12363 * po/pt_BR.po: Likewise.
12364 * po/sv.po: Likewise.
12365 * po/vi.po: Likewise.
12366
98864ed0
L
123672018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 [BZ #23467]
12370 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12371 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12372 (CFLAGS-tst-cet-property-1.o): New.
12373 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12374 ($(objpfx)tst-cet-property-2): Likewise.
12375 ($(objpfx)tst-cet-property-2.out): Likewise.
12376 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12377 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12378 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12379 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12380 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12381
c92a00d8
L
123822018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 [BZ #23458]
12385 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12386
99bc6241
ST
123872018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12388
12389 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12390 __sbrk): Do not set attribute_hidden.
af86087f 12391 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
12392 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12393 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12394
bcb1c4af
CD
123952018-07-27 Carlos O'Donell <carlos@redhat.com>
12396
12397 * po/uk.po: Update translations.
12398 * po/cs.po: Likewise.
12399 * po/pl.po: Likewise.
12400
4591b7db
L
124012018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12402
12403 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12404 parse beyond the note end.
12405
2c6da2f4
AZ
124062018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12407
12408 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12409 kernel does not support OFD locks.
12410 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12411
20365a31
ST
124122018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12413
12414 * sysdeps/mach/hurd/Versions (libc): Make __access and
12415 __access_noerrno external so they can override the ld symbols.
12416 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12417 __writev, __open64, __access_noerrno extern so they can be overrided.
12418 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12419 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12420
cb1a43db
CD
124212018-07-26 Carlos O'Donell <carlos@redhat.com>
12422
12423 * po/libc.pot: Regenerate.
12424
74759ae5
JM
124252018-07-26 Joseph Myers <joseph@codesourcery.com>
12426
12427 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12428
da80612d
L
124292018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 [BZ #23459]
12432 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12433 function.
12434 (init_cpu_features): Call get_extended_indices for both Intel
12435 and AMD CPUs.
12436 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12437 Remove "for AMD" comment.
12438
65d87ade
L
124392018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12440
12441 [BZ # 23456]
12442 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12443 COMMON_CPUID_INDEX_80000001.
12444
c9dc4d51
SL
124452018-07-26 Stefan Liebler <stli@linux.ibm.com>
12446
12447 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12448 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12449
cfba5dbb
FW
124502018-07-26 Florian Weimer <fweimer@redhat.com>
12451
12452 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12453 aliases for symbols not in the implementation namespace.
12454
6b5c8607 124552018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
12456
12457 [BZ #23393]
12458 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12459 lowercase in LATIN script.
12460 * localedata/Makefile (test-input): Add en_US.UTF-8.
12461 * localedata/en_US.UTF-8.in: New file.
12462 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12463 and restore old tests.
12464 * posix/tst-regexloc.c (do_test): Add back range expression test.
12465
3fb455b3
L
124662018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12467
12468 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12469
d6499b70
AZ
124702018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12471
12472 * nptl/threads.h: Move to ...
12473 * sysdeps/nptl/threads.h: ... here.
12474 * sysdeps/hurd/stdc-predef.h: New file.
12475
08ac6bed
L
124762018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12477
12478 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12479 tst-cet-setcontext-1 if CET is enabled.
12480 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12481 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12482
9faaf938
AZ
124832018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12484
12485 * include/threads.h: Move to ...
12486 * sysdeps/nptl/threads.h: ... here.
12487 * sysdeps/htl/threads.h: New file.
12488 * conform/Makefile (linknamespace-libs-ISO11): Use
12489 static-thread-library instead of linking libpthread.
12490 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12491
d6b8f847
FW
124922018-07-25 Florian Weimer <fweimer@redhat.com>
12493
12494 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12495 nanoseconds into seconds.
12496 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12497 (do_test): Likewise.
12498 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12499 (do_test): Likewise. Avoid nanosecond overflow and spurious
12500 timeouts due to system load.
12501 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12502 (child_wait): Increment it.
12503 (do_test): Wait as long as necessary until all expected threads
12504 have arrived.
12505
25123a1c
L
125062018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12507 H.J. Lu <hongjiu.lu@intel.com>
12508
12509 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12510 __ssp.
12511 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12512 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12513 (__push___start_context): New.
12514 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12515 <asm/prctl.h>.
12516 (__getcontext): Record the current shadow stack base. Save the
12517 caller's shadow stack pointer and base.
12518 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12519 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12520 (__push___start_context): New prototype.
12521 (__makecontext): Call __push___start_context to allocate a new
12522 shadow stack, push __start_context onto the new stack as well
12523 as the new shadow stack.
12524 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12525 <asm/prctl.h>.
12526 (__setcontext): Restore the target shadow stack.
12527 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12528 <asm/prctl.h>.
12529 (__swapcontext): Record the current shadow stack base. Save
12530 the caller's shadow stack pointer and base. Restore the target
12531 shadow stack.
12532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12533 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12534 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12535
375a4844
L
125362018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12537
12538 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12539 tst-setcontext8 and tst-setcontext9.
12540 * stdlib/tst-setcontext6.c: New file.
12541 * stdlib/tst-setcontext7.c: Likewise.
12542 * stdlib/tst-setcontext8.c: Likewise.
12543 * stdlib/tst-setcontext9.c: Likewise.
12544
bd4f7903
L
125452018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12546
12547 * stdlib/Makefile ((tests): Add tst-setcontext5.
12548 * stdlib/tst-setcontext5.c: New file.
12549
7e28f203
L
125502018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12551
12552 * stdlib/Makefile (tests): Add tst-setcontext4.
12553 * stdlib/tst-setcontext4.c: New file.
12554
8516ad2d
L
125552018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12556
12557 * stdlib/Makefile (tests): Add tst-swapcontext1.
12558 * stdlib/tst-swapcontext1.c: New test.
12559
fddcd003
L
125602018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12561
12562 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12563 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12564 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12565 and tst-cet-legacy-4c.
12566 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12567 and tst-cet-legacy-mod-4.
12568 (CFLAGS-tst-cet-legacy-2.c): New.
12569 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12570 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12571 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12572 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12573 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12574 ($(objpfx)tst-cet-legacy-1): Likewise.
12575 ($(objpfx)tst-cet-legacy-2): Likewise.
12576 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12577 ($(objpfx)tst-cet-legacy-2a): Likewise.
12578 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12579 ($(objpfx)tst-cet-legacy-4): Likewise.
12580 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12581 ($(objpfx)tst-cet-legacy-4a): Likewise.
12582 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12583 (tst-cet-legacy-4a-ENV): Likewise.
12584 ($(objpfx)tst-cet-legacy-4b): Likewise.
12585 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12586 (tst-cet-legacy-4b-ENV): Likewise.
12587 ($(objpfx)tst-cet-legacy-4c): Likewise.
12588 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12589 (tst-cet-legacy-4c-ENV): Likewise.
12590 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12591 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12592 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12593 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12594 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12595 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12596 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12597 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12598 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12599 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12600 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12601
9aa3113a
L
126022018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12603
12604 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12605 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12606 with ssp_base.
12607 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12608 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12609 with ssp_base.
12610
9c79cec8
AS
126112018-07-25 Andreas Schwab <schwab@suse.de>
12612
12613 [BZ #23442]
12614 * locale/weightwc.h (findidx): Handle the case where usrc is a
12615 prefix of cp but one character too short.
12616
969c3355
AZ
126172018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12618
12619 * NEWS: Add ISO C threads addition.
12620
e0f9c462
FW
126212018-07-24 Florian Weimer <fweimer@redhat.com>
12622
12623 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12624 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12625 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12626 4.13.
12627
394df381
L
126282018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12631 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12632 <sys/prctl.h> and <asm/prctl.h>.
12633 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12634 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12635 and <asm/prctl.h>.
12636 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12637 ARCH_CET_LEGACY_BITMAP.
12638 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12639 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12640 * sysdeps/x86/libc-start.c: Include <startup.h>.
12641
46545530
FW
126422018-07-24 Florian Weimer <fweimer@redhat.com>
12643
12644 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12645 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12646
6b5c8607 126472018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 12648 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
12649 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12650
12651 [BZ #14092]
9d0a979e
RJ
12652 * manual/debug.texi: Update adjacent chapter name.
12653 * manual/probes.texi: Likewise.
12654 * manual/threads.texi (ISO C Threads): New section.
12655 (POSIX Threads): Convert to a section.
12656
126572018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12658 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12659
12660 [BZ# 14092]
0a07288b
AZ
12661 * nptl/Makefile (tests): Add new test files.
12662 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12663 * nptl/tst-cnd-basic.c: Likewise.
12664 * nptl/tst-cnd-broadcast.c: Likewise.
12665 * nptl/tst-cnd-timedwait.c: Likewise.
12666 * nptl/tst-mtx-basic.c: Likewise.
12667 * nptl/tst-mtx-recursive.c: Likewise.
12668 * nptl/tst-mtx-timedlock.c: Likewise.
12669 * nptl/tst-mtx-trylock.c: Likewise.
12670 * nptl/tst-thrd-basic.c: Likewise.
12671 * nptl/tst-thrd-detach.c: Likewise.
12672 * nptl/tst-thrd-sleep.c: Likewise.
12673 * nptl/tst-tss-basic.c: Likewise.
12674
ce7528f6
AZ
126752018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12676
c6dd669b
AZ
12677 [BZ #14092]
12678 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12679 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12680 symbols.
12681 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12694 Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12696 Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12698 Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12709 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12710 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12711 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12712 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12713 Likewise.
12714 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12726 ikewise.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12729 Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12731 Likewise.
12732 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12740
78d40132
AZ
12741 [BZ #14092]
12742 * conform/data/threads.h-data (thread_local): New macro.
12743 (TSS_DTOR_ITERATIONS): Likewise.
12744 (tss_t): New type.
12745 (tss_dtor_t): Likewise.
12746 (tss_create): New function.
12747 (tss_get): Likewise.
12748 (tss_set): Likewise.
12749 (tss_delete): Likewise.
12750 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12751 tss_get, and tss_set objects.
12752 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12753 * nptl/tss_create.c: New file.
12754 * nptl/tss_delete.c: Likewise.
12755 * nptl/tss_get.c: Likewise.
12756 * nptl/tss_set.c: Likewise.
12757 * sysdeps/nptl/threads.h (thread_local): New define.
12758 (TSS_DTOR_ITERATIONS): Likewise.
12759 (tss_t): New typedef.
12760 (tss_dtor_t): Likewise.
12761 (tss_create): New prototype.
12762 (tss_get): Likewise.
12763 (tss_set): Likewise.
12764 (tss_delete): Likewise.
12765
918311a3
AZ
12766 [BZ #14092]
12767 * conform/data/threads.h-data (cnd_t): New type.
12768 (cnd_init): New function.
12769 (cnd_signal): Likewise.
12770 (cnd_broadcast): Likewise.
12771 (cnd_wait): Likewise.
12772 (cnd_timedwait): Likewise.
12773 (cnd_destroy): Likewise.
12774 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12775 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12776 object.
12777 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12778 * nptl/cnd_broadcast.c: New file.
12779 * nptl/cnd_destroy.c: Likewise.
12780 * nptl/cnd_init.c: Likewise.
12781 * nptl/cnd_signal.c: Likewise.
12782 * nptl/cnd_timedwait.c: Likewise.
12783 * nptl/cnd_wait.c: Likewise.
12784 * sysdeps/nptl/threads.h (cnd_t): New type.
12785 (cnd_init): New prototype.
12786 (cnd_signa): Likewise.
12787 (cnd_broadcast): Likewise.
12788 (cnd_wait): Likewise.
12789 (cnd_timedwait): Likewise.
12790 (cnd_destroy): Likewise.
12791
3c20a679
AZ
12792 [BZ #14092]
12793 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12794 (once_flag): New type.
12795 (call_once): New function.
12796 * nptl/Makefile (libpthread-routines): Add call_once object.
12797 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12798 * nptl/call_once.c: New file.
12799 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12800 (once_flag): New type.
12801 (call_once): New prototype.
12802
18d59c1b
AZ
12803 [BZ #14092]
12804 * conform/data/threads.h-data (mtx_plain): New constant.
12805 (mtx_recursive): Likewise.
12806 (mtx_timed): Likewise.
12807 (mtx_t): New type.
12808 (mtx_init): New function.
12809 (mtx_lock): Likewise.
12810 (mtx_timedlock): Likewise.
12811 (mtx_trylock): Likewise.
12812 (mtx_unlock): Likewise.
12813 (mtx_destroy): Likewise.
12814 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12815 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12816 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12817 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12818 * nptl/mtx_destroy.c: New file.
12819 * nptl/mtx_init.c: Likewise.
12820 * nptl/mtx_lock.c: Likewise.
12821 * nptl/mtx_timedlock.c: Likewise.
12822 * nptl/mtx_trylock.c: Likewise.
12823 * nptl/mtx_unlock.c: Likewise.
12824 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12825 (mtx_recursive): Likewise.
12826 (mtx_timed): Likewise.
12827 (mtx_t): New type.
12828 (mtx_init): New prototype.
12829 (mtx_lock): Likewise.
12830 (mtx_timedlock): Likewise.
12831 (mtx_trylock): Likewise.
12832 (mtx_unlock): Likewise.
12833 (mtx_destroy): Likewise.
12834
ce7528f6
AZ
12835 [BZ #14092]
12836 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12837 (linknamespace-libs-ISO11): Add libpthread.a.
12838 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12839 functions.
12840 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12841 * nptl/Makefile (headers): Add threads.h.
12842 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12843 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12844 thrd_yield.
12845 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12846 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12847 thrd_join, thrd_sleep, and thrd_yield symbols.
12848 * nptl/descr.h (struct pthread): Add c11 field.
12849 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12850 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12851 routine with expected function prototype.
12852 (__pthread_create_2_1): Add C11 threads check based on attribute
12853 value.
12854 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12855 * nptl/thrd_create.c: New file.
12856 * nptl/thrd_current.c: Likewise.
12857 * nptl/thrd_detach.c: Likewise.
12858 * nptl/thrd_equal.c: Likewise.
12859 * nptl/thrd_exit.c: Likewise.
12860 * nptl/thrd_join.c: Likewise.
12861 * nptl/thrd_priv.h: Likewise.
12862 * nptl/thrd_sleep.c: Likewise.
12863 * nptl/thrd_yield.c: Likewise.
12864 * include/threads.h: Likewise.
12865
e27f41ba
L
128662018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12867
12868 * bits/indirect-return.h: New file.
12869 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12870 * sysdeps/x86/bits/indirect-return.h: Likewise.
12871 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12872 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12873 (swapcontext): Add __INDIRECT_RETURN.
12874 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12875 (prepare_test_buffer): Use it.
12876
21526a50
AS
128772018-07-24 Andreas Schwab <schwab@suse.de>
12878
12879 [BZ #23448]
12880 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12881 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12882
3650e1d9
L
128832018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12884
12885 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12886 Redefine if shadow stack is enabled.
12887 (SYSCALL_ERROR_LABEL): Likewise.
12888 (__vfork): Pop shadow stack and jump back to to caller directly
12889 when shadow stack is in use.
12890 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12891 Redefine if shadow stack is enabled.
12892 (SYSCALL_ERROR_LABEL): Likewise.
12893 (__vfork): Pop shadow stack and jump back to to caller directly
12894 when shadow stack is in use.
12895
ca027e0f
L
128962018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12897
12898 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12899 enabled.
12900 (foo): Likewise.
12901 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12902 (foo): Likewise.
12903
b99f1c95
JM
129042018-07-20 Joseph Myers <joseph@codesourcery.com>
12905
12906 * scripts/build-many-glibcs.py (Context.checkout): Default
12907 binutils version to 2.31 branch.
12908
c8fabb84
ZL
129092018-07-20 Zong Li <zong@andestech.com>
12910
12911 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12912 URL of gcc's tarball.
12913
786658a0
FW
129142018-07-20 Florian Weimer <fweimer@redhat.com>
12915
12916 [BZ #23396]
12917 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12918 not compare an extra byte after the end of the weights.
12919
46f2474e
ST
129202018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12921
12922 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12923 to 1.
8ba1520e
ST
12924 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12925 hidden prototypes.
12926 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12927 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
12928 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12929 list of libraries whose stack executability is expected.
12930 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12931 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12932 variable.
12933 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12934 libc.so libpthread.so.
46f2474e 12935
60088242
TS
129362018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12937
12938 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12939 SOCK_NONBLOCK.
75d5e4a0
TS
12940 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12941 and SOCK_NONBLOCK.
de195be0
TS
12942 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12943 implement __pipe2.
12944 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 12945
1cf4ae7f
LS
129462018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12947
12948 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12949 library to improve command line parsing.
12950 (__main__): make schema file as optional parameter (--schema),
12951 defaulting to benchtests/scripts/benchout.schema.json.
12952 (main): move out of the parsing stuff to __main_  and leave it
12953 only as caller of main comparison functions.
12954
e84bd851
L
129552018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12956
12957 * NEWS: Add a note for Intel CET status.
12958 * manual/install.texi: Likewise.
12959 * INSTALL: Regenerated.
12960
df467d22
QP
129612018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12962
12963 [BZ #23140]
12964 * localedata/locales/oc_FR (mon): Rename to...
12965 (alt_mon): This, then update October (typo fix).
12966 (mon): New content (genitive case, month names preceded by
12967 "de" or "d’").
12968
12969 [BZ #23422]
12970 * localedata/locales/oc_FR (abday): Update all items.
12971 (day): Update Wednesday and Saturday (typo fixes).
12972 (abmon): Update all items, except May.
12973 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12974 (LC_IDENTIFICATION): Bump the revision number and date.
12975 Keep the "category" entries in alphabetic order.
12976 (LC_ADDRESS): Remove no longer needed comment.
12977 (LC_COLLATE): Use “copy "ca_ES"”.
12978 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12979 "name_mrs".
12980
5c112f1b
JM
129812018-07-18 Joseph Myers <joseph@codesourcery.com>
12982
12983 * grp/tst_fgetgrent.c: Include <unistd.h>.
12984 (main): Use mkstemp instead of tmpnam.
12985 * io/test-utime.c (main): Likewise.
12986 * posix/annexc.c (macrofile): Change to modifiable array.
12987 (main): Remove macrofile here.
12988 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12989 macrofile here.
12990 (check_header): Do not remove macrofile here.
12991 * posix/bug-getopt1.c: Include <stdlib.h>.
12992 (do_test): Use mkstemp instead of tmpnam.
12993 * posix/bug-getopt2.c: Include <stdlib.h>.
12994 (do_test): Use mkstemp instead of tmpnam.
12995 * posix/bug-getopt3.c: Include <stdlib.h>.
12996 (do_test): Use mkstemp instead of tmpnam.
12997 * posix/bug-getopt4.c: Include <stdlib.h>.
12998 (do_test): Use mkstemp instead of tmpnam.
12999 * posix/bug-getopt5.c: Include <stdlib.h>.
13000 (do_test): Use mkstemp instead of tmpnam.
13001 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
13002 (main): Use mkstemp instead of tmpnam.
13003 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
13004 (main): Use mkstemp instead of tmpnam.
13005 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
13006 (main): use mkstemp instead of tmpnam.
13007 * stdlib/isomac.c (macrofile): Change to modifiable array.
13008 (main): Remove macrofile here.
13009 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13010 macrofile here.
13011 (check_header): Do not remove macrofile here.
13012
6d90776d
L
130132018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13014
13015 * manual/tunables.texi: Document glibc.tune.x86_ibt and
13016 glibc.tune.x86_shstk.
13017
e6c69509
L
130182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13019
13020 * NEWS: Mention --enable-cet.
13021 * manual/install.texi: Document --enable-cet.
13022 * INSTALL: Regenerated.
13023
e2d40a88
L
130242018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13025
13026 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13027 Add _CET_NOTRACK before indirect jump to jump table.
13028
77a8ae09
L
130292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13030
13031 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13032 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13033 to jump table.
13034
90d15dc5
L
130352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13036
13037 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13038 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13039 to jump table.
13040
f1574581
L
130412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13042
13043 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13044 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13045 to jump table.
13046
7fb61336
L
130472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13048
13049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13050 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13051 to jump table.
13052
0a899af0
L
130532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13054
13055 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13056 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13057 to jump table.
13058 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13059
177824e2
L
130602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13061
13062 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13063 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13064 to jump table.
13065
00e7b76a
L
130662018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13067
13068 * sysdeps/i386/i686/multiarch/memset-sse2.S
13069 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13070 to jump table.
13071
7e119cd5
L
130722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13073
13074 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13075 indirect jump to jump table.
13076
03aaf49b
L
130772018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13078
13079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13080 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13081 to jump table.
13082 (MEMCPY): Likewise.
13083
811e9e52
L
130842018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13087 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13088 to jump table.
13089 (MEMCPY): Likewise.
13090
8817df42
L
130912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13094 _CET_NOTRACK before indirect jump to jump table.
13095
921595d1
L
130962018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13097
13098 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13099 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13100 to jump table.
13101
4ef60d95
L
131022018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13103
13104 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13105 indirect jump to jump table.
13106
61c4aad7
VT
131072018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13108
13109 [BZ #22241]
13110 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13111 (LOCALES): Likewise.
13112 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13113 * localedata/locales/sah_RU: New file.
13114 * localedata/sah_RU.UTF-8.in: New file.
13115
be9ccd27
L
131162018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13117
13118 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13119 "sysdep.h".
13120 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13121 _CET_ENDBR to indirect jump targets and adjust jump destination
13122 for _CET_ENDBR.
13123 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13124 "sysdep.h".
13125 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13126 _CET_ENDBR to indirect jump targets and adjust jump destination
13127 for _CET_ENDBR.
13128 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13129 "sysdep.h".
13130 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13131 _CET_ENDBR to indirect jump targets and adjust jump destination
13132 for _CET_ENDBR.
13133
5efc6777
L
131342018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13135
13136 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13137 _CET_ENDBR.
13138
562837c0
L
131392018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13140
13141 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13142 _CET_ENDBR.
13143 (_dl_tlsdesc_undefweak): Likewise.
13144 (_dl_tlsdesc_dynamic): Likewise.
13145 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13146 (_dl_tlsdesc_resolve_rel): Likewise.
13147 (_dl_tlsdesc_resolve_rela): Likewise.
13148 (_dl_tlsdesc_resolve_hold): Likewise.
13149 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13150 (_dl_tlsdesc_undefweak): Likewise.
13151 (_dl_tlsdesc_dynamic): Likewise.
13152 (_dl_tlsdesc_resolve_rela): Likewise.
13153 (_dl_tlsdesc_resolve_hold): Likewise.
13154
124bcde6
L
131552018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13156
13157 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13158 (_fini): Likewise.
13159 * sysdeps/x86_64/crti.S (_init): Likewise.
13160 (_fini): Likewise.
13161
9145f033
RL
131622018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13163
13164 [BZ #23140]
13165 * localedata/locales/os_RU (mon): Rename to...
13166 (alt_mon): This.
13167 (mon): Import from CLDR (genitive case).
13168
ba2ea23d
L
131692018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13170
13171 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13172 cet-tunables.h> when CET is enabled.
13173
f753fa7d
L
131742018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13175
6b5c8607 13176 [BZ #21598]
f753fa7d
L
13177 * configure.ac: Add --enable-cet.
13178 * configure: Regenerated.
13179 * elf/Makefille (all-built-dso): Add a comment.
13180 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13181 Include <dl-prop.h>.
13182 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13183 segment.
13184 * elf/dl-open.c: Include <dl-prop.h>.
13185 (dl_open_worker): Call _dl_open_check.
13186 * elf/rtld.c: Include <dl-prop.h>.
13187 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13188 _rtld_main_check.
13189 * sysdeps/generic/dl-prop.h: New file.
13190 * sysdeps/i386/dl-cet.c: Likewise.
13191 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13192 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13193 * sysdeps/x86/cet-tunables.h: Likewise.
13194 * sysdeps/x86/check-cet.awk: Likewise.
13195 * sysdeps/x86/configure: Likewise.
13196 * sysdeps/x86/configure.ac: Likewise.
13197 * sysdeps/x86/dl-cet.c: Likewise.
13198 * sysdeps/x86/dl-procruntime.c: Likewise.
13199 * sysdeps/x86/dl-prop.h: Likewise.
13200 * sysdeps/x86/libc-start.h: Likewise.
13201 * sysdeps/x86/link_map.h: Likewise.
13202 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13203 _CET_ENDBR.
13204 (_dl_runtime_profile): Likewise.
13205 (_dl_runtime_resolve_shstk): New.
13206 (_dl_runtime_profile_shstk): Likewise.
13207 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13208 if CET is enabled.
13209 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13210 (CFLAGS-.os): Likewise.
13211 (CFLAGS-.op): Likewise.
13212 (CFLAGS-.oS): Likewise.
13213 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13214 is enabled.
13215 (tests-special): Add $(objpfx)check-cet.out.
13216 (cet-built-dso): New.
13217 (+$(cet-built-dso:=.note)): Likewise.
13218 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13219 ($(objpfx)check-cet.out): New.
13220 (generated): Add check-cet.out.
13221 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13222 <cet-tunables.h>.
13223 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13224 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13225 (init_cpu_features): Call get_cet_status to check CET status
13226 and update dl_x86_feature_1 with CET status. Call
13227 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13228 (set_x86_shstk). Disable and lock CET in libc.a.
13229 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13230 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13231 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13232 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13233 (_CET_ENDBR): Define if not defined.
13234 (ENTRY): Add _CET_ENDBR.
13235 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13236 x86_shstk.
13237 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13238 _CET_ENDBR.
13239 (_dl_runtime_profile): Likewise.
13240
52b2a80f
RA
132412018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13242
13243 [BZ #21895]
13244 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13245 restore r2 on longjmp.
13246 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13247 test list.
13248 Added rules to build test tst-setjmp-bug21895-static.
13249 Added module setjmp-bug21895 and rules to build a shared object from it.
13250 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13251 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13252
3ae725df
WD
132532018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13254
13255 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13256 * benchtests/bench-strstr.c: Likewise.
13257 * string/memmem.c (FASTSEARCH): Define.
13258 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13259 Add support for FASTSEARCH.
13260 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13261 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13262 (FASTSEARCH): Define.
13263 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13264 * string/test-strstr.c: Likewise.
13265
31e422ca
L
132662018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13269 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13270
faaee1f0
L
132712018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13272 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13275 (__longjmp): Restore shadow stack pointer if shadow stack is
13276 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13277 isn't defined for __longjmp_cancel.
13278 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13279 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13280 and SHADOW_STACK_POINTER_OFFSET is defined.
13281 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13282 (setjmp): Save shadow stack pointer if shadow stack is enabled
13283 and SHADOW_STACK_POINTER_OFFSET is defined.
13284 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13285 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13286 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13287 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13288 <jmp_buf-ssp.h>.
13289 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13290 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13291 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13292 Remove jmp_buf-ssp.sym.
13293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13294 <jmp_buf-ssp.h>.
13295 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13296 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13297 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13298 jmp_buf-ssp.sym.
13299 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13300 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13301 (__longjmp): Restore shadow stack pointer if shadow stack is
13302 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13303 isn't defined for __longjmp_cancel.
13304 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13305 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13306 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13307
ebff9c5c
L
133082018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13309
13310 [BZ #22563]
13311 * nptl/pthread_create.c: Include <tls-setup.h>.
13312 (__pthread_create_2_1): Call tls_setup_tcbhead.
13313 * sysdeps/generic/tls-setup.h: New file.
13314 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13315 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13316 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13317 Likewise.
13318 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13319 to feature_1.
13320 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13321 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13322 (X86_FEATURE_1_SHSTK): Likewise.
13323 (CET_ENABLED): Likewise.
13324 (IBT_ENABLED): Likewise.
13325 (SHSTK_ENABLED): Likewise.
13326
0a83bad2
RL
133272018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13328
13329 [BZ #23208]
13330 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13331 (LOCALES): Likewise.
13332 * localedata/dsb_DE.UTF-8.in: New file.
13333 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13334
046bfed9
FW
133352018-07-12 Florian Weimer <fweimer@redhat.com>
13336
13337 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13338 __mprotect, not mprotect.
13339
93304f5f
FW
133402018-07-11 Florian Weimer <fweimer@redhat.com>
13341
13342 * io/Makefile (headers): Add bits/statx.h.
13343
4beefeeb
MF
133442018-07-10 Mike FABIAN <mfabian@redhat.com>
13345
13346 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13347 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13348 and headers.
13349 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13350 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13351 for utf8_gen.py
13352
fd70af45
FW
133532018-07-10 Florian Weimer <fweimer@redhat.com>
13354
13355 * io/Makefile (routines): Add statx.
13356 (tests-internal): Add tst-statx.
13357 * io/Versions (GLIBC_2.28): Export statx.
13358 * io/bits/statx.h: New file.
13359 * io/sys/stat.h [__USE_GNU]: Include it.
13360 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13361 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13362 Define.
13363 * io/statx.c: New file.
13364 * io/statx_generic.: Likewise.
13365 * io/tst-statx.: Likewise.
13366 * include/bits/statx.h: Likewise.
13367 * sysdeps/unix/sysv/linux/kernel-features.h
13368 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13369 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13370 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13371 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13372 Undefine.
13373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13374 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13375 * sysdeps/unix/sysv/linux/statx.c: New file.
13376 * manual/filesys.texi: Note that statx is undocumented.
13377 * sysdeps/**/libc*.abilist: Update.
13378
b444e8f7
AZ
133792018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13380
13381 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13382 a kernel issue which lead to test failure in some cases.
13383
7b2f4ced
FW
133842018-07-10 Florian Weimer <fweimer@redhat.com>
13385
13386 [BZ #23036]
13387 * posix/regexec.c (check_node_accept_bytes): When comparing
13388 weights, do not compare an extra byte after the end of the
13389 weights.
13390
4fa34da6
FW
133912018-07-10 Florian Weimer <fweimer@redhat.com>
13392
13393 * libio/readline.c: Fix copyright year.
13394 * libio/tst-readline.c Likewise.
13395 * nss/tst-nss-files-hosts-getent.c: Likewise.
13396
916124ed
FW
133972018-07-06 Florian Weimer <fweimer@redhat.com>
13398
13399 [BZ #18991]
13400 * nss/nss_files/files-XXX.c (internal_getent): Use
13401 __libc_readline_unlocked. Seek back to the start of the line if
13402 parsing failes with ERANGE.
13403 (get_contents_ret, get_contents): Remove.
13404 * nss/tst-nss-files-hosts-getent.c: New file.
13405 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13406 (tst-nss-files-hosts-getent): Link with -ldl.
13407
3f5e3f5d
FW
134082018-07-06 Florian Weimer <fweimer@redhat.com>
13409
13410 * include/stdio.h (__libc_readline_unlocked): Declare.
13411 (__ftello64, __fseeko64): Declare aliases.
13412 * libio/readline.c: New file.
13413 * libio/tst-readline.c: Likewise.
13414 (routines): Add readline.
13415 (tests-internal): Add tst-readlime.
13416 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13417 __libc_readline_unlocked.
13418 * libio/fseeko.c (__fseeko): Rename from fseeko.
13419 (fseeko): Add alias.
13420 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13421 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13422 (fseeko64): Add alias.
13423 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13424 * libio/ftello64.c (__ftello64): Rename from ftello64.
13425 (ftello64): Add alias.
13426
397c54c1
SN
134272018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13428
13429 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13430 HWCAP_ATOMICS.
13431
d0cd7980
SN
134322018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13433
13434 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13435 Use dl_hwcap without masking.
13436 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13437 Remove HWCAP_CPUID.
13438
ddb3c626
FW
134392018-07-06 Florian Weimer <fweimer@redhat.com>
13440
13441 * conform/conformtest.pl (checknamespace): Escape literal braces
13442 in regular expressions.
13443
bce5911b
AP
134442018-07-06 Amit Pawar <amit.pawar@amd.com>
13445
13446 * sysdeps/x86/cpu-features.c (get_common_indeces):
13447 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13448 * sysdeps/x86/cpu-features.c (init_cpu_features):
13449 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13450
3a885c1f
FW
134512018-07-05 Florian Weimer <fweimer@redhat.com>
13452
13453 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13454 protector.
13455 (CFLAGS-elf-init.oS): Likewise.
13456
38cade0c
FW
134572018-07-05 Florian Weimer <fweimer@redhat.com>
13458 Carlos O'Donell <carlos@redhat.com>
13459
13460 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13461 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13462 with stack protector enabled because there is no risk of infinite
13463 recursion.
13464
9449a295
MR
134652018-07-05 Maciej W. Rozycki <macro@mips.com>
13466
13467 [BZ #19818]
13468 [BZ #23307]
13469 * libc-abis (ABSOLUTE): New ABI.
13470 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13471 * NEWS: Mention the new ABI.
13472
d6da5cb6
FW
134732018-07-05 Florian Weimer <fweimer@redhat.com>
13474
13475 [BZ # 17662]
13476 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13477 (RENAME_WHITEOUT): Define.
13478 [__USE_GNU] (renameat2): Declare.
13479 * stdio-common/Makefile (routines): Add renameat2.
13480 (tests): Add tst-renameat2.
13481 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13482 * stdio-common/renameat2.c: New file.
13483 * stdio-common/tst-renameat2.c: Likewise.
13484 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13485 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13486 undocumented.
13487 * sysdeps/unix/sysv/linux/kernel-features.h
13488 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13489 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13490 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13492 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13493 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13494 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13495 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13496 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13497 * include/stdio.h (__renameat): Add alias for renameat.
13498 * stdio-common/renameat.c (__renameat): Rename from renameat.
13499 Add hidden definition and alias.
13500 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13501 * sysdeps/mach/hurd/renameat.c: Likewise.
13502 * sysdeps/**/libc*.abilist: Add renameat2.
13503
1002d708
AZ
135042018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13505
13506 * posix/bug-regex33.c: Fix build after regex sync.
13507
34fdb893
CD
135082018-07-04 Carlos O'Donell <carlos@redhat.com>
13509
13510 [BZ #23164]
13511 * localedata/tst-langinfo-setlocale.c: New file.
13512 * localedata/tst-langinfo-setlocale-static.c: New file.
13513 * localedata/tst-langinfo-newlocale.c: New file.
13514 * localedata/tst-langinfo-newlocale-static.c: New file.
13515 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13516 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13517 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13518 (tests-static): Remove tst-langinfo-static. Add
13519 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13520 (tests-special): Remove $(objpfx)tst-langinfo.out,
13521 $(objpfx)tst-langinfo-static.out. Add
13522 $(objpfx)tst-langinfo-setlocale.out,
13523 $(objpfx)tst-langinfo-newlocale.out,
13524 $(objpfx)tst-langinfo-setlocale-static.out,
13525 $(objpfx)tst-langinfo-newlocale-static.out.
13526 ($(objpfx)tst-langinfo.out): Remove.
13527 ($(objpfx)tst-langinfo-static.out): Remove.
13528 ($(objpfx)tst-langinfo-newlocale.out): New target.
13529 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13530 (test-xfail-tst-langinfo-newlocale-static): Add.
13531 ($(objpfx)tst-langinfo-setlocale.out): New target.
13532 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13533 * localedata/tst-langinfo.c: Call test_locale.
13534 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13535 data.
13536
f2873d2d
FW
135372018-07-04 Florian Weimer <fweimer@redhat.com>
13538
13539 testrun.sh: Implement --tool=strace, --tool=valgrind
13540 * Makefile (testrun-script): Define variable.
13541 (testrun.sh): Use variable.
13542 * manual/install.texi (Tools for Compilation): make 4.0 or later
13543 is required.
13544 * configure.ac: Check for make 4.0 or later.
13545 * INSTALL: Regenerate.
13546 * configure: Likewise.
13547
eb04c213
AZ
135482018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13549
13550 [BZ #23233]
13551 [BZ #21163]
13552 [BZ #18986]
13553 [BZ #13762]
13554 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13555 * posix/PCRE.tests: Remove invalid test.
13556 * posix/bug-regex28.c: Fix expected values for used syntax.
13557 * posix/bug-regex37.c: New file.
13558 * posix/bug-regex38.c: Likewise.
13559 * posix/regcomp.c: Sync with gnulib.
13560 * posix/regex.c: Likewise.
13561 * posix/regex.h: Likewise.
13562 * posix/regex_internal.c: Likewise.
13563 * posix/regex_internal.h: Likewise.
13564 * posix/regexec.c: Likewise.
13565
b11643c2
MF
135662018-06-26 Mike FABIAN <mfabian@redhat.com>
13567
13568 [BZ #23308]
13569 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13570 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13571 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13572 * localedata/unicode-gen/PropList.txt: likewise.
13573 * localedata/unicode-gen/UnicodeData.txt: likewise.
13574 * localedata/charmaps/UTF-8: Regenerate.
13575 * localedata/locales/i18n_ctype: likewise.
13576 * localedata/locales/tr_TR: likewise.
13577 * localedata/locales/translit_circle: likewise.
13578 * localedata/locales/translit_cjk_compat: likewise.
13579 * localedata/locales/translit_combining: likewise.
13580 * localedata/locales/translit_compat: likewise.
13581 * localedata/locales/translit_font: likewise.
13582 * localedata/locales/translit_fraction: likewise.
13583
5a357506
FW
135842018-07-03 Florian Weimer <fweimer@redhat.com>
13585
13586 [BZ #23363]
13587 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13588 * stdio-common/tst-printf.sh: Adjust expected output.
13589 * LICENSES: Update.
13590
7279af00
AZ
135912018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13592
13593 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13594 symbol.
13595
b7b88cea
GG
135962018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13597
13598 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13599 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13600 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13601 * stdio-common/tst-printfsz-islongdouble.c: New file.
13602 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13604 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13605 [subdir == stdio-common] (tests-internal): Add
13606 test-printf-size-ieee128, and test-printf-size-ibm128.
13607 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13608 (CFLAGS-test-printf-size-ibm128.c): New variables.
13609 [subdir == stdio-common] (tests-special): Add
13610 $(objpfx)test-printf-size-ieee128.out and
13611 $(objpfx)test-printf-size-ibm128.out.
13612 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13613 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13614 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13615 __printf_sizeieee128.
13616 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13617 New file.
13618 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13619 Likewise.
13620 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13621 Likewise.
13622
2b445206
SN
136232018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13624
13625 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13626 (exp2f_inline): Likewise.
13627 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13628 (__math_uflowf): Likewise.
13629 (__math_may_uflowf): Likewise.
13630 (__math_divzerof): Likewise.
13631 (__math_invalidf): Likewise.
13632 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13633 (__math_oflowf): Likewise.
13634 (__math_uflowf): Likewise.
13635 (__math_may_uflowf): Likewise.
13636 (__math_divzerof): Likewise.
13637 (__math_invalidf): Likewise.
13638
2827ab99
CD
136392018-06-29 DJ Delorie <dj@redhat.com>
13640 Carlos O'Donell <carlos@redhat.com>
13641
13642 [BZ #23329]
13643 * include/libc-symbols.h: Comment the freeres framework.
13644 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13645 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13646 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13647 * dlfcn/dlerror.c: Include libc-symbols.h
13648 (__dlerror_main_freeres): New function.
13649 * dlfcn/dlfreeres.c: New file.
13650 * dlfcn/sdlfreeres.c: New file.
13651 * include/dlfcn.h: Declare __dlerror_main_freeres.
13652 * malloc/set-freeres.c: Declare __libdl_freeres, and
13653 __libpthread_freeres.
13654 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13655 the releavant libraries are loaded.
13656 * malloc/thread-freeres.c: Add comments.
13657 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13658 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13659 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13660 (__free_stacks): Rename to...
13661 (free_stacks): ...this. Mark static.
13662 (queue_stack): Call free_stacks.
13663 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13664 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13665 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13666 ptr_freeres element from struct.
13667 (pthread_functions): Remove .ptr_freeres from struct initializer.
13668 [SHARED] (nptl_freeres): Remove.
13669 * nptl/nptlfreeres.c: New file.
13670 * nptl/pthreadP.h
13671 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13672 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13673 attribute_hidden.
13674 (__free_stacks): Rename to...
13675 (__nptl_stacks_freeres): ...this.
13676 (__shm_directory_freeres): Declare.
13677 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13678 (__nptl_unwind_freeres): ...this.
13679 * resolv/res-close.c: Add comment.
13680 * resolv/resolv_conf.c: Include libc-symbols.h.
13681 * string/strerror_l.c: Include libc-symbols.h.
13682 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13683 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13684 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13685 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13686
37d3d244
RS
136872018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13688
13689 * stdlib/tst-strfmon_l.c: Add tests for long double.
13690
a1e0c5fa
MW
136912018-06-29 Michael Wolf <milupo@sorbzilla.de>
13692
13693 [BZ #23208]
13694 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13695 * localedata/locales/dsb_DE: New file.
13696
2e0c5de6
RL
136972018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13698
13699 [BZ #23140]
13700 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13701 genitive case).
13702 (alt_mon): New entry, import from CLDR (nominative case).
13703
cdb52c71
SL
137042018-06-29 Sylvain Lesage <severo@rednegra.net>
13705
13706 [BZ #22996]
13707 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13708
ce76a5cb
SP
137092018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13710
0aec4c1d
SP
13711 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13712 Use vector registers.
13713
ce76a5cb
SP
13714 * sysdeps/aarch64/multiarch/memmove_falkor.S
13715 (__memcpy_falkor): Use vector registers.
13716
7e8989d0
MS
137172018-06-29 Martin Sebor <msebor@redhat.com>
13718
13719 * manual/stdio.texi (Customizing Printf): Mention interaction
13720 with GCC built-ins.
13721
bac15a72
MR
137222018-06-29 Maciej W. Rozycki <macro@mips.com>
13723
13724 [BZ #23307]
13725 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13726 `st_value' is 0 if `st_shndx' is SHN_ABS.
13727 * elf/tst-absolute-zero.c: New file.
13728 * elf/tst-absolute-zero-lib.c: New file.
13729 * elf/tst-absolute-zero-lib.lds: New file.
13730 * elf/Makefile (tests): Add `tst-absolute-zero'.
13731 (modules-names): Add `tst-absolute-zero-lib'.
13732 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13733 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13734 ($(objpfx)tst-absolute-zero: New dependency.
13735
e69d994a
ZW
137362018-06-29 Zack Weinberg <zackw@panix.com>
13737
13738 * configure.ac: New command-line option --disable-crypt.
13739 Force --disable-nss-crypt when --disable-crypt is given, with a
13740 warning if it was explicitly enabled.
13741 * configure: Regenerate.
13742 * config.make.in: New boolean substitution variable $(build-crypt).
13743 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13744 when $(build-crypt).
13745 * manual/install.texi: Document --disable-crypt.
13746 * INSTALL: Regenerate.
13747
13748 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13749 which is never set.
13750 * conform/Makefile: Only include libcrypt.a in
13751 linknamespace-libs-xsi and linknamespace-libs-XPG4
13752 when $(build-crypt).
13753 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13754 USE_CRYPT to 1 when $(build-crypt).
13755 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13756 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13757 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13758
841785ba
ZW
137592018-06-29 Zack Weinberg <zackw@panix.com>
13760
13761 * crypt/crypt.h, posix/unistd.h: Update comments and
13762 prototypes for crypt and crypt_r.
13763
13764 * manual/crypt.texi (Cryptographic Functions): New initial
13765 exposition.
13766 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13767 (Unpredictable Bytes): Improve initial exposition. Clarify error
13768 behavior of getentropy and getrandom.
13769 * manual/examples/genpass.c: Generate a salt using getentropy
13770 instead of the current time. Use hash $5$ (SHA-2-256).
13771 * manual/examples/testpass.c: Demonstrate validation against
13772 hashes generated with three different one-way functions.
13773
13774 * manual/intro.texi: crypt.texi does not need an overview
13775 anymore.
13776
13777 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13778 * manual/terminal.texi: Consistently refer to "passphrases"
13779 * instead of "passwords", and to the "user database" instead
13780 * of the "password database".
13781 * manual/users.texi: Similarly. Add notes about how actual
13782 passphrase hashes are now stored in the shadow database.
13783 Remove 20-year-old junk todo note.
13784
6ab902e4
ZW
137852018-06-29 Zack Weinberg <zackw@panix.com>
13786
13787 * manual/crypt.texi: Use a normal top-level @node declaration.
13788 Move most of the introductory text to the 'crypt' section.
13789 Move the example programs below the @deftypefun for 'crypt_r'.
13790 Move the 'getpass' section...
13791 * manual/terminal.texi: ...here.
13792
b10a0acc
ZW
137932018-06-29 Zack Weinberg <zackw@panix.com>
13794 Florian Weimer <fweimer@redhat.com>
13795
13796 * posix/unistd.h: Do not declare encrypt.
13797 (_XOPEN_CRYPT): Remove macro definition.
13798 (crypt): Declare only for _USE_MISC.
13799 * stdlib/stdlib.h: Do not declare setkey.
13800 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13801 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13802
13803 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13804 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13805 into compat symbols. Don't define initial_perm if it's not
13806 going to be used.
13807 * crypt/cert.c: Link explicitly with the expected versions for
13808 setkey and encrypt. If they are not available at all, mark
13809 the test as unsupported.
13810
13811 * sunrpc/des_crypt.c: Unconditionally block linkage with
13812 cbc_crypt and ecb_crypt for new binaries.
13813 * sunrpc/des_soft.c: Unconditionally block linkage with
13814 des_setparity for new binaries.
13815
13816 * manual/crypt.texi: Remove the entire "DES Encryption"
13817 section. Also remove the paragraph talking about FIPS 140-2
13818 from the introduction.
13819 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13820 of libgcrypt for "real" encryption, not DES.
13821 * manual/conf.texi (Constants for Sysconf): Mention that
13822 _XOPEN_CRYPT is no longer impelemented.
13823
13824 * conform/data/unistd.h-data: Remove crypt function declaration.
13825
524d796d
FW
138262018-06-29 Florian Weimer <fweimer@redhat.com>
13827
13828 [BZ #23351]
13829 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13830 (disallow_malloc_check): Remove variable.
13831 (__malloc_check_init): Adjust.
13832 (malloc_set_state): Update comment.
13833 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13834 declarations.
13835
339124ab
RL
138362018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13837
13838 [BZ #23140]
13839 * localedata/locales/ast_ES (mon): Rename to...
13840 (alt_mon): This.
13841 (mon): Import from CLDR (genitive case).
13842
c1f86a33
DA
138432018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13844 Jakub Sitnicki <jkbs@redhat.com>
13845
13846 [BZ #21812]
13847 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13848 on NLM_F_DUMP_INTR.
13849
0b11b649
SN
138502018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13851
13852 * manual/llio.texi: Remove spurious space.
13853
c1c2848b
FW
138542018-06-28 Florian Weimer <fweimer@redhat.com>
13855
13856 [BZ #23349]
13857 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13858 _STRUCT_TIMESPEC.
13859
86a0f561
RS
138602018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13861
13862 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 13863 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
13864 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13865 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13866 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13867 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13868 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13869
780684eb
MR
138702018-06-27 Maciej W. Rozycki <macro@mips.com>
13871
13872 [BZ #23266]
13873 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13874 Copy and null-terminate entries that are not terminated, in
13875 addition to empty ones.
13876
c49e1822
FW
138772018-06-27 Florian Weimer <fweimer@redhat.com>
13878
13879 [BZ #18023]
b39d961c
TS
13880 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13881 (extend_alloca_account): Remove.
c49e1822
FW
13882 * manual/stdio.texi (Variable Arguments Output): Update comment.
13883
a833e627
JM
138842018-06-27 Joseph Myers <joseph@codesourcery.com>
13885
13886 * nptl/sockperf.c: Remove file.
13887
92d6aa85
FW
138882018-06-27 Florian Weimer <fweimer@redhat.com>
13889
13890 [BZ #18023]
13891 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13892 scratch_buffer instead of extend_alloca.
13893
890c2ced
FW
138942018-06-27 Florian Weimer <fweimer@redhat.com>
13895
13896 [BZ #18023]
13897 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13898 scratch_buffer instead of extend_alloca. Update comments.
13899
4272059d
FW
139002018-06-27 Florian Weimer <fweimer@redhat.com>
13901
13902 [BZ #18023]
13903 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13904 instead of extend_alloca.
13905
27f10a09
JM
139062018-06-26 Joseph Myers <joseph@codesourcery.com>
13907
13908 [BZ #13888]
13909 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13910 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13911 /tmp.
13912 * scripts/test-installation.pl: Put temporary files in build
13913 directory, not /tmp.
13914 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13915 (CFLAGS-bug4.c): Likewise.
13916 (CFLAGS-bug5.c): Likewise.
13917 (CFLAGS-test-fseek.c): Likewise.
13918 (CFLAGS-test-popen.c): Likewise.
13919 (CFLAGS-test_rdwr.c): Likewise.
13920 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13921 /tmp.
13922 * stdio-common/bug4.c (main): Likewise.
13923 * stdio-common/bug5.c (main): Likewise.
13924 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13925 * stdio-common/test-popen.c (do_test): Likewise.
13926 * stdio-common/test_rdwr.c (main): Likewise.
13927
05598a09
PF
139282018-06-26 Patsy Franklin <pfrankli@redhat.com>
13929
13930 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13931 (sem_open): Set sem.newsem.pad to zero for valgrind.
13932
06ab719d
AZ
139332018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13934
13935 [BZ #20251]
13936 * NEWS: Mention fcntl64 addition.
13937 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13938 * login/utmp_file.c: Likewise.
13939 * sysdeps/posix/fdopendir.c: Likewise.
13940 * sysdeps/posix/opendir.c: Likewise.
13941 * sysdeps/unix/pt-fcntl.c: Likewise.
13942 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13943 __fcntl64_nocancel_adjusted): New prototype.
13944 (__fcntl_nocancel_adjusted): Remove prototype.
13945 * io/Makefile (routines): Add fcntl64.
13946 (CFLAGS-fcntl64.c): New rule.
13947 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13948 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13949 * io/fcntl.h (fcntl64): Add prototype and redirect if
13950 __USE_FILE_OFFSET64 is defined.
13951 * io/fcntl64.c: New file.
13952 * manual/llio.text: Add a note for which commands fcntl acts a
13953 cancellation point.
13954 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13955 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13956 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13957 New symbols.
13958 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13959 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13960 non-LFS case.
13961 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13962 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13963 to __fcntl64_nocancel.
13964 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13965 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13966 to __fcntl64_nocancel.
13967 * sysdeps/generic/not-cancel.h: Likewise.
13968 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13969 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13970 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13971 (fcntl64): New symbol.
13972 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13983 fcntl64): Likewise.
13984 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13985 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13986 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13987 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13988 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13989 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13991 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13992 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13994 Likewise.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13996 Likewise.
13997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14000
124e0258
FW
140012018-06-26 Florian Weimer <fweimer@redhat.com>
14002
14003 Run thread shutdown functions in an explicit order.
14004 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
14005 definition.
14006 (__libc_thread_freeres): Call thread shutdown functions
14007 explicitly.
14008 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
14009 * include/string.h (__strerror_thread_freeres): Declare.
14010 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
14011 arena_thread_freeres. No longer static. Remove thread shutdown
14012 hook registration.
14013 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
14014 Declare.
14015 * resolv/res-close.c (__res_thread_freeres): Renamed from
14016 res_thread_freeres. No longer static. Remove thread shutdown
14017 hook registration.
14018 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
14019 * resolv/resolv_conf.c (freeres): Remove incorrect section
14020 attribute and use libc_freeres_fn.
14021 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
14022 strerror_thread_freeres. No longer static. Remove thread
14023 shutdown hook registration.
14024 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
14025 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14026 shutdown hook registration.
14027 * Makerules (shlib.lds): Do not provide section boundary symbols
14028 for __libc_thread_subfreeres.
14029 * manual/memory.texi (Basic Allocation): Update comment.
14030
935d920e
FW
140312018-06-26 Florian Weimer <fweimer@redhat.com>
14032
14033 Remove always-defined _RPC_THREAD_SAFE_ macro.
14034 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14035 Do not define _RPC_THREAD_SAFE_.
14036 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14037 conditional.
14038 * sunrpc/clnt_perr.c: Likewise.
14039 * sunrpc/clnt_raw.c: Likewise.
14040 * sunrpc/clnt_simp.c: Likewise.
14041 * sunrpc/key_call.c: Likewise.
14042 * sunrpc/rpc_common.c: Likewise.
14043 * sunrpc/rpc_main.c: Likewise.
14044 * sunrpc/rpc_thread.c: Likewise.
14045 * sunrpc/svc.c: Likewise.
14046 * sunrpc/svc_raw.c: Likewise.
14047 * sunrpc/svc_simple.c: Likewise.
14048 * sumrpc/svcauth_des.c: Likewise.
14049
29055464
FW
140502018-06-26 Florian Weimer <fweimer@redhat.com>
14051
14052 * libio/Makefile (tests-internal): Add tst-vtables,
14053 tst-vtables-interposed.
14054 * libio/tst-vtables.c: New file.
14055 * libio/tst-vtables-common.c: Likewise.
14056 * libio/tst-vtables-interposed.c: Likewise.
14057
5c0202af
FW
140582018-06-26 Florian Weimer <fweimer@redhat.com>
14059
14060 * support/support_test_main.c (support_test_main): Only call
14061 setvbuf if not disables.
14062 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14063 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14064
c402355d
FW
140652018-06-26 Florian Weimer <fweimer@redhat.com>
14066
14067 [BZ #23313]
14068 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14069
43b1048a
FW
140702018-06-25 Florian Weimer <fweimer@redhat.com>
14071
14072 [BZ #18023]
14073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14074 Use struct scratch_buffer instead of extend_alloca.
14075
1599ed4e
FW
140762018-06-25 Florian Weimer <fweimer@redhat.com>
14077
14078 [BZ #18023]
14079 * nss/getent.c (initgroups_keys): Use dynarray instead of
14080 extend_alloca.
14081
a26fe163
FW
140822018-06-25 Florian Weimer <fweimer@redhat.com>
14083
14084 [BZ #18023]
14085 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14086 Use struct scratch_buffer instead of extend_alloca.
14087
90d9d9ce
FW
140882018-06-25 Florian Weimer <fweimer@redhat.com>
14089
14090 [BZ #18023]
14091 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14092 back to malloc directly, without stack allocations.
14093
6b7b2aba
FW
140942018-06-25 Florian Weimer <fweimer@redhat.com>
14095
14096 [BZ #18023]
14097 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14098 of extend_alloca.
14099
2f9f0d18
FW
141002018-06-25 Florian Weimer <fweimer@redhat.com>
14101
14102 [BZ #18023]
14103 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14104 of extend_alloca.
14105 * nscd/hstcache.c (addhstbyX): Likewise.
14106 * nscd/pwdcache.c (addpwbyX): Likewise.
14107 * nscd/servicescache.c (addservbyX): Likewise.
14108
318bad78
FW
141092018-06-25 Florian Weimer <fweimer@redhat.com>
14110
14111 [BZ #18023]
14112 * nscd/connections.c (read_cmdline): New function.
14113 (restart): Use it. Update comment.
14114
189699ab
RL
141152018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14116
14117 [BZ #23140]
14118 * localedata/locales/csb_PL (mon): Rename to...
14119 (alt_mon): This.
14120 (abmon): Rename to...
14121 (ab_alt_mon): This.
14122 (mon): Add with proper genitive forms, copy from Wikipedia.
14123 (abmon): Likewise.
14124
0ea3f13c
RL
141252018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14126
14127 [BZ #19485]
14128 * localedata/locales/csb_PL (mon): Fix typos:
14129 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14130 (yesstr): Add, value is "jo".
14131 (nostr): Add, value is "nié".
14132
d93f4ff1
TMQMF
141332018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14134
14135 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14136 all log1p and significand functions on m680x0.
14137 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14138 of s_significand.c..
14139 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14140 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14141 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14142 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14143 s_log1p.c and include it..
14144
f6299d2a
VC
141452018-06-21 Vincent Chen <vincentc@andestech.com>
14146
14147 * elf/elf.h (R_NDS32_NONE): New define.
14148 (R_NDS32_32_RELA): Likewise.
14149 (R_NDS32_COPY): Likewise.
14150 (R_NDS32_GLOB_DAT): Likewise.
14151 (R_NDS32_JUMP_SLOT): Likewise.
14152 (R_NDS32_RELATIVE): Likewise.
14153 (R_NDS32_TLS_TPOFF): Likewise.
14154 (R_NDS32_TLS_DESC): Likewise.
14155
61ab61c2
MW
141562018-06-21 Mark Wielaard <mark@klomp.org>
14157
14158 * elf/elf.h (R_BPF_MAP_FD): Removed.
14159 (R_BPF_64_64, R_BPF_64_32): New.
14160
f496b28e
FW
141612018-06-21 Florian Weimer <fweimer@redhat.com>
14162
14163 [BZ #23253]
14164 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14165 Renamed from libc_feholdsetround_ctx.
14166 (default_libc_feresetround_ctx): Renamed from
14167 libc_feresetround_ctx.
14168 (default_libc_feholdsetround_noex_ctx): Renamed from
14169 libc_feholdsetround_noex_ctx.
14170 (default_libc_feresetround_noex_ctx): Renamed from
14171 libc_feresetround_noex_ctx.
14172 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14173 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14174 forwardning to the old implementations under the new names.
14175 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14176 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14177 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14178 (libc_feresetround_ctx): Forward to default implements for i386
14179 and MATH_SET_BOTH_ROUNDING_MODES.
14180 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14181 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14182
1760daad
JM
141832018-06-20 Joseph Myers <joseph@codesourcery.com>
14184
99c7adf9
JM
14185 * string/tst-cmp.c: Include <libc-diag.h>.
14186 (strncmp_max): Disable -Wstringop-overflow= around call to
14187 strncmp.
14188 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14189 strncasecmp.
14190
1760daad
JM
14191 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14192 (main): Disable -Wunused-value around call to strpbrk.
14193 * string/bug-strspn1.c: Include <libc-diag.h>.
14194 (main): Disable -Wunused-value around call to strspn.
14195
209ae17c
TMQMF
141962018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14197 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14198
14199 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14200 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14201
badba23c
TMQMF
142022018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14203
5e79e029
TMQMF
14204 * math/Makefile (libm-calls): Move s_significandF to...
14205 (gen-libm-calls): ... here.
14206 * math/s_significand_template.c: New file.
14207 * math/s_significand.c: Removed.
14208 * math/s_significandf.c: Removed.
14209 * math/s_significandl.c: Removed.
14210 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14211 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14212
badba23c
TMQMF
14213 * math/e_exp2_template.c (declare_mgen_finite_alias,
14214 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14215 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14216 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14217
2d1c89a5
FW
142182018-06-20 Florian Weimer <fweimer@redhat.com>
14219
14220 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14221
646c2833
JM
142222018-06-19 Joseph Myers <joseph@codesourcery.com>
14223
14224 [BZ #23280]
14225 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14226 floating-point number to strtod functions rather than possibly
14227 negating result of those functions.
14228 * stdio-common/tst-scanf-round.c: New file.
14229 * stdio-common/Makefile (tests): Add tst-scanf-round.
14230 ($(objpfx)tst-scanf-round): Depend on $(libm).
14231
c77e4dc0
ST
142322018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14233
14234 * sysdeps/mach/hurd/localplt.data: Move to...
14235 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14236 R_386_GLOB_DAT like on Linux i386.
14237
91b2f3e5
JM
142382018-06-18 Joseph Myers <joseph@codesourcery.com>
14239
f2857da7
JM
14240 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14241 (SHM_STAT_ANY): New macro.
14242 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14243 (SHM_STAT_ANY): Likewise.
14244 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14245 (SHM_STAT_ANY): Likewise.
14246 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14247 (SHM_STAT_ANY): Likewise.
14248 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14249 (SHM_STAT_ANY): Likewise.
14250 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14251 (SHM_STAT_ANY): Likewise.
14252 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14253 (SHM_STAT_ANY): Likewise.
14254 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14255 (SHM_STAT_ANY): Likewise.
14256 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14257 (SHM_STAT_ANY): Likewise.
14258 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14259 (SHM_STAT_ANY): Likewise.
14260 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14261 (SHM_STAT_ANY): Likewise.
14262 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14263 (SHM_STAT_ANY): Likewise.
14264
176c7fee
JM
14265 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14266 (SEM_STAT_ANY): New macro.
14267 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14268 (SEM_STAT_ANY): Likewise.
14269 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14270 (SEM_STAT_ANY): Likewise.
14271 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14272 (SEM_STAT_ANY): Likewise.
14273 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14274 (SEM_STAT_ANY): Likewise.
14275 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14276 (SEM_STAT_ANY): Likewise.
14277 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14278 (SEM_STAT_ANY): Likewise.
14279 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14280 (SEM_STAT_ANY): Likewise.
14281 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14282 (SEM_STAT_ANY): Likewise.
14283 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14284 (SEM_STAT_ANY): Likewise.
14285
86bf0019
JM
14286 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14287 (MSG_STAT_ANY): New macro.
14288 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14289 (MSG_STAT_ANY): Likewise.
14290 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14291 (MSG_STAT_ANY): Likewise.
14292 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14293 (MSG_STAT_ANY): Likewise.
14294 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14295 (MSG_STAT_ANY): Likewise.
14296 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14297 (MSG_STAT_ANY): Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14299 (MSG_STAT_ANY): Likewise.
14300 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14301 (MSG_STAT_ANY): Likewise.
14302 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14303 (MSG_STAT_ANY): Likewise.
14304 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14305 (MSG_STAT_ANY): Likewise.
14306
91b2f3e5
JM
14307 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14308 (MAP_TYPE): Change value to 0x2b.
14309
3fe8fc79
FW
143102018-06-18 Florian Weimer <fweimer@redhat.com>
14311
14312 [BZ #15722]
14313 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14314 socket with SOCK_CLOEXEC.
14315
809dc95d
JM
143162018-06-18 Joseph Myers <joseph@codesourcery.com>
14317
14318 [BZ #23303]
14319 * sysdeps/powerpc/powerpc64/le/Makefile
14320 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14321 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14322 (gnulib-tests): Also add $(f128-loader-link) for
14323 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14324
298a8b59
ST
143252018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14326
14327 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14328 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14329 of sendfile.
14330 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14331 (sendfile64): New strong alias.
faf7bbc2
ST
14332 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14333 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14334 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
14335 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14336 attribute.
14337 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14338 ___pthread_get_cleanup_stack.
932d05f0 14339 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
14340 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14341 * mach/shortcut.awk: Make syscall stubs include
14342 <mach-shortcuts-hidden.h> and add hidden definition.
14343 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
14344 (__mach_msg): Add hidden prototype.
14345 * mach/msg.c: Include <mach.h>.
14346 (__mach_msg): Add hidden definition.
b0344cf5
ST
14347 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14348 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14349 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14350 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
14351 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14352 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
14353 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14354 prototype and definition.
14355 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14356 hidden target for _hurd_self_sigstate.
298a8b59 14357
b12c1e79
JM
143582018-06-15 Joseph Myers <joseph@codesourcery.com>
14359
14360 [BZ #23007]
14361 * stdlib/tst-strtod-nan-sign-main.c: New file.
14362 * stdlib/tst-strtod-nan-sign.c: Likewise.
14363 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14364 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14365 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14366 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14367 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14368
b0debe14
HB
143692018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14370
14371 [BZ #23007]
14372 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14373 appropriate sign.
14374
14beef75
FW
143752018-06-14 Florian Weimer <fweimer@redhat.com>
14376
14377 [BZ #23290]
14378 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14379 that the result stays within the ISO-8859-1 range.
14380 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14381 characters are defined in IBM273.
14382
c596630b
ST
143832018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14384
14385 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14386 __mach_task_self): Remove attribute_hidden.
14387
35ebb6b0
JM
143882018-06-14 Joseph Myers <joseph@codesourcery.com>
14389
14390 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14391 ignore -Wrestrict for one test.
14392
3c7b9f1f
SE
143932018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14394 Szabolcs Nagy <szabolcs.nagy@arm.com>
14395
14396 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14397
c59ee916
FW
143982018-06-14 Florian Weimer <fweimer@redhat.com>
14399
14400 * scripts/update-abilist.sh: Accept empty list of files to patch.
14401
43b5ff50
ST
144022018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14403
14404 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14405 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
14406 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14407 __libc_read and __libc_write to __read and __write.
c8c6e6d6 14408 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
14409 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14410 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14411 __thread_switch, __evc_wait): Move declarations to...
14412 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14413 attribute_hidden.
06d1a826
ST
14414 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14415 use PLT to call _hurd_self_sigstate.
43b5ff50 14416
fcd6b5ac
JM
144172018-06-13 Joseph Myers <joseph@codesourcery.com>
14418
14419 [BZ #23279]
14420 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14421 MAX_EXP as overflowing.
14422 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14423 overflow flag.
14424 (round_str): Output also whether result overflows in each rounding
14425 mode.
14426 * stdlib/tst-strtod-round-data: Add more tests.
14427 * stdlib/tst-strtod-round-data.h: Regenerated.
14428 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14429 (TEST): Handle extra arguments for overflow flags.
14430 (struct test_overflow): New type.
14431 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14432 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14433 (test_in_one_mode): Take argument with overflow information.
14434 (do_test): Update calls to test_in_one_mode.
14435
35df5a77
CD
144362018-06-12 Carlos O'Donell <carlos@redhat.com>
14437
a745c837
CD
14438 * elf/dl-load (_dl_dst_substitute): Correct comment.
14439 (_dl_dst_count): Likewise.
14440
35df5a77
CD
14441 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14442 lll_futex_timed_wait.
14443
48b12ed5
JM
144442018-06-12 Joseph Myers <joseph@codesourcery.com>
14445
14446 [BZ #23277]
14447 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14448 attribute.
14449 * math/test-nan-const.c: New file.
14450 * math/Makefile (tests): Add test-nan-const.
14451 (CFLAGS-test-nan-const.c): New variable.
14452
cb8f6aff
L
144532018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14454
14455 * benchtests/scripts/compare_strings.py (process_results): Add
14456 funcs argument. Compare only functions which are selected.
14457 (main): Check if base function is among selected functions.
14458 Pass selected functions to process_results.
14459 (__main__): Add -f/--functions argument.
14460
fc2ba803
HZ
144612018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14462 Hongbo Zhang <hongbo.zhang@linaro.org>
14463
14464 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14465 __memcpy_falkor for phecda core.
14466 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14467 __memmove_falkor for phecda core.
14468 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14469 __memset_falkor for phecda core.
14470 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14471 for phecda core.
14472 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14473 macro to identify phecda core.
14474
5aad5f61
CD
144752018-06-12 Carlos O'Donell <carlos@redhat.com>
14476 Andreas Schwab <schwab@suse.de>
14477 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 14478 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
14479
14480 [BZ #23102]
14481 [BZ #21942]
14482 [BZ #18018]
14483 [BZ #23259]
14484 CVE-2011-0536
14485 * elf/dl-dst.h: Remove DL_DST_COUNT.
14486 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14487 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14488 (is_dst): Comment. Support ELF gABI.
14489 (_dl_dst_count): Comment. Simplify and count DSTs.
14490 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14491 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14492 locals.
14493
329ea513
ZW
144942018-06-12 Zack Weinberg <zackw@panix.com>
14495
14496 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14497 * sysdeps/unix/sysv/linux/dl-sysdep.c
14498 Include not-cancel.h. Use __close_nocancel instead of __close,
14499 __open64_nocancel instead of __open, __read_nocancel instead of
14500 __libc_read, and __write_nocancel instead of __libc_write.
14501
14502 * csu/check_fds.c (check_one_fd)
14503 * sysdeps/posix/fdopendir.c (__fdopendir)
14504 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 14505 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
14506
14507 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14508 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 14509 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
14510 Use __open64_nocancel instead of __open_nocancel.
14511
14512 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14513 hidden_proto declarations to the end and issue them if either
14514 IS_IN(libc) or IS_IN(rtld).
14515 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14516 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14517 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14518 read_nocancel, waitpid_nocancel, write_nocancel.
14519
b39d961c
TS
14520 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14521 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14522 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 14523
b39d961c
TS
14524 * nptl/pt-fcntl.c: New file.
14525 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14526 (libpthread-routines): Add pt-fcntl.
14527 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14528 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
14529 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14530 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 14531 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
14532 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14533 to fcntl_nocancel.c.
14534 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14537 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14538
14539 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14540 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14541 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14542 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14543 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14544 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14545 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14546 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14547 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14548 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14549 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14550 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14551 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14552 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14553 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14554 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14555 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14556 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14557 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14558 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14559
b39d961c
TS
14560 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14561 libpthread-routines.
14562 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14563 defines nothing.
329ea513 14564
b39d961c
TS
14565 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14566 __libc_read, and __write instead of __libc_write. Define
14567 __open64 in addition to __open.
329ea513 14568
0221ce2a
L
145692018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14570
14571 [BZ #23250]
14572 [BZ #10686]
14573 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14574 to _private_tm[3] and add __glibc_reserved2.
14575 Add _Static_assert of offset of __private_ss == 0x30.
14576 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14577 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14578
e826574c
FW
145792018-06-12 Florian Weimer <fweimer@redhat.com>
14580
14581 x86: Make strncmp usable from rtld.
14582 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14583 __strncmp_ia32 if in libc (and not in rtld).
14584 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14585 strncmp if not in libc (and not to __strncmp_sse2).
14586
c4ad5782
RL
145872018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14588
14589 [BZ #23140]
14590 * localedata/locales/gd_GB (mon): Rename to...
14591 (alt_mon): This.
14592 (mon): Import from CLDR (genitive case).
14593 * localedata/locales/hsb_DE (mon): Rename to...
14594 (alt_mon): This.
14595 (mon): Import from CLDR (genitive case).
14596 * localedata/locales/wa_BE (mon): Rename to...
14597 (alt_mon): This.
14598 (mon): Add, fill with the proper genitive forms, but CLDR data
14599 is incomplete; completed according to the comments in this file.
14600 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14601
14602 * localedata/locales/wa_BE (country_name): Reword
14603 "Beljike" -> "Beldjike".
14604
ca121b11
JM
146052018-06-11 Joseph Myers <joseph@codesourcery.com>
14606
14607 [BZ #23272]
14608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14609 cases of non-finite arguments.
14610 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14611
2b69fecb
JDA
146122018-06-10 John David Anglin <danglin@gcc.gnu.org>
14613
14614 [BZ #23174]
14615 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14616
283d9851
AZ
146172018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14618
14619 [BZ #23264]
14620 * include/unistd.h (__execvpex): New prototype.
14621 * posix/Makefile (tests): Add tst-spawn4.
14622 (tests-internal): Add tst-spawn4-compat.
14623 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14624 * posix/tst-spawn4-compat.c: New file.
14625 * posix/tst-spawn4.c: Likewise.
14626 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14627 binaries as shell scripts.
14628 * sysdeps/posix/spawni.c (__spawni): Likewise.
14629
67c05796
L
146302018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14631
14632 [BZ #23145]
14633 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14634 ($(all-built-dso:=.dynsym): New target.
14635 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14636 ($(objpfx)check-initfini.out): New target.
14637 (generated): Add check-initfini.out.
14638 * scripts/check-initfini.awk: New file.
14639 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14640 (_fini): Likewise.
14641 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14642 (_fini): Likewise.
14643 * sysdeps/arm/crti.S (_init): Mark as hidden.
14644 (_fini): Likewise.
14645 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14646 (_fini): Likewise.
14647 * sysdeps/i386/crti.S (_init): Mark as hidden.
14648 (_fini): Likewise.
14649 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14650 (_fini): Likewise.
14651 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14652 (_fini): Likewise.
14653 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14654 (_fini): Likewise.
14655 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14656 (_fini): Likewise.
14657 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14658 (_fini): Likewise.
14659 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14660 (_fini): Likewise.
14661 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14662 (_fini): Likewise.
14663 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14664 (_fini): Likewise.
14665 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14666 (_fini): Likewise.
14667 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14668 (_fini): Likewise.
14669 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14670 (_fini): Likewise.
14671 * sysdeps/sh/crti.S (_init): Mark as hidden.
14672 (_fini): Likewise.
14673 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14674 (_fini): Likewise.
14675 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14676 (_fini): Likewise.
14677
1c09524e
TMQMF
146782018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14679
14680 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14681 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14682 and TF redirection to KFtype and KF only when the default
14683 long double type is not the IEEE 128-bit floating point type.
14684
0e0577c9
JM
146852018-06-05 Joseph Myers <joseph@codesourcery.com>
14686
0c1c33b2
JM
14687 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14688 macro.
14689 (HWCAP_USCAT): Likewise.
14690 (HWCAP_ILRCPC): Likewise.
14691 (HWCAP_FLAGM): Likewise.
14692 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14693 Increase to 28.
14694 (_dl_aarch64_cap_flags): Add new flag names.
14695
bef1cbf4
JM
14696 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14697 (MAP_FIXED_NOREPLACE): New macro.
14698 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14699 (MAP_FIXED_NOREPLACE): Likewise.
14700 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14701 (MAP_FIXED_NOREPLACE): Likewise.
14702 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14703 (MAP_FIXED_NOREPLACE): Likewise.
14704 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14705 (MAP_FIXED_NOREPLACE): Likewise.
14706 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14707 (MAP_FIXED_NOREPLACE): Likewise.
14708 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14709 (MAP_FIXED_NOREPLACE): Likewise.
14710 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14711 (MAP_FIXED_NOREPLACE): Likewise.
14712 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14713 (MAP_FIXED_NOREPLACE): Likewise.
14714 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14715 (MAP_FIXED_NOREPLACE): Likewise.
14716 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14717 (MAP_FIXED_NOREPLACE): Likewise.
14718 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14719 (MAP_FIXED_NOREPLACE): Likewise.
14720 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14721 (MAP_FIXED_NOREPLACE): Likewise.
14722 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14723 (MAP_FIXED_NOREPLACE): Likewise.
14724 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14725 (MAP_FIXED_NOREPLACE): Likewise.
14726
0e0577c9
JM
14727 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14728 version to 4.17.
14729
ab3a0da0
JM
147302018-06-04 Joseph Myers <joseph@codesourcery.com>
14731
14732 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14733 version to 4.17
14734
d2d9dfb6
ST
147352018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14736
14737 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14738 int.
14739 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14740
a650b05e
LS
147412018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14742
14743 * benchtests/scripts/compare_string.py: (process_results) Catch
14744 exception in non-existent base_func and catch exception in
14745 non-existent attribute.
14746 (parse_file) Catch exception if input file does not exist.
14747
195abbf4
LS
147482018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14749
14750 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14751 options to avoid diff calculation and omit header, respectively.
14752 (main): process --no-diff and --no-header
14753
14570163
LS
147542018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14755 H.J. Lu <hongjiu.lu@intel.com>
14756
14757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14758 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14759 wcsncmp-sse2.
14760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14761 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14762 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14763 and __wcsncmp_sse2.
14764 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14765 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14766 AVX unaligned load is fast and vzeroupper is preferred.
14767 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14768 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14769 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14770 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14771 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14772 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14773 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14774 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14775 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14776 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14777 is undefined.
14778
e02c026f
FW
147792018-06-01 Florian Weimer <fweimer@redhat.com>
14780
14781 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14782 configuring with --disable-multi-arch, building with
14783 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14784 Haswell-era CPU.
14785
d8c19275
FW
147862018-06-01 Florian Weimer <fweimer@redhat.com>
14787
14788 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14789 results from building with “-march=x86-64 -mtune=generic
14790 -mfpmath=sse” and running on a Haswell-era CPU.
14791
0d2163eb
JM
147922018-06-01 Joseph Myers <joseph@codesourcery.com>
14793
14794 [BZ #18473]
14795 * soft-fp/sqrttf2.c: Remove file.
14796 * soft-fp/sqrtdf2.c: Move to ....
14797 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14798 <shlib-compat.h>.
14799 (__sqrtdf2): Make conditional on
14800 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14801 symbol.
14802 * soft-fp/sqrtsf2.c: Move to ....
14803 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14804 <shlib-compat.h>.
14805 (__sqrtsf2): Make conditional on
14806 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14807 symbol.
14808 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14809 (gcc-double-routines): Remove sqrtdf2.
14810 (gcc-quad-routines): Remove sqrttf2.
14811 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14812 Do not filter out sqrtsf2 and sqrtdf2.
14813 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14814 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14815
10450210
FW
148162018-06-01 Florian Weimer <fweimer@redhat.com>
14817
14818 * sysdeps/generic/libcidn.abilist: Remove file.
14819
4e8a6346
FW
148202018-06-01 Florian Weimer <fweimer@redhat.com>
14821
14822 [BZ #23236]
14823 * libio/strfile.h (struct _IO_str_fields): Rename members to
14824 discourage their use and add comment.
14825 (_IO_STR_DYNAMIC): Remove unused macro.
14826 * libio/strops.c (_IO_str_init_static_internal): Do not use
14827 callback pointers. Call malloc and free.
14828 (_IO_str_overflow): Do not use callback pointers. Call malloc
14829 and free.
14830 (enlarge_userbuf): Likewise.
14831 (_IO_str_finish): Call free.
14832 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14833 _allocate_buffer_unused.
14834 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14835 and free.
14836 (enlarge_userbuf): Likewise.
14837 (_IO_wstr_finish): Call free.
14838 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14839 _allocate_buffer_unused, _free_buffer_unused.
14840 * libio/memstream.c (__open_memstream): Likewise.
14841 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14842 * libio/wmemstream.c (open_wmemstream): Likewise.
14843
50d004c9
PP
148442018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14845
14846 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14847 AMD Ryzen 7 1800X.
14848
2c93fce7
RS
148492018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14850
14851 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14852 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14853 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14854 New file.
14855 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14856 Likewise.
14857 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14858
0ce2fa69
FW
148592018-05-29 Florian Weimer <fweimer@redhat.com>
14860
14861 * support/Makefile (libsupport-routines): Add
14862 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14863 xpthread_barrierattr_setpshared.
14864 * support/xpthread_barrierattr_destroy.c: New file.
14865 * support/xpthread_barrierattr_init.c: Likewise.
14866 * support/xpthread_barrierattr_setpshared.c: Likewise.
14867
7f7b5d8d
L
148682018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14869
14870 [BZ #23206]
14871 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14872 _r_debug and update DT_DEBUG for debugger.
14873
e4890300
FW
148742018-05-29 Florian Weimer <fweimer@redhat.com>
14875
14876 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14877 (tst-strtod5i.out): Likewise.
14878
2c753f3e
JM
148792018-05-25 Joseph Myers <joseph@codesourcery.com>
14880
b5453d9f
JM
14881 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14882 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14883 (sparc64-quad-routines): New variable. Moved from ....
14884 [$(subdir) = soft-fp] (sysdep_routines): Add
14885 $(sparc64-quad-routines). Moved from ....
14886 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14887 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14888 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14889 moved from ....
14890 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14891 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14892 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14893 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14894 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14895 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14896 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14897 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14898 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14899 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14900 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14901 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14902 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14903 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14904 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14905 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14906 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14907 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14908 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14909 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14910 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14911 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14912 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14913 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14914 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14915 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14916 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14917 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14918 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14919 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14920 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14921 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14922 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14923 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14924 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14925 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14926 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14927 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14929 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14930 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14931 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14932 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14933 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14934 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14935 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14936 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14937 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14938 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14939 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14940 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14941 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14942 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14943 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14944 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14945 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14946 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14947 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14948
2c753f3e
JM
14949 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14950 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14951 (sparc32-quad-routines): New variable. Moved from ....
14952 [$(subdir) = soft-fp] (sysdep_routines): Add
14953 $(sparc32-quad-routines). Moved from ....
14954 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14955 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14956 moved from ....
14957 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14958 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14959 * sysdeps/sparc/sparc32/q_add.c: ... here.
14960 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14961 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14962 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14963 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14964 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14965 * sysdeps/sparc/sparc32/q_div.c: ... here.
14966 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14967 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14968 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14969 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14970 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14971 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14972 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14973 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14974 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14975 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14976 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14977 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14978 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14979 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14980 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14981 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14982 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14983 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14984 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14985 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14986 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14987 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14988 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14989 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14990 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14991 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14992 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14993 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14994 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14995 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14996 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14997 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14998 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14999 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
15000 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
15001 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
15002 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
15003 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
15004 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
15005 * sysdeps/sparc/sparc32/q_sub.c: ... here.
15006 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
15007 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
15008 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
15009 * sysdeps/sparc/sparc32/q_util.c: ... here.
15010 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
15011 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
15012 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
15013 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
15014
c1dc1e1b
TMQMF
150152018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15016 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15017
15018 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
15019 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
15020 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
15021 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
15022
14186e8d
JM
150232018-05-24 Joseph Myers <joseph@codesourcery.com>
15024
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15026 powerpc/soft-fp.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15028 Likewise.
15029 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15030 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15031
fb0e10b8
GG
150322018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15033
15034 [BZ #23171]
15035 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15036 double version.
15037
1dfeb17e
JM
150382018-05-23 Joseph Myers <joseph@codesourcery.com>
15039
15040 * sysdeps/sh/Implies: Remove sh/soft-fp.
15041 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15042 * sysdeps/sh/sfp-machine.h: ... here.
15043
727b38df
L
150442018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15045
15046 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15047 (__mempcpy_erms): Skip zero length.
15048 (__memmove_erms): Likewise.
15049 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15050 (__memset_erms): Likewise.
15051
2834fb46
JM
150522018-05-23 Joseph Myers <joseph@codesourcery.com>
15053
15054 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15055 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15056 Add functions moved from ....
15057 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15058 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15059 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15060 from ....
15061 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15062 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15063 * sysdeps/alpha/e_sqrtl.c: ... here.
15064 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15065 * sysdeps/alpha/local-soft-fp.h: ... here.
15066 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15067 * sysdeps/alpha/ots_add.c: ... here.
15068 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15069 * sysdeps/alpha/ots_cmp.c: ... here.
15070 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15071 * sysdeps/alpha/ots_cmpe.c: ... here.
15072 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15073 * sysdeps/alpha/ots_cvtqux.c: ... here.
15074 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15075 * sysdeps/alpha/ots_cvtqx.c: ... here.
15076 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15077 * sysdeps/alpha/ots_cvttx.c: ... here.
15078 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15079 * sysdeps/alpha/ots_cvtxq.c: ... here.
15080 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15081 * sysdeps/alpha/ots_cvtxt.c: ... here.
15082 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15083 * sysdeps/alpha/ots_div.c: ... here.
15084 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15085 * sysdeps/alpha/ots_mul.c: ... here.
15086 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15087 * sysdeps/alpha/ots_nintxq.c: ... here.
15088 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15089 * sysdeps/alpha/ots_sub.c: ... here.
15090 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15091 * sysdeps/alpha/sfp-machine.h: ... here.
15092
7f9f1ecb
FW
150932018-05-23 Florian Weimer <fweimer@redhat.com>
15094
15095 [BZ #19728]
15096 [BZ #19729]
15097 [BZ #22247]
15098 CVE-2016-6261
15099 CVE-2016-6263
15100 CVE-2017-14062
15101 Switch to extern IDNA implementation (libidn2).
15102 * libidn: Remove subdirectory.
15103 * LICENSES: Do not mention licensing conditions for the removed
15104 libidn code.
15105 * config.h.in (HAVE_LIBIDN): Remove.
15106 * include/dlfcn.h (__libc_dlopen): Update comment.
15107 * include/idna.h: Remove file.
15108 * inet/Makefile (routines): Add idna.
15109 (tests-static, tests-internal): Add tst-idna_name_classify.
15110 (LOCALES): Generate locales for tests.
15111 (tst-idna_name_classify.out): Depend on generated locales.
15112 * inet/idna_name_classify.c: New file.
15113 * inet/tst-idna_name_classify.c: Likewise.
15114 * inet/net-internal.h (__idna_to_dns_encoding)
15115 (__idna_from_dns_encoding): Declare.
15116 * inet/net-internal.h (enum idna_name_classification): Define.
15117 (__idna_name_classify): Declare.
15118 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15119 __idna_from_dns_encoding.
15120 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15121 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15122 name as a fallback in case of encoding errors.
15123 (getnameinfo): Use DEPRECATED_NI_IDN.
15124 * inet/idna.c: New file.
15125 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15126 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15127 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15128 (modules-names): Add tst-no-libidn2.
15129 (extra-test-objs): Add tst-no-libidn2.os.
15130 (LDFLAGS-tst-no-libidn2.so): Set soname.
15131 (LOCALES): Set, and generate locales.
15132 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15133 (tst-resolv-ai_idn-latin1): Likewise.
15134 (tst-resolv-ai_idn-nolibidn2): Likewise.
15135 (tst-resolv-ai_idn.out): Depend on locales.
15136 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15137 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15138 tst-no-libidn2.so.
15139 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15140 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15141 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15142 * resolv/tst-resolv-ai_idn.c: New file.
15143 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15144 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15145 * resolv/tst-no-libidn2.c: Likewise.
15146 * support/support_format_addrinfo.c (format_ai_flags): Do not
15147 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15148 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15149 (gaih_inet): Call __idna_to_dns_encoding and
15150 __idna_from_dns_encoding, and use the original (punycode) name if
15151 __idna_from_dns_encoding fails due to an encoding error.
15152 (getaddrinfo): Use DEPRECATED_AI_IDN.
15153 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15154 * sysdeps/unix/inet/configure: Remove file.
15155 * sysdeps/unix/inet/configure.ac: Likewise.
15156
5f7b841d
FW
151572018-05-23 Florian Weimer <fweimer@redhat.com>
15158
15159 Implement allocate_once.
15160 * include/allocate_once.h: New file.
15161 * misc/allocate_once.c: Likewise.
15162 * misc/tst-allocate_once.c: Likewise.
15163 * misc/Makefile (routines): Add allocate_once.
15164 (tests-internal): Add tst-allocate_once.
15165 (generated): Add tst-allocate_once.mtrace,
15166 tst-allocate_once-mem.out.
15167 (tests-special): Add tst-allocate_once-mem.out.
15168 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15169 (tst-allocate_once-mem.out): Call mtrace.
15170 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15171
ed983107
L
151722018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15173
15174 [BZ #23196]
15175 * string/test-memcpy.c (do_test1): New function.
15176 (test_main): Call it.
15177
9aaaab7c
AS
151782018-05-23 Andreas Schwab <schwab@suse.de>
15179
15180 [BZ #23196]
15181 CVE-2018-11237
15182 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15183 (L(preloop_large)): Save initial destination pointer in %r11 and
15184 use it instead of %rax after the loop.
15185 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15186
5c5c0dd7
JM
151872018-05-22 Joseph Myers <joseph@codesourcery.com>
15188
8f145c77
JM
15189 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15190 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15191 -I../soft-fp. Moved from ....
15192 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15193 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15194 * sysdeps/aarch64/e_sqrtl.c: ... here.
15195 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15196 * sysdeps/aarch64/sfp-machine.h: ... here.
15197
3d6302a5
JM
15198 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15199 -Wmaybe-uninitialized around access to fq[0].
15200 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15201 Likewise.
15202
5c5c0dd7
JM
15203 [BZ #18471]
15204 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15205 aliases for non-libc case of versioned symbols.
15206 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15207 (llseek): Define as compat symbol if
15208 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15209 with link warning.
15210 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15211 Make into a compat symbol, disabled for minimum symbol version
15212 GLIBC_2.28 and later.
15213 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15214
ed0d6988
FW
152152018-05-22 Florian Weimer <fweimer@redhat.com>
15216
15217 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15218 not add -mpreferred-stack-boundary=4.
15219 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15220 (stack-align-test-flags): Likewise.
15221 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15222 Likewise.
15223 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15224 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15225 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15226 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15227 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15228 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15229 (CFLAGS-tst-align2.c): Likewise.
15230
e28e9b1e
L
152312018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15232
15233 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15234 (index_arch_Prefer_FSRM): Likewise.
15235 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15236 Also check Prefer_FSRM.
15237 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15238 Also return OPTIMIZE (erms) for Prefer_FSRM.
15239
1af30adc
L
152402018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15241
15242 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15243 (index_cpu_FSRM): Likewise.
15244 (reg_FSRM): Likewise.
15245
78274dc8
JM
152462018-05-18 Joseph Myers <joseph@codesourcery.com>
15247
7c67e6e8
JM
15248 * math/gen-tgmath-tests.py: Import sys.
15249 (Tests.__init__): Initialize macros_seen.
15250 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15251 if requested to do so for this macro.
15252 (Tests.add_all_tests): Take argument for macro for which to
15253 generate tests.
15254 (Tests.check_macro_list): New function.
15255 (main): Handle check-list argument and argument specifying macro
15256 for which to generate tests.
15257 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15258 [PYTHON] (tgmath3-macro-tests): Likewise.
15259 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15260 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15261 not test-tgmath3.c.
15262 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15263 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15264 to CFLAGS.
15265 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15266 [PYTHON] ($(foreach
15267 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15268 rule.
15269 [PYTHON] (tests-special): Add
15270 $(objpfx)test-tgmath3-macro-list.out.
15271 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15272
ebc129fd
JM
15273 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15274 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15275 later.
15276
78274dc8
JM
15277 [BZ #22639]
15278 * time/tzset.c (SECSPERDAY): Cast to time_t.
15279 * time/tst-y2039.c: New file.
15280 * time/Makefile (tests): Add tst-y2039.
15281
6f7fdeeb
LS
152822018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15283
15284 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15285 (PREFETCH_ONE_SET): Remove duplicate line.
15286
e363a91c
FW
152872018-05-17 Florian Weimer <fweimer@redhat.com>
15288
15289 * sysdeps/generic/math-type-macros-double.h: Include
15290 <math-nan-payload-double.h> after <libm-alias-double.h>.
15291 * sysdeps/generic/math-type-macros-float.h: Include
15292 <math-nan-payload-float.h> after <libm-alias-float.h>.
15293 * sysdeps/generic/math-type-macros-float128.h: Include
15294 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15295 * sysdeps/generic/math-type-macros-ldouble.h: Include
15296 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15297
dae6c43c
AS
152982018-05-17 Andreas Schwab <schwab@suse.de>
15299
15300 * resolv/res_send.c (__res_context_send): Don't set errno when
15301 returing error after malloc failure.
15302
0068c085
L
153032018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15304
15305 * nptl/allocatestack.c (allocate_stack): Remove the
15306 !__ASSUME_PRIVATE_FUTEX paths.
15307 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15308 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15309 Likewise.
15310 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15311 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15312 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15313 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15314 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15315 !__ASSUME_PRIVATE_FUTEX path.
15316 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15317 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15318 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15319 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15320 !__ASSUME_PRIVATE_FUTEX macros.
15321 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15322 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15323 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15324 * sysdeps/unix/sysv/linux/kernel-features.h
15325 (__ASSUME_PRIVATE_FUTEX): Removed.
15326
632a6cbe
JM
153272018-05-17 Joseph Myers <joseph@codesourcery.com>
15328
15329 * math/Makefile (libm-narrow-fns): Add div.
15330 (libm-test-funcs-narrow): Likewise.
15331 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15332 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15333 * math/gen-auto-libm-tests.c (test_functions): Add div.
15334 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15335 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15336 (NARROW_DIV_TRIVIAL): Likewise.
15337 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15338 macro.
15339 (__ddivl): Likewise.
15340 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15341 ddiv.
15342 (CFLAGS-nldbl-ddiv.c): New variable.
15343 (CFLAGS-nldbl-fdiv.c): Likewise.
15344 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15345 __nldbl_ddivl.
15346 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15347 prototype.
15348 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15349 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15350 * math/auto-libm-test-in: Add tests of div.
15351 * math/auto-libm-test-out-narrow-div: New generated file.
15352 * math/libm-test-narrow-div.inc: New file.
15353 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15356 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15357 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15358 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15367 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15368 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15369 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15370 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15372 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15397
8c78faa9
AZ
153982018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15399
15400 [BZ #23178]
15401 * nscd/nscd-client.h (sendfileall): Remove prototype.
15402 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15403 (handle_request): Use writeall instead of sendfileall.
15404 * nscd/aicache.c (addhstaiX): Likewise.
15405 * nscd/grpcache.c (cache_addgr): Likewise.
15406 * nscd/hstcache.c (cache_addhst): Likewise.
15407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15408 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15409 * nscd/pwdcache.c (cache_addpw): Likewise.
15410 * nscd/servicescache.c (cache_addserv): Likewise.
15411 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15412 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15414 Remove define.
15415
04958880
L
154162018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15417
15418 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15419 Include <string/strncat.c>.
15420 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15421 alias.
15422 (__GI___strncat): New hidden alias.
15423
c9992d13
JM
154242018-05-16 Joseph Myers <joseph@codesourcery.com>
15425
15426 * sysdeps/mips/mips32/libm-test-ulps: Update.
15427 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15428
2afece36
FW
154292018-05-16 Florian Weimer <fweimer@redhat.com>
15430
15431 * support/Makefile (libsupport-routines): Add support_quote_blob,
15432 support_test_compare_blob.
15433 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15434 * support/check.h (TEST_COMPARE_BLOB): Define.
15435 (support_test_compare_blob): Declare.
15436 * support/support.h (support_quote_blob): Declare.
15437 * support/support_quote_blob.c: New file.
15438 * support/support_test_compare_blob.c: Likewise.
15439 * support/tst-support_quote_blob.c: Likewise.
15440 * support/tst-test_compare_blob.c: Likewise.
15441
9761bf4d
FW
154422018-05-16 Florian Weimer <fweimer@redhat.com>
15443
15444 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15445 of <strtod_nan_double.h>.
15446 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15447 instead of SET_MANTISSA.
15448 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15449 of include <strtod_nan_float.h>.
15450 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15451 instead of <strtod_nan_ldouble.h>.
15452 * stdlib/strtod_nan_double.h: Move to ...
15453 * sysdeps/generic/math-nan-payload-double.h: ... here.
15454 (FLOAT): Remove definition.
15455 (SET_MANTISSA): Rename to ...
15456 (SET_NAN_PAYLOAD): ... this.
15457 * stdlib/strtod_nan_float.h: Move to ...
15458 * sysdeps/generic/math-nan-payload-float.h: ... here.
15459 (FLOAT): Remove definition.
15460 (SET_MANTISSA): Rename to ...
15461 (SET_NAN_PAYLOAD): ... this.
15462 * sysdeps/generic/math-type-macros-double.h: Include
15463 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15464 instead of <math-svid-compat.h>.
15465 * sysdeps/generic/math-type-macros-float.h: Include
15466 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15467 instead of <math-svid-compat.h>.
15468 * sysdeps/generic/math-type-macros-float128.h: Include
15469 <math-nan-payload-float128.h>.
15470 * sysdeps/generic/math-type-macros-ldouble.h: Include
15471 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15472 instead of <math-svid-compat.h>.
15473 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15474 check for definition.
15475 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15476 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15477 Include <ieee754_float128.h>.
15478 (FLOAT): Remove definition.
15479 (SET_MANTISSA): Rename to ...
15480 (SET_NAN_PAYLOAD): ... this.
15481 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15482 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15483 Do not include <float128_private.h>.
15484 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15486 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15487 (FLOAT): Remove definition.
15488 (SET_MANTISSA): Rename to ...
15489 (SET_NAN_PAYLOAD): ... this.
15490 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15491 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15492 (FLOAT): Remove definition.
15493 (SET_MANTISSA): Rename to ...
15494 (SET_NAN_PAYLOAD): ... this.
15495 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15496 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15497 (FLOAT): Remove definition.
15498 (SET_MANTISSA): Rename to ...
15499 (SET_NAN_PAYLOAD): ... this.
15500 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15501 of "../stdlib/strtod_nan_double.h".
15502 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15503 of "../stdlib/strtod_nan_float.h".
15504 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15505 instead of "../stdlib/strtod_nan_ldouble.h".
15506 * manual/arith.texi (Parsing of Floats): Adjust comment.
15507
69a01461
JM
155082018-05-16 Joseph Myers <joseph@codesourcery.com>
15509
15510 * math/Makefile (libm-narrow-fns): Add mul.
15511 (libm-test-funcs-narrow): Likewise.
15512 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15513 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15514 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15515 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15516 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15517 (NARROW_MUL_TRIVIAL): Likewise.
15518 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15519 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15520 macro.
15521 (__dmull): Likewise.
15522 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15523 dmul.
15524 (CFLAGS-nldbl-dmul.c): New variable.
15525 (CFLAGS-nldbl-fmul.c): Likewise.
15526 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15527 __nldbl_dmull.
15528 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15529 prototype.
15530 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15531 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15532 * math/auto-libm-test-in: Add tests of mul.
15533 * math/auto-libm-test-out-narrow-mul: New generated file.
15534 * math/libm-test-narrow-mul.inc: New file.
15535 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15538 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15539 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15540 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15548 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15549 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15550 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15551 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15552 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15554 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15557 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15558 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15561 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15562 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15563 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15564 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15571 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15572 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15577 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15578 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15579
a15529fd
L
155802018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15581
15582 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15583 with *%eax in call.
15584
98ee36c7
L
155852018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15586
15587 * sysdeps/i386/ldsodefs.h: Removed.
15588 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15589 * sysdeps/x86/ldsodefs.h: This.
15590 (La_i86_regs): New.
15591 (La_i86_retval): Likewise.
15592 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15593 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15594
e322ec32
L
155952018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15596
15597 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15598 unnecessary testl.
15599
0937e209
AM
156002018-05-13 Alan Modra <amodra@gmail.com>
15601
15602 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15603 R_PARISC_TLS_DTPOFF32 reloc addend.
15604
5db7d705
TMQMF
156052018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15606
15607 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15608 * math/math.h: Restrict the prototype definition for the functions
15609 issignaling(_Float128) and iszero(_Float128); and template
15610 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15611 __HAVE_FLOAT128_UNLIKE_LDBL.
15612 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15613 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15614 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15615 __f128() constants; define the type _Float128 as long double;
15616 and reuse long double in __CFLOAT128.
15617
b4d5b8b0
JM
156182018-05-11 Joseph Myers <joseph@codesourcery.com>
15619
15620 * sysdeps/generic/math_private.h: Do not include
15621 <math-barriers.h>.
15622 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15623 <math_private.h>.
15624 * math/fromfp.h: Include <math-barriers.h>.
15625 * math/math-narrow.h: Likewise.
15626 * math/s_nextafter.c: Likewise.
15627 * math/s_nexttowardf.c: Likewise.
15628 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15629 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15630 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15631 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15632 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15633 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15634 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15648 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15649 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15650 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15651 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15652 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15653 * sysdeps/ieee754/k_standardl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15656 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15670 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15671 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15672 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15673 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15674 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15675 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15676
fc79706a
FW
156772018-05-11 Florian Weimer <fweimer@redhat.com>
15678
15679 Use 64-bit epoch values in the time zone file parser.
15680 * include/time.h (internal_time_t): Define.
15681 (__tzfile_compute): Use it.
15682 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15683 member.
15684 (transitions): Switch to internal_time_t.
15685 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15686 types.
15687 (__tzfile_compute): Use internal_time_t for timer argument. Check
15688 for truncation before calling __offtime.
15689
89aacb51
FW
156902018-05-11 Florian Weimer <fweimer@redhat.com>
15691
15692 [BZ #23166]
15693 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15694 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15695 Likewise.
15696 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15697 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15698 export without --enable-obsolete-rpc.
15699 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15700 symbol. This should not have been exported, ever.
15701
bb066cb8
RL
157022018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15703
15704 [BZ #23152]
15705 * localedata/locales/gd_GB (abmon): Fix typo in May:
15706 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15707
70c97f84
SP
157082018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15709
db725a45
SP
15710 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15711 Use multiple registers to copy data in loop tail.
15712
70c97f84
SP
15713 * sysdeps/aarch64/multiarch/memmove_falkor.S
15714 (__memmove_falkor): Use multiple registers to move data in
15715 loop tail.
15716
8f5b00d3
JM
157172018-05-10 Joseph Myers <joseph@codesourcery.com>
15718
15719 * math/math-underflow.h: New file.
15720 * sysdeps/generic/math_private.h: Do not include <float.h>.
15721 (fabs_tg): Remove macro. Moved to math-underflow.h.
15722 (min_of_type_f): Likewise.
15723 (min_of_type_): Likewise.
15724 (min_of_type_l): Likewise.
15725 (min_of_type_f128): Likewise.
15726 (min_of_type): Likewise.
15727 (math_check_force_underflow): Likewise.
15728 (math_check_force_underflow_nonneg): Likewise.
15729 (math_check_force_underflow_complex): Likewise.
15730 * math/e_exp2_template.c: Include <math-underflow.h>.
15731 * math/k_casinh_template.c: Likewise.
15732 * math/s_catan_template.c: Likewise.
15733 * math/s_catanh_template.c: Likewise.
15734 * math/s_ccosh_template.c: Likewise.
15735 * math/s_cexp_template.c: Likewise.
15736 * math/s_clog10_template.c: Likewise.
15737 * math/s_clog_template.c: Likewise.
15738 * math/s_csin_template.c: Likewise.
15739 * math/s_csinh_template.c: Likewise.
15740 * math/s_csqrt_template.c: Likewise.
15741 * math/s_ctan_template.c: Likewise.
15742 * math/s_ctanh_template.c: Likewise.
15743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15744 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15745 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15747 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15748 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15749 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15751 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15752 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15754 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15755 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15756 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15758 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15760 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15761 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15762 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15763 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15764 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15765 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15766 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15767 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15768 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15769 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15770 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15771 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15772 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15773 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15774 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15811 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15813 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15820 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15821 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15823 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15827
9ed2e15f
JM
158282018-05-09 Joseph Myers <joseph@codesourcery.com>
15829
15830 * sysdeps/generic/math-barriers.h: New file.
15831 * sysdeps/generic/math_private.h [!math_opt_barrier]
15832 (math_opt_barrier): Move to math-barriers.h.
15833 [!math_opt_barrier] (math_force_eval): Likewise.
15834 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15835 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15836 math-barriers.h.
15837 (math_force_eval): Likewise.
15838 * sysdeps/alpha/fpu/math-barriers.h: New file.
15839 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15840 math-barriers.h.
15841 (math_force_eval): Likewise.
15842 * sysdeps/x86/fpu/math-barriers.h: New file.
15843 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15844 math-barriers.h.
15845 (math_force_eval): Likewise.
15846 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15847 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15848 multiple-include guard for rename.
15849 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15850 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15851 math-barriers.h.
15852 (math_force_eval): Likewise.
15853
5460617d
PP
158542018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15855
15856 [BZ #22786]
43d4f3d5 15857 CVE-2018-11236
5460617d
PP
15858 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15859 computation.
15860 * stdlib/Makefile (test-bz22786): New test.
15861 * stdlib/test-bz22786.c: New test.
15862
aaee3cd8
JM
158632018-05-09 Joseph Myers <joseph@codesourcery.com>
15864
15865 * include/math-narrow-eval.h: New file. Contents moved from ....
15866 * sysdeps/generic/math_private.h: ... here.
15867 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15868 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15869 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15870 * stdlib/strtod_l.c: Likewise.
15871 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15872 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15873 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15879 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15880 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15884 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15886 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15887 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15888 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15889 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15890 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15891 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15895 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15896 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15897 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15898 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15899 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15900
0555c477
AS
159012018-05-08 Andreas Schwab <schwab@suse.de>
15902
15903 * sysdeps/nptl/internaltypes.h: Fix comment.
15904
50d7d351
L
159052018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15906
15907 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15908 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15909 hidden.
15910
543477f7
SP
159112018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15912
15913 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15914 of I into loop header.
15915 * benchtests/bench-memmove-walk.c
15916 (test_main): Likewise.
15917
159182018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
15919
15920 Revert:
15921 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15922 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15923
0065aaaa
PP
159242018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15925
15926 [BZ #20419]
15927 * elf/dl-load.c (open_verify): Fix stack overflow.
15928 * elf/Makefile (tst-big-note): New test.
15929 * elf/tst-big-note-lib.S: New.
15930 * elf/tst-big-note.c: New.
15931
b289cd9d
JM
159322018-05-04 Joseph Myers <joseph@codesourcery.com>
15933
15934 * scripts/abilist.awk: Ignore absolute symbols.
15935 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15936 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15937 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15938 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15939 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15940 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15941 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15942 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15943 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15944 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15945 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15946 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16027 Likewise.
16028 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16040 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16041 Likewise.
16042 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16043 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16044 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16047 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16048 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16069 Likewise.
16070 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16090 Likewise.
16091 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16096 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16097 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16099 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16100 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16108 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16109 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16113 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16117 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16123 Likewise.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16129 Likewise.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16131 Likewise.
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16134 Likewise.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16137 Likewise.
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16139 Likewise.
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16143 Likewise.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16145 Likewise.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16147 Likewise.
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16152 Likewise.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16159 Likewise.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16162 Likewise.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16164 Likewise.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16166 Likewise.
16167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16168 Likewise.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16172 Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16174 Likewise.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16176 Likewise.
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16180 Likewise.
16181 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16195 Likewise.
16196 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16208 Likewise.
16209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16234 Likewise.
16235 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16242 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16243 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16244 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16245 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16246 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16247 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16248 Likewise.
16249 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16250 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16251 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16252 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16253 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16254 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16255 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16256 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16257 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16258 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16259 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16262 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16263 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16264 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16265 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16266 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16287
16609018
SL
162882018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16289
16290 [BZ #23137]
16291 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16292 Use atomic_load_acquire to load __tid.
16293
556f5c46
L
162942018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16295
16296 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16297 Restore the pointer into %rdx, after syscall and use %rdx,
16298 instead of %rsi, to restore context.
16299
8b8f32b2
L
163002018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16301
16302 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16303 Pop the pointer into %rdx after syscall and use %rdx, instead
16304 of %rsi, to restore context.
16305
d6cc1829
L
163062018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16307
16308 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16309 handlers after setjmp.
16310 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16311 defined.
16312 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16313 <libc-pointer-arith.h>.
16314 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16315 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16316 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16317 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16318 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16319 * sysdeps/x86/__longjmp_cancel.S: New file.
16320 * sysdeps/x86/longjmp.c: Likewise.
16321 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16322
cf2478d5
AZ
163232018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16324
16325 * NEWS: Add ustat.h deprecation entry.
16326 * bits/ustat.h: Remove file.
16327 * misc/sys/ustat.h: Likewise.
16328 * misc/ustat.h: Likewise.
16329 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16330 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16331 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16332 compatibility mode.
16333 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16334 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16335 generic Linux implementation.
16336
dc115e1c
TMQMF
163372018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16338
16339 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16340 * math/w_expl_compat.c: Likewise.
16341 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16342
6b5c8607 163432018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
16344
16345 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16346
c57bf7c1
AZ
163472018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16348
16349 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16350 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16351 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16352 Remove.
16353 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16356 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16357 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16358 and SYSCALL_LL64.
16359
06135c33
TMQMF
163602018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16361
33927914
TMQMF
16362 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16363
06135c33
TMQMF
16364 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16365 * math/w_asin_template.c: Likewise.
16366 * math/w_atanh_template.c: Likewise.
16367
3a33b069
GG
163682018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16369
16370 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16371 to powerpc/powerpc64/be for big-endian.
16372 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16373 little-endian.
16374
16375 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16376 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16377 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16378 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16379 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16380 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16381 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16382 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16383 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16384 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16385 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16386 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16387 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16388 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16389 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16390 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16391 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16393 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16395 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16397 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16398 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16399 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16400 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16401 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16402 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16403 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16404 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16405 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16406 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16407
16408 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16409 adjusted to imply powerpc64 and older processors on powerpc64/be.
16410 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16411 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16412 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16413 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16414 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16415 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16416 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16417 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16418 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16419 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16420 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16421 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16422 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16423 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16424 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16425 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16426 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16427 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16428 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16429 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16430 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16431 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16432 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16433 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16434 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16435 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16436 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16437 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16438 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16439 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16440 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16441
16442 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16443 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16444 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16445 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16446
16447 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16448 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16449 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16450 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16451
16452 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16453 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16454 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16455 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16456 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16457 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16458 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16459 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16460 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16461 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16462 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16463
16464 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16465 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16466 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16467 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16468 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16469 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16470 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16471 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16472 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16473 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16474 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16475
16476 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16477 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16478 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16479 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16480 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16481 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16482 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16483 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16484 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16485 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16486 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16487 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16488
16489 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16490 and adjusted to imply olders processors.
16491 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16492 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16493 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16494 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16495 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16496 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16497 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16498 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16499 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16500 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16501 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16502
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16504 powerpc64/le.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16507
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16509 powerpc64le.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16512
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16514 powerpc64/be.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16518
16519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16520 powerpc64 and adjusted.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16524 Likewise.
16525
a3fb6b6b
JM
165262018-04-27 Joseph Myers <joseph@codesourcery.com>
16527
16528 * sysdeps/tile: Remove.
16529 * sysdeps/unix/sysv/linux/tile: Likewise.
16530 * README (tilegx-*-linux-gnu): Remove from list of supported
16531 configurations.
16532 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16533 contribution of support for generic Linux kernel syscall
16534 interface.
16535 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16536 tilegx configurations.
16537 (Config.install_linux_headers): Do not handle tile.
16538 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16539 in comment.
16540 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16541 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16542 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16543 conditional undefine and redefine.
16544 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16545 in comment.
16546 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16547 conditional undefine and redefine.
16548
7a6f7478
AJ
165492018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16550
16551 * signal/tst-sigaction.c: New file to test BZ #23069.
16552 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16553
81b49e96
TMQMF
165542018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16555
16556 [BZ #22766]
16557 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16558 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16559 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16560 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16561
7d80f48e
AZ
165622018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16563
16564 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16565 _DIRENT_MATCHES_DIRENT64 is not defined.
16566 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16567 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16568 is defined.
16569 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16570 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16571
42a2bf58
JM
165722018-04-25 Joseph Myers <joseph@codesourcery.com>
16573
16574 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16575 version to GCC 8 branch.
16576
9320ca88
JM
165772018-04-24 Joseph Myers <joseph@codesourcery.com>
16578
5e14bb97
JM
16579 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16580 (check_no_hidden): Use type of original function when declaring
16581 alias.
16582
9320ca88
JM
16583 * sysdeps/unix/sysv/linux/sys/ptrace.h
16584 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16585 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16586 (struct __ptrace_seccomp_metadata): New type.
16587 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16588 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16589 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16590 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16592 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16594 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16596 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16597 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16598 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16599 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16600 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16601 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16602 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16603
af7e376b
AZ
166042018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16605
16606 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16607 defined.
16608 * dirent/versionsort.c (versionsort): Likewise.
16609 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16610 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16611 * dirent/versionsort64.c (versionsort64): Likewise.
16612 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16613 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16614 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16615 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16616 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16617 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16618 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16619 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16620 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16621 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16625 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16626
da5e0361
JM
166272018-04-23 Joseph Myers <joseph@codesourcery.com>
16628
16629 * elf/elf.h (NT_PPC_PKEY): New macro.
16630
6b5c8607 166312018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
16632
16633 [BZ #23094]
16634 * localedata/locales/hr_HR: fix thousands_sep and
16635 mon_thousands_sep
16636
573963e3
JM
166372018-04-20 Joseph Myers <joseph@codesourcery.com>
16638
16639 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16640 (XTABS): Define to TAB3.
16641
c0123b3b
AZ
166422018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16643
0900a849
AZ
16644 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16645
c0123b3b
AZ
16646 * dirent/scandir-tail-common.c: New file.
16647 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16648 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16649 * dirent/scandir.c: Use scandir-tail-common.c.
16650 * dirent/scandirat.c: Likewise.
16651 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16652 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16653 if _DIRENT_MATCHES_DIRENT64 is defined.
16654 * dirent/scandirat64.c (scandirat64): Likewise.
16655 * include/dirent.h (__scandir_tail): Only define iff
16656 _DIRENT_MATCHES_DIRENT64 is not defined.
16657 (__scandir64_tail): Define regardless.
16658 (__scandirat, scandirat64): Remove libc_hidden_proto.
16659 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16660 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16662 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16663 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16664 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16665 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16666
458b94f6
JM
166672018-04-20 Joseph Myers <joseph@codesourcery.com>
16668
16669 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16670 New macro.
16671 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16672 Increase to 24.
16673 (_dl_aarch64_cap_flags): Add asimdfhm.
16674
9f0437e8
CLT
166752018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16676
16677 * sysdeps/nios2/libm-test-ulps: Update.
16678
298d0e31
AZ
166792018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16680
50511ca4
AZ
16681 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16682 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16683
298d0e31
AZ
16684 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16685 requirements.
6b5c8607 16686 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
16687 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16688 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16689 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16690 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16691 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16692 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16693 use getdents64 syscalls as base.
16694 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16695 symbol if required.
16696 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16697 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16698 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16699 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16700 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16701 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16702 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16703 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16705 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16706 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16707
0085be14
SL
167082018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16709
16710 * scripts/test_printers_common.py (init_test): Disable lock elision.
16711
da796524
SL
167122018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16713
16714 * math/test-tgmath.c (count_double, count_float,
16715 count_ldouble, count_cdouble, count_cfloat,
16716 count_cldouble): Use volatile int.
16717
0dd25301
ST
167182018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16719
16720 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16721 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 16722 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
16723 i386-gnu.
16724 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16725 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16726 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16727 msqid_ds.msg_lrpid): Likewise.
16728 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16729 Likewise.
16730 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16731 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
16732 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16733 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16734 unsigned int.
16735 (struct statvfs64): Likewise.
f55a4fde
ST
16736 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16737 Likewise.
77b93390
ST
16738 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16739 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16740 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16741 instead of wait_queue.
16742 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16743 instead of vm_area_struct.
5cd2931a
ST
16744 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16745 struct sched_param definition to it.
e60c3f2b
ST
16746 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16747 * bits/types/struct_sched_param.h: New file.
16748 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16749 <bits/types/struct_sched_param.h> instead of <sched.h>.
16750 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
16751 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16752 generic version but include <bits/pthreadtypes.h> to make struct
16753 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
16754 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16755 non-compliant.
a564872d
ST
16756 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16757 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16758 [__USE_XOPEN] (OFDEL): New macro.
16759 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 16760 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
16761 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16762 prototypes.
16763 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16764 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
16765 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16766 non-compliant.
16767 * sysdeps/i386/sys/ucontext.h: Likewise.
16768 * sysdeps/m68k/sys/ucontext.h: Likewise.
16769 * sysdeps/mips/sys/ucontext.h: Likewise.
16770 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
16771 * sysdeps/mach/hurd/i386/Makefile
16772 (test-xfail-POSIX/fcntl.h/conform): Add.
16773 (test-xfail-POSIX/signal.h/conform): Add.
16774 (test-xfail-POSIX/semaphore.h/conform): Add.
16775 (test-xfail-POSIX/regex.h/conform): Add.
16776 (test-xfail-POSIX/aio.h/conform): Add.
16777 (test-xfail-POSIX/mqueue.h/conform): Add.
16778 (test-xfail-POSIX/sys/types.h/conform): Add.
16779 (test-xfail-UNIX98/fcntl.h/conform): Add.
16780 (test-xfail-UNIX98/netdb.h/conform): Add.
16781 (test-xfail-UNIX98/signal.h/conform): Add.
16782 (test-xfail-UNIX98/semaphore.h/conform): Add.
16783 (test-xfail-UNIX98/regex.h/conform): Add.
16784 (test-xfail-UNIX98/aio.h/conform): Add.
16785 (test-xfail-UNIX98/ftw.h/conform): Add.
16786 (test-xfail-UNIX98/mqueue.h/conform): Add.
16787 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16788 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16789 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16790 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16791 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16792 (test-xfail-UNIX98/sys/types.h/conform): Add.
16793 (test-xfail-UNIX98/stdlib.h/conform): Add.
16794 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16795 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16796 (test-xfail-POSIX2008/netdb.h/conform): Add.
16797 (test-xfail-POSIX2008/signal.h/conform): Add.
16798 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16799 (test-xfail-POSIX2008/regex.h/conform): Add.
16800 (test-xfail-POSIX2008/aio.h/conform): Add.
16801 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16802 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16803 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16804 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16805 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16806 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16807 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16808 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16809 (test-xfail-XOPEN2K/signal.h/conform): Add.
16810 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16811 (test-xfail-XOPEN2K/regex.h/conform): Add.
16812 (test-xfail-XOPEN2K/aio.h/conform): Add.
16813 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16814 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16815 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16816 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16817 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16818 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16819 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16820 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16821 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16822 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16823 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16824 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16825 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16826 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16827 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16828 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16829 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16830 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16831 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16832 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16833 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16834 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16835 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16836 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16837 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16838 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
16839 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16840 i386-gnu.
16841 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16842 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 16843
d6397de3
JM
168442018-04-18 Joseph Myers <joseph@codesourcery.com>
16845
16846 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16847 --enable-obsolete for powerpc-linux-gnuspe.
16848
8323a902
ST
168492018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16850
3dc0814c 16851 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 16852 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 16853 prototypes.
c5896a45
ST
16854 * sysdeps/mach/include/mach.h: Likewise.
16855 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16856 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 16857
743b9c2a
AZ
168582018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16859
16860 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16861 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16862 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16863 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16864
326e74e7
AS
168652018-04-16 Andreas Schwab <schwab@suse.de>
16866
16867 [BZ #19527]
16868 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16869
6b5c8607 168702018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
16871
16872 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16873 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16874
a700e7cb
DD
168752018-04-12 DJ Delorie <dj@redhat.com>
16876
16877 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16878 version to 4.16.
16879
d8abfab7
SL
168802018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16881
16882 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16883 (struct kernel_sigaction): Use the same definition on 31bit as is used
16884 on 64bit.
16885
583a27d5
FW
168862018-04-09 Florian Weimer <fweimer@redhat.com>
16887
16888 [BZ #23037]
16889 * resolv/res_send.c (send_dg): Use designated initializers instead
16890 of assignment to zero-initialize other fields of struct mmsghdr.
16891
243f59e5
AZ
168922018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16893
942de61a
AZ
16894 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16895 __READDIR_ALIAS): Undefine after usage.
16896 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16897 __READDIR_R_ALIAS): Likewise.
16898 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16899 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16900 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16901 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16902 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16903 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16904 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16905 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16906 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16907 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16908 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16909 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16910 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16911 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16912 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16913 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16914 * sysdeps/unix/sysv/linux/readdir.c: New file.
16915 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16916 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16917 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16918
243f59e5
AZ
16919 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16920
690c3475
AS
169212018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16922
16923 * manual/charset.texi (Converting a Character): Fix typo.
16924
6b5c8607 169252018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 16926
bbc2062a
AZ
16927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16928
fa7c6199
AZ
16929 * sysdeps/arm/libm-test-ulps: Update.
16930
b4a5d26d
AZ
16931 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16932 as base implementation.
16933 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16934 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16935 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16936 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16938 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16939 remove unrequired definitions and update comments.
16940 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16941 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16942 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16943 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16944 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16945 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16946 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16947 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16948 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16949 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16950 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16951 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16952 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16953 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16954 and RESET_SA_RESTORER hooks.
16955
db9e55ff
SL
169562018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16957
16958 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16959
cf138b0c
FW
169602018-04-05 Florian Weimer <fweimer@redhat.com>
16961
16962 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16963 integer overflow, memory leak on error, and indeterminate errno
16964 value. Add a null wide character to terminate the result string.
16965 * manual/charset.texi (Converting a Character): Mention embedded
16966 null bytes in the mbrtowc input string. Explain what happens in
16967 the -2 result case. Do not claim that mbrtowc is simple or
16968 obvious to use. Adjust the description of the code example. Use
16969 @code, not @var, for concrete variables.
16970
0f339252
FW
169712018-04-05 Florian Weimer <fweimer@redhat.com>
16972
16973 * manual/examples/mbstouwcs.c: New file.
16974 * manual/charset.texi (Converting a Character): Include it.
16975
e5f9508a
ST
169762018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16977
c120981d
ST
16978 * include/dirent.h (dirfd): Add hidden proto.
16979 * dirent/dirfd.c (dirfd): Add hidden def.
16980 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16981 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 16982
b2fd61ca
TMQMF
169832018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16984
16985 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16986 sin, cos and sincos to 1 ULP.
16987
10a446dd
MR
169882018-04-04 Maciej W. Rozycki <macro@mips.com>
16989
e7feec37
MR
16990 [BZ #19818]
16991 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16992 symbols.
16993 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16994 * elf/tst-absolute-sym.c: New file.
16995 * elf/tst-absolute-sym-lib.c: New file.
16996 * elf/tst-absolute-sym-lib.lds: New file.
16997 * elf/Makefile (tests): Add `tst-absolute-sym'.
16998 (modules-names): Add `tst-absolute-sym-lib'.
16999 (LDLIBS-tst-absolute-sym-lib.so): New variable.
17000 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
17001 ($(objpfx)tst-absolute-sym): New dependency.
17002
10a446dd
MR
17003 [BZ #19818]
17004 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
17005 parameter.
17006 (SYMBOL_ADDRESS): New macro.
17007 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
17008 SYMBOL_ADDRESS for symbol address calculation.
17009 * elf/dl-runtime.c (_dl_fixup): Likewise.
17010 (_dl_profile_fixup): Likewise.
17011 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
17012 * elf/rtld.c (dl_main): Likewise.
17013 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
17014 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
17015 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
17016 (elf_machine_rela): Likewise.
17017 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
17018 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
17019 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17020 (elf_machine_rela): Likewise.
17021 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17022 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
17023 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
17024 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17025 Likewise.
17026 (elf_machine_reloc): Likewise.
17027 (elf_machine_got_rel): Likewise.
17028 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17029 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17030 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17031 Likewise.
17032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17033 Likewise.
17034 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17036 Likewise.
17037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17038 Likewise.
17039 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17041 Likewise.
17042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17043 Likewise.
17044 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17046
9185f86d
ZW
170472018-04-04 Zack Weinberg <zackw@panix.com>
17048
17049 * sysdeps/generic/internal-signals.h: Include signal.h,
17050 sigsetops.h, and stdbool.h.
17051 (__libc_signal_block_all): Actually block all signals.
17052 (__libc_signal_block_app): Likewise.
17053 (__libc_signal_restore_set): Actually restore the signal mask.
17054
b07367bc
FW
170552018-04-04 Florian Weimer <fweimer@redhat.com>
17056
17057 inet: Actually build and run tst-deadline.
17058 * inet/Makefile (tests-internal): Add tst-deadline and do not
17059 overwrite the variable.
17060 (tests-static-internal): Remove variable.
17061
f2652643
L
170622018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17063
17064 [BZ #22947]
17065 * bits/uio-ext.h (RWF_APPEND): New.
17066 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17067 * manual/llio.texi: Document RWF_APPEND.
17068 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17069 (RWF_SUPPORTED): Add RWF_APPEND.
17070
6b5c8607 170712018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
17072
17073 [BZ #22391]
17074 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17075 check for internal nptl signals.
17076 * nptl/sigaction.c (__sigaction): Likewise.
17077 * signal/sigaddset.c (sigaddset): Likewise.
17078 * signal/sigdelset.c (sigdelset): Likewise.
17079 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17080 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17081 value.
17082 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17083 to filter out internal nptl signals.
17084 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17085 also check realtime signals using standard macros.
17086 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17087 __is_internal_signal, __libc_signal_block_all,
17088 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17089 * sysdeps/nptl/sigfillset.c: Remove file.
17090 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17091 Change return to bool.
17092 (__clear_internal_signals): Remove SIGTIMER clean since it is
17093 equal to SIGCANEL on Linux.
17094 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17095 signal set was constructed using standard functions.
17096
511ed56f
ST
170972018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17098
92846492
ST
17099 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17100 ifname is too long.
e8ef51b1
ST
17101 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17102 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
17103 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17104 hidden def.
17105 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
17106 * signal/sigaddset.c: Include <sigsetopts.h>.
17107 * signal/sigdelset.c: Likewise.
511ed56f 17108
e88ecbbf
WD
171092018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17110
17111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17112 (__cos): Likewise.
17113 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17114 logic as sin and cos.
17115
aef3e255
WD
171162018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17117
17118 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17119 inputs. Return correct sign.
17120 (do_sincos): Remove small input check before do_sin, let do_sin set
17121 the sign.
17122 (__sin): Likewise.
17123 (__cos): Likewise.
17124
72f6e9a3
WD
171252018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17126
17127 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17128 (do_cos_slow): Likewise.
17129 (do_sin_slow): Likewise.
17130 (reduce_and_compute): Likewise.
17131 (slow): Likewise.
17132 (slow1): Likewise.
17133 (slow2): Likewise.
17134 (sloww): Likewise.
17135 (sloww1): Likewise.
17136 (sloww2): Likewise.
17137 (bslow): Likewise.
17138 (bslow1): Likewise.
17139 (bslow2): Likewise.
17140 (cslow2): Likewise.
17141
64909583
WD
171422018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17143
17144 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17145 (do_cos): Remove corp parameter and calculations.
17146 (do_sin): Likewise.
17147 (do_sincos): Remove cor variable.
17148 (__sin): Use do_sincos for huge inputs.
17149 (__cos): Likewise.
17150 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17151 (reduce_and_compute_sincos): Remove unused function.
17152
d9469deb
WD
171532018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17154
17155 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17156 reduce_sincos, improve accuracy to 136 bits.
17157 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17158 (__sin): Use improved reduction and simplified do_sincos calculation.
17159 (__cos): Likewise.
17160 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17161
7a5640f2
WD
171622018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17163
17164 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17165 (do_sincos_2): Likewise.
17166 (__sin): Remove middle range reduction case.
17167 (__cos): Likewise.
17168 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17169 reduction case.
17170
19a8b9a3
WD
171712018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17172
17173 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17175 inputs.
17176 (__cos): Likewise.
17177 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17178
f72aa11d
JM
171792018-04-03 Joseph Myers <joseph@codesourcery.com>
17180
17181 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 17182 version to 4.16
f72aa11d 17183
8e4754ed
AZ
171842018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17185
17186 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17187 Remove definitions.
17188 (opendir_oflags): Use O_DIRECTORY regardless.
17189 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17190 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17191
8e2666ea
ST
171922018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17193
17194 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17195 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17196 macros.
17197 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17198 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17199 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17200 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
17201 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17202 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 17203
ad2b41bf
ST
17204 * htl/Makefile: Bump licence to LGPL 2.1+.
17205 * htl/alloca_cutoff.c: Likewise.
17206 * htl/cthreads-compat.c: Likewise.
17207 * htl/lockfile.c: Likewise.
17208 * htl/pt-alloc.c: Likewise.
17209 * htl/pt-cancel.c: Likewise.
17210 * htl/pt-cleanup.c: Likewise.
17211 * htl/pt-create.c: Likewise.
17212 * htl/pt-dealloc.c: Likewise.
17213 * htl/pt-detach.c: Likewise.
17214 * htl/pt-exit.c: Likewise.
17215 * htl/pt-getattr.c: Likewise.
17216 * htl/pt-initialize.c: Likewise.
17217 * htl/pt-internal.h: Likewise.
17218 * htl/pt-join.c: Likewise.
17219 * htl/pt-self.c: Likewise.
17220 * htl/pt-setcancelstate.c: Likewise.
17221 * htl/pt-setcanceltype.c: Likewise.
17222 * htl/pt-sigmask.c: Likewise.
17223 * htl/pt-spin-inlines.c: Likewise.
17224 * htl/pt-testcancel.c: Likewise.
17225 * htl/pt-yield.c: Likewise.
17226 * htl/tests/test-1.c: Likewise.
17227 * htl/tests/test-10.c: Likewise.
17228 * htl/tests/test-11.c: Likewise.
17229 * htl/tests/test-12.c: Likewise.
17230 * htl/tests/test-13.c: Likewise.
17231 * htl/tests/test-14.c: Likewise.
17232 * htl/tests/test-15.c: Likewise.
17233 * htl/tests/test-16.c: Likewise.
17234 * htl/tests/test-17.c: Likewise.
17235 * htl/tests/test-2.c: Likewise.
17236 * htl/tests/test-3.c: Likewise.
17237 * htl/tests/test-4.c: Likewise.
17238 * htl/tests/test-5.c: Likewise.
17239 * htl/tests/test-6.c: Likewise.
17240 * htl/tests/test-7.c: Likewise.
17241 * htl/tests/test-8.c: Likewise.
17242 * htl/tests/test-9.c: Likewise.
17243 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17244 * sysdeps/htl/bits/cancelation.h: Likewise.
17245 * sysdeps/htl/bits/pthread-np.h: Likewise.
17246 * sysdeps/htl/bits/pthread.h: Likewise.
17247 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17248 * sysdeps/htl/bits/semaphore.h: Likewise.
17249 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17250 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17251 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17252 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17253 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17254 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17255 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17256 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17257 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17258 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17259 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17260 * sysdeps/htl/old_pt-atfork.c: Likewise.
17261 * sysdeps/htl/pt-atfork.c: Likewise.
17262 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17263 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17264 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17265 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17266 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17267 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17268 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17269 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17270 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17271 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17272 * sysdeps/htl/pt-attr-init.c: Likewise.
17273 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17274 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17275 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17276 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17277 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17278 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17279 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17280 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17281 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17282 * sysdeps/htl/pt-attr.c: Likewise.
17283 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17284 * sysdeps/htl/pt-barrier-init.c: Likewise.
17285 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17286 * sysdeps/htl/pt-barrier.c: Likewise.
17287 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17288 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17289 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17290 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17291 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17292 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17293 * sysdeps/htl/pt-cond-init.c: Likewise.
17294 * sysdeps/htl/pt-cond-signal.c: Likewise.
17295 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17296 * sysdeps/htl/pt-cond-wait.c: Likewise.
17297 * sysdeps/htl/pt-cond.c: Likewise.
17298 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17299 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17300 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17301 * sysdeps/htl/pt-condattr-init.c: Likewise.
17302 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17303 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17304 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17305 * sysdeps/htl/pt-equal.c: Likewise.
17306 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17307 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17308 * sysdeps/htl/pt-getschedparam.c: Likewise.
17309 * sysdeps/htl/pt-getspecific.c: Likewise.
17310 * sysdeps/htl/pt-init-specific.c: Likewise.
17311 * sysdeps/htl/pt-key-create.c: Likewise.
17312 * sysdeps/htl/pt-key-delete.c: Likewise.
17313 * sysdeps/htl/pt-key.h: Likewise.
17314 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17315 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17316 * sysdeps/htl/pt-mutex-init.c: Likewise.
17317 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17318 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17319 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17320 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17321 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17322 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17323 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17324 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17325 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17326 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17327 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17328 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17329 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17330 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17331 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17332 * sysdeps/htl/pt-mutexattr.c: Likewise.
17333 * sysdeps/htl/pt-once.c: Likewise.
17334 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17335 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17336 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17337 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17338 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17339 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17340 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17341 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17342 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17343 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17344 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17345 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17346 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17347 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17348 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17349 * sysdeps/htl/pt-setschedparam.c: Likewise.
17350 * sysdeps/htl/pt-setschedprio.c: Likewise.
17351 * sysdeps/htl/pt-setspecific.c: Likewise.
17352 * sysdeps/htl/pt-spin.c: Likewise.
17353 * sysdeps/htl/pt-startup.c: Likewise.
17354 * sysdeps/htl/pthread.h: Likewise.
17355 * sysdeps/htl/sem-close.c: Likewise.
17356 * sysdeps/htl/sem-destroy.c: Likewise.
17357 * sysdeps/htl/sem-getvalue.c: Likewise.
17358 * sysdeps/htl/sem-init.c: Likewise.
17359 * sysdeps/htl/sem-open.c: Likewise.
17360 * sysdeps/htl/sem-post.c: Likewise.
17361 * sysdeps/htl/sem-timedwait.c: Likewise.
17362 * sysdeps/htl/sem-trywait.c: Likewise.
17363 * sysdeps/htl/sem-unlink.c: Likewise.
17364 * sysdeps/htl/sem-wait.c: Likewise.
17365 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17366 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17367 * sysdeps/mach/htl/pt-block.c: Likewise.
17368 * sysdeps/mach/htl/pt-spin.c: Likewise.
17369 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17370 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17371 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17372 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17373 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17374 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17375 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17376 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17377 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17378 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17379 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17380 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17381 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17382 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17383 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17384 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17385 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17386 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17387 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17388 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17389 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17390 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17391 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17392 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17393 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17394 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17395 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17396 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17397 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17398 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17399 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17400 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17401 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17402 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17403 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17404 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17405 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17406 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17407 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17408 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17409 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17410 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17411 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17412
fb03b04b
ST
17413 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17414 * README: Remove the mention of out-of-tree patches needed for
17415 GNU/Hurd.
17416
fa9e1555
ST
17417 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17418 (UTIME_NOW, UTIME_OMIT): Define macros.
17419
f6fb29d2
ST
17420 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17421 instead of pthread_detach.
17422 (__cthread_fork): Call __pthread_create instead of pthread_create.
17423 (__cthread_keycreate): Call __pthread_key_create instead of
17424 pthread_key_create.
17425 (__cthread_getspecific): Call __pthread_getspecific instead of
17426 pthread_getspecific.
17427 (__cthread_setspecific): Call __pthread_setspecific instead of
17428 pthread_setspecific.
17429 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17430 __pthread_mutex_unlock instead of pthread_mutex_lock and
17431 pthread_mutex_unlock.
17432 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17433 ___pthread_get_cleanup_stack.
17434 (__pthread_get_cleanup_stack): New strong alias.
17435 * htl/pt-create.c: Include <pthreadP.h>.
17436 (entry_point): Call __pthread_exit instead of pthread_exit.
17437 (pthread_create): Rename to __pthread_create.
17438 (pthread_create): New strong alias.
17439 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17440 (pthread_detach): New strong alias.
17441 (__pthread_detach): Call __pthread_cond_broadcast instead of
17442 pthread_cond_broadcast.
fe9748cc
ST
17443 * htl/pt-exit.c: Include <pthreadP.h>.
17444 (__pthread_exit): Call __pthread_setcancelstate and
17445 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17446 __pthread_get_cleanup_stack.
f6fb29d2
ST
17447 * htl/pt-testcancel.c: Include <pthreadP.h>.
17448 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17449 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17450 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17451 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17452 pthread_attr_getstacksize.
17453 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17454 Rename to __pthread_attr_getstackaddr.
17455 (pthread_attr_getstackaddr): New strong alias.
17456 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17457 Rename to __pthread_attr_getstacksize.
17458 (pthread_attr_getstacksize): New strong alias.
17459 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17460 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17461 (pthread_attr_setstack): New strong alias.
17462 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17463 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17464 pthread_attr_getstacksize, pthread_attr_setstacksize and
17465 pthread_attr_setstackaddr.
17466 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17467 Rename to __pthread_attr_setstackaddr.
17468 (pthread_attr_setstackaddr): New strong alias.
17469 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17470 Rename to __pthread_attr_setstacksize.
17471 (pthread_attr_setstacksize): New strong alias.
17472 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17473 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17474 pthread_exit.
17475 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17476 (__pthread_key_create): New hidden def.
17477 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17478 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17479 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17480 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17481 __pthread_setspecific, __pthread_setcancelstate,
17482 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17483 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17484 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17485 declarations.
17486 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17487 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17488 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17489 (pthread_attr_setstackaddr): New strong alias.
17490 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17491 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17492 (pthread_attr_setstacksize): New strong alias.
17493 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17494 (call_exit): Call __pthread_exit instead of pthread_exit.
17495 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17496 (_pthread_mutex_init): New hidden definition.
17497 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17498 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17499 instead of pthread_attr_init and pthread_attr_setstack.
17500
dba2bdbe
ST
17501 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17502 __vm_deallocate instead of vm_allocate and vm_deallocate.
17503 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17504 setenv.
17505 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17506 of geteuid.
17507 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17508 strdup.
17509 * hurd/siginfo.c: Include <libioP.h>.
17510 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17511 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17512 munmap.
dba2bdbe
ST
17513 * mach/devstream.c: Include <libioP.h>.
17514 (dealloc_ref): Call __mach_port_deallocate instead of
17515 mach_port_deallocate.
17516 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17517 Call __mach_port_deallocate instead of mach_port_deallocate.
17518 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17519 pathconf.
17520 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17521 munmap.
17522 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17523 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17524 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17525 of munmap.
17526 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17527 of close.
17528 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17529 instead of sysconf.
17530 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17531 __clock_gettime instead of clock_gettime.
17532 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17533 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17534 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17535 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17536 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17537 tcgetattr.
17538 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17539 __clock_gettime and __nanosleep instead of clock_gettime and
17540 nanosleep.
7a8f45e3
ST
17541 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17542 __hurd_catch_signal.
17543 (hurd_catch_signal): New strong alias.
17544 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17545 __hurd_catch_signal instead of hurd_catch_signal.
17546 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17547 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17548 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17549 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17550 (_hurd_thread_sigstate): Add hidden def.
17551 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17552 mutex_unlock.
17553 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17554 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17555 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17556 __hurd_file_name_path_lookup.
17557 (hurd_file_name_path_lookup): New strong alias.
17558 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17559 hurd_file_name_path_lookup.
17560 * mach/errstring.c (mach_error_type): Add hidden def.
17561 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17562 * mach/mutex-init.c (__mutex_init): Add hidden def.
17563 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17564 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17565 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17566 * sysdeps/mach/hurd/getcwd.c
17567 (_hurd_canonicalize_directory_name_internal): Rename to
17568 __hurd_canonicalize_directory_name_internal.
17569 (_hurd_canonicalize_directory_name_internal): New strong alias.
17570 (__canonicalize_directory_name_internal, __getcwd): Call
17571 __hurd_canonicalize_directory_name_internal instead of
17572 _hurd_canonicalize_directory_name_internal.
17573 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17574 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17575 hidden defs.
17576 * sysdeps/hurd/include/hurd.h: New file.
17577 * sysdeps/hurd/include/hurd/fd.h: New file.
17578 * sysdeps/hurd/include/hurd/signal.h: New file.
17579 * sysdeps/mach/include/lock-intern.h: New file.
17580 * sysdeps/mach/include/mach.h: New file.
17581 * sysdeps/mach/include/mach/mig_support.h: New file.
17582 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
17583 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17584 prototype.
17585 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17586 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17587 _HEADER_H_HIDDEN_DEF macro.
17588 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17589 _hurd_fd_error_signal): Add hidden prototype.
17590 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17591 hidden def.
82dbf555
ST
17592 * libio/iolibio.h (_IO_puts): New hidden prototype.
17593 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
17594 * sysdeps/mach/hurd/localplt.data: New file.
17595
33574c17 175962018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
17597 Amos Jeffries <squid3@treenet.co.nz>
17598 David Michael <fedora.dm0@gmail.com>
17599 Marco Gerards <marco@gnu.org>
17600 Marcus Brinkmann <marcus@gnu.org>
17601 Neal H. Walfield <neal@gnu.org>
17602 Pino Toscano <toscano.pino@tiscali.it>
17603 Richard Braun <rbraun@sceen.net>
17604 Roland McGrath <roland@gnu.org>
17605 Samuel Thibault <samuel.thibault@ens-lyon.org>
17606 Thomas DiModica <ricinwich@yahoo.com>
17607 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
17608
17609 * htl: New directory.
17610 * sysdeps/htl: New directory.
17611 * sysdeps/hurd/htl: New directory.
17612 * sysdeps/i386/htl: New directory.
17613 * sysdeps/mach/htl: New directory.
17614 * sysdeps/mach/hurd/htl: New directory.
17615 * sysdeps/mach/hurd/i386/htl: New directory.
17616 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17617 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17618 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17619
03e2aa50
ST
176202018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17621
17622 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17623 signals in thread created for runing timers.
17624
1aa52ced
FW
176252018-04-01 Florian Weimer <fweimer@redhat.com>
17626
17627 * support/support_format_addrinfo.c (support_format_addrinfo):
17628 Include unknown error number in formatted result.
17629
4d76d3e5
FW
176302018-03-29 Florian Weimer <fweimer@redhat.com>
17631
17632 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17633 capture SIGBUS.
17634
d39c0a45
AZ
176352018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17636
17637 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17638 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17639 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17640 (__ASSUME_CLONE_BACKWARDS): Define.
17641
cc8a1620
JH
176422018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17643
57408435 17644 [BZ #23024]
cc8a1620
JH
17645 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17646 early when linux sentinel value is set.
17647
8bfd94d0
ST
176482018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17649
17650 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17651
f178e59f
AS
176522018-03-27 Andreas Schwab <schwab@suse.de>
17653
17654 [BZ #23005]
17655 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17656 allocation of private copy of nsaddr_list fails.
17657
5f45f96a
JM
176582018-03-26 Joseph Myers <joseph@codesourcery.com>
17659
17660 [BZ #16552]
17661 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17662 * sysdeps/unix/sysv/linux/umount.c: ... here.
17663 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17664 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17665 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17666 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17668 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17669 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17670
3dfd23eb
AS
176712018-03-26 Andreas Schwab <schwab@suse.de>
17672
17673 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17674 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17675 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17676 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17677 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17678 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17679 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17680 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17681 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17682 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17683 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17684 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17685 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17686 (R_RISCV_NUM): Define.
17687
fa97d2ab
ST
176882018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17689
17690 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17691 TLS declaration of errno.
37be82a0
ST
17692 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17693 __libc_setup_tls.
17694 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17695 (ARCH_SETUP_TLS): Likewise.
17696 * sysdeps/mach/hurd/libc-start.h: New file copied from
17697 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
17698 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17699 instead of __libc_setup_tls.
37be82a0 17700 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
17701 __libc_setup_tls before initializing libpthread and running _hurd_init
17702 which starts the signal thread.
17703 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17704 Declare function.
2d813d7b 17705 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 17706
b8114edd
L
177072018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17708
17709 [BZ #22998]
17710 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17711 after it is defined.
17712
cd66c0e5
AS
177132018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17714 Max Horn <max@quendi.de>
17715
17716 [BZ #22644]
43d4f3d5 17717 CVE-2017-18269
cd66c0e5
AS
17718 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17719 branch conditions.
17720 * string/test-memmove.c (do_test2): New testcase.
17721
a4406139
JM
177222018-03-22 Joseph Myers <joseph@codesourcery.com>
17723
17724 * sysdeps/generic/frame.h: Remove file.
17725 * sysdeps/arm/frame.h: Likewise.
17726 * sysdeps/hppa/frame.h: Likewise.
17727 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17728 macro.
17729 (GET_FRAME): Likewise.
17730 (GET_STACK): Likewise.
17731 (CALL_SIGHANDLER): Likewise.
17732 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17733 Likewise.
17734 (GET_FRAME): Likewise.
17735 (GET_STACK): Likewise.
17736 (CALL_SIGHANDLER): Likewise.
17737 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17738 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17739 (GET_FRAME): Likewise.
17740 (GET_STACK): Likewise.
17741 (CALL_SIGHANDLER): Likewise.
17742 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17743 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17744 (GET_FRAME): Likewise.
17745 (GET_STACK): Likewise.
17746 (ADVANCE_STACK_FRAME): Likewise.
17747 (CALL_SIGHANDLER): Likewise.
17748 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17749 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17750 (GET_FRAME): Likewise.
17751 (GET_STACK): Likewise.
17752 (CALL_SIGHANDLER): Likewise.
17753 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17754 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17755 (GET_FRAME): Likewise.
17756 (GET_STACK): Likewise.
17757 (CALL_SIGHANDLER): Likewise.
17758 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17759 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17760 (GET_FRAME): Likewise.
17761 (GET_STACK): Likewise.
17762 (CALL_SIGHANDLER): Likewise.
17763 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17764 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17765 (GET_FRAME): Likewise.
17766 (GET_STACK): Likewise.
17767 (CALL_SIGHANDLER): Likewise.
17768 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17769 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17770 (GET_FRAME): Likewise.
17771 (GET_STACK): Likewise.
17772 (CALL_SIGHANDLER): Likewise.
17773 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17774 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17775 (GET_FRAME): Likewise.
17776 (GET_STACK): Likewise.
17777 (CALL_SIGHANDLER): Likewise.
17778 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17779 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17780 (GET_FRAME): Likewise.
17781 (GET_STACK): Likewise.
17782 (CALL_SIGHANDLER): Likewise.
17783 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17784 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17785 (GET_FRAME): Likewise.
17786 (GET_STACK): Likewise.
17787 (CALL_SIGHANDLER): Likewise.
17788 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17789 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17790 (GET_FRAME): Likewise.
17791 (GET_STACK): Likewise.
17792 (CALL_SIGHANDLER): Likewise.
17793 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17794 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17795 (FIRST_FRAME_POINTER): Likewise.
17796 (ADVANCE_STACK_FRAME): Likewise.
17797 (GET_STACK): Likewise.
17798 (GET_FRAME): Likewise.
17799 (CALL_SIGHANDLER): Likewise.
17800 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17801 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17802 (ADVANCE_STACK_FRAME): Likewise.
17803 (GET_STACK): Likewise.
17804 (GET_FRAME): Likewise.
17805 (CALL_SIGHANDLER): Likewise.
17806 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17807 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17808 (GET_FRAME): Likewise.
17809 (GET_STACK): Likewise.
17810 (CALL_SIGHANDLER): Likewise.
17811 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17812 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17813 (GET_FRAME): Likewise.
17814 (GET_STACK): Likewise.
17815 (CALL_SIGHANDLER): Likewise.
17816
ffec7b27
JM
178172018-03-21 Joseph Myers <joseph@codesourcery.com>
17818
17819 * sysdeps/x86_64/backtrace.c: Move to ....
17820 * debug/backtrace.c: ... here.
17821 * sysdeps/aarch64/backtrace.c: Remove file.
17822 * sysdeps/alpha/backtrace.c: Likewise.
17823 * sysdeps/hppa/backtrace.c: Likewise.
17824 * sysdeps/ia64/backtrace.c: Likewise.
17825 * sysdeps/mips/backtrace.c: Likewise.
17826 * sysdeps/nios2/backtrace.c: Likewise.
17827 * sysdeps/riscv/backtrace.c: Likewise.
17828 * sysdeps/sh/backtrace.c: Likewise.
17829 * sysdeps/tile/backtrace.c: Likewise.
17830
8a07b0c4
JM
178312018-03-20 Joseph Myers <joseph@codesourcery.com>
17832
d0c5d731
JM
17833 [BZ #22987]
17834 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17835 function.
17836 (fdimf): Likewise.
17837 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17838
8a07b0c4
JM
17839 [BZ #17343]
17840 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17841 possibly overflowing computations.
17842
ceb54b9b
ST
178432018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17844
17845 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17846 values from Linux-specific section now that it is in the GNU section.
17847 * sysdeps/gnu/errlist.c: Regenerate.
17848
8d3f9e85
JM
178492018-03-20 Joseph Myers <joseph@codesourcery.com>
17850
17851 * math/Makefile (libm-narrow-fns): Add sub.
17852 (libm-test-funcs-narrow): Likewise.
17853 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17854 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17855 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17856 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17857 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17858 (NARROW_SUB_TRIVIAL): Likewise.
17859 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17860 macro.
17861 (__dsubl): Likewise.
17862 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17863 dsub.
17864 (CFLAGS-nldbl-dsub.c): New variable.
17865 (CFLAGS-nldbl-fsub.c): Likewise.
17866 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17867 __nldbl_dsubl.
17868 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17869 prototype.
17870 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17871 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17872 * math/auto-libm-test-in: Add tests of sub.
17873 * math/auto-libm-test-out-narrow-sub: New generated file.
17874 * math/libm-test-narrow-sub.inc: New file.
17875 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17878 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17879 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17880 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17884 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17887 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17889 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17890 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17891 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17892 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17894 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17921
d473f015
JM
179222018-03-19 Joseph Myers <joseph@codesourcery.com>
17923
17924 [BZ #20079]
17925 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17926
fbce6f72
WD
179272018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17928
17929 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17930
72e7ffc3
RB
179312018-03-18 Richard Braun <rbraun@sceen.net>
17932
17933 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17934 thread reference.
17935
542c20a1
AA
179362018-03-18 Agustina Arzille <avarzille@riseup.net>
17937
17938 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17939 (__libc_cleanup_fct): Define function.
17940 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17941 __libc_cleanup_end): Rewrite implementation using
17942 __attribute__ ((__cleanup__)).
17943 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
17944 * hurd/Makefile (routines): Add hurdlock.
17945 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17946 interface.
17947 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17948 * hurd/hurdpid.c: Include <lowlevellock.h>
17949 (_S_msg_proc_newids): Use lll_wait to synchronize.
17950 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17951 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17952 * mach/Makefile (lock-headers): Remove machine-lock.h.
17953 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17954 <machine-lock.h>.
17955 (__spin_lock_t): New type.
17956 (__SPIN_LOCK_INITIALIZER): New macro.
17957 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17958 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17959 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17960 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17961 (__mutex_init): Initialize with lll.
17962 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17963 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17964 needing lll.
17965 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17966 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17967 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17968 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17969 (__setpgid): Use lll for synchronization.
17970 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17971 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17972 instead of <cthreads.h>.
17973 (_IO_lock_inexpensive): New macro
17974 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17975 (__libc_lock_self0): New declaration.
17976 (__libc_lock_owner_self): New macro.
17977 (__libc_key_t): Remove type.
17978 (_LIBC_LOCK_INITIALIZER): New macro.
17979 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17980 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17981 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17982 __libc_lock_define_initialized_recursive,
17983 __rtld_lock_define_initialized_recursive,
17984 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17985 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17986 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17987 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17988 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17989 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17990 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17991 New macros.
17992 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17993 * hurd/hurdlock.c: New file.
17994 * hurd/hurdlock.h: New file.
17995 * mach/lowlevellock.h: New file
542c20a1 17996
9a37922e
ST
179972018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17998
17999 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
18000 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
18001 when opening a symlink with O_NOFOLLOW.
72103e73
ST
18002 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
18003 path when flags contains O_NOFOLLOW.
18004 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
18005 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
18006 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
18007 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
18008 * sysdeps/mach/hurd/mlockall.c: New file.
18009 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 18010
34e6a869
ST
180112018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18012
18013 * hurd/hurdsig.c: Include <pthread.h>.
18014 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
18015 get the signal thread stack layout.
dc33bef3
ST
18016 * hurd/Makefile (headers): Remove threadvar.h.
18017 (inline-headers): Remove threadvar.h.
18018 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
18019 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
18020 __hurd_threadvar_max, __hurd_errno_location.
18021 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
18022 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
18023 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18024 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
18025 unless TLS is not initialized yet, in which case we do not need a
18026 critical section yet anyway.
18027 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18028 <machine-sp.h>.
18029 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18030 declarations.
18031 (__hurd_threadvar_index): Remove enum.
18032 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18033 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18034 inlines.
18035 (__hurd_reply_port0): New variable declaration.
18036 (__hurd_local_reply_port): New macro.
18037 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18038 (interrupted_reply_port_location): Add thread_t parameter. Use it
18039 with THREAD_TCB to access thread-local variables.
18040 (_hurdsig_abort_rpcs): Pass ss->thread to
18041 interrupted_reply_port_location.
18042 (_hurd_internal_post_signal): Likewise.
18043 (_hurdsig_init): Use presence of cthread_fork instead of
18044 __hurd_threadvar_stack_mask to start signal thread by hand.
18045 Remove signal thread threadvar initialization.
18046 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18047 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18048 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18049 of threadvar.
18050 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18051 __libc_lock_self0.
18052 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18053 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18054 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18055 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18056 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18057 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18058 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18059 define variables.
18060 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18061 <hurd/threadvar.h>.
18062 [IS_IN(rtld)] (rtld_errno): New variable.
18063 [IS_IN(rtld)] (__errno_location): New weak function.
18064 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18065 * sysdeps/mach/hurd/errno.c: Remove file.
18066 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18067 (__fork): Remove THREADVAR_SPACE macro and its use.
18068 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18069 variable.
18070 (init): Do not initialize threadvar.
18071 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18072 symbol.
18073 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18074 __hurd_local_reply_port instead of threadvar.
18075 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18076 _hurd_sigstate fields.
18077 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18078 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18079 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18080 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18081 instead of threadvar.
18082 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18083 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18084 (use_threadvar, global_reply_port): Remove variables.
18085 (__hurd_reply_port0): New variable.
18086 (__mig_get_reply_port): Use __hurd_local_reply_port and
18087 __hurd_reply_port0 instead of threadvar.
18088 (__mig_dealloc_reply_port): Likewise.
18089 (__mig_init): Do not initialize threadvar.
18090 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
18091 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18092 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18093 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18094 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18095 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18096 __cthread_setspecific.
18097 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18098 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18099 __cthread_t instead of cthread_fork, cthread_detach,
18100 pthread_getattr_np, pthread_attr_getstack.
18101 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18102 __cthread_keycreate.
18103 (cthread_getspecific): Rename to __cthread_getspecific.
18104 (cthread_setspecific): Rename to __cthread_setspecific.
18105 (__libc_getspecific): Use __cthread_getspecific instead of
18106 cthread_getspecific.
18107 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18108 __cthread_keycreate instead of cthread_keycreate.
18109 (__libc_setspecific): Use __cthread_setspecific instead of
18110 cthread_setspecific.
18111 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18112 Likewise.
dd28d4ba
ST
18113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18114 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18115 testing whether it is defined.
34e6a869 18116
f8baf2a2
ST
181172018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18118
18119 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18120 Define macro.
18121 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18122 * sysdeps/mach/i386/thread_state.h
18123 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18124 i386_THREAD_STATE.
18125 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18126 i386_THREAD_STATE.
18127 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18128
18129 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18130 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18131
18132 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18133 macros.
18134 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18135 descriptor instead of creating a new one.
18136 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18137
18138 * mach/setup-thread.c: Include <ldsodefs.h>.
18139 (__mach_setup_thread): Call _dl_allocate_tls, pass
18140 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18141 MACHINE_THREAD_STATE_FLAVOR, before getting
18142 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18143 MACHINE_THREAD_STATE_FLAVOR with the result.
18144 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18145 MACHINE_THREAD_STATE_FIX_NEW.
18146 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18147 too. Add original thread parameter.
18148
34ba96b8
JM
181492018-03-16 Joseph Myers <joseph@codesourcery.com>
18150
5d75b75f
JM
18151 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18152 Remove inline function.
18153
34ba96b8
JM
18154 * sysdeps/i386/fpu/libm-test-ulps: Update.
18155 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18156
22679b2c
WD
181572018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18158
18159 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18160 commit.
18161
c429a8d8
JM
181622018-03-15 Joseph Myers <joseph@codesourcery.com>
18163
18164 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18165 (__sincos_code): Remove define and undefine.
18166 [__FAST_MATH__] (__sincos): Remove inline function.
18167 [__FAST_MATH__] (__sincosf): Remove inline function.
18168 [__FAST_MATH__] (__sincosl): Remove inline function.
18169 (__atan2l): Remove inline functions.
18170 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18171 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18172 function.
18173 (floor): Remove inline function.
18174 (ceil): Likewise.
18175 [__FAST_MATH__] (__ldexp_code): Remove macro.
18176 [__FAST_MATH__] (ldexp): Remove inline function.
18177 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18178 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18179 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18180 [__USE_ISOC99] (__lrint_code): Remove macro.
18181 [__USE_ISOC99] (__llrint_code): Likewise.
18182 [__USE_ISOC99] (lrintf): Remove inline function.
18183 [__USE_ISOC99] (lrint): Likewise.
18184 [__USE_ISOC99] (lrintl): Likewise.
18185 [__USE_ISOC99] (llrint): Likewise.
18186 [__USE_ISOC99] (llrintf): Likewise.
18187 [__USE_ISOC99] (llrintl): Likewise.
18188
700593fd
WD
181892018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18190
18191 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18192 (__ieee754_sqrtf): Remove.
18193 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18194 (__ieee754_sqrtf): Remove.
18195 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18196 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18197 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18198 (__ieee754_sqrtf): Remove.
18199 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18200 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18201 (sqrtf): Remove.
18202 (sqrtl): Remove.
18203 (__ieee754_sqrt): Remove.
18204 (__ieee754_sqrtf): Remove.
18205 (__ieee754_sqrtl): Remove.
18206 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18207 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18208 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18209 (__ieee754_sqrtf): Remove.
18210 (__ieee754_sqrtl): Remove.
18211
f67a8147
WD
182122018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18213
18214 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18215 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18216 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18217 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18218 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18219 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18220 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18221 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18222 Likewise.
18223 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18224 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18225 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18226 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18227 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18228 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18229 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18230 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18231 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18232 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18233 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18234 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18235 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18236 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18237 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18238 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18239 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18240 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18241 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18252 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18253 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18255 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18256 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18257 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18258 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18260 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18261 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18262 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18263
1294b189
WD
182642018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18265
18266 * include/math.h (sqrt): Declare with asm redirect.
18267 (sqrtf): Likewise.
18268 (sqrtl): Likewise.
18269 (sqrtf128): Likewise.
18270 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18271 nonlib and libnldbl with -fmath-errno.
18272 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18273 * math/w_sqrt_template.c: Likewise.
18274 * math/w_sqrtf_compat.c: Likewise.
18275 * math/w_sqrtl_compat.c: Likewise.
18276 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18277 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18278 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18279 complex.h.
18280
f1c8185d
WD
182812018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18282
18283 * benchtests/Makefile: Define _ISOMAC.
18284 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18285 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18286 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18287 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18288 * benchtests/bench-timing.h: Define attribute_hidden.
18289
b47c3e76
SP
182902018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18291
18292 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18293 mov + lsr.
18294
807fee29
RL
182952018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18296
18297 [BZ #22963]
18298 * localedata/locales/cs_CZ (mon): Rename to...
18299 (alt_mon): This.
18300 (mon): Import from CLDR (genitive case).
18301
e7155a28
RL
183022018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18303
18304 [BZ #22937]
18305 * localedata/locales/el_CY (abmon): Rename to...
18306 (ab_alt_mon): This.
18307 (abmon): Import from CLDR (abbreviated genitive case).
18308 * localedata/locales/el_GR (abmon): Rename to...
18309 (ab_alt_mon): This.
18310 (abmon): Import from CLDR (abbreviated genitive case).
18311
71d7b121
RL
183122018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18313
18314 [BZ #22932]
18315 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18316
a00bffe8
RB
183172018-03-15 Robert Buj <robert.buj@gmail.com>
18318
18319 [BZ #22848]
18320 * localedata/locales/ca_ES (abmon): Rename to...
18321 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18322 (mon): Rename to...
18323 (alt_mon): This.
18324 (abmon): Import from CLDR (genitive case, month names preceded by
18325 "de" or "d’").
18326 (mon): Likewise.
18327 (abday): Synchronize with CLDR.
18328 (d_t_fmt): Likewise.
18329 (d_fmt): Likewise.
18330 (am_pm): Likewise.
18331
18332 (LC_TIME): Improve indentation.
18333 (LC_TELEPHONE): Likewise.
18334 (LC_NAME): Likewise.
18335 (LC_ADDRESS): Likewise.
18336
f9555d73
JM
183372018-03-14 Joseph Myers <joseph@codesourcery.com>
18338
18339 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18340 (lrintf): Remove definitions used only with old GCC.
18341 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18342 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18343 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18344 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18345 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18346 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18347 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18348 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18349 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18350 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18351 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18352 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18353 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18354 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18355 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18356 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18357 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18358 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18359 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18360 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18361 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18362 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18363 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18364 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18365 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18366 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18367 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18368 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18369
d46f84de
SP
183702018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18371
18372 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18373 instruction to unbreak builds with binutils 2.26 and older.
18374
7108f1f9
SP
183752018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18376
18377 * sysdeps/aarch64/strncmp.S (count): New macro.
18378 (strncmp): Store misaligned length in SRC1 in COUNT.
18379 (mutual_align): Adjust.
18380 (misaligned8): Load dword at a time when it is safe.
18381
2cc7bad0
ZW
183822018-03-12 Zack Weinberg <zackw@panix.com>
18383
18384 [BZ #1190]
18385 [BZ #19476]
18386 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18387 if the _IO_EOF_SEEN bit is already set; update commentary.
18388 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18389 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18390
18391 * support/support_openpty.c, support/tty.h: New files.
18392 * support/Makefile (libsupport-routines): Add support_openpty.
18393
18394 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18395 New test cases.
18396 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18397 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18398
778f1974
DL
183992018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18400
18401 * po/pt_BR.po: Update translations.
18402
6b5c8607 184032018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
18404
18405 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18406 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18407 get a port to the startup server.
18408
d3da750d
ZW
184092018-03-11 Zack Weinberg <zackw@panix.com>
18410
18411 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18412 before nldbl-compat.h.
18413
054b72cc
ZW
184142018-03-10 Zack Weinberg <zackw@panix.com>
18415
0d13dfa1
ZW
18416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18417 math.h or math_private.h.
18418
18419 * sysdeps/alpha/fpu/s_isnan.c
18420 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18421 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18422 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18423 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18424 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18425 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18426 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18427 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18428 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18431 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18434 Include math_private.h.
18435
18436 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18437 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18438 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18439 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18440 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18441 * sysdeps/powerpc/power7/fpu/s_logb.c:
18442 Include math.h and math_private.h.
18443
054b72cc
ZW
18444 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18445 uses of $at in .set noat / .set at.
18446
6253bacd
L
184472018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18448
18449 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18450 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18451 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18453 Likewise.
18454
229855e5
FW
184552018-03-09 Florian Weimer <fweimer@redhat.com>
18456
18457 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18458 in comment.
18459
9aa5c222
AJ
184602018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18461
18462 [BZ #22919]
18463 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18464 Add nop before __startcontext, add explaining comments.
18465
3dc21497
AZ
184662018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18467
e921c89e
AZ
18468 [BZ #22926]
18469 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18470 empty for __SPE__.
18471 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18472 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18473 Do not build hardware transactional code for __SPE__.
18474 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18475 (__lll_trylock_elision): Likewise.
18476 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18477 (__lll_unlock_elision): Likewise.
18478
d9f26dab 18479 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
18480 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18481 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18482 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18483 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18484 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18485 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18486 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18487 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18488 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18489 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18490 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18491 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18492 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18493 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18494 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18495 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18496 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18497 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18498 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18499 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18500 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18501 (__ASSUME_CLONE_BACKWARDS): Define.
18502 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18503 __clone2 if __NR_clone2 is defined.
18504 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18505 (__ASSUME_CLONE_BACKWARDS): Likewise.
18506 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18507 (__ASSUME_CLONE_BACKWARDS): Likewise.
18508 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18509 (__ASSUME_CLONE2): Likewise.
18510 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18511 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18512 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18513 variants and the define architecture can use.
18514 (__ASSUME_CLONE_DEFAULT): Define as default.
18515 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18516 (__ASSUME_CLONE_BACKWARDS): Likewise.
18517 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18518 (__ASSUME_CLONE_BACKWARDS): Likewise.
18519 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18520 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18521
adc95fb0
SP
185222018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18523
4e54d918
SP
18524 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18525
30a81dae
SP
18526 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18527 time.
18528
adc95fb0
SP
18529 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18530 (do_test_limit): Likewise.
18531
18532 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18533 for every implementation.
18534 (do_test): Likewise.
18535
18536 * benchtests/bench-strncmp.c: Convert output to json.
18537
4e9066bc
ST
185382018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18539
18540 * io/futimens.c: Add missing start-of-file descriptive comment.
18541 * io/utime.c: Likewise.
18542 * misc/futimesat.c: Likewise.
18543 * misc/utimes.c: Likewise.
18544 * sysdeps/mach/hurd/futimesat.c: Likewise.
18545 * sysdeps/mach/hurd/utimes.c: Likewise.
18546 * sysdeps/posix/utime.c: Likewise.
18547 * sysdeps/posix/utimes.c: Likewise.
18548 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18549 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18550 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18551 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18552
ec1300cf
ST
185532018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18554
18555 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18556 hurd_futimes.
18557 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18558 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18559 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18560 (__futimens): Move implementation to...
18561 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18562 utime_tvalue_from_tspec): ... new helper functions.
18563 (hurd_futimens): New function.
18564 * sysdeps/mach/hurd/futimesat.c: New file.
18565 * sysdeps/mach/hurd/utimensat.c: New file.
18566
bbe762d1
FC
185672018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18568
18569 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18570 UTIME_OMIT): New macros.
18571 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18572 before reverting to converting time spec to time value and calling
18573 __file_utimes.
18574 * sysdeps/mach/hurd/utime-helper.c: New file.
18575 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18576 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18577 reverting to utime_tvalue_from_tval and __file_utimes.
18578 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18579 (__lutimes): Just call hurd_futimens after lookup.
18580 * sysdeps/mach/hurd/utimes.c: Likewise.
18581
a1ede3a4
ST
185822018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18583
18584 * bits/sigaction.h: Add include guard.
18585 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18586 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18587 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18588 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18589 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18591 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18592 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18593 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18594
6900d2ca
JM
185952018-03-05 Joseph Myers <joseph@codesourcery.com>
18596
18597 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18598 -Wmaybe-uninitialized for -Os.
18599 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18600 this disabling.
18601
68448be2
AZ
186022018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18603
5226a81f
AZ
18604 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18605 __INO_T_MATCHES_INO64_T is defined.
18606 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18607 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18608 of definition.
18609 * dirent/alphasort64.c: Likewise.
18610 * dirent/scandir.c: Likewise.
18611 * dirent/scandir64-tail.c: Likewise.
18612 * dirent/scandir64.c: Likewise.
18613 * dirent/scandirat.c: Likewise.
18614 * dirent/scandirat64.c: Likewise.
18615 * dirent/versionsort.c: Likewise.
18616 * dirent/versionsort64.c: Likewise.
18617 * include/dirent.h: Likewise.
18618
fbd01e6c
AZ
18619 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18620 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18621 for socketpair endpoint.
18622 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18623 WRITE_BUFFER_SIZE as buffer size for sending socket.
18624 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18625 issue on system where send is implemented with sendto syscall.
18626 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18627 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18628 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18629 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18630
68448be2
AZ
18631 [BZ #21269]
18632 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18633 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18634 sa_restorer for vDSO case.
18635 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18636
eb1ca47e
ST
186372018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18638
18639 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
18640 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18641 * hurd/hurd/ioctl.h: Include <mach/port.h>
18642 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
18643 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18644 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
18645 (headers): Move mach/param.h to bits/mach/param.h.
18646 * sysdeps/mach/i386/mach/param.h: Move file to ...
18647 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18648 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18649 of <mach/param.h>.
3403cb7d
ST
18650 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18651 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18652 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
18653 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18654 trivial, for C++ conformity.
44c6376c 18655 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
18656 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18657 Process mig output through $(migheadersed).
18658 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
18659 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18660 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18661 headers.
ba89615d
ST
18662 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18663 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18664 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18665 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18666 <bits/types/sigset_t.h>.
18667 [!defined __USE_GNU]: Do not #error out.
18668 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18669 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18670 Include <stddef.h> and <bits/types/sigset_t.h>
18671 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18672 instead of sighandler_t.
974393ea
ST
18673 * stdlib/errno.h (error_t): Move definition to...
18674 * bits/types/error_t.h: ... new header.
18675 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18676 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18677 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18678 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18679 * hurd/hurd.h: Include <bits/types/error_t.h>
18680 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18681 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18682 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18683 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18684 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18685 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 18686 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 18687
eaf6753f
AS
186882018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18689
18690 [BZ #22918]
18691 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18692 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18693 * nscd/gai.c (__nss_hosts_database): Readd definition.
18694 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18695 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18696 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18697
4dc23804
JM
186982018-03-02 Joseph Myers <joseph@codesourcery.com>
18699
18700 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18701 (ifunc_one): Likewise.
18702
1c81d55f
DD
187032018-03-01 DJ Delorie <dj@delorie.com>
18704
18705 [BZ #22342]
18706 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18707 key value.
18708
b717c14f
MR
187092018-03-01 Maciej W. Rozycki <macro@mips.com>
18710
18711 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18712 `match_pid' parameter.
18713 (td_ta_thr_iter): Update accordingly.
18714
1efe1358
FW
187152018-03-01 Florian Weimer <fweimer@redhat.com>
18716
18717 * nptl/Makefile (install-lib-ldscripts): Remove.
18718 (install): Remove rule.
18719 ($(inst_libdir)/libpthread.so): Likewise.
18720
a527f09c
MF
187212018-03-01 Mike FABIAN <mfabian@redhat.com>
18722
18723 [BZ #22896]
18724 * localedata/locales/an_ES: update month and day names,
18725 improve d_fmt, improve postal_fmt, add country_post,
18726 add country_isbn
18727
35d660b0
MF
187282018-03-01 Mike FABIAN <mfabian@redhat.com>
18729
18730 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18731 Ukrainian instead of Bulgarian.
18732
1a2f44a8
FW
187332018-03-01 Florian Weimer <fweimer@redhat.com>
18734
18735 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18736 reference.
18737
bd60ce86
FW
187382018-03-01 Florian Weimer <fweimer@redhat.com>
18739
18740 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18741 * nptl/Makefile (routines): Add pthread_atfork.
18742 (static-only-routines): Set to pthread_atfork.
18743 (libpthread-routines): Remove pthread_atfork.
18744 (libpthread-static-only-routines): Remove.
18745 (install): Update comment.
18746 (libpthread.so): Do not install libpthread_nonshared.a.
18747 (tests): Do not link with libpthread_nonshared.a.
18748 (generated): Remove libpthread_nonshared.a.
18749 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18750 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18751 with libpthread_nonshared.a.
18752
000f290f
JM
187532018-02-28 Joseph Myers <joseph@codesourcery.com>
18754
e2bcf6a8
JM
18755 [BZ #22902]
18756 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18757 (libc_feholdexcept_setroundf128): New macro.
18758 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18759
000f290f
JM
18760 [BZ #15105]
18761 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18762 libc_hidden_def.
18763 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18764 * include/inttypes.h: New file.
18765
02f2fead
JM
187662018-02-27 Joseph Myers <joseph@codesourcery.com>
18767
18768 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18769 -Os in two more places.
18770
874c56d7
MF
187712018-02-27 Mike FABIAN <mfabian@redhat.com>
18772
18773 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18774 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18775 be sorted correctly at the moment because of a bug.
18776
15973854
MF
187772018-02-27 Mike FABIAN <mfabian@redhat.com>
18778
18779 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18780 treat ñ as a primary different character, sync the collation
18781 for Spanish with CLDR.
18782 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18783 * localedata/Makefile: Add new test files.
18784 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18785 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18786 collation order.
18787 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18788 * localedata/am_ET.UTF-8.in: New test file.
18789 * localedata/az_AZ.UTF-8.in: Likewise.
18790 * localedata/be_BY.UTF-8.in: Likewise.
18791 * localedata/ber_DZ.UTF-8.in: Likewise.
18792 * localedata/ber_MA.UTF-8.in: Likewise.
18793 * localedata/bg_BG.UTF-8.in: Likewise.
18794 * localedata/br_FR.UTF-8.in: Likewise.
18795 * localedata/cmn_TW.UTF-8.in: Likewise.
18796 * localedata/crh_UA.UTF-8.in: Likewise.
18797 * localedata/csb_PL.UTF-8.in: Likewise.
18798 * localedata/cv_RU.UTF-8.in: Likewise.
18799 * localedata/cy_GB.UTF-8.in: Likewise.
18800 * localedata/dz_BT.UTF-8.in: Likewise.
18801 * localedata/eo.UTF-8.in: Likewise.
18802 * localedata/es_ES.UTF-8.in: Likewise.
18803 * localedata/fa_IR.UTF-8.in: Likewise.
18804 * localedata/fi_FI.UTF-8.in: Likewise.
18805 * localedata/fil_PH.UTF-8.in: Likewise.
18806 * localedata/fur_IT.UTF-8.in: Likewise.
18807 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18808 * localedata/ha_NG.UTF-8.in: Likewise.
18809 * localedata/ig_NG.UTF-8.in: Likewise.
18810 * localedata/ik_CA.UTF-8.in: Likewise.
18811 * localedata/kk_KZ.UTF-8.in: Likewise.
18812 * localedata/ku_TR.UTF-8.in: Likewise.
18813 * localedata/ky_KG.UTF-8.in: Likewise.
18814 * localedata/ln_CD.UTF-8.in: Likewise.
18815 * localedata/mi_NZ.UTF-8.in: Likewise.
18816 * localedata/ml_IN.UTF-8.in: Likewise.
18817 * localedata/mn_MN.UTF-8.in: Likewise.
18818 * localedata/mr_IN.UTF-8.in: Likewise.
18819 * localedata/mt_MT.UTF-8.in: Likewise.
18820 * localedata/nb_NO.UTF-8.in: Likewise.
18821 * localedata/om_KE.UTF-8.in: Likewise.
18822 * localedata/os_RU.UTF-8.in: Likewise.
18823 * localedata/ps_AF.UTF-8.in: Likewise.
18824 * localedata/ro_RO.UTF-8.in: Likewise.
18825 * localedata/ru_RU.UTF-8.in: Likewise.
18826 * localedata/sc_IT.UTF-8.in: Likewise.
18827 * localedata/se_NO.UTF-8.in: Likewise.
18828 * localedata/sq_AL.UTF-8.in: Likewise.
18829 * localedata/sv_SE.UTF-8.in: Likewise.
18830 * localedata/szl_PL.UTF-8.in: Likewise.
18831 * localedata/tg_TJ.UTF-8.in: Likewise.
18832 * localedata/tk_TM.UTF-8.in: Likewise.
18833 * localedata/tt_RU.UTF-8.in: Likewise.
18834 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18835 * localedata/ug_CN.UTF-8.in: Likewise.
18836 * localedata/uz_UZ.UTF-8.in: Likewise.
18837 * localedata/vi_VN.UTF-8.in: Likewise.
18838 * localedata/yi_US.UTF-8.in: Likewise.
18839 * localedata/yo_NG.UTF-8.in: Likewise.
18840 * localedata/zh_CN.UTF-8.in: Likewise.
18841 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18842 file and fix bugs in the collation.
18843 * localedata/locales/az_AZ: Likewise.
18844 * localedata/locales/be_BY: Likewise.
18845 * localedata/locales/ber_DZ: Likewise.
18846 * localedata/locales/ber_MA: Likewise.
18847 * localedata/locales/bg_BG: Likewise.
18848 * localedata/locales/br_FR: Likewise.
18849 * localedata/locales/br_FR@euro: Likewise.
18850 * localedata/locales/ca_ES: Likewise.
18851 * localedata/locales/cns11643_stroke: Likewise.
18852 * localedata/locales/crh_UA: Likewise.
18853 * localedata/locales/cs_CZ: Likewise.
18854 * localedata/locales/csb_PL: Likewise.
18855 * localedata/locales/cv_RU: Likewise.
18856 * localedata/locales/cy_GB: Likewise.
18857 * localedata/locales/da_DK: Likewise.
18858 * localedata/locales/dz_BT: Likewise.
18859 * localedata/locales/en_CA: Likewise.
18860 * localedata/locales/eo: Likewise.
18861 * localedata/locales/es_CU: Likewise.
18862 * localedata/locales/es_EC: Likewise.
18863 * localedata/locales/es_ES: Likewise.
18864 * localedata/locales/es_US: Likewise.
18865 * localedata/locales/et_EE: Likewise.
18866 * localedata/locales/fa_IR: Likewise.
18867 * localedata/locales/fi_FI: Likewise.
18868 * localedata/locales/fil_PH: Likewise.
18869 * localedata/locales/fur_IT: Likewise.
18870 * localedata/locales/gez_ER@abegede: Likewise.
18871 * localedata/locales/ha_NG: Likewise.
18872 * localedata/locales/hr_HR: Likewise.
18873 * localedata/locales/hsb_DE: Likewise.
18874 * localedata/locales/hu_HU: Likewise.
18875 * localedata/locales/ig_NG: Likewise.
18876 * localedata/locales/ik_CA: Likewise.
18877 * localedata/locales/is_IS: Likewise.
18878 * localedata/locales/iso14651_t1_pinyin: Likewise.
18879 * localedata/locales/kk_KZ: Likewise.
18880 * localedata/locales/ku_TR: Likewise.
18881 * localedata/locales/ky_KG: Likewise.
18882 * localedata/locales/ln_CD: Likewise.
18883 * localedata/locales/lt_LT: Likewise.
18884 * localedata/locales/lv_LV: Likewise.
18885 * localedata/locales/mi_NZ: Likewise.
18886 * localedata/locales/ml_IN: Likewise.
18887 * localedata/locales/mn_MN: Likewise.
18888 * localedata/locales/mr_IN: Likewise.
18889 * localedata/locales/mt_MT: Likewise.
18890 * localedata/locales/nb_NO: Likewise.
18891 * localedata/locales/om_KE: Likewise.
18892 * localedata/locales/os_RU: Likewise.
18893 * localedata/locales/pl_PL: Likewise.
18894 * localedata/locales/ps_AF: Likewise.
18895 * localedata/locales/ro_RO: Likewise.
18896 * localedata/locales/ru_RU: Likewise.
18897 * localedata/locales/ru_UA: Likewise.
18898 * localedata/locales/sc_IT: Likewise.
18899 * localedata/locales/se_NO: Likewise.
18900 * localedata/locales/si_LK: Likewise.
18901 * localedata/locales/sq_AL: Likewise.
18902 * localedata/locales/sv_FI: Likewise.
18903 * localedata/locales/sv_FI@euro: Likewise.
18904 * localedata/locales/sv_SE: Likewise.
18905 * localedata/locales/szl_PL: Likewise.
18906 * localedata/locales/tg_TJ: Likewise.
18907 * localedata/locales/ti_ER: Likewise.
18908 * localedata/locales/tk_TM: Likewise.
18909 * localedata/locales/tl_PH: Likewise.
18910 * localedata/locales/tr_TR: Likewise.
18911 * localedata/locales/tt_RU: Likewise.
18912 * localedata/locales/tt_RU@iqtelif: Likewise.
18913 * localedata/locales/ug_CN: Likewise.
18914 * localedata/locales/uk_UA: Likewise.
18915 * localedata/locales/uz_UZ: Likewise.
18916 * localedata/locales/uz_UZ@cyrillic: Likewise.
18917 * localedata/locales/vi_VN: Likewise.
18918 * localedata/locales/yi_US: Likewise.
18919 * localedata/locales/yo_NG: Likewise.
18920
ce6636b0
MF
189212018-02-27 Mike FABIAN <mfabian@redhat.com>
18922
18923 * gen-locales.mk: Make test files which contain @ modifiers in their
18924 name work.
18925 * localedata/gen-locale.sh: Likewise.
18926
ac3a3b4b
MF
189272018-02-27 Mike FABIAN <mfabian@redhat.com>
18928
18929 * posix/tst-fnmatch.input: Fix results for range expressions
18930 for non C locales.
18931 * posix/tst-regexloc.c: Do not use a range expression for
18932 de_DE.ISO-8859-1 locale.
18933
770cbe14
MF
189342018-02-27 Mike FABIAN <mfabian@redhat.com>
18935
18936 * posix/bug-regex5.c: Fix test case because with the new
18937 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18938 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18939 file.
18940
0fc355d9
MF
189412018-02-27 Mike FABIAN <mfabian@redhat.com>
18942
18943 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18944 downloaded from ISO, the collation order of @-. and space has changed.
18945 Therefore, this test file needed to be adapted.
18946 * localedata/fr_CA.UTF-8.in: Likewise.
18947 * localedata/fr_FR.UTF-8.in: Likewise.
18948 * localedata/uk_UA.UTF-8.in: Likewise.
18949
43f3893f
MF
189502018-02-27 Mike FABIAN <mfabian@redhat.com>
18951
18952 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18953 order of ȥ in the new iso14651_t1_common file.
18954 * localedata/pl_PL.UTF-8.in: Likewise.
18955
df74ef78
MF
189562018-02-27 Mike FABIAN <mfabian@redhat.com>
18957
18958 * localedata/locales/iso14651_t1_common: Add sections for various
18959 scripts to the iso14651_t1_common file.
18960
d5adfbad
MF
189612018-02-27 Mike FABIAN <mfabian@redhat.com>
18962
18963 * localedata/locales/iso14651_t1_common: Use the code point of a
18964 character in the fourth collation level instead of IGNORE for all
18965 entries which have IGNORE on all 4 levels.
18966
5f5a9610
MF
189672018-02-27 Mike FABIAN <mfabian@redhat.com>
18968
18969 * localedata/locales/iso14651_t1_common: Add some convenient collation
18970 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18971 rules similar to those in CLDR.
18972
8a97e900
MF
189732018-02-27 Mike FABIAN <mfabian@redhat.com>
18974
18975 * localedata/locales/iso14651_t1_common: The new version of this
18976 file downloaded from ISO contained several syntax errors which
18977 are fixed by this patch.
18978
bbdd2fba
MF
189792018-02-27 Mike FABIAN <mfabian@redhat.com>
18980
18981 * localedata/locales/iso14651_t1_common: replace all <U.....>
18982 with <U000.....> because glibc understands only 4 digit or 8 digit
18983
1569e551
MF
189842018-02-27 Mike FABIAN <mfabian@redhat.com>
18985
18986 * localedata/locales/iso14651_t1_common: Necessary changes
18987 to make the file downloaded from ISO usable by glibc.
18988
9479b6d5
MF
189892018-02-27 Mike FABIAN <mfabian@redhat.com>
18990
18991 [BZ #14095]
18992 * localedata/locales/iso14651_t1_common: Update file to
18993 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18994
03b540b3
ST
189952018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18996
18997 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18998 of <nptl/pthreadP.h>
18999 (thread_attr_compare): Move function to...
eb937a52 19000 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 19001 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 19002 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 19003
20602c72
JM
190042018-02-26 Joseph Myers <joseph@codesourcery.com>
19005
f54d8f73
JM
19006 * string/strcoll_l.c: Include <libc-diag.h>.
19007 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
19008 declarations of seq1 and seq2.
19009
20602c72
JM
19010 [BZ #15105]
19011 * stdlib/atoi.c (atoi): Use libc_hidden_def.
19012 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19013
f5f473a9
DL
190142018-02-26 Dmitry V. Levin <ldv@altlinux.org>
19015
19016 [BZ #22433]
19017 [BZ #22807]
19018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
19019 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
19020 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
19021 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
19022 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
19023 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
19024
398c6fdd
TMQMF
190252018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19026
19027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19028 macros used in __ptrace_request.
19029
f5d1f629
L
190302018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 [BZ #22792]
19033 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19034 to $(CC).
19035 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19036 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19037 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19038 <tcb-offsets.h>.
19039
54412d20
JM
190402018-02-23 Joseph Myers <joseph@codesourcery.com>
19041
19042 [BZ #15105]
19043 * ctype/ctype.c (tolower): Use libc_hidden_def.
19044 (toupper): Likewise.
19045 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19046 [!_ISOMAC] (toupper): Likewise.
19047
81be4b5e
MF
190482018-02-23 Mike FABIAN <mfabian@redhat.com>
19049
19050 * localedata/Makefile: Remove --quiet argument when
19051 installing locales
19052
9d5cfd8e
MF
190532018-02-23 Mike FABIAN <mfabian@redhat.com>
19054
19055 [BZ #17438]
19056 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19057 in d_fmt.
19058 * localedata/locales/pt_PT (LC_TIME): likewise
19059
6c7269f3
MF
190602018-02-23 Mike FABIAN <mfabian@redhat.com>
19061
19062 [BZ #22646]
19063 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19064 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19065 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19066
92aabad9
AZ
190672018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19068
4cdc25a4
AZ
19069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19070
27761a10
AZ
19071 * nptl/Makefile (routines): Remove unregister-atfork.
19072 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19073 (fork_handler_alloc): Remove function.
19074 (fork_handlers, fork_handler_init): New variables.
19075 (__fork_lock): Rename to atfork_lock.
19076 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19077 to use a dynamic array to add/remove atfork handlers.
19078 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19079 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19080 Remove declaration.
19081 (fork_handler): Remove next, refcntr, and need_signal member.
19082 (__run_fork_handler_type): New enum.
19083 (__run_fork_handlers): New prototype.
19084 * nptl/register-atfork.c: Remove file.
19085 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19086
92aabad9
AZ
19087 * sysdeps/nptl/nptl-signals.h: Move to ...
19088 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19089 comments.
19090 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19091 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19092 unnecessary check for SIGTIMER.
19093 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19094 remove unnecessary removal of SIGTIMER.
19095 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19096 include-signals.h rename.
19097 * nptl/pthreadP.h: Likewise.
19098 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19099 __is_internal_signal instead of __nptl_is_internal_signal.
19100
6b5c8607 191012018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 19102
7e04eb29 19103 [BZ # 22884]
fdcc6253
AW
19104 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19105 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19106 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19107 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19108
8090720a
DD
191092018-02-22 DJ Delorie <dj@delorie.com>
19110
19111 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19112
6ca24c43
SP
191132018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19114
19115 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19116 do_misaligned, not misaligned8.
19117
e9537ddd
SE
191182018-02-22 Steve Ellcey <sellcey@cavium.com>
19119
19120 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19121 Add memcpy_thunderx2.
19122 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19123 Increment to 4.
19124 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19125 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19126 and IS_THUNDERX2PA checks.
19127 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19128 Use macro to set name appropriately.
19129 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19130 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19131 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19132 New macro.
19133 (IS_THUNDERX2): New macro.
19134
6e336476
SL
191352018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19136
19137 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19138
34957904
ZW
191392018-02-21 Zack Weinberg <zackw@panix.com>
19140
30bfee26
ZW
19141 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19142 Define here, unconditionally.
19143 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19144 * libio/libioP.h: Remove #if 0 blocks.
19145 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19146 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19147 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19148
19149 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19150 Assume weak_alias is always defined.
19151
19152 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19153 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19154 Remove #if 0 and #ifdef TODO blocks.
19155 Assume text_set_element is always defined.
19156
19157 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19158 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19159 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19160
df6c012b
ZW
19161 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19162 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19163 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19164 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19165 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19166 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19167 Reformat bit flags for _flags field to make occupancy clearer.
19168 Update commentary.
19169 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19170 Keep definitions consistent with those in libio/libio.h.
19171
19172 * libio/libio.h (_IO_file_flags): Remove macro.
19173 All uses changed to _flags.
19174
177aad3f
ZW
19175 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19176 (__HAVE_COLUMN, _IO_BE): Don't define.
19177 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19178 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19179 * libio/libioP.h (EOF): Don't define.
19180 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19181 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19182 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19183 testing _IO_UNIFIED_JUMPTABLES.
19184
9964a145
ZW
19185 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19186 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19187 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19188 (_IO_size_t): Delete; all uses changed to size_t.
19189 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19190 (_IO_off_t): Delete; all uses changed to off_t.
19191 (_IO_off64_t): Delete; all uses changed to off64_t.
19192 (_IO_pid_t): Delete; all uses changed to pid_t.
19193 (_IO_uid_t): Delete; all uses changed to uid_t.
19194 (_IO_wint_t): Delete; all uses changed to wint_t.
19195 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19196 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19197 (_IO_cookie_io_functions_t): Delete; all uses changed to
19198 cookie_io_functions_t.
19199 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19200 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19201 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19202 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19203
19204 * libio/iofopncook.c: Remove unnecessary forward declarations.
19205 * libio/iolibio.h: Correct outdated commentary.
19206 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19207 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19208 Remove unnecessary casts.
19209 * stdio-common/getline.c: Use _IO_getdelim directly.
19210 Don't redefine ssize_t.
19211 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19212 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19213 Remove outdated comments.
19214 * stdio-common/vfscanf.c: Don't redefine va_list.
19215
34957904
ZW
19216 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19217 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19218 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19219 which are always true, and __cplusplus, which is always false.
19220
30ac923d
JM
192212018-02-21 Joseph Myers <joseph@codesourcery.com>
19222
039c721a
JM
19223 [BZ #15105]
19224 [BZ #19463]
19225 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19226 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19227 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19228 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19229 libc_hidden_proto.
19230 [!_ISOMAC] (putc_unlocked): Likewise.
19231 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19232 define inline if [__USE_EXTERN_INLINES].
19233 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19234 putc_unlocked.
19235
30ac923d
JM
19236 [BZ #15105]
19237 [BZ #19463]
19238 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19239 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19240 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19241 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19242 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19243 getc_unlocked.
19244 * time/tzfile.c (__tzfile_read): Likewise.
19245
7ec5f946
MF
192462018-02-21 Mike FABIAN <mfabian@redhat.com>
19247
19248 [BZ #22517]
19249 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19250
0d217f40
RJ
192512018-02-21 Rical Jasan <ricaljasan@pacific.net>
19252
19253 * io/fcntl.h: Fix a typo in a comment.
19254
862b4502
RJ
192552018-02-21 Rical Jasan <ricaljasan@pacific.net>
19256
19257 [BZ #22862]
19258 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19259 define _DEFAULT_SOURCE.
19260 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19261
999a6dab
FW
192622018-02-21 Florian Weimer <fweimer@redhat.com>
19263
19264 [BZ #20890]
19265 * elf/cache.c (save_cache): Call fsync on temporary file before
19266 renaming it.
19267 (save_aux_cache): Call fdatasync on temporary file before renaming
19268 it.
19269
52a01100
FW
192702018-02-21 Florian Weimer <fweimer@redhat.com>
19271
19272 [BZ #22787]
19273 * include/caller.h: Remove file.
19274 * elf/dl-caller.c: Likewise.
19275 * elf/Makefile (dl-routines): Remove dl-caller.
19276 (shared-only-routines): Do not add dl-caller.
19277 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19278 __check_caller.
19279 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19280 member.
19281 (dl_open_worker): Do not call __check_caller.
19282 (_dl_open): Do not set caller_dl_open member.
19283 * elf/rtld.c (_rtld_global_ro): Do not initialize
19284 _dl_check_caller member.
19285 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19286 _dl_check_caller member.
19287 (_dl_check_caller): Remove declaration.
19288 * sysdeps/unix/sysv/linux/dl-execstack.c
19289 (_dl_make_stack_executable): Do not call __check_caller.
19290
b5bf62e4
ST
192912018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19292
19293 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 19294 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 19295
e8d190b9
RJ
192962018-02-20 Rical Jasan <ricaljasan@pacific.net>
19297
19298 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19299 description.
19300
6a3962c4
RJ
193012018-02-20 Rical Jasan <ricaljasan@pacific.net>
19302
da81ae64 19303 [BZ #16335]
6a3962c4
RJ
19304 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19305 of 199606L, 200112L, and 200809L.
19306 (_XOPEN_SOURCE): Document special values of 600 and 700.
19307 (_ISOC11_SOURCE): Document macro.
19308 (_ATFILE_SOURCE): Likewise.
19309 (_FORTIFY_SOURCE): Likewise.
19310
ec481ad8
JM
193112018-02-19 Joseph Myers <joseph@codesourcery.com>
19312
19313 [BZ #15105]
19314 [BZ #19463]
19315 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19316 and define as weak alias of __ferror_unlocked. Use
19317 libc_hidden_weak.
19318 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19319 libc_hidden_proto.
19320 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19321 function if [__USE_EXTERN_INLINES].
19322 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19323 ferror_unlocked.
19324
7d15ef84
RJ
193252018-02-19 Rical Jasan <ricaljasan@pacific.net>
19326
19327 [BZ #6889]
19328 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19329
f8d79582
AJ
193302018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19331
19332 [BZ #22818]
19333 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19334 the GLIBC_2.1 version.
19335
56456a2a
AJ
193362018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19337
19338 [BZ #21508]
19339 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19340 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19341 intl/tst-gettext-de.po from po/de.po by removing the
19342 POT-Creation-Date line.
19343 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19344 ../po/de.po.
19345 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19346 ../po/de.po.
19347
13768813
ST
193482018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19349
19350 * mach/Makefile (headers): Add mach/param.h.
19351 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19352 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
19353 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19354 (__ptsname_r): Move implementation to...
19355 (__ptsname_internal): ... new function. Add filling the STP
19356 structure.
13768813 19357
6aca1b61
JDA
193582018-02-17 John David Anglin <danglin@gcc.gnu.org>
19359
19360 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19361 idouble to 1 ULP.
19362
16efad51
RJ
193632018-02-16 Rical Jasan <ricaljasan@pacific.net>
19364
19365 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19366 syntax.
19367
87245073
SL
193682018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19369
19370 * nptl/Makefile (tst-mutex8-ENV): Delete.
19371 * nptl/tst-mutex8.c (check_type):
19372 Add runtime check if mutex will be elided.
19373
7fc03cf3
JM
193742018-02-15 Joseph Myers <joseph@codesourcery.com>
19375
db9881ec
JM
19376 [BZ #20980]
19377 [BZ #21234]
19378 * manual/install.texi (Configuring and compiling): Describe
19379 passing CC and CFLAGS on configure command line, not as
19380 environment variables. Use @code markup on those variables.
19381 Specify what options go in CC and what go in CFLAGS. Note the
19382 requirement to compile with optimization.
19383 * INSTALL: Regenerated.
19384
3785b31c
JM
19385 [BZ #18124]
19386 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19387 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19388 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19389 __sigprocmask instead of sigprocmask.
19390 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19391 Likewise.
19392 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19393 __sigsetjmp and sigprocmask.
19394
055ac2a7
JM
19395 [BZ #15105]
19396 * include/argz.h (argz_next): Use libc_hidden_proto.
19397 (__argz_next): Likewise.
19398 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19399 (argz_next): Use libc_hidden_weak.
19400
e4452a2d
JM
19401 [BZ #15105]
19402 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19403 libc_hidden_proto.
19404 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19405 libc_hidden_def.
19406
499b3153
JM
19407 [BZ #15105]
19408 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19409 libc_hidden_proto.
19410 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19411
7fc03cf3
JM
19412 [BZ #15105]
19413 [BZ #19463]
19414 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19415 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19416 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19417 (__feof_unlocked): New declaration, and inline function if
19418 [__USE_EXTERN_INLINES].
19419 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19420 instead of feof_unlocked.
19421 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19422 * nss/nsswitch.c (nss_parse_file): Likewise.
19423 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19424 Likewise.
19425 * time/getdate.c (__getdate_r): Likewise.
19426 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19427 Define as macro to call __feof_unlocked.
19428
0c8a67a5
WD
194292018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19430
19431 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19432
610ee1fc
WD
194332018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19434
19435 * math/Makefile: Remove mpexp.c and mplog.c
19436 * sysdeps/i386/fpu/mpexp.c: Delete file.
19437 * sysdeps/i386/fpu/mplog.c: Likewise.
19438 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19439 * sysdeps/ia64/fpu/mplog.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19441 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19442 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19443 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19444 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19445 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19446 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19447 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19448 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19449 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19450 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19451 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19452 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19453 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19454 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19455 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19456
8e7196c8
SL
194572018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19458
19459 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19460
4f55ad0b
AZ
194612018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19462
19463 * sysdeps/sh/libm-test-ulps: Update.
19464
261a851c
TMQMF
194652018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19466
19467 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19468 idouble to 1 ULP.
19469
e16deca6
ZW
194702018-02-12 Zack Weinberg <zackw@panix.com>
19471
19472 [BZ #19239]
19473 * posix/sys/types.h: Don't include sys/sysmacros.h.
19474 * misc/sys/sysmacros.h: Remove the conditional deprecation
19475 warnings for the macros defined by this header.
19476
de800d83
SN
194772018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19478
19479 * manual/probes.texi: Remove slowexp probes.
19480 * math/Makefile: Remove slowexp.
19481 * sysdeps/generic/math_private.h (__slowexp): Remove.
19482 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19483 document error bounds.
19484 * sysdeps/i386/fpu/slowexp.c: Remove.
19485 * sysdeps/ia64/fpu/slowexp.c: Remove.
19486 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19487 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19488 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19489 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19490 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19491 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19494 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19497
c3d466cb
WD
194982018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19499
19500 [BZ #13932]
19501 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19502 * benchtests/pow-inputs: Update comment for slow path cases.
19503 * manual/probes.texi (slowpow_p10): Delete removed probe.
19504 (slowpow_p10): Likewise.
19505 * math/Makefile: Remove halfulp.c and slowpow.c.
19506 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19507 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19508 (__halfulp): Remove.
19509 (__slowpow): Remove.
19510 * sysdeps/i386/fpu/halfulp.c: Delete file.
19511 * sysdeps/i386/fpu/slowpow.c: Likewise.
19512 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19513 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19515 improve comments and add error analysis.
19516 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19517 (power1): Remove function:
19518 (log1): Remove error argument, add error analysis.
19519 (my_log2): Remove function.
19520 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19522 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19523 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19524 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19525 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19526 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19527 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19528 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19529 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19530 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19531 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19532 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19533 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19534
7bb087bd
ST
195352018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19536
19537 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19538 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19539
2fd4bbaa
DL
195402018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19541
19542 [BZ #22433]
19543 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19544 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19545 and PTRACE_SETHBPREGS.
19546
402ecba4
ZW
195472018-02-10 Zack Weinberg <zackw@panix.com>
19548
19549 [BZ #22830]
19550 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19551 correctly.
19552 * malloc/tst-malloc-stats-cancellation.c: New test case.
19553 * malloc/Makefile: Add new test case.
19554
4f5b921e
WD
195552018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19556
19557 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19558
a85b70db
JM
195592018-02-10 Joseph Myers <joseph@codesourcery.com>
19560
d8742dd8
JM
19561 * math/Makefile (libm-narrow-fns): Add add.
19562 (libm-test-funcs-narrow): Likewise.
19563 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19564 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19565 * math/gen-auto-libm-tests.c (test_functions): Add add.
19566 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19567 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19568 (NARROW_ADD_TRIVIAL): Likewise.
19569 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19570 macro.
19571 (__daddl): Likewise.
19572 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19573 dadd.
19574 (CFLAGS-nldbl-dadd.c): New variable.
19575 (CFLAGS-nldbl-fadd.c): Likewise.
19576 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19577 __nldbl_daddl.
19578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19579 prototype.
19580 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19581 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19582 * math/auto-libm-test-in: Add tests of add.
19583 * math/auto-libm-test-out-narrow-add: New generated file.
19584 * math/libm-test-narrow-add.inc: New file.
19585 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19588 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19589 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19590 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19599 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19600 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19601 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19602 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19604 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19605 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19607 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19608 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19609 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19611 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19614 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19621 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19622 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19623 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19624 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19625 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19626 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19627 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19628 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19629 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19630 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19631
a85b70db
JM
19632 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19633 (f128-pairs): New variable.
19634 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19635 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19636 to CFLAGS.
19637 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19638 Also make tests add $(f128-loader-link) to gnulib-tests.
19639
6a1ff640
DD
196402018-02-09 DJ Delorie <dj@redhat.com>
19641
19642 [BZ #22827]
19643 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19644 64-bit ELF type for 64-bit ELF objects.
19645
bfd47587
JM
196462018-02-09 Joseph Myers <joseph@codesourcery.com>
19647
31958338
JM
19648 * math/libm-test-driver.c (snan_tests_arg): New variable.
19649 * math/libm-test-support.h (snan_tests_arg): New declaration.
19650 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19651
8e554659
JM
19652 * math/Makefile (test-type-pairs): New variable.
19653 (test-type-pairs-f64xf128-yes): Likewise.
19654 (tests): Add test-narrow-macros.
19655 (libm-test-funcs-narrow): New variable.
19656 (libm-test-c-narrow): Likewise.
19657 (generated): Add $(libm-test-c-narrow).
19658 (libm-tests-base-narrow): New variable.
19659 (libm-tests-narrow): Likewise.
19660 (libm-tests): Add $(libm-tests-narrow).
19661 (libm-tests-for-type): Handle $(libm-tests-narrow).
19662 (libm-test-c-narrow-obj): New variable.
19663 ($(libm-test-c-narrow-obj)): New rule.
19664 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19665 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19666 $(o-iterator) to set dependencies and CFLAGS.
19667 * math/gen-auto-libm-tests.c: Document use for narrowing
19668 functions.
19669 (output_for_one_input_case): Take argument NARROW.
19670 (generate_output): Likewise. Update call to
19671 output_for_one_input_case.
19672 (main): Take --narrow option. Update call to generate_output.
19673 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19674 (apply_lit): Update call to _apply_lit.
19675 (apply_arglit): New function.
19676 (parse_args): Handle "a" arguments.
19677 (parse_auto_input): Handle format names using ":".
19678 * math/README.libm-test: Document "a" parameter type.
19679 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19680 (ARG_TYPE_TRUE_MIN): Likewise.
19681 (ARG_TYPE_MAX): Likwise.
19682 (ARG_MIN_EXP): Likewise.
19683 (ARG_MAX_EXP): Likewise.
19684 (ARG_MANT_DIG): Likewise.
19685 (TEST_COND_arg_ibm128): Likewise.
19686 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19687 (TEST_COND_arg_fmt): New macro.
19688 (init_max_error): Update prototype.
19689 * math/libm-test-support.c (test_ibm128): New variable.
19690 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19691 instead of using [TEST_COND_ibm128] conditional.
19692 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19693 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19694 [TEST_NARROW] (TEST_MSG): New definition.
19695 (arg_plus_zero): New macro.
19696 (arg_minus_zero): Likewise.
19697 (arg_plus_infty): Likewise.
19698 (arg_minus_infty): Likewise.
19699 (arg_qnan_value_pl): Likewise.
19700 (arg_qnan_value): Likewise.
19701 (arg_snan_value_pl): Likewise.
19702 (arg_snan_value): Likewise.
19703 (arg_max_value): Likewise.
19704 (arg_min_value): Likewise.
19705 (arg_min_subnorm_value): Likewise.
19706 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19707 (RUN_TEST_LOOP_aa_f): New macro.
19708 (TEST_SUFF): New macro.
19709 (TEST_SUFF_STR): Likewise.
19710 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19711 (TEST_COND_any_ibm128): New macro.
19712 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19713 this_func. Update call to init_max_error.
19714 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19715 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19716 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19717 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19718 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19719 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19720 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19721 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19722 * math/test-math-vector.h (TEST_NARROW): Likewise.
19723 * math/test-arg-double.h: New file.
19724 * math/test-arg-float128.h: Likewise.
19725 * math/test-arg-float32x.h: Likewise.
19726 * math/test-arg-float64.h: Likewise.
19727 * math/test-arg-float64x.h: Likewise.
19728 * math/test-arg-ldouble.h: Likewise.
19729 * math/test-math-narrow.h: Likewise.
19730 * math/test-narrow-macros.c: Likewise.
19731 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19732 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19733 test-narrow-macros-ldbl-64.
19734 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19735
63716ab2
JM
19736 * math/bits/mathcalls-narrow.h: New file.
19737 * include/bits/mathcalls-narrow.h: Likewise.
19738 * math/math-narrow.h: Likewise.
19739 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19740 (__MATHCALL_NARROW_ARGS_2): Likewise.
19741 (__MATHCALL_NARROW_ARGS_3): Likewise.
19742 (__MATHCALL_NARROW_NORMAL): Likewise.
19743 (__MATHCALL_NARROW_REDIR): Likewise.
19744 (__MATHCALL_NARROW): Likewise.
19745 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19746 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19747 defined.
19748 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19749 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19750 (libm-narrow-fns): New variable.
19751 (libm-narrow-types-basic): Likewise.
19752 (libm-narrow-types-ldouble-yes): Likewise.
19753 (libm-narrow-types-float128-yes): Likewise.
19754 (libm-narrow-types-float128-alias-yes): Likewise.
19755 (libm-narrow-types): Likewise.
19756 (libm-routines): Add narrowing functions.
19757 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19758 (libc_feholdexcept_setroundf128): New macro.
19759 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19760 * sysdeps/ieee754/float128/float128_private.h: Include
19761 <math/math-narrow.h>.
19762 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19763 Undefine and redefine.
19764 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19765 (libm_alias_float_ldouble): Undefine and redefine.
19766 (libm_alias_double_ldouble): Likewise.
19767
bfd47587
JM
19768 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19769
3f8d9d58
WD
197702018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19771
19772 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19773 FPCR/FPSR.
19774
1f6676d7
RJ
197752018-02-09 Rical Jasan <ricaljasan@pacific.net>
19776
19777 * manual/creature.texi: Convert references to gcc.info to gcc.
19778 * manual/stdio.texi: Likewise.
19779 * manual/string.texi: Likewise.
19780
d80441dd
JM
197812018-02-07 Joseph Myers <joseph@codesourcery.com>
19782
15081be9
JM
19783 [BZ #17979]
19784 * posix/bits/types.h (__int_least8_t): New typedef.
19785 (__uint_least8_t): Likewise.
19786 (__int_least16_t): Likewise.
19787 (__uint_least16_t): Likewise.
19788 (__int_least32_t): Likewise.
19789 (__uint_least32_t): Likewise.
19790 (__int_least64_t): Likewise.
19791 (__uint_least64_t): Likewise.
19792 * sysdeps/generic/stdint.h (int_least8_t): Define using
19793 __int_least8_t.
19794 (int_least16_t): Define using __int_least16_t.
19795 (int_least32_t): Define using __int_least32_t.
19796 (int_least64_t): Define using __int_least64_t.
19797 (uint_least8_t): Define using __uint_least8_t.
19798 (uint_least16_t): Define using __uint_least16_t.
19799 (uint_least32_t): Define using __uint_least32_t.
19800 (uint_least64_t): Define using __uint_least64_t.
19801 * wcsmbs/uchar.h: Include <bits/types.h>.
19802 (char16_t): Define using __uint_least16_t conditional only on
19803 [!__USE_ISOCXX11].
19804 (char32_t): Define using __uint_least32_t conditional only on
19805 [!__USE_ISOCXX11].
19806 * wcsmbs/test-char-types.c: New file.
19807 * wcsmbs/Makefile (tests): Add test-char-types.
19808
d80441dd
JM
19809 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19810 version to 4.0.1.
19811
6c6c962a
ZW
198122018-02-07 Zack Weinberg <zackw@panix.com>
19813
63fb8f9a
ZW
19814 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19815 Delete all contents except for definitions of _G_HAVE_MMAP and
19816 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19817 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19818 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19819 change as above.
19820
19821 * libio/libio.h: Don't include bits/_G_config.h here.
19822 Include stddef.h with __need_wchar_t defined. Include
19823 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19824 Define _IO_iconv_t here, directly.
19825 Don't define _IO_HAVE_ST_BLKSIZE.
19826 * libio/libioP.h: Include _G_config.h here. Move include of
19827 shlib-compat.h up with rest of includes. Simplify conditionals
19828 controlling definition of _IO_JUMPS_OFFSET.
19829
19830 * csu/init.c: Remove always-true #if around entire file.
19831 Don't include stdio.h. Set _IO_stdin_used to hardwired
19832 constant 0x20001, and update commentary.
19833 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19834 Replace all uses of _G_va_list with __gnuc_va_list.
19835 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19836 instead of #if _IO_HAVE_ST_BLKSIZE.
19837 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19838 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19839 not #ifdef.
19840
6c6c962a
ZW
19841 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19842 multiple-include guard to match.
19843 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19844 into this file.
19845 Remove preprocessor conditionals that are always true and/or
19846 redundant to other preprocessor conditionals in the same nest.
19847 Include shlib-compat.h unconditionally.
19848 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19849 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19850 defined after including stdio.h.
19851 Use __BEGIN_DECLS/__END_DECLS.
19852
19853 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19854 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19855 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19856
a4fea3f2
ZW
198572018-02-07 Zack Weinberg <zackw@panix.com>
19858
19859 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19860 New single-type headers split from _G_config.h.
19861 * libio/bits/types/cookie_io_functions_t.h
19862 * libio/bits/types/struct_FILE.h
19863 New single-type headers split from libio.h.
19864
19865 * libio/Makefile: Install the above new headers. Don't install
19866 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19867 bits/libio-ldbl.h.
19868 * libio/_G_config.h, libio/libio.h: Delete file.
19869
19870 * libio/bits/libio.h: Remove improper-inclusion guard.
19871 Include stdio.h and don't repeat anything that it does.
19872 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19873 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19874 __io_read_fn as cookie_read_function_t,
19875 __io_write_fn as cookie_write_function_t,
19876 __io_seek_fn as cookie_seek_function_t,
19877 __io_close_fn as cookie_close_function_t,
19878 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19879 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19880 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 19881 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
19882 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19883 and _IO_ferror_unlocked.
19884 Move prototypes of __uflow and __overflow...
19885
19886 * libio/stdio.h: ...here. Don't include bits/libio.h.
19887 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 19888 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
19889 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19890 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19891 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19892 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19893 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19894 __ssize_t, not _IO_ssize_t. Unconditionally define
19895 BUFSIZ as 8192 and EOF as (-1).
19896
19897 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19898 macros from bits/types/struct_FILE.h instead of _IO_* macros
19899 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19900 instead of _IO_ssize_t.
19901 * libio/bits/stdio2.h: Similarly.
19902
19903 * libio/iolibio.h: Add multiple-include guard.
19904 Include bits/libio.h after stdio.h.
19905 * libio/libioP.h: Add multiple-include guard.
19906 Include stdio.h and bits/libio.h before iolibio.h.
19907
6c6c962a 19908 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
19909 * include/bits/types/cookie_io_functions_t.h
19910 * include/bits/types/struct_FILE.h: New wrappers.
19911
19912 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
19913 Get definitions of _G_fpos_t and _G_fpos64_t from
19914 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19915 respectively. Remove improper-inclusion guards.
a4fea3f2 19916
6c6c962a 19917 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 19918 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 19919 libio.h and _G_config.h.
a4fea3f2 19920
ce999220
JM
199212018-02-07 Joseph Myers <joseph@codesourcery.com>
19922
8b4a1182
JM
19923 [BZ #15105]
19924 [BZ #19463]
19925 * include/sys/sysmacros.h [!_ISOMAC]
19926 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19927 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19928 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19929 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19930 libc_hidden_proto.
19931 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19932 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19933 Likewise.
19934 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19935 Undefine and redefine to add use __gnu_dev_ prefix.
19936 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19937 Likewise.
19938 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19939 and define as hidden inline function.
19940 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19941 Likewise.
19942 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19943 Likewise.
19944 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19945 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19946 (gnu_dev_minor): Likewise.
19947 (gnu_dev_makedev): Likewise.
19948 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19949 makedev.
19950 * posix/wordexp.c (exec_comm_child): Likewise.
19951 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19952 instead of minor and __gnu_dev_major instead of major.
19953 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19954 __gnu_dev_major instead of major.
19955 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19956 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19957 instead of gnu_dev_minor.
19958 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19959 (SLAVE_P): Likewise.
19960 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19961 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19962 instead of major.
19963
ce999220
JM
19964 [BZ #21313]
19965 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19966 in another place.
19967 * locale/weightwc.h (findidx): Likewise.
19968
b7c83ca3
WD
199692018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19970
19971 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19972 (slowlog_inexact): Likewise
19973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19974 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19975
388ff7bd
IG
199762018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19977
19978 [BZ #22797]
19979 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19980 missing second underscore to parameter name.
19981
663e7d78
JM
199822018-02-06 Joseph Myers <joseph@codesourcery.com>
19983
0d40d0ec
JM
19984 [BZ #14508]
19985 [BZ #15512]
19986 [BZ #17082]
19987 [BZ #20530]
19988 * bits/byteswap.h: Update file comment. Do not include
19989 <bits/byteswap-16.h>.
19990 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19991 constant.
19992 (__bswap_16): Define as inline function.
19993 (__bswap_constant_32): Reformat definition.
19994 (__bswap_32): Always define as inline function, not macro, using
19995 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19996 otherwise __bswap_constant_32.
19997 (__bswap_constant_64): Reformat definition. Do not use
19998 __extension__ here.
19999 (__bswap_64): Always define as inline function, not macro. Use
20000 __extension__ on function definition. Use __builtin_bswap64 if
20001 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
20002 * string/test-endian-file-scope.c: New file.
20003 * string/test-endian-sign-conversion.c: Likewise.
20004 * string/Makefile (headers): Remove bits/byteswap-16.h.
20005 (tests): Add test-endian-file-scope and
20006 test-endian-sign-conversion.
20007 (CFLAGS-test-endian-sign-conversion.c): New variable.
20008 * bits/byteswap-16.h: Remove file.
20009 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
20010 * sysdeps/ia64/bits/byteswap.h: Likewise.
20011 * sysdeps/m68k/bits/byteswap.h: Likewise.
20012 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20013 * sysdeps/s390/bits/byteswap.h: Likewise.
20014 * sysdeps/tile/bits/byteswap.h: Likewise.
20015 * sysdeps/x86/bits/byteswap-16.h: Likewise.
20016 * sysdeps/x86/bits/byteswap.h: Likewise.
20017
383e87c9
JM
20018 [BZ #17721]
20019 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
20020 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
20021 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
20022 199901L] (__restrict): Define to restrict.
20023
d92c2759
JM
20024 [BZ #19667]
20025 * string/testcopy.c: Include <support/support.h>. Do not include
20026 <malloc.h>. Use <support/test-driver.c>.
20027 (main): Rename to do_test. Make static. Use xmalloc instead of
20028 malloc.
20029
625fb764
JM
20030 [BZ #13575]
20031 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20032 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20033 (SSIZE_MAX): Define to INT_MAX.
20034 * posix/test-ssize-max.c: New file.
20035 * posix/Makefile (tests): Add test-ssize-max.
20036
02325d6c
JM
20037 [BZ #19668]
20038 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20039 <support/support.h>. Do not include <malloc.h>.
20040 (query_auxv): Use xmalloc instead of malloc.
20041
663e7d78
JM
20042 [BZ #14553]
20043 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20044 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20045 instead of loff_t.
20046
6b5c8607 200472018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
20048
20049 [BZ #18023]
20050 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20051 Use scratch_buffer instead of extend_alloca.
20052
de6da571
ZW
200532018-02-06 Zack Weinberg <zackw@panix.com>
20054
26c07172
ZW
20055 * libio/stdio.h: Don't define getc or putc as macros.
20056 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20057 not _IO_getc and _IO_putc.
20058
de6da571
ZW
20059 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20060 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20061
92669d6e
JM
200622018-02-06 Joseph Myers <joseph@codesourcery.com>
20063
c2b84df9
JM
20064 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20065 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20066
41376f8c
JM
20067 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20068
d28bf648
JM
20069 [BZ #14890]
20070 * elf/elf.h (NT_PRFPREG): New macro.
20071 (NT_S390_VXRS_LOW): Likewise.
20072 (NT_S390_VXRS_HIGH): Likewise.
20073 (NT_S390_GS_CB): Likewise.
20074 (NT_S390_GS_BC): Likewise.
20075 (NT_S390_RI_CB): Likewise.
20076
e76def72
JM
20077 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20078 (MAP_SYNC): New macro.
20079 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20080 Likewise.
20081 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20082 (MAP_SYNC): Likewise.
20083 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20084 (MAP_SYNC): Likewise.
20085 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20086 (MAP_SYNC): Likewise.
20087 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20088 (MAP_SYNC): Likewise.
20089 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20090 (MAP_SYNC): Likewise.
20091 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20092 (MAP_SYNC): Likewise.
20093 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20094 Likewise.
20095 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20096 Likewise.
20097
92669d6e
JM
20098 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20099 (MAP_SHARED_VALIDATE): New macro.
20100 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20101 (MAP_SHARED_VALIDATE): Likewise.
20102
6a5cac49
L
201032018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20104
20105 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20106 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20107 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20108
b44e0dfb
L
201092018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20110
20111 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20112 (DT_NUM): Updated to 35.
20113
f886c16c
L
201142018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20115
20116 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20117 __builtin_expect with __glibc_likely and __glibc_unlikely.
20118 (elf_machine_rela): Likewise.
20119 (elf_machine_lazy_rel): Likewise.
20120
06fbebff
L
201212018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20122
20123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 20124 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
20125 (elf_machine_lazy_rel): Likewise.
20126
371b220f
L
201272018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20128
20129 [BZ #22638]
20130 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20131 SHARED.
65805016 20132 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 20133
f649a1b8
AS
201342018-02-05 Andreas Schwab <schwab@suse.de>
20135
20136 [BZ #22761]
20137 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20138 string.
20139
9fdb340e
ST
201402018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20141
20142 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20143 not check against PTHREAD_STACK_MIN.
20144
09e56b9e
SM
201452018-02-02 Sean McKean <smckean83@gmail.com>
20146
20147 [BZ #22735]
20148 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20149
d4b4a00a
FW
201502018-02-02 Florian Weimer <fweimer@redhat.com>
20151
20152 [BZ #22753]
20153 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20154 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20155 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20156 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20157 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20158 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20159 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20160 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20161 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20162 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20163 * misc/tst-preadvwritev2.c (do_test): Call it.
20164 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20165
3dfcbfa1
SP
201662018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20167
84c94d2f
SP
20168 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20169
96e6a716
SP
20170 * benchtests/bench-memcmp.c: Print json instead of plain text.
20171
3dfcbfa1
SP
20172 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20173 every test run.
20174
049375e2
JM
201752018-02-01 Joseph Myers <joseph@codesourcery.com>
20176
39f898c6
JM
20177 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20178 version to 4.15.
20179 (s390_sthyi): New syscall.
20180
6f9a3dd8
JM
20181 * sysdeps/generic/ldbl-classify-compat.h: New file.
20182 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20183 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20184 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20185 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20186 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20187 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20188 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20189 <ldbl-classify-compat.h>.
20190 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20191 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20192 <ldbl-classify-compat.h>.
20193 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20194 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20195 <ldbl-classify-compat.h>.
20196 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20197 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20198 <ldbl-classify-compat.h>.
20199 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20201 <ldbl-classify-compat.h>.
20202 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20204 <ldbl-classify-compat.h>.
20205 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20206 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20207 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20208 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20209 * sysdeps/microblaze/math_private.h: Likewise.
20210 * sysdeps/nios2/math_private.h: Likewise.
20211 * sysdeps/sh/math_private.h: Likewise.
20212
eb65a3d5
JM
20213 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20214 * sysdeps/m68k/coldfire/math_private.h: ... here.
20215 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20216 * sysdeps/tile/math_private.h: Likewise.
20217 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20218 Remove macro.
20219 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20220 Likewise.
20221
8a6bb1d0
JM
20222 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20223 Remove macro.
20224 (libc_fetestexcept): Likewise.
20225 (libc_feupdateenv_test): Likewise.
20226 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20227 (libc_fetestexcept): Likewise.
20228 (libc_feupdateenv_test): Likewise.
20229 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20230 (libc_fetestexcept): Likewise.
20231 (libc_feupdateenv_test): Likewise.
20232 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20233 (libc_fetestexcept): Likewise.
20234 (libc_feupdateenv_test): Likewise.
20235
ae1fcb7b
JM
20236 * sysdeps/generic/math_private.h
20237 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20238 New inline function.
20239 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20240 Likewise.
20241
b1c347e2
JM
20242 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20243 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20244 * sysdeps/generic/math_private.h
20245 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20246 inline function.
20247 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20248 Likewise.
20249 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20250 Likewise.
20251 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20252 Likewise.
20253 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20254 Likewise.
20255 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20256 Likewise.
20257 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20258 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20259 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20260 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20261 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20262 (__fegetenv): Likewise.
20263 (fesetenv): Likewise.
20264 (__fesetenv): Likewise.
20265 (feupdateenv): Likewise.
20266 (__feupdateenv): Likewise.
20267 (fegetround): Likewise.
20268 (__fegetround): Likewise.
20269 (fesetround): Likewise.
20270 (__fesetround): Likewise.
20271
d23a4962
JM
20272 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20273 (feraiseexcept): New macro.
20274 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20275 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20276 Remove macro.
20277 (__feraiseexcept): Likewise.
20278 (feclearexcept): Likewise.
20279 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20280 (__feraiseexcept): Likewise.
20281 (feclearexcept): Likewise.
20282 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20283 (__feraiseexcept): Likewise.
20284 (feclearexcept): Likewise.
20285 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20286 (__feraiseexcept): Likewise.
20287 (feclearexcept): Likewise.
20288 (fetestexcept): Likewise.
20289
5f167950
JM
20290 * sysdeps/m68k/coldfire/math-tests.h: New file.
20291
ccc9035a
JM
20292 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20293 * sysdeps/m68k/bits/fenv.h: ... here.
20294 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20295 not define.
20296 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20297 Likewise.
20298 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20299 Likewise.
20300 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20301 Likewise.
20302 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20303 Likewise.
20304 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20305 Define to 0.
20306 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20307 (__FE_UNDEFINED): New enum constant.
20308 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20309 Do not define.
20310 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20311 Likewise.
20312 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20313 Likewise.
20314 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20315 to match generic bits/fenv.h.
20316 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20317 Do not define.
20318
049375e2
JM
20319 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20320 packed on bits.
20321 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20322 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20323 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20324 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20325
f1d73681
CD
203262018-02-01 Carlos O'Donell <carlos@redhat.com>
20327 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20328 Joseph Myers <joseph@codesourcery.com>
20329
20330 [BZ #21314]
20331 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20332 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20333 computation using c.
20334 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20335 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20336 computation using c.
20337
242cbc90
DL
203382018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20339
086ee48e
DL
20340 * version.h (RELEASE): Set to "development".
20341 (VERSION): Set to "2.27.9000".
20342 * NEWS (2.28): New section.
20343
23158b08
DL
20344 * version.h (RELEASE): Set to "stable".
20345 (VERSION): Set to "2.27".
20346 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20347
242cbc90
DL
20348 * NEWS: Add the list of bugs fixed in 2.27.
20349
673e2305
AZ
203502018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20351
20352 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20353 against PTHREAD_STACK_MIN.
20354
ced64e01
DL
203552018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20356
20357 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20358 New entries.
20359 (Rafal Luzynski, Andreas Schwab): Update.
20360
c10c9a5e
RL
203612018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20362
20363 [BZ #10871]
20364 * NEWS: List the languages which actually use the alternative
20365 months feature in this release. Also explain that "alt_mon" and
20366 "ab_alt_mon" are optional.
20367
650ba77a
IM
203682018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20369
20370 [BZ #22765]
20371 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20372
93493119
DL
203732018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20374
20375 * manual/install.texi (Tools for Compilation): Update the newest
20376 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20377 * INSTALL: Regenerated.
20378
363e4519 203792018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
20380
20381 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20382 instead of __builtin_expect.
20383
d7536874
FW
203842018-01-30 Florian Weimer <fweimer@redhat.com>
20385
20386 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20387 data.
20388 * nss/tst-nss-getpwent.c (do_test): Likewise.
20389
9a1b267d
RL
203902018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20391
20392 [BZ #10871]
20393 * localedata/locales/hr_HR (mon): Rename to...
20394 (alt_mon): This.
20395 (mon): Import from CLDR (genitive case).
20396 (d_t_fmt): Update the comment.
20397
9a179328
AS
203982018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20399
20400 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20401 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20402 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20403
e01e0ddc
ST
204042018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20405
20406 * mach/Versions: Fix version when __mach_host_self_ was added.
20407 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20408 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20409 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20410 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20411 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20412 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20413 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20414 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20415 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20416 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20417 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20418 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
20419 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20420 || to respect codestyle.
2aadb705
ST
20421 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20422 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
20423 * malloc/malloc.c: Include <assert.h>.
20424 (assert): Do not define.
20425 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
20426 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20427 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 20428 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 20429 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 20430
521877e1
PD
204312018-01-29 Darius Rad <darius@bluespec.com>
20432
20433 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20434
532cf290
PD
204352018-01-29 Palmer Dabbelt <palmer@sifive.com>
20436
20437 * sysdeps/init_array/crti.S (.section .init_array): Add
20438 PREINIT_FUNCTION when defined.
40ca951b 20439 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 20440 * config.h.in: Regenerate.
ba9e25a6
PD
20441 * manual/platform.texi: Add RISC-V documenation for
20442 __riscv_flush_icache.
c776fa11
PD
20443 * sysdeps/riscv/__longjmp.S: New file.
20444 * sysdeps/riscv/backtrace.c: Likewise.
20445 * sysdeps/riscv/bits/endian.h: Likewise.
20446 * sysdeps/riscv/bits/setjmp.h: Likewise.
20447 * sysdeps/riscv/bits/wordsize.h: Likewise.
20448 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20449 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20450 * sysdeps/riscv/dl-trampoline.S: Likewise.
20451 * sysdeps/riscv/gccframe.h: Likewise.
20452 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20453 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20454 * sysdeps/riscv/machine-gmon.h: Likewise.
20455 * sysdeps/riscv/memusage.h: Likewise.
20456 * sysdeps/riscv/setjmp.S: Likewise.
20457 * sysdeps/riscv/sys/asm.h: Likewise.
20458 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
20459 * sysdeps/riscv/dl-tls.h: New file.
20460 * sysdeps/riscv/libc-tls.c: Likewise.
20461 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20462 * sysdeps/riscv/nptl/tls.h: Likewise.
20463 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
20464 * sysdeps/riscv/bits/fenv.h: New file.
20465 * sysdeps/riscv/e_sqrtl.c: Likewise.
20466 * sysdeps/riscv/fpu_control.h: Likewise.
20467 * sysdeps/riscv/math-tests.h: Likewise.
20468 * sysdeps/riscv/nofpu/Implies: Likewise.
20469 * sysdeps/riscv/sfp-machine.h: Likewise.
20470 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
20471 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20472 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20473 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20474 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20475 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20476 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20477 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20478 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20479 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20480 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20481 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20482 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20483 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20484 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20485 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20486 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20487 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20488 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20489 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20490 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20491 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20492 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20493 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20494 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20495 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20496 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20497 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20498 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20499 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20500 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20501 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20502 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20503 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20504 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20505 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20506 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20507 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20508 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20509 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20510 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20511 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20512 * sysdeps/riscv/rvf/math_private.h: Likewise.
20513 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20514 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20515 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20516 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20517 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20518 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20519 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20520 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20521 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20522 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20523 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20524 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20525 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20526 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20527 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20528 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
20529 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20530 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20531 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20532 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
20533 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20534 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20535 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20536 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20537 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20538 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20539 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20540 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20541 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
20542 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20543 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20544 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20545 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20546 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20547 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20548 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20549 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20550 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20551 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20552 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20553 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20554 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20555 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20556 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20557 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20558 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20559 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20560 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20561 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20562 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20563 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
20564 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20565 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20566 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
20567 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20568 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20569 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20570 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20571 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20572 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20573 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20574 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20575 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20576 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20577 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20578 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20579 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20580 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
20581 * sysdeps/riscv/Implies: New file.
20582 * sysdeps/riscv/Makefile: Likewise.
20583 * sysdeps/riscv/configure: Likewise.
20584 * sysdeps/riscv/configure.ac: Likewise.
20585 * sysdeps/riscv/nptl/Makefile: Likewise.
20586 * sysdeps/riscv/preconfigure: Likewise.
20587 * sysdeps/riscv/rv64/Implies-after: Likewise.
20588 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20589 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20590 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20591 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20592 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20593 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20594 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20595 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20596 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20597 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20598 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
20599 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20600 (Config): Likewise.
532cf290 20601
cdd14619
FW
206022018-01-29 Florian Weimer <fweimer@redhat.com>
20603
20604 [BZ #22701]
20605 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20606 libnsl_hidden_proto.
20607 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20608 libnsl_hidden_proto.
20609 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20610 * nis/Makefile (libnsl-routines): Add nss-default only for
20611 build-obsolete-nsl.
20612 * nis/nis_defaults.c (__nis_default_ttl): Add
20613 libnsl_hidden_nolink_def.
20614 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20615 declaration.
20616 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20617 * nis/ypclnt.c (yp_maplist): Likewise.
20618
b7ccb5de
RN
206192018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20620
20621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20622 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20623
522623e4
JM
206242018-01-29 Joseph Myers <joseph@codesourcery.com>
20625
e3aa6999
JM
20626 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20627 clean -dxfq for git updates when replacing sources.
20628
088de7d0
JM
20629 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20630 --disable-libcilkrts unconditionally, not just for the final GCC
20631 build for Hurd.
20632
522623e4
JM
20633 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20634 version to 4.15.
20635
8b406f87
RL
206362018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20637
20638 [BZ #10871]
20639 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20640 case).
20641
105e90bd
RL
206422018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20643
20644 [BZ #10871]
20645 * localedata/locales/be_BY (mon): Rename to...
20646 (alt_mon): This, then synchronize with CLDR (nominative case).
20647 (abmon): Rename to...
20648 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20649 (mon): Import from CLDR (genitive case).
20650 (abmon): Likewise.
20651 * localedata/locales/be_BY@latin (mon): Rename to...
20652 (alt_mon): This.
20653 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20654
20655 * localedata/locales/be_BY@latin (lang_name): Reworded to
20656 "biełaruskaja mova".
20657
561cb414
RL
206582018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20659
20660 [BZ #10871]
20661 * localedata/locales/el_CY (mon): Renamed to...
20662 (alt_mon): This.
20663 (mon): Import from CLDR (genitive case).
20664 * localedata/locales/el_GR: Likewise.
20665
f7bdf30d
RL
206662018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20667
20668 [BZ #10871]
20669 * localedata/locales/ru_RU (mon): Rename to...
20670 (alt_mon): This.
20671 (abmon): Rename to...
20672 (ab_alt_mon): This.
20673 (mon): Import from CLDR (genitive case).
20674 (abmon): Copy from the old content except the 5th month which is
20675 now in the genitive case, even when abbreviated.
20676 * localedata/locales/ru_UA: Likewise.
20677 * time/tst-strptime.c (day_tests): Add an actual example of
20678 a difference between %b and %Ob in Russian.
20679
85285a0c
ST
206802018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20681
20682 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
20683 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20684 a `c' variable.
3538a4b6 20685 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
20686 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20687 <sys/wait.h>, <time.h>, <sys/uio.h>.
20688 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 20689 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
20690 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20691 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20692 return 0.
05ebfe87
ST
20693 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20694 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
20695 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20696 instead of void *.
20697 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20698 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
20699 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20700 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
20701 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20702 and make them the default for now.
903d3633
ST
20703 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20704 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
20705 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20706 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20707 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20708 MACH_IPC_COMPAT.
06fac9f5
ST
20709 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20710 __task_terminate would ever return successfully.
f8177753
ST
20711 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20712 to global scope.
41cdb1eb
ST
20713 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20714 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
20715 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20716 critical section to make code simpler and avoid warning.
20717 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20718 critical section to make code simpler and avoid warning.
844bf921
ST
20719 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20720 const char * instead of char *.
f8bee46c
ST
20721 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20722 __hurd_file_name_split, hurd_file_name_split,
20723 __hurd_directory_name_split, hurd_directory_name_split,
20724 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20725 hurd_file_name_path_lookup): Make lookup function parameter take a
20726 const char *name instead of char *name.
20727 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20728 __hurd_directory_name_split): Likewise.
20729 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20730 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
20731 * sysdeps/mach/hurd/check_native.c: New file.
20732 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
20733 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20734 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
20735 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20736 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
20737 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20738 (do_test_bz20181): Rename accordingly.
20739 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
20740 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20741 <sys/mount.h>.
28f6186f
ST
20742 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20743 version only if __USE_EXTERN_INLINES is defined.
20744 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20745 __hurd_sockfail): Likewise.
20746 (_hurd_fd_get): Always declare functions, and provide inline versions
20747 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20748 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20749 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20750 _hurd_port_set): Always declare functions, and provide inline versions
20751 only if __USE_EXTERN_INLINES and _LIBC are defined and
20752 IS_IN(libc).
20753 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20754 _hurd_critical_section_unlock): Likewise.
20755 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20756 * __hurd_threadvar_location): Likewise.
20757 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20758 _hurd_userlink_clear): Likewise.
20759 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20760 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20761 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20762 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20763 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20764 __spin_lock_locked): Likewise.
20765 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20766 __spin_lock_locked): Likewise.
20767 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20768 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20769 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20770 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20771 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
20772 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20773 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
20774 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20775 check size against PTHREAD_STACK_MIN.
625ba81e
ST
20776 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20777 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
20778 * mach/Makefile (user-interfaces): Add mach/gnumach.
20779 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20780 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
20781 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20782 instead of invalid -1.
1f89ac71
ST
20783 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20784 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20785 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20786 <net/ppp_defs.h>.
85285a0c 20787
1fd1e27c 207882018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
20789
20790 * hurd/fcntl-internal.h: New file.
20791
3854c5a8
JC
207922018-01-27 James Clarke <jrtc27@jrtc27.com>
20793
7e23a7dd
JC
20794 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20795
3854c5a8
JC
20796 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20797
5503f413
AS
207982018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20799
20800 [BZ #22701]
20801 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20802 Build only shared objects.
20803
caaf7804
CD
208042018-01-26 Carlos O'Donell <carlos@redhat.com>
20805
20806 * README: Update for hppa.
20807
1cbf818d
PM
208082018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20809
caaf7804
CD
20810 * sysdeps/sparc/fpu/libm-test-ulps: Update
20811 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 20812
caaf7804 208132018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
20814
20815 Revert:
20816
20817 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20818
20819 [BZ #22563]
20820 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20821 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20822 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20823 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20824 to feature_1.
20825
20826 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20827
20828 [BZ #22563]
20829 * bits/types/__cancel_jmp_buf_tag.h: New file.
20830 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20831 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20832 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20833 * nptl/Makefile (headers): Add
20834 bits/types/__cancel_jmp_buf_tag.h.
20835 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20836 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20837 * sysdeps/nptl/pthread.h: Include
20838 <bits/types/__cancel_jmp_buf_tag.h>.
20839 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20840 __cancel_jmp_buf.
20841 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20842
65f6c94e
RL
208432018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20844
20845 [BZ #10871]
20846 * localedata/locales/uk_UA (mon): Renamed to...
20847 (alt_mon): This.
20848 (alt_digits): "0" removed and then renamed to...
20849 (mon): This.
20850 (date_fmt): Definition changed not to use the alternative
20851 digits hack.
20852
fb58aac5
PD
208532018-01-25 Palmer Dabbelt <palmer@sifive.com>
20854
20855 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20856 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20857 * elf/elf.h (EF_RISCV_RVC): New define.
20858 (EF_RISCV_FLOAT_ABI): Likewise.
20859 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20860 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20861 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20862 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20863 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20864 define.
20865 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20866
128c43a2
AS
208672018-01-25 Andreas Schwab <schwab@suse.de>
20868
20869 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20870 single quotes.
20871 * sysdeps/gnu/configure: Regenerate.
20872 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20873 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20875 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20876 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20877 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20878 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20879 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20880
f9015003
ST
208812018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20882
48130690 20883 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 20884 URL, and run autoconf, make it the default for now.
f9015003 20885
91b2cffa
JM
208862018-01-24 Joseph Myers <joseph@codesourcery.com>
20887
3005b705
JM
20888 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20889 soft-float ColdFire configuration.
20890
69231fab
JM
20891 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20892 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20893 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20894
d4c7e1d0
JM
20895 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20896 MicroBlaze file.
20897
0cfe5be5
JM
20898 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20899 ....
20900 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20901 ... here.
20902 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20903 New file.
20904
91b2cffa
JM
20905 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20906 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20907 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20908 file.
20909
c739e191
SN
209102018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20911
20912 [BZ #22742]
20913 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20914 Rename to __reserved and add comment.
20915 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20916 Rename to __reserved.
20917
394b5bac
JM
209182018-01-24 Joseph Myers <joseph@codesourcery.com>
20919
20920 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20921 i686-gnu configurations.
20922 (Context.run_builds): Include mig, gnumach and hurd in components
20923 considered.
20924 (Context.checkout): Add mig, gnumach and hurd to components.
20925 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20926 hurd.
20927 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20928 (Config.build): Install gnumach headers, build mig and install
20929 hurd headers for 'gnu' OS.
20930 (Config.install_gnumach_headers): New function.
20931 (Config.install_hurd_headers): Likewise.
20932 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20933 when building for 'gnu' OS.
20934
28c3f14f
TK
209352018-01-23 Tobias Klauser <tklauser@distanz.ch>
20936
20937 * manual/tunables.texi (Hardware Capability Tunables): Fix
20938 spelling.
20939
0f5e2da1
RJ
209402018-01-22 Rical Jasan <ricaljasan@pacific.net>
20941
20942 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20943 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20944 (ALTMON_11, ALTMON_12): Improve documentation.
20945 * manual/time.texi (strftime): Likewise.
20946
7817b14a
RL
209472018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20948
20949 [BZ #10871]
20950 * localedata/locales/pl_PL: Alternative month names added,
20951 primary month names are genitive now.
20952 * time/tst-strptime.c (day_tests): Actually use a genitive case
20953 of a month name in Polish language.
20954
22390764
RL
209552018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20956
20957 [BZ #10871]
20958 * manual/locale.texi: Document ALTMON_1..12 constants for
20959 nl_langinfo. Specify when to use ALTMON instead of MON.
20960 * manual/time.texi (strftime, strptime): Document GNU extension
20961 permitting O modifier with %B and %b. Specify when to use
20962 %OB instead of %B.
20963
761a585c
RL
209642018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20965
20966 [BZ #10871]
20967 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20968 names, define them as the same as abbreviated month names explicitly.
20969 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20970 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20971 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20972 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20973 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20974 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20975 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20976 _NL_WABALTMON_12): New enum constants.
20977 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20978 wab_alt_mon, and ab_alt_mon_defined members.
20979 (time_output): Output ab_alt_mon and wab_alt_mon members.
20980 (time_read): Read them, initialize them as copies of abmon and wabmon
20981 respectively if they are missing, initialize ab_alt_mon_defined.
20982 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20983 * locale/programs/locfile-kw.h: Regenerate.
20984 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20985 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20986 and ru_RU.UTF-8.
20987 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20988 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20989 (__strftime_internal): Handle %Ob and %Oh formats.
20990 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20991 (__strptime_internal): Handle %Ob and %Oh formats.
20992 * time/tst-strptime.c (day_tests): Add more tests to parse different
20993 forms of month names including the new %Ob format specifier.
20994
95cb863a
RL
209952018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20996
20997 [BZ #10871]
20998 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20999 define them as the same as primary full month names explicitly.
21000 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
21001 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
21002 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
21003 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
21004 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
21005 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
21006 _NL_WALTMON_12): New enum constants.
21007 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
21008 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
21009 macros.
21010 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
21011 walt_mon, and alt_mon_defined members.
21012 (time_output): Output alt_mon and walt_mon members.
21013 (time_read): Read them, initialize them as copies of mon and wmon
21014 respectively if they are missing, initialize alt_mon_defined.
21015 * locale/programs/locfile-kw.gperf (alt_mon): Define.
21016 * locale/programs/locfile-kw.h: Regenerate.
21017 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
21018 * localedata/tst-langinfo.c (map): Add tests for the new constants
21019 ALTMON_1 .. ALTMON_12.
21020 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
21021 and pl_PL.UTF-8.
21022 * time/strftime_l.c (f_altmonth): New macro.
21023 (__strftime_internal): Handle %OB format.
21024 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
21025 (__strptime_internal): Handle %OB format.
21026 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21027 of month names including the new %OB format specifier.
21028
4612268a
TMQMF
210292018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21030
21031 [BZ #22685]
21032 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21033 from ABORT_TRANSACTION.
21034 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21035 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21036 ABORT_TRANSACTION_IMPL): Likewise.
21037 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21038 Linux code, but remove the code that aborts transactions.
21039
64f63cb4
ST
210402018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21041
21042 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21043
32ac6e92
RL
210442018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21045
21046 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21047 in date: "2004-14-09" should be "2004-09-14".
21048 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21049 "2003-15-09" should be "2003-09-15".
21050
8e448310
AS
210512018-01-18 Arjun Shankar <arjun@redhat.com>
21052
21053 [BZ #22343]
71aa429b 21054 [BZ #22774]
4590634f 21055 CVE-2018-6485
71aa429b 21056 CVE-2018-6551
8e448310
AS
21057 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21058 after padding.
21059 (_int_memalign): check for integer overflow before calling
21060 _int_malloc.
21061 * malloc/tst-malloc-too-large.c: New test.
21062 * malloc/Makefile: Add tst-malloc-too-large.
21063
e234d7cb
RL
210642018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21065
21066 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21067 in date: "2017-24-07" should be "2017-07-24".
21068 * localedata/locales/mai_IN: Likewise.
21069 * localedata/locales/mai_NP: Likewise.
21070
48b66019
DL
210712018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21072
21073 * po/ru.po: Update translations.
21074
1eeddc58
JM
210752018-01-17 Joseph Myers <joseph@codesourcery.com>
21076
21077 [BZ #22719]
21078 * sysdeps/hppa/backtrace.c: New file.
21079
207a72e2
L
210802018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21081
21082 [BZ #22715]
21083 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21084 align La_x86_64_retval to VEC_SIZE.
21085
4942c4ea
JM
210862018-01-16 Joseph Myers <joseph@codesourcery.com>
21087
21088 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21089 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21090
10d200db
FW
210912018-01-16 Florian Weimer <fweimer@redhat.com>
21092
21093 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21094 Move tst-thread-exit-clobber ...
21095 [$(CXX)] (tests-unsupported): ... to here.
21096
953c49cc
SN
210972018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21098
21099 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21100 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21101 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21102 (_dl_aarch64_cap_flags): Update.
21103 (_DL_HWCAP_COUNT): Update.
21104
afce1991
SN
211052018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21106
21107 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21108 (_DL_HWCAP_LAST): Remove.
21109 (_DL_HWCAP_COUNT): Move to ...
21110 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21111 (_DL_HWCAP_COUNT): ... here.
21112
b725132d
FW
211132018-01-16 Florian Weimer <fweimer@redhat.com>
21114
21115 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21116 mode with GNU extensions.
21117
c9e613a7
AH
211182018-01-15 Alan Hayward <alan.hayward@arm.com>
21119
21120 * elf/elf.h (NT_ARM_SVE): Define.
21121
860b0240
FW
211222018-01-15 Florian Weimer <fweimer@redhat.com>
21123
21124 [BZ #22636]
21125 * nptl/tst-minstack-throw.cc: New file.
21126 * nptl/Makefile (tests): Add tst-minstack-throw.
21127 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21128 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21129
16d0f6ac
JM
211302018-01-15 Joseph Myers <joseph@codesourcery.com>
21131
21132 * scripts/build-many-glibcs.py (Context.checkout): Default
21133 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21134 version to 1.1.0.
21135
505d3910
CD
211362018-01-13 Carlos O'Donell <carlos@redhat.com>
21137
21138 [BZ #22707]
21139 * elf/elf.h (DF_1_STUB): Define.
21140 (DF_1_PIE): Define.
21141
af1e6be4
TMQMF
211422018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21143
21144 [BZ #22697]
21145 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21146 Do not add 0.5 to integer or out-of-range arguments.
21147
98d13ce0
DL
211482018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21149
21150 * po/bg.po: Update translations.
21151 * po/cs.po: Likewise.
21152 * po/de.po: Likewise.
21153 * po/ko.po: Likewise.
21154 * po/pl.po: Likewise.
21155 * po/sv.po: Likewise.
21156 * po/uk.po: Likewise.
21157 * po/vi.po: Likewise.
21158
3d1d7928
SN
211592018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21160
21161 * aarch64/start.S (_start): Use __wrap_main.
21162 (__wrap_main): New local symbol.
21163
52a713fd
DL
211642018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21165
21166 [BZ #22679]
21167 CVE-2018-1000001
21168 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21169 generic_getcwd if the path returned by getcwd syscall is not absolute.
21170 * io/tst-getcwd-abspath.c: New test.
21171 * io/Makefile (tests): Add tst-getcwd-abspath.
21172
249a5895
IK
211732018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21174
21175 * malloc/malloc.c (malloc_consolidate): Add size check.
21176
1a51e46e
FW
211772018-01-12 Florian Weimer <fweimer@redhat.com>
21178
21179 * support/write_message.c (write_message): Preserve errno.
21180 * support/check.c (print_failure): Likewise.
21181 * support/support_test_verify_impl.c (support_test_verify_impl):
21182 Likewise.
21183 * support/support_test_compare_failure.c
21184 (support_test_compare_failure): Likewise.
21185
9a08a366
FW
211862018-01-12 Florian Weimer <fweimer@redhat.com>
21187
21188 [BZ #22701]
21189 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21190 Prevent installation of libnsl.so.
21191 (libnsl-inhibit-o): Do not build (or install) static libraries.
21192
80647883 211932018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
21194
21195 [BZ #22657]
21196 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21197 before the day number which may produce a double space.
21198 (date_fmt): Likewise.
21199
c8924f1f
JM
212002018-01-12 Joseph Myers <joseph@codesourcery.com>
21201
21202 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21203 instead of fegetenv.
21204
da09e6fa
JM
212052018-01-11 Joseph Myers <joseph@codesourcery.com>
21206
21207 [BZ #22702]
21208 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21209 comment to say exceptions are discarded.
21210 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21211 __fegetenv.
21212 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21213 be enabled.
21214
08c6e952
FW
212152018-01-11 Florian Weimer <fweimer@redhat.com>
21216
21217 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21218 and error message.
21219
d8b77890
FW
212202018-01-11 Florian Weimer <fweimer@redhat.com>
21221
21222 [BZ #22636]
21223 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21224 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21225
b303185d
JM
212262018-01-10 Joseph Myers <joseph@codesourcery.com>
21227
21228 [BZ #22693]
21229 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21230 negative arguments in test for NaN or infinity argument.
21231
ee61d028
DL
212322018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21233
21234 * po/libc.pot: Regenerate.
21235
f993b875
FW
212362018-01-10 Florian Weimer <fweimer@redhat.com>
21237
21238 [BZ #22636]
21239 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21240 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21241
09085ede
ST
212422018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21243
21244 * hurd/hurd/fd.h: Include <fcntl.h>
21245 (__hurd_at_flags): New function.
21246 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21247 with call to __hurd_at_flags.
21248 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21249 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21250 __faccessat
21251 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21252 (__access_noerrno): Use __faccessat_common instead of access_common.
21253 (__access): Likewise.
21254 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21255 with a call to __faccessat.
21256 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21257 (__faccessat_common): ... this. Move implementation of __access into it when
21258 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21259 reauthenticate_cwdir_at helper to implement AT mechanism.
21260 (__faccessat_noerrno): New function, just calls __faccessat_common.
21261 (__faccessat): New function, just calls __faccessat_common.
21262 (faccessat): Define weak alias.
21263
12727488
JM
212642018-01-10 Joseph Myers <joseph@codesourcery.com>
21265
87faac55
JM
21266 [BZ #22691]
21267 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21268 (CFLAGS-s_fmaxmagl.c): New variable.
21269 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21270
12727488
JM
21271 [BZ #22690]
21272 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21273 long int for arguments of possibly overflowing addition or
21274 subtraction.
21275 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21276
e134ca17
JM
212772018-01-09 Joseph Myers <joseph@codesourcery.com>
21278
b2584ac2
JM
21279 [BZ #22688]
21280 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21281 (CFLAGS-e_remainderl.c): New variable.
21282
e134ca17
JM
21283 [BZ #22687]
21284 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21285 variable.
21286 (CFLAGS-s_cacoshl.c): Likewise.
21287 (CFLAGS-s_casinhl.c): Likewise.
21288 (CFLAGS-s_catanl.c): Likewise.
21289 (CFLAGS-s_catanhl.c): Likewise.
21290 (CFLAGS-s_cexpl.c): Likewise.
21291 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21292 (CFLAGS-s_csinhl.c): Likewise.
21293 (CFLAGS-s_clogl.c): Likewise.
21294 (CFLAGS-s_clog10l.c): Likewise.
21295 (CFLAGS-s_csinl.c): Likewise.
21296 (CFLAGS-s_csqrtl.c): Likewise.
21297
d31a4a48
ST
212982017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
212992017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
21300
21301 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21302 (_hurd_exec_paths): New function.
21303 * hurd/hurd.h (_hurd_exec): Deprecate function.
21304 (_hurd_exec_paths): Declare function.
21305 * hurd/Versions: Export _hurd_exec_paths.
21306 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21307 (__execve): Use __getcwd to build absolute path, and use
21308 _hurd_exec_paths instead of _hurd_exec.
21309 * sysdeps/mach/hurd/spawni.c: Likewise.
21310 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21311 _hurd_exec.
21312
d7ff3f11
DL
213132018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21314
21315 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21316 test instead of failing in case of ENOENT returned by posix_openpt.
21317
401311cf
FW
213182018-01-08 Florian Weimer <fweimer@redhat.com>
21319
21320 resolv: Support binary labels in test framework.
21321 * support/resolv_test.c (struct to_be_freed): Remove.
21322 (struct compressed_name): New.
21323 (allocate_compressed_name, ascii_tolower)
21324 (compare_compressed_name): New functions.
21325 (struct resolv_response_builder): Update type of
21326 compression_offsets for use with tsearch. Rempve to_be_freed.
21327 (response_push_pointer_to_free): Remove function.
21328 (resolv_response_add_name): Rewrite using struct compressed_name
21329 and tsearch instead of hsearch_r.
21330 (response_builder_allocate): Remove initialization of
21331 compression_offsets.
21332 (response_builder_free): Update for removal of to_be_freed. Use
21333 tdestroy instead of hdestroy_r.
21334 * resolv/Makefile (tests): Add tst-resolv-binary.
21335 (tst-resolv-binary): Link with -lresolv -lpthread.
21336
2b3aa446
FW
213372018-01-08 Florian Weimer <fweimer@redhat.com>
21338
21339 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21340 time. Pass positive flag instead of negative flag to
21341 support_test_compare_failure.
21342 (support_test_compare_failure): Change negative parameter to
21343 positive.
21344 * support/support_test_compare_failure.c (report)
21345 (support_test_compare_failure): Likewise.
21346 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21347 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21348
630f4cc3
SN
213492018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21350
21351 [BZ #22637]
21352 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21353 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21354 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21355 stacksize.
21356 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21357
c70e4e9c
L
213582018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21359
21360 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21361 Add s_sincosf-sse2 and s_sincosf-fma.
21362 (CFLAGS-s_sincosf-fma.c): New.
21363 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21364 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21365 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21366 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21367 __sincosf is defined.
21368
579396ee
FW
213692018-01-08 Florian Weimer <fweimer@redhat.com>
21370
21371 * nptl/tst-thread-exit-clobber.cc: New file.
21372 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21373 C++11 mode.
21374 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21375 (tests): Add tst-thread-exit-clobber.
21376 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21377
dabd75b6
FW
213782018-01-08 Florian Weimer <fweimer@redhat.com>
21379
21380 * support/check.h (support_static_assert): Define.
21381 (TEST_COMPARE): Use it.
21382
c2e014cc
AJ
213832018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21384
21385 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21386 [!__RLIM_T_MATCHES_RLIM64_T]
21387 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21388 __getrlimit64. Add libc_hidden_weak.
21389
31a98837
PD
213902018-01-06 Palmer Dabbelt <palmer@sifive.com>
21391
21392 * elf/elf.h (R_RISCV_NONE): New define.
21393 (R_RISCV_32): Likewise.
21394 (R_RISCV_64): Likewise.
21395 (R_RISCV_RELATIVE): Likewise.
21396 (R_RISCV_COPY): Likewise.
21397 (R_RISCV_JUMP_SLOT): Likewise.
21398 (R_RISCV_TLS_DTPMOD32): Likewise.
21399 (R_RISCV_TLS_DTPMOD64): Likewise.
21400 (R_RISCV_TLS_DTPREL32): Likewise.
21401 (R_RISCV_TLS_DTPREL64): Likewise.
21402 (R_RISCV_TLS_TPREL32): Likewise.
21403 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
21404 * Makerules (make-link-multidir): Make directories before linking into
21405 them.
150bbac1
PD
21406 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21407 define.
21408 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
21409 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21410 in subdirectories of lib.
8e13c51b
PD
21411 * nptl/Makefile (/librt.so): Always depend on
21412 "$(shared-thread-library)".
31a98837 21413
fad7d57e
ST
214142018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21415
21416 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
21417 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21418 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21419 (___tls_get_addr).
21420 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
21421 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21422 "-O2 -march=i686".
01c7e549 21423 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
21424 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21425 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21426 * sysdeps/gnu/glob-lstat-compat.c: New file.
21427 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 21428 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 21429
3a32b716
TMQMF
214302018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21431
21432 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21433 Reserve 16 chars to reloc_addr before calling _itoa_word.
21434
24731685
AJ
214352018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21436
21437 [BZ #22678]
21438 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21439 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21440
19be56d8
AJ
21441 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21442 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21443
a6d0afb5
AJ
21444 * resource/tst-getrlimit.c: Add copyright header.
21445
8e900969
AJ
214462018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21447 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21448
21449 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21450 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21451 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21452 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21453 instead.
21454 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21455 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21456 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21457 RLIM64_INFINITY): Fix values to match the kernel ones.
21458 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21459 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21460 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21461 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21462 getrlimit64@@GLIBC_2_27.
21463 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21464 and setrlimit64.
21465 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21466 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21467 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21468 setrlimit, getrlimit64 and setrlimit64.
21469
0d0bc784
AJ
214702018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21471
21472 [BZ #22648]
21473 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21474 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21475
ba374b6d
JM
214762018-01-04 Joseph Myers <joseph@codesourcery.com>
21477
21478 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21479 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21480 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21481
4854ddd8
AZ
214822018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21483
b0a4eca2
AZ
21484 [BZ #15479]
21485 [BZ #22666]
21486 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21487 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21488
4854ddd8
AZ
21489 [BZ #15479]
21490 [BZ #22665]
21491 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21492 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21493 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21494 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21495
8a5df95f
FW
214962018-01-04 Florian Weimer <fweimer@redhat.com>
21497
21498 [BZ #22667]
21499 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21500 Align the stack before calling exit.
21501 * stdlib/tst-makecontext-align.c: New file.
21502 * stdlib/Makefile (tests): Add tst-makecontext-align.
21503
82eef55f
FW
215042018-01-04 Florian Weimer <fweimer@redhat.com>
21505
21506 Add support for calling dlvsym from libc.so.
21507 * include/dlfcn.h (__libc_dlvsym): Declare.
21508 * elf/Makefile (tests-static-internal): Add
21509 tst-libc_dlvsym-static.
21510 (tests-internal): Add tst-libc_dlvsym.
21511 (modules-names): Add tst-libc_dlvsym-dso.
21512 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21513 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21514 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21515 object tst-libc_dlvsym-dso.so needs to be built before running
21516 these tests.
21517 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21518 * elf/Versions: Export __libc_dlvsym.
21519 * elf/dl-libc.c (struct do_dlvsym_args): New.
21520 (do_dlvsym, __libc_dlvsym): New functions.
21521 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21522 (_dl_open_hook2): New variable.
21523 (__libc_register_dl_open_hook): Set it.
21524 * elf/tst-libc_dlvsym-dso.c: New file.
21525 * elf/tst-libc_dlvsym-static.c: Likewise.
21526 * elf/tst-libc_dlvsym.c: Likewise.
21527 * elf/tst-libc_dlvsym.h: Likewise.
21528
1714fc06
ST
215292018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21530
21531 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21532 include <sys/mount.h>.
21533
3c7d0312
WD
215342018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21535
21536 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21537 Add __NO_MATH_ERRNO__ check.
21538
7eff0954
JM
215392018-01-02 Joseph Myers <joseph@codesourcery.com>
21540
21541 * sysdeps/mips/mips32/libm-test-ulps: Update.
21542 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21543
77f49956
FW
215442018-01-02 Florian Weimer <fweimer@redhat.com>
21545
21546 * misc/tst-pselect.c: Add copyright header.
21547
363e4519 215482018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
21549
21550 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21551 comment.
21552 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21553 comment.
21554 (settrlimit): Rename into setrlimit.
21555 (__sttrlimit): Rename into __setrlimit.
21556
3e4226ff
AJ
21557 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21558 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21559 never defined in that case.
21560
b9256ab6
JM
215612018-01-02 Joseph Myers <joseph@codesourcery.com>
21562
28fd6a44
JM
21563 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21564
a4933a15
JM
21565 * sysdeps/arm/libm-test-ulps: Update.
21566
b9256ab6
JM
21567 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21568 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21569
4cf82d23
RS
215702018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21571
21572 * NEWS: Add cosf and sincosf to list of optimized functions.
21573
6a9dd7a7
AJ
215742018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21575
21576 [BZ #22660]
21577 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21578 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21579 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21580 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21581
dbba87d5
DL
215822018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21583
b05cb613
DL
21584 [BZ #22433]
21585 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21586
dbba87d5
DL
21587 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21588 making a copy of it.
21589
688903eb
JM
215902018-01-01 Joseph Myers <joseph@codesourcery.com>
21591
66ac23de
JM
21592 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21593 trailing whitespace removed.
21594 * scripts/config.guess: Update to version 2018-01-01.
21595 * scripts/config.sub: Update to version 2018-01-01.
21596 * scripts/move-if-change: Update from gnulib.
21597
09533208
JM
21598 * NEWS: Update copyright dates.
21599 * catgets/gencat.c (print_version): Likewise.
21600 * csu/version.c (banner): Likewise.
21601 * debug/catchsegv.sh: Likewise.
21602 * debug/pcprofiledump.c (print_version): Likewise.
21603 * debug/xtrace.sh (do_version): Likewise.
21604 * elf/ldconfig.c (print_version): Likewise.
21605 * elf/ldd.bash.in: Likewise.
21606 * elf/pldd.c (print_version): Likewise.
21607 * elf/sotruss.sh: Likewise.
21608 * elf/sprof.c (print_version): Likewise.
21609 * iconv/iconv_prog.c (print_version): Likewise.
21610 * iconv/iconvconfig.c (print_version): Likewise.
21611 * locale/programs/locale.c (print_version): Likewise.
21612 * locale/programs/localedef.c (print_version): Likewise.
21613 * login/programs/pt_chown.c (print_version): Likewise.
21614 * malloc/memusage.sh (do_version): Likewise.
21615 * malloc/memusagestat.c (print_version): Likewise.
21616 * malloc/mtrace.pl: Likewise.
21617 * manual/libc.texinfo: Likewise.
21618 * nptl/version.c (banner): Likewise.
21619 * nscd/nscd.c (print_version): Likewise.
21620 * nss/getent.c (print_version): Likewise.
21621 * nss/makedb.c (print_version): Likewise.
21622 * posix/getconf.c (main): Likewise.
21623 * scripts/test-installation.pl: Likewise.
21624 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21625
688903eb
JM
21626 * All files with FSF copyright notices: Update copyright dates
21627 using scripts/update-copyrights.
21628 * locale/programs/charmap-kw.h: Regenerated.
21629 * locale/programs/locfile-kw.h: Likewise.
21630
4f820792
ZW
216312017-12-31 Zack Weinberg <zackw@panix.com>
21632
21633 * libio/bits/libio-ldbl.h: Correct check for improper
21634 inclusion. Add own multiple include guard.
21635
3e3c904d
AJ
216362017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21637 Dmitry V. Levin <ldv@altlinux.org>
21638
21639 [BZ #22625]
31f96325 21640 CVE-2017-16997
3e3c904d
AJ
21641 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21642 string token expansion. Check for NULL pointer or empty string possibly
21643 returned by expand_dynamic_string_token.
21644 (decompose_rpath): Check for empty path after dynamic string
21645 token expansion.
21646
7e21972b
DL
216472017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21648
c48831d0
DL
21649 [BZ #22433]
21650 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21651
ac583f50
DL
21652 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21653 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21654 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21655 and PTRACE_SYSCALL.
21656 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21657 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21661 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21662
7e21972b
DL
21663 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21664 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21665 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21666 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21668 bits/ptrace-shared.h.
21669 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21670 <bits/ptrace-shared.h>.
21671 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21672 __ptrace_peeksiginfo_flags, ptrace): Remove.
21673 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21674 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21676 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21677 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21678
72f29e3a
AJ
216792017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21680
21681 [BZ #17804]
21682 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21683 end of the loop. Improve comments.
21684
54e4efc2
AJ
216852017-12-29 Zack Weinberg <zackw@panix.com>
21686
21687 [BZ #22615]
21688 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21689 might be set on success.
21690
f8aa69be
AJ
216912017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21692
21693 [BZ #22611]
21694 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21695 is unchanged on success.
21696
97f13188
DL
216972017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21698
2bd86632
DL
21699 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21700 updated.
21701 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21702 expand_dynamic_string_token): Likewise.
21703 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21704 is_path argument.
21705
1c36e1e6
DL
21706 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21707 contains ':'.
21708
97f13188
DL
21709 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21710 is set and name contains ':', and all code depending on these checks.
21711
48a8f832
ZW
217122017-12-24 Zack Weinberg <zackw@panix.com>
21713
21714 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21715 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21716 respectively.
21717 * libio/libio.h: Rename the original version of this file to
21718 libio/bits/libio.h. Error out if not included by stdio.h or the
21719 stub libio.h.
21720 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21721 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21722 if not included by bits/libio.h or the stub _G_config.h.
21723 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21724 sysdeps/unix/sysv/linux/bits. Error out if not included by
21725 bits/libio.h or the stub _G_config.h.
21726 * libio/stdio.h: Include bits/libio.h, not libio.h.
21727 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21728 well as libio.h and _G_config.h.
21729
21730 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21731 * libio/strfile.h, stdio-common/vfscanf.c
21732 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21733 Include stdio.h, not _G_config.h nor libio.h.
21734 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21735 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21736
21737 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21738
a47ad79a
DL
217392017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21740
21741 [BZ #22347]
21742 * stdlib/getrandom.c (getrandom): Fix comment.
21743 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21744
363e4519 217452017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 21746
f5c558f3
AJ
21747 [BZ #21161]
21748 * manual/arith.texi (strtoul): Fix a typo.
21749
e65a5644
AJ
21750 [BZ #22596]
21751 * manual/arith.texi (finite): Fix the description of the return
21752 value.
21753
ed8ae46b
EB
217542017-12-22 Eric Blake <ebb9@byu.net>
21755
21756 Avoid gcc warnings on cygwin
21757 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21758 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21759 Avoid unused variable.
21760
bad7a0c8
FW
217612017-12-22 Florian Weimer <fweimer@redhat.com>
21762
21763 * io/Makefile (routines): Add copy_file_range.
21764 (tests): Add tst-copy_file_range.
21765 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21766 * io/Versions (GLIBC_2.27): Export copy_file_range.
21767 * io/copy_file_range-compat.c: New file.
21768 * io/copy_file_range.c: Likewise.
21769 * io/tst-copy_file_range-compat.c: Likewise.
21770 * io/tst-copy_file_range.c: Likewise.
21771 * manual/llio.texi (Copying File Data): New section.
21772 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21773 * support/Makefile (libsupport-routines): Add support-xfstat,
21774 xftruncate, xlseek.
21775 * support/support-xfstat.c: New file.
21776 * support/xftruncate.c: Likewise.
21777 * support/xlseek.c: Likewise.
21778 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21779 * sysdeps/unix/sysv/linux/**.abilist: Update.
21780 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21781
6cb86fd2
SN
217822017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21783
21784 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21785 disable-multi-arch variant to aarch64-linux-gnu.
21786
41d11b15
JM
217872017-12-20 Joseph Myers <joseph@codesourcery.com>
21788
21789 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21790 trailing whitespace removed.
21791 * scripts/config.guess: Update to version 2017-12-17.
21792 * scripts/config.sub: Update to version 2017-11-23.
21793 * scripts/install-sh: Update to version 2017-09-23.17.
21794 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21795
4735850f
AZ
217962017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21797
8d2d239c
AZ
21798 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21799 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21800 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21801 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21802 * sysdeps/tile/crtn.S: Likewise.
21803 * sysdeps/tile/dl-start.S (_start): Likewise.
21804 * sysdeps/tile/dl-trampoline.S: Likewise.
21805 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21806 * sysdeps/tile/start.S (_start): Likewise.
21807 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21808 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21809 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21810 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21811 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21812 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21813 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21814
24d1d8ec
AZ
21815 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21816 comment.
21817 * sysdeps/tile/preconfigure: Remove tilegx folder.
21818 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21819 * sysdeps/tile/Implies: ... here.
21820 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21821 * sysdeps/tile/Makefile: ... here.
21822 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21823 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21824 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21825 * sysdeps/tile/bits/wordsize.h: ... here.
21826 * sysdeps/tile/tilegx/*: Move to ...
21827 * sysdeps/tile/*: ... here.
21828 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21829 * sysdeps/tile/tilegx32/Implies: ... here.
21830 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21831 * sysdeps/tile/tilegx64/Implies: ... here.
21832 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21833 to ...
21834 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21835 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21836 * sysdeps/unix/sysv/linux/tile/*: ... here.
21837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21838 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21840 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21841
ed95f611
AZ
21842 * README: Remove tilepro-*-linux-gnu from supported architecture.
21843 * scripts/build-many-glibcs.py: Likewise.
21844 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21845 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21846 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21847 elf_machine_matches_host, elf_machine_dynamic,
21848 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21849 howto, elf_machine_rela): Likewise.
21850 * sysdeps/tile/dl-start.S (_start): Likewise.
21851 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21852 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21853 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21854 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21855 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21856 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21857 Likewise.
21858 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21859 * sysdeps/tile/preconfigure: Likewise.
21860 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21861 POINTER_CHK_GUARD): Likewise.
21862 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21863 * sysdeps/tile/start.S (_start): Likewise.
21864 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21865 Likewise.
21866 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21867 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21868 CMOVNEZ): Remove.
21869 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21870 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21871 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21872 Likewise.
21873 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21874 * sysdeps/tile/tilepro/Implies: Remove file.
21875 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21876 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21877 * sysdeps/tile/tilepro/memchr.c: Likewise.
21878 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21879 * sysdeps/tile/tilepro/memset.c: Likewise.
21880 * sysdeps/tile/tilepro/memusage.h: Likewise.
21881 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21882 * sysdeps/tile/tilepro/strchr.c: Likewise.
21883 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21884 * sysdeps/tile/tilepro/strlen.c: Likewise.
21885 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21886 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21887 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21888 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21889 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21890 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21891 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21892 Likewise.
21893 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21894 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21895 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21896 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21897 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21898 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21899 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21900 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21901 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21902 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21903 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21904 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21905 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21906 tilepro mention in comment.
21907
4735850f
AZ
21908 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21909 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21910 * nptl/pthread_join_common.c: New file: common function used on
21911 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21912 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21913 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21914 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21915 (cleanup): Move definition to pthread_join_common.c.
21916 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21917 Remove superflous checks.
21918 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21919 Likewise.
21920
8bfb461e
SN
219212017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21922
21923 * sysdeps/aarch64/libm-test-ulps: Update.
21924
4e001969
AZ
219252017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21926
21927 * sysdeps/aarch64/memset.S (MEMSET): Define.
21928
8a26ad2a
FW
219292017-12-20 Florian Weimer <fweimer@redhat.com>
21930
21931 [BZ #22635]
21932 nptl: Provide full implementation of pthread_self in libc.so.
21933 * nptl/Makefile (routines): Add pthread_self.
21934 (libpthread-routines): Replace pthread_self with
21935 compat-pthread_self.
21936 * nptl/forward.c (pthread_self): Remove.
21937 * nptl/nptl-init.c (pthread_functions): Do not initialize
21938 ptr_pthread_self.
21939 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21940 * nptl/compat-pthread_self.c: New file.
21941 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21942 Remove ptr_pthread_self.
21943
5069ff32
AR
219442017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21945
21946 * posix/regcomp.c: Fix spelling in comments.
21947 * posix/regex.h: Likewise.
21948 * posix/regex_internal.c: Likewise.
21949 * posix/regexec.c: Likewise.
21950
c85e54ac
GG
219512017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21952
21953 [BZ #22377]
21954 * math/Makefile [C++] (tests): Add test for iseqsig.
21955 * math/math.h [C++] (iseqsig): New implementation, which does
21956 not rely on __MATH_TG/__builtin_types_compatible_p.
21957 * math/test-math-iseqsig.cc: New file.
21958 * sysdeps/powerpc/powerpc64le/Makefile
21959 (CFLAGS-test-math-iseqsig.cc): New variable.
21960
10e93d96
DL
219612017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21962
21963 * elf/dl-load.c (is_trusted_path): Remove.
21964 (fillin_rpath): Remove check_trusted argument and its use,
21965 all callers changed.
21966
ce16eb52
L
219672017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21968
21969 [BZ #22630]
21970 * Makeconfig (link-pie-before-libc): Replace -pie with
21971 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21972 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21973 (tst-dlopen-aout-no-pie): New.
21974 (LDFLAGS-tst-prelink): Removed.
21975 (tst-prelink-no-pie): New.
21976 (LDFLAGS-tst-main1): Removed.
21977 (tst-main1-no-pie): New.
21978 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21979 (tst-gmon-no-pie): New.
21980
126adc89
L
219812017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21982
21983 * manual/install.texi: Document that --enable-static-pie
21984 implies PIE.
21985 * INSTALL: Regenerated.
21986
648615e1
BE
219872017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21988
21989 [BZ #21309]
21990 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21991 unsigned.
21992
f1e00502
JM
219932017-12-19 Joseph Myers <joseph@codesourcery.com>
21994
21995 Revert:
21996
21997 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21998
21999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22000
22001 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22002
22003 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22004 <errno.h>. Include "eexp.tbl".
22005 (half): New constant.
22006 (one): Likewise.
22007 (__ieee754_exp): Rewrite.
22008 (__slowexp): Remove prototype.
22009 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22010 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22011 * sysdeps/i386/fpu/slowexp.c: Likewise.
22012 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22013 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22014 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22015 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22016 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22017 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22018 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22019 comment.
22020 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22021 (CPPFLAGS-slowexp.c): Remove variable.
22022 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22023 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22024 (CFLAGS-slowexp-fma.c): Remove variable.
22025 (CFLAGS-slowexp-fma4.c): Likewise.
22026 (CFLAGS-slowexp-avx.c): Likewise.
22027 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22028 define as macro.
22029 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22031 * math/Makefile (type-double-routines): Remove slowexp.
22032 * manual/probes.texi (slowexp_p6): Remove.
22033 (slowexp_p32): Likewise.
22034
d711a00f
AZ
220352017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22036
e184ac3a
AZ
22037 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22038 arithmetic.
22039
d711a00f
AZ
22040 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22041
6f58c10d
JM
220422017-12-19 Joseph Myers <joseph@codesourcery.com>
22043
22044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22045
6fd0a3c6
PM
220462017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22047
22048 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22049 <errno.h>. Include "eexp.tbl".
22050 (half): New constant.
22051 (one): Likewise.
22052 (__ieee754_exp): Rewrite.
22053 (__slowexp): Remove prototype.
22054 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22055 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22056 * sysdeps/i386/fpu/slowexp.c: Likewise.
22057 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22058 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22059 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22060 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22061 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22062 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22063 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22064 comment.
22065 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22066 (CPPFLAGS-slowexp.c): Remove variable.
22067 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22068 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22069 (CFLAGS-slowexp-fma.c): Remove variable.
22070 (CFLAGS-slowexp-fma4.c): Likewise.
22071 (CFLAGS-slowexp-avx.c): Likewise.
22072 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22073 define as macro.
22074 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22075 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22076 * math/Makefile (type-double-routines): Remove slowexp.
22077 * manual/probes.texi (slowexp_p6): Remove.
22078 (slowexp_p32): Likewise.
22079
3bb1ef58 220802017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 22081 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
22082
22083 [BZ #22603]
22084 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22085 addition.
22086
554e3d51
AZ
220872017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22088
22089 [BZ #22605]
22090 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22091 code.
22092
cba595c3
L
220932017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22094
22095 [BZ #22563]
22096 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22097 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22098 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22099 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22100 to feature_1.
22101
f81ddabf
L
221022017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22103
22104 [BZ #22563]
22105 * bits/types/__cancel_jmp_buf_tag.h: New file.
22106 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22107 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22108 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22109 * nptl/Makefile (headers): Add
22110 bits/types/__cancel_jmp_buf_tag.h.
22111 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22112 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22113 * sysdeps/nptl/pthread.h: Include
22114 <bits/types/__cancel_jmp_buf_tag.h>.
22115 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22116 __cancel_jmp_buf.
22117 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22118
1a49fc59
L
221192017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22120
22121 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22122 --enable-static-pie variants to x86_64, x32 and i686.
22123
8e52f573
JM
221242017-12-19 Joseph Myers <joseph@codesourcery.com>
22125
66425185
JM
22126 [BZ #22631]
22127 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22128 argument for attrubutes. All callers changed.
22129 (__inline_mathop1): Likewise. All callers changed.
22130 (__inline_mathop): Likewise. All callers changed.
22131 [__USE_MISC] (scalbn): Use __inline_forward instead of
22132 __inline_forward_c.
22133 [__USE_ISOC99] (scalbln): Likewise.
22134 [__USE_ISOC99] (nearbyint): Likewise.
22135 [__USE_ISOC99] (lrint): Likewise.
22136 [__USE_MISC] (scalbnf): Likewise.
22137 [__USE_ISOC99] (scalblnf): Likewise.
22138 [__USE_ISOC99] (nearbyintf): Likewise.
22139 [__USE_ISOC99] (lrintf): Likewise.
22140 [__USE_MISC] (scalbnl): Likewise.
22141 [__USE_ISOC99] (scalblnl): Likewise.
22142 [__USE_ISOC99] (nearbyintl): Likewise.
22143 [__USE_ISOC99] (lrintl): Likewise.
22144 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22145 __inline_mathop and __m81_defun changed.
22146
8e52f573
JM
22147 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22148 CPU or FPU for ARM hard-float configurations.
22149
1421f39b
JM
221502017-12-18 Joseph Myers <joseph@codesourcery.com>
22151
40c4162d
JM
22152 * nptl/tst-attr3.c: Include <libc-diag.h>.
22153 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22154
5983df32
JM
22155 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22156
1421f39b
JM
22157 * string/tester.c (test_strncat): Also disable -Warray-bounds
22158 warnings for two tests.
22159
00c714df
L
221602017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22161
22162 [BZ #22614]
22163 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22164 $(cc-pie-default) == yes.
22165 * config.make.in (cc-pie-default): New.
22166 * configure.ac (libc_cv_pie_default): Renamed to ...
22167 (libc_cv_cc_pie_default): This.
22168 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22169 * configure: Regenerated.
22170
8e1472d2
FW
221712017-12-18 Florian Weimer <fweimer@redhat.com>
22172
22173 [BZ #20204]
22174 ld.so: Harden dl-libc/libdl hooks.
22175 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22176 (rtld_active): New function.
22177 * dlfcn/dladdr.c (__dladdr): Call it.
22178 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22179 * dlfcn/dlclose.c (__dlcose): Likewise.
22180 * dlfcn/dlerror.c (__dlerror): Likewise.
22181 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22182 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22183 * dlfcn/dlopen.c (__dlopen): Likewise.
22184 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22185 * dlfcn/dlsym.c (__dlsym): Likewise.
22186 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22187 * libio/vtables.c (_IO_vtable_check): Likewise.
22188 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22189 (__libc_dlclose): Likewise.
22190 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22191 assignment.
22192
49b036bc
JM
221932017-12-18 Joseph Myers <joseph@codesourcery.com>
22194
22195 [BZ #22446]
22196 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22197 buffers for readlink input and output.
22198
368b6c8d
ST
221992017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22200
c85c564d
ST
22201 [BZ #22624]
22202 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22203 inhibit_stack_protector.
22204
368b6c8d
ST
22205 [BZ #22624]
22206 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22207 inhibit_stack_protector.
22208
bb195224
DL
222092017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22210
22211 [BZ #22627]
22212 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22213 code and invocation.
22214
14d886ed
SN
222152017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22216
22217 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22218
7d38eb38
AJ
222192017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22220
22221 [BZ #22505]
22222 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22223
2e77deef
RS
222242017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22225
22226 * sysdeps/s390/fpu/libm-test-ulps: Update.
22227
0b9bef6d
RS
222282017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22229
22230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22231
984ae996
RS
222322017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22233
22234 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22235 constants to s_sincosf.h file.
22236 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22237 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22238 implementation.
22239 * sysdeps/ieee754/flt-32/s_sincosf.h:
22240 New file.
22241
363e4519 222422017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
22243
22244 [BZ #14681]
22245 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22246 before mtrace.
22247
9d7a3741
L
222482017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22249
22250 [BZ #19574]
22251 * INSTALL: Regenerated.
22252 * Makeconfig (real-static-start-installed-name): New.
22253 (pic-default): Updated for --enable-static-pie.
22254 (pie-default): New for --enable-static-pie.
22255 (default-pie-ldflag): Likewise.
22256 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22257 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22258 Replace $(static-start-installed-name) with
22259 $(real-static-start-installed-name).
22260 (+prectorT): Updated for --enable-static-pie.
22261 (+postctorT): Likewise.
22262 (CFLAGS-.o): Add $(pie-default).
22263 (CFLAGS-.op): Likewise.
22264 * NEWS: Mention --enable-static-pie.
22265 * config.h.in (ENABLE_STATIC_PIE): New.
22266 * configure.ac (--enable-static-pie): New configure option.
22267 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22268 (have-static-pie): Likewise.
22269 Enable static PIE if linker supports --no-dynamic-linker.
22270 (ENABLE_STATIC_PIE): New AC_DEFINE.
22271 (enable-static-pie): New LIBC_CONFIG_VAR.
22272 * configure: Regenerated.
22273 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22274 gr$(start-installed-name) for --enable-static-pie.
22275 (extra-objs): Likewise.
22276 (install-lib): Likewise.
22277 (extra-objs): Add static-reloc.o and static-reloc.os
22278 ($(objpfx)$(start-installed-name)): Also depend on
22279 $(objpfx)static-reloc.o.
22280 ($(objpfx)r$(start-installed-name)): New.
22281 ($(objpfx)g$(start-installed-name)): Also depend on
22282 $(objpfx)static-reloc.os.
22283 ($(objpfx)gr$(start-installed-name)): New.
22284 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22285 in libc.a.
22286 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22287 initimage.
22288 * csu/static-reloc.c: New file.
22289 * elf/Makefile (routines): Add dl-reloc-static-pie.
22290 (elide-routines.os): Likewise.
22291 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22292 (tst-tls1-static-non-pie-no-pie): New.
22293 * elf/dl-reloc-static-pie.c: New file.
22294 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22295 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22296 STATIC_PIE_BOOTSTRAP.
22297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22298 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22299 (tests-static): Likewise.
22300 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22301 (tst-gmon-static-no-pie): New.
22302 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22303 (CRT-tst-gmon-static-pie): Likewise.
22304 (tst-gmon-static-pie-ENV): Likewise.
22305 (tests-special): Likewise.
22306 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22307 (clean-tst-gmon-static-pie-data): Likewise.
22308 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22309 * gmon/tst-gmon-static-pie.c: New file.
22310 * manual/install.texi: Document --enable-static-pie.
22311 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22312 (_dl_get_dl_main_map): Likewise.
22313 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22314 * sysdeps/x86_64/configure.ac: Likewise.
22315 * sysdeps/i386/configure: Regenerated.
22316 * sysdeps/x86_64/configure: Likewise.
22317 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22318 (ASFLAGS-.op): Likewise.
22319
95511aab
JM
223202017-12-15 Joseph Myers <joseph@codesourcery.com>
22321
22322 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22323 * posix/tst-mmap-offset.c (fname): Use /tmp.
22324 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22325
a7e3edf4
SE
223262017-12-15 Steve Ellcey <sellcey@cavium.com>
22327
22328 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22329
d232f2e1
TS
223302017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22331
22332 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22333 errno.
22334
174edbde
JM
223352017-12-15 Joseph Myers <joseph@codesourcery.com>
22336
5170fa49
JM
22337 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22338 --with-float=hard for arm-linux-gnueabihf configurations.
22339
f2da2fd8
JM
22340 [BZ #14121]
22341 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22342 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22343 ($(mo-installed)): Use $(objpfx)%.mo.
22344 (realclean): Remove rule.
22345
0c4fe28d
JM
22346 * po/Makefile (linguas): Remove rule and dependencies.
22347 (linguas.mo): Likewise.
22348 (.PHONY): Do not depend on linguas and linguas.mo.
22349 (podir): Remove variable.
22350 (pofiles): Likewise.
22351 [$(pofiles)] (%.po): Remove rule.
22352
174edbde
JM
22353 * sysdeps/sparc/sparc32/Makefile
22354 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22355 start-of-line whitespace in argument of echo.
22356 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22357 with whitespace. Generate __wrap_.udiv alias.
22358 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22359 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22360 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22361 * sysdeps/sparc/sparc32/urem.S: Likewise.
22362
1e36806f
RS
223632017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22364
22365 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22366 for aligned inputs.
22367
aa6932aa
SP
223682017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22369
5f1603c3
SP
22370 * benchtests/bench-strcmp.c: Print output in JSON format.
22371
aa6932aa
SP
22372 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22373
3ff3dfa5
FW
223742017-12-14 Florian Weimer <fweimer@redhat.com>
22375
22376 [BZ #22607]
22377 CVE-2017-1000409
22378 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22379 the expanded path string.
22380
8a0b17e4
FW
223812017-12-14 Florian Weimer <fweimer@redhat.com>
22382
22383 [BZ #22606]
22384 CVE-2017-1000408
22385 * elf/dl-load.c (system_dirs): Update comment.
22386 (nsystem_dirs_len): Use array_length.
22387 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22388
f58bd7f0
FW
223892017-12-14 Florian Weimer <fweimer@redhat.com>
22390
22391 Simplify compiling most of support/ outside of glibc.
22392 * support/check_addrinfo.c: Include <string.h>.
22393 * support/check_dns_packet.c: Likewise.
22394 * support/check_hostent.c: Likewise.
22395 * support/support_can_chroot.c: Include <support/xunistd.h>.
22396 * support/support_format_addrinfo.c: Include <stdlib.h>
22397 * support/support_format_dns_packet.c: Include <stdbool.h>.
22398 * support/support_format_hostent.c: Include <stdlib.h>.
22399 * support/support_format_netent.c: Likewise.
22400 * support/support_write_string.c: Include <support/xunistd.h>.
22401 * support/xdlfcn.c: Include <stddef.h>.
22402
4ca945e9
L
224032017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22404
22405 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22406
1b6e07f8
PM
224072017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22408 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22409
e6a1c5dc
PM
22410 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22411 (sysdeps_routines): Add memset-niagara7.
22412 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22413 Likewise.
22414 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22415 file.
22416 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22417 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22418 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22419 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22420 Add niagara7 option.
22421 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22422 memset.
22423
1b6e07f8
PM
22424 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22425 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22426 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22427 Likewise.
22428 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22429 New file.
22430 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22431 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22432 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22433 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22434 and __memmove_niagara7.
22435 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22436 Add niagara7 option.
22437 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22438 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22439 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22440 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22441 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22442
bfb7bf22
JM
224432017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22444
767a26d6
JM
22445 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22446 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22447 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22448 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22449
bfb7bf22
JM
22450 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22451 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22452 _dl_sparc_cap_flags array.
22453 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22454
2bce01eb
SP
224552017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22456
22457 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22458 time whenever possible.
22459
363e4519 224602017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
22461
22462 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22463 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22464
6f7c0092
JM
224652017-12-12 Joseph Myers <joseph@codesourcery.com>
22466
22467 * soft-fp/fmadf4.c: Move to ....
22468 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22469 * soft-fp/fmasf4.c: Move to ....
22470 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22471 * soft-fp/fmatf4.c: Move to ....
22472 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22473 * sysdeps/ieee754/soft-fp/Makefile: New file.
22474 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22475 * sysdeps/arm/preconfigure: Regenerated.
22476 * sysdeps/arm/nofpu/Implies: New file.
22477 * sysdeps/arm/s_fma.c: Remove file.
22478 * sysdeps/arm/s_fmaf.c: Likewise.
22479 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22480 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22481 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22482 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22483 * sysdeps/microblaze/s_fma.c: Remove file.
22484 * sysdeps/microblaze/s_fmaf.c: Likewise.
22485 * sysdeps/mips/mips32/nofpu/Implies: New file.
22486 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22487 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22488 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22489 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22490 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22491 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22492 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22493 implementation.
22494 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22495 * sysdeps/nios2/s_fma.c: Remove file.
22496 * sysdeps/nios2/s_fmaf.c: Likewise.
22497 * sysdeps/sh/nofpu/Implies: New file.
22498 * sysdeps/sh/s_fma.c: Remove file.
22499 * sysdeps/sh/s_fmaf.c: Likewise.
22500 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22501 * sysdeps/tile/s_fma.c: Remove file.
22502 * sysdeps/tile/s_fmaf.c: Likewise.
22503
ac817e08
L
225042017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22505
22506 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22507 Add s_cosf-sse2 and s_cosf-fma.
22508 (CFLAGS-s_cosf-fma.c): New.
22509 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22510 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22511 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22512
eb428576
SE
225132017-12-12 Steve Ellcey <sellcey@cavium.com>
22514
22515 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22516
c80acdc3
AZ
225172017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22518
cc683f7e
AZ
22519 * libio/Makefile (tests): Add tst-bz22415.
22520 (tst-bz22415-ENV): New rule.
22521 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22522 (tests-special): Add tst-bz22415-mem.out.
22523 ($(objpfx)tst-bz22415-mem.out): New rule.
22524 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22525 in case of a successful seek operation.
22526 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22527 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22528 buffer is required.
22529 * libio/tst-bz22415.c: New test.
22530
c80acdc3
AZ
22531 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22532
363e4519 225332017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
22534
22535 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22536 __IPC_64 to 0 to avoid IPC_64 being set.
22537
4e0dca54
SN
225382017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22539
22540 [BZ #22593]
22541 * math/bits/mathcalls.h (nextafter): Remove const.
22542 (nexttoward): Likewise.
22543
8df5d347
JM
225442017-12-12 Joseph Myers <joseph@codesourcery.com>
22545
22546 * configure.ac (--with-fp): Remove configure option.
22547 (with_fp_cond): New variable.
22548 (libc_cv_with_fp): New configure test. Use this variable instead
22549 of with_fp.
22550 * configure: Regenerated.
22551 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22552 * manual/install.texi (Configuring and compiling): Remove
22553 --without-fp.
22554 * INSTALL: Regenerated.
22555 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22556 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22557 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22558 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22559 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22560 use --without-fp to configure glibc.
22561
0cee1257
RJ
225622017-12-12 Rical Jasan <ricaljasan@pacific.net>
22563
22564 * manual/locale.texi (nl_langinfo): Fix a typo.
22565
363e4519 225662017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
22567
22568 [BZ #22588]
22569 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22570
36975e8e
L
225712017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22572
22573 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22574 (CFLAGS-argp-parse.c): Likewise.
22575 (CFLAGS-argp-fmtstream.c): Likewise.
22576 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22577 (CPPFLAGS-sha512-crypt.c): Likewise.
22578 (CPPFLAGS-md5-crypt.c): Likewise.
22579 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22580 (CFLAGS-stack_chk_fail_local.c): Likewise.
22581 (CFLAGS-backtrace.c): Likewise.
22582 (CFLAGS-sprintf_chk.c): Likewise.
22583 (CFLAGS-snprintf_chk.c): Likewise.
22584 (CFLAGS-vsprintf_chk.c): Likewise.
22585 (CFLAGS-vsnprintf_chk.c): Likewise.
22586 (CFLAGS-asprintf_chk.c): Likewise.
22587 (CFLAGS-vasprintf_chk.c): Likewise.
22588 (CFLAGS-obprintf_chk.c): Likewise.
22589 (CFLAGS-dprintf_chk.c): Likewise.
22590 (CFLAGS-vdprintf_chk.c): Likewise.
22591 (CFLAGS-printf_chk.c): Likewise.
22592 (CFLAGS-fprintf_chk.c): Likewise.
22593 (CFLAGS-vprintf_chk.c): Likewise.
22594 (CFLAGS-vfprintf_chk.c): Likewise.
22595 (CFLAGS-gets_chk.c): Likewise.
22596 (CFLAGS-fgets_chk.c): Likewise.
22597 (CFLAGS-fgets_u_chk.c): Likewise.
22598 (CFLAGS-fread_chk.c): Likewise.
22599 (CFLAGS-fread_u_chk.c): Likewise.
22600 (CFLAGS-swprintf_chk.c): Likewise.
22601 (CFLAGS-vswprintf_chk.c): Likewise.
22602 (CFLAGS-wprintf_chk.c): Likewise.
22603 (CFLAGS-fwprintf_chk.c): Likewise.
22604 (CFLAGS-vwprintf_chk.c): Likewise.
22605 (CFLAGS-vfwprintf_chk.c): Likewise.
22606 (CFLAGS-fgetws_chk.c): Likewise.
22607 (CFLAGS-fgetws_u_chk.c): Likewise.
22608 (CFLAGS-read_chk.c): Likewise.
22609 (CFLAGS-pread_chk.c): Likewise.
22610 (CFLAGS-pread64_chk.c): Likewise.
22611 (CFLAGS-recv_chk.c): Likewise.
22612 (CFLAGS-recvfrom_chk.c): Likewise.
22613 (CFLAGS-tst-longjmp_chk.c): Likewise.
22614 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22615 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22616 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22617 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22618 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22619 (CFLAGS-tst-chk1.c): Likewise.
22620 (CFLAGS-tst-chk2.c): Likewise.
22621 (CFLAGS-tst-chk3.c): Likewise.
22622 (CFLAGS-tst-chk4.cc): Likewise.
22623 (CFLAGS-tst-chk5.cc): Likewise.
22624 (CFLAGS-tst-chk6.cc): Likewise.
22625 (CFLAGS-tst-lfschk1.c): Likewise.
22626 (CFLAGS-tst-lfschk2.c): Likewise.
22627 (CFLAGS-tst-lfschk3.c): Likewise.
22628 (CFLAGS-tst-lfschk4.cc): Likewise.
22629 (CFLAGS-tst-lfschk5.cc): Likewise.
22630 (CFLAGS-tst-lfschk6.cc): Likewise.
22631 (CFLAGS-tst-ssp-1.c): Likewise.
22632 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22633 (CFLAGS-scandir64.c): Likewise.
22634 (CFLAGS-scandir-tail.c): Likewise.
22635 (CFLAGS-scandir64-tail.c): Likewise.
22636 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22637 (CFLAGS-dl-tunables.c): Likewise.
22638 (CFLAGS-dl-runtime.c): Likewise.
22639 (CFLAGS-dl-lookup.c): Likewise.
22640 (CFLAGS-dl-iterate-phdr.c): Likewise.
22641 (CFLAGS-vismain.c): Likewise.
22642 (CFLAGS-tst-linkall-static.c): Likewise.
22643 (CFLAGS-tst-linkall-static.c): Likewise.
22644 (CPPFLAGS-dl-load.c): Likewise.
22645 (CFLAGS-ldconfig.c): Likewise.
22646 (CFLAGS-dl-cache.c): Likewise.
22647 (CFLAGS-cache.c): Likewise.
22648 (CFLAGS-rtld.c): Likewise.
22649 (CFLAGS-multiload.c): Likewise.
22650 (CFLAGS-filtmod1.c): Likewise.
22651 (CFLAGS-tst-align.c): Likewise.
22652 (CFLAGS-tst-align2.c): Likewise.
22653 (CFLAGS-tst-alignmod.c): Likewise.
22654 (CFLAGS-tst-alignmod2.c): Likewise.
22655 (CPPFLAGS-tst-execstack.c): Likewise.
22656 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22657 (CFLAGS-tst-latepthreadmod.c): Likewise.
22658 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22659 (CFLAGS-getgrnam_r.c): Likewise.
22660 (CFLAGS-getgrent_r.c): Likewise.
22661 (CFLAGS-getgrent.c): Likewise.
22662 (CFLAGS-fgetgrent.c): Likewise.
22663 (CFLAGS-fgetgrent_r.c): Likewise.
22664 (CFLAGS-putgrent.c): Likewise.
22665 (CFLAGS-initgroups.c): Likewise.
22666 (CFLAGS-getgrgid.c): Likewise.
22667 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22668 (CFLAGS-getsgent.c): Likewise.
22669 (CFLAGS-fgetsgent.c): Likewise.
22670 (CFLAGS-fgetsgent_r.c): Likewise.
22671 (CFLAGS-putsgent.c): Likewise.
22672 (CFLAGS-getsgnam.c): Likewise.
22673 (CFLAGS-getsgnam_r.c): Likewise.
22674 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22675 (CFLAGS-iconv_charmap.c): Likewise.
22676 (CFLAGS-dummy-repertoire.c): Likewise.
22677 (CFLAGS-charmap.c): Likewise.
22678 (CFLAGS-linereader.c): Likewise.
22679 (CFLAGS-simple-hash.c): Likewise.
22680 (CFLAGS-gconv_conf.c): Likewise.
22681 (CFLAGS-iconvconfig.c): Likewise.
22682 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22683 (CFLAGS-gethstbyad.c): Likewise.
22684 (CFLAGS-gethstbynm_r.c): Likewise.
22685 (CFLAGS-gethstbynm.c): Likewise.
22686 (CFLAGS-gethstbynm2_r.c): Likewise.
22687 (CFLAGS-gethstbynm2.c): Likewise.
22688 (CFLAGS-gethstent_r.c): Likewise.
22689 (CFLAGS-gethstent.c): Likewise.
22690 (CFLAGS-rcmd.c): Likewise.
22691 (CFLAGS-getnetbynm_r.c): Likewise.
22692 (CFLAGS-getnetbynm.c): Likewise.
22693 (CFLAGS-getnetbyad_r.c): Likewise.
22694 (CFLAGS-getnetbyad.c): Likewise.
22695 (CFLAGS-getnetent_r.c): Likewise.
22696 (CFLAGS-getnetent.c): Likewise.
22697 (CFLAGS-getaliasent_r.c): Likewise.
22698 (CFLAGS-getaliasent.c): Likewise.
22699 (CFLAGS-getrpcent_r.c): Likewise.
22700 (CFLAGS-getrpcent.c): Likewise.
22701 (CFLAGS-getservent_r.c): Likewise.
22702 (CFLAGS-getservent.c): Likewise.
22703 (CFLAGS-getprtent_r.c): Likewise.
22704 (CFLAGS-getprtent.c): Likewise.
22705 (CFLAGS-either_ntoh.c): Likewise.
22706 (CFLAGS-either_hton.c): Likewise.
22707 (CFLAGS-getnetgrent.c): Likewise.
22708 (CFLAGS-getnetgrent_r.c): Likewise.
22709 (CFLAGS-tst-checks-posix.c): Likewise.
22710 (CFLAGS-tst-sockaddr.c): Likewise.
22711 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22712 (CFLAGS-tst-translit.c): Likewise.
22713 (CFLAGS-tst-gettext2.c): Likewise.
22714 (CFLAGS-tst-codeset.c): Likewise.
22715 (CFLAGS-tst-gettext3.c): Likewise.
22716 (CFLAGS-tst-gettext4.c): Likewise.
22717 (CFLAGS-tst-gettext5.c): Likewise.
22718 (CFLAGS-tst-gettext6.c): Likewise.
22719 * io/Makefile (CFLAGS-open.c): Likewise.
22720 (CFLAGS-open64.c): Likewise.
22721 (CFLAGS-creat.c): Likewise.
22722 (CFLAGS-creat64.c): Likewise.
22723 (CFLAGS-fcntl.c): Likewise.
22724 (CFLAGS-poll.c): Likewise.
22725 (CFLAGS-ppoll.c): Likewise.
22726 (CFLAGS-lockf.c): Likewise.
22727 (CFLAGS-statfs.c): Likewise.
22728 (CFLAGS-fstatfs.c): Likewise.
22729 (CFLAGS-statvfs.c): Likewise.
22730 (CFLAGS-fstatvfs.c): Likewise.
22731 (CFLAGS-fts.c): Likewise.
22732 (CFLAGS-fts64.c): Likewise.
22733 (CFLAGS-ftw.c): Likewise.
22734 (CFLAGS-ftw64.c): Likewise.
22735 (CFLAGS-lockf.c): Likewise.
22736 (CFLAGS-posix_fallocate.c): Likewise.
22737 (CFLAGS-posix_fallocate64.c): Likewise.
22738 (CFLAGS-fallocate.c): Likewise.
22739 (CFLAGS-fallocate64.c): Likewise.
22740 (CFLAGS-read.c): Likewise.
22741 (CFLAGS-write.c): Likewise.
22742 (CFLAGS-test-stat.c): Likewise.
22743 (CFLAGS-test-lfs.c): Likewise.
22744 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22745 (CFLAGS-fputc.c): Likewise.
22746 (CFLAGS-fputwc.c): Likewise.
22747 (CFLAGS-freopen64.c): Likewise.
22748 (CFLAGS-freopen.c): Likewise.
22749 (CFLAGS-fseek.c): Likewise.
22750 (CFLAGS-fseeko64.c): Likewise.
22751 (CFLAGS-fseeko.c): Likewise.
22752 (CFLAGS-ftello64.c): Likewise.
22753 (CFLAGS-ftello.c): Likewise.
22754 (CFLAGS-fwide.c): Likewise.
22755 (CFLAGS-genops.c): Likewise.
22756 (CFLAGS-getc.c): Likewise.
22757 (CFLAGS-getchar.c): Likewise.
22758 (CFLAGS-getwc.c): Likewise.
22759 (CFLAGS-getwchar.c): Likewise.
22760 (CFLAGS-iofclose.c): Likewise.
22761 (CFLAGS-iofflush.c): Likewise.
22762 (CFLAGS-iofgetpos64.c): Likewise.
22763 (CFLAGS-iofgetpos.c): Likewise.
22764 (CFLAGS-iofgets.c): Likewise.
22765 (CFLAGS-iofgetws.c): Likewise.
22766 (CFLAGS-iofputs.c): Likewise.
22767 (CFLAGS-iofputws.c): Likewise.
22768 (CFLAGS-iofread.c): Likewise.
22769 (CFLAGS-iofsetpos64.c): Likewise.
22770 (CFLAGS-iofsetpos.c): Likewise.
22771 (CFLAGS-ioftell.c): Likewise.
22772 (CFLAGS-iofwrite.c): Likewise.
22773 (CFLAGS-iogetdelim.c): Likewise.
22774 (CFLAGS-iogetline.c): Likewise.
22775 (CFLAGS-iogets.c): Likewise.
22776 (CFLAGS-iogetwline.c): Likewise.
22777 (CFLAGS-ioputs.c): Likewise.
22778 (CFLAGS-ioseekoff.c): Likewise.
22779 (CFLAGS-ioseekpos.c): Likewise.
22780 (CFLAGS-iosetbuffer.c): Likewise.
22781 (CFLAGS-iosetvbuf.c): Likewise.
22782 (CFLAGS-ioungetc.c): Likewise.
22783 (CFLAGS-ioungetwc.c): Likewise.
22784 (CFLAGS-oldfileops.c): Likewise.
22785 (CFLAGS-oldiofclose.c): Likewise.
22786 (CFLAGS-oldiofgetpos64.c): Likewise.
22787 (CFLAGS-oldiofgetpos.c): Likewise.
22788 (CFLAGS-oldiofsetpos64.c): Likewise.
22789 (CFLAGS-oldiofsetpos.c): Likewise.
22790 (CFLAGS-peekc.c): Likewise.
22791 (CFLAGS-putc.c): Likewise.
22792 (CFLAGS-putchar.c): Likewise.
22793 (CFLAGS-putwc.c): Likewise.
22794 (CFLAGS-putwchar.c): Likewise.
22795 (CFLAGS-rewind.c): Likewise.
22796 (CFLAGS-wfileops.c): Likewise.
22797 (CFLAGS-wgenops.c): Likewise.
22798 (CFLAGS-oldiofopen.c): Likewise.
22799 (CFLAGS-iofopen.c): Likewise.
22800 (CFLAGS-iofopen64.c): Likewise.
22801 (CFLAGS-oldtmpfile.c): Likewise.
22802 (CFLAGS-tst_putwc.c): Likewise.
22803 * locale/Makefile (CFLAGS-md5.c): Likewise.
22804 (CFLAGS-charmap.c): Likewise.
22805 (CFLAGS-locfile.c): Likewise.
22806 (CFLAGS-charmap-dir.c): Likewise.
22807 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22808 (CFLAGS-getpt.c): Likewise.
22809 (CFLAGS-pt_chown.c): Likewise.
22810 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22811 (CFLAGS-obstack.c): Likewise.
22812 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22813 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22814 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22815 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22816 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22817 (CFLAGS-test-tgmath.c): Likewise.
22818 (CFLAGS-test-tgmath2.c): Likewise.
22819 (CFLAGS-test-tgmath-ret.c): Likewise.
22820 (CFLAGS-test-powl.c): Likewise.
22821 (CFLAGS-test-snan.c): Likewise.
22822 (CFLAGS-test-signgam-finite.c): Likewise.
22823 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22824 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22825 (CFLAGS-test-signgam-uchar.c): Likewise.
22826 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22827 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22828 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22829 (CFLAGS-test-signgam-uint.c): Likewise.
22830 (CFLAGS-test-signgam-uint-init.c): Likewise.
22831 (CFLAGS-test-signgam-uint-static.c): Likewise.
22832 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22833 (CFLAGS-test-signgam-ullong.c): Likewise.
22834 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22835 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22836 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22837 (CFLAGS-test-math-cxx11.cc): Likewise.
22838 (CFLAGS-test-math-isinff.cc): Likewise.
22839 (CFLAGS-test-math-iszero.cc): Likewise.
22840 (CFLAGS-test-math-issignaling.cc): Likewise.
22841 (CFLAGS-test-math-iscanonical.cc): Likewise.
22842 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22843 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22844 (CFLAGS-test-flt-eval-method.c): Likewise.
22845 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22846 (CFLAGS-test-finite-macros.c): Likewise.
22847 * misc/Makefile (CFLAGS-select.c): Likewise.
22848 (CFLAGS-tsearch.c): Likewise.
22849 (CFLAGS-lsearch.c): Likewise.
22850 (CFLAGS-pselect.c): Likewise.
22851 (CFLAGS-readv.c): Likewise.
22852 (CFLAGS-writev.c): Likewise.
22853 (CFLAGS-preadv.c): Likewise.
22854 (CFLAGS-preadv64.c): Likewise.
22855 (CFLAGS-pwritev.c): Likewise.
22856 (CFLAGS-pwritev64.c): Likewise.
22857 (CFLAGS-preadv2.c): Likewise.
22858 (CFLAGS-preadv64v2.c): Likewise.
22859 (CFLAGS-pwritev2.c): Likewise.
22860 (CFLAGS-pwritev64v2.c): Likewise.
22861 (CFLAGS-usleep.c): Likewise.
22862 (CFLAGS-syslog.c): Likewise.
22863 (CFLAGS-error.c): Likewise.
22864 (CFLAGS-getpass.c): Likewise.
22865 (CFLAGS-mkstemp.c): Likewise.
22866 (CFLAGS-mkstemp64.c): Likewise.
22867 (CFLAGS-getsysstats.c): Likewise.
22868 (CFLAGS-getusershell.c): Likewise.
22869 (CFLAGS-err.c): Likewise.
22870 (CFLAGS-tst-tsearch.c): Likewise.
22871 (CFLAGS-msync.c): Likewise.
22872 (CFLAGS-fdatasync.c): Likewise.
22873 (CFLAGS-fsync.c): Likewise.
22874 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22875 (CFLAGS-unwind.c): Likewise.
22876 (CFLAGS-unwind-forcedunwind.c): Likewise.
22877 (CFLAGS-pthread_cancel.c): Likewise.
22878 (CFLAGS-pthread_setcancelstate.c): Likewise.
22879 (CFLAGS-pthread_setcanceltype.c): Likewise.
22880 (CFLAGS-cancellation.c): Likewise.
22881 (CFLAGS-libc-cancellation.c): Likewise.
22882 (CFLAGS-pthread_exit.c): Likewise.
22883 (CFLAGS-forward.c): Likewise.
22884 (CFLAGS-pthread_testcancel.c): Likewise.
22885 (CFLAGS-pthread_join.c): Likewise.
22886 (CFLAGS-pthread_timedjoin.c): Likewise.
22887 (CFLAGS-pthread_once.c): Likewise.
22888 (CFLAGS-pthread_cond_wait.c): Likewise.
22889 (CFLAGS-sem_wait.c): Likewise.
22890 (CFLAGS-sem_timedwait.c): Likewise.
22891 (CFLAGS-fcntl.c): Likewise.
22892 (CFLAGS-lockf.c): Likewise.
22893 (CFLAGS-pread.c): Likewise.
22894 (CFLAGS-pread64.c): Likewise.
22895 (CFLAGS-pwrite.c): Likewise.
22896 (CFLAGS-pwrite64.c): Likewise.
22897 (CFLAGS-wait.c): Likewise.
22898 (CFLAGS-waitpid.c): Likewise.
22899 (CFLAGS-sigwait.c): Likewise.
22900 (CFLAGS-msgrcv.c): Likewise.
22901 (CFLAGS-msgsnd.c): Likewise.
22902 (CFLAGS-tcdrain.c): Likewise.
22903 (CFLAGS-open.c): Likewise.
22904 (CFLAGS-open64.c): Likewise.
22905 (CFLAGS-pause.c): Likewise.
22906 (CFLAGS-recv.c): Likewise.
22907 (CFLAGS-send.c): Likewise.
22908 (CFLAGS-accept.c): Likewise.
22909 (CFLAGS-sendto.c): Likewise.
22910 (CFLAGS-connect.c): Likewise.
22911 (CFLAGS-recvfrom.c): Likewise.
22912 (CFLAGS-recvmsg.c): Likewise.
22913 (CFLAGS-sendmsg.c): Likewise.
22914 (CFLAGS-close.c): Likewise.
22915 (CFLAGS-read.c): Likewise.
22916 (CFLAGS-write.c): Likewise.
22917 (CFLAGS-nanosleep.c): Likewise.
22918 (CFLAGS-sigsuspend.c): Likewise.
22919 (CFLAGS-msync.c): Likewise.
22920 (CFLAGS-fdatasync.c): Likewise.
22921 (CFLAGS-fsync.c): Likewise.
22922 (CFLAGS-pt-system.c): Likewise.
22923 (CFLAGS-tst-cleanup2.c): Likewise.
22924 (CFLAGS-tst-cleanupx2.c): Likewise.
22925 (CFLAGS-flockfile.c): Likewise.
22926 (CFLAGS-ftrylockfile.c): Likewise.
22927 (CFLAGS-funlockfile.c): Likewise.
22928 (CFLAGS-tst-initializers1.c): Likewise.
22929 (CFLAGS-tst-initializers1-c89.c): Likewise.
22930 (CFLAGS-tst-initializers1-c99.c): Likewise.
22931 (CFLAGS-tst-initializers1-c11.c): Likewise.
22932 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22933 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22934 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22935 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22936 (CFLAGS-nscd_getgr_r.c): Likewise.
22937 (CFLAGS-nscd_gethst_r.c): Likewise.
22938 (CFLAGS-nscd_getai.c): Likewise.
22939 (CFLAGS-nscd_initgroups.c): Likewise.
22940 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22941 (CFLAGS-pause.c): Likewise.
22942 (CFLAGS-pread.c): Likewise.
22943 (CFLAGS-pread64.c): Likewise.
22944 (CFLAGS-pwrite.c): Likewise.
22945 (CFLAGS-pwrite64.c): Likewise.
22946 (CFLAGS-sleep.c): Likewise.
22947 (CFLAGS-wait.c): Likewise.
22948 (CFLAGS-waitid.c): Likewise.
22949 (CFLAGS-waitpid.c): Likewise.
22950 (CFLAGS-getopt.c): Likewise.
22951 (CFLAGS-wordexp.c): Likewise.
22952 (CFLAGS-sysconf.c): Likewise.
22953 (CFLAGS-pathconf.c): Likewise.
22954 (CFLAGS-fpathconf.c): Likewise.
22955 (CFLAGS-spawn.c): Likewise.
22956 (CFLAGS-spawnp.c): Likewise.
22957 (CFLAGS-spawni.c): Likewise.
22958 (CFLAGS-glob.c): Likewise.
22959 (CFLAGS-glob64.c): Likewise.
22960 (CFLAGS-getconf.c): Likewise.
22961 (CFLAGS-nanosleep.c): Likewise.
22962 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22963 (CFLAGS-getpwent.c): Likewise.
22964 (CFLAGS-getpw.c): Likewise.
22965 (CFLAGS-fgetpwent_r.c): Likewise.
22966 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22967 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22968 (CFLAGS-mq_timedreceive.c): Likewise.
22969 (CFLAGS-mq_timedsend.c): Likewise.
22970 (CFLAGS-clock_nanosleep.c): Likewise.
22971 (CFLAGS-librt-cancellation.c): Likewise.
22972 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22973 (CFLAGS-getspent.c): Likewise.
22974 (CFLAGS-fgetspent.c): Likewise.
22975 (CFLAGS-fgetspent_r.c): Likewise.
22976 (CFLAGS-putspent.c): Likewise.
22977 (CFLAGS-getspnam.c): Likewise.
22978 (CFLAGS-getspnam_r.c): Likewise.
22979 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22980 (CFLAGS-sigsuspend.c): Likewise.
22981 (CFLAGS-sigtimedwait.c): Likewise.
22982 (CFLAGS-sigwait.c): Likewise.
22983 (CFLAGS-sigwaitinfo.c): Likewise.
22984 (CFLAGS-sigreturn.c): Likewise.
22985 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22986 (CFLAGS-vfwprintf.c): Likewise.
22987 (CFLAGS-tmpfile.c): Likewise.
22988 (CFLAGS-tmpfile64.c): Likewise.
22989 (CFLAGS-tempname.c): Likewise.
22990 (CFLAGS-psignal.c): Likewise.
22991 (CFLAGS-vprintf.c): Likewise.
22992 (CFLAGS-cuserid.c): Likewise.
22993 (CFLAGS-errlist.c): Likewise.
22994 (CFLAGS-siglist.c): Likewise.
22995 (CFLAGS-scanf15.c): Likewise.
22996 (CFLAGS-scanf17.c): Likewise.
22997 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22998 (CFLAGS-msort.c): Likewise.
22999 (CFLAGS-qsort.c): Likewise.
23000 (CFLAGS-system.c): Likewise.
23001 (CFLAGS-fmtmsg.c): Likewise.
23002 (CFLAGS-strfmon.c): Likewise.
23003 (CFLAGS-strfmon_l.c): Likewise.
23004 (CFLAGS-strfromd.c): Likewise.
23005 (CFLAGS-strfromf.c): Likewise.
23006 (CFLAGS-strfroml.c): Likewise.
23007 (CFLAGS-tst-bsearch.c): Likewise.
23008 (CFLAGS-tst-qsort.c): Likewise.
23009 (CFLAGS-tst-makecontext2.c): Likewise.
23010 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
23011 (CFLAGS-xnlm_prot.c): Likewise.
23012 (CFLAGS-xrstat.c): Likewise.
23013 (CFLAGS-xyppasswd.c): Likewise.
23014 (CFLAGS-xklm_prot.c): Likewise.
23015 (CFLAGS-xrex.c): Likewise.
23016 (CFLAGS-xsm_inter.c): Likewise.
23017 (CFLAGS-xmount.c): Likewise.
23018 (CFLAGS-xrusers.c): Likewise.
23019 (CFLAGS-xspray.c): Likewise.
23020 (CFLAGS-xnfs_prot.c): Likewise.
23021 (CFLAGS-xrquota.c): Likewise.
23022 (CFLAGS-xkey_prot.c): Likewise.
23023 (CFLAGS-auth_unix.c): Likewise.
23024 (CFLAGS-key_call.c): Likewise.
23025 (CFLAGS-pmap_rmt.c): Likewise.
23026 (CFLAGS-clnt_perr.c): Likewise.
23027 (CFLAGS-openchild.c): Likewise.
23028 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23029 (CFLAGS-msgsnd.c): Likewise.
23030 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23031 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23032 (CFLAGS-tzset.c): Likewise.
23033 (CFLAGS-getdate.c): Likewise.
23034 (CFLAGS-test_time.c): Likewise.
23035 (CPPFLAGS-tst-tzname.c): Likewise.
23036 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23037 (CFLAGS-zic.c): Likewise.
23038 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23039 (CFLAGS-wcswidth.c): Likewise.
23040 (CFLAGS-wcstol.c): Likewise.
23041 (CFLAGS-wcstoul.c): Likewise.
23042 (CFLAGS-wcstoll.c): Likewise.
23043 (CFLAGS-wcstoull.c): Likewise.
23044 (CFLAGS-wcstod.c): Likewise.
23045 (CFLAGS-wcstold.c): Likewise.
23046 (CFLAGS-wcstof128.c): Likewise.
23047 (CFLAGS-wcstof.c): Likewise.
23048 (CFLAGS-wcstol_l.c): Likewise.
23049 (CFLAGS-wcstoul_l.c): Likewise.
23050 (CFLAGS-wcstoll_l.c): Likewise.
23051 (CFLAGS-wcstoull_l.c): Likewise.
23052 (CFLAGS-wcstod_l.c): Likewise.
23053 (CFLAGS-wcstold_l.c): Likewise.
23054 (CFLAGS-wcstof128_l.c): Likewise.
23055 (CFLAGS-wcstof_l.c): Likewise.
23056 (CPPFLAGS-tst-wchar-h.c): Likewise.
23057 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 23058
f4b2aea6
PC
230592017-12-11 Paul A. Clarke <pc@us.ibm.com>
23060
23061 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23062
c9cd7b0c
AZ
230632017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23064 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23065
23066 * manual/tunables.texi (Hardware Capability Tunables): Document
23067 glibc.tune.cached_memopt.
23068 * sysdeps/powerpc/cpu-features.c: New file.
23069 * sysdeps/powerpc/cpu-features.h: New file.
23070 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23071 _dl_powerpc_cpu_features.
23072 * sysdeps/powerpc/dl-tunables.list: New file.
23073 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23074 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23075 (INIT_ARCH): Initialize use_aligned_memopt.
23076 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23077 IS_IN(rtld))]: Restrict dl_platform_init availability and
23078 initialize CPU features used by tunables.
23079 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23080 Add memcpy-power8-cached.
23081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23082 __memcpy_power8_cached.
23083 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23084 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23085 New file.
23086
e70c6fee
L
230872017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23088
23089 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23090 (CFLAGS-noinl-tester.c): Likewise.
23091 (CFLAGS-tst-strlen.c): Likewise.
23092 (CFLAGS-stratcliff.c): Likewise.
23093 (CFLAGS-test-ffs.c): Likewise.
23094 (CFLAGS-tst-inlcall.c): Likewise.
23095 (CFLAGS-tst-xbzero-opt.c): Likewise.
23096 (CFLAGS-memcpy.c): Likewise.
23097 (CFLAGS-wordcopy.c): Likewise.
23098
dee94366
SL
230992017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23100
23101 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23102 Store r15 on stack and add cfi rule.
23103 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23104 Likewise.
23105
363e4519 231062017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
23107
23108 [BZ #22577]
23109 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23110 call.
23111
9d0ffa60
L
231122017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23115 Add s_sinf-sse2 and s_sinf-fma.
23116 (CFLAGS-s_sinf-fma.c): New.
23117 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23118 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23119 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23120
9574c7b6
L
231212017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23122
23123 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23124
d15e83c5
JM
231252017-12-07 Joseph Myers <joseph@codesourcery.com>
23126
23127 [BZ #22568]
23128 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23129 part of result to imaginary part of argument if it is zero and the
23130 real part of the argument is not finite.
23131 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23132 of result to real part of argument if it is zero and the imaginary
23133 part of the argument is not finite.
23134
d89756eb
MF
231352017-12-07 Mike FABIAN <mfabian@redhat.com>
23136
23137 [BZ #22524]
23138 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23139 and to the list of locales to be built for testing.
23140 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23141 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23142 and build the collation rules upon that.
23143
1f9055ce
JM
231442017-12-07 Joseph Myers <joseph@codesourcery.com>
23145
23146 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23147 * manual/math.texi (Mathematics): Document support for _Float32.
23148 * math/Makefile (test-types): Add float32.
23149 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23150 * stdlib/Versions (GLIBC_2.27): Likewise.
23151 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23152 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23153 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23154 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23155 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23156 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23157 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23158 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23159 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23160 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23161 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23162 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23163 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23164 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23165 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23166 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23167 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23168 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23169 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23170 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23171 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23172 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23173 Likewise.
23174 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23175 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23176 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23177 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23178 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23180 Likewise.
23181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23182 Likewise.
23183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23184 Likewise.
23185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23186 Likewise.
23187
23188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23189 Likewise.
23190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23191 Likewise.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23193 Likewise.
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23195 Likewise.
23196 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23198 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23200 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23201 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23203 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23204 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23205 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23207 Likewise.
23208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23209 Likewise.
23210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23211 Likewise.
23212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23213 Likewise.
23214 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23215 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23216 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23217 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23218 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23219 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23220 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23221 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23222
5244527d
JM
232232017-12-06 Joseph Myers <joseph@codesourcery.com>
23224
fb1ca2aa
JM
23225 * stdlib/strtof.c: Include <bits/floatn.h>
23226 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23227 and later undefine as macro. Define as weak alias if
23228 [!USE_WIDE_CHAR].
23229 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23230 and later undefine as macro. Define as weak alias if
23231 [USE_WIDE_CHAR].
23232 * stdlib/strtof_l.c: Include <bits/floatn.h>
23233 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23234 and later undefine as macro. Define as weak alias if
23235 [!USE_WIDE_CHAR].
23236 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23237 and later undefine as macro. Define as weak alias if
23238 [USE_WIDE_CHAR].
23239
fc10cc3f
JM
23240 * stdlib/strfromf.c: Include <bits/floatn.h>.
23241 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23242 and later undefine as macro and define as weak alias.
23243
e420d228
JM
23244 * math/test-float32.h: New file.
23245
26007a2f
JM
23246 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23247 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23248 (libm_alias_float_other_r): Create f32 alias.
23249 (libm_alias_float_r): Use semicolon before call to
23250 libm_alias_float_other_r.
23251
c191f64c
JM
23252 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23253 second argument to libm_alias_float_other.
23254 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23255 second argument to libm_alias_float_other.
23256 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23257 argument to libm_alias_float_other.
23258
5244527d
JM
23259 [BZ #22561]
23260 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23261 real part of result for argument 0 + i * NaN.
23262 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23263 results for tests of 0 + i * NaN.
23264
d73fac82
AZ
232652017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23266
23267 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23268
7ec094e8
DM
232692017-12-06 David S. Miller <davem@davemloft.net>
23270
23271 * sysdeps/sparc/fpu/libm-test-ulps: Update
23272 exp_{downward,towardzero,upward} ulps.
23273
53994f12
JM
232742017-12-06 Joseph Myers <joseph@codesourcery.com>
23275
1dbe6f64
JM
23276 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23277 variables static.
23278
53994f12
JM
23279 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23280 (Y0_2D): Likewise.
23281 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23282 (Y0_2D): Likewise.
23283 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23284 (Y0_2D): Likewise.
23285 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23286 (Y0_2D): Likewise.
23287
62ea2193
MF
232882017-12-06 Mike FABIAN <mfabian@redhat.com>
23289
23290 [BZ #22515]
23291 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23292 and to the list of locales to be built for testing.
23293 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23294 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23295 and build the collation rules upon that.
23296
87235d70
RS
232972017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23298
23299 * NEWS: Add sinf to list of optimized functions.
23300
0d93b7fd
JM
233012017-12-06 Joseph Myers <joseph@codesourcery.com>
23302
23303 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23304 (__HAVE_FLOAT32X): Likewise.
23305 * manual/math.texi (Mathematics): Document support for _Float64
23306 and _Float32x.
23307 * math/Makefile (test-types): Add float64 and float32x.
23308 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23309 functions.
23310 * stdlib/Versions (GLIBC_2.27): Likewise.
23311 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23312 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23313 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23314 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23315 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23316 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23317 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23318 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23319 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23320 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23321 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23322 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23323 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23324 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23325 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23326 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23327 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23328 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23329 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23330 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23331 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23332 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23333 Likewise.
23334 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23336 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23337 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23338 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23340 Likewise.
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23342 Likewise.
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23344 Likewise.
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23346 Likewise.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23348 Likewise.
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23350 Likewise.
23351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23352 Likewise.
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23354 Likewise.
23355 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23356 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23357 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23358 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23359 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23360 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23361 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23362 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23363 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23364 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23366 Likewise.
23367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23368 Likewise.
23369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23370 Likewise.
23371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23372 Likewise.
23373 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23374 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23375 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23376 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23377 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23378 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23379 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23380 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23381
f7787234
JM
233822017-12-05 Joseph Myers <joseph@codesourcery.com>
23383
23384 * bits/floatn-common.h: Include <bits/long-double.h>.
23385 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23386 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23387 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23388 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23389 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23390 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23391 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23392 (__builtin_huge_valf64): Use __builtin_huge_vall.
23393 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23394 (__builtin_inff64): Use __builtin_infl.
23395 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23396 (__builtin_nanf64): Use __builtin_nanl.
23397 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23398 (__builtin_nansf64): Use __builtin_nansl.
23399
363e4519
DL
234002017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23401 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 23402 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
23403
23404 * elf/dl-tunables.list: Add elision parameters.
23405 * manual/tunables.texi: Add entries about elision tunable.
23406 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23407 Add callback functions to dynamically enable/disable elision.
23408 Add multiple callbacks functions to set elision parameters.
23409 Deleted __libc_enable_secure check.
23410 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23411 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23412 * configure: Regenerated.
23413 * configure.ac: Option enable_lock_elision was deleted.
23414 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23415 * config.make.in: Remove references to enable_lock_elision.
23416 * manual/install.texi: Elision configure option was removed.
23417 * INSTALL: Regenerated to remove enable_lock_elision.
23418 * nptl/Makefile:
23419 Disable elision so it can verify error case for destroying a mutex.
23420 * sysdeps/powerpc/nptl/elide.h:
23421 Cleanup ENABLE_LOCK_ELISION check.
23422 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23423 * sysdeps/s390/configure: Regenerated.
23424 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23425 * nptl/tst-mutex8.c:
23426 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23427 * sysdeps/powerpc/powerpc32/sysdep.h:
23428 Deleted all ENABLE_LOCK_ELISION checks.
23429 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23430 * sysdeps/powerpc/sysdep.h: Likewise.
23431 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23432 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23433 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23434 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23435 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23436 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23437 enable-lock-elision.
23438
a5a2a76b
JM
234392017-12-05 Joseph Myers <joseph@codesourcery.com>
23440
23441 * stdlib/strtod.c: Include <bits/floatn.h>.
23442 (BUILD_DOUBLE): New macro.
23443 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23444 (strtof64): Define and later undefine as macro. Define as weak
23445 alias if [!USE_WIDE_CHAR].
23446 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23447 (wcstof64): Define and later undefine as macro. Define as weak
23448 alias if [USE_WIDE_CHAR].
23449 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23450 (strtof32x): Define and later undefine as macro. Define as weak
23451 alias if [!USE_WIDE_CHAR].
23452 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23453 (wcstof32x): Define and later undefine as macro. Define as weak
23454 alias if [USE_WIDE_CHAR].
23455 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23456 (BUILD_DOUBLE): New macro.
23457 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23458 (strtof64_l): Define and later undefine as macro. Define as weak
23459 alias if [!USE_WIDE_CHAR].
23460 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23461 (wcstof64_l): Define and later undefine as macro. Define as weak
23462 alias if [USE_WIDE_CHAR].
23463 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23464 (strtof32x_l): Define and later undefine as macro. Define as weak
23465 alias if [!USE_WIDE_CHAR].
23466 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23467 (wcstof32x_l): Define and later undefine as macro. Define as weak
23468 alias if [USE_WIDE_CHAR].
23469
94d80dfc
AZ
234702017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23471
23472 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23473 (reduced): Use ones as double instead of integer.
23474
00d54af7
SN
234752017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23476
23477 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23478
f2d64d62
JM
234792017-12-05 Joseph Myers <joseph@codesourcery.com>
23480
1f70eae4
JM
23481 * stdlib/strfromd.c: Include <bits/floatn.h>.
23482 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23483 and later undefine as macro and define as weak alias.
23484 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23485 Likewise.
23486
e2c4dce5
JM
23487 * math/test-float32x.h: New file.
23488 * math/test-float64.h: Likewise.
23489
f2d64d62
JM
23490 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23491 (libm_alias_double_other_r_f64): New macro.
23492 (libm_alias_double_other_r_f32x): Likewise.
23493 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23494 libm_alias_double_other_r_f32x.
23495 (libm_alias_double_r): Use semicolon before call to
23496 libm_alias_double_other_r.
23497 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23498 <bits/floatn.h>.
23499 (libm_alias_double_other_r_f64): New macro.
23500 (libm_alias_double_other_r_f32x): Likewise.
23501 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23502 libm_alias_double_other_r_f32x.
23503
91c318e7
L
235042017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23505
23506 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23507 int.
23508 (SINF_FUNC): Likewise. Replace floor with simple casts.
23509
de9661d6
MF
235102017-12-05 Mike FABIAN <mfabian@redhat.com>
23511
23512 [BZ #22517]
23513 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23514 and to the list of locales to be built for testing.
23515 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23516 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23517 and build the collation rules upon that.
23518
f18b8dc7
CM
235192017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23520
23521 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23522 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23523 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23524 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23525 instead of __insn__xxx.
23526 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23527 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23528 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23529 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23530 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23531 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23532
446d22e9
FW
235332017-12-05 Florian Weimer <fweimer@redhat.com>
23534
23535 Linux: Implement interfaces for memory protection keys
23536 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23537 xsignal, xsysconf.
23538 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23539 * support/xunistd.h (xsysconf): Declare.
23540 * support/xraise.c: New file.
23541 * support/xsigaction.c: Likewise.
23542 * support/xsignal.c: Likewise.
23543 * support/xsysconf.c: Likewise.
23544 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23545 pkey_set, pkey_get, pkey_mprotect.
23546 [misc] (tests): Add tst-pkey.
23547 (tst-pkey): Link with -lpthread.
23548 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23549 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23550 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23551 (PKEY_DISABLE_WRITE): Define.
23552 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23553 Declare.
23554 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23555 (SEGV_PKUERR): Add.
23556 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23557 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23558 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23559 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23560 Add.
23561 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23562 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23563 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23564 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23565 * sysdeps/unix/sysv/linux/**.abilist: Update.
23566
da616c14
FW
235672017-12-05 Florian Weimer <fweimer@redhat.com>
23568
23569 * support/tst-test_compare.c (subprocess): Use long long instead
23570 of long argument for consistent type width across 32-bit and
23571 64-bit architectures.
23572 (do_test): Adjust expected output.
23573
216933b2
JM
235742017-12-05 Joseph Myers <joseph@codesourcery.com>
23575
23576 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23577 (cosf): Define using libm_alias_float.
23578 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23579 (fabsf): Define using libm_alias_float.
23580 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23581 (fmaf): Define using libm_alias_float.
23582 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23583 (rintf): Define using libm_alias_float.
23584 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23585 (sinf): Define using libm_alias_float.
23586 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23587 <libm-alias-float.h>.
23588 (modff): Define using libm_alias_float.
23589 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23590 <libm-alias-float.h>.
23591 (logbf): Define using libm_alias_float.
23592 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23593 <libm-alias-float.h>.
23594 (ceilf): Define using libm_alias_float.
23595 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23596 <libm-alias-float.h>.
23597 (copysignf): Define using libm_alias_float.
23598 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23599 <libm-alias-float.h>.
23600 (floorf): Define using libm_alias_float.
23601 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23602 <libm-alias-float.h>.
23603 (llrintf): Define using libm_alias_float.
23604 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23605 <libm-alias-float.h>.
23606 (llroundf): Define using libm_alias_float.
23607 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23608 <libm-alias-float.h>.
23609 (lrintf): Define using libm_alias_float.
23610 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23611 <libm-alias-float.h>.
23612 (lroundf): Define using libm_alias_float.
23613 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23614 <libm-alias-float.h>.
23615 (nearbyintf): Define using libm_alias_float.
23616 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23617 <libm-alias-float.h>.
23618 (rintf): Define using libm_alias_float.
23619 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23620 <libm-alias-float.h>.
23621 (roundf): Define using libm_alias_float.
23622 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23623 <libm-alias-float.h>.
23624 (truncf): Define using libm_alias_float.
23625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23626 Include <libm-alias-float.h>.
23627 (ceilf): Define using libm_alias_float.
23628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23629 Include <libm-alias-float.h>.
23630 (copysignf): Define using libm_alias_float.
23631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23632 Include <libm-alias-float.h>.
23633 (floorf): Define using libm_alias_float.
23634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23635 Include <libm-alias-float.h>.
23636 (llrintf): Define using libm_alias_float.
23637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23638 Include <libm-alias-float.h>.
23639 (llroundf): Define using libm_alias_float.
23640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23641 Include <libm-alias-float.h>.
23642 (logbf): Define using libm_alias_float.
23643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23644 Include <libm-alias-float.h>.
23645 (lrintf): Define using libm_alias_float.
23646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23647 Include <libm-alias-float.h>.
23648 (lroundf): Define using libm_alias_float.
23649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23650 Include <libm-alias-float.h>.
23651 (modff): Define using libm_alias_float.
23652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23653 Include <libm-alias-float.h>.
23654 (roundf): Define using libm_alias_float.
23655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23656 Include <libm-alias-float.h>.
23657 (truncf): Define using libm_alias_float.
23658 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23659 <libm-alias-float.h>.
23660 (llrintf): Define using libm_alias_float.
23661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23662 <libm-alias-float.h>.
23663 (llroundf): Define using libm_alias_float.
23664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23665 <libm-alias-float.h>.
23666 (ceilf): Define using libm_alias_float.
23667 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23668 <libm-alias-float.h>.
23669 (floorf): Define using libm_alias_float.
23670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23671 <libm-alias-float.h>.
23672 (llroundf): Define using libm_alias_float.
23673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23674 <libm-alias-float.h>.
23675 (lroundf): Define using libm_alias_float.
23676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23677 <libm-alias-float.h>.
23678 (roundf): Define using libm_alias_float.
23679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23680 <libm-alias-float.h>.
23681 (truncf): Define using libm_alias_float.
23682 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23683 <libm-alias-float.h>.
23684 (copysignf): Define using libm_alias_float.
23685 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23686 <libm-alias-float.h>.
23687 (llrintf): Define using libm_alias_float.
23688 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23689 <libm-alias-float.h>.
23690 (llroundf): Define using libm_alias_float.
23691 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23692 <libm-alias-float.h>.
23693 (lrintf): Define using libm_alias_float.
23694 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23695 <libm-alias-float.h>.
23696 (lroundf): Define using libm_alias_float.
23697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23698 <libm-alias-float.h>.
23699 (ceilf): Define using libm_alias_float.
23700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23701 <libm-alias-float.h>.
23702 (copysignf): Define using libm_alias_float.
23703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23704 <libm-alias-float.h>.
23705 (cosf): Define using libm_alias_float.
23706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23707 <libm-alias-float.h>.
23708 (floorf): Define using libm_alias_float.
23709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23710 <libm-alias-float.h>.
23711 (llrintf): Define using libm_alias_float.
23712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23713 <libm-alias-float.h>.
23714 (llroundf): Define using libm_alias_float.
23715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23716 <libm-alias-float.h>.
23717 (logbf): Define using libm_alias_float.
23718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23719 <libm-alias-float.h>.
23720 (modff): Define using libm_alias_float.
23721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23722 <libm-alias-float.h>.
23723 (roundf): Define using libm_alias_float.
23724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23725 <libm-alias-float.h>.
23726 (sinf): Define using libm_alias_float.
23727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23728 <libm-alias-float.h>.
23729 (truncf): Define using libm_alias_float.
23730 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23731 <libm-alias-float.h>.
23732 (ceilf): Define using libm_alias_float.
23733 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23734 <libm-alias-float.h>.
23735 (copysignf): Define using libm_alias_float.
23736 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23737 <libm-alias-float.h>.
23738 (floorf): Define using libm_alias_float.
23739 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23740 <libm-alias-float.h>.
23741 (llrintf): Define using libm_alias_float.
23742 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23743 <libm-alias-float.h>.
23744 (llroundf): Define using libm_alias_float.
23745 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23746 <libm-alias-float.h>.
23747 (nearbyintf): Define using libm_alias_float.
23748 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23749 <libm-alias-float.h>.
23750 (rintf): Define using libm_alias_float.
23751 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23752 <libm-alias-float.h>.
23753 (roundf): Define using libm_alias_float.
23754 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23755 <libm-alias-float.h>.
23756 (truncf): Define using libm_alias_float.
23757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23758 <libm-alias-float.h>.
23759 (ceilf): Define using libm_alias_float.
23760 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23761 <libm-alias-float.h>.
23762 (floorf): Define using libm_alias_float.
23763 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23764 <libm-alias-float.h>.
23765 (llroundf): Define using libm_alias_float.
23766 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23767 <libm-alias-float.h>.
23768 (roundf): Define using libm_alias_float.
23769 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23770 <libm-alias-float.h>.
23771 (truncf): Define using libm_alias_float.
23772 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23773 <libm-alias-float.h>.
23774 (copysignf): Define using libm_alias_float.
23775 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23776 <libm-alias-float.h>.
23777 (llrintf): Define using libm_alias_float.
23778 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23779 <libm-alias-float.h>.
23780 (llroundf): Define using libm_alias_float.
23781 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23782 <libm-alias-float.h>.
23783 (cosf): Define using libm_alias_float.
23784 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23785 <libm-alias-float.h>.
23786 (llrintf): Define using libm_alias_float.
23787 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23788 <libm-alias-float.h>.
23789 (llroundf): Define using libm_alias_float.
23790 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23791 <libm-alias-float.h>.
23792 (sinf): Define using libm_alias_float.
23793
93485524
FW
237942017-12-04 Florian Weimer <fweimer@redhat.com>
23795
23796 * support/check.h (TEST_COMPARE): Define.
23797 (support_test_compare_failure): Declare.
23798 * support/Makefile (libsupport-routines): Add
23799 support_test_compare_failure.
23800 (tests): Add tst-test_compare.
23801 * support /support_test_compare_failure.c: New file.
23802 * support/tst-test_compare.c: Likewise.
23803
96b06a19
MF
238042017-12-04 Mike FABIAN <mfabian@redhat.com>
23805
23806 [BZ #22527]
23807 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23808 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23809 available, this rewrite of the collation rules does reproduce
23810 the test file in the same order.
23811
1f6d91f3
MF
238122017-12-04 Mike FABIAN <mfabian@redhat.com>
23813
23814 [BZ #10580]
23815 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23816 digraphs in the month and day names. Using single code points for
23817 digraphs is deprecated. While there are dedicated Unicode
23818 codepoints, for the digraphs, these are included for backwards
23819 compatibility and modern texts use a sequence of Basic Latin
23820 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23821 This makes the month and day names agree exactly with CLDR now,
23822 CLDR does not use the single code points for the digraphs either.
23823
2e49fed8
CM
238242017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23825
23826 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23827
73895b49
JM
238282017-12-04 Joseph Myers <joseph@codesourcery.com>
23829
23830 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23831 of floor.
23832
4c1d801a
SP
238332017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23834
23835 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23836 Define only for libc.so.
23837
478593e6
SL
238382017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23839
23840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23841 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 23842 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
23843 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23845
7863a711
RS
238462017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23847
23848 [BZ #5997]
23849 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23850
800a496a
JDA
238512017-12-02 John David Anglin <danglin@gcc.gnu.org>
23852
b3f7fb12
JDA
23853 [BZ libc/19170]
23854 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23855 PREINIT_FUNCTION_WEAK is nonzero.
23856 (gmon_initializer): New function. Put procedure label for it in
23857 .init_array section.
23858 (_init): Don't call PREINIT_FUNCTION.
23859 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23860 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23861 value when map argument is null.
23862
800a496a
JDA
23863 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23864 depi instruction from PIC pc-relative sequence.
23865 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23866 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23867 (elf_machine_load_address): Likewise.
23868 (elf_machine_runtime_setup): Likewise.
23869
d17542d2
JM
238702017-12-02 Joseph Myers <joseph@codesourcery.com>
23871
23872 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23873 <libm-alias-double.h>.
23874 (logb): Define using libm_alias_double.
23875 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23876 <libm-alias-double.h>.
23877 (copysign): Define using libm_alias_double.
23878 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23879 <libm-alias-double.h>.
23880 (llrint): Define using libm_alias_double.
23881 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23882 <libm-alias-double.h>.
23883 (llround): Define using libm_alias_double.
23884 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23885 <libm-alias-double.h>.
23886 (lrint): Define using libm_alias_double.
23887 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23888 <libm-alias-double.h>.
23889 (lround): Define using libm_alias_double.
23890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23891 Include <libm-alias-double.h>.
23892 (copysign): Define using libm_alias_double.
23893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23894 Include <libm-alias-double.h>.
23895 (llrint): Define using libm_alias_double.
23896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23897 Include <libm-alias-double.h>.
23898 (llround): Define using libm_alias_double.
23899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23900 <libm-alias-double.h>.
23901 (logb): Define using libm_alias_double.
23902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23903 Include <libm-alias-double.h>.
23904 (lrint): Define using libm_alias_double.
23905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23906 Include <libm-alias-double.h>.
23907 (lround): Define using libm_alias_double.
23908 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23909 <libm-alias-double.h>.
23910 (llrint): Define using libm_alias_double.
23911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23912 <libm-alias-double.h>.
23913 (llround): Define using libm_alias_double.
23914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23915 <libm-alias-double.h>.
23916 (llround): Define using libm_alias_double.
23917 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23918 <libm-alias-double.h>.
23919 (lround): Define using libm_alias_double.
23920 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23921 <libm-alias-double.h>.
23922 (copysign): Define using libm_alias_double.
23923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23924 <libm-alias-double.h>.
23925 (llrint): Define using libm_alias_double.
23926 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23927 <libm-alias-double.h>.
23928 (llround): Define using libm_alias_double.
23929 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23930 <libm-alias-double.h>.
23931 (lrint): Define using libm_alias_double.
23932 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23933 <libm-alias-double.h>.
23934 (lround): Define using libm_alias_double.
23935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23936 <libm-alias-double.h>.
23937 (copysign): Define using libm_alias_double.
23938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23939 <libm-alias-double.h>.
23940 (llrint): Define using libm_alias_double.
23941 (lrint): Likewise.
23942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23943 <libm-alias-double.h>.
23944 (llround): Define using libm_alias_double.
23945 (lround): Likewise.
23946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23947 <libm-alias-double.h>.
23948 (logb): Define using libm_alias_double.
23949 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23950 <libm-alias-double.h>.
23951 (copysign): Define using libm_alias_double.
23952 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23953 <libm-alias-double.h>.
23954 (llrint): Define using libm_alias_double.
23955 (lrint): Likewise.
23956 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23957 <libm-alias-double.h>.
23958 (llround): Define using libm_alias_double.
23959 (lround): Likewise.
23960 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23961 <libm-alias-double.h>.
23962 (llround): Define using libm_alias_double.
23963 (lround): Likewise.
23964 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23965 <libm-alias-double.h>.
23966 (copysign): Define using libm_alias_double.
23967 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23968 <libm-alias-double.h>.
23969 (llrint): Define using libm_alias_double.
23970 (lrint): Likewise.
23971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23972 <libm-alias-double.h>.
23973 (llround): Define using libm_alias_double.
23974 (lround): Likewise.
23975 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23976 <libm-alias-double.h>.
23977 (llrint): Define using libm_alias_double.
23978 (lrint): Likewise.
23979 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23980 <libm-alias-double.h>.
23981 (llround): Define using libm_alias_double.
23982 (lround): Likewise.
23983
ec2cf3f4
JM
239842017-12-01 Joseph Myers <joseph@codesourcery.com>
23985
0ddde474
JM
23986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23987 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23988 compat symbol based on llround.
23989
0d5ba561
JM
23990 * sysdeps/powerpc/power7/fpu/s_logb.c
23991 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23992 symbol based on __logb, not on logb.
23993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23994 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23996 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23997
51ea3b20
JM
23998 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23999 (rint): Define using libm_alias_double.
24000 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
24001 <libm-alias-double.h>.
24002 (modf): Define using libm_alias_double.
24003 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
24004 <libm-alias-double.h>.
24005 (ceil): Define using libm_alias_double.
24006 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
24007 <libm-alias-double.h>.
24008 (floor): Define using libm_alias_double.
24009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
24010 <libm-alias-double.h>.
24011 (nearbyint): Define using libm_alias_double.
24012 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
24013 <libm-alias-double.h>.
24014 (rint): Define using libm_alias_double.
24015 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
24016 <libm-alias-double.h>.
24017 (round): Define using libm_alias_double.
24018 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
24019 <libm-alias-double.h>.
24020 (trunc): Define using libm_alias_double.
24021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
24022 <libm-alias-double.h>.
24023 (ceil): Define using libm_alias_double.
24024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
24025 Include <libm-alias-double.h>.
24026 (floor): Define using libm_alias_double.
24027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24028 <libm-alias-double.h>.
24029 (modf): Define using libm_alias_double.
24030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24031 Include <libm-alias-double.h>.
24032 (round): Define using libm_alias_double.
24033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24034 Include <libm-alias-double.h>.
24035 (trunc): Define using libm_alias_double.
24036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24037 <libm-alias-double.h>.
24038 (ceil): Define using libm_alias_double.
24039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24040 <libm-alias-double.h>.
24041 (floor): Define using libm_alias_double.
24042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24043 <libm-alias-double.h>.
24044 (round): Define using libm_alias_double.
24045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24046 <libm-alias-double.h>.
24047 (trunc): Define using libm_alias_double.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24049 <libm-alias-double.h>.
24050 (ceil): Define using libm_alias_double.
24051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24052 <libm-alias-double.h>.
24053 (floor): Define using libm_alias_double.
24054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24055 <libm-alias-double.h>.
24056 (modf): Define using libm_alias_double.
24057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24058 <libm-alias-double.h>.
24059 (round): Define using libm_alias_double.
24060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24061 <libm-alias-double.h>.
24062 (trunc): Define using libm_alias_double.
24063 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24064 <libm-alias-double.h>.
24065 (ceil): Define using libm_alias_double.
24066 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24067 <libm-alias-double.h>.
24068 (floor): Define using libm_alias_double.
24069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24070 <libm-alias-double.h>.
24071 (nearbyint): Define using libm_alias_double.
24072 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24073 <libm-alias-double.h>.
24074 (rint): Define using libm_alias_double.
24075 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24076 <libm-alias-double.h>.
24077 (round): Define using libm_alias_double.
24078 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24079 <libm-alias-double.h>.
24080 (trunc): Define using libm_alias_double.
24081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24082 <libm-alias-double.h>.
24083 (ceil): Define using libm_alias_double.
24084 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24085 <libm-alias-double.h>.
24086 (floor): Define using libm_alias_double.
24087 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24088 <libm-alias-double.h>.
24089 (round): Define using libm_alias_double.
24090 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24091 <libm-alias-double.h>.
24092 (trunc): Define using libm_alias_double.
24093
ec2cf3f4
JM
24094 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24095 (fabs): Define using libm_alias_double.
24096 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24097 (fma): Define using libm_alias_double.
24098 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24099 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24100 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24101 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24102
5b7bd975
AZ
241032017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24104
0594b13f
AZ
24105 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24106
dbdfcf3b
AZ
24107 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24108 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24109 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24110
5b7bd975
AZ
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24112 due redirect macro.
24113
ef9ecfa6
AS
241142017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24115
24116 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24117
5b4e5e78
AZ
241182017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24119
2a14526b
AZ
24120 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24121 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24122 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24123 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24124
dbeb74ef 24125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
24126 (libm-sysdep_routines): Add s_nearbyintf-generic and
24127 s_nearbyint-generic.
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24129 New file.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24132 Likewise.
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24134 Likewise.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24136 file.
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24138 Likewise.
24139
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
24141 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24143 file.
24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24146 Likewise.
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24150
fa7ded96
AZ
24151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24152 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24154 file.
24155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24157 Likewise.
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24161
e240cf0e
AZ
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24163 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24165 file.
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24168 Likewise.
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24172
5b4e5e78
AZ
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24174 (sysdep_calls): New rule.
24175 (sysdep_routines): Use sysdep_calls as base.
24176 (libm-sysdep_routines): Add generic rule for symbols shared with
24177 libc. Add s_copysign-generic and s_copysign-generic objects.
24178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24179 New file.
24180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24182 Likewise.
24183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24186
d985adae
MF
241872017-12-01 Mike FABIAN <mfabian@redhat.com>
24188
24189 [BZ #22519]
24190 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24191 the list of locales to be built for testing.
24192 * localedata/is_IS.UTF-8.in: New file.
24193 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24194 on iso14651_t1.
24195
ff84a0e0
JM
241962017-12-01 Joseph Myers <joseph@codesourcery.com>
24197
24198 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24199 <libm-alias-float.h>.
24200 (fabsf): Define using libm_alias_float.
24201
ef5d8b43
L
242022017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24203
24204 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24205
c0535adf
JM
242062017-11-30 Joseph Myers <joseph@codesourcery.com>
24207
f938b397
JM
24208 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24209 <libm-alias-float.h>.
24210 (fabsf): Define using libm_alias_float.
24211 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24212 <libm-alias-float.h>.
24213 (lrintf): Define using libm_alias_float.
24214 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24215 <libm-alias-float.h>.
24216 (rintf): Define using libm_alias_float.
24217
2251fad0
JM
24218 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24219 <libm-alias-double.h>.
24220 (fabs): Define using libm_alias_double.
24221 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24222 <libm-alias-double.h>.
24223 (lrint): Define using libm_alias_double.
24224 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24225 <libm-alias-double.h>.
24226 (rint): Define using libm_alias_double.
24227
e53df1de
JM
24228 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24229 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24230 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24231 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24232 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24233 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24234 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24235 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24236 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24237 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24238 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24239 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24240 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24241 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24242 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24243 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24244 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24245 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24246 s_atan_template.c.
24247 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24248 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24249 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24250 s_ceil_template.c.
24251 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24252 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24253 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24254 s_cos_template.c.
24255 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24256 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24257 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24258 s_expm1_template.c.
24259 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24260 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24261 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24262 s_fabs_template.c.
24263 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24264 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24265 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24266 s_floor_template.c.
24267 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24268 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24269 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24270 s_frexp_template.c.
24271 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24272 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24273 s_lrint_template.c.
24274 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24275 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24276 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24277 s_modf_template.c.
24278 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24279 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24280 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24281 s_nearbyint_template.c.
24282 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24283 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24284 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24285 s_remquo_template.c.
24286 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24287 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24288 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24289 s_rint_template.c.
24290 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24291 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24292 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24293 s_sin_template.c.
24294 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24295 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24296 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24297 s_sincos_template.c.
24298 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24299 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24300 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24301 s_tan_template.c.
24302 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24303 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24304 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24305 s_tanh_template.c.
24306 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24307 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24308 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24309 s_trunc_template.c.
24310 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24311 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24312 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24313 s_atan.c instead of including s_atan.c.
24314 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24315 s_atanf.c instead of including s_atanf.c.
24316 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24317 s_atanl.c instead of including s_atanl.c.
24318 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24319 instead of s_atan.c.
24320 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24321 instead of s_atanf.c.
24322 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24323 instead of s_atanl.c.
24324
c0535adf
JM
24325 * scripts/update-copyrights: Do not handle intl/plural.c
24326 specially.
24327
1faaf703
JB
243282017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24329
24330 [BZ #22432]
24331 * configure.ac (BISON): Require to be present.
24332 * configure: Regenerated.
24333 * intl/Makefile (generated): Add plural.c.
24334 [$(BISON) != no]: Make code unconditional.
24335 (plural.c): Change rule to $(objpfx)plural.c.
24336 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24337 * intl/plural.c: Remove.
24338 * manual/install.texi (Tools for Compilation): Document bison as
24339 required.
24340 * INSTALL: Regenerated.
24341
faec6323
JM
243422017-11-30 Joseph Myers <joseph@codesourcery.com>
24343
bd6ea9ed
JM
24344 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24345 <libm-alias-double.h>.
24346 (llrint): Define using libm_alias_double.
24347 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24348 <libm-alias-float.h>.
24349 (llrintf): Define using libm_alias_float.
24350 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24351 <libm-alias-ldouble.h>.
24352 (llrintl): Define using libm_alias_ldouble.
24353
faec6323
JM
24354 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24355 declare_mgen_alias instead of weak_alias.
24356 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24357 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24358 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24359
023cade3
AZ
243602017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24361
9e2279a0
AZ
24362 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24363 Add add_n-generic.
24364 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24365 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24366 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24367
75f37c71
AZ
24368 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24369 Add submul_1-generic.
24370 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24371 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24372 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24373
b70cbbfc 24374 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
24375 Add addmul_1-generic.
24376 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24377 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24378 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24379
24380 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
24381 Add sub_n-generic.
24382 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24383 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24384 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24385
023cade3
AZ
24386 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24387 Add mul_1-generic.
24388 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24389 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24390 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24391
fbb5fd03
MF
243922017-11-30 Mike FABIAN <mfabian@redhat.com>
24393
24394 According to CLDR, collation rules for Serbian and Bosnian
24395 should be the same as for Croatian.
24396
24397 [BZ #22534]
24398 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24399 and to the list of locales to be built for testing.
24400 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24401 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24402 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24403 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24404
5e56e937
MF
244052017-11-30 Mike FABIAN <mfabian@redhat.com>
24406
24407 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24408 to make test case pass.
24409 * localedata/hr_HR.UTF-8.in: Add more test strings.
24410
cf4341ca
MF
244112017-11-30 Mike FABIAN <mfabian@redhat.com>
24412
24413 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24414
363e4519 244152017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
24416
24417 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24418 the list of locales to built for testing.
24419 * localedata/hr_HR.UTF-8.in: New file.
24420
363e4519 244212017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
24422
24423 [BZ #10580]
24424 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24425 iso14651_t1.
24426 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24427 CLDR (except use ligatures for the digraphs, CLDR does not use
24428 the ligatures), add first_workday, some fixes in the date and time
24429 formats.
24430 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24431 for Đ and đ.
24432 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24433 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24434 Add int_p_cs_precedes and int_n_cs_precedes.
24435 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24436 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24437 LC_MONETARY now).
24438 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24439 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24440 name_miss.
24441 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24442 and lang_lib. Change postal_fmt.
24443
f33632cc
L
244442017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24445
24446 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24447 <setjmp.h>.
24448 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24449 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24450 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24451 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24452 * sysdeps/generic/setjmpP.h: New file.
24453 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24454 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24455 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24456 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24457 Add jmp_buf-ssp.sym.
24458 (tests): Add tst-saved_mask-1.
24459
34697694
AS
244602017-11-30 Arjun Shankar <arjun@redhat.com>
24461
24462 [BZ #22375]
37ac8e63 24463 CVE-2017-17426
34697694
AS
24464 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24465 instead of request2size.
24466
3e5efdbd
JM
244672017-11-30 Joseph Myers <joseph@codesourcery.com>
24468
18305fba
JM
24469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24470 (__lllrint): Remove alias.
24471 (lllrint): Likewise.
24472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24473 (__lllrintf): Likewise.
24474 (lllrintf): Likewise.
24475
3e5efdbd
JM
24476 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24477 <libm-alias-float.h>.
24478 (copysignf): Define using libm_alias_float.
24479 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24480 <libm-alias-float.h>.
24481 (fabsf): Define using libm_alias_float.
24482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24483 Include <libm-alias-float.h>.
24484 (copysignf): Define using libm_alias_float.
24485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24486 <libm-alias-float.h>.
24487 (fabsf): Define using libm_alias_float.
24488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24489 <libm-alias-float.h>.
24490 (fdimf): Define using libm_alias_float.
24491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24492 <libm-alias-float.h>.
24493 (fmaf): Define using libm_alias_float.
24494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24495 <libm-alias-float.h>.
24496 (llrintf): Define using libm_alias_float.
24497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24498 Include <libm-alias-float.h>.
24499 (nearbyintf): Define using libm_alias_float.
24500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24501 <libm-alias-float.h>.
24502 (rintf): Define using libm_alias_float.
24503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24504 <libm-alias-float.h>.
24505 (llrintf): Define using libm_alias_float.
24506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24507 <libm-alias-float.h>.
24508 (lrintf): Define using libm_alias_float.
24509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24510 <libm-alias-float.h>.
24511 (nearbyintf): Define using libm_alias_float.
24512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24513 <libm-alias-float.h>.
24514 (rintf): Define using libm_alias_float.
24515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24516 <libm-alias-float.h>.
24517 (ceilf): Define using libm_alias_float.
24518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24519 <libm-alias-float.h>.
24520 (floorf): Define using libm_alias_float.
24521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24522 <libm-alias-float.h>.
24523 (fmaf): Define using libm_alias_float.
24524 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24525 <libm-alias-float.h>.
24526 (lrintf): Define using libm_alias_float.
24527 (llrintf): Likewise.
24528 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24529 <libm-alias-float.h>.
24530 (nearbyintf): Define using libm_alias_float.
24531 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24532 <libm-alias-float.h>.
24533 (rintf): Define using libm_alias_float.
24534 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24535 <libm-alias-float.h>.
24536 (truncf): Define using libm_alias_float.
24537 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24538 <libm-alias-float.h>.
24539 (copysignf): Define using libm_alias_float.
24540 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24541 <libm-alias-float.h>.
24542 (fabsf): Define using libm_alias_float.
24543 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24544 <libm-alias-float.h>.
24545 (lrintf): Define using libm_alias_float.
24546 (llrintf): Likewise.
24547 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24548 <libm-alias-float.h>.
24549 (nearbyintf): Define using libm_alias_float.
24550 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24551 <libm-alias-float.h>.
24552 (rintf): Define using libm_alias_float.
24553
011fba7e
JM
245542017-11-29 Joseph Myers <joseph@codesourcery.com>
24555
875cd548
JM
24556 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24557 <libm-alias-double.h>.
24558 (copysign): Define using libm_alias_double.
24559 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24560 <libm-alias-double.h>.
24561 (fabs): Define using libm_alias_double.
24562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24563 Include <libm-alias-double.h>.
24564 (copysign): Define using libm_alias_double.
24565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24566 <libm-alias-double.h>.
24567 (fabs): Define using libm_alias_double.
24568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24569 <libm-alias-double.h>.
24570 (fdim): Define using libm_alias_double.
24571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24572 <libm-alias-double.h>.
24573 (fma): Define using libm_alias_double.
24574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24575 <libm-alias-double.h>.
24576 (llrint): Define using libm_alias_double.
24577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24578 Include <libm-alias-double.h>.
24579 (nearbyint): Define using libm_alias_double.
24580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24581 <libm-alias-double.h>.
24582 (rint): Define using libm_alias_double.
24583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24584 <libm-alias-double.h>.
24585 (fabs): Define using libm_alias_double.
24586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24587 <libm-alias-double.h>.
24588 (llrint): Define using libm_alias_double.
24589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24590 <libm-alias-double.h>.
24591 (nearbyint): Define using libm_alias_double.
24592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24593 <libm-alias-double.h>.
24594 (rint): Define using libm_alias_double.
24595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24596 <libm-alias-double.h>.
24597 (ceil): Define using libm_alias_double.
24598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24599 <libm-alias-double.h>.
24600 (floor): Define using libm_alias_double.
24601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24602 <libm-alias-double.h>.
24603 (fma): Define using libm_alias_double.
24604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24605 <libm-alias-double.h>.
24606 (lrint): Define using libm_alias_double.
24607 (llrint): Likewise.
24608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24609 <libm-alias-double.h>.
24610 (nearbyint): Define using libm_alias_double.
24611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24612 <libm-alias-double.h>.
24613 (rint): Define using libm_alias_double.
24614 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24615 <libm-alias-double.h>.
24616 (trunc): Define using libm_alias_double.
24617 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24618 <libm-alias-double.h>.
24619 (copysign): Define using libm_alias_double.
24620 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24621 <libm-alias-double.h>.
24622 (fabs): Define using libm_alias_double.
24623 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24624 <libm-alias-double.h>.
24625 (lrint): Define using libm_alias_double.
24626 (llrint): Likewise.
24627 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24628 <libm-alias-double.h>.
24629 (nearbyint): Define using libm_alias_double.
24630 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24631 <libm-alias-double.h>.
24632 (rint): Define using libm_alias_double.
24633
cf4ebc27
JM
24634 [BZ #22229]
24635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24636 <math_ldbl_opt.h>.
24637 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24638
0c097378
JM
24639 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24640 SPARC --disable-multi-arch glibc variants.
24641
34bb10aa
JM
24642 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24643 <libm-alias-float.h>.
24644 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24645 if [SHARED].
24646 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24647 <libm-alias-float.h>.
24648 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24649 if [SHARED].
24650 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24651 <libm-alias-float.h>.
24652 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24653 if [SHARED].
24654 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24655 <libm-alias-float.h>.
24656 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24657 if [SHARED].
24658 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24659 <libm-alias-float.h>.
24660 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24661 if [SHARED].
24662 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24663 <libm-alias-float.h>.
24664 (ceilf): Define using libm_alias_float.
24665 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24666 <libm-alias-float.h>.
24667 (floorf): Define using libm_alias_float.
24668 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24669 <libm-alias-float.h>.
24670 (fmaf): Define using libm_alias_float.
24671 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24672 <libm-alias-float.h>.
24673 (nearbyintf): Define using libm_alias_float.
24674 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24675 <libm-alias-float.h>.
24676 (rintf): Define using libm_alias_float.
24677 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24678 <libm-alias-float.h>.
24679 (truncf): Define using libm_alias_float.
24680 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24681 (copysignf): Define using libm_alias_float.
24682 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24683 (cosf): Define using libm_alias_float.
24684 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24685 (fabsf): Define using libm_alias_float.
24686 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24687 (fmaxf): Define using libm_alias_float.
24688 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24689 (fminf): Define using libm_alias_float.
24690 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24691 (llrintf): Define using libm_alias_float.
24692 [!__ILP32__] (lrintf): Likewise.
24693 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24694 (sincosf): Define using libm_alias_float.
24695 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24696 (sinf): Define using libm_alias_float.
24697 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24698 (lrintf): Define using libm_alias_float.
24699
011fba7e
JM
24700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24701 <libm-alias-double.h>.
24702 (atan): Define using libm_alias_double.
24703 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24704 <libm-alias-double.h>.
24705 (ceil): Define using libm_alias_double.
24706 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24707 <libm-alias-double.h>.
24708 (floor): Define using libm_alias_double.
24709 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24710 <libm-alias-double.h>.
24711 (fma): Define using libm_alias_double.
24712 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24713 <libm-alias-double.h>.
24714 (nearbyint): Define using libm_alias_double.
24715 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24716 <libm-alias-double.h>.
24717 (rint): Define using libm_alias_double.
24718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24719 <libm-alias-double.h>.
24720 (sin): Define using libm_alias_double.
24721 (cos): Likewise.
24722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24723 <libm-alias-double.h>.
24724 (tan): Define using libm_alias_double.
24725 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24726 <libm-alias-double.h>.
24727 (trunc): Define using libm_alias_double.
24728 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24729 (copysign): Define using libm_alias_double.
24730 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24731 (fabs): Define using libm_alias_double.
24732 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24733 (fmax): Define using libm_alias_double.
24734 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24735 (fmin): Define using libm_alias_double.
24736 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24737 (llrint): Define using libm_alias_double.
24738 [!__ILP32__] (lrint): Likewise.
24739 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24740 (lrint): Define using libm_alias_double.
24741
1cbd7bfe
AZ
247422017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24743
21bfcc3d
AZ
24744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24745 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24746 objects.
24747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24753
522228dd
AZ
24754 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24755 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24756 objects.
24757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24763
2a6f4fab
AZ
24764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24765 (libm-sysdep_routines): Add s_nearbyint-generic and
24766 s_nearbyintf-generic objects.
24767 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24768 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24769 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24771 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24772 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24773
712b5b83
AZ
24774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24775 Add s_finitef-generic and s_finite-generic objects.
24776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24782
c96d3335
AZ
24783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24784 Add s_isinff-generic and s_isinf-generic objects.
24785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24791
c6862a23
AZ
24792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24793 Add s_isnanf-generic and s_isnan-generic objects.
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24800
1cbd7bfe
AZ
24801 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24802 macro.
24803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24804 rule.
24805 (sysdep_routines): Use sysdep_calls as base.
24806 (libm-sysdep_routines): Add generic rule for symbols shared with
24807 libc. Add s_signbit-generic and s_signbitf-generic objects.
24808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24814
aa1142c5
JM
248152017-11-29 Joseph Myers <joseph@codesourcery.com>
24816
24817 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24818 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24819 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24820 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24821 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24822 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24823 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24824 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24825 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24826 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24827 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24828 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24829 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24830 libm_alias_float_r.
24831 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24832 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24833 (logf): Likewise.
24834 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24835 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24836 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24837 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24838 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24839 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24840 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24841 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24842 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24843 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24844 libm_alias_float.
24845 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24846 (cosf): Likewise.
24847 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24848 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24849 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24850 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24851 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24852 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24853 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24854 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24855 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24856 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24857 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24858 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24859 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24860 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24861 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24862 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24863 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24864 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24865 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24866 libm_alias_float.
24867 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24868 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24869 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24870 * sysdeps/ia64/fpu/w_lgammaf_main.c
24871 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24872 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24873
363e4519
DL
248742017-11-28 Mike FABIAN <mfabian@redhat.com>
24875 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
24876
24877 [BZ #17750]
24878 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24879 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24880 accents sorting.
24881 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24882 sorting.
24883 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24884 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24885 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24886 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24887 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24888 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24889 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24890 instead of “ifdef DIACRIT_BACKWARD”.
24891
a55430cb
AZ
248922017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24893
24894 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24895 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24896 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24897 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24898 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24899 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24906 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24907 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24908 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24909 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24910 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24911 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24913 ($(have-as-vis3) == yes): Remove conditional.
24914 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24915 Likewise.
24916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24917 file.
24918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24919 file.
24920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24921 file.
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24923 file.
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24930 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24931 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24932
0609ec0a
JM
249332017-11-29 Joseph Myers <joseph@codesourcery.com>
24934
24935 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24936 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24937 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24938 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24939 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24940 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24941 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24942 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24943 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24944 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24945 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24946 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24947 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24948 libm_alias_double_r.
24949 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24950 (log): Likewise.
24951 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24952 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24953 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24954 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24955 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24956 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24957 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24958 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24959 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24960 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24961 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24962 libm_alias_double.
24963 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24964 (cos): Likewise.
24965 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24966 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24967 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24968 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24969 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24970 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24971 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24972 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24973 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24974 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24975 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24976 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24977 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24978 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24979 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24980 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24981 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24982 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24983 libm_alias_double.
24984 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24985 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24986 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24987 * sysdeps/ia64/fpu/w_lgamma_main.c
24988 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24989 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24990
d5bfa34a
JDA
249912017-11-28 John David Anglin <danglin@gcc.gnu.org>
24992
24993 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24994 address of $global$ into %dp register earlier. Use pc-relative
24995 instruction sequence for PIC case.
24996
bc4e8f9b
JM
249972017-11-28 Joseph Myers <joseph@codesourcery.com>
24998
e4602cba
JM
24999 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
25000 (asinhf): Define using libm_alias_float.
25001 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
25002 (atanf): Define using libm_alias_float.
25003 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
25004 (cbrtf): Define using libm_alias_float.
25005 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
25006 (ceilf): Define using libm_alias_float.
25007 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25008 (copysignf): Define using libm_alias_float.
25009 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
25010 (expm1f): Define using libm_alias_float.
25011 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
25012 (fabsf): Define using libm_alias_float.
25013 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
25014 (floorf): Define using libm_alias_float.
25015 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25016 (fmaxf): Define using libm_alias_float.
25017 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
25018 (fminf): Define using libm_alias_float.
25019 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
25020 (frexpf): Define using libm_alias_float.
25021 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25022 (llrintf): Define using libm_alias_float.
25023 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
25024 (logbf): Define using libm_alias_float.
25025 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25026 (lrintf): Define using libm_alias_float.
25027 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25028 (nearbyintf): Define using libm_alias_float.
25029 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25030 (remquof): Define using libm_alias_float.
25031 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25032 (rintf): Define using libm_alias_float.
25033 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25034 (truncf): Define using libm_alias_float.
25035 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25036 <libm-alias-float.h>.
25037 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25038 if [SHARED].
25039 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25040 <libm-alias-float.h>.
25041 (expf): Define using libm_alias_float, or libm_alias_float_other
25042 if [SHARED].
25043 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25044 <libm-alias-float.h>.
25045 (log2f): Define using libm_alias_float, or libm_alias_float_other
25046 if [SHARED].
25047 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25048 <libm-alias-float.h>.
25049 (logf): Define using libm_alias_float, or libm_alias_float_other
25050 if [SHARED].
25051 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25052 <libm-alias-float.h>.
25053 (powf): Define using libm_alias_float, or libm_alias_float_other
25054 if [SHARED].
25055 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25056 <libm-alias-float.h>.
25057 (cosf): Define using libm_alias_float.
25058 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25059 <libm-alias-float.h>.
25060 (sincosf): Define using libm_alias_float.
25061 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25062 <libm-alias-float.h>.
25063 (sinf): Define using libm_alias_float.
25064 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25065 (fmaxf): Define using libm_alias_float.
25066 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25067 (fminf): Define using libm_alias_float.
25068 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25069 <libm-alias-float.h>.
25070 (fmaf): Define using libm_alias_float.
25071
bc4e8f9b
JM
25072 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25073 (asinh): Define using libm_alias_double.
25074 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25075 (atan): Define using libm_alias_double.
25076 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25077 (cbrt): Define using libm_alias_double.
25078 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25079 (ceil): Define using libm_alias_double.
25080 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25081 (copysign): Define using libm_alias_double.
25082 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25083 (expm1): Define using libm_alias_double.
25084 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25085 (fabs): Define using libm_alias_double.
25086 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25087 (fdim): Define using libm_alias_double.
25088 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25089 (floor): Define using libm_alias_double.
25090 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25091 (fmax): Define using libm_alias_double.
25092 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25093 (fmin): Define using libm_alias_double.
25094 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25095 (frexp): Define using libm_alias_double.
25096 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25097 (llrint): Define using libm_alias_double.
25098 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25099 (logb): Define using libm_alias_double.
25100 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25101 (lrint): Define using libm_alias_double.
25102 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25103 (nearbyint): Define using libm_alias_double.
25104 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25105 (remquo): Define using libm_alias_double.
25106 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25107 (rint): Define using libm_alias_double.
25108 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25109 (trunc): Define using libm_alias_double.
25110 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25111 (fmax): Define using libm_alias_double.
25112 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25113 (fmin): Define using libm_alias_double.
25114 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25115 (fma): Define using libm_alias_double.
25116
8d81ce0c
L
251172017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25118
25119 [BZ #22370]
25120 * elf/dl-hwcaps.c (ROUND): Removed.
25121 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25122 and ELF_NOTE_NEXT_OFFSET.
25123 * elf/dl-load.c (ROUND): Removed.
25124 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25125 * elf/readelflib.c (ROUND): Removed.
25126 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25127 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25128 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25129 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25130
6940bd96
JM
251312017-11-28 Joseph Myers <joseph@codesourcery.com>
25132
313ba463
JM
25133 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25134 [!__fmaf] (fmaf): Define using libm_alias_float.
25135
6940bd96
JM
25136 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25137 [!__fma] (fma): Define using libm_alias_double.
25138 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25139
22c69b6a
MF
251402017-11-28 Mike FABIAN <mfabian@redhat.com>
25141
25142 [BZ #22336]
25143 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25144 and implement the collation rules for cs from CLDR on top of that.
25145 * Makefile: Add cs_CZ.UTF-8 to test-input.
25146 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25147
8d7d3ba8
SP
251482017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25149
25150 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25151
0422ed1e
VR
251522017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25153 Icarus Sparry <icarus.w.sparry@intel.com>
25154
25155 * benchtests/Makefile:Add BENCHSET to allow subsets of
25156 benchmarks to be run.
25157 * benchtests/README: Add documentation for: Running subsets of
25158 benchmarks.
25159
0595e360
VR
251602017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25161
d5090db3
VR
25162 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25163 range of tests names.
25164
0595e360
VR
25165 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25166 result from property and remove "max", min" and "mean" from
25167 required properties based on benchtests/bench-skeleton.c.
25168
b4c645c2
FW
251692017-11-28 Florian Weimer <fweimer@redhat.com>
25170
25171 [BZ #20826]
25172 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25173 due to Internet requirement.
25174 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25175 tst-getaddrinfo5.
25176 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25177
88684de7
AZ
251782017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25179
69056564
AZ
25180 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25181 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25182 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25183 (sysdep_routines): Add memset-ultra1.
25184 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25185 file.
25186 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25187 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25188 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25189 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25190 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25191 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25192 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25193 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25194
88684de7
AZ
25195 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25196 file.
25197 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25198 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25199 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25200 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25201 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25202 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25203 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25204 macro.
25205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25206 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25207 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25208 (sysdep_routines): Add memcpy-ultra1.
25209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25210 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25211
d8124864
JM
252122017-11-28 Joseph Myers <joseph@codesourcery.com>
25213
f433d0b3
JM
25214 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25215 (cfloat_versions): Take function argument without trailing 'f'.
25216 Call libm_alias_float_other.
25217 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25218 * sysdeps/alpha/fpu/cargf.c: Likewise.
25219 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25220 * sysdeps/alpha/fpu/conjf.c: Likewise.
25221 * sysdeps/alpha/fpu/crealf.c: Likewise.
25222 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25223 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25224 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25225 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25226 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25227 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25228 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25229 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25230 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25231 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25232 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25233 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25234 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25235 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25236 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25237 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25238 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25239 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25240 (clog10f): Use libm_alias_float_other.
25241 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25242 (ceilf): Define using libm_alias_float.
25243 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25244 (copysignf): Define using libm_alias_float.
25245 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25246 (fabsf): Define using libm_alias_float.
25247 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25248 (floorf): Define using libm_alias_float.
25249 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25250 (fmaxf): Define using libm_alias_float.
25251 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25252 (fminf): Define using libm_alias_float.
25253 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25254 (lrintf): Define using libm_alias_float.
25255 (llrintf): Likewise.
25256 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25257 (lroundf): Define using libm_alias_float.
25258 (llroundf): Likewise.
25259 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25260 (rintf): Define using libm_alias_float.
25261 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25262 (truncf): Define using libm_alias_float.
25263
15ff4900
JM
25264 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25265 (ceilf): Define using libm_alias_float.
25266 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25267 (floorf): Define using libm_alias_float.
25268 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25269 (fmaf): Define using libm_alias_float.
25270 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25271 (fmaxf): Define using libm_alias_float.
25272 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25273 (fminf): Define using libm_alias_float.
25274 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25275 (llrintf): Define using libm_alias_float.
25276 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25277 (llroundf): Define using libm_alias_float.
25278 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25279 (lrintf): Define using libm_alias_float.
25280 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25281 (lroundf): Define using libm_alias_float.
25282 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25283 <libm-alias-float.h>.
25284 (nearbyintf): Define using libm_alias_float.
25285 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25286 (rintf): Define using libm_alias_float.
25287 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25288 (roundf): Define using libm_alias_float.
25289 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25290 (truncf): Define using libm_alias_float.
25291
5de60638
JM
25292 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25293 (ceil): Define using libm_alias_double.
25294 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25295 (copysign): Define using libm_alias_double.
25296 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25297 (fabs): Define using libm_alias_double.
25298 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25299 (floor): Define using libm_alias_double.
25300 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25301 (fmax): Define using libm_alias_double.
25302 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25303 (fmin): Define using libm_alias_double.
25304 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25305 (lrint): Define using libm_alias_double.
25306 (llrint): Likewise.
25307 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25308 (lround): Define using libm_alias_double.
25309 (llround): Likewise.
25310 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25311 (rint): Define using libm_alias_double.
25312 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25313 (trunc): Define using libm_alias_double.
25314
d8124864
JM
25315 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25316 (libm_alias_double_r): Add semicolon after weak_alias call.
25317
f07d2ec8
JM
253182017-11-27 Joseph Myers <joseph@codesourcery.com>
25319
25320 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25321 (ceil): Define using libm_alias_double.
25322 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25323 (floor): Define using libm_alias_double.
25324 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25325 (fma): Define using libm_alias_double.
25326 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25327 (fmax): Define using libm_alias_double.
25328 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25329 (fmin): Define using libm_alias_double.
25330 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25331 (llrint): Define using libm_alias_double.
25332 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25333 (llround): Define using libm_alias_double.
25334 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25335 (lrint): Define using libm_alias_double.
25336 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25337 (lround): Define using libm_alias_double.
25338 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25339 (nearbyint): Define using libm_alias_double.
25340 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25341 (rint): Define using libm_alias_double.
25342 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25343 (round): Define using libm_alias_double.
25344 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25345 (trunc): Define using libm_alias_double.
25346
4bab0224
FW
253472017-11-27 Florian Weimer <fweimer@redhat.com>
25348
25349 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25350 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25351 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25352 (tests): Add tst-mlock2.
25353 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25354 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25355 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25356 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25357 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25358 for mlock. Document mlock2.
25359
a23aa5b7
JM
253602017-11-27 Joseph Myers <joseph@codesourcery.com>
25361
25362 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25363 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25364 Likewise.
25365 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25366 Likewise.
25367 * sysdeps/x86/Makeconfig: New file.
25368 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25369 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25370 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25371 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25372 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25373 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25374 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25375 Likewise.
25376 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25377 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25378 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25379 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25380 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25381 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25382 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25383 * manual/math.texi (Mathematics): Document support for _Float64x.
25384 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25385 * stdlib/Versions (GLIBC_2.27): Likewise.
25386 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25387 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25388 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25389 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25390 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25391 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25392 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25393 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25394 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25395 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25396 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25397 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25399 Likewise.
25400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25401 Likewise.
25402 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25403 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25404 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25405 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25406 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25407 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25408 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25409 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25410 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25411 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25412 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25414 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25415 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25416
c2c299fd
AS
254172017-11-27 Andreas Schwab <schwab@suse.de>
25418
25419 * elf/Makefile (dl-routines): Add dl-sort-maps.
25420 * elf/dl-sort-maps.c: New file.
25421 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25422 (_dl_sort_maps): Declare.
25423 * elf/dl-fini.c (_dl_sort_fini): Remove.
25424 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25425 * elf/dl-close.c (_dl_close_worker): Likewise.
25426 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25427 open-coding it.
25428 * elf/dl-open.c (dl_open_worker): Likewise.
25429
9d4b0117
JM
254302017-11-24 Joseph Myers <joseph@codesourcery.com>
25431
de61465c
JM
25432 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25433 using libm_alias_float128.
25434 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25435 Likewise.
25436 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25437 Likewise.
25438 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25439 (setpayloadsigf128): Likewise.
25440 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25441 Likewise.
25442 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25443 Likewise.
25444
9ae6d171
JM
25445 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25446 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25447 -mfloat128 to CFLAGS.
25448 ($(foreach
25449 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25450 Likewise.
25451 (CFLAGS-libm-test-support-float64x.c): New variable.
25452 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25453 $(f128-loader-link) to gnulib-tests.
25454
6e70d156
JM
25455 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25456 (libm_alias_float128_other_r): If
25457 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25458 alias.
25459 (libm_alias_float128_r): Add semicolon after weak_alias call.
25460 * sysdeps/generic/libm-alias-ldouble.h
25461 (libm_alias_ldouble_other_r_f128): New macro.
25462 (libm_alias_ldouble_other_r_f64x): Likewise.
25463 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25464 and libm_alias_ldouble_other_r_f64x.
25465 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25466 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25467 (libm_alias_ldouble_other_r_f128): New macro.
25468 (libm_alias_ldouble_other_r_f64x): Likewise.
25469 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25470 and libm_alias_ldouble_other_r_f64x.
25471
df2806cd
JM
25472 * stdlib/strfroml.c: Always include <stdlib.h>.
25473 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25474 undefine as macro and define as weak alias.
25475 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25476 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25477 <stdlib.h>.
25478 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25479 Define and later undefine as macro and define as weak alias.
25480
0df4fe35
JM
25481 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25482 Define and later undefine as macro. Define as weak alias if
25483 [!USE_WIDE_CHAR].
25484 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25485 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25486 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25487 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25488 Define and later undefine as macro. Define as weak alias if
25489 [!USE_WIDE_CHAR].
25490 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25491 Define and later undefine as macro. Define as weak alias if
25492 [USE_WIDE_CHAR].
25493 * sysdeps/ieee754/float128/strtof128_l.c
25494 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25495 Define and later undefine as macro. Define as weak alias if
25496 [!USE_WIDE_CHAR].
25497 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25498 Define and later undefine as macro. Define as weak alias if
25499 [USE_WIDE_CHAR].
25500 * sysdeps/ieee754/ldbl-128/strtold_l.c
25501 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25502 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25503 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25504 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25505 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25506 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25507 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25508 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25509 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25510 * sysdeps/ieee754/ldbl-96/strtold_l.c
25511 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25512 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25513 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25514 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25515
ae7207d0
JM
25516 * math/test-float64x.h: New file.
25517 * math/Makefile (type-float64x-yes): New variable.
25518 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25519
9596fc69
JM
25520 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25521 function-like macro.
25522 (min_of_type_): Likewise.
25523 (min_of_type_l): Likewise.
25524 (min_of_type_f128): Likewise.
25525 (min_of_type): Pass () as last argument of __MATH_TG.
25526
46453c3c
JM
25527 * stdlib/tst-strtod-round-skeleton.c
25528 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25529 headers.
25530
01e659e7
JM
25531 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25532 for combinations of long double with _Float64 and _Float64x.
25533
5c60afdd
JM
25534 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25535 (__DECL_SIMD_cosf32): Likewise.
25536 (__DECL_SIMD_cosf64): Likewise.
25537 (__DECL_SIMD_cosf32x): Likewise.
25538 (__DECL_SIMD_cosf64x): Likewise.
25539 (__DECL_SIMD_cosf128x): Likewise.
25540 (__DECL_SIMD_sinf16): Likewise.
25541 (__DECL_SIMD_sinf32): Likewise.
25542 (__DECL_SIMD_sinf64): Likewise.
25543 (__DECL_SIMD_sinf32x): Likewise.
25544 (__DECL_SIMD_sinf64x): Likewise.
25545 (__DECL_SIMD_sinf128x): Likewise.
25546 (__DECL_SIMD_sincosf16): Likewise.
25547 (__DECL_SIMD_sincosf32): Likewise.
25548 (__DECL_SIMD_sincosf64): Likewise.
25549 (__DECL_SIMD_sincosf32x): Likewise.
25550 (__DECL_SIMD_sincosf64x): Likewise.
25551 (__DECL_SIMD_sincosf128x): Likewise.
25552 (__DECL_SIMD_logf16): Likewise.
25553 (__DECL_SIMD_logf32): Likewise.
25554 (__DECL_SIMD_logf64): Likewise.
25555 (__DECL_SIMD_logf32x): Likewise.
25556 (__DECL_SIMD_logf64x): Likewise.
25557 (__DECL_SIMD_logf128x): Likewise.
25558 (__DECL_SIMD_expf16): Likewise.
25559 (__DECL_SIMD_expf32): Likewise.
25560 (__DECL_SIMD_expf64): Likewise.
25561 (__DECL_SIMD_expf32x): Likewise.
25562 (__DECL_SIMD_expf64x): Likewise.
25563 (__DECL_SIMD_expf128x): Likewise.
25564 (__DECL_SIMD_powf16): Likewise.
25565 (__DECL_SIMD_powf32): Likewise.
25566 (__DECL_SIMD_powf64): Likewise.
25567 (__DECL_SIMD_powf32x): Likewise.
25568 (__DECL_SIMD_powf64x): Likewise.
25569 (__DECL_SIMD_powf128x): Likewise.
25570
9d4b0117
JM
25571 * stdlib/Versions (libc): Move entries for wcstof128 and
25572 wcstof128_l to ....
25573 * wcsmbs/Versions (libc): ... here.
25574 Include <float128-abi.h>.
25575
7911dd47
FW
255762017-11-24 Florian Weimer <fweimer@redhat.com>
25577
25578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25579 bits/mman-shared.h.
25580 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25581 <bits/mman-shared.h>.
25582 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25583 to ...
25584 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25585 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25586 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25587 <bits/mman-shared.h>.
25588
c45d78aa
AZ
255892017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25590
25591 [BZ #22457]
25592 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25593 posix_memalign/free.
25594 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25595
3ffc4cc1
MF
255962017-11-22 Mike FABIAN <mfabian@redhat.com>
25597
25598 [BZ #22469]
25599 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25600 and implement the collation rules for pl from CLDR on top of that.
25601 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25602 of locales to be built for testing.
25603 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25604
3a327316
JM
256052017-11-23 Joseph Myers <joseph@codesourcery.com>
25606
25607 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25608 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25609 libm_alias_ldouble_other.
25610 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25611 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25612 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25613 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25614 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25615 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25616 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25617 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25618 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25619 libm_alias_ldouble_r.
25620 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25621 libm_alias_ldouble_other.
25622 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25623 (log10l): Likewise.
25624 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25625 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25626 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25627 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25628 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25629 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25630 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25631 (atan2l): Likewise.
25632 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25633 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25634 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25635 libm_alias_ldouble.
25636 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25637 (cosl): Likewise.
25638 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25639 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25640 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25641 (expl): Likewise.
25642 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25643 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25644 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25645 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25646 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25647 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25648 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25649 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25650 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25651 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25652 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25653 libm_alias_ldouble.
25654 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25655 libm_alias_ldouble_other.
25656 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25657 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25658 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25659 libm_alias_ldouble.
25660 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25661 libm_alias_ldouble_other.
25662 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25663 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25664 * sysdeps/ia64/fpu/w_lgammal_main.c
25665 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25666 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25667
0a947e06
FW
256682017-11-23 Florian Weimer <fweimer@redhat.com>
25669
25670 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25671 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25672 alike. Remove freeres marker.
25673 * malloc/arena.c (arena_thread_freeres): Call
25674 tcache_thread_shutdown.
25675
67f36c79
FW
256762017-11-23 Florian Weimer <fweimer@redhat.com>
25677
25678 [BZ #22459]
25679 Export nscd hash function as __nss_hash.
25680 * include/nss.h (__nss_hash): Declare.
25681 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25682 symbol.
25683 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25684 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25685 of __nscd_hash.
25686 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25687 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25688 * nss/Makefiles (routines): Add nss_hash.
25689 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25690 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25691 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25692 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25693
cccb6d4e
FW
256942017-11-23 Florian Weimer <fweimer@redhat.com>
25695
25696 [BZ #22478]
25697 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25698 Return error code, not -1.
25699 * signal/tst-sigwait-eintr.c: New file.
25700 * signal/Makefile (tests): Add tst-sigwait-eintr.
25701
59d2cbb1
FW
257022017-11-23 Florian Weimer <fweimer@redhat.com>
25703
25704 Linux: Add memfd_create system call wrapper
25705 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25706 tst-memfd_create.
25707 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25708 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25709 [__USE_GNU] (memfd_create): Declare.
25710 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25711 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25712 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25713 * sysdeps/unix/sysv/linux/**.abilist: Update.
25714 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25715
a90d1ac2
JM
257162017-11-22 Joseph Myers <joseph@codesourcery.com>
25717
0a9d1d62
JM
25718 * localedata/gen-locale.sh: Fix typo in variable name.
25719
754034c4
JM
25720 * resolv/res_debug.c (p_secstodate): Condition definition on
25721 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25722 directly as __p_secstodate, and as a compat symbol. Do not use
25723 libresolv_hidden_def.
25724 * resolv/resolv.h (p_secstodate): Remove macro and function
25725 declaration.
25726 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25727 using p_secstodate.
25728 * include/resolv.h (__p_secstodate): Do not use
25729 libresolv_hidden_proto.
25730 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25731 (tests-internal): ... here.
25732 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25733 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25734 and declare and use __p_secstodate and use compat_symbol_reference
25735 in that case.
25736 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25737 implementation returning 77.
25738
f120cda6
JM
25739 [BZ #22463]
25740 * resolv/res_debug.c: Include <libc-diag.h>.
25741 (p_secstodate): Assert time_t at least as wide as u_long. On
25742 overflow, use integer seconds since the epoch as output, or use
25743 "<overflow>" as output and set errno to EOVERFLOW if integer
25744 seconds since the epoch would be 14 or more characters.
25745 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25746 for sprintf call.
25747 * resolv/tst-p_secstodate.c: New file.
25748 * resolv/Makefile (tests): Add tst-p_secstodate.
25749 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25750
a90d1ac2
JM
25751 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25752 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25753 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25754
0285e6bd
PE
257552017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25756
25757 * posix/regcomp.c (init_word_char): Add comments.
25758
4bae6150
JM
257592017-11-22 Joseph Myers <joseph@codesourcery.com>
25760
25761 [BZ #22447]
25762 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25763 strlen to compute length of ut_user and set trailing NUL byte of
25764 result explicitly.
25765
4b7af5fc
MF
257662017-11-21 Mike FABIAN <mfabian@redhat.com>
25767
25768 [BZ #15537]
25769 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25770 using “copy "iso14651_t1"” and then implementing the
25771 collation rules for lv from CLDR on top of that.
25772 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25773 of locales to be built for testing.
25774 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25775 sorting.
25776
922bb78c
JM
257772017-11-21 Joseph Myers <joseph@codesourcery.com>
25778
25779 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25780 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25781 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25782 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25783 [__USE_MISC] (MADV_HWPOISON): New macro.
25784 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25785
a3aaa598
AZ
257862017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25787
25788 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25789 -Wmissing-braces on GCC 4.9.
25790
8beba15d
SL
257912017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25792
25793 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25794 * sysdeps/s390/s390-32/start.S (_start): Likewise
25795 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25796 (thread_start): Likewise.
25797 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25798 (thread_start): Likewise.
25799 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25800 (__makecontext_ret): Likewise.
25801 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25802 (__makecontext_ret): Likewise.
25803
80eb52e3
SL
258042017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25805
25806 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25807 __wcschrnul): Remove attribute_hidden.
25808
567d8c1f
PE
258092017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25810
25811 regex: don't assume uint64_t or uint32_t
25812 This avoids -Werror=overflow errors for 32-bit systems in
25813 the 64-bit case. Problem reported by Joseph Myers in:
25814 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25815 Also, when this code is used in Gnulib it ports to platforms
25816 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25817 them, and on some 32-bit compilers there is no uint64_t.
25818 Problem reported by Gianluigi Tiesi in:
25819 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25820 * posix/regcomp.c (init_word_char): Don't assume that the types
25821 uint64_t and uint32_t exist. Adapted from Gnulib patch
25822 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25823 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25824
4d7632ff
SP
258252017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25826
5a67c4fa
SP
25827 * sysdeps/aarch64/memset-reg.h: New file.
25828 * sysdeps/aarch64/memset.S: Use it.
25829 (__memset): Rename to MEMSET macro.
25830 [ZVA_MACRO]: Use zva_macro.
25831 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25832 Add memset_generic and memset_falkor.
25833 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25834 (__libc_ifunc_impl_list): Add memset ifuncs.
25835 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25836 local variable zva_size.
25837 * sysdeps/aarch64/multiarch/memset.c: New file.
25838 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25839 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25840 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25841 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25842 (DCZID_DZP_MASK): New macro.
25843 (DCZID_BS_MASK): Likewise.
25844 (init_cpu_features): Read and set zva_size.
25845 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25846 (struct cpu_features): New member zva_size.
25847
eb332f9f
SP
25848 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25849 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25850 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25851
4d7632ff
SP
25852 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25853 backwards. Fix timing computation.
25854 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25855 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25856 on memset by N at a time. Fix timing computation.
25857
a465b89e
FW
258582017-11-20 Florian Weimer <fweimer@redhat.com>
25859
25860 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25861 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25862
0f74bbf5
FW
258632017-11-19 Florian Weimer <fweimer@redhat.com>
25864
25865 manual: Document mprotect
25866 * manual/memory.texi (Memory Protection): New section.
25867 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25868 documentation of PROT_* flags and reference the Memory Protection
25869 section instead.
25870
f6e965ee
FW
258712017-11-19 Florian Weimer <fweimer@redhat.com>
25872
25873 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25874 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25875 (Scatter-Gather): ... to here. Remove misleading comment.
25876
363e4519 258772017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 25878
5f9d1949
CB
25879 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25880 style.
25881
ea69a5c8
CB
25882 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25883 when /proc/<pid>/setgroups does not exist.
25884
8db7f48c
FW
258852017-11-18 Florian Weimer <fweimer@redhat.com>
25886
25887 * sysdeps/unix/sysv/linux/tst-ttyname.c
25888 (become_root_in_mount_ns): Remove.
25889 (do_in_chroot_1): Call support_enter_mount_namespace.
25890 (do_in_chroot_2): Likewise.
25891 (do_test): Call support_become_root early.
25892
273a0c49
FW
258932017-11-18 Florian Weimer <fweimer@redhat.com>
25894
25895 * support/namespace.h (support_enter_mount_namespace): Declare.
25896 * support/support_enter_mount_namespace.c: New file.
25897 * support/Makefile (libsupport-routines): Add
25898 support_enter_mount_namespace.
25899
8adfb0ee
FW
259002017-11-18 Florian Weimer <fweimer@redhat.com>
25901
25902 * support/temp_file.c (support_create_temp_directory): Use
25903 test_dir and do not rely on the presence of the XXXXXX suffix.
25904 * support/temp_file.h (support_create_temp_directory): Update
25905 comment.
25906 * support/tst-xreadlink.c (do_test): Adjust.
25907 * support/support_chroot.c (support_chroot_create): Likewise.
25908
df0c40ee
TMQMF
259092017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25910
25911 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25912 macro.
25913 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25914 htm-no-suspend.
25915
015c6dc2
JM
259162017-11-17 Joseph Myers <joseph@codesourcery.com>
25917
f58e5f48
JM
25918 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25919 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25920 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25921 (ceill): Define using libm_alias_ldouble.
25922 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25923 <libm-alias-ldouble.h>.
25924 (copysignl): Define using libm_alias_ldouble.
25925 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25926 (fabsl): Define using libm_alias_ldouble.
25927 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25928 (floorl): Define using libm_alias_ldouble.
25929 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25930 (fmaxl): Define using libm_alias_ldouble.
25931 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25932 (fminl): Define using libm_alias_ldouble.
25933 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25934 (llrintl): Define using libm_alias_ldouble.
25935 (lrintl): Likewise.
25936 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25937 <libm-alias-ldouble.h>.
25938 (nearbyintl): Define using libm_alias_ldouble.
25939 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25940 (truncl): Define using libm_alias_ldouble.
25941 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25942 <libm-alias-ldouble.h>.
25943 (lrintl): Define using libm_alias_ldouble.
25944
2ce30701
JM
25945 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25946 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25947 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25948 (asinhl): Define using libm_alias_ldouble.
25949 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25950 (atanl): Define using libm_alias_ldouble.
25951 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25952 (cbrtl): Define using libm_alias_ldouble.
25953 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25954 (ceill): Define using libm_alias_ldouble.
25955 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25956 (copysignl): Define using libm_alias_ldouble.
25957 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25958 (fabsl): Define using libm_alias_ldouble.
25959 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25960 (floorl): Define using libm_alias_ldouble.
25961 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25962 (fmaxl): Define using libm_alias_ldouble.
25963 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25964 (fminl): Define using libm_alias_ldouble.
25965 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25966 (frexpl): Define using libm_alias_ldouble.
25967 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25968 (llrintl): Define using libm_alias_ldouble.
25969 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25970 (logbl): Define using libm_alias_ldouble.
25971 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25972 (lrintl): Define using libm_alias_ldouble.
25973 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25974 (nearbyintl): Define using libm_alias_ldouble.
25975 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25976 (nextafterl): Define using libm_alias_ldouble.
25977 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25978 (remquol): Define using libm_alias_ldouble.
25979 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25980 (rintl): Define using libm_alias_ldouble.
25981 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25982 (truncl): Define using libm_alias_ldouble.
25983 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25984 (fmaxl): Define using libm_alias_ldouble.
25985 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25986 (fminl): Define using libm_alias_ldouble.
25987
015c6dc2
JM
25988 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25989 to C syntax instead of availability and properties of types.
25990 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25991 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25992 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25993 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25994 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25995 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25996
ce003e5d
FW
259972017-11-17 Florian Weimer <fweimer@redhat.com>
25998
25999 support_become_root: Enable file creation in namespaces.
26000 * support/support_become_root.c (setup_mapping): New function.
26001 (support_become_root): Call it.
26002
e7df6c5c
JM
260032017-11-17 Joseph Myers <joseph@codesourcery.com>
26004
26005 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
26006 macro.
26007
58a813bf
AZ
260082017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26009
26010 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
26011 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
26012
f97773d1
JM
260132017-11-16 Joseph Myers <joseph@codesourcery.com>
26014
6a6aa1f3
JM
26015 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
26016
f97773d1
JM
26017 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26018 version to 4.14.
26019
a306c790
SP
260202017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26021
7b0fb870
SP
26022 * INSTALL: Fix botched up regeneration.
26023
26024 * NEWS: Update sourceare link to https.
a306c790
SP
26025 * configure.ac: Likewise.
26026 * crypt/md5test-giant.c: Likewise.
26027 * dlfcn/bug-atexit1.c: Likewise.
26028 * dlfcn/bug-atexit2.c: Likewise.
26029 * localedata/README: Likewise.
26030 * malloc/tst-mallocfork.c: Likewise.
26031 * manual/install.texi: Likewise.
26032 * nptl/tst-pthread-getattr.c: Likewise.
26033 * stdio-common/tst-fgets.c: Likewise.
26034 * stdio-common/tst-fwrite.c: Likewise.
26035 * sunrpc/Makefile: Likewise.
26036 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26037 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
26038 * configure: Regenerate.
26039 * INSTALL: Regenerate.
a306c790 26040
7532837d
MS
260412017-11-15 Martin Sebor <msebor@redhat.com>
26042
26043 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26044 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26045 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26046
495a56fd
LS
260472017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26048
d9611e30
LS
26049 [BZ #22145]
26050 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26051 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26052
a09dfc19
LS
26053 [BZ #22145]
26054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26055 Defer is_pty check until end of the function.
26056 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26057
2fbce9c2
LS
26058 [BZ #22145]
26059 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26060 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26061 (ttyname): Likewise.
26062 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26063 (__ttyname_r): Likewise.
26064
d10d6cab
LS
26065 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26066 int to bool.
26067
9b5a8750
LS
26068 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26069
495a56fd
LS
26070 * manual/terminal.texi (Is It a Terminal):
26071 Mention ENODEV for ttyname and ttyname_r.
26072
fa680dc6
JM
260732017-11-15 Joseph Myers <joseph@codesourcery.com>
26074
78cde19f
JM
26075 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26076 constant and macro.
26077
fa680dc6
JM
26078 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26079 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26080 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26081 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26082 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26083 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26084
ad4f43a2
AZ
260852017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26086
1ba1d8a4
AZ
26087 * signal/sigrelse.c (sigrelse): Optimize implementation.
26088
ad4f43a2
AZ
26089 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26090 (__sigpause): Rely on __sigsuspend to implement single thread
26091 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26092
d0212d42
JM
260932017-11-15 Joseph Myers <joseph@codesourcery.com>
26094
26095 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26096 kernel version to 4.14.
26097
2180fee1
SE
260982017-11-15 Steve Ellcey <sellcey@cavium.com>
26099
26100 [BZ #22442]
26101 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26102 Check if ifname is too long.
26103
cad7ca39
LS
261042017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26105
26106 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26107
58c9f659
MF
261082017-11-15 Mike FABIAN <mfabian@redhat.com>
26109
26110 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26111 was accidentally lost.
26112
0fa87c01
MF
261132017-11-15 Mike FABIAN <mfabian@redhat.com>
26114
26115 * localedata/locales/az_IR: Add standard copyright header.
26116
34eb4157
FW
261172017-11-15 Florian Weimer <fweimer@redhat.com>
26118
26119 [BZ #22439]
26120 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26121 not just the top one. Output a new "subheaps" statistic.
26122
7a9368a1
FW
261232017-11-15 Florian Weimer <fweimer@redhat.com>
26124
26125 [BZ #22408]
26126 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26127 under the per-arena lock.
26128 * malloc/Makefile (tests): Add tst-malloc_info.
26129 (tst-malloc_info): Link with libpthread.
26130 * malloc/tst-malloc_info.c: New file.
26131
be3a79a3
JM
261322017-11-15 Joseph Myers <joseph@codesourcery.com>
26133
26134 [BZ #21660]
26135 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26136 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26137 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26138 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26139 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26140 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26141 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26142 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26147 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26151 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26152 (__floating_type): Likewise.
26153 (__real_integer_type): Likewise.
26154 (__complex_integer_type): Likewise.
26155 (__expr_is_real): Likewise.
26156 (__tgmath_real_type_sub): Likewise.
26157 (__tgmath_real_type): Likewise.
26158 (__tgmath_complex_type_sub): Likewise.
26159 (__tgmath_complex_type): Likewise.
26160 (__TGMATH_F128): Likewise.
26161 (__TGMATH_CF128): Likewise.
26162 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26163 new macros.
26164 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26165 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26166 Likewise.
26167 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26168 Likewise.
26169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26173 Likewise.
26174 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26176 Likewise.
26177 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26178 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26179 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26180 Likewise.
26181 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26182 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26183 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26184 (cimag): Likewise.
26185 (creal): Likewise.
26186
ec72135e
JM
261872017-11-14 Joseph Myers <joseph@codesourcery.com>
26188
2e64ec9c
JM
26189 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26190 for stpncpy calls for GCC 8.
26191 (test_strncat): Disable -Wstringop-truncation warning for strncat
26192 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26193 strncat call for GCC 7.
26194 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26195 calls for GCC 8.
26196 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26197 trailing NUL.
26198
ec72135e
JM
26199 * string/bug-strncat1.c: Include <libc-diag.h>.
26200 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26201
363e4519 262022017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
26203
26204 [BZ #22387]
26205 * localedata/locales/aa_DJ: Improved readibility by replacing
26206 <Uxxxx> sequences in the ASCII printable range by their ASCII
26207 character equivalents.
26208 * localedata/locales/aa_ER: Likewise.
26209 * localedata/locales/aa_ER@saaho: Likewise.
26210 * localedata/locales/aa_ET: Likewise.
26211 * localedata/locales/af_ZA: Likewise.
26212 * localedata/locales/agr_PE: Likewise.
26213 * localedata/locales/ak_GH: Likewise.
26214 * localedata/locales/am_ET: Likewise.
26215 * localedata/locales/anp_IN: Likewise.
26216 * localedata/locales/ar_AE: Likewise.
26217 * localedata/locales/ar_BH: Likewise.
26218 * localedata/locales/ar_DZ: Likewise.
26219 * localedata/locales/ar_EG: Likewise.
26220 * localedata/locales/ar_IN: Likewise.
26221 * localedata/locales/ar_IQ: Likewise.
26222 * localedata/locales/ar_JO: Likewise.
26223 * localedata/locales/ar_KW: Likewise.
26224 * localedata/locales/ar_LB: Likewise.
26225 * localedata/locales/ar_LY: Likewise.
26226 * localedata/locales/ar_MA: Likewise.
26227 * localedata/locales/ar_OM: Likewise.
26228 * localedata/locales/ar_QA: Likewise.
26229 * localedata/locales/ar_SA: Likewise.
26230 * localedata/locales/ar_SD: Likewise.
26231 * localedata/locales/ar_SS: Likewise.
26232 * localedata/locales/ar_SY: Likewise.
26233 * localedata/locales/ar_TN: Likewise.
26234 * localedata/locales/ar_YE: Likewise.
26235 * localedata/locales/as_IN: Likewise.
26236 * localedata/locales/ast_ES: Likewise.
26237 * localedata/locales/ayc_PE: Likewise.
26238 * localedata/locales/az_AZ: Likewise.
26239 * localedata/locales/az_IR: Likewise.
26240 * localedata/locales/be_BY: Likewise.
26241 * localedata/locales/be_BY@latin: Likewise.
26242 * localedata/locales/bem_ZM: Likewise.
26243 * localedata/locales/ber_DZ: Likewise.
26244 * localedata/locales/ber_MA: Likewise.
26245 * localedata/locales/bg_BG: Likewise.
26246 * localedata/locales/bhb_IN: Likewise.
26247 * localedata/locales/bho_IN: Likewise.
26248 * localedata/locales/bi_VU: Likewise.
26249 * localedata/locales/bn_BD: Likewise.
26250 * localedata/locales/bn_IN: Likewise.
26251 * localedata/locales/bo_CN: Likewise.
26252 * localedata/locales/bo_IN: Likewise.
26253 * localedata/locales/br_FR: Likewise.
26254 * localedata/locales/brx_IN: Likewise.
26255 * localedata/locales/bs_BA: Likewise.
26256 * localedata/locales/byn_ER: Likewise.
26257 * localedata/locales/ca_AD: Likewise.
26258 * localedata/locales/ca_ES: Likewise.
26259 * localedata/locales/ca_FR: Likewise.
26260 * localedata/locales/ca_IT: Likewise.
26261 * localedata/locales/ce_RU: Likewise.
26262 * localedata/locales/chr_US: Likewise.
26263 * localedata/locales/cmn_TW: Likewise.
26264 * localedata/locales/crh_UA: Likewise.
26265 * localedata/locales/cs_CZ: Likewise.
26266 * localedata/locales/csb_PL: Likewise.
26267 * localedata/locales/cv_RU: Likewise.
26268 * localedata/locales/cy_GB: Likewise.
26269 * localedata/locales/da_DK: Likewise.
26270 * localedata/locales/de_AT: Likewise.
26271 * localedata/locales/de_BE: Likewise.
26272 * localedata/locales/de_CH: Likewise.
26273 * localedata/locales/de_DE: Likewise.
26274 * localedata/locales/de_IT: Likewise.
26275 * localedata/locales/de_LI: Likewise.
26276 * localedata/locales/de_LU: Likewise.
26277 * localedata/locales/doi_IN: Likewise.
26278 * localedata/locales/dv_MV: Likewise.
26279 * localedata/locales/dz_BT: Likewise.
26280 * localedata/locales/el_CY: Likewise.
26281 * localedata/locales/el_GR: Likewise.
26282 * localedata/locales/en_AG: Likewise.
26283 * localedata/locales/en_AU: Likewise.
26284 * localedata/locales/en_BW: Likewise.
26285 * localedata/locales/en_CA: Likewise.
26286 * localedata/locales/en_DK: Likewise.
26287 * localedata/locales/en_GB: Likewise.
26288 * localedata/locales/en_HK: Likewise.
26289 * localedata/locales/en_IE: Likewise.
26290 * localedata/locales/en_IL: Likewise.
26291 * localedata/locales/en_IN: Likewise.
26292 * localedata/locales/en_NG: Likewise.
26293 * localedata/locales/en_NZ: Likewise.
26294 * localedata/locales/en_PH: Likewise.
26295 * localedata/locales/en_SG: Likewise.
26296 * localedata/locales/en_US: Likewise.
26297 * localedata/locales/en_ZA: Likewise.
26298 * localedata/locales/en_ZM: Likewise.
26299 * localedata/locales/en_ZW: Likewise.
26300 * localedata/locales/eo: Likewise.
26301 * localedata/locales/es_AR: Likewise.
26302 * localedata/locales/es_BO: Likewise.
26303 * localedata/locales/es_CL: Likewise.
26304 * localedata/locales/es_CO: Likewise.
26305 * localedata/locales/es_CR: Likewise.
26306 * localedata/locales/es_CU: Likewise.
26307 * localedata/locales/es_DO: Likewise.
26308 * localedata/locales/es_EC: Likewise.
26309 * localedata/locales/es_ES: Likewise.
26310 * localedata/locales/es_GT: Likewise.
26311 * localedata/locales/es_HN: Likewise.
26312 * localedata/locales/es_MX: Likewise.
26313 * localedata/locales/es_NI: Likewise.
26314 * localedata/locales/es_PA: Likewise.
26315 * localedata/locales/es_PE: Likewise.
26316 * localedata/locales/es_PR: Likewise.
26317 * localedata/locales/es_PY: Likewise.
26318 * localedata/locales/es_SV: Likewise.
26319 * localedata/locales/es_US: Likewise.
26320 * localedata/locales/es_UY: Likewise.
26321 * localedata/locales/es_VE: Likewise.
26322 * localedata/locales/et_EE: Likewise.
26323 * localedata/locales/eu_ES: Likewise.
26324 * localedata/locales/eu_ES@euro: Likewise.
26325 * localedata/locales/fa_IR: Likewise.
26326 * localedata/locales/ff_SN: Likewise.
26327 * localedata/locales/fi_FI: Likewise.
26328 * localedata/locales/fil_PH: Likewise.
26329 * localedata/locales/fo_FO: Likewise.
26330 * localedata/locales/fr_BE: Likewise.
26331 * localedata/locales/fr_CA: Likewise.
26332 * localedata/locales/fr_CH: Likewise.
26333 * localedata/locales/fr_FR: Likewise.
26334 * localedata/locales/fr_LU: Likewise.
26335 * localedata/locales/fur_IT: Likewise.
26336 * localedata/locales/fy_DE: Likewise.
26337 * localedata/locales/fy_NL: Likewise.
26338 * localedata/locales/ga_IE: Likewise.
26339 * localedata/locales/gd_GB: Likewise.
26340 * localedata/locales/gez_ER: Likewise.
26341 * localedata/locales/gez_ET: Likewise.
26342 * localedata/locales/gl_ES: Likewise.
26343 * localedata/locales/gu_IN: Likewise.
26344 * localedata/locales/gv_GB: Likewise.
26345 * localedata/locales/ha_NG: Likewise.
26346 * localedata/locales/hak_TW: Likewise.
26347 * localedata/locales/he_IL: Likewise.
26348 * localedata/locales/hi_IN: Likewise.
26349 * localedata/locales/hif_FJ: Likewise.
26350 * localedata/locales/hne_IN: Likewise.
26351 * localedata/locales/hr_HR: Likewise.
26352 * localedata/locales/hsb_DE: Likewise.
26353 * localedata/locales/ht_HT: Likewise.
26354 * localedata/locales/hu_HU: Likewise.
26355 * localedata/locales/hy_AM: Likewise.
26356 * localedata/locales/i18n: Likewise.
26357 * localedata/locales/ia_FR: Likewise.
26358 * localedata/locales/id_ID: Likewise.
26359 * localedata/locales/ig_NG: Likewise.
26360 * localedata/locales/ik_CA: Likewise.
26361 * localedata/locales/is_IS: Likewise.
26362 * localedata/locales/it_CH: Likewise.
26363 * localedata/locales/it_IT: Likewise.
26364 * localedata/locales/iu_CA: Likewise.
26365 * localedata/locales/ja_JP: Likewise.
26366 * localedata/locales/ka_GE: Likewise.
26367 * localedata/locales/kk_KZ: Likewise.
26368 * localedata/locales/kl_GL: Likewise.
26369 * localedata/locales/kn_IN: Likewise.
26370 * localedata/locales/ko_KR: Likewise.
26371 * localedata/locales/kok_IN: Likewise.
26372 * localedata/locales/ks_IN: Likewise.
26373 * localedata/locales/ks_IN@devanagari: Likewise.
26374 * localedata/locales/ku_TR: Likewise.
26375 * localedata/locales/kw_GB: Likewise.
26376 * localedata/locales/ky_KG: Likewise.
26377 * localedata/locales/lb_LU: Likewise.
26378 * localedata/locales/lg_UG: Likewise.
26379 * localedata/locales/li_BE: Likewise.
26380 * localedata/locales/li_NL: Likewise.
26381 * localedata/locales/lij_IT: Likewise.
26382 * localedata/locales/ln_CD: Likewise.
26383 * localedata/locales/lo_LA: Likewise.
26384 * localedata/locales/lt_LT: Likewise.
26385 * localedata/locales/lv_LV: Likewise.
26386 * localedata/locales/lzh_TW: Likewise.
26387 * localedata/locales/mag_IN: Likewise.
26388 * localedata/locales/mai_IN: Likewise.
26389 * localedata/locales/mg_MG: Likewise.
26390 * localedata/locales/mhr_RU: Likewise.
26391 * localedata/locales/mi_NZ: Likewise.
26392 * localedata/locales/mk_MK: Likewise.
26393 * localedata/locales/ml_IN: Likewise.
26394 * localedata/locales/mn_MN: Likewise.
26395 * localedata/locales/mni_IN: Likewise.
26396 * localedata/locales/mr_IN: Likewise.
26397 * localedata/locales/ms_MY: Likewise.
26398 * localedata/locales/mt_MT: Likewise.
26399 * localedata/locales/my_MM: Likewise.
26400 * localedata/locales/nan_TW: Likewise.
26401 * localedata/locales/nan_TW@latin: Likewise.
26402 * localedata/locales/nb_NO: Likewise.
26403 * localedata/locales/nds_DE: Likewise.
26404 * localedata/locales/nds_NL: Likewise.
26405 * localedata/locales/ne_NP: Likewise.
26406 * localedata/locales/nhn_MX: Likewise.
26407 * localedata/locales/niu_NU: Likewise.
26408 * localedata/locales/niu_NZ: Likewise.
26409 * localedata/locales/nl_AW: Likewise.
26410 * localedata/locales/nl_BE: Likewise.
26411 * localedata/locales/nl_NL: Likewise.
26412 * localedata/locales/nn_NO: Likewise.
26413 * localedata/locales/nr_ZA: Likewise.
26414 * localedata/locales/nso_ZA: Likewise.
26415 * localedata/locales/oc_FR: Likewise.
26416 * localedata/locales/om_ET: Likewise.
26417 * localedata/locales/om_KE: Likewise.
26418 * localedata/locales/or_IN: Likewise.
26419 * localedata/locales/os_RU: Likewise.
26420 * localedata/locales/pa_IN: Likewise.
26421 * localedata/locales/pa_PK: Likewise.
26422 * localedata/locales/pap_AW: Likewise.
26423 * localedata/locales/pap_CW: Likewise.
26424 * localedata/locales/pl_PL: Likewise.
26425 * localedata/locales/ps_AF: Likewise.
26426 * localedata/locales/pt_BR: Likewise.
26427 * localedata/locales/pt_PT: Likewise.
26428 * localedata/locales/quz_PE: Likewise.
26429 * localedata/locales/raj_IN: Likewise.
26430 * localedata/locales/ro_RO: Likewise.
26431 * localedata/locales/ru_RU: Likewise.
26432 * localedata/locales/ru_UA: Likewise.
26433 * localedata/locales/rw_RW: Likewise.
26434 * localedata/locales/sa_IN: Likewise.
26435 * localedata/locales/sat_IN: Likewise.
26436 * localedata/locales/sc_IT: Likewise.
26437 * localedata/locales/sd_IN: Likewise.
26438 * localedata/locales/sd_IN@devanagari: Likewise.
26439 * localedata/locales/se_NO: Likewise.
26440 * localedata/locales/sgs_LT: Likewise.
26441 * localedata/locales/shs_CA: Likewise.
26442 * localedata/locales/si_LK: Likewise.
26443 * localedata/locales/sid_ET: Likewise.
26444 * localedata/locales/sk_SK: Likewise.
26445 * localedata/locales/sl_SI: Likewise.
26446 * localedata/locales/sm_WS: Likewise.
26447 * localedata/locales/so_DJ: Likewise.
26448 * localedata/locales/so_ET: Likewise.
26449 * localedata/locales/so_KE: Likewise.
26450 * localedata/locales/so_SO: Likewise.
26451 * localedata/locales/sq_AL: Likewise.
26452 * localedata/locales/sq_MK: Likewise.
26453 * localedata/locales/sr_ME: Likewise.
26454 * localedata/locales/sr_RS: Likewise.
26455 * localedata/locales/sr_RS@latin: Likewise.
26456 * localedata/locales/ss_ZA: Likewise.
26457 * localedata/locales/st_ZA: Likewise.
26458 * localedata/locales/sv_FI: Likewise.
26459 * localedata/locales/sv_SE: Likewise.
26460 * localedata/locales/sw_KE: Likewise.
26461 * localedata/locales/sw_TZ: Likewise.
26462 * localedata/locales/szl_PL: Likewise.
26463 * localedata/locales/ta_IN: Likewise.
26464 * localedata/locales/ta_LK: Likewise.
26465 * localedata/locales/tcy_IN: Likewise.
26466 * localedata/locales/te_IN: Likewise.
26467 * localedata/locales/tg_TJ: Likewise.
26468 * localedata/locales/th_TH: Likewise.
26469 * localedata/locales/the_NP: Likewise.
26470 * localedata/locales/ti_ER: Likewise.
26471 * localedata/locales/ti_ET: Likewise.
26472 * localedata/locales/tig_ER: Likewise.
26473 * localedata/locales/tk_TM: Likewise.
26474 * localedata/locales/tl_PH: Likewise.
26475 * localedata/locales/tn_ZA: Likewise.
26476 * localedata/locales/to_TO: Likewise.
26477 * localedata/locales/tpi_PG: Likewise.
26478 * localedata/locales/tr_CY: Likewise.
26479 * localedata/locales/tr_TR: Likewise.
26480 * localedata/locales/ts_ZA: Likewise.
26481 * localedata/locales/tt_RU: Likewise.
26482 * localedata/locales/tt_RU@iqtelif: Likewise.
26483 * localedata/locales/ug_CN: Likewise.
26484 * localedata/locales/uk_UA: Likewise.
26485 * localedata/locales/unm_US: Likewise.
26486 * localedata/locales/ur_IN: Likewise.
26487 * localedata/locales/ur_PK: Likewise.
26488 * localedata/locales/uz_UZ: Likewise.
26489 * localedata/locales/uz_UZ@cyrillic: Likewise.
26490 * localedata/locales/ve_ZA: Likewise.
26491 * localedata/locales/vi_VN: Likewise.
26492 * localedata/locales/wa_BE: Likewise.
26493 * localedata/locales/wae_CH: Likewise.
26494 * localedata/locales/wal_ET: Likewise.
26495 * localedata/locales/wo_SN: Likewise.
26496 * localedata/locales/xh_ZA: Likewise.
26497 * localedata/locales/yi_US: Likewise.
26498 * localedata/locales/yo_NG: Likewise.
26499 * localedata/locales/yue_HK: Likewise.
26500 * localedata/locales/yuw_PG: Likewise.
26501 * localedata/locales/zh_CN: Likewise.
26502 * localedata/locales/zh_HK: Likewise.
26503 * localedata/locales/zh_SG: Likewise.
26504 * localedata/locales/zh_TW: Likewise.
26505 * localedata/locales/zu_ZA: Likewise.
26506
cae87e64
FW
265072017-11-13 Florian Weimer <fweimer@redhat.com>
26508
26509 * support/next_to_fault.h, support/next_to_fault.c: New files.
26510 * support/Makefile (libsupport-routines): Add next_to_fault.
26511 * resolv/tst-inet_pton.c (struct next_to_fault)
26512 (next_to_fault_allocate, next_to_fault_free): Remove.
26513 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26514
4a306ef1
L
265152017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26516
26517 * elf/dl-support.c: Include <dl-procruntime.c>.
26518 * include/link.h: Include <link_map.h>.
26519 * sysdeps/generic/dl-procruntime.c: New file.
26520 * sysdeps/generic/link_map.h: Likewise.
26521 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26522 the writable ld.so namespace.
26523
e69897bf
PE
265242017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26525
26526 timezone: pacify GCC -Wstringop-truncation
26527 Problem reported by Martin Sebor in:
26528 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26529 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26530
1ffe1ccb
FW
265312017-11-12 Florian Weimer <fweimer@redhat.com>
26532
eceed671
FW
26533 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26534 tst-xreadlink.
26535 (tests): Add tst-xreadlink.
1ffe1ccb
FW
26536 * support/support.h (xstrndup): Declare.
26537 * support/xunistd.h (xunlink, xreadlink): Declare.
26538 * support/temp_file.h (support_create_temp_directory): Declare.
26539 * support/temp_file.c (support_create_temp_directory): New function.
26540 * support/support_chroot.c (support_chroot_create): Use it.
26541 * support/xreadlink.c: New file.
26542 * support/xstrndup.c: Likewise.
26543 * support/xunlink.c: Likewise.
26544 * support/tst-xreadlink.c: Likewise.
26545
456b40a9
JDA
265462017-11-11 John David Anglin <danglin@gcc.gnu.org>
26547
26548 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26549
c0a25aa9
FW
265502017-11-11 Florian Weimer <fweimer@redhat.com>
26551
26552 [BZ #22409]
26553 [BZ #22412]
26554 * resolv/res_comp.c (printable_string, binary_hnok)
26555 (binary_leading_dash): New functions.
26556 (res_hnok): Reimplement using these functions and ns_name_pton.
26557 (res_ownok): Likewise.
26558 (res_mailok): Reimplement using printable_string, ns_name_pton and
26559 binary_hnok.
26560 (res_dnok): Reimplement using printable_string and ns_name_pton.
26561 * resolv/tst-res_hnok.c (tests): Add additional tests.
26562 (LETTERDIGITS, PRINTABLE): Define.
26563 (do_test): Adjust one_char results.
26564
9e0ad304
FW
265652017-11-11 Florian Weimer <fweimer@redhat.com>
26566
26567 [BZ #22413]
26568 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26569 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26570
e2a9fca8
FW
265712017-11-11 Florian Weimer <fweimer@redhat.com>
26572
26573 * resolv/tst-ns_name_pton.c: New file.
26574 * resolv/Makefile (tests): Add tst-ns_name_pton.
26575 (tst-ns_name_pton): Link against libresolv.
26576
5c1a6923
FW
265772017-11-11 Florian Weimer <fweimer@redhat.com>
26578
26579 * resolv/tst-res_hnok.c: New file.
26580 * resolv/Makefile (tests): Add tst-res_hnok.
26581 (tst-res_hnok): Link against libresolv.
26582
a19c0a1d
FW
265832017-11-11 Florian Weimer <fweimer@redhat.com>
26584
26585 * resolv/tst-resolv-network.c: Use test framework instead explicit
26586 main function.
26587
8cb5295d
L
265882017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26589
26590 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26591 <jmp_buf-macros.h>.
26592 [!_ISOMAC] (STR_HELPER): New.
26593 [!_ISOMAC] (STR): Likewise.
26594 [!_ISOMAC] (TEST_SIZE): Likewise.
26595 [!_ISOMAC] (TEST_ALIGN): Likewise.
26596 [!_ISOMAC] (TEST_OFFSET): Likewise.
26597 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26598 field offsets of jmp_buf as well as sigjmp_buf.
26599 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26600 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26601 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26602 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26603 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26604 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26605 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26606 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26607 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26608 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26609 Likewise.
26610 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26611 Likewise.
26612 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26614 Likewise.
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26616 Likewise.
26617 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26618 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26619 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26620 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26621 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26623 Likewise.
26624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26625 Likewise.
26626 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26627 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26628 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26629
58c4a161
JM
266302017-11-07 Joseph Myers <joseph@codesourcery.com>
26631
3683b423
JM
26632 * include/float.h
26633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26634 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26636 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26638 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26640 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26642 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26644 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26646 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26648 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26650 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26652 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26654 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26656 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26658 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26660 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26662 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26664 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26666 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26668 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26670 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26672 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26674 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26676 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26678 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26680 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26681 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26682 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26684 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26686 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26688 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26690 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26692 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26694 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26695 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26696 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26697 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26698 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26699 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26700 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26701 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26702 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26703 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26704 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26705 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26706 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26707 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26708 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26710 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26712 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26714 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26715 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26716 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26717 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26718 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26719 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26720 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26721
58c4a161
JM
26722 * stdlib/tst-strtod.h (F16): New macro.
26723 (F32): Likewise.
26724 (F64): Likewise.
26725 (F32X): Likewise.
26726 (F64X): Likewise.
26727 (F128X): Likewise.
26728 (IF_FLOAT16): Likewise.
26729 (IF_FLOAT32): Likewise.
26730 (IF_FLOAT64): Likewise.
26731 (IF_FLOAT32X): Likewise.
26732 (IF_FLOAT64X): Likewise.
26733 (IF_FLOAT128X): Likewise.
26734 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26735 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26736 (STRTOD_TEST_FOREACH): Likewise.
26737 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26738 (CHOOSE_f64): Likewise.
26739 (CHOOSE_f32x): Likewise.
26740 (CHOOSE_f64x): Likewise.
26741
feda96a1
AS
267422017-11-07 Andreas Schwab <schwab@suse.de>
26743
26744 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26745
1bd0cbb8
MF
267462017-11-07 Mike FABIAN <mfabian@redhat.com>
26747
26748 [BZ #22403]
26749 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26750 to be escaped.
26751 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26752 to be escaped.
26753
363e4519 267542017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
26755
26756 [BZ #22403]
26757 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26758 to be escaped.
26759 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26760 to be escaped.
26761 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26762 to be escaped.
26763
dff91cd4
AZ
267642017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26765
06be6368
AZ
26766 [BZ #22298]
26767 * nptl/allocatestack.c (allocate_stack): Check if
26768 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26769 __PTHREAD_MUTEX_HAVE_PREV is defined.
26770 * nptl/descr.h (pthread): Likewise.
26771 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26772 Likewise.
26773 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26774 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26775 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26776 * sysdeps/nptl/bits/thread-shared-types.h
26777 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26778 defines.
26779 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26780 of __WORDSIZE for internal layout.
26781 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26782 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26783 instead of __WORDSIZE whether to use an union for __spins and __list
26784 fields.
26785 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26786 case.
26787 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26789 defines.
26790 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26792 Likewise.
26793 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26795 Likewise.
26796 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26798 Likewise.
26799 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26801 Likewise.
26802 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26804 Likewise.
26805 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26806 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26807 Likewise.
26808 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26809 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26810 Likewise.
26811 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26812 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26813 Likewise.
26814 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26816 Likewise.
26817 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26818 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26819 Likewise.
26820 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26821 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26822 Likewise.
26823 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26824 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26825 Likewise.
26826 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26827 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26828 Likewise.
26829 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26830 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26831 Likewise.
26832
72b3c6ee
AZ
26833 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26834 New macros.
26835 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26836 checks for expected input type size.
26837 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26838 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26839 Likewise.
26840 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26841 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26842 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26843 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26844 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26845 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26846 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26847 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26848 superflous runtime assert check.
26849 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26850 Likewise.
26851 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26852 Likewise.
26853 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26854 Likewise.
26855 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26856 Likewise.
26857 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26858 Likewise.
26859 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26860 Likewise.
26861 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26862 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26863 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26864 Likewise.
26865 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26866 Likewise.
26867 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26868 Likewise.
26869 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26870 Likewise.
26871 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26872 Likewise.
26873 * nptl/pthread_attr_setinheritsched.c
26874 (__pthread_attr_setinheritsched): Likewise.
26875 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26876 Likewise.
26877 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26878 Likewise.
26879 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26880 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26881 __old_pthread_attr_setstack): Likewise.
26882 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26883 Likewise.
26884 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26885 Likewise.
26886 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26887 Likewise.
26888 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26889 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26890 Likewise.
26891 * nptl/tst-typesizes.c: Remove file.
26892
dff91cd4
AZ
26893 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26894 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26895 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26896 checks for internal pthread_mutex_t offsets.
26897 * sysdeps/aarch64/nptl/pthread-offsets.h
26898 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26899 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26900 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26901 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26902 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26903 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26904 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26905 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26906 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26907 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26908 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26909 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26910 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26911 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26912 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26913 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26914 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26915 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26916
b7fc95f8
FW
269172017-11-07 Florian Weimer <fweimer@redhat.com>
26918
26919 * bits/mman-linux.h: Move ...
26920 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26921 comment.
26922 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26923 outdated comment.
26924
6b860364
RS
269252017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26926
26927 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26928 Redefine STRNLEN as __strnlen_power8.
26929
802c1f16
AZ
269302017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26931
d83da3a4
AZ
26932 * signal/sighold.c (sighold): Optimize implementation.
26933
6a4235f1
AZ
26934 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26935 __NR_rt_sigqueueinfo.
26936
8b0e795a
AZ
26937 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26938 __sigtimedwait.
26939 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26940 assume __NR_rt_sigtimedwait.
26941 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26942 and add LIBC_CANCEL_HANDLED for cancellation marking.
26943 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26944
a1a638dd
AZ
26945 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26946 (sysdeps_routines): Add memchr_noneon.
26947 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26948 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26949 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26950 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26951 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26952 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26953 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26954
802c1f16
AZ
26955 * sysdeps/arm/arm-ifunc.h: New file.
26956 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26957 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26958 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26959 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26960 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26961 (__memcpy_neon): Avoid create hidden alias.
26962 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26963 (__memcpy_vfp): Likewise.
26964 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26965 (sysdep_routines): Add memcpy_arm.
26966 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26967
abcb584d
L
269682017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26969
26970 [BZ #22362]
26971 * Makerules (make-link-multidir): New.
26972 * config.make.in (multidir): New.
26973 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26974 * configure: Regenerated.
26975 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26976 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26977 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26978 New target.
26979
4e2dff67
JM
269802017-11-06 Joseph Myers <joseph@codesourcery.com>
26981
26982 [BZ #22402]
26983 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26984 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26985
a1c7cd3c
MF
269862017-11-04 Mike FABIAN <mfabian@redhat.com>
26987
26988 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26989 to be escaped.
26990
b9af29c0
FW
269912017-11-04 Florian Weimer <fweimer@redhat.com>
26992
26993 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26994
4ca70e1a
JM
269952017-11-03 Joseph Myers <joseph@codesourcery.com>
26996
26997 * math/math.h [__HAVE_DISTINCT_FLOAT16
26998 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26999 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27000 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27001 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
27002 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
27003 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
27004 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27005 (__MATH_TG_F32): New macro.
27006 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27007 (__MATH_TG_F64X): Likewise.
27008 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27009 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
27010
ba0e6668
DL
270112017-11-03 Dmitry V. Levin <ldv@altlinux.org>
27012
27013 * po/de.po: Update translations.
27014 * po/ru.po: Likewise.
27015
bc18a6d3
FW
270162017-11-03 Florian Weimer <fweimer@redhat.com>
27017
27018 * manual/filesys.texi (Hard Links): Document linkat.
27019
97255170
JM
270202017-11-03 Joseph Myers <joseph@codesourcery.com>
27021
86ec4865
JM
27022 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
27023 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27024 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27025 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27026 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27027 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27028 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27029 the same as _Float128.
27030 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27031 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27032 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27033
97255170
JM
27034 * stdlib/stdlib.h
27035 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27036 Declare.
27037 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27038 Likewise.
27039 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27040 Likewise.
27041 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27042 (strtof32x): Likewise.
27043 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27044 (strtof64x): Likewise.
27045 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27046 (strtof128x): Likewise.
27047 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27048 (strfromf16): Likewise.
27049 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27050 (strfromf32): Likewise.
27051 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27052 (strfromf64): Likewise.
27053 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27054 (strfromf32x): Likewise.
27055 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27056 (strfromf64x): Likewise.
27057 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27058 (strfromf128x): Likewise.
27059 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27060 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27061 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27062 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27063 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27064 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27065
6d58ce5e
RH
270662017-11-03 Richard Henderson <rth@twiddle.net>
27067
27068 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27069
659ca267
SN
270702017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27071
27072 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27073
94d2f0af
SN
270742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27075
27076 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27077 DT_TLSDESC_GOT initialization.
27078 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27079 (_dl_tlsdesc_resolve_hold): Likewise.
27080 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27081 (_dl_tlsdesc_resolve_hold): Likewise.
27082 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27083 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27084
28e1ddf3
SN
270852017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27086
27087 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27088
0ca3d1d6
SN
270892017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27090
27091 [BZ #18572]
27092 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27093 non-lazily for R_ARM_TLS_DESC.
27094
2c1d4e5f
SN
270952017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27096
27097 [BZ #17078]
27098 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27099 R_ARM_TLS_DESC case.
27100 (elf_machine_lazy_rel): Remove the prelink check.
27101
91c5a366
SN
271022017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27103
27104 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27105 DT_TLSDESC_GOT initialization.
27106 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27107 (_dl_tlsdesc_resolve_rela): Likewise.
27108 (_dl_tlsdesc_resolve_hold): Likewise.
27109 (_dl_tlsdesc_undefweak): Remove ldar.
27110 (_dl_tlsdesc_dynamic): Likewise.
27111 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27112 (_dl_tlsdesc_resolve_rela): Likewise.
27113 (_dl_tlsdesc_resolve_hold): Likewise.
27114 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27115 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27116 (_dl_tlsdesc_resolve_rela): Likewise.
27117 (_dl_tlsdesc_resolve_hold): Likewise.
27118
b7cf203b
SN
271192017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27120
27121 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27122 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27123
0cc5b022
SN
271242017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27125
27126 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27127 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27128
43ddff2e
JM
271292017-11-02 Joseph Myers <joseph@codesourcery.com>
27130
27131 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27132 Declare.
27133 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27134 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27135 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27136 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27137 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27138 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27139 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27140 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27141 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27142 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27143 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27144
5baac970
MF
271452017-11-02 Mike FABIAN <mfabian@redhat.com>
27146
27147 [BZ #22382]
27148 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27149 * localedata/locales/tpi_PG: Add standard header.
27150
ef11081f
FW
271512017-11-02 Florian Weimer <fweimer@redhat.com>
27152
27153 test-errno-linux: quotactl can fail with EPERM in containers.
27154 * sysdeps/unix/sysv/linux/test-errno-linux.c
27155 (LIST, LIST_FORWARD): New macros.
27156 (check_error_in_list): New function.
27157 (test_wrp_rv): Accept list of permitted error codes.
27158 (test_wrp_rv2): Remove.
27159 (test_wrp): Call test_wrp_rv with list of error codes.
27160 (test_wrp2): Accept list of error codes.
27161 (do_test): Adjust. Allow EPERM for quotactl.
27162
d10b132b
FW
271632017-11-02 Florian Weimer <fweimer@redhat.com>
27164
27165 * stdio-common/bug16.c (do_test): Use array_length.
27166 * stdio-common/errlist.c (_sys_nerr): Likewise.
27167 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27168 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27169 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27170 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27171 (do_test): Use array_length.
27172 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27173 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27174 * stdio-common/tst-printf-round.c (do_test): Likewise.
27175 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27176 (CHECK): Use array_length.
27177 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27178 * stdio-common/tstscanf.c (main): Likewise.
27179 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27180
c94a5688
FW
271812017-11-02 Florian Weimer <fweimer@redhat.com>
27182
27183 Add array_length and array_end macros.
27184 * include/array_length.h: New file.
27185
2fac6a6c
FW
271862017-11-02 Florian Weimer <fweimer@redhat.com>
27187
27188 [BZ #22332]
27189 * posix/tst-glob-tilde.c (do_noescape): New variable.
27190 (one_test): Process it.
27191 (do_test): Set do_noescape. Add unescaping test case.
27192
2f1b212e
JM
271932017-11-01 Joseph Myers <joseph@codesourcery.com>
27194
260fbd0a
JM
27195 * math/complex.h
27196 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27197 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27198 with appropriate macros defined and undefined.
27199 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27200 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27201 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27202 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27203 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27204 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27205 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27206 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27207 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27208 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27209
2f1b212e
JM
27210 * math/complex.h
27211 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27212 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27213 that for long double. Do not condition define and undefine of
27214 _Mdouble_complex_ on [__CFLOAT128].
27215
95b93c6e
L
272162017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27217
27218 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27219 of <sysdeps/generic/sysdep.h>.
27220 (ALIGNARG): Removed.
27221 (ASM_SIZE_DIRECTIVE): Likewise.
27222 (ENTRY): Likewise.
27223 (END): Likewise.
27224 (ENTRY_CHK): Likewise.
27225 (END_CHK): Likewise.
27226 (syscall_error): Likewise.
27227 (mcount): Likewise.
27228 (PSEUDO_END): Likewise.
27229 (L): Likewise.
27230 (atom_text_section): Likewise.
27231 * sysdeps/x86/sysdep.h: New file.
27232 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27233 of <sysdeps/generic/sysdep.h>.
27234 (ALIGNARG): Removed.
27235 (ASM_SIZE_DIRECTIVE): Likewise.
27236 (ENTRY): Likewise.
27237 (END): Likewise.
27238 (ENTRY_CHK): Likewise.
27239 (END_CHK): Likewise.
27240 (syscall_error): Likewise.
27241 (mcount): Likewise.
27242 (PSEUDO_END): Likewise.
27243 (L): Likewise.
27244 (atom_text_section): Likewise.
27245
1bb36539
RL
272462017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27247
27248 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27249 category of LC_CTYPE set to "i18n:2012".
27250 * localedata/locales/i18n_ctype: Regenerate.
27251
067f5d97 272522017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 27253
87bbc4cf
YN
27254 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27255 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27256 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27257 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27258
e8681faa
YN
27259 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27260 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27261 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27262 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27263
540af6e2
JM
272642017-10-31 Joseph Myers <joseph@codesourcery.com>
27265
43e66283
JM
27266 * math/complex.h
27267 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27268 New macro.
27269 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27270 Likewise.
27271 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27272 Likewise.
27273 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27274 (CMPLXF32X): Likewise.
27275 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27276 (CMPLXF64X): Likewise.
27277 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27278 (CMPLXF128X): Likewise.
27279
540af6e2
JM
27280 * math/math.h
27281 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27282 (__MATH_EVAL_FMT2): Define to add 0.0f.
27283
58af72b4
AM
272842017-10-31 Alan Modra <amodra@gmail.com>
27285
27286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27287 include sysdep.h.
27288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27302 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27303 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27307 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27314 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27317 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27319 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27320 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27321 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27322 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27323 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27325 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27326 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27328 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27330 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27331 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27333 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27334 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27335 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27336 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27337 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27338 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27339 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27342 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27343 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27344 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27345 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27346 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27347 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27348 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27349 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27350 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27351 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27352 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27353 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27354 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27355 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27356 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27357
27358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27359 include sysdep.h and math_ldbl_opt.h.
27360
27361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27362 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27387
112f30b3
AM
273882017-10-31 Alan Modra <amodra@gmail.com>
27389
27390 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27391 string/strncase_l.c, not string/strncase.c.
27392 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27393 (libc_hidden_def): Redefine.
27394
e9e7eced
AM
273952017-10-31 Alan Modra <amodra@gmail.com>
27396
27397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27398 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27399 (__strcasecmp): Don't define.
27400
f7b465cf
AM
274012017-10-31 Alan Modra <amodra@gmail.com>
27402
27403 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27404 IS_IN (libc).
27405 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27406 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27407 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27408
d46b09f9
AM
274092017-10-31 Alan Modra <amodra@gmail.com>
27410
27411 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27412 USE_AS_STPNCPY.
27413
e9b8e194
AM
274142017-10-31 Alan Modra <amodra@gmail.com>
27415
27416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27417 Redefine only when SHARED.
27418
eda162dd
JM
274192017-10-30 Joseph Myers <joseph@codesourcery.com>
27420
b61afe8c
JM
27421 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27422 Include <bits/math-finite.h> with appropriate macros defined and
27423 undefined.
27424 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27425 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27426 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27427 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27428 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27429
eda162dd
JM
27430 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27431 [!_Mlong_double_] (_Mlong_double_): Likewise.
27432 [!_Mfloat16_] (_Mfloat16_): Likewise.
27433 [!_Mfloat32_] (_Mfloat32_): Likewise.
27434 [!_Mfloat64_] (_Mfloat64_): Likewise.
27435 [!_Mfloat128_] (_Mfloat128_): Likewise.
27436 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27437 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27438 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27439 (_Mdouble_): Define without indirection through those macros.
27440 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27441 [!_Mfloat128_] (_Mfloat128_): Likewise.
27442 [_Mlong_double_] (_Mlong_double_): Likewise.
27443 (_Mdouble_): Define without indirection through those macros.
27444 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27445 not add -D_Mlong_double_=double.
27446 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27447 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27448
4ad5106e
L
274492017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27450
27451 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27452
fe326df7
L
274532017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27454
27455 * sysdeps/x86/libc-start.c: Reformat.
27456
c5cc4514
L
274572017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27458
27459 [BZ #22353]
27460 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27461 (1): Renamed to ...
27462 (L(Src0)): This.
27463 (L(Src1)): New.
27464 (L(Src2)): Likewise.
27465 (L(1)): Renamed to ...
27466 (L(Src3)): This.
27467
ce12269f
JM
274682017-10-30 Joseph Myers <joseph@codesourcery.com>
27469
27470 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27471 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27472 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27473 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27474 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27475 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27476 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27477 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27478 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27479 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27480 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27481 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27482 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27483 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27484 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27485 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27486 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27487 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27488 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27489 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27490 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27491 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27492 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27493 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27494 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27495 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27496 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27497 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27498 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27499 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27500 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27501 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27502 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27503 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27504 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27505 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27506 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27507 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27508 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27509 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27510 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27511 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27512 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27513 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27514 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27515 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27516 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27517 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27518 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27519 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27520 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27521 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27522 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27523 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27524 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27525 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27526 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27527 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27528 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27529 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27530 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27531 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27532 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27533 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27534 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27535 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27536
4484b9e2
FW
275372017-10-30 Florian Weimer <fweimer@redhat.com>
27538
27539 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27540 always defined.
27541 * io/tst-mkdirat.c (do_test): Likewise.
27542 * io/tst-mkfifoat.c (do_test): Likewise.
27543 * io/tst-mknodat.c (do_test): Likewise.
27544 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27545 * locale/programs/locale.c (select_dirs): Likewise.
27546 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27547 * posix/bug-glob2.c (my_readdir): Likewise.
27548 * posix/tst-dir.c (main): Likewise.
27549 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27550 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27551
68fe16dd
FW
275522017-10-30 Florian Weimer <fweimer@redhat.com>
27553
27554 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27555 just __USE_GNU.
27556
dadf23f0
FW
275572017-10-30 Florian Weimer <fweimer@redhat.com>
27558
27559 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27560 Convert to support/test-driver.c.
27561 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27562 New macro parameters.
27563 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27564 * posix/tst-gnuglob.c: New file.
27565 * posix/tst-gnuglob64.c: Likewise.
27566 * posix/Makefile (tests): Add tst-gnuglob64.
27567
363e4519 275682017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
27569
27570 [BZ #19485]
27571 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27572 and use a better translation for March in “mon”.
27573 * localedata/locales/csb_PL: Use more ASCII to improve the
27574 readability of the source.
27575
b110af82
MF
275762017-10-30 Mike FABIAN <mfabian@redhat.com>
27577
27578 [BZ #13953]
27579 * localedata/locales/km_KH: Use ASCII as much
27580 as possible for better readability of the source and
27581 remove useless comments.
27582 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27583 was commented out and apparently wrong anyway because it was
27584 using Lao characters. If Buddhist era should be used
27585 for km_KH, a native speaker should write the correct formaat
27586 for Khmer.
27587 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27588 (According to CLDR, the first weekday for Cambodia is Sunday).
27589 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27590 (These were using Lao characters which must be wrong. If we get
27591 the correct data from a native speaker, we could add it back, until
27592 then it is better not to have name_mr and name_mrs at all than
27593 having it wrong).
27594
f301e533
RL
275952017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27596
27597 * locale/loadlocale.c: Correct size of
27598 _nl_value_type_LC_<category> arrays.
27599
7e9d7073
JM
276002017-10-27 Joseph Myers <joseph@codesourcery.com>
27601
27602 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27603 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27604 with appropriate macros defined and undefined.
27605 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27606 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27607 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27608 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27609 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27610
63d3b468
L
276112017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27612
27613 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27614 "-O2 -march=i586".
27615
a4cc02c7
MF
276162017-10-27 Mike FABIAN <mfabian@redhat.com>
27617
27618 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27619 with lowercase letters to make it agree with CLDR.
27620
1e5971ec
MF
276212017-10-27 Mike FABIAN <mfabian@redhat.com>
27622
27623 [BZ #15260]
27624 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27625 first letters of yesstr and nostr in yesexpr and noexpr,
27626 not for the full words.
27627 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27628 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27629 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27630 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27631 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27632 first letters of yesstr and nostr in yesexpr and noexpr,
27633 until now only English was matched in yesexpr and noexpr.
27634 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27635 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27636 fil but not for tl. As tl and fil are very similar, using fil
27637 is probably better than using English.
27638
363e4519 276392017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
27640
27641 [BZ #21706]
27642 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27643 in yesstr and nostr.
27644
5d220788
JM
276452017-10-26 Joseph Myers <joseph@codesourcery.com>
27646
ecc7da5b
JM
27647 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27648 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27649 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27650 Likewise.
27651 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27652 Likewise.
27653 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27654 Likewise.
27655 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27656 Likewise.
27657 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27658 (SNANF128X): Likewise.
27659
5d220788
JM
27660 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27661 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27662 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27663 (HUGE_VAL_F32): Likewise.
27664 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27665 (HUGE_VAL_F64): Likewise.
27666 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27667 (HUGE_VAL_F32X): Likewise.
27668 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27669 (HUGE_VAL_F64X): Likewise.
27670 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27671 (HUGE_VAL_F128X): Likewise.
27672
363e4519 276732017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
27674
27675 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27676 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27677 for the br_FR locale.
27678
363e4519 276792017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
27680
27681 [BZ #21706]
27682 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27683
337ff3c5
CD
276842017-10-25 Carlos O'Donell <carlos@redhat.com>
27685
02eec681
CD
27686 * locale/programs/record-status.h: Define globals, and function
27687 prototypes. Move function bodies...
27688 * locale/programs/record-status.c: ... to here. New file.
27689 * iconv/Makefile (iconv_prog-modules): Add record-status.
27690 * locale/Makefile (lib-modules): Likewise.
27691 * iconv/iconv_prog.c: Remove verbose.
27692 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27693 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27694 record a warning about ASCII compatibility.
27695 * locale/programs/ld-monetary.c (monetary_finish): If
27696 warn_int_curr_symbol is true then record a warning about the symbol
27697 not being in our ISO 4217 list.
27698 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27699 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27700 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27701 (OPT_NO_WARN): Define.
27702 (OPT_WARN): Define.
27703 (options): Add entry for --no-warnings, and --warnings.
27704 (set_warnings): New function to enable/disable warnings.
27705 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27706 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27707 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27708 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27709 Pass flags to generate_locale.
27710 (generate_locale): Accept new flag argument and pass it to localedef
27711 invocation.
27712 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27713 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27714
56fa555a
CD
27715 * localedata/Makefile (test-input-data): Use full file name.
27716 * localedata/da_DK.in: Rename to...
27717 * localedata/da_DK.ISO-8859-1.in: ...this.
27718 * localedata/de_DE.in: Rename to...
27719 * localedata/de_DE.ISO-8859-1.in: ...this.
27720 * localedata/en_US.in: Rename to...
27721 * localedata/en_US.ISO-8859-1.in: ...this.
27722 * localedata/fr_FR.in: Rename to...
27723 * localedata/fr_FR.UTF-8.in: ... this.
27724 * localedata/hr_HR.in: Rename to...
27725 * localedata/hr_HR.ISO-8859-2.in: ...this.
27726 * localedata/hu_HU.in: Rename to...
27727 * localedata/hu_HU.UTF-8.in: ...this.
27728 * localedata/si_LK.in: Rename to...
27729 * localedata/si_LK.UTF-8.in: ...this.
27730 * localedata/sv_SE.in: Rename to...
27731 * localedata/sv_SE.ISO-8859-1.in: ...this.
27732 * localedata/tr_TR.in: Rename to...
27733 * localedata/tr_TR.UTF-8.in: ...this.
27734 * localedata/uk_UA.in: Rename to...
27735 * localedata/uk_UA.UTF-8.in: ...this.
27736 * localedata/sort-test.sh: Test file is locale name with the
27737 suffix.
27738
337ff3c5
CD
27739 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27740 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27741 file.
27742 * localedata/locales/i18n_ctype: Regenerate.
27743 * localedata/locales/tr_TR: Likewise.
27744 * localedata/locales/translit_circle: Likewise.
27745 * localedata/locales/translit_cjk_compat: Likewise.
27746 * localedata/locales/translit_combining: Likewise.
27747 * localedata/locales/translit_compat: Likewise.
27748 * localedata/locales/translit_font: Likewise.
27749 * localedata/locales/translit_fraction: Likewise.
27750
63da5cd4
RS
277512017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27752
27753 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27754 lxvd2x/stxvd2x with lvx/stvx.
27755 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27756
a122dbfb
L
277572017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27758
27759 * include/alloc_buffer.h: Replace "if if " with "if " in
27760 comments.
27761 * sysdeps/mips/memcpy.S: Likkewise.
27762 * sysdeps/mips/memset.S: Likewise.
27763 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27764 Likewise.
27765 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27766 Likewise.
27767 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27768 Likewise.
27769
9be7530c
MF
277702017-10-25 Mike FABIAN <mfabian@redhat.com>
27771
27772 [BZ #15261]
27773 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27774 yesexpr and noexpr.
27775 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27776 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27777 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27778 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27779 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27780 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27781 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27782
6ccbf6ff
MF
277832017-10-25 Mike FABIAN <mfabian@redhat.com>
27784
27785 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27786 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27787 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27788 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27789 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27790 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27791 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27792 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27793 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27794 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27795 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27796 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27797
58b1a7ea
MF
277982017-10-25 Mike FABIAN <mfabian@redhat.com>
27799
27800 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27801 as possible for better readability of the source.
27802 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27803 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27804 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27805 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27806 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27807 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27808 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27809 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27810 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27811 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27812 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27813 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27814 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27815 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27816 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27817 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27818 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27819 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27820 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27821 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27822 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27823 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27824 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27825 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27826 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27827 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27828 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27829 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27830 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27831 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27832 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27833 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27834 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27835 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27836 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27837 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27838 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27839 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27840 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27841 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27842 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27843 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27844 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27845 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27846 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27847 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27848 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27849 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27850 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27851 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27852 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27853 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27854 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27855 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27856 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27857 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27858 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27859 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27860 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27861 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27862 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27863 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27864 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27865 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27866 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27867 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27868 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27869 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27870 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27871 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27872 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27873 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27874 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27875 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27876 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27877 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27878 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27879 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27880 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27881 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27882 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27883 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27884 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27885 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27886 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27887 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27888 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27889 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27890 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27891 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27892 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27893 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27894 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27895 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27896 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27897 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27898 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27899 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27900 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27901 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27902 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27903 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27904 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27905 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27906 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27907 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27908 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27909 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27910 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27911 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27912 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27913 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27914 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27915 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27916 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27917 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27918 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27919 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27920 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27921 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27922 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27923 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27924 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27925 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27926 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27927 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27928 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27929 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27930 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27931 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27932 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27933 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27934 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27935 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27936 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27937 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27938 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27939 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27940 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27941 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27942 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27943 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27944 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27945 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27946 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27947 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27948 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27949 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27950 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27951 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27952 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27953 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27954 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27955 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27956 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27957 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27958 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27959 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27960 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27961 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27962 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27963 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27964 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27965 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27966 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27967 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27968 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27969 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27970 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27971 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27972 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27973 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27974 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27975 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27976
17e78edb
MF
279772017-10-25 Mike FABIAN <mfabian@redhat.com>
27978
27979 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27980 (Use first letters of yesstr and nostr correctly instead of using
27981 full words).
27982
74e7284f
MF
279832017-10-25 Mike FABIAN <mfabian@redhat.com>
27984
27985 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27986 (Use first letters of yesstr and nostr correctly).
27987
b41a0ff1
MF
279882017-10-25 Mike FABIAN <mfabian@redhat.com>
27989
27990 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27991 also check for the first characters of yesstr and nostr.
27992 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27993 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27994
d971f380
MF
279952017-10-25 Mike FABIAN <mfabian@redhat.com>
27996
27997 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27998 also check for Chinese characters.
27999
effc9e1d
MF
280002017-10-25 Mike FABIAN <mfabian@redhat.com>
28001
28002 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
28003 match also for the contents of yesstr and nostr. As the first letter
28004 of yesstr and nostr is equal, checking only for the first letter
28005 is not enough.
28006
10320881
MF
280072017-10-25 Mike FABIAN <mfabian@redhat.com>
28008
28009 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
28010 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
28011
d8682a15
MF
280122017-10-25 Mike FABIAN <mfabian@redhat.com>
28013
28014 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
28015 of main contributor.
28016
1bfb86ae
MF
280172017-10-25 Mike FABIAN <mfabian@redhat.com>
28018
28019 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
28020 instead of using English.
28021
da33d60b
MF
280222017-10-25 Mike FABIAN <mfabian@redhat.com>
28023
28024 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
28025 by including the first letters of nostr and yesexpr in the regexp.
28026 Also make it more readable by using ASCII where possible.
28027
725bbb3e
MF
280282017-10-25 Mike FABIAN <mfabian@redhat.com>
28029
28030 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28031 the first letter of nostr in the regexp. It agrees with CLDR now.
28032 Also make it more readable by using ASCII where possible.
28033
fe043d8a
MF
280342017-10-24 Mike FABIAN <mfabian@redhat.com>
28035
28036 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28037 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28038 these strings contain a U+17D6 (which somewhat looks like a colon)
28039 instead of a real colon to separate the full words for “yes”
28040 and “no” from the single letter responses.
28041
360a8df3
MF
280422017-10-24 Mike FABIAN <mfabian@redhat.com>
28043
28044 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28045 it agree with CLDR (include the first letter of yesstr).
28046 Also make it more readable by using ASCII where possible.
28047
bab7b6b0
MF
280482017-10-24 Mike FABIAN <mfabian@redhat.com>
28049
28050 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28051 and improve yesexpr and noexpr. The yesstr and nostr apparently
28052 came from CLDR. And CLDR has a bug there: these strings contain
28053 a U+0903 (which looks like a colon) instead of a real colon
28054 to separate the full words for “yes” and “no” from the single
28055 letter responses.
28056
3e79f758
MF
280572017-10-24 Mike FABIAN <mfabian@redhat.com>
28058
28059 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28060 letters of the full yesstr and nostr in yesexpr and noexpr.
28061
4960c879
MF
280622017-10-24 Mike FABIAN <mfabian@redhat.com>
28063
28064 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28065 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28066 * localedata/locales/an_ES: Make source more readable by using ASCII
28067 where possible.
28068
b06a054f
MF
280692017-10-24 Mike FABIAN <mfabian@redhat.com>
28070
28071 [BZ #20952]
28072 * localedata/locales/yuw_PG: New file.
28073 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28074 * locale/iso-639.def: Add Yau (Uruwa).
28075
905a7725
WD
280762017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28077
28078 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28079
3f6bb8a3
WD
280802017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28081
28082 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28083 (__libc_realloc): Likewise.
28084 (_mid_memalign): Likewise.
28085 (__libc_calloc): Likewise.
28086
1d479c8c
MF
280872017-10-23 Mike FABIAN <mfabian@redhat.com>
28088
28089 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28090 by adding the generic +1 and -0 as in all other locales.
28091 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28092 day names and make it more readable by using ASCII where possible.
28093
91c3985c
JM
280942017-10-24 Joseph Myers <joseph@codesourcery.com>
28095
28096 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28097 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28098
aa95a241
AZ
280992017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28100
28101 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28102 WNOHANG in waitpid call.
28103
db9bab09
SP
281042017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28105
a2e0a7f1
SP
28106 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28107 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28108
db9bab09
SP
28109 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28110 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28111 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28112 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28113 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28114 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28115 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28116 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28117 variables.
28118
5062680c
MC
281192017-10-23 Michael Collison <michael.collison@arm.com>
28120
28121 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28122 with __builtin_sqrt.
28123 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28124 with __builtin_sqrtf.
28125 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28126 with __builtin_ceil.
28127 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28128 with __builtin_ceilf.
28129 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28130 with __builtin_floor.
28131 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28132 with __builtin_floorf.
28133 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28134 with __builtin_fma.
28135 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28136 with __builtin_fmaf.
28137 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28138 with __builtin_fmax.
28139 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28140 with __builtin_fmaxf.
28141 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28142 with __builtin_fmin.
28143 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28144 with __builtin_fminf.
28145 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28146 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28147 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28148 with builtin_rint and conversion to int.
28149 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28150 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28151 with builtin_llround.
28152 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28153 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28154 with builtin_rint and conversion to long int.
28155 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28156 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28157 with builtin_lround.
28158 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28159 with builtin_lroundf.
28160 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28161 statements with __builtin_nearbyint.
28162 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28163 statements with __builtin_nearbyintf.
28164 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28165 with __builtin_rint.
28166 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28167 with __builtin_rintf.
28168 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28169 with __builtin_round.
28170 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28171 with __builtin_roundf.
28172 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28173 with __builtin_trunc.
28174 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28175 with __builtin_truncf.
be080b6c
SN
28176 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28177 and s_l[l]round[f].c too.
5062680c 28178
174935af
AM
281792017-10-23 Alan Modra <amodra@gmail.com>
28180
28181 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28182 Adjust stack after restoring regs. Add missing LR cfi_restore.
28183
750a0e49
AM
281842017-10-23 Alan Modra <amodra@gmail.com>
28185
28186 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28187 Move LR save and frame setup/teardown and LR restore to
28188 immediately around memset call. Provide cfi.
28189
5313581c
L
281902017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28191
28192 * sysdeps/i386/fpu/e_powf.S: Removed.
28193 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28194 * sysdeps/i386/fpu/w_powf.c: Likewise.
28195 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28196 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28197 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28198 Add e_powf-sse2.
28199 (CFLAGS-e_powf-sse2.c): New.
28200 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28201 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28202
6089a3ee
L
282032017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28204
28205 * sysdeps/i386/fpu/e_log2f.S: Removed.
28206 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28207 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28208 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28209 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28210 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28211 Add e_log2f-sse2.
28212 (CFLAGS-e_log2f-sse2.c): New.
28213 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28214 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28215
80bb5935
L
282162017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28217
28218 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28219 Add e_powf-fma.
28220 (CFLAGS-e_powf-fma.c): New.
28221 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28222 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28223
5c7adbd8
L
282242017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28225
28226 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28227 Add e_log2f-fma.
28228 (CFLAGS-e_log2f-fma.c): New.
28229 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28230 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28231
0ccc7153
L
282322017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28233
28234 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28235 Add e_logf-fma.
28236 (CFLAGS-e_logf-fma.c): New.
28237 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28238 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28239
fe596486
L
282402017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28241
28242 * sysdeps/i386/fpu/e_logf.S: Removed.
28243 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28244 * sysdeps/i386/fpu/w_logf.c: Likewise.
28245 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28246 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28247 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28248 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28249 Add e_logf-sse2.
28250 (CFLAGS-e_logf-sse2.c): New.
28251 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28252 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28253
7eda65f6
L
282542017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28255
28256 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28257 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28258 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28259 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28260 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28261 Add e_exp2f-sse2.
28262 (CFLAGS-e_exp2f-sse2.c): New.
28263 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28264 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28265
5d15c969
L
282662017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28267
28268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28269 Add e_exp2f-fma.
28270 (CFLAGS-e_exp2f-fma.c): New.
28271 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28272 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28273
b2f6137e
L
282742017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28275
28276 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28277 * sysdeps/i386/fpu/e_expf.S: Likewise.
28278 * sysdeps/i386/fpu/math_errf.c: Likewise.
28279 * sysdeps/i386/fpu/w_expf.c: Likewise.
28280 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28281 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28282 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28283 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28284 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28285 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28286 Remove e_expf-ia32.
28287 (CFLAGS-e_expf-sse2.c): New.
28288 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28289 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28290
e1f59beb
L
282912017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28292
28293 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28294 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28295 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28296 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28297 e_expf.c.
28298 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28299 New.
28300 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28301 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28302 Renamed to ...
28303 (__redirect_expf): This.
28304 (SYMBOL_NAME): Changed to expf.
28305 (__ieee754_expf): Renamed to ...
28306 (__expf): This.
28307 (__GI___expf): This.
28308 (__ieee754_expf): Add strong_alias.
28309 (__expf_finite): Likewise.
28310 (__expf): New.
28311 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28312
363e4519 283132017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
28314
28315 [BZ #22332]
28316 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28317 unescaping.
28318
e80fc1fc
FW
283192017-10-21 Florian Weimer <fweimer@redhat.com>
28320
28321 * posix/Makefile (tests): Add tst-glob-tilde.
28322 (tests-special): Add tst-glob-tilde-mem.out
28323 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28324 (tst-glob-tilde-mem.out): Add mtrace check.
28325 * posix/tst-glob-tilde.c: New file.
28326
797ba44b
JM
283272017-10-20 Joseph Myers <joseph@codesourcery.com>
28328
28329 * bits/floatn-common.h: New file.
28330 * math/Makefile (headers): Add bits/floatn-common.h.
28331 * bits/floatn.h: Include <bits/floatn-common.h>.
28332 * sysdeps/ia64/bits/floatn.h: Likewise.
28333 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28334 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28335 * sysdeps/powerpc/bits/floatn.h: Likewise.
28336 * sysdeps/x86/bits/floatn.h: Likewise.
28337
fe05e1cb
AZ
283382017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28339
8f6f5362
AZ
28340 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28341 indicates whether compiler emits an warning for alias for
28342 functions with incompatible types.
28343
fe05e1cb
AZ
28344 [BZ #22273]
28345 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28346 the auxiliary process is terminated by a signal before calling _exit
28347 or execve.
28348
b52b0d79
L
283492017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28350
28351 [BZ #21265]
28352 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28353 New.
28354 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28355 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28356 and bit_arch_XSAVEC_Usable if needed.
28357 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28358 and bit_arch_Use_dl_runtime_resolve_opt.
28359 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28360 Removed.
28361 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28362 (bit_arch_Prefer_No_AVX512): Updated.
28363 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28364 (bit_arch_XSAVEC_Usable): New.
28365 (STATE_SAVE_OFFSET): Likewise.
28366 (STATE_SAVE_MASK): Likewise.
28367 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28368 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28369 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28370 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28371 (index_arch_XSAVEC_Usable): New.
28372 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28373 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28374 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28375 is enabled.
28376 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28377 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28378 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28379 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28380 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28381 _dl_runtime_resolve_xsavec.
28382 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28383 Removed.
28384 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28385 instead of VEC_SIZE.
28386 (REGISTER_SAVE_BND0): Removed.
28387 (REGISTER_SAVE_BND1): Likewise.
28388 (REGISTER_SAVE_BND3): Likewise.
28389 (REGISTER_SAVE_RAX): Always defined to 0.
28390 (VMOV): Removed.
28391 (_dl_runtime_resolve_avx): Likewise.
28392 (_dl_runtime_resolve_avx_slow): Likewise.
28393 (_dl_runtime_resolve_avx_opt): Likewise.
28394 (_dl_runtime_resolve_avx512): Likewise.
28395 (_dl_runtime_resolve_avx512_opt): Likewise.
28396 (_dl_runtime_resolve_sse): Likewise.
28397 (_dl_runtime_resolve_sse_vex): Likewise.
28398 (USE_FXSAVE): New.
28399 (_dl_runtime_resolve_fxsave): Likewise.
28400 (USE_XSAVE): Likewise.
28401 (_dl_runtime_resolve_xsave): Likewise.
28402 (USE_XSAVEC): Likewise.
28403 (_dl_runtime_resolve_xsavec): Likewise.
28404 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28405 Removed.
28406 (_dl_runtime_resolve_avx512_opt): Likewise.
28407 (_dl_runtime_resolve_avx): Likewise.
28408 (_dl_runtime_resolve_avx_opt): Likewise.
28409 (_dl_runtime_resolve_sse): Likewise.
28410 (_dl_runtime_resolve_sse_vex): Likewise.
28411 (_dl_runtime_resolve_fxsave): New.
28412 (_dl_runtime_resolve_xsave): Likewise.
28413 (_dl_runtime_resolve_xsavec): Likewise.
28414
363e4519 284152017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
28416
28417 [BZ #22320]
28418 CVE-2017-15670
28419 * posix/glob.c (__glob): Fix one-byte overflow.
28420
6d43de4b
WD
284212017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28422
28423 * malloc/malloc.c (sysdep-cancel.h): Add include.
28424
a15d53e2
WD
284252017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28426
28427 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28428
b9a558e7
WH
284292017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28430
28431 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28432 (tests): Remove $(objpfx)ga_test depdendency.
28433 * resolv/ga_test.c: Remove file.
28434
b6b08b8e
MF
284352017-10-20 Mike FABIAN <mfabian@redhat.com>
28436
28437 [BZ #18812]
28438 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28439 * localedata/locales/kab_DZ: New file.
28440
9ba7e810
L
284412017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28442
28443 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28444 _dl_relocate_static_pie instead of _dl_start to compute load
28445 address in static PIE.
28446
4027a4fd
L
284472017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28448
28449 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28450
2f9314b4
MF
284512017-10-20 Mike FABIAN <mfabian@redhat.com>
28452
28453 [BZ #13605]
28454 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28455 * localedata/locales/shn_MM: New file.
28456
63b4baa4
FW
284572017-10-20 Florian Weimer <fweimer@redhat.com>
28458
28459 [BZ #22321]
28460 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28461 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28462 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28463 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28464 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28465 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28466
95ccb619
L
284672017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28468
28469 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28470
37bb78cb
JM
284712017-10-19 Joseph Myers <joseph@codesourcery.com>
28472
76f2ed92
JM
28473 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28474
37bb78cb
JM
28475 [BZ #22322]
28476 * sysdeps/mips/bits/long-double.h: Move to ....
28477 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28478
d74e6f6c
WD
284792017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28480
28481 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28482
363e4519 284832017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
28484 H.J. Lu <hongjiu.lu@intel.com>
28485
28486 [BZ #22299]
28487 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28488 GLRO(dl_platform) to NULL.
28489 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28490 (modules-names): Add tst-platformmod-1 and
28491 x86_64/tst-platformmod-2.
28492 (CFLAGS-tst-platform-1.c): New.
28493 (CFLAGS-tst-platformmod-1.c): Likewise.
28494 (CFLAGS-tst-platformmod-2.c): Likewise.
28495 (LDFLAGS-tst-platformmod-2.so): Likewise.
28496 ($(objpfx)tst-platform-1): Likewise.
28497 ($(objpfx)tst-platform-1.out): Likewise.
28498 (tst-platform-1-ENV): Likewise.
28499 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28500 * sysdeps/x86_64/tst-platform-1.c: New file.
28501 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28502 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28503
4b0fa403
MF
285042017-10-19 Mike FABIAN <mfabian@redhat.com>
28505
28506 [BZ #13994]
28507 * locale/iso-639.def: Add Karbi.
28508 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28509 * localedata/locales/mjw_IN: New file.
28510
81325b12
JM
285112017-10-18 Joseph Myers <joseph@codesourcery.com>
28512
28513 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28514 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28515 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28516 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28517 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28518 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28519 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28520 <bits/floatn.h>.
28521 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28522 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28523 * manual/math.texi (Mathematics): Document additional architecture
28524 support for _Float128.
28525 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28526 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28527 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28528 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28529 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28530 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28531 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28532 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28533 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28534 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28535 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28536 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28537 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28538 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28539 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28540
a68ba2f3
SN
285412017-10-18 Renlin Li <renlin.li@arm.com>
28542
28543 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28544 _DYNAMIC symbol to calculate load address.
28545
346729f6
PC
285462017-10-18 Paul A. Clarke <pc@us.ibm.com>
28547
28548 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28549 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28550 summary bits.
28551 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28552 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28553
508b1e71
MF
285542017-10-18 Mike FABIAN <mfabian@redhat.com>
28555
28556 [BZ #16777]
28557 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28558 and improve readability by using more ASCII.
28559 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28560 and improve readability by using more ASCII.
28561
2c2245b9
WD
285622017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28563
28564 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28565 not all targets support atomics on bool.
28566
13c92696
JM
285672017-10-17 Joseph Myers <joseph@codesourcery.com>
28568
28569 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28570 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28571 __f128.
28572 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28573 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28574 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28575 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28576 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28577 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28578
71d85045
AZ
285792017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28580
28581 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28582 defines.
28583
3381be5c
WD
285842017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28585
28586 [BZ #22159]
28587 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28588 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28589 (do_check_remalloced_chunk): Fix build bug.
28590 (do_check_malloc_state): Add assert that checks arena->top.
28591 (malloc_consolidate): Remove initialization.
28592 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 28593 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 28594
e956075a
WD
285952017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28596
28597 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28598 (have_fastchunks): Remove.
28599 (clear_fastchunks): Remove.
28600 (set_fastchunks): Remove.
28601 (malloc_state): Add have_fastchunks.
28602 (malloc_init_state): Use have_fastchunks.
28603 (do_check_malloc_state): Remove incorrect invariant checks.
28604 (_int_malloc): Use have_fastchunks.
28605 (_int_free): Likewise.
28606 (malloc_consolidate): Likewise.
28607
e4dd4ace
WD
286082017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28609
28610 * malloc/malloc.c (tcache_put): Inline.
28611 (tcache_get): Inline.
28612
5bf58bc7
AJ
286132017-10-17 Jordi Mallach <jordi@gnu.org>
28614
28615 Aurelien Jarno <aurelien@aurel32.net>
28616 [BZ #2522]
28617 * localedata/locales/ca_ES@valencia: New file.
28618 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28619
386e1c26
RN
286202017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28621
28622 [BZ #22296]
28623 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28624 < 6.x
28625
4e17c78e
AZ
286262017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28627
3d265601
AZ
28628 * scripts/build-many-glibcs.py (Context.add_all_configs):
28629 Add arm-linux-gnueabihf multiarch extra_glibcs.
28630
4e17c78e
AZ
28631 * sysdeps/generic/ifunc-init.h: New file.
28632 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28633
56a752ab
MF
286342017-10-17 Mike FABIAN <mfabian@redhat.com>
28635
28636 [BZ #22019]
28637 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28638 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28639 * stdlib/tst-strfmon_l.c: adapt test case.
28640
c38a4bfd
JM
286412017-10-16 Joseph Myers <joseph@codesourcery.com>
28642
28643 * sysdeps/generic/float128-abi.h: New file.
28644 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28645 non-__prefixed symbols to ....
28646 * math/Versions: ... here. Include <float128-abi.h>.
28647 * stdlib/Versions ... and here. Include <float128-abi.h>
28648
76009b26
FW
286492017-10-16 Florian Weimer <fweimer@redhat.com>
28650
28651 * version.h (VERSION): Switch to ".9000" as the development
28652 version suffix.
28653
7ece6cd5
FW
286542017-10-16 Florian Weimer <fweimer@redhat.com>
28655
28656 [BZ #22050]
28657 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28658 compat_symbol_reference to access non-default version.
28659
d8287b36
FW
286602017-10-16 Florian Weimer <fweimer@redhat.com>
28661
28662 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28663
3480ddc4
CD
286642017-10-16 Carlos O'Donell <carlos@redhat.com>
28665
28666 * include/shlib-compat.h (compat_symbol_reference): Update
28667 comment.
28668
02010e79
JM
286692017-10-16 Joseph Myers <joseph@codesourcery.com>
28670
596f7013
JM
28671 * math/Makefile (test-types): Add
28672 $(type-float128-$(float128-alias-fcts)).
28673 * math/test-float128.h (TYPE_STR): Define conditional on
28674 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28675 (ULP_IDX): Likewise.
28676 (ULP_I_IDX): Likewise.
28677
02010e79
JM
28678 * stdlib/strtold.c: Include <bits/floatn.h>
28679 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28680 and later undefine as macro. Define as weak alias if
28681 [!USE_WIDE_CHAR].
28682 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28683 and later undefine as macro. Define as weak alias if
28684 [USE_WIDE_CHAR].
28685 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28686 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28687 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28688 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28689 Define and later undefine as macro. Define as weak alias if
28690 [USE_WIDE_CHAR].
28691 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28692 <bits/floatn.h>.
28693 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28694 Define and later undefine as macro. Define as weak alias if
28695 [!USE_WIDE_CHAR].
28696 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28697 Define and later undefine as macro. Define as weak alias if
28698 [USE_WIDE_CHAR].
28699
ea91c315
CD
287002017-10-15 Carlos O'Donell <carlos@redhat.com>
28701
28702 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28703 record_verbose messages.
28704
8e57c943
L
287052017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 [BZ #22052]
28708 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28709 to silence -O3 -Wall warning with GCC 7.
28710
a4777c46
L
287112017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28712
28713 * Makeconfig (+link-static-before-libc): Use the first of
28714 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28715 * gmon/Makefile (tests): Add tst-gmon-static.
28716 (tests-static): Likewise.
28717 (CFLAGS-tst-gmon-static.c): New.
28718 (CRT-tst-gmon-static): Likewise.
28719 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28720 (tst-gmon-static-ENV): Likewise.
28721 (tests-special): Likewise.
28722 ($(objpfx)tst-gmon-static.out): Likewise.
28723 (clean-tst-gmon-static-data): Likewise.
28724 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28725 * gmon/tst-gmon-static-gprof.sh: New file.
28726 * gmon/tst-gmon-static.c: Likewise.
28727
bc3821bb
CD
287282017-10-13 Carlos O'Donell <carlos@redhat.com>
28729
28730 [BZ #22295]
28731 * locale/programs/linereader.c (get_string): Don't warn on
28732 non-symbolic character.
28733
a3e23a2c
CD
28734 [BZ #22294]
28735 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28736 int_curr_symbol.
28737
f16491eb
CD
28738 [BZ #22292]
28739 * locale/programs/record-status.h: New file
28740 * locale/programs/locale.c: Add comment.
28741 * locale/programs/charmap-dir.c: Don't include error.h.
28742 (charmap_opendir): Use record_error.
28743 * locale/programs/charmap.c: Don't include error.h.
28744 (charmap_read): Use record_error, and record_warning.
28745 (parse_charmap): Likewise.
28746 * locale/programs/ld-address.c: Don't include error.h.
28747 (address_finish): Use record_error, and record_warning.
28748 * locale/programs/ld-collate.c: Don't include error.h.
28749 (collate_finish): Use record_error, and record_error_at_line.
28750 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28751 (ctype_class_new): Likewise.
28752 (ctype_map_new): Likewise.
28753 (set_one_default): Likewise.
28754 (set_class_defaults): Likewise.
28755 (translit_flatten): Likewise.
28756 (allocate_arrays): Use record_error, and record_verbose.
28757 * locale/programs/ld-identification.c: Don't include error.h.
28758 (indentation_finish): Use record_error and record_warning.
28759 * locale/programs/ld-measurement.c: Don't include error.h.
28760 (measurement_finish): Use record_error.
28761 * locale/programs/ld-messages.c
28762 (message_finish): Likewise.
28763 * locale/programs/ld-monetary.c
28764 (monetary_finish): Likewise.
28765 * locale/programs/ld-name.c (name_finish): Use record_error
28766 and record_warning.
28767 * locale/programs/ld-numeric.c
28768 (numeric_finish): Use record_error.
28769 * locale/programs/ld-paper.c: Don't include error.h.
28770 (paper_finish): Use record_error.
28771 * locale/programs/ld-telephone.c: Don't include error.h.
28772 (telephone_finish): Use record_error.
28773 * locale/programs/ld-time.c (time_finish): Likewise.
28774 * locale/programs/linereader.h (lr_error): Make inline func.
28775 * locale/programs/localedef.c: Define recorded_warning_count,
28776 and recorded_error_count.
28777 (main): Use record_error. Use recorded_error_count and
28778 recorded_warning_count to issue correct error returns.
28779 (add_to_readlist): Use record_error.
28780 (find_locale): Likewise.
28781 (load_locale): Likewise.
28782 * locale/programs/localedef.h: Remove be_quiet
28783 and WITH_CUR_LOCALE.
28784 * locale/programs/locarchive.c (compare_from_file): Use
28785 record_error.
28786 * locale/programs/locfile.c (write_locale_data): Use
28787 record_error.
28788 * locale/programs/repertoire.c: Dont include error.h.
28789 (repertoire_complain): Use record_error.
28790 * localedata/tst-fmon.sh: Expect failures from localedef.
28791 * localedata/tst-locale.sh: Likewise.
28792 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28793
8dc8be75
CD
28794 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28795 (REPORTS): Likewise.
28796 (check): Likewise.
28797 (i18n): Rename to...
28798 (i18n_ctype): ...this.
28799 (i18n-report): Rename to...
28800 (i18n_ctype-report): ...this.
28801 * localedata/locales/i18n_ctype: Regenerate.
28802 * localedata/locales/i18n: copy i18n_ctype.
28803
f8718a9e
JM
288042017-10-13 Joseph Myers <joseph@codesourcery.com>
28805
18c08b96
JM
28806 * stdlib/strfroml.c: Include <bits/floatn.h>.
28807 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28808 Define before include of <stdlib.h> and undefine afterwards, then
28809 define as weak alias.
28810
f8718a9e
JM
28811 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28812 Undefine and restore default definition. Use
28813 libm_alias_ldouble_other.
28814
e4f530da
PZ
288152017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28816
28817 [BZ #22153]
28818 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28819 in coredumps.
28820
86445888
JC
288212017-10-13 James Clarke <jrtc27@jrtc27.com>
28822
28823 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28824 Assign sym_map to be map for local symbols, as TLS relocations
28825 use sym_map to determine whether the symbol is defined and to
28826 extract the TLS information.
28827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28829
179dcdb7
TMQMF
288302017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28831
e8dbd6a3
TMQMF
28832 [BZ #22189]
28833 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28834 (math_force_eval): Add powerpc version.
28835
179dcdb7
TMQMF
28836 [BZ #22142]
28837 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28838 -DBL_MAX.
28839 (do_test): Likewise.
28840 * stdio-common/tst-printf.sh: Likewise.
28841 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28842 ifdef clause in order to set the carry bit right. Replace r0 by
28843 0 without changing the behavior.
28844
7d25d410
JM
288452017-10-13 Joseph Myers <joseph@codesourcery.com>
28846
006e7664
JM
28847 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28848 <libm-alias-ldouble.h>.
28849 (fabsl): Define using libm_alias_ldouble.
28850 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28851 <libm-alias-ldouble.h>.
28852 (fabsl): Define using libm_alias_ldouble.
28853
1def91b3
JM
28854 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28855 Remove conditional code.
28856
7d25d410
JM
28857 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28858 Rename to __clog10_internal_l.
28859 (__clog10_internal_l): Define aliases using
28860 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28861 with __clog10.
28862
077ee129
RS
288632017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28864
28865 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28866 * benchtests/sincosf-inputs: New file.
28867 * benchtests/cosf-inputs: New file.
28868 * benchtests/sinf-inputs: New file.
28869
5ba41de9
SN
288702017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28871
28872 * posix/tst-spawn.c (do_test): Wait for both children.
28873
d165ca64
L
288742017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 [BZ #22284]
28877 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28878 tests-pie): Add tst-gmon-pie.
28879 (CFLAGS-tst-gmon-pie.c): New.
28880 (CRT-tst-gmon-pie): Likewise.
28881 (tst-gmon-pie-ENV): Likewise.
28882 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28883 ($(objpfx)tst-gmon-pie.out): Likewise.
28884 (clean-tst-gmon-pie-data): Likewise.
28885 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28886 * gmon/gmon.c [PIC]: Include <link.h>.
28887 [PIC] (callback): New function.
28888 (write_hist): Add an argument for load address. Subtract load
28889 address from PCs.
28890 (write_call_graph): Likewise.
28891 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28892 it to write_hist and write_call_graph.
7bacdcfc 28893 * gmon/tst-gmon-pie.c: New file.
d165ca64 28894
bc9620d0
JM
288952017-10-11 Joseph Myers <joseph@codesourcery.com>
28896
28897 * math/Makefile (test-types-basic): New variable.
28898 (test-types): Likewise.
28899 (libm-test-support): Use $(test-types) instead of $(types).
28900 (libm-tests-base-normal): Likewise.
28901 (libm-tests-base-finite): Likewise.
28902 (libm-tests-base-inline): Likewise.
28903 (generated): Likewise.
28904 ($(objpfx)libm-test-support-$(t).c): Likewise.
28905 (libm-tests-for-type iterator): Likewise.
28906 (libm-test-support iterator): Likewise.
28907 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28908 (ulp_idx): Use ULP_IDX.
28909 * math/test-ldouble.h: Include <float.h>.
28910 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28911 (ULP_IDX): New macro.
28912 (ULP_I_IDX): Likewise.
28913 * math/test-double.h (ULP_IDX): Likewise.
28914 (ULP_I_IDX): Likewise.
28915 * math/test-float.h (ULP_IDX): Likewise.
28916 (ULP_I_IDX): Likewise.
28917 * math/test-float128.h (ULP_IDX): Likewise.
28918 (ULP_I_IDX): Likewise.
28919
09c76a74
AZ
289202017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28921
28922 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28923 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28924 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28925 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28926 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28927 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28928 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28929 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28931 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28932 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28933 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28936 (SINGLE_THREAD_BY_GLOBAL): Define.
28937 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28938 Likewise.
28939 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28940 Likewise.
28941 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28942 Likewise.
28943 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28944 Likewise.
28945 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28946 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28948 Likewise.
28949
2faa42da
AS
289502017-10-11 Andreas Schwab <schwab@suse.de>
28951
28952 * nis/Makefile (aux): Remove.
28953 * nscd/Makefile (aux): Add nscd_hash.
28954 (nscd-modules): Likewise.
28955 ($(objpfx)nscd): Don't depend on libnsl.
28956 * nscd/nscd_hash.c: New file.
28957 * nscd/nscd_hash.h: Likewise.
28958 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28959 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28960 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28961 instead of <nis/rpcsvc/nis.h>.
28962 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28963
d8425e11
FW
289642017-10-11 Florian Weimer <fweimer@redhat.com>
28965
28966 [BZ #22078]
28967 Avoid large NSS buffers with many addresses, aliases.
28968 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28969 using dynarrays and struct alloc_buffer.
28970 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28971 (tst-nss-files-hosts-multi): Link with -ldl.
28972 * nss/tst-nss-files-hosts-multi.c: New file.
28973
78e806fd
FW
289742017-10-11 Florian Weimer <fweimer@redhat.com>
28975
28976 [BZ #18023]
28977 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28978 scratch_buffer. Eliminate gotos.
28979
541f19ba
JM
289802017-10-11 Joseph Myers <joseph@codesourcery.com>
28981
0ff64d3a
JM
28982 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28983 libm_alias_ldouble_other.
28984 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28985 undefine and redefine.
28986 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28987 (exp10l): Do not define here.
28988 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28989 (weak_alias): Undefine and redefine.
28990 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28991 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28992 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28993 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28994
541f19ba
JM
28995 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28996 [!__fma] (fma): Define using libm_alias_double.
28997 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28998 [!__fmaf] (fmaf): Define using libm_alias_float.
28999 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
29000 (fmal): Define using libm_alias_ldouble.
29001
24b6515d
JM
290022017-10-10 Joseph Myers <joseph@codesourcery.com>
29003
29004 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
29005 New macro.
29006 (libm_alias_double_other): Likewise.
29007 (libm_alias_double_r): Use libm_alias_double_other_r.
29008 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
29009 New macro.
29010 (libm_alias_float_other): Likewise.
29011 (libm_alias_float_r): Use libm_alias_float_other_r.
29012 * sysdeps/generic/libm-alias-float128.h
29013 (libm_alias_float128_other_r): New macro.
29014 (libm_alias_float128_other): Likewise.
29015 (libm_alias_float128_r): Use libm_alias_float128_other_r.
29016 * sysdeps/generic/libm-alias-ldouble.h
29017 (libm_alias_ldouble_other_r): New macro.
29018 (libm_alias_ldouble_other): Likewise.
29019 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29020 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
29021 (libm_alias_double_other_r): New macro.
29022 (libm_alias_double_other): Likewise.
29023 (libm_alias_double_r): Use libm_alias_double_other_r.
29024 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
29025 (libm_alias_ldouble_other_r): New macro.
29026 (libm_alias_ldouble_other): Likewise.
29027 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29028 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29029 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29030 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29031 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29032 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29033 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29034 * math/w_exp2f.c: Use libm_alias_float_other.
29035 * math/w_expf.c: Likewise.
29036 * math/w_log2f.c: Likewise.
29037 * math/w_logf.c: Likewise.
29038 * math/w_powf.c: Likewise.
29039 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29040 [!__exp2f]: Use libm_alias_float_other.
29041 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29042 [!__expf]: Use libm_alias_float_other.
29043 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29044 [!__log2f]: Use libm_alias_float_other.
29045 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29046 [!__logf]: Use libm_alias_float_other.
29047 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29048 [!__powf]: Use libm_alias_float_other.
29049
8ed70de2
FW
290502017-10-10 Florian Weimer <fweimer@redhat.com>
29051
29052 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29053 function.
29054 (_nss_files_gethostbyname3_r): Call it.
29055
a8dce619
JM
290562017-10-09 Joseph Myers <joseph@codesourcery.com>
29057
29058 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29059 error. Remove default definition of declare_mgen_alias.
29060 [!declare_mgen_alias_r]: Likewise.
29061 * sysdeps/generic/math-type-macros-double.h
29062 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29063 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29064 (declare_mgen_alias_r): Likewise.
29065 * sysdeps/generic/math-type-macros-float128.h
29066 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29067 * sysdeps/generic/math-type-macros-ldouble.h
29068 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29069 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29070 macro.
29071 (declare_mgen_alias_r_s): Likewise.
29072 (declare_mgen_alias_r): Likewise.
29073 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29074 (lgamma_r): Define using libm_alias_double_r.
29075 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29076 (lgammaf_r): Define using libm_alias_float_r.
29077 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29078 (lgammal_r): Define using libm_alias_ldouble_r.
29079 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29080 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29081
bedac136
AZ
290822017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29083
29084 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29085 extern declaration.
29086
c7509db2
JM
290872017-10-09 Joseph Myers <joseph@codesourcery.com>
29088
29089 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29090
d6c064e9
JW
290912017-10-09 Jonathan Wakely <jwakely@redhat.com>
29092
29093 [BZ #21326]
29094 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29095 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29096 * math/Makefile (test-math-cxx11): New test.
29097 * math/test-math-cxx11.cc: New file.
29098
98e07420
CB
290992017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29100
29101 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29102
645ac9aa
CB
29103 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29104 call to allocate the slave pty file descriptor.
29105
fd3b4e7c
JM
291062017-10-06 Joseph Myers <joseph@codesourcery.com>
29107
f85a176f
JM
29108 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29109 [!__fma] (fma): Define using libm_alias_double.
29110 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29111 [!__fma] (fma): Define using libm_alias_double.
29112
fd3b4e7c
JM
29113 * sysdeps/ieee754/float128/float128_private.h: Include
29114 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29115 (libm_alias_ldouble_r): Undefine and redefine.
29116 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29117 <libm-alias-ldouble.h>.
29118 (asinhl): Define using libm_alias_ldouble.
29119 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29120 <libm-alias-ldouble.h>.
29121 (atanl): Define using libm_alias_ldouble.
29122 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29123 <libm-alias-ldouble.h>.
29124 (cbrtl): Define using libm_alias_ldouble.
29125 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29126 <libm-alias-ldouble.h>.
29127 (ceill): Define using libm_alias_ldouble.
29128 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29129 <libm-alias-ldouble.h>.
29130 (copysignl): Define using libm_alias_ldouble.
29131 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29132 <libm-alias-ldouble.h>.
29133 (cosl): Define using libm_alias_ldouble.
29134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29135 <libm-alias-ldouble.h>.
29136 (erfl): Define using libm_alias_ldouble.
29137 (erfcl): Likewise.
29138 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29139 <libm-alias-ldouble.h>.
29140 (expm1l): Define using libm_alias_ldouble.
29141 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29142 <libm-alias-ldouble.h>.
29143 (fabsl): Define using libm_alias_ldouble.
29144 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29145 <libm-alias-ldouble.h>.
29146 (floorl): Define using libm_alias_ldouble.
29147 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29148 <libm-alias-ldouble.h>.
29149 (fmal): Define using libm_alias_ldouble.
29150 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29151 <libm-alias-ldouble.h>.
29152 (frexpl): Define using libm_alias_ldouble.
29153 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29154 libm_alias_ldouble.
29155 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29156 <libm-alias-ldouble.h>.
29157 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29158 libm_alias_ldouble.
29159 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29160 <libm-alias-ldouble.h>.
29161 (getpayloadl): Define using libm_alias_ldouble.
29162 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29163 <libm-alias-ldouble.h>.
29164 (llrintl): Define using libm_alias_ldouble.
29165 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29166 <libm-alias-ldouble.h>.
29167 (llroundl): Define using libm_alias_ldouble.
29168 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29169 <libm-alias-ldouble.h>.
29170 (logbl): Define using libm_alias_ldouble.
29171 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29172 <libm-alias-ldouble.h>.
29173 (lrintl): Define using libm_alias_ldouble.
29174 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29175 <libm-alias-ldouble.h>.
29176 (lroundl): Define using libm_alias_ldouble.
29177 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29178 <libm-alias-ldouble.h>.
29179 (modfl): Define using libm_alias_ldouble.
29180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29181 <libm-alias-ldouble.h>.
29182 (nearbyintl): Define using libm_alias_ldouble.
29183 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29184 <libm-alias-ldouble.h>.
29185 (nextafterl): Define using libm_alias_ldouble.
29186 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29187 <libm-alias-ldouble.h>.
29188 (nextupl): Define using libm_alias_ldouble.
29189 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29190 <libm-alias-ldouble.h>.
29191 (remquol): Define using libm_alias_ldouble.
29192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29193 <libm-alias-ldouble.h>.
29194 (rintl): Define using libm_alias_ldouble.
29195 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29196 <libm-alias-ldouble.h>.
29197 (roundevenl): Define using libm_alias_ldouble.
29198 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29199 <libm-alias-ldouble.h>.
29200 (roundl): Define using libm_alias_ldouble.
29201 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29202 using libm_alias_ldouble.
29203 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29204 <libm-alias-ldouble.h>.
29205 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29206 Define using libm_alias_ldouble.
29207 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29208 <libm-alias-ldouble.h>.
29209 (sincosl): Define using libm_alias_ldouble.
29210 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29211 <libm-alias-ldouble.h>.
29212 (sinl): Define using libm_alias_ldouble.
29213 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29214 <libm-alias-ldouble.h>.
29215 (tanhl): Define using libm_alias_ldouble.
29216 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29217 <libm-alias-ldouble.h>.
29218 (tanl): Define using libm_alias_ldouble.
29219 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29220 <libm-alias-ldouble.h>.
29221 (totalorderl): Define using libm_alias_ldouble.
29222 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29223 <libm-alias-ldouble.h>.
29224 (totalordermagl): Define using libm_alias_ldouble.
29225 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29226 <libm-alias-ldouble.h>.
29227 (truncl): Define using libm_alias_ldouble.
29228 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29229 libm_alias_ldouble.
29230 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29231 libm_alias_ldouble.
29232 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29233 <libm-alias-ldouble.h>.
29234 (weak_alias): Do not undefine and redefine.
29235 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29236 (copysignl): Define with long_double_symbol only if [IS_IN
29237 (libc)].
29238 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29239 <libm-alias-ldouble.h>.
29240 (weak_alias): Do not undefine and redefine.
29241 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29242 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29243 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29244 <libm-alias-ldouble.h>.
29245 (weak_alias): Do not undefine and redefine.
29246 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29247 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29248 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29249 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29252 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29255 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29258 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29265 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29272
1e26d351
CD
292732017-10-06 Carlos O'Donell <carlos@redhat.com>
29274
29275 [BZ #22111]
29276 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29277 (tcache_thread_freeres): Set tcache_shutting_down before
29278 freeing the tcache.
29279 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29280 * malloc/tst-malloc-tcache-leak.c: New file.
29281
d1386762
RS
292822017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29283
29284 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29285 back to powerpc32 file.
29286 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29287 (memrchr): Add __memrchr_power8 to ifunc list.
29288 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29289 extra bytes for unaligned inputs.
29290
6dff1983
JM
292912017-10-06 Joseph Myers <joseph@codesourcery.com>
29292
29293 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29294 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29298
86f9568a
JM
292992017-10-05 Joseph Myers <joseph@codesourcery.com>
29300
0db0b931
JM
29301 * sysdeps/arm/libm-test-ulps: Update.
29302
86f9568a
JM
29303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29304 <libm-alias-ldouble.h>.
29305 (asinhl): Define using libm_alias_ldouble.
29306 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29307 <libm-alias-ldouble.h>.
29308 (cbrtl): Define using libm_alias_ldouble.
29309 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29310 <libm-alias-ldouble.h>.
29311 (copysignl): Define using libm_alias_ldouble.
29312 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29313 <libm-alias-ldouble.h>.
29314 (cosl): Define using libm_alias_ldouble.
29315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29316 <libm-alias-ldouble.h>.
29317 (erfl): Define using libm_alias_ldouble.
29318 (erfcl): Likewise.
29319 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29320 <libm-alias-ldouble.h>.
29321 (fmal): Define using libm_alias_ldouble.
29322 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29323 <libm-alias-ldouble.h>.
29324 (frexpl): Define using libm_alias_ldouble.
29325 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29326 libm_alias_ldouble.
29327 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29328 <libm-alias-ldouble.h>.
29329 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29330 libm_alias_ldouble.
29331 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29332 <libm-alias-ldouble.h>.
29333 (getpayloadl): Define using libm_alias_ldouble.
29334 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29335 <libm-alias-ldouble.h>.
29336 (llrintl): Define using libm_alias_ldouble.
29337 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29338 <libm-alias-ldouble.h>.
29339 (llroundl): Define using libm_alias_ldouble.
29340 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29341 <libm-alias-ldouble.h>.
29342 (lrintl): Define using libm_alias_ldouble.
29343 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29344 <libm-alias-ldouble.h>.
29345 (lroundl): Define using libm_alias_ldouble.
29346 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29347 <libm-alias-ldouble.h>.
29348 (modfl): Define using libm_alias_ldouble.
29349 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29350 <libm-alias-ldouble.h>.
29351 (nextupl): Define using libm_alias_ldouble.
29352 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29353 <libm-alias-ldouble.h>.
29354 (remquol): Define using libm_alias_ldouble.
29355 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29356 <libm-alias-ldouble.h>.
29357 (roundevenl): Define using libm_alias_ldouble.
29358 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29359 <libm-alias-ldouble.h>.
29360 (roundl): Define using libm_alias_ldouble.
29361 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29362 using libm_alias_ldouble.
29363 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29364 <libm-alias-ldouble.h>.
29365 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29366 <libm-alias-ldouble.h>.
29367 (setpayloadsigl): Define using libm_alias_ldouble.
29368 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29369 <libm-alias-ldouble.h>.
29370 (sincosl): Define using libm_alias_ldouble.
29371 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29372 <libm-alias-ldouble.h>.
29373 (sinl): Define using libm_alias_ldouble.
29374 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29375 <libm-alias-ldouble.h>.
29376 (tanhl): Define using libm_alias_ldouble.
29377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29378 <libm-alias-ldouble.h>.
29379 (tanl): Define using libm_alias_ldouble.
29380 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29381 <libm-alias-ldouble.h>.
29382 (totalorderl): Define using libm_alias_ldouble.
29383 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29384 <libm-alias-ldouble.h>.
29385 (totalordermagl): Define using libm_alias_ldouble.
29386 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29387 libm_alias_ldouble.
29388 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29389 libm_alias_ldouble.
29390
9ec87fd2
SP
293912017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29392
dd5bc7f1
SP
29393 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29394 memmove_falkor.
29395 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29396 (__libc_ifunc_impl_list): Likewise.
29397 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29398 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29399
5bfb0404
SP
29400 * benchtests/bench-memmove-walk.c: New file.
29401 * benchtests/Makefile (string-benchset): Add it.
29402
36bb8edf
SP
29403 * benchtests/bench-memset-walk.c: New file.
29404 * benchtests/Makefile (string-benchset): Add it.
29405
9ec87fd2
SP
29406 * benchtests/bench-memcpy-walk.c: New file.
29407 * benchtests/Makefile (string-benchset): Add it.
29408
1e9522c6
FW
294092017-10-05 Florian Weimer <fweimer@redhat.com>
29410
29411 nscd: Eliminate compilation time dependency in the build output.
29412 * nscd/nscd_stat.c (STATDATA_VERSION)
29413 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29414 (STATDATA_VERSION_FULL): New macro definitions.
29415 (compilation): Remove.
29416 (struct statdata): Adjust version member.
29417 (send_stats): Set version from STATDATA_VERSION_FULL.
29418 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29419
644d3857
JM
294202017-10-05 Joseph Myers <joseph@codesourcery.com>
29421
29422 * configure.ac (--enable-add-ons): Remove option.
29423 (machine): Do not mention add-ons in comment.
29424 (LIBC_PRECONFIGURE): Likewise.
29425 (add_ons): Remove variable and sanity checks and logic to locate
29426 add-ons.
29427 (add_ons_automatic): Remove variable.
29428 (configured_add_ons): Likewise.
29429 (add_ons_sfx): Likewise.
29430 (add_ons_pfx): Likewise.
29431 (add_on_subdirs): Likewise.
29432 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29433 consideration of add-ons in Implies handling.
29434 (sysdeps_add_ons): Likewise.
29435 * configure: Regenerated.
29436 * libidn/configure.ac: Remove.
29437 * libidn/configure: Likewise.
29438 * sysdeps/unix/inet/configure.ac: New file.
29439 * sysdeps/unix/inet/configure: New generated file.
29440 * sysdeps/unix/inet/Subdirs: Add libidn.
29441 * Makeconfig (sysdeps-srcdirs): Remove variable.
29442 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29443 ($(common-objpfx)config.status): Do not depend on add-on files.
29444 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29445 comment.
29446 (all-subdirs): Do not include $(add-on-subdirs).
29447 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29448 * config.make.in (add-ons): Remove variable.
29449 (add-on-subdirs): Likewise.
29450 (sysdeps-add-ons): Likewise.
29451 * manual/Makefile (add-chapters): Remove.
29452 ($(objpfx)texis): Do not depend on $(add-chapters).
29453 (nonexamples): Do not handle $(add-chapters).
29454 (examples): Do not handle $(add-ons).
29455 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29456 libc-texinfo.sh.
29457 * manual/install.texi (Installation): Do not mention add-ons.
29458 (--enable-add-ons): Do not document configure option.
29459 * INSTALL: Regenerated.
29460 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29461 * manual/maint.texi (Hierarchy Conventions): Do not mention
29462 add-ons.
29463 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29464 --enable-add-ons.
29465 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29466 add-ons.
29467 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29468 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29469
19f82f35
AS
294702017-10-05 Andreas Schwab <schwab@suse.de>
29471
29472 [BZ #15142]
29473 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29474 (_IO_flush_all_lockp): Always lock list_all_lock.
29475 (_IO_flush_all_linebuffered): Likewise.
29476 (_IO_unbuffer_all): Likewise.
29477
91e7cf98
FW
294782017-10-05 Florian Weimer <fweimer@redhat.com>
29479
29480 [BZ #15436]
29481 Do not flush stdio streams on abort.
29482 * stdlib/abort.c (fflush): Remove macro definition.
29483 (abort): Remove stages related to stdio flushing.
29484
0c251257
FW
294852017-10-05 Florian Weimer <fweimer@redhat.com>
29486
29487 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29488
7ea59e3e
SL
294892017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29490
29491 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29492
84d0e6f0
FW
294932017-10-05 Florian Weimer <fweimer@redhat.com>
29494
29495 * support/support_format_hostent.c (support_format_hostent): Add
29496 more error information for NETDB_INTERNAL.
29497
ee417882
L
294982017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29499
29500 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29501 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29502 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29503 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29504 AC_DEFINE if multi-arch is enabled.
29505 * sysdeps/i386/configure: Regenerated.
29506
a67029ff
L
295072017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29508
29509 * Makeconfig (+link-static-before-libc): Use
29510 $(DEFAULT-LDFLAGS-$(@F)).
29511 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29512 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29513 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29514
5dba84b3
L
295152017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29516
29517 * elf/Makefile (tests): Add tst-main1.
29518 (modules-names): Add tst-main1mod.
29519 ($(objpfx)tst-main1): New.
29520 (CRT-tst-main1): Likewise.
29521 (LDFLAGS-tst-main1): Likewise.
29522 (LDLIBS-tst-main1): Likewise.
29523 (tst-main1mod.so-no-z-defs): Likewise.
29524 * elf/tst-main1.c: New file.
29525 * elf/tst-main1mod.c: Likewise.
29526
758f1bfa
L
295272017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29528
29529 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29530
7e16a5d1
JM
295312017-10-04 Joseph Myers <joseph@codesourcery.com>
29532
29533 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29534 (fma): Define using libm_alias_double.
29535 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29536 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29537 <math_ldbl_opt.h>.
29538 (fmal): Do not define as compat symbol here.
29539 * sysdeps/alpha/fpu/s_fma.c: New file.
29540
db4f87ba
SN
295412017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29542
29543 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29544
72d13ed1
JM
295452017-10-04 Joseph Myers <joseph@codesourcery.com>
29546
32d372d5
JM
29547 [BZ #22229]
29548 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29549 <math_ldbl_opt.h>
29550 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29551 and libc.
29552 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29553 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29554 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29555 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29557 Include <math_ldbl_opt.h>
29558 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29559 and libc.
29560 (compat_symbol): Undefine and redefine.
29561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29562 <math_ldbl_opt.h>
29563 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29564 (compat_symbol): Undefine and redefine.
29565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29566 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29567 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29568 GLIBC_2_1 for libm.
29569 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29570 GLIBC_2.0 copysignl symbol.
29571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29572 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29573
72d13ed1
JM
29574 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29575
11c4f501
FW
295762017-10-04 Florian Weimer <fweimer@redhat.com>
29577
29578 * scripts/check-local-headers.sh: Ignore nspr4 header file
29579 directory in addition to nspr.
29580
57b4af19
GT
295812017-10-04 Guido Trentalancia <guido@trentalancia.net>
29582
29583 [BZ #17956]
29584 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29585 * configure: Regenerate.
29586 * crypt/Makefile (nss-cpp-flags): New variable.
29587 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29588 (CPPFLAGS-md5-crypt.c): Use it.
29589 * scripts/check-local-headers.sh: Ignore nspr header file
29590 directory.
29591
64d1e08e
AS
295922017-10-04 Andreas Schwab <schwab@suse.de>
29593
29594 * nis/Makefile (services): Remove compat.
29595 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29596 ($(objpfx)libnss_compat.so): Remove rule.
29597 * nis/Versions (libnss_compat): Remove.
29598 * nss/Makefile (services): Add compat.
29599 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29600 * nss/Versions (libnss_compat): Define.
29601 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29602 Don't include <rpc/types.h>. Replace bool_t by bool.
29603 * nss/nss_compat/compat-initgroups.c: Likewise.
29604 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29605 instead of <rpcsrv/ypclnt.h>.
29606 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29607 yp_get_default_domain.
29608 * nss/nss_compat/compat-pwd.c: Likewise.
29609 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29610 yp_get_default_domain.
29611 * nss/nss_compat/nisdomain.c: New file.
29612 * nss/nss_compat/nisdomain.h: Likewise.
29613
86c27ade
SN
296142017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29615
29616 [BZ #22244]
29617 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29618 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29619
8f8f8ef7
SN
296202017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29621
29622 [BZ #22243]
29623 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29624 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29625
95577475
L
296262017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29627
29628 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29629 "movl main@GOTOFF(%ebx), %eax".
29630
02d2d892
L
296312017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29632
29633 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29634 allow undefined _DYNAMIC in PIE libc.a.
29635 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29636 Likewse.
29637
0c609d19
L
296382017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29639
29640 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29641 check _DYNAMIC.
29642
c34a19ed
L
296432017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29644
29645 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29646 check _DYNAMIC.
29647
cdd4155d
L
296482017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29649
29650 * math/test-math-iscanonical.cc (error): Replace bool with int.
29651
4699cb8b
JM
296522017-10-03 Joseph Myers <joseph@codesourcery.com>
29653
d8f619b3
JM
29654 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29655 (modf): Define using libm_alias_double, only if [!__modf].
29656 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29657 <libm-alias-double.h>.
29658 (modf): Define using libm_alias_double, only if [!__modf].
29659 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29660 compat symbol here.
29661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29662 (weak_alias): Do not undefine and redefine.
29663 (strong_alias): Likewise.
29664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29665 (weak_alias): Likewise.
29666 (strong_alias): Likewise.
29667
4699cb8b
JM
29668 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29669 (logb): Define using libm_alias_double, only if [!__logb].
29670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29671 <libm-alias-double.h>.
29672 (logb): Define using libm_alias_double, only if [!__logb].
29673 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29675 (weak_alias): Do not undefine and redefine.
29676 (strong_alias): Likewise.
29677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29678 (weak_alias): Likewise.
29679 (strong_alias): Likewise.
29680
bcc4e4bb
L
296812017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29682
29683 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29684 Check SHARED instead PIC.
29685
39793865
JM
296862017-10-03 Joseph Myers <joseph@codesourcery.com>
29687
7f1cbdf8
JM
29688 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29689 [!__fmaf] (fmaf): Define using libm_alias_float.
29690
39793865
JM
29691 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29692 (frexp): Define using libm_alias_double.
29693 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29694 <libm-alias-double.h>.
29695 (frexp): Define using libm_alias_double.
29696 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29697 compat symbol here.
29698
aa0235df
GG
296992017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29700
29701 [BZ #22235]
29702 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29703 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29704 (CFLAGS-test-math-iscanonical.cc): New variable.
29705 * math/test-math-iscanonical.cc: New file.
29706 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29707 Provide a C++ implementation based on function overloading,
29708 rather than using __MATH_TG, which uses C-only builtins.
29709 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29710 Likewise.
29711 * sysdeps/powerpc/powerpc64le/Makefile
29712 (CFLAGS-test-math-iscanonical.cc): New variable.
29713
a1132b5e
JM
297142017-10-03 Joseph Myers <joseph@codesourcery.com>
29715
29716 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29717 (ceil): Define using libm_alias_double.
29718 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29719 (floor): Define using libm_alias_double.
29720 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29721 <libm-alias-double.h>.
29722 (llround): Define using libm_alias_double.
29723 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29724 <libm-alias-double.h>.
29725 (lround): Define using libm_alias_double.
29726 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29727 <libm-alias-double.h>.
29728 (nearbyint): Define using libm_alias_double.
29729 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29730 <libm-alias-double.h>.
29731 (remquo): Define using libm_alias_double.
29732 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29733 (rint): Define using libm_alias_double.
29734 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29735 (round): Define using libm_alias_double.
29736 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29737 (trunc): Define using libm_alias_double.
29738 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29739 <libm-alias-double.h>.
29740 (ceil): Define using libm_alias_double.
29741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29742 <libm-alias-double.h>.
29743 (floor): Define using libm_alias_double.
29744 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29745 <libm-alias-double.h>.
29746 (llround): Define using libm_alias_double.
29747 [_LP64] (lround): Likewise.
29748 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29749 <libm-alias-double.h>.
29750 [!_LP64] (lround): Define using libm_alias_double.
29751 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29752 <libm-alias-double.h>.
29753 (nearbyint): Define using libm_alias_double.
29754 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29755 <libm-alias-double.h>.
29756 (remquo): Define using libm_alias_double.
29757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29758 <libm-alias-double.h>.
29759 (rint): Define using libm_alias_double.
29760 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29761 <libm-alias-double.h>.
29762 (round): Define using libm_alias_double.
29763 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29764 <libm-alias-double.h>.
29765 (trunc): Define using libm_alias_double.
29766 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29767 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29768 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29769 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29770 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29771 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29772 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29773 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29774 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29775
f275f64e
SN
297762017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29777
29778 * math/w_remainder.c: New file.
29779 * math/w_remainderf.c: New file.
29780 * math/w_remainderl.c: New file.
29781
b8818ab5
L
297822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29783
29784 * elf/rtld.c (BOOTSTRAP_MAP): New.
29785 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29786 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29787 Likewise.
29788 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29789 Likewise.
29790 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29791 Likewise.
29792
3d1870fa
ST
297932017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29794
29795 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29796 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29797 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29798 rtld_hidden_data_ver): Define to empty.
29799 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29800 __assert_perror_fail): Likewise.
29801 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29802 (__rewinddir): Likewise.
29803 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29804 (__profile_frequency): Likewise.
29805 * include/setjmp.h (__sigsetjmp): Likewise.
29806 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29807 __libc_sigaction): Likewise.
29808 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29809 not set hidden attribute.
29810 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29811 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29812 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29813 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29814 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29815 __fxstatat64): Likewise.
29816 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29817 (__uname): Likewise.
29818 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29819 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29820 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29821 (NO_RTLD_HIDDEN): Set.
29822 * sysdeps/mach/hurd/configure: Refresh.
29823 * config.h.in: Refresh.
29824
527cd19c
JM
298252017-10-02 Joseph Myers <joseph@codesourcery.com>
29826
38722448
JM
29827 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29828 (atan): Define using libm_alias_double.
29829 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29830 (tan): Define using libm_alias_double.
29831 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29832 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29833
527cd19c
JM
29834 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29835 define as weak alias of __atan. Do not define any aliases if
29836 [__atan].
29837 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29838 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29840 as weak alias of __tan. Do not define any aliases if [__tan].
29841 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29842 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29843 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29844 __atan.
29845 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29846 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29847 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29848 and define as weak alias of __atan.
29849 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29850 __atan.
29851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29852 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29853 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29854 define as weak alias of __tan.
29855
bdc5c592
SN
298562017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29857
29858 * math/w_lgamma.c: New file.
29859 * math/w_lgammaf.c: New file.
29860 * math/w_lgammal.c: New file.
29861
bd4430c2
SN
298622017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29863
29864 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29865 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29866 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29867 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29868 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29869 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29870 * sysdeps/i386/fpu/w_log2f.c: New file.
29871 * sysdeps/i386/fpu/w_logf.c: New file.
29872 * sysdeps/i386/fpu/w_powf.c: New file.
29873 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29874 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29875 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29876
f7a0b063
SN
298772017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29878 H.J. Lu <hongjiu.lu@intel.com>
29879
29880 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29881 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29882 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29883 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29885 the new expf code.
29886 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29887 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29888 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29889 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29890 * sysdeps/i386/fpu/w_exp2f.c: New file.
29891 * sysdeps/i386/fpu/w_expf.c: New file.
29892 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29893 * sysdeps/x86_64/fpu/w_expf.c: New file.
29894
72d3d281
SN
298952017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29896
29897 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29898 (log2f): Likewise.
29899 (powf): Likewise.
29900 * math/w_log2f.c: New file.
29901 * math/w_logf.c: New file.
29902 * math/w_powf.c: New file.
29903 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29904 * math/w_logf_compat.c (__logf_compat): Likewise.
29905 * math/w_powf_compat.c (__powf_compat): Likewise.
29906 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29907 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29908 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29909 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29910 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29911 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29912 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29915 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29916 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29917 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29918 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29919 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29920 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29922 Likewise.
29923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29924 Likewise.
29925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29926 Likewise.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29928 Likewise.
29929 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29930 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29931 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29932 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29933 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29935 Likewise.
29936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29937 Likewise.
29938 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29939 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29940 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29941
59ba2d2b
RS
299422017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29943
29944 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29945 (sysdep_routines): Add memrchr_power8.
29946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29947 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29948 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29949 New file.
29950 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29951 (memrchr): Add __memrchr_power8 to ifunc list.
29952 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29953
397286ea
L
299542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29955
29956 [BZ #18822]
29957 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29958 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29959 libc_hidden_def.
29960 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29961 (__posix_fallocate64_l64): Likewise.
29962
d0a4512b
L
299632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29964
29965 [BZ #18822]
29966 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29967 (__sched_setaffinity_new): Add libc_hidden_proto and
29968 libc_hidden_def.
29969
c0769f70
L
299702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29971
29972 [BZ #18822]
29973 * include/glob.h (__glob64): Add libc_hidden_proto.
29974 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29975 libc_hidden_def.
29976
0e7d5b6e
L
299772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29978
29979 [BZ #18822]
29980 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29981 attribute_hidden.
29982
bde06c87
L
299832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29984
29985 [BZ #18822]
29986 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29987
fa426590
L
299882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29989
29990 [BZ #18822]
29991 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29992 libc_hidden_def.
29993
2f8a05d8
L
299942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29995
29996 [BZ #18822]
29997 * csu/version.c (__libc_print_version): Add attribute_hidden.
29998
7bfd08ac
L
299992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30000
30001 [BZ #18822]
30002 * include/libc-internal.h (__init_misc): Add attribute_hidden.
30003
0e1fd06c
L
300042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30005
30006 [BZ #18822]
30007 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
30008
36e7ae1e
L
300092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30010
30011 [BZ #18822]
30012 * nscd/nscd_helper.c (__nis_hash): New prototype.
30013
87078544
L
300142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30015
30016 [BZ #18822]
30017 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
30018 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
30019 libc_hidden_def.
30020 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30021 * termios/tcgetattr.c (__tcgetattr): Likewise.
30022
dd3121df
L
300232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 [BZ #18822]
30026 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30027 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30028 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30029 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30030 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30031
047d1a81
L
300322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30033
30034 [BZ #18822]
30035 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30036
fd331b11
L
300372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30038
30039 [BZ #18822]
30040 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30041 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30042
57f859bd
L
300432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30044
30045 [BZ #18822]
30046 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30047
d1903329
L
300482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30049
30050 [BZ #18822]
30051 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30052 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30053
b4744101
L
300542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30055
30056 [BZ #18822]
30057 * include/ifreq.h: New file.
30058 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30059 (__ifreq): Likewise.
30060 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30061 (__ifreq): Likewise.
30062
43b7dfd1
L
300632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30064
30065 [BZ #18822]
30066 * include/idna.h: New file.
30067 * inet/getnameinfo.c: Include <idna.h> instead of
30068 <libidn/idna.h>.
30069 (__idna_to_unicode_lzlz): Removed.
30070 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30071 <libidn/idna.h>.
30072 (__idna_to_ascii_lz): Removed.
30073 (__idna_to_unicode_lzlz): Likewise.
30074
2c0cd8f8
L
300752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30076
30077 [BZ #18822]
30078 * include/plural-exp.h: New file.
30079 * intl/plural-exp.c: Include <plural-exp.h> instead of
30080 "plural-exp.h".
30081
8369d216
L
300822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30083
30084 [BZ #18822]
30085 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30086 "getsourcefilter.h".
30087 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30088 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30089 "getsourcefilter.h".
30090 (__get_sol): Removed.
30091
a0aef783
L
300922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30093
30094 [BZ #18822]
30095 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30096 to ...
30097 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30098
3ee8209b
L
300992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30100
30101 [BZ #18822]
30102 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30103 attribute_hidden.
30104
6036fc38
L
301052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30106
30107 [BZ #18822]
30108 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30109
fe84fed0
L
301102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30111
30112 [BZ #18822]
30113 * include/search.h (__tdestroy): Add libc_hidden_proto.
30114 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30115
048dd681
L
301162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30117
30118 [BZ #18822]
30119 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30120
6e342af6
L
301212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30122
30123 [BZ #18822]
30124 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30125 attribute_hidden.
30126
6a088436
L
301272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30128
30129 [BZ #18822]
30130 * include/signal.h (__kill): Add libc_hidden_proto.
30131 (__sigblock): Likewise.
30132 (__sigprocmask): Likewise.
30133 (__sigaltstack): Likewise.
30134 * signal/kill.c (__kill): Add libc_hidden_def.
30135 * signal/sigblock.c (__sigblock): Likewise.
30136 * signal/sigprocmask.c (__sigprocmask): Likewise.
30137 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30138 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30139 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30140 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30141 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30142 Likewise.
30143 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30144 Likewise.
30145 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30146 (__sigprocmask): Likewise.
30147 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30148 Likewise.
30149 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30150 (__sigprocmask): Likewise.
30151 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30152 Likewise.
30153
78cf1d74
L
301542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30155
30156 [BZ #18822]
30157 * include/string.h (__strsep): Add libc_hidden_proto.
30158 * string/strsep.c (__strsep): Add libc_hidden_def.
30159
85b35894
L
301602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30161
30162 [BZ #18822]
30163 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30164 attribute_hidden.
30165 (__spawni): Likewise.
30166
225f7eec
L
301672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30168
30169 [BZ #18822]
30170 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30171 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30172 libc_hidden_def.
30173
372fe247
L
301742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30175
30176 [BZ #18822]
30177 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30178
9e5ee8b8
L
301792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30180
30181 [BZ #18822]
30182 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30183 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30184 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30185 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30186 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30187 Likewise.
30188 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30189 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30190
2ff16592
L
301912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30192
30193 [BZ #18822]
30194 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30195 (__dcigettext): Likewise.
30196
b5648377
L
301972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30198
30199 [BZ #18822]
30200 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30201 libc_hidden_proto.
30202 (__get_nprocs): Likewise.
30203 (__get_phys_pages): Likewise.
30204 (__get_avphys_pages): Likewise.
30205 (__get_child_max): Add attribute_hidden.
30206 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30207 (__get_nprocs): Likewise.
30208 (__get_phys_pages): Likewise.
30209 (__get_avphys_pages): Likewise.
30210 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30211 libc_hidden_def.
30212 (__get_nprocs): Likewise.
30213 (__get_phys_pages): Likewise.
30214 (__get_avphys_pages): Likewise.
30215 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30216 libc_hidden_def.
30217 (__get_nprocs_conf): Likewise.
30218 (__get_phys_pages): Likewise.
30219 (__get_avphys_pages): Likewise.
30220
0389a6aa
L
302212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30222
30223 [BZ #18822]
30224 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30225 attribute_hidden.
30226 (__netlink_close): Likewise.
30227 (__netlink_free_handle): Likewise.
30228 (__netlink_request): Likewise.
30229
d48354d8
L
302302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30231
30232 [BZ #18822]
30233 * include/rpc/rpc.h (__rpc_thread_variables): Add
30234 attribute_hidden.
30235 (__rpc_thread_svc_cleanup): Likewise.
30236 (__rpc_thread_clnt_cleanup): Likewise.
30237 (__rpc_thread_key_cleanup): Likewise.
30238
d6daff12
L
302392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 [BZ #18822]
30242 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30243 (__writev): Likewise.
30244 * misc/readv.c (__readv): Add libc_hidden_def.
30245 * misc/writev.c (__writev): Likewise.
30246 * sysdeps/posix/readv.c (__readv): Likewise.
30247 * sysdeps/posix/writev.c (__writev): Likewise.
30248 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30249 (__readv): Likewise.
30250 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30251 (__writev): Likewise.
30252
b68f8620
L
302532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 [BZ #18822]
30256 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30257 (__regcomp): Add libc_hidden_proto.
30258 (__regexec): Likewise.
30259 (__regfree): Likewise.
30260 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30261 (__regfree): Likewise.
30262 * posix/regexec.c (__regexec): Likewise.
30263
59c04e67
L
302642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 [BZ #18822]
30267 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30268 (__getutent): Likewise.
30269 (__getutid): Likewise.
30270 (__getutline): Likewise.
30271 (__pututline): Likewise.
30272 (__getutent_r): Likewise.
30273 (__getutid_r): Likewise.
30274 (__getutline_r): Likewise.
30275 (__utmpname): Add attribute_hidden.
30276 (__setutent): Likewise.
30277 (__endutent): Likewise.
30278 * login/getutent.c (__getutent): Add libc_hidden_def.
30279 * login/getutent_r.c (__getutent_r): Likewise.
30280 (__pututline): Likewise.
30281 * login/getutid.c (__getutid): Likewise.
30282 * login/getutid_r.c (__getutid_r): Likewise.
30283 * login/getutline.c (__getutline): Likewise.
30284 * login/getutline_r.c (__getutline_r): Likewise.
30285 * login/updwtmp.c (__updwtmp): Likewise.
30286
4587a421
L
302872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30288
30289 [BZ #18822]
30290 * include/dirent.h (__opendir): Always add attribute_hidden.
30291 (__fdopendir): Likewise.
30292 (__closedir): Likewise.
30293 (__readdir): Likewise.
30294 (__readdir64): Add libc_hidden_proto.
30295 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30296 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30297 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30298 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30299 New alias.
30300
9635ce69
L
303012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30302
30303 [BZ #18822]
30304 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30305 * include/netdb.h (__gethostbyaddr_r): Likewise.
30306 (__gethostbyname_r): Likewise.
30307 (__gethostbyname2_r): Likewise.
30308 (__getnetbyaddr_r): Likewise.
30309 (__getnetbyname_r): Likewise.
30310 (__getservbyname_r): Likewise.
30311 (__getservbyport_r): Likewise.
30312 (__getprotobyname_r): Likewise.
30313 (__getprotobynumber_r): Likewise.
30314 (__getnetgrent_r): Likewise.
30315 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30316 (__getrpcbynumber_r): Likewise.
30317 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30318
2e0a6909
L
303192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30320
30321 [BZ #18822]
30322 * include/stdio.h (__fcloseall): Add attribute_hidden.
30323 (__getline): Likewise.
30324 (__path_search): Likewise.
30325 (__gen_tempname): Likewise.
30326 (__libc_message): Likewise.
30327 (__flockfile): Likewise.
30328 (__funlockfile): Likewise.
30329 (__fxprintf): Likewise.
30330 (__fxprintf_nocancel): Likewise.
30331
94fd682c
L
303322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30333
30334 [BZ #18822]
30335 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30336 (__sgetsgent_r): Likewise.
30337
e1b33bba
L
303382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30339
30340 [BZ #18822]
30341 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30342 (__statfs64): Likewise.
30343 (__fstatfs64): Likewise.
30344 * include/sys/statvfs.h (__statvfs64): Likewise.
30345 (__fstatvfs64): Likewise.
30346 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30347 (__statfs_filesize_max): Likewise.
30348 (__statfs_symlinks): Likewise.
30349 (__statfs_chown_restricted): Likewise.
30350
b0f56784
L
303512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30352
30353 [BZ #18822]
30354 * include/time.h (__tzstring): Add attribute_hidden.
30355 (__tzfile_read): Likewise.
30356 (__tzfile_compute): Likewise.
30357 (__tzfile_default): Likewise.
30358 (__tzset_parse_tz): Likewise.
30359 (__offtime): Likewise.
30360 (__asctime_r): Likewise.
30361 (__tzset): Likewise.
30362 (__tz_convert): Likewise.
30363 (__getdate_r): Likewise.
30364 (__getclktck): Likewise.
30365
a4338d99
L
303662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30367
30368 [BZ #18822]
30369 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30370 (__nscd_unmap): Likewise.
30371 (__nscd_cache_search): Likewise.
30372 (__nscd_get_nl_timestamp): Likewise.
30373 (__nscd_getpwnam_r): Likewise.
30374 (__nscd_getpwuid_r): Likewise.
30375 (__nscd_getgrnam_r): Likewise.
30376 (__nscd_getgrgid_r): Likewise.
30377 (__nscd_gethostbyname_r): Likewise.
30378 (__nscd_gethostbyname2_r): Likewise.
30379 (__nscd_gethostbyaddr_r): Likewise.
30380 (__nscd_getai): Likewise.
30381 (__nscd_getgrouplist): Likewise.
30382 (__nscd_getservbyname_r): Likewise.
30383 (__nscd_getservbyport_r): Likewise.
30384 (__nscd_innetgr): Likewise.
30385 (__nscd_setnetgrent): Likewise.
30386
a2ca1652
L
303872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 [BZ #18822]
30390 * include/gmp.h: Declare internal functions only if _ISOMAC is
30391 undefined.
30392 (__mpn_extract_double): Add attribute_hidden.
30393 (__mpn_extract_long_double): Likewise.
30394 (__mpn_extract_float128): Likewise.
30395 (__mpn_construct_float): Likewise.
30396 (__mpn_construct_double): Likewise.
30397 (__mpn_construct_long_double): Likewise.
30398 (__mpn_construct_float128): Likewise.
30399 (mpn_add_1): Likewise.
30400 (mpn_addmul_1): Likewise.
30401 (mpn_add_n): Likewise.
30402 (mpn_cmp): Likewise.
30403 (mpn_divrem): Likewise.
30404 (mpn_lshift): Likewise.
30405 (mpn_mul): Likewise.
30406 (mpn_mul_1): Likewise.
30407 (mpn_rshift): Likewise.
30408 (mpn_sub_1): Likewise.
30409 (mpn_submul_1): Likewise.
30410 (mpn_sub_n): Likewise.
30411
44af8a32
L
304122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30413
30414 [BZ #18822]
30415 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30416 (__wcscat): Likewise.
30417 (__btowc): Likewise.
30418 (__wcrtomb): Likewise.
30419 (__mbsrtowcs): Likewise.
30420 (__wcsrtombs): Likewise.
30421 (__mbsnrtowcs): Likewise.
30422 (__wcsnrtombs): Likewise.
30423 (__wcsncpy): Likewise.
30424 (__wcpncpy): Likewise.
30425 (__wmemcpy): Likewise.
30426 (__wmempcpy): Likewise.
30427 (__wmemmove): Likewise.
30428 (__wcschrnul): Likewise.
30429 (__vfwscanf): Likewise.
30430 (__vswprintf): Likewise.
30431 (__fwprintf): Likewise.
30432 (__vfwprintf): Likewise.
30433
783cd767
L
304342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30435
30436 [BZ #18822]
30437 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30438 (__getgrgid_r): Likewise.
30439 (__getgrnam_r): Likewise.
30440 * include/pwd.h (__getpwuid_r): Likewise.
30441 (__getpwnam_r): Likewise.
30442 (__fgetpwent_r): Likewise.
30443 * include/shadow.h (__getspnam_r): Likewise.
30444 (__sgetspent_r): Likewise.
30445 (__fgetspent_r): Likewise.
30446
7ec4b39a
L
304472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30448
30449 [BZ #18822]
30450 * include/unistd.h (__access): Add attribute_hidden.
30451 (__lseek64): Likewise.
30452 (__libc_pread64): Likewise.
30453 (__pipe2): Likewise.
30454 (__sleep): Likewise.
30455 (__chdir): Likewise.
30456 (__fchdir): Likewise.
30457 (__getcwd): Likewise.
30458 (__rmdir): Likewise.
30459 (__execvpe): Likewise.
30460 (__execve): Likewise.
30461 (__setsid): Likewise.
30462 (__getuid): Likewise.
30463 (__geteuid): Likewise.
30464 (__getgid): Likewise.
30465 (__getegid): Likewise.
30466 (__getgroups): Likewise.
30467 (__group_member): Likewise.
30468 (__ttyname_r): Likewise.
30469 (__isatty): Likewise.
30470 (__readlink): Likewise.
30471 (__unlink): Likewise.
30472 (__gethostname): Likewise.
30473 (__profil): Likewise.
30474 (__getdtablesize): Likewise.
30475 (__brk): Likewise.
30476 (__ftruncate): Likewise.
30477 (__ftruncate64): Likewise.
30478
8345a760
L
304792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30480
30481 [BZ #18822]
30482 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30483 * argp/argp-fs-xinl.c: Likewise.
30484 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30485 * argp/argp-parse.c: Include <argp.h>.
30486 * argp/argp-xinl.c: Likewise.
30487 * include/argp-fmtstream.h: New file.
30488 * include/argp.h (__argp_error): Add attribute_hidden.
30489 (__argp_failure): Likewise.
30490 (__argp_input): Likewise.
30491 (__argp_state_help): Likewise.
30492
c26dd7c6
L
304932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30494
30495 [BZ #18822]
30496 * include/wchar.h (____wcstof_l_internal): New prototype.
30497 (____wcstod_l_internal): Likewise.
30498 (____wcstold_l_internal): Likewise.
30499 (____wcstol_l_internal): Likewise.
30500 (____wcstoul_l_internal): Likewise.
30501 (____wcstoll_l_internal): Likewise.
30502 (____wcstoull_l_internal): Likewise.
30503 (____wcstof128_l_internal): Likewise.
30504 * sysdeps/ieee754/float128/wcstof128.c
30505 (____wcstof128_l_internal): Removed.
30506 * sysdeps/ieee754/float128/wcstof128_l.c
30507 (____wcstof128_l_internal): Likewise.
30508 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30509 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30510 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30511 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30512 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30513 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30514 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30515 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30516 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30517 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30518
3aff5644
L
305192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30520
30521 [BZ #18822]
30522 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30523 instead of <sys/statvfs.h>.
30524 (__internal_statvfs): Removed.
30525 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30526 instead of <sys/statvfs.h>.
30527 (__internal_statvfs64): Removed.
30528 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30529 "internal_statvfs.h" instead of <sys/statvfs.h>.
30530 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30531 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30532 instead of <sys/statvfs.h>.
30533 (__internal_statvfs): Removed.
30534 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30535 instead of <sys/statvfs.h>.
30536 (__internal_statvfs64): Removed.
30537
8bcdb7e0
L
305382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30539
30540 [BZ #18822]
30541 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30542 (__gconv_close): Likewise.
30543 (__gconv): Likewise.
30544 (__gconv_find_transform): Likewise.
30545 (__gconv_lookup_cache): Likewise.
30546 (__gconv_compare_alias_cache): Likewise.
30547 (__gconv_load_cache): Likewise.
30548 (__gconv_get_path): Likewise.
30549 (__gconv_close_transform): Likewise.
30550 (__gconv_release_cache): Likewise.
30551 (__gconv_find_shlib): Likewise.
30552 (__gconv_release_shlib): Likewise.
30553 (__gconv_get_builtin_trans): Likewise.
30554 (__gconv_compare_alias): Likewise.
30555 * include/dlfcn.h (_dlerror_run): Likewise.
30556 * include/stdio.h (__fortify_fail_abort): Likewise.
30557 * include/time.h (__tz_compute): Likewise.
30558 (__strptime_internal): Likewise.
30559 * intl/gettextP.h (_nl_find_domain): Likewise.
30560 (_nl_load_domain): Likewise.
30561 (_nl_find_msg): Likewise.
30562 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30563 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30564 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30565 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30566 (__gai_find_request): Likewise.
30567 (__gai_remove_request): Likewise.
30568 (__gai_notify): Likewise.
30569 (__gai_notify_only): Likewise.
30570 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30571 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30572 (_dl_non_dynamic_init): Likewise.
30573 (_dl_aux_init): Likewise.
30574 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30575 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30576 Likewise.
30577 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30578 (__wcsmbs_clone_conv): Likewise.
30579 (__wcsmbs_named_conv): Likewise.
30580
8ed3b643
L
305812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30582
30583 [BZ #18822]
30584 * include/stdlib.h (__random): Add attribute_hidden.
30585 (__random_r): Likewise.
30586 (__srandom_r): Likewise.
30587 (__initstate_r): Likewise.
30588 (__setstate_r): Likewise.
30589 (__erand48_r): Likewise.
30590 (__nrand48_r): Likewise.
30591 (__jrand48_r): Likewise.
30592 (__srand48_r): Likewise.
30593 (__seed48_r): Likewise.
30594 (__lcong48_r): Likewise.
30595 (__drand48_iterate): Likewise.
30596 (__setenv): Likewise.
30597 (__unsetenv): Likewise.
30598 (__clearenv): Likewise.
30599 (__ptsname_r): Likewise.
30600 (__posix_openpt): Likewise.
30601 (__add_to_environ): Likewise.
30602 (__realpath): Add libc_hidden_proto.
30603 (__ecvt_r): Likewise.
30604 (__fcvt_r): Likewise.
30605 (__qecvt_r): Likewise.
30606 (__qfcvt_r): Likewise.
30607 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30608 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30609
ef9b6f73
L
306102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30611
30612 [BZ #18822]
30613 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30614 * include/time.h (__mktime_internal): Likewise.
30615 * libio/iolibio.h (__fopen_internal): Likewise.
30616
8da92e72
JDA
306172017-10-01 John David Anglin <danglin@gcc.gnu.org>
30618
30619 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30620 pointer in frame.
30621 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30622 Correct offset used to restore PIC register.
30623
388784cf
JDA
306242017-09-30 John David Anglin <danglin@gcc.gnu.org>
30625
30626 [BZ libc/22165]
30627 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30628 code to load address of __getcontext_ret when generating PIC code.
30629
2000067a
L
306302017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30631
30632 * elf/Makefile (tests-static-internal): Add
30633 tst-tls1-static-non-pie.
30634 (LDFLAGS-tst-tls1-static-non-pie): New.
30635 * elf/tst-tls1-static-non-pie.c: New file.
30636
1e2bffd0
JM
306372017-09-29 Joseph Myers <joseph@codesourcery.com>
30638
30639 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30640 (asinh): Define using libm_alias_double.
30641 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30642 (cbrt): Define using libm_alias_double.
30643 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30644 <libm-alias-double.h>.
30645 (copysign): Define using libm_alias_double.
30646 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30647 (erf): Define using libm_alias_double.
30648 (erfc): Likewise.
30649 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30650 (expm1): Define using libm_alias_double.
30651 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30652 (fabs): Define using libm_alias_double.
30653 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30654 libm_alias_double.
30655 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30656 <libm-alias-double.h>.
30657 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30658 libm_alias_double.
30659 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30660 <libm-alias-double.h>.
30661 (getpayload): Define using libm_alias_double.
30662 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30663 <libm-alias-double.h>.
30664 (llrint): Define using libm_alias_double.
30665 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30666 (lrint): Define using libm_alias_double.
30667 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30668 <libm-alias-double.h>.
30669 (nextup): Define using libm_alias_double.
30670 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30671 <libm-alias-double.h>.
30672 (roundeven): Define using libm_alias_double.
30673 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30674 libm_alias_double.
30675 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30676 <libm-alias-double.h>.
30677 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30678 using libm_alias_double.
30679 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30680 (cos): Define using libm_alias_double.
30681 (sin): Likewise.
30682 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30683 <libm-alias-double.h>.
30684 (sincos): Define using libm_alias_double.
30685 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30686 (tanh): Define using libm_alias_double.
30687 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30688 <libm-alias-double.h>.
30689 (totalorder): Define using libm_alias_double.
30690 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30691 <libm-alias-double.h>.
30692 (totalordermag): Define using libm_alias_double.
30693 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30694 libm_alias_double.
30695 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30696 libm_alias_double.
30697 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30698 <libm-alias-double.h>.
30699 (getpayload): Define using libm_alias_double.
30700 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30701 <libm-alias-double.h>.
30702 (roundeven): Define using libm_alias_double.
30703 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30704 <libm-alias-double.h>.
30705 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30706 <libm-alias-double.h>.
30707 (totalorder): Define using libm_alias_double.
30708 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30709 <libm-alias-double.h>.
30710 (totalordermag): Define using libm_alias_double.
30711 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30712 libc compat symbol here.
30713 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30714 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30715 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30716 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30717 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30718 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30719 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30720 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30721 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30722 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30723
8172aad9
L
307242017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30725
30726 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30727 _dl_relocate_static_pie instead of _dl_start to compute load
30728 address in static PIE. Return 0 if _DYNAMIC is undefined for
30729 static executable.
30730
54464e74
L
307312017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30732
30733 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30734 _DYNAMIC is undefined for static executable.
30735
f6c5e5bc
L
307362017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30737
30738 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30739
2f92505d
JM
307402017-09-29 Joseph Myers <joseph@codesourcery.com>
30741
30742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30743
bd8d53bb
WD
307442017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30745
30746 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30747 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30748 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30749 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30751 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30752 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30753 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30754 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30755 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30756 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30757 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30758 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30759 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30760 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30762 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30763
fffb1507
WD
307642017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30765
30766 * math/bits/cmathcalls.h (cimag): Remove inline.
30767 (creal): Remove inline.
30768 (conj): Remove inline.
30769
4ea49f4c
SN
307702017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30771
30772 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30773 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30774 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30775 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30776 (issignalingf_inline): Likewise.
30777 (POWF_LOG2_TABLE_BITS): Likewise.
30778 (POWF_LOG2_POLY_ORDER): Likewise.
30779 (POWF_SCALE_BITS): Likewise.
30780 (POWF_SCALE): Likewise.
30781 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30782 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30783 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30784
875c76c7
SN
307852017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30786
30787 * math/Makefile (type-float-routines): Add e_log2f_data.
30788 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30789 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30790 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30791 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30792 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30793 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30794 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30795
90c42e40
SN
307962017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30797
30798 * math/Makefile (type-float-routines): Add e_logf_data.
30799 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30800 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30801 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30802 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30803 * sysdeps/i386/fpu/e_logf_data.c: New file.
30804 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30805 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30806
4088d8dd
L
308072017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30808
30809 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30810 undefined _DYNAMIC in PIE libc.a.
30811 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30812 Likewse.
30813
4d3693ec
WD
308142017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30815
30816 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30817 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30818 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30819 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30820 (__signbit): Remove.
30821 (__signbitl): Remove.
30822 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30823 (__signbit): Remove.
30824 (__signbitl): Remove.
30825 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30826 (__signbit): Remove.
30827 (__signbitl): Remove.
30828 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30829 (__signbit): Remove.
30830 (__signbitl): Remove.
30831 * sysdeps/tile/bits/mathinline.h: Delete file.
30832 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30833 (__signbit): Remove.
30834 (__signbitl): Remove.
30835
1e6d0723
WD
308362017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30837
30838 * math/math.h: Improve handling of C99 isgreater macros.
30839 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30840 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30841 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30842 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30843 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30844
b2f03cf3
SN
308452017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30846
30847 * sysdeps/aarch64/libm-test-ulps: Update.
30848
f124cb38
JM
308492017-09-28 Joseph Myers <joseph@codesourcery.com>
30850
30851 [BZ #22225]
30852 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30853 math_opt_barrier on argument when doing arithmetic on it.
30854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30855 Likewise. Use math_force_eval not math_opt_barrier after
30856 arithmetic.
30857 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30858 math_opt_barrier on argument when doing arithmetic on it.
30859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30860 Likewise.
30861
7edd0691
L
308622017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30863
30864 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30865 libc_hidden_def.
30866 (__freeifaddrs): Likewise.
30867
2c7bbfaf
ST
308682017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30869
30870 * include/dirent.h (__dirfd): New declaration.
30871 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30872 alias.
30873 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30874 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30875 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
30876 * include/unistd.h (__revoke): New declaration.
30877 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30878 alias.
30879 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30880 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30881 revoke.
64a4af28
ST
30882 * include/dirent.h (__seekdir): New declaration.
30883 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30884 redefine as weak alias.
30885 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30886 of seekdir.
4009ddc6
ST
30887 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30888 and use libc_hidden_def on them.
30889 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30890 them.
30891 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30892 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30893 instead of getifaddrs and freeifaddrs.
2c7bbfaf 30894
825adeee
L
308952017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30896
30897 [BZ #18822]
30898 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30899 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30900 (__dso_handle): Remove declaration.
30901 * dlfcn/tstatexit.c (__dso_handle): Removed.
30902 (main): Don't check __dso_handle.
30903 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30904 (main): Don't check __dso_handle.
30905 * include/dso_handle.h: New file.
30906 * malloc/mtrace.c: Include <dso_handle.h>.
30907 (mtrace): Pass __dso_handle directly.
30908 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30909 (__dso_handle): Remove declaration.
30910 (__pthread_atfork): Pass __dso_handle directly.
30911 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30912 (__dso_handle): Removed.
30913 * posix/wordexp-test.c: Include <dso_handle.h>.
30914 (__dso_handle): Remove declaration.
30915 (__app_register_atfork): Pass __dso_handle directly.
30916 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30917 (__dso_handle): Remove declaration.
30918 (at_quick_exit): Pass __dso_handle directly.
30919 * stdlib/atexit.c: Include <dso_handle.h>.
30920 (__dso_handle): Remove declaration.
30921 (atexit): Pass __dso_handle directly.
30922 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30923 (__dso_handle): Removed.
30924
bfb0deb3
JM
309252017-09-26 Joseph Myers <joseph@codesourcery.com>
30926
30927 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30928 using VDSO.
30929
cebcb9f8
AM
309302017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30931
30932 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30933 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30934 values to correct default value for given type.
30935
592d5c75
L
309362017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30937
30938 [BZ #22101]
30939 * elf/Makefile (tests): Add tst-debug1.
30940 ($(objpfx)tst-debug1): New.
30941 ($(objpfx)tst-debug1.out): Likewise.
30942 ($(objpfx)tst-debug1mod1.so): Likewise.
30943 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30944 with p_filesz == 0.
30945 * elf/tst-debug1.c: New file.
30946
2d9193f2
JM
309472017-09-26 Joseph Myers <joseph@codesourcery.com>
30948
30949 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30950 Define using __ifunc.
30951
4c5a7a02
TMQMF
309522017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30953
30954 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30955 exp2f() values.
30956
12ef66c4
JM
309572017-09-26 Joseph Myers <joseph@codesourcery.com>
30958
30959 [BZ #22156]
30960 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30961
44dade71
FW
309622017-09-26 Florian Weimer <fweimer@redhat.com>
30963
30964 * resolv/Makefile (tests-internal): Fix typo in comment.
30965
eaca16f1
FW
309662017-09-26 Florian Weimer <fweimer@redhat.com>
30967
30968 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30969
ccf970c7
AZ
309702017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30971
5f9f31ad
AZ
30972 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30973 Use an union instead of a max_align_t array for __space,
30974 so that __space is the same size on all platforms.
30975 * malloc/scratch_buffer_grow_preserve.c
30976 (__libc_scratch_buffer_grow_preserve): Likewise.
30977
ccf970c7
AZ
30978 [BZ #22183]
30979 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30980 version to 2.
30981 * posix/Makefile (routines): Add glob-lstat-compat and
30982 glob64-lstat-compat.
30983 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30984 * posix/glob-lstat-compat.c: New file.
30985 * posix/glob64-lstat-compat.c: Likewise.
30986 * posix/tst-glob_lstat_compat.c: Likewise.
30987 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30988 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30989 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30990 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30991 Likewise.
30992 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30993 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30994 * posix/glob.c (glob_lstat): New function.
30995 (glob): Rename to __glob and add versioned symbol to 2.27.
30996 (glob_in_dir): Use glob_lstat.
30997 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30998 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30999 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
31000 2.27.
31001 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
31002 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
31003 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
31004 gl_lstat on glob call.
31005 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
31006 and glob64 symbols.
31007 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31008 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
31009 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
31010 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
31011 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
31012 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
31013 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
31014 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
31015 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
31016 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31017 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31018 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
31020 Likewise.
31021 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
31022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
31023 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31024 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31025 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31026 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31027 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31030 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31031 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31032 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31033
b4396163
L
310342017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31035
31036 * configure.ac (AS): Require binutils 2.25 or later.
31037 * configure: Regenerated.
31038
8f834987
PP
310392017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31040
31041 [BZ #22207]
31042 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31043 VM size.
31044
3de93d19
DD
310452017-09-25 DJ Delorie <dj@redhat.com>
31046
31047 [BZ #22161]
31048 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31049 resetting timeout.
31050
9947638d
SL
310512017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31052
31053 * sysdeps/ieee754/dbl-64/sincos32.h
31054 [SINCCOS32_H]: Remove define.
31055 [SINCOS32_H]: Define.
31056
f5f0f526
SN
310572017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31058
31059 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31060 (exp2f): Likewise.
31061 * math/w_exp2f.c: New file.
31062 * math/w_expf.c: New file.
31063 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31064 * math/w_expf_compat.c (__expf_compat): Likewise.
31065 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31066 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31067 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31068 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31069 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31070 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31071 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31072 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31073 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31074 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31075 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31076 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31077 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31078 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31080 Likewise.
31081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31082 Likewise.
31083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31084 Likewise.
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31086 Likewise.
31087 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31088 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31089 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31090 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31091 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31093 Likewise.
31094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31095 Likewise.
31096 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31097 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31098 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31099
72aa6233
SN
311002017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31101
31102 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31103 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31104 (roundtoint, converttoint): Likewise.
31105 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31106 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31107 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31108 * sysdeps/ieee754/flt-32/math_config.h: New file.
31109 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31110 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31111 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31112 * sysdeps/i386/fpu/math_errf.c: New file.
31113 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31114 * sysdeps/ia64/fpu/math_errf.c: New file.
31115 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31116 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31117
5e6f3253
ST
311182017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31119
31120 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31121 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31122 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31123 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31124 to make sure that these symbols are defined.
b38a42a0
ST
31125 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31126 of <limits.h>
31127 (__need_NULL): Do not define.
31128 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31129 alignment.
31130 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31131 CMGROUP_MAX, cmsgcred): Do not define.
31132 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31133 NULL.
31134 * bits/socket.h: Likewise.
fcafcd16
ST
31135 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31136 __gettimeofday instead of gettimeofday.
31137 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31138 instead of settimeofday.
5e6f3253 31139
2f49ce7d
JM
311402017-09-22 Joseph Myers <joseph@codesourcery.com>
31141
31142 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31143 (asinhf): Define using libm_alias_float.
31144 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31145 (atanf): Define using libm_alias_float.
31146 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31147 (cbrtf): Define using libm_alias_float.
31148 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31149 (ceilf): Define using libm_alias_float.
31150 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31151 <libm-alias-float.h>.
31152 (copysignf): Define using libm_alias_float.
31153 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31154 (cosf): Define using libm_alias_float.
31155 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31156 (erff): Define using libm_alias_float.
31157 (erfcf): Likewise.
31158 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31159 (expm1f): Define using libm_alias_float.
31160 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31161 (fabsf): Define using libm_alias_float.
31162 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31163 (floorf): Define using libm_alias_float.
31164 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31165 (frexpf): Define using libm_alias_float.
31166 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31167 libm_alias_float.
31168 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31169 <libm-alias-float.h>.
31170 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31171 libm_alias_float.
31172 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31173 <libm-alias-float.h>.
31174 (getpayloadf): Define using libm_alias_float.
31175 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31176 <libm-alias-float.h>.
31177 (llrintf): Define using libm_alias_float.
31178 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31179 <libm-alias-float.h>.
31180 (llroundf): Define using libm_alias_float.
31181 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31182 (logbf): Define using libm_alias_float.
31183 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31184 (lrintf): Define using libm_alias_float.
31185 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31186 (lroundf): Define using libm_alias_float.
31187 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31188 (modff): Define using libm_alias_float.
31189 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31190 <libm-alias-float.h>.
31191 (nearbyintf): Define using libm_alias_float.
31192 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31193 <libm-alias-float.h>.
31194 (nextafterf): Define using libm_alias_float.
31195 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31196 <libm-alias-float.h>.
31197 (nextupf): Define using libm_alias_float.
31198 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31199 <libm-alias-float.h>.
31200 (remquof): Define using libm_alias_float.
31201 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31202 (rintf): Define using libm_alias_float.
31203 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31204 <libm-alias-float.h>.
31205 (roundevenf): Define using libm_alias_float.
31206 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31207 (roundf): Define using libm_alias_float.
31208 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31209 using libm_alias_float.
31210 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31211 <libm-alias-float.h>.
31212 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31213 Define using libm_alias_float.
31214 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31215 <libm-alias-float.h>.
31216 (sincosf): Define using libm_alias_float.
31217 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31218 (sinf): Define using libm_alias_float.
31219 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31220 (tanf): Define using libm_alias_float.
31221 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31222 (tanhf): Define using libm_alias_float.
31223 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31224 <libm-alias-float.h>.
31225 (totalorderf): Define using libm_alias_float.
31226 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31227 <libm-alias-float.h>.
31228 (totalordermagf): Define using libm_alias_float.
31229 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31230 (truncf): Define using libm_alias_float.
31231 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31232 libm_alias_float.
31233 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31234 libm_alias_float.
31235
c5c4a626
GG
312362017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31237
31238 [BZ #22146]
31239 math/math.h: Let fpclassify use the builtin in C++ mode, even
31240 when optimazing for size.
31241
23947846
JM
312422017-09-22 Joseph Myers <joseph@codesourcery.com>
31243
31244 * csu/Makefile (generated): Do not add version-info.h.
31245 (before-compile): Likewise.
31246 (all-Banner-files): Remove variable.
31247 ($(objpfx)version-info.h): Remove rule.
31248 * csu/version.c (banner): Do not include "version-info.h".
31249 * libidn/Banner: Remove.
31250 * manual/contrib.texi (Simon Josefsson): New entry.
31251
9ac3c682
GG
312522017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31253
31254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31255 Remove conditionals on LDBL_MANT_DIG.
31256 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31257 (__ieee754_lgammal_r): Likewise.
31258
d2f0ed09
GG
312592017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31260
31261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31262 _Float128 and L().
31263 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31264 _Float128 and L(). Replace _Float128 with long double and L(x)
31265 with xL, throughout the file.
31266 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31270
c5c2e667
GG
312712017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31272
31273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31274 sysdeps/ieee754/ldbl-128ibm.
31275 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31276 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31277 of including it. Keep _Float128 and L() intact. These will be
31278 reviewed by a separate patch.
31279 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31280 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31281 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31283
e010deb2
GG
312842017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31285
31286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31287 (__finitef128): Define to __redirect___finitef128.
31288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31289 (__isinff128): Define to __redirect___isinff128.
31290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31291 (__isnanf128): Define to __redirect___isnanf128.
31292
ffa44804
GG
312932017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31294
31295 * sysdeps/powerpc/powerpc64le/Makefile
31296 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31297 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31298
e5e4d7cc
PP
312992017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31300 Carlos O'Donell <carlos@redhat.com>
31301
31302 [BZ #22180]
31303 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31304 * stdlib/test-dlclose-exit-race.c: New file.
31305 * stdlib/test-dlclose-exit-race-helper.c: New file.
31306 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31307
c10c5267
JM
313082017-09-21 Joseph Myers <joseph@codesourcery.com>
31309
31310 * crypt/Banner: Remove file.
31311 * nptl/Banner: Likewise.
31312 * resolv/Banner: Likewise.
31313 * soft-fp/Banner: Likewise.
31314 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31315 ($(objpfx)version.d): Remove dependency on banner.h.
31316 ($(objpfx)version.os): Likewise.
31317 * nptl/version.c (banner): Do not include banner.h.
31318 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31319 Jelinek and BIND code.
31320
1cc9e59a
PP
313212017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31322 Carlos O'Donell <carlos@redhat.com>
31323
31324 * support/xdlfcn.h: New file.
31325 * support/xdlfcn.c: New file.
31326 * support/Makefile (libsupport-routines): Add xdlfcn.
31327 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31328
ae8372d7
JM
313292017-09-20 Joseph Myers <joseph@codesourcery.com>
31330
31331 [BZ #20142]
31332 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31333 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31334 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31335 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31336 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31337 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31338 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31339 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31340
26e70aec 313412017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
31342 Ricky Zhou <rickyz@google.com>
31343 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
31344
31345 [BZ #14333]
31346 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31347 Remove atomics.
31348 (__new_exitfn): Fail registration when we finished at_exit processing.
31349 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31350 * stdlib/on_exit.c (__on_exit): Likewise.
31351 * stdlib/exit.c (__exit_funcs_done): New variable.
31352 (__run_exit_handlers): Use __exit_funcs_lock.
31353 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31354 declarations.
31355 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31356 (test-cxa_atexit-race, test-on_exit-race): New tests.
31357 * stdlib/test-atexit-race-common.c: New file.
31358 * stdlib/test-atexit-race.c: New file.
31359 * stdlib/test-at_quick_exit-race.c: New file.
31360 * stdlib/test-cxa_atexit-race.c: New file.
31361 * stdlib/test-on_exit-race.c: New file.
31362
0525ce48
SN
313632017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31364
31365 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31366 * benchtests/exp2f-inputs: Copy of expf-inputs.
31367 * benchtests/log2f-inputs: Copy of logf-inputs.
31368
d82468d1
JM
313692017-09-19 Joseph Myers <joseph@codesourcery.com>
31370
31371 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31372 Explicitly take address of first element of array arguments in
31373 call to INLINE_SYSCALL.
31374
43ffc53a
AS
313752017-09-19 Andreas Schwab <schwab@suse.de>
31376
31377 [BZ #22134]
31378 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31379 execveat first.
31380 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31381 unimplemented.
31382 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31383 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31384 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31385 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31386 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31387 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31388 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31389 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31390 * posix/Makefile (tests): Add tst-fexecve.
31391 * posix/tst-fexecve.c: New file.
31392
a5dcc87e
WD
313932017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31394
31395 * benchtests/Makefile: Add logf benchmark.
31396 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31397
7024d544
WD
313982017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31399
31400 * benchtests/Makefile: Add expf benchmark.
31401 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31402
ca3a382e
WD
314032017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31404
31405 * csu/Makefile: Add -funwind-tables to libc-start.c.
31406 * debug/Makefile: Add -funwind-tables to backtrace.c.
31407 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31408 * sysdeps/arm/Makefile: Likewise.
31409 * sysdeps/i386/Makefile: Likewise.
31410 * sysdeps/m68k/Makefile: Likewise.
31411 * sysdeps/mips/Makefile: Likewise.
31412 * sysdeps/nios2/Makefile: Likewise.
31413 * sysdeps/sh/Makefile: Likewise.
31414 * sysdeps/sparc/Makefile: Likewise.
31415
eb375def
JM
314162017-09-19 Joseph Myers <joseph@codesourcery.com>
31417
31418 * benchtests/Makefile (bench-math): Add trunc and truncf.
31419 (CFLAGS-bench-trunc.c): New variable.
31420 (CFLAGS-bench-truncf.c): Likewise.
31421 * benchtests/trunc-inputs: New file.
31422 * benchtests/truncf-inputs: Likewise.
31423
bd17ba29
RS
314242017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31425
31426 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31427
92892fdb
JM
314282017-09-18 Joseph Myers <joseph@codesourcery.com>
31429
6d9b0b5a
JM
31430 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31431 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31432 redefine.
31433 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31434 (exp10l): Define as weak alias.
31435 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31436 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31437 and redefine.
31438 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31439 (remainderl): Define as weak alias.
31440
92892fdb
JM
31441 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31442 (fmal): Define using libm_alias_ldouble.
31443 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31444 (acoshl): Define using libm_alias_ldouble.
31445 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31446 (acosl): Define using libm_alias_ldouble.
31447 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31448 (asinl): Define using libm_alias_ldouble.
31449 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31450 (atan2l): Define using libm_alias_ldouble.
31451 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31452 (atanhl): Define using libm_alias_ldouble.
31453 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31454 (coshl): Define using libm_alias_ldouble.
31455 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31456 (exp10l): Define using libm_alias_ldouble.
31457 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31458 (exp2l): Define using libm_alias_ldouble.
31459 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31460 (expl): Define using libm_alias_ldouble.
31461 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31462 (fmodl): Define using libm_alias_ldouble.
31463 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31464 (hypotl): Define using libm_alias_ldouble.
31465 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31466 (j0l): Define using libm_alias_ldouble.
31467 (y0l): Likewise.
31468 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31469 (j1l): Define using libm_alias_ldouble.
31470 (y1l): Likewise.
31471 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31472 (jnl): Define using libm_alias_ldouble.
31473 (ynl): Likewise.
31474 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31475 (log10l): Define using libm_alias_ldouble.
31476 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31477 (log2l): Define using libm_alias_ldouble.
31478 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31479 (logl): Define using libm_alias_ldouble.
31480 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31481 (powl): Define using libm_alias_ldouble.
31482 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31483 (remainderl): Define using libm_alias_ldouble.
31484 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31485 (sinhl): Define using libm_alias_ldouble.
31486 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31487 (sqrtl): Define using libm_alias_ldouble.
31488 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31489 (tgammal): Define using libm_alias_ldouble.
31490 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31491 (exp10l): Do not use long_double_symbol here.
31492 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31493 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31494 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31495 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31496 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31497 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31498 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31499 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31500 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31501 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31502 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31503 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31504 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31505 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31506 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31507 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31508 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31509 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31510 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31511 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31512 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31513 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31514
6cd380dd
WB
315152017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31516
31517 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31518 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31519
1c6d89e9
ST
315202017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31521
31522 * io/read.c (read): Add libc_hidden_weak.
31523 * sysdeps/mach/hurd/read.c (read): Likewise.
31524 * io/write.c (write): Likewise.
31525 * sysdeps/mach/hurd/write.c (write): Likewise.
31526 * io/pread64.c (__pread64): Likewise.
31527 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31528 * posix/pread64.c (__pread64): Add libc_hidden_def.
31529
06b1de23
SP
315302017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31531
140647ea
SP
31532 * benchtests/scripts/compare_strings.py: New option -g.
31533 (draw_graph): Print a message that a graph is being generated.
31534 (process_results): Generate graph only if -g is passed.
31535 (main): Process option -g.
31536
5a6547b7
SP
31537 * benchtests/scripts/compare_strings.py (process_results):
31538 Better spacing for output.
31539
06b1de23
SP
31540 * benchtests/scripts/compare_strings.py: Use argparse.
31541 * benchtests/README: Document existence of compare_strings.py.
31542
c67a2328
JM
315432017-09-15 Joseph Myers <joseph@codesourcery.com>
31544
9ac44708
JM
31545 * math/s_fma.c: Include <libm-alias-double.h>.
31546 (fma): Define using libm_alias_double.
31547 * math/s_nextafter.c: Include <libm-alias-double.h>.
31548 (nextafter): Define using libm_alias_double.
31549 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31550 (acos): Define using libm_alias_double.
31551 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31552 (aocsh): Define using libm_alias_double.
31553 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31554 (asin): Define using libm_alias_double.
31555 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31556 (atan2): Define using libm_alias_double.
31557 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31558 (atanh): Define using libm_alias_double.
31559 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31560 (cosh): Define using libm_alias_double.
31561 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31562 (exp10): Define using libm_alias_double.
31563 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31564 (exp2): Define using libm_alias_double.
31565 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31566 (exp): Define using libm_alias_double.
31567 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31568 (fmod): Define using libm_alias_double.
31569 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31570 (hypot): Define using libm_alias_double.
31571 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31572 (j0): Define using libm_alias_double.
31573 (y0): Likewise.
31574 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31575 (j1): Define using libm_alias_double.
31576 (y1): Likewise.
31577 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31578 (jn): Define using libm_alias_double.
31579 (yn): Likewise.
31580 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31581 (log10): Define using libm_alias_double.
31582 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31583 (log2): Define using libm_alias_double.
31584 * math/w_log_compat.c: Include <libm-alias-double.h>.
31585 (log): Define using libm_alias_double.
31586 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31587 (pow): Define using libm_alias_double.
31588 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31589 (remainder): Define using libm_alias_double.
31590 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31591 (sinh): Define using libm_alias_double.
31592 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31593 (sqrt): Define using libm_alias_double.
31594 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31595 (tgamma): Define using libm_alias_double.
31596 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31597 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31598 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31599 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31600 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31601 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31602 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31603 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31604 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31605 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31606 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31607 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31608 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31609 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31610 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31611 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31612 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31613 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31614 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31615 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31616 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31617 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31618 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31619 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31620 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31621
c67a2328
JM
31622 * math/e_acoshl.c: Remove.
31623 * math/e_acosl.c: Likewise.
31624 * math/e_asinl.c: Likewise.
31625 * math/e_atan2l.c: Likewise.
31626 * math/e_atanhl.c: Likewise.
31627 * math/e_coshl.c: Likewise.
31628 * math/e_expl.c: Likewise.
31629 * math/e_fmodl.c: Likewise.
31630 * math/e_gammal_r.c: Likewise.
31631 * math/e_hypotl.c: Likewise.
31632 * math/e_j0l.c: Likewise.
31633 * math/e_j1l.c: Likewise.
31634 * math/e_jnl.c: Likewise.
31635 * math/e_lgammal_r.c: Likewise.
31636 * math/e_log10l.c: Likewise.
31637 * math/e_log2l.c: Likewise.
31638 * math/e_logl.c: Likewise.
31639 * math/e_powl.c: Likewise.
31640 * math/e_rem_pio2l.c: Likewise.
31641 * math/e_sinhl.c: Likewise.
31642 * math/e_sqrtf128.c: Likewise.
31643 * math/e_sqrtl.c: Likewise.
31644 * math/k_cosl.c: Likewise.
31645 * math/k_sinl.c: Likewise.
31646 * math/k_tanl.c: Likewise.
31647 * math/s_asinhl.c: Likewise.
31648 * math/s_atanl.c: Likewise.
31649 * math/s_cbrtl.c: Likewise.
31650 * math/s_erfl.c: Likewise.
31651 * math/s_expm1l.c: Likewise.
31652 * math/s_log1pl.c: Likewise.
31653 * math/s_tanhl.c: Likewise.
31654
61c45f25
TMQMF
316552017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31656
31657 [BZ #21745]
31658 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31659 [$(subdir) = math] (sysdep_calls): New variable. Has the
31660 previous contents of sysdep_routines, but re-sorted..
31661 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31662 sysdep_calls.
31663 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31664 defined in sysdep_calls and replace by the respective m_* names.
31665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31666 (compat_symbol): Undefine to avoid duplicated compat symbols in
31667 libc.
31668
5bcdb315
JM
316692017-09-15 Joseph Myers <joseph@codesourcery.com>
31670
31671 * math/s_fmaf.c: Include <libm-alias-float.h>.
31672 (fmaf): Define using libm_alias_float.
31673 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31674 (acosf): Define using libm_alias_float.
31675 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31676 (acoshf): Define using libm_alias_float.
31677 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31678 (asinf): Define using libm_alias_float.
31679 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31680 (atan2f): Define using libm_alias_float.
31681 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31682 (atanhf): Define using libm_alias_float.
31683 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31684 (coshf): Define using libm_alias_float.
31685 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31686 (exp10f): Define using libm_alias_float.
31687 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31688 (fmodf): Define using libm_alias_float.
31689 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31690 (hypotf): Define using libm_alias_float.
31691 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31692 (j0f): Define using libm_alias_float.
31693 (y0f): Likewise.
31694 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31695 (j1f): Define using libm_alias_float.
31696 (y1f): Likewise.
31697 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31698 (jnf): Define using libm_alias_float.
31699 (ynf): Likewise.
31700 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31701 (log10f): Define using libm_alias_float.
31702 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31703 (log2f): Define using libm_alias_float.
31704 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31705 (logf): Define using libm_alias_float.
31706 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31707 (powf): Define using libm_alias_float.
31708 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31709 (remainderf): Define using libm_alias_float.
31710 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31711 (sinhf): Define using libm_alias_float.
31712 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31713 (sqrtf): Define using libm_alias_float.
31714 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31715 (tgammaf): Define using libm_alias_float.
31716
01f28812
JM
317172017-09-14 Joseph Myers <joseph@codesourcery.com>
31718
31719 * include/math.h (roundeven): Change hidden_proto call to
31720 __roundeven.
31721 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31722 alias.
31723 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31724 (y0): Rename to __y0 and define as weak alias.
31725 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31726 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31727 alias.
31728 (y0f): Rename to __y0f and define as weak alias.
31729 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31730 alias.
31731 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31732 (y1): Rename to __y1 and define as weak alias.
31733 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31734 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31735 alias.
31736 (y1f): Rename to __y1f and define as weak alias.
31737 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31738 alias.
31739 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31740 (yn): Rename to __yn and define as weak alias.
31741 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31742 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31743 alias.
31744 (ynf): Rename to __ynf and define as weak alias.
31745 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31746 (fromfp): Define as weak alias.
31747 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31748 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31749 (fromfpx): Define as weak alias.
31750 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31751 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31752 __getpayload and define as weak alias.
31753 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31754 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31755 __roundeven and define as weak alias.
31756 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31757 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31758 __setpayload.
31759 (setpayload): Define as weak alias.
31760 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31761 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31762 __setpayloadsig.
31763 (setpayloadsig): Define as weak alias.
31764 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31765 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31766 __totalorder and define as weak alias.
31767 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31768 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31769 to __totalordermag and define as weak alias.
31770 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31771 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31772 (ufromfp): Define as weak alias.
31773 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31774 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31775 __ufromfpx.
31776 (ufromfpx): Define as weak alias.
31777 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31778 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31779 Rename to __getpayload and define as weak alias.
31780 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31781 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31782 Rename to __roundeven and define as weak alias.
31783 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31784 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31785 Rename to __totalorder and define as weak alias.
31786 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31787 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31788 (totalordermag): Rename to __totalordermag and define as weak
31789 alias.
31790 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31791 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31792 macro.
31793 (__roundevenl): Likewise.
31794 (__totalorderl): Likewise.
31795 (__totalordermagl): Likewise
31796 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31797 __fromfpf128.
31798 (fromfpf128): Define as weak alias.
31799 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31800 __fromfpxf128.
31801 (fromfpxf128): Define as weak alias.
31802 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31803 __setpayloadf128.
31804 (setpayloadf128): Define as weak alias.
31805 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31806 __setpayloadsigf128.
31807 (setpayloadsigf128): Define as weak alias.
31808 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31809 __ufromfpf128.
31810 (ufromfpf128): Define as weak alias.
31811 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31812 __ufromfpxf128.
31813 (ufromfpxf128): Define as weak alias.
31814 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31815 (fromfpf): Define as weak alias.
31816 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31817 __fromfpxf.
31818 (fromfpxf): Define as weak alias.
31819 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31820 __getpayloadf and define as weak alias.
31821 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31822 __roundevenf and define as weak alias.
31823 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31824 __setpayloadf.
31825 (setpayloadf): Define as weak alias.
31826 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31827 __setpayloadsigf.
31828 (setpayloadsigf): Define as weak alias.
31829 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31830 __totalorderf and define as weak alias.
31831 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31832 Rename to __totalordermagf and define as weak alias.
31833 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31834 __ufromfpf.
31835 (ufromfpf): Define as weak alias.
31836 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31837 __ufromfpxf.
31838 (ufromfpxf): Define as weak alias.
31839 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31840 __fromfpl.
31841 (fromfpl): Define as weak alias.
31842 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31843 __fromfpxl.
31844 (fromfpxl): Define as weak alias.
31845 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31846 to __getpayloadl and define as weak alias.
31847 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31848 __roundevenl and define as weak alias.
31849 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31850 __setpayloadl.
31851 (setpayloadl): Define as weak alias.
31852 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31853 __setpayloadsigl.
31854 (setpayloadsigl): Define as weak alias.
31855 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31856 to __totalorderl and define as weak alias.
31857 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31858 Rename to __totalordermagl and define as weak alias.
31859 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31860 __ufromfpl.
31861 (ufromfpl): Define as weak alias.
31862 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31863 __ufromfpxl.
31864 (ufromfpxl): Define as weak alias.
31865 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31866 __fromfpl.
31867 (fromfpl): Define as weak alias.
31868 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31869 __fromfpxl.
31870 (fromfpxl): Define as weak alias.
31871 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31872 Rename to __getpayloadl and define as weak alias.
31873 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31874 to __roundevenl and define as weak alias. Call __roundeven
31875 instead of roundeven.
31876 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31877 __setpayloadl.
31878 (setpayloadl): Define as weak alias.
31879 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31880 __setpayloadsigl.
31881 (setpayloadsigl): Define as weak alias.
31882 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31883 Rename to __totalorderl and define as weak alias.
31884 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31885 Rename to __totalordermagl and define as weak alias.
31886 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31887 __ufromfpl.
31888 (ufromfpl): Define as weak alias.
31889 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31890 __ufromfpxl.
31891 (ufromfpxl): Define as weak alias.
31892 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31893 __fromfpl.
31894 (fromfpl): Define as weak alias.
31895 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31896 __fromfpxl.
31897 (fromfpxl): Define as weak alias.
31898 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31899 __getpayloadl and define as weak alias.
31900 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31901 __roundevenl and define as weak alias.
31902 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31903 __setpayloadl.
31904 (setpayloadl): Define as weak alias.
31905 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31906 __setpayloadsigl.
31907 (setpayloadsigl): Define as weak alias.
31908 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31909 __totalorderl and define as weak alias.
31910 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31911 Rename to __totalordermagl and define as weak alias.
31912 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31913 __ufromfpl.
31914 (ufromfpl): Define as weak alias.
31915 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31916 __ufromfpxl.
31917 (ufromfpxl): Define as weak alias.
31918
29c933fb
SP
319192017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31920
503c92c3
SP
31921 * benchtests/bench-string.h (realloc_bufs): New function.
31922 (test_init): Call it.
31923 * benchtests/bench-memset-large.c (do_test): Likewise.
31924 * benchtests/bench-memset.c (do_test): Likewise.
31925
29c933fb
SP
31926 * benchtests/bench-memset-large.c: Print output in JSON
31927 format.
31928 * benchtests/bench-memset.c: Likewise.
31929
799c8d69
MF
319302017-09-14 Mike FABIAN <mfabian@redhat.com>
31931
31932 [BZ #21084]
31933 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31934 * iconvdata/Makefile: Add IBM858.
31935 * iconvdata/gconv-modules: Likewise.
31936 * iconvdata/tst-tables.sh: Likewise.
31937 * iconvdata/ibm858.c: New file.
31938 * localedata/charmaps/IBM858: Likewise.
31939
c207f7ce 319402017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
31941
31942 [BZ #22023]
31943 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31944 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31945
f28a0926
AK
319462017-09-14 Mike FABIAN <mfabian@redhat.com>
31947
31948 [BZ #22112]
31949 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31950 and add tel_int_fmt.
31951
02093e62
JM
319522017-09-14 Joseph Myers <joseph@codesourcery.com>
31953
31954 * sysdeps/generic/libm-alias-float128.h: New file.
31955 * sysdeps/generic/math-type-macros-float128.h: Include
31956 <libm-alias-float128.h>.
31957 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31958
1aae75ef
JM
319592017-09-13 Joseph Myers <joseph@codesourcery.com>
31960
31961 * sysdeps/generic/libm-alias-ldouble.h: New file.
31962 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31963 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31964 * sysdeps/generic/math-type-macros-ldouble.h: Include
31965 <libm-alias-ldouble.h>.
31966 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31967 libm_alias_ldouble.
31968
bcea7ad6
SN
319692017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31970
31971 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31972 * math/w_exp_compat.c: ... here.
31973 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31974 * math/w_expf_compat.c: ... here.
31975 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31976 * math/w_expl_compat.c: ... here.
31977 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31978 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31979 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31980 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31981
0fc56478
JM
319822017-09-13 Joseph Myers <joseph@codesourcery.com>
31983
31984 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31985 redefine.
31986 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31987 macro.
31988 (ldexpl): Only define as compat symbol for libc, not libm.
31989 (scalbnl): Define as compat symbol for libc here.
31990 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31991 define for [IS_IN (libc)].
31992 (__ldexpl_2): Remove alias.
31993 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31994 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31995 name in long_double_symbol call.
31996 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31997 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31998 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31999 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
32000 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
32001 Remove macro.
32002 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
32003 Define as compat symbol.
32004
3ca622e4
AZ
320052017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32006
32007 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
32008 * sysdeps/unix/sysv/linux/alpha/Makefile
32009 [$(subdir) = csu] (sysdep_routines): Remove rule.
32010
620ff9ee
JM
320112017-09-13 Joseph Myers <joseph@codesourcery.com>
32012
32013 * sysdeps/generic/libm-alias-double.h: New file.
32014 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
32015 * sysdeps/generic/math-type-macros-double.h: Include
32016 <libm-alias-double.h>.
32017 [declare_mgen_alias] (declare_mgen_alias): Define to use
32018 libm_alias_double.
32019 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
32020 (M_LIBM_NEED_COMPAT): Remove macro.
32021 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
32022 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
32023 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
32024 code.
32025 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32026 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32027 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32028 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32029 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32030 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32031 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32032 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32033 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32034 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32035 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32036 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32037 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32038 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32039 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32040 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32041 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32042 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32043 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32044 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32045 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32046 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32047 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32048 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32049 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32050 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32051 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32052 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32053 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32054 macro.
32055 (declare_mgen_alias): New macro.
32056 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32057 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32059 (M_LIBM_NEED_COMPAT): Remove macro.
32060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32061 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32062 <first-versions.h>.
32063 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32064 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32065
a891caff
JM
320662017-09-12 Joseph Myers <joseph@codesourcery.com>
32067
32068 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32069 (declare_mgen_alias_2): Remove.
32070 * sysdeps/generic/math-type-macros-double.h
32071 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32072 Likewise.
32073 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32074 alias.
32075 (ldexp): Define with declare_mgen_alias.
32076 (scalbn): Likewise.
32077
a1a78204
SE
320782017-09-12 Steve Ellcey <sellcey@cavium.com>
32079
32080 * grp/initgroups.c: Include config.h.
32081 (DEFAULT_CONFIG): New macro.
32082 (internal_getgrouplist): Use DEFAULT_CONFIG.
32083 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32084 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32085 (DEFAULT_DEFCONFIG): New macro.
32086 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32087 * nss/grp-lookup.c: Include config.h
32088 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32089 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32090 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32091 * manual/nss.texi: Update default values section.
32092
ef8adeb0
L
320932017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32094
32095 [BZ #21967]
32096 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32097 New.
32098 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32099 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32100 Handle MathVec_Prefer_No_AVX512.
32101 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32102 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32103 is set.
32104
a166531f
ST
321052017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32106
32107 * posix/sched_primax.c (__sched_get_priority_max): Add
32108 libc_hidden_def.
32109 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32110 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32111 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32112 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32113 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32114 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32115 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32116 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32117 Add aliases.
32118
4b7d1efb
JM
321192017-09-11 Joseph Myers <joseph@codesourcery.com>
32120
32121 * sysdeps/generic/libm-alias-float.h: New file.
32122 * sysdeps/generic/math-type-macros-float.h: Include
32123 <libm-alias-float.h>.
32124 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32125
45ff3463
L
321262017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 [BZ #22093]
32129 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32130 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32131 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32132 (HWCAP_IMPORTANT): Likewise.
32133 (HWCAP_X86_64): New enum.
32134 (HWCAP_X86_AVX512_1): Updated.
32135 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32136 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32137 (modules-names): Add x86_64/tst-x86_64mod-1.
32138 (LDFLAGS-tst-x86_64mod-1.so): New.
32139 ($(objpfx)tst-x86_64-1): Likewise.
32140 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32141 (tst-x86_64-1-clean): Likewise.
32142 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32143 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32144
891abfd3
SP
321452017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32146
32147 * po/sv.po: Update translations.
32148 * po/fr.po: Likewise.
32149
00c3da43
ST
321502017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32151
32152 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32153 seconds.
3bdfd9fb
ST
32154 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32155 seconds.
65b22ebc 32156 * elf/rtld-Rules: Fix $(error) use.
00c3da43 32157
96480903
MF
321582017-09-09 Mike FABIAN <mfabian@redhat.com>
32159
32160 [BZ #14925]
32161 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32162 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32163 * localedata/locales/bn_BD: “Bengali” was still used in some
32164 comments. Change it to “Bangla”.
32165
4c03a696
MT
321662017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32167
32168 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32169
9c9ec581
SE
321702017-09-08 Steve Ellcey <sellcey@cavium.com>
32171
32172 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32173 thunderx2t99p1 to list of cpu names.
32174 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32175 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32176
f00bce74
SE
321772017-09-08 Steve Ellcey <sellcey@cavium.com>
32178
32179 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32180 Use strcmp instead of tunable_is_name.
32181
27342d17
JM
321822017-09-08 Joseph Myers <joseph@codesourcery.com>
32183
af1b7c8c
JM
32184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32185 (F_GET_RW_HINT): New macro.
32186 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32187 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32188 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32189 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32190 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32191 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32192 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32193 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32194 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32195
27342d17
JM
32196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32197 (F_ADD_SEALS): New macro.
32198 [__USE_GNU] (F_GET_SEALS): Likewise.
32199 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32200 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32201 [__USE_GNU] (F_SEAL_GROW): Likewise.
32202 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32203
c66c9082
AZ
322042017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32205
07b4f49d
AZ
32206 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32207 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32208 * posix/glob_internal.h (__glob_pattern_type):
32209 * posix/glob.c (glob):
32210 * posix/glob_pattern_p.c (__glob_pattern_p):
32211 Use them.
32212
116f1c64
AZ
32213 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32214 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32215 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32216 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32217 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32219 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32220 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32221 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32222 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32223 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32224 * sysdeps/wordsize-64/glob.c: Likewise.
32225 * sysdeps/wordsize-64/glob64.c: Likewise.
32226 * sysdeps/wordsize-64/globfree.c: Likewise.
32227 * sysdeps/wordsize-64/globfree64.c: Likewise.
32228 * sysdeps/unix/sysv/linux/glob.c: New file.
32229 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32230 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32231 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32232 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32233 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32234 adds !GLOB_NO_OLD_VERSION as an extra condition.
32235 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32236 using relative path instead of absolute one.
32237 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32238 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32239 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32240 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32241 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32242 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32243
ffca8901
AZ
32244 [BZ #1062]
32245 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32246 (glob): Use the same scratch buffer for both getlogin_r and
32247 getpwnam_r. Don’t require preallocation of the login name. This
32248 simplifies storage allocation, and corrects the handling of
32249 long login names.
32250
5a79f975
AZ
32251 [BZ #1062]
32252 * posix/glob.c (glob): Port recent patches to platforms
32253 lacking getpwnam_r.
32254 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32255 returns an error number rather than setting errno.
32256
e00f2425
AZ
32257 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32258 instead of GCC extension.
32259 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32260 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32261 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32262
5554304f
AZ
32263 [BZ #866]
32264 [BZ #1062]
32265 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32266 * posix/bug-glob1.c: Remove file.
32267 * posix/tst-glob_symlinks.c: New file.
32268 * posix/glob.c (__lstat64): New macro.
32269 (is_dir): New function.
32270 (glob, glob_in_dir): Match symlinks even if they are dangling.
32271 (link_stat, link_exists_p): Remove. All uses removed.
32272
686f2ea1
AZ
32273 [BZ #1062]
32274 [BZ #19971]
32275 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32276 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32277 All uses removed.
32278
c66c9082 32279 [BZ #1062]
914c9994 32280 CVE-2017-15671
c66c9082
AZ
32281 * posix/Makefile (routines): Add globfree, globfree64, and
32282 glob_pattern_p.
32283 * posix/flexmember.h: New file.
32284 * posix/glob_internal.h: Likewise.
32285 * posix/glob_pattern_p.c: Likewise.
32286 * posix/globfree.c: Likewise.
32287 * posix/globfree64.c: Likewise.
32288 * sysdeps/gnu/globfree64.c: Likewise.
32289 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32290 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32291 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32292 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32293 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32294 * sysdeps/wordsize-64/globfree.c: Likewise.
32295 * sysdeps/wordsize-64/globfree64.c: Likewise.
32296 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32297 [NDEBUG): Remove comments.
32298 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32299 (dirent_type): New type. Use uint_fast8_t not
32300 uint8_t, as C99 does not require uint8_t.
32301 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32302 (struct readdir_result): Use dirent_type. Do not define skip_entry
32303 unless it is needed; this saves a byte on platforms lacking d_ino.
32304 (readdir_result_type, readdir_result_skip_entry):
32305 New functions, replacing ...
32306 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 32307 these functions, which were removed. This makes the callers
c66c9082
AZ
32308 easier to read. All callers changed.
32309 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32310 (size_add_wrapv, glob_use_alloca): New static functions.
32311 (glob, glob_in_dir): Check for size_t overflow in several places,
32312 and fix some size_t checks that were not quite right.
32313 Remove old code using SHELL since Bash no longer
32314 uses this.
32315 (glob, prefix_array): Separate MS code better.
32316 (glob_in_dir): Remove old Amiga and VMS code.
32317 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32318 separate files.
32319 (glob_in_dir): Do not rely on undefined behavior in accessing
32320 struct members beyond their bounds. Use a flexible array member
32321 instead
32322 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32323 0/1. Caller changed.
32324 (glob): Fix memory leaks.
32325 * posix/glob64 (globfree64): Move to separate file.
32326 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32327 (globfree64): Remove hidden alias.
32328 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32329 oldglob.
32330 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32331 separate file.
32332 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32333 define.
32334 Move compat code to separate file.
32335 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32336 separate file.
32337
78bfa877
L
323382017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32339
32340 * resolv/tst-resolv-qtypes.c (domain): Changed to
32341 "const char domain[] =".
32342
05f0011f
JM
323432017-09-07 Joseph Myers <joseph@codesourcery.com>
32344
85bec0f2
JM
32345 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32346 version to 3.1.6.
32347
5c23ee6e
JM
32348 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32349 (TCP_MD5SIG_EXT): Likewise.
32350 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32351 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32352 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32353
05f0011f
JM
32354 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32355
7c9c5be9
MF
323562017-09-07 Mike FABIAN <mfabian@redhat.com>
32357
32358 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32359
c207f7ce 323602017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
32361
32362 [BZ #22100]
32363 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32364
507fe027
ST
323652017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32366
32367 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32368 before assuming that the file is empty. Avoid testing buffer content
32369 when nread == 0.
32370
65687ac7
AZ
323712017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32372
7bbbb4b9 32373 [BZ #18858]
65687ac7
AZ
32374 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32375 Remove define.
32376 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32377 Likewise.
32378 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32379 Likewise.
32380 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32381 Likewise.
32382 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32383 Likewise.
32384 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32385 Likewise.
32386 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32387 Likewise.
32388
ab5ac271
FW
323892017-09-06 Florian Weimer <fweimer@redhat.com>
32390
32391 * malloc/dynarray_emplace_enlarge.c
32392 (__libc_dynarray_emplace_enlarge): Add missing else.
32393
a8304730
FW
323942017-09-06 Florian Weimer <fweimer@redhat.com>
32395
32396 [BZ #22096]
32397 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32398 case of failure to obtain the global conf object.
32399
5670c4ab
FW
324002017-09-06 Florian Weimer <fweimer@redhat.com>
32401
32402 [BZ #22095]
32403 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32404 dynarray allocation failure.
32405
c77eb969
FW
324062017-09-06 Florian Weimer <fweimer@redhat.com>
32407
32408 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32409 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32410 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32411 New functions.
32412 (response): Call them. Add 'p', '6' flag processing.
32413 (test_reverse): New function.
32414 (test_get2_any): Call it.
32415 (test_no_inet6): Add 'p' test.
32416 (test_inet6): Likewise.
32417
5e9c4d17
FW
324182017-09-06 Florian Weimer <fweimer@redhat.com>
32419
32420 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32421 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32422 the QNAME.
32423 (test_gai): Adjust query names. Add additional tests.
32424 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32425 test_get2. Adjust query names. Add additional tests.
32426 (test_no_inet6): New function, extracted from threadfunc.
32427 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32428 Add additional tests.
32429
2ae5be04
MF
324302017-09-06 Mike FABIAN <mfabian@redhat.com>
32431
32432 [BZ #22070]
32433 * localedata/unicode-gen/utf8_gen.py: Set the width for
32434 characters with Prepended_Concatenation_Mark property to 1
32435 * localedata/charmaps/UTF-8: Updated using the improved script.
32436
af83ed5c
MF
324372017-09-06 Mike FABIAN <mfabian@redhat.com>
32438
32439 [BZ #21750]
32440 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32441 use the range notation for all ranges of neighbouring characters
32442 with the same width.
32443
4f3647e4
JM
324442017-09-05 Joseph Myers <joseph@codesourcery.com>
32445
32446 * sysdeps/generic/math-type-macros-double.h: Include
32447 <math-svid-compat.h>.
32448 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32449 * sysdeps/generic/math-type-macros-float.h: Include
32450 <math-svid-compat.h>.
32451 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32452 * sysdeps/generic/math-type-macros-ldouble.h: Include
32453 <math-svid-compat.h>.
32454 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32455 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32456 condition.
32457 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32458 * math/w_acosf_compat.c: Likewise.
32459 * math/w_acosh_compat.c: Likewise.
32460 * math/w_acoshf_compat.c: Likewise.
32461 * math/w_acoshl_compat.c: Likewise.
32462 * math/w_acosl_compat.c: Likewise.
32463 * math/w_asin_compat.c: Likewise.
32464 * math/w_asinf_compat.c: Likewise.
32465 * math/w_asinl_compat.c: Likewise.
32466 * math/w_atan2_compat.c: Likewise.
32467 * math/w_atan2f_compat.c: Likewise.
32468 * math/w_atan2l_compat.c: Likewise.
32469 * math/w_atanh_compat.c: Likewise.
32470 * math/w_atanhf_compat.c: Likewise.
32471 * math/w_atanhl_compat.c: Likewise.
32472 * math/w_cosh_compat.c: Likewise.
32473 * math/w_coshf_compat.c: Likewise.
32474 * math/w_coshl_compat.c: Likewise.
32475 * math/w_exp10_compat.c: Likewise.
32476 * math/w_exp10f_compat.c: Likewise.
32477 * math/w_exp10l_compat.c: Likewise.
32478 * math/w_exp2_compat.c: Likewise.
32479 * math/w_exp2f_compat.c: Likewise.
32480 * math/w_exp2l_compat.c: Likewise.
32481 * math/w_fmod_compat.c: Likewise.
32482 * math/w_fmodf_compat.c: Likewise.
32483 * math/w_fmodl_compat.c: Likewise.
32484 * math/w_hypot_compat.c: Likewise.
32485 * math/w_hypotf_compat.c: Likewise.
32486 * math/w_hypotl_compat.c: Likewise.
32487 * math/w_j0_compat.c: Likewise.
32488 * math/w_j0f_compat.c: Likewise.
32489 * math/w_j0l_compat.c: Likewise.
32490 * math/w_j1_compat.c: Likewise.
32491 * math/w_j1f_compat.c: Likewise.
32492 * math/w_j1l_compat.c: Likewise.
32493 * math/w_jn_compat.c: Likewise.
32494 * math/w_jnf_compat.c: Likewise.
32495 * math/w_jnl_compat.c: Likewise.
32496 * math/w_lgamma_r_compat.c: Likewise.
32497 * math/w_lgammaf_r_compat.c: Likewise.
32498 * math/w_lgammal_r_compat.c: Likewise.
32499 * math/w_log10_compat.c: Likewise.
32500 * math/w_log10f_compat.c: Likewise.
32501 * math/w_log10l_compat.c: Likewise.
32502 * math/w_log2_compat.c: Likewise.
32503 * math/w_log2f_compat.c: Likewise.
32504 * math/w_log2l_compat.c: Likewise.
32505 * math/w_log_compat.c: Likewise.
32506 * math/w_logf_compat.c: Likewise.
32507 * math/w_logl_compat.c: Likewise.
32508 * math/w_pow_compat.c: Likewise.
32509 * math/w_powf_compat.c: Likewise.
32510 * math/w_powl_compat.c: Likewise.
32511 * math/w_remainder_compat.c: Likewise.
32512 * math/w_remainderf_compat.c: Likewise.
32513 * math/w_remainderl_compat.c: Likewise.
32514 * math/w_sinh_compat.c: Likewise.
32515 * math/w_sinhf_compat.c: Likewise.
32516 * math/w_sinhl_compat.c: Likewise.
32517 * math/w_sqrt_compat.c: Likewise.
32518 * math/w_sqrtf_compat.c: Likewise.
32519 * math/w_sqrtl_compat.c: Likewise.
32520 * math/w_tgamma_compat.c: Likewise.
32521 * math/w_tgammaf_compat.c: Likewise.
32522 * math/w_tgammal_compat.c: Likewise.
32523 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32524 [LIBM_SVID_COMPAT].
32525 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32526 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32527 [LIBM_SVID_COMPAT].
32528 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32529 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32530 [LIBM_SVID_COMPAT].
32531 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32532 * sysdeps/i386/fpu/w_sqrt.c: New file.
32533 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32534 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32535 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32536 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32537 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32538 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32539 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32540 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32541 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32542 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32543 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32544 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32545 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32546 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32547 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32548 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32549 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32550 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32551 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32552 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32553 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32554 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32555 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32556 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32557 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32558 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32559 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32560 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32561 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32562 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32563 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32564 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32565 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32566 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32567 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32568 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32569 * sysdeps/ia64/fpu/w_log.c: Likewise.
32570 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32571 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32572 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32573 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32574 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32575 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32576 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32577 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32578 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32579 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32580 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32581 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32582 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32583 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32584 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32585 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32586 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32587 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32588 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32589 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32590 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32591 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32592 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32594 [LIBM_SVID_COMPAT].
32595 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32596 * sysdeps/ieee754/k_standard.c: Likewise.
32597 * sysdeps/ieee754/k_standardf.c: Likewise.
32598 * sysdeps/ieee754/k_standardl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32600 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32601 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32602 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32603 long_double_symbol call on [LIBM_SVID_COMPAT].
32604 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32605 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32606 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32607 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32608 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32609 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32610 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32611 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32612 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32613 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32614 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32615 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32616 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32617 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32618 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32619 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32620 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32621 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32622 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32623 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32624 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32625 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32626
05b38d64
SE
326272017-09-05 Steve Ellcey <sellcey@cavium.com>
32628
32629 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32630 * malloc/tst-mallocstate.c: Convert from test-skeleton
32631 to test-driver. Ifdef code using TEST_COMPAT macro.
32632 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32633 * math/test-matherr.c: Likewise.
32634
99d67918
JM
326352017-09-05 Joseph Myers <joseph@codesourcery.com>
32636
32637 [BZ #22086]
32638 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32639 comparing word with byte-swapped constant.
32640
c207f7ce 326412017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
32642
32643 [BZ #20498]
32644 * locale/iso-639.def: add Miskito.
32645 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32646 * localedata/locales/miq_NI: New file.
32647
0a587a8a
L
326482017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32649
32650 [BZ #18822]
32651 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32652 (__mkdir): Likewise.
32653 * io/chmod.c (__chmod): Add libc_hidden_def.
32654 * io/mkdir.c (__mkdir): Likewise.
32655 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32656 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32657 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32658 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32659
f3a129b8
JM
326602017-09-04 Joseph Myers <joseph@codesourcery.com>
32661
1650e192
JM
32662 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32663 version to 4.13.
32664
f3a129b8
JM
32665 [BZ #22082]
32666 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32667 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32668
b38042f5
FW
326692017-09-04 Florian Weimer <fweimer@redhat.com>
32670
32671 * math/math.h: Issue warning if log is defined.
32672
059b6404
JM
326732017-09-04 Joseph Myers <joseph@codesourcery.com>
32674
32675 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32676 kernel version to 4.13.
32677
b794e16b
ST
326782017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32679
32680 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
32681 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32682 parameter.
01969395
ST
32683 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32684 just <bits/types.h>.
dd2b31de 32685 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 32686 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 32687 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 32688 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
32689 * misc/preadv2.c: Include <errno.h>.
32690 * misc/preadv64v2.c: Include <errno.h>.
32691 * misc/pwritev2.c: Include <errno.h>.
32692 * misc/pwritev64v2.c: Include <errno.h>.
32693 * sysdeps/posix/preadv2.c: Include <errno.h>.
32694 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32695 Fix <unistd.h> inclusion.
32696 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32697 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
32698 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32699 __strtoul_internal): New functions.
127e7773
ST
32700 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32701 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
32702 * sysdeps/mach/hurd/i386/Makefile
32703 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32704 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32705 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
32706 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32707 __feraiseexcept_renamed to feraiseexcept instead of
32708 __GI_feraiseexcept.
56bf5497 32709 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 32710 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
32711 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32712 RWF_NOWAIT): Define to 0 if undefined already.
32713 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32714 boils down to 0.
6547ec0a
ST
32715 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32716 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 32717
5a80d39d
JM
327182017-09-01 Joseph Myers <joseph@codesourcery.com>
32719
32720 * manual/math.texi (pow10): Do not document.
32721 (pow10f): Likewise.
32722 (pow10l): Likewise.
32723 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32724 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32725 * math/libm-test-exp10.inc (pow10_test): Remove.
32726 (do_test): Do not call pow10.
32727 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32728 [NO_LONG_DOUBLE] (pow10l): Likewise.
32729 * math/w_exp10f_compat.c (pow10f): Likewise.
32730 * math/w_exp10l_compat.c (pow10l): Likewise.
32731 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32732 (pow10): Make into compat symbol.
32733 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32734 (pow10f): Make into compat symbol.
32735 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32736 (pow10l): Make into compat symbol.
32737 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32738 pow10.
32739 (CFLAGS-nldbl-pow10.c): Remove variable..
32740 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32741 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32742 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32743 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32744 Undefine and redefine.
32745 (pow10l): Make into compat symbol.
32746 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32747 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32748 * sysdeps/arm/libm-test-ulps: Likewise.
32749 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32750 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32751 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32752 * sysdeps/microblaze/libm-test-ulps: Likewise.
32753 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32754 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32755 * sysdeps/nios2/libm-test-ulps: Likewise.
32756 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32757 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32758 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32759 * sysdeps/sh/libm-test-ulps: Likewise.
32760 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32761 * sysdeps/tile/libm-test-ulps: Likewise.
32762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32763
3824fc38
PP
327642017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32765
32766 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32767
b3008279
L
327682017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32769
32770 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32771 "../ChangeLog.old/ChangeLog.8".
32772 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32773 "../ChangeLog.old/ChangeLog.14".
32774
136fa185
L
327752017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32776
32777 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32778 Threads Library.
32779
c18d50a2
JM
327802017-09-01 Joseph Myers <joseph@codesourcery.com>
32781
32782 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32783
bedbd859
L
327842017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32785
32786 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32787 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32788
50c66c7a
PP
327892017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32790
32791 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32792 32 atexit handlers.
32793
a617bd11
ZW
327942017-09-01 Zack Weinberg <zackw@panix.com>
32795
32796 * math/math.h (HUGE_VAL): Improve commentary.
32797
e0d2eb5a
AZ
327982017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32799 Andreas Schwab <schwab@suse.de>
32800
32801 [BZ #21530]
32802 * include/stdio.h (__gen_tempfd): New function.
32803 * stdio-common/Makefile (routines): Add gentempfd.
32804 * stdio-common/gentempfd.c: New file.
32805 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32806 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32807 unnamed file first.
32808
f4a6be25
FW
328092017-09-01 Florian Weimer <fweimer@redhat.com>
32810
32811 [BZ #21915]
32812 [BZ #21922]
32813 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32814 result to determine success or failure, not the errno value.
32815 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32816 (tst-nss-files-hosts-erange): Link with -ldl.
32817 * nss/tst-nss-files-hosts-erange.c: New file.
32818 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32819 (do_test): Add NO_DATA tests.
32820 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32821 (do_test): Call it.
32822
5f8340f5
FW
328232017-09-01 Florian Weimer <fweimer@redhat.com>
32824
32825 [BZ #21922]
32826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32827 coming from gethostbyname2_r.
32828
65329bd2
FW
328292017-09-01 Florian Weimer <fweimer@redhat.com>
32830
32831 * support/namespace.h (struct support_chroot_configuration): Add
32832 hosts, host_conf.
32833 (struct support_chroot): Add path_hosts, path_host_conf.
32834 * support/support_chroot.c (write_file): New function.
32835 (support_chroot_create): Call it to process /etc/resolv.conf,
32836 /etc/hosts, /etc/host.conf.
32837 (support_chroot_free): Update.
32838
a2881ef0
FW
328392017-09-01 Florian Weimer <fweimer@redhat.com>
32840
32841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32842 status indicates it is set.
32843
ad816a5e
FW
328442017-09-01 Florian Weimer <fweimer@redhat.com>
32845
63b52889 32846 [BZ #20532]
ad816a5e
FW
32847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32848 function lookup failures more reliable.
32849
53250a21
FW
328502017-09-01 Florian Weimer <fweimer@redhat.com>
32851
32852 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32853 (getcanonname): Likewise.
32854 (gaih_inet): Likewise.
32855
924b121c
FW
328562017-09-01 Florian Weimer <fweimer@redhat.com>
32857
32858 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32859 (getcanonname): Likewise.
32860 (gaih_inet): Likewise.
32861
d9ff799a 328622017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 32863 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
32864
32865 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32866 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32867 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32868 (IREG_SIZE, OREG_SIZE): New macros.
32869 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32870 (IREG_SIZE, OREG_SIZE): New macros.
32871 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32872 (IREG_SIZE): New macro.
32873 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32874 (IREG_SIZE): New macro.
32875 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32876 New includes.
32877 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32878 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32879 (__CONCATX): Handle exceptions correctly on large values that may
32880 set FE_INVALID.
32881 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32882 Initialize if not already set.
b39d961c 32883 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 32884
102dde84
AZ
328852017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32886
32887 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32888 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32889 Likewise.
32890 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32891 Likewise.
32892 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32893 Likewise.
32894 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32895 Likewise.
32896 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32897 Likewise.
32898 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32899 Likewise.
32900 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32901 Likewise.
32902 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32903 (NO_CANCELLATION): Likewise.
32904 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32905 Likewise.
32906 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32907 Likewise.
32908 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32909 Likewise.
32910 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32911 (NO_CANCELLATION): Likewise.
32912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32913 (NO_CANCELLATION): Likewise.
32914 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32915 Likewise
32916 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32917 Likewise.
32918 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32919 Likewise.
32920 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32921 Likewise.
32922 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32923 hidden prototype.
32924 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32925 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32926
9eee633b
SE
329272017-08-31 Steve Ellcey <sellcey@cavium.com>
32928
32929 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32930 in resolver call.
32931
65284eb7
FW
329322017-08-31 Florian Weimer <fweimer@redhat.com>
32933
32934 * include/libc-symbols.h (internal_function): Remove.
32935
41ad5ca6
FW
329362017-08-31 Florian Weimer <fweimer@redhat.com>
32937
32938 * stdlib/fmtmsg.c (internal_addseverity): Remove
32939 internal_function.
32940
2fa6d086
FW
329412017-08-31 Florian Weimer <fweimer@redhat.com>
32942
32943 * stdio-common/printf_fp.c (group_number): Remove
32944 internal_function.
32945 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32946
b41bd5bc
FW
329472017-08-31 Florian Weimer <fweimer@redhat.com>
32948
32949 * posix/fnmatch.c (internal_function): Remove definition.
32950 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32951 * posix/regcomp.c (peek_token, init_word_char)
32952 (duplicate_node_closure, fetch_token, peek_token)
32953 (peek_token_bracket, build_range_exp, build_collating_symbol):
32954 Likewise.
32955 * posix/regex_internal.c (re_string_construct_common)
32956 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32957 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32958 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32959 (re_string_translate_buffer, re_string_reconstruct)
32960 (re_string_peek_byte_case, re_string_fetch_byte_case)
32961 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32962 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32963 (re_node_set_add_intersect, re_node_set_init_union)
32964 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32965 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32966 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32967 (re_acquire_state_context): Likewise.
32968 * posix/regex_internal.h (internal_function): Remove definition.
32969 (re_string_realloc_buffers, build_wcs_buffer)
32970 (build_wcs_upper_buffer, build_upper_buffer)
32971 (re_string_translate_buffer, re_string_context_at)
32972 (re_string_char_size_at, re_string_wchar_at)
32973 (re_string_elem_size_at): Likewise.
32974 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32975 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32976 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32977 (re_search_internal, re_search_2_stub, re_search_stub)
32978 (re_copy_regs, prune_impossible_nodes, check_matching)
32979 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32980 (free_fail_stack_return, sift_states_iter_mb)
32981 (sift_states_backward, build_sifted_states)
32982 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32983 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32984 (check_subexp_limits, sift_states_bkref, merge_state_array)
32985 (find_recover_state, transit_state, merge_state_with_log)
32986 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32987 (transit_state_mb, transit_state_bkref, get_subexp)
32988 (get_subexp_sub, find_subexp_node, check_arrival)
32989 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32990 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32991 (check_node_accept_bytes, find_collation_sequence_value)
32992 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32993 (acquire_init_state_context, check_halt_node_context)
32994 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32995 (sub_epsilon_src_nodes): Likewise.
32996 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32997 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32998 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32999 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
33000 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
33001 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
33002 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
33003 * sysdeps/posix/ttyname.c (getttyname): Likewise.
33004 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
33005 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
33006 (PREADV): Likewise.
33007 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
33008 (PREADV): Likewise.
33009 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
33010 (PWRITEV): Likewise.
33011 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
33012 (PWRITEV): Likewise.
33013 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
33014 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
33015
83b09837
FW
330162017-08-31 Florian Weimer <fweimer@redhat.com>
33017
33018 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
33019 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
33020 Remove internal_function.
33021 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33022 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
33023 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
33024 (__deallocate_stack, __libc_pthread_init)
33025 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33026 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33027 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33028 Likewise.
33029 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33030 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33031 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33032 Likewise.
33033 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33034 (__pthread_mutex_unlock_usercnt): Likewise.
33035
116ac301
FW
330362017-08-31 Florian Weimer <fweimer@redhat.com>
33037
33038 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33039 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33040 (fts_safe_changedir): Remove internal_function.
33041 * io/ftw.c (internal_function): Remove definition.
33042 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33043
9da93bd7
FW
330442017-08-31 Florian Weimer <fweimer@redhat.com>
33045
33046 * inet/deadline.c (__deadline_current_time)
33047 (__deadline_from_timeval, __deadline_to_ms): Remove
33048 internal_function.
33049 * inet/getnameinfo.c (nrl_domainname): Likewise.
33050 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33051 * inet/inet6_option.c (add_pad): Likewise.
33052 * inet/net-internal.h (__deadline_current_time)
33053 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33054 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33055 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33056 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33057
a60eca2e
JM
330582017-08-31 Joseph Myers <joseph@codesourcery.com>
33059
c0c49d60
JM
33060 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33061 include <bits/nan.h>.
33062 * math/Makefile (headers): Remove bits/nan.h.
33063 * bits/nan.h: Remove.
33064 * sysdeps/ieee754/bits/nan.h: Likewise.
33065 * sysdeps/mips/bits/nan.h: Likewise.
33066
5ef1b213
JM
33067 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33068 not include <bits/inf.h>.
33069 * math/Makefile (headers): Remove bits/inf.h.
33070 * bits/inf.h: Remove.
33071 * sysdeps/ieee754/bits/inf.h: Likewise.
33072
a60eca2e
JM
33073 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33074 bits/huge_vall.h or bits/huge_val_flt128.h.
33075 (HUGE_VAL): Define directly here.
33076 [__USE_ISOC99] (HUGE_VALF): Likewise.
33077 [__USE_ISOC99] (HUGE_VALL): Likewise.
33078 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33079 (HUGE_VAL_F128): Likewise.
33080 * math/Makefile (headers): Remove bits/huge_val.h,
33081 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33082 * bits/huge_val.h: Remove.
33083 * bits/huge_val_flt128.h: Likewise.
33084 * bits/huge_valf.h: Likewise.
33085 * bits/huge_vall.h: Likewise.
33086 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33087 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33088 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33089 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33090 * sysdeps/sh/bits/huge_val.h: Likewise.
33091 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33092 * sysdeps/x86/bits/huge_vall.h: Likewise.
33093
17e00cc6
FW
330942017-08-31 Florian Weimer <fweimer@redhat.com>
33095
33096 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33097 internal_function.
33098 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33099 Likewise.
33100 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33101 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33102 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33103 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33105 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33106 * elf/dl-libc.c (dlerror_run): Likewise.
33107 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33108 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33109 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33110 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33111 Likewise.
33112 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33113 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33114 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33115 * elf/dl-profile.c (_dl_start_profile): Likewise.
33116 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33117 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33118 Likewise.
33119 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33120 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33121 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33122 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33123 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33124 (_dl_allocate_tls_storage): Likewise.
33125 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33126 (_dl_check_all_versions): Likewise.
33127 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33128 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33129 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33130 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33131 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33132 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33133 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33134 internal_function from __dl_start.
33135 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33136 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33137 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33138 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33139 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33140 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33141 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33142 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33143 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33144 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33145 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33146 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33147 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33148 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33149 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33150 Likewise.
33151 (struct rtld_global_ro): Remove internal_function from the
33152 _dl_lookup_symbol_x member.
33153 (_dl_symbol_value): Remove. No longer defined anywhere.
33154 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33155 internal_function.
33156 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33157 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33158 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33159 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33160 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33161 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33162 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33163 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33164 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33165 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33166 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33167 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33168
8d2f9410
FW
331692017-08-31 Florian Weimer <fweimer@redhat.com>
33170
33171 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33172 Remove internal_function.
33173 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33174 Likewise.
33175 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33176 Likewise.
33177
86e4919f
FW
331782017-08-31 Florian Weimer <fweimer@redhat.com>
33179
33180 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33181 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33182 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33183
59bd52b0
FW
331842017-08-31 Florian Weimer <fweimer@redhat.com>
33185
33186 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33187 (__gai_enqueue_request): Remove internal_function.
33188 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33189 (__gai_remove_request, __gai_notify, __gai_notify_only)
33190 (__gai_sigqueue): Likewise.
33191 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33192 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33193 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33194 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33195 Likewise.
33196
fc3d9497
FW
331972017-08-31 Florian Weimer <fweimer@redhat.com>
33198
33199 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33200 * include/dirent.h (__opendirat, __getdents, __getdents64)
33201 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33202 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33203 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33204 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33205 Likewise.
33206 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33207
18c54fac
FW
332082017-08-31 Florian Weimer <fweimer@redhat.com>
33209
33210 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33211 internal_function.
33212 (GETCWD_RETURN_TYPE): Likewise.
33213
7e01f080
FW
332142017-08-31 Florian Weimer <fweimer@redhat.com>
33215
33216 * include/time.h (__tz_compute, __strptime_internal): Remove
33217 internal_function.
33218 * time/strptime_l.c (__strptime_internal): Likewise.
33219 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33220
d7ccc6c9
FW
332212017-08-31 Florian Weimer <fweimer@redhat.com>
33222
33223 * iconv/gconv.c (__gconv): Remove internal_function.
33224 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33225 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33226 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33227 (__gconv_release_cache): Likewise.
33228 * iconv/gconv_close.c (__gconv_close): Likewise.
33229 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33230 (read_conf_file, __gconv_get_path): Likewise.
33231 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33232 (__gconv_release_step, gen_steps, increment_counter)
33233 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33234 (__gconv_close_transform, free_modules_db): Likewise.
33235 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33236 Likewise.
33237 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33238 (__gconv_find_transform, __gconv_lookup_cache)
33239 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33240 (__gconv_close_transform, __gconv_release_cache)
33241 (__gconv_loaded_object, __gconv_release_shlib)
33242 (__gconv_compare_alias): Likewise.
33243 * iconv/gconv_open.c (__gconv_open): Likewise.
33244 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33245 * iconv/iconvconfig.c (add_module): Likewise.
33246 * intl/dcigettext.c (plural_lookup, guess_category_value)
33247 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33248 * intl/eval-plural.h (plural_eval): Likewise.
33249 * intl/finddomain.c (_nl_find_domain): Likewise.
33250 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33251 (_nl_load_domain, _nl_find_msg): Likewise.
33252 (internal_function): Remove definition.
33253 * intl/loadinfo.h (internal_function): Likewise.
33254 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33255 internal_function.
33256 * intl/localealias.c (internal_function): Remove definition.
33257 (read_alias_file): Remove internal_function.
33258 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33259 * intl/plural-exp.h (internal_function): Remove definition.
33260 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33261 internal_function.
33262 * intl/plural.c: Regenerate.
33263 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33264 * locale/coll-lookup.c (__collidx_table_lookup)
33265 (__collseq_table_lookup): Likewise.
33266 * locale/coll-lookup.h (__collidx_table_lookup)
33267 (__collseq_table_lookup): Likewise.
33268 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33269 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33270 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33271 (_nl_unload_locale): Likewise.
33272 * locale/localeinfo.h (struct __locale_data): Remove
33273 internal_function from cleanup member.
33274 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33275 (_nl_remove_locale, _nl_load_locale_from_archive)
33276 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33277 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33278 (_nl_cleanup_time): Remove internal_function.
33279 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33280 (_nl_parse_alt_digit): Likewise.
33281 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33282 (_nl_select_era_entry): Likewise.
33283 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33284 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33285 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
33286 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33287 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 33288
dab0eece
FW
332892017-08-31 Florian Weimer <fweimer@redhat.com>
33290
33291 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33292 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33293 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33294 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33295 Likewise.
33296 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33297 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33298 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33299 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33300 Likewise.
33301 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33302
ab5bf7cf
FW
333032017-08-31 Florian Weimer <fweimer@redhat.com>
33304
33305 * misc/getttyent.c (skip, value): Remove internal_function.
33306 * misc/syslog.c (openlog_internal): Likewise.
33307 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33308
75b3047e
FW
333092017-08-31 Florian Weimer <fweimer@redhat.com>
33310
33311 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33312 (__nss_rewrite_field): Remove internal_function.
33313 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33314 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33315 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33316 * nss/nsswitch.c (nss_parse_file, nss_getline)
33317 (nss_parse_service_list, nss_new_service): Likewise.
33318 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33319 * nss/valid_field.c (__nss_valid_field): Likewise.
33320 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33321
0c71122c
FW
333222017-08-31 Florian Weimer <fweimer@redhat.com>
33323
33324 * malloc/arena.c (__malloc_fork_lock_parent)
33325 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33326 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33327 internal_function from defintions.
33328 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33329 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33330 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33331 internal_function from declarations.
33332 * malloc/malloc.c (internal_function): Do not define.
33333 (mem2mem_check): Remove internal_function from declaration.
33334 (munmap_chunk, mremap_chunk): Remove internal_function.
33335 * malloc/mtrace.c (tr_where): Likewise.
33336
ca4ec803
FW
333372017-08-31 Florian Weimer <fweimer@redhat.com>
33338
33339 * include/rpc/pmap_clnt.h (__get_socket): Remove
33340 internal_function.
33341 * sunrpc/auth_des.c (synchronize): Likewise.
33342 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33343 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33344 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33345 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33346 (key_call): Likewise.
33347 * sunrpc/pm_getport.c (__get_socket): Likewise.
33348 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33349 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33350 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33351 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33352 (invalidate): Likewise.
33353 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33354 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33355 (set_input_fragment, get_input_bytes): Likewise.
33356
24cffce7
FW
333572017-08-31 Florian Weimer <fweimer@redhat.com>
33358
33359 * malloc/malloc.c (_int_free): Remove locked variable and related
33360 asserts.
33361
ecd0747d
L
333622017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33363
33364 [BZ #22051]
33365 * Makerules (build-module-helper-objlist): Filter out
33366 $(elf-objpfx)sofini.os.
33367 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33368 needed.
33369
5f0704b6
FW
333702017-08-31 Florian Weimer <fweimer@redhat.com>
33371
33372 * libio/fcloseall.c: Assume weak_alias is defined.
33373 * libio/feof.c: Likewise.
33374 * libio/fileno.c: Likewise.
33375 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33376 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33377 definitions.
33378 (_IO_file_open): Call __open directly.
33379 (_IO_new_file_sync): Assume ESPIPE is defined.
33380 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33381 (_IO_new_file_write): Call __write directly.
33382 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33383 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33384 * libio/genops.c: Assume _LIBC is defined.
33385 (save_for_backup): Remove internal_function.
33386 * libio/getc.c: Assume weak_alias is defined.
33387 * libio/getwc.c: Likewise.
33388 * libio/iofclose.c: Assume _LIBC is defined.
33389 * libio/iofdopen.c: Likewise.
33390 (_IO_fcntl): Remove macro definition.
33391 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33392 Call __fcntl directly.
33393 * libio/iofflush.c: Assume weak_alias is defined.
33394 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33395 defined.
33396 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33397 * libio/iofgets.c: Likewise.
33398 * libio/iofopen.c: Assume _LIBC is defined.
33399 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33400 * libio/iofputs.c: Assume weak_alias is defined.
33401 * libio/iofread.c: Likewise.
33402 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33403 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33404 * libio/ioftell.c: Assume weak_alias is defined.
33405 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33406 * libio/iofwide.c: Assume _LIBC is defined.
33407 (_IO_fwide): Drop SHARED conditional because it is implied by
33408 SHLIB_COMPAT.
33409 * libio/iofwrite.c: Assume weak_alias is defined.
33410 * libio/iogetdelim.c: Likewise.
33411 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33412 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33413 (_IO_getwline): Call __wmemcpy directly.
33414 * libio/iopopen.c: Assume _LIBC is defined.
33415 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33416 (_IO_close): Remove macro definitions.
33417 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33418 _exit directly.
33419 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33420 directly.
33421 * libio/ioputs.c: Assume weak_alias is defined.
33422 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33423 * libio/iosetbuffer.c: Assume weak_alias is defined.
33424 * libio/iosetvbuf.c: Likewise.
33425 * libio/ioungetc.c: Likewise.
33426 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33427 libc_hidden_def, libc_hidden_weak, NULL are defined.
33428 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33429 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33430 defined.
33431 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33432 definitions.
33433 (_IO_old_file_init_internal): Drop SHARED conditional because it
33434 is implied by SHLIB_COMPAT.
33435 (_IO_old_file_fopen): Call __open directly.
33436 (_IO_old_file_sync): Assume ESPIPE is defined.
33437 (_IO_old_file_write): Call __write directly.
33438 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33439 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33440 Call __fcntl directly.
33441 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33442 (_IO_old_fgetpos): Assume EIO is defined.
33443 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33444 (_IO_old_fgetpos64): Assume EIO is defined.
33445 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33446 (_IO_old_fsetpos): Assume EIO is defined.
33447 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33448 (_IO_old_fsetpos64): Assume EIO is defined.
33449 * libio/oldiopopen.c: Assume _LIBC is defined.
33450 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33451 (_IO_close): Remove macro definitions.
33452 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33453 directly.
33454 (_IO_old_proc_close): Call __close, __waitpid directly.
33455 * libio/put.c: Assume weak_alias is defined.
33456 * libio/stdfiles.c: Assume _LIBC is defined.
33457 * libio/stdio.c: Likewise.
33458 * libio/wfileops.c: Likewise.
33459 (_IO_wfile_sync): Assume ESPIPE is defined.
33460 * libio/wgenops.c: Assume _LIBC is defined.
33461 (save_for_wbackup): Remove internal_function.
33462
5129873a
FW
334632017-08-31 Florian Weimer <fweimer@redhat.com>
33464
33465 * malloc/malloc.c (top_check): Change return type to void. Remove
33466 internal_function.
33467 * malloc/hooks.c (top_check): Likewise.
33468 (malloc_check, realloc_check, memalign_check): Adjust.
33469
4fa9b3bf
JM
334702017-08-30 Joseph Myers <joseph@codesourcery.com>
33471
33472 [BZ #21457]
33473 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33474 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33475 sigcontext and namespace requirements.
33476 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33477 * sysdeps/m68k/sys/ucontext.h: Likewise.
33478 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33479 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33480 <bits/sigcontext.h>.
33481 (__ctx): Define earlier.
33482 (mcontext_t): Define structure contents rather than using struct
33483 sigcontext.
33484 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33485 __glibc_reserved1 instead of __reserved.
33486 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33487 <bits/sigcontext.h>.
33488 (__ctx): Define earlier.
33489 (mcontext_t): Define structure contents rather than using struct
33490 sigcontext.
33491 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33492 mcontext_t instead of struct sigcontext.
33493 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33494 <bits/sigcontext.h>.
33495 (__ctx): Define earlier.
33496 (mcontext_t): Define structure contents rather than using struct
33497 sigcontext.
33498 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33499 <bits/sigcontext.h>.
33500 (__ctx): Define earlier.
33501 (mcontext_t): Define structure contents rather than using struct
33502 sigcontext.
33503 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33504 mcontext_t instead of struct sigcontext.
33505 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33506 mcontext_t instead of struct sigcontext.
33507 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33508 <bits/sigcontext.h>.
33509 (__ctx): New macro.
33510 (struct __ia64_fpreg_mcontext): New type.
33511 (mcontext_t): Define structure contents rather than using struct
33512 sigcontext.
33513 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33514 (uc_sigmask): Define using __ctx.
33515 (uc_stack): Likewise.
33516 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33517 <bits/sigcontext.h>.
33518 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33519 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33520 <bits/sigcontext.h>.
33521 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33522 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33523 <bits/sigcontext.h>.
33524 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33525 <bits/sigcontext.h>.
33526 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33527 <bits/sigcontext.h>.
33528 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33529 <bits/sigcontext.h>.
33530 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33531 <bits/sigcontext.h>.
33532 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33533 <bits/sigcontext.h>.
33534 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33535 <bits/sigcontext.h>.
33536 (__ctx): Define earlier.
33537 (mcontext_t): Define structure contents rather than using struct
33538 sigcontext.
33539 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33540 <bits/sigcontext.h>. Include <bits/types.h>.
33541 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33542 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33543 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33544 (test-xfail-UNIX98/signal.h/conform): Likewise.
33545 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33546 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33547 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33548 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33549 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33550 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33551 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33552 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33553 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33554
5898f454
FW
335552017-08-30 Florian Weimer <fweimer@redhat.com>
33556
33557 * malloc/dynarray_emplace_enlarge.c
33558 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33559 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33560 * malloc/tst-dynarray.c (test_long_overflow): New function.
33561 (do_test): Call it.
33562
a9da0bb2
FW
335632017-08-30 Florian Weimer <fweimer@redhat.com>
33564
33565 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33566 (set_arena_corrupt): Remove definitions.
33567 (mtrim): Do not check for corrupt arena.
33568 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33569 Likewise.
33570
ac3ed168
FW
335712017-08-30 Florian Weimer <fweimer@redhat.com>
33572
33573 [BZ #21754]
33574 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33575 check_action.
33576 (ptmalloc_init): Do not set or use check_action.
33577 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33578 call to malloc_printerr. Remove return statement.
33579 (free_check): Likewise. Remove arena unlock.
33580 (top_check): Update comment. Adjust call to malloc_printerr.
33581 Remove heap repair code.
33582 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33583 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33584 (sysmalloc): Adjust call to malloc_printerr.
33585 (munmap_chunk, __libc_realloc): Likewise. Remove return
33586 statement.
33587 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33588 Remove errout label and corresponding gotos.
33589 (_int_free): Likewise. Remove arena unlock.
33590 (do_set_mallopt_check): Do not set check_action.
33591 (malloc_printerr): Adjust parameter list. Do not mark arena as
33592 corrupt.
33593 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33594 comment.
33595 * manual/probes.texi (Memory Allocation Probes): Remove
33596 memory_mallopt_check_action.
33597
44bcba80
SE
335982017-08-30 Steve Ellcey <sellcey@cavium.com>
33599
33600 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33601 Use pointer to uint64_t instead of long int for sp.
33602
ec2c1fce
FW
336032017-08-30 Florian Weimer <fweimer@redhat.com>
33604
33605 [BZ #21754]
33606 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33607 without printing a backtrace. Do not leak any information in the
33608 error message.
33609 * manual/memory.texi (Heap Consistency Checking): Update.
33610 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33611
9ce673b6
FW
336122017-08-30 Florian Weimer <fweimer@redhat.com>
33613
33614 Do not scale NPTL tests with available number of CPUs.
33615 * nptl/tst-cond16.c (count): Set to constant value of 8.
33616 * nptl/tst-cond18.c (count): Likewise.
33617
2f1aef19
JM
336182017-08-29 Joseph Myers <joseph@codesourcery.com>
33619
33620 [BZ #22035]
33621 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33622 Define to take a second argument that is a macro that
33623 concatentates a suffix, not the suffix itself.
33624 (__CONCAT_d): New macro.
33625 (__CONCAT_f): Likewise.
33626 (__CONCAT_l): Likewise.
33627
8325b477
PP
336282017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33629
33630 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33631 by child.
33632
319cbbf6
AZ
336332017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33634 Aurelien Jarno <aurelien@aurel32.net>
33635 Maciej W. Rozycki <macro@imgtec.com>
33636
33637 [BZ #21956]
33638 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33639 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33640 `mips16-syscall6' and `mips16-syscall7'.
33641 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33642 (CFLAGS-mips16-syscall7.c): Remove.
33643 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33644 Remove `__mips16_syscall5', `__mips16_syscall6' and
33645 `__mips16_syscall7'.
33646 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33647 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33648 `__mips_syscall_return'.
33649 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33650 (__mips16_syscall1): Likewise.
33651 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33652 (__mips16_syscall2): Likewise.
33653 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33654 (__mips16_syscall3): Likewise.
33655 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33656 (__mips16_syscall4): Likewise.
33657 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33658 Remove.
33659 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33660 Remove.
33661 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33662 Remove.
33663 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33664 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33665 `__mips16_syscall5'. Remove prototype.
33666 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33667 `__mips16_syscall6'. Remove prototype.
33668 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33669 `__mips16_syscall7'. Remove prototype.
33670 (__nomips16, __mips16_syscall_return): Move to...
33671 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33672 (__nomips16, __mips_syscall_return): ... here.
33673 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33674 `__mips16_syscall_return' to `__mips_syscall_return'.
33675 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33676 `internal_syscall##nr'.
33677 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33678 `internal_syscall##nr'.
33679 (FORCE_FRAME_POINTER): Remove.
33680 (__mips_syscall5): New prototype.
33681 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33682 (__mips_syscall6): New prototype.
33683 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33684 (__mips_syscall7): New prototype.
33685 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33686 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33687 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33688 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33689 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33690 (sysdep_routines): Add libc-do-syscall.
33691 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33692 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33693
01b87c65
AZ
336942017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33695
33696 [BZ #21672]
33697 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33698 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33699 (advise_stack_range): New function.
33700 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33701 stack non required to advise_stack_range at allocatestack.c
33702
16f138a4
SN
337032017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33704
33705 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33706
251bccfa
FW
337072017-08-29 Florian Weimer <fweimer@redhat.com>
33708
33709 [BZ #22026]
33710 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33711 __end_fct. Mangle __end_fct after setting it to NULL.
33712 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33713 (modules-names, modules-names-tests): Add
33714 tst-gconv-init-failure-mod.
33715 (gconv-modules): New target.
33716 (tst-gconv-init-failure-mod.so): Link against libsupport.
33717 (tst-gconv-init-failure): Depend on gconv-modules,
33718 tst-gconv-init-failure-mod.so.
33719 * iconv/tst-gconv-init-failure-mod.c: New file.
33720 * iconv/tst-gconv-init-failure.c: Likewise.
33721 * iconv/test-gconv-modules: Likewise.
33722
e7c18b9d
FW
337232017-08-29 Florian Weimer <fweimer@redhat.com>
33724
33725 [BZ #22025]
33726 * iconv/gconv_db.c (free_derivation): Remove redundant
33727 parentheses.
33728 (gen_steps): Unconditionally mangle __btowc_fct after
33729 initialization.
33730 (increment_counter): Likewise. Do not call init_fct for internal
33731 modules.
33732
7daada03
JM
337332017-08-29 Joseph Myers <joseph@codesourcery.com>
33734
33735 [BZ #22028]
33736 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33737 (_MSUF_): Remove macro.
33738 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33739 Likewise.
33740 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33741 (__REDIRFROM_X): New macro.
33742 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33743 Likewise.
33744 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33745 (__REDIRTO_X): Likewise.
33746 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33747 arguments.
33748 (__MATH_REDIRCALL_2): Likewise.
33749 (__MATH_REDIRCALL_INTERNAL): Likewise.
33750 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33751 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33752 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33753 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33754 * math/test-finite-macros.c: New file.
33755 * math/Makefile (tests): Add test-finite-macros.
33756 (CFLAGS-test-finite-macros.c): New variable.
33757
1cf1232c
PF
337582017-08-29 Patsy Franklin <pfrankli@redhat.com>
33759 Jeff Law <law@redhat.com>
33760
33761 [BZ #22025]
33762 Mangle NULL pointers in iconv/gconv.
33763 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33764 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33765 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33766 is non-NULL before demangling the end_fct. Check for NULL
33767 end_fct after demangling.
33768 (__gconv_release_step): Demangle the end_fct before checking
33769 it for NULL. Remove assert on __shlibc_handle != NULL.
33770 (gen_steps): Don't check btowc_fct for NULL before mangling.
33771 Demangle init_fct before checking for NULL.
33772 (increment_counter): Likewise.
33773 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33774 end_fct for NULL before mangling.
33775 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33776 for NULL.
33777
c207f7ce 337782017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
33779
33780 [BZ #21971]
33781 * locale/iso-639.def: add Morisyen.
33782
42496114
GG
337832017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33784
33785 [BZ #21930]
33786 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33787 (iszero): New C++ implementation that does not use
33788 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33789 signaling nans are enabled, since __builtin_types_compatible_p
33790 is a C-only feature.
33791 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33792 defined, include ieee754_float128.h for access to the union and
33793 member ieee854_float128.ieee.
33794 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33795 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33796 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33797 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33798 options of test-math-zero on powerpc64le.
33799
5e2bc4ff
L
338002017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33801
33802 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33803 Change double to float.
33804
a48c0fb4
JM
338052017-08-28 Joseph Myers <joseph@codesourcery.com>
33806
33807 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33808 unconditional.
33809 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33810 conditional code; define contents only for [LIBM_SVID_COMPAT].
33811
ee17d4e9
FW
338122017-08-28 Florian Weimer <fweimer@redhat.com>
33813
33814 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33815 (abi-lp64_be-options): Remove.
33816 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33817 (abi-hard-options): Likewise.
33818 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33819 (abi-o32_hard-options, abi-o32_soft_2008-options)
33820 (abi-o32_hard_2008-options, abi-n32_soft-options)
33821 (abi-n32_hard-options, abi-n32_soft_2008-options)
33822 (abi-n32_hard_2008-options, abi-n64_soft-options)
33823 (abi-n64_hard-options, abi-n64_soft_2008-options)
33824 (abi-n64_hard_2008-options): Likewise.
33825 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33826 (abi-64-v1-options, abi-64-v2-options): Likewise.
33827 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33828 (abi-64-options): Likewise.
33829 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33830 (abi-64-options): Likewise.
33831 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33832 (abi-64-options): Likewise.
33833 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33834 (abi-64-options, abi-x32-options): Likewise.
33835
2dba5ce7
FW
338362017-08-28 Florian Weimer <fweimer@redhat.com>
33837
33838 Store supported list of SYS_* system calls in the source tree.
33839 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33840 (bits/syscall.h): Generate from list file.
33841 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33842 [$(subdir) = misc] (tests): Add tst-syscall-list.
33843 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33844 [$(subdir) = misc] (tst-syscall-list-macros.list)
33845 [$(subdir) = misc] (tst-syscall-list-nr.list)
33846 (tst-syscall-list-sys.list): Helper targets for new
33847 tst-syscall-list test.
33848 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33849 tst-syscall-list.sh.
33850 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33851 target. Do not include bits/syscall.d.
33852 [$(subdir) = misc] (generated): Do not update.
33853 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33854 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33855 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33856 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33857
5f3b183d
PP
338582017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33859
33860 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33861 (tst-cxa_atexit, tst-on_exit): Likewise.
33862 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33863 tst-cxa_atexit, and tst-on_exit.
33864 * stdlib/tst-atexit-common.c: New file.
33865 * stdlib/tst-atexit.c: New file.
33866 * stdlib/tst-at_quick_exit.c: New file.
33867 * stdlib/tst-cxa_atexit.c: New file.
33868 * stdlib/tst-on_exit.c: New file.
33869
2ef8d469
ST
338702017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33871
33872 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
33873 * mach/stack_chk_fail_local.c: New file.
33874 * hurd/stack_chk_fail_local.c: New file.
33875 * mach/Machrules ($(interface-library)-routines): Add
33876 stack_chk_fail_local.
99ee4d26
ST
33877 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33878 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33879 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33880 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33881 * hurd/Makefile (CFLAGS-hurdstartup.o,
33882 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 33883
7ab70c98
L
338842017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33885
33886 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33887 (index_cpu_*, index_arch_*): Removed.
33888
39e7a5a6
SN
338892017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33890
33891 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33892 Use uint64_t instead of unsigned long.
33893
bba5c930
JM
338942017-08-25 Joseph Myers <joseph@codesourcery.com>
33895
a6ccdb08
JM
33896 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33897 [__HAVE_DISTINCT_FLOAT128].
33898
23761119
JM
33899 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33900 of <bits/math-finite.h>.
33901 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33902 inclusion of <bits/math-finite.h>.
33903 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33904 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33905 __NO_LONG_DOUBLE_MATH].
33906 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33907 (__MATH_REDIRCALL_2): Likewise.
33908 (__MATH_REDIRCALL_INTERNAL): Likewise.
33909 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33910 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33911 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33912
bba5c930
JM
33913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33914 Remove file.
33915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33916 Likewise.
33917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33918 Likewise.
33919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33920 Likewise.
33921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33922 Likewise.
33923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33924 Likewise.
33925 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33926 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33927 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33928 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33930 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33931 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33932 w_sqrtf_compat-ppc32.
33933
3d7b66f6
GG
339342017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33935
33936 * math/math.h [defined __cplusplus] (issignaling): In the long
33937 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33938 is not defined. Call __issignaling, otherwise.
33939
ebd6f007
AZ
339402017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33941
33942 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33943 syscall definitions and replace __builtin_expect with __glibc_likely.
33944 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33945 syscall.
6b5c8607 33946 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
33947 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33948 definition.
33949 (PSEUDO_END): Likewise.
33950 [IS_IN (libpthread)] (CENABLE): Likewise.
33951 [IS_IN (libpthread)] (CDISABLE): Likewise.
33952 [IS_IN (libc)] (CENABLE): Likewise.
33953 [IS_IN (libc)] (CENABLE): Likewise.
33954 [IS_IN (librt)] (CDISABLE): Likewise.
33955 [IS_IN (librt)] (CDISABLE): Likewise.
33956 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33957 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33958 definition.
33959 (PSEUDO_END): Likewise.
33960 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33961 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33962 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33963 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33964 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33965 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33966 (CENABLE): Likewise.
33967 (CDISABLE): Likewise.
33968 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33969 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33970 defintion.
33971 (PSEUDO_END): Likewise.
33972 [IS_IN (libpthread)] (CENABLE): Likewise.
33973 [IS_IN (libpthread)] (CDISABLE): Likewise.
33974 [IS_IN (libc)] (CENABLE): Likewise.
33975 [IS_IN (libc)] (CENABLE): Likewise.
33976 [IS_IN (librt)] (CDISABLE): Likewise.
33977 [IS_IN (librt)] (CDISABLE): Likewise.
33978 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33979 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33980 definition.
33981 (PSEUDO_END): Likewise.
33982 [IS_IN (libpthread)] (CENABLE): Likewise.
33983 [IS_IN (libpthread)] (CDISABLE): Likewise.
33984 [IS_IN (libc)] (CENABLE): Likewise.
33985 [IS_IN (libc)] (CENABLE): Likewise.
33986 [IS_IN (librt)] (CDISABLE): Likewise.
33987 [IS_IN (librt)] (CDISABLE): Likewise.
33988 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33989 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33990 definition.
33991 (PSEUDO_END): Likewise.
33992 [IS_IN (libpthread)] (CENABLE): Likewise.
33993 [IS_IN (libpthread)] (CDISABLE): Likewise.
33994 [IS_IN (libc)] (CENABLE): Likewise.
33995 [IS_IN (libc)] (CENABLE): Likewise.
33996 [IS_IN (librt)] (CDISABLE): Likewise.
33997 [IS_IN (librt)] (CDISABLE): Likewise.
33998 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33999 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
34000 definition.
34001 (PSEUDO_END): Likewise.
34002 [IS_IN (libpthread)] (CENABLE): Likewise.
34003 [IS_IN (libpthread)] (CDISABLE): Likewise.
34004 [IS_IN (libc)] (CENABLE): Likewise.
34005 [IS_IN (libc)] (CENABLE): Likewise.
34006 [IS_IN (librt)] (CDISABLE): Likewise.
34007 [IS_IN (librt)] (CDISABLE): Likewise.
34008 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34009 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
34010 definition.
34011 (PSEUDO_END): Likewise.
34012 [IS_IN (libpthread)] (CENABLE): Likewise.
34013 [IS_IN (libpthread)] (CDISABLE): Likewise.
34014 [IS_IN (libc)] (CENABLE): Likewise.
34015 [IS_IN (libc)] (CENABLE): Likewise.
34016 [IS_IN (librt)] (CDISABLE): Likewise.
34017 [IS_IN (librt)] (CDISABLE): Likewise.
34018 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34019 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
34020 definition.
34021 (PSEUDO_END): Likewise.
34022 [IS_IN (libpthread)] (CENABLE): Likewise.
34023 [IS_IN (libpthread)] (CDISABLE): Likewise.
34024 [IS_IN (libc)] (CENABLE): Likewise.
34025 [IS_IN (libc)] (CENABLE): Likewise.
34026 [IS_IN (librt)] (CDISABLE): Likewise.
34027 [IS_IN (librt)] (CDISABLE): Likewise.
34028 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34029 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34030 Remove definition.
34031 (PSEUDO_END): Likewise.
34032 [IS_IN (libpthread)] (CENABLE): Likewise.
34033 [IS_IN (libpthread)] (CDISABLE): Likewise.
34034 [IS_IN (libc)] (CENABLE): Likewise.
34035 [IS_IN (libc)] (CENABLE): Likewise.
34036 [IS_IN (librt)] (CDISABLE): Likewise.
34037 [IS_IN (librt)] (CDISABLE): Likewise.
34038 (SINGLE_THREAD_P): Likewise.
34039 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34040 definition.
34041 (PSEUDO_END): Likewise.
34042 [IS_IN (libpthread)] (CENABLE): Likewise.
34043 [IS_IN (libpthread)] (CDISABLE): Likewise.
34044 [IS_IN (libc)] (CENABLE): Likewise.
34045 [IS_IN (libc)] (CENABLE): Likewise.
34046 [IS_IN (librt)] (CDISABLE): Likewise.
34047 [IS_IN (librt)] (CDISABLE): Likewise.
34048 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34049 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34050 definition.
34051 (PSEUDO_END): Likewise.
34052 [IS_IN (libpthread)] (CENABLE): Likewise.
34053 [IS_IN (libpthread)] (CDISABLE): Likewise.
34054 [IS_IN (libc)] (CENABLE): Likewise.
34055 [IS_IN (libc)] (CENABLE): Likewise.
34056 [IS_IN (librt)] (CDISABLE): Likewise.
34057 [IS_IN (librt)] (CDISABLE): Likewise.
34058 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34059 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34060 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34061 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34063 definition.
34064 (PSEUDO_END): Likewise.
34065 [IS_IN (libpthread)] (CENABLE): Likewise.
34066 [IS_IN (libpthread)] (CDISABLE): Likewise.
34067 [IS_IN (libc)] (CENABLE): Likewise.
34068 [IS_IN (libc)] (CENABLE): Likewise.
34069 [IS_IN (librt)] (CDISABLE): Likewise.
34070 [IS_IN (librt)] (CDISABLE): Likewise.
34071 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34073 definition.
34074 (PSEUDO_END): Likewise.
34075 [IS_IN (libpthread)] (CENABLE): Likewise.
34076 [IS_IN (libpthread)] (CDISABLE): Likewise.
34077 [IS_IN (libc)] (CENABLE): Likewise.
34078 [IS_IN (libc)] (CENABLE): Likewise.
34079 [IS_IN (librt)] (CDISABLE): Likewise.
34080 [IS_IN (librt)] (CDISABLE): Likewise.
34081 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34082 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34083 definition.
34084 (PSEUDO_END): Likewise.
34085 [IS_IN (libpthread)] (CENABLE): Likewise.
34086 [IS_IN (libpthread)] (CDISABLE): Likewise.
34087 [IS_IN (libc)] (CENABLE): Likewise.
34088 [IS_IN (libc)] (CENABLE): Likewise.
34089 [IS_IN (librt)] (CDISABLE): Likewise.
34090 [IS_IN (librt)] (CDISABLE): Likewise.
34091 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34094 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34095 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34096 definition.
34097 (PSEUDO_END): Likewise.
34098 [IS_IN (libpthread)] (CENABLE): Likewise.
34099 [IS_IN (libpthread)] (CDISABLE): Likewise.
34100 [IS_IN (libc)] (CENABLE): Likewise.
34101 [IS_IN (libc)] (CENABLE): Likewise.
34102 [IS_IN (librt)] (CDISABLE): Likewise.
34103 [IS_IN (librt)] (CDISABLE): Likewise.
34104 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34105 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34106 definition.
34107 (PSEUDO_END): Likewise.
34108 [IS_IN (libpthread)] (CENABLE): Likewise.
34109 [IS_IN (libpthread)] (CDISABLE): Likewise.
34110 [IS_IN (libc)] (CENABLE): Likewise.
34111 [IS_IN (libc)] (CENABLE): Likewise.
34112 [IS_IN (librt)] (CDISABLE): Likewise.
34113 [IS_IN (librt)] (CDISABLE): Likewise.
34114 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34115
8aa48656
SN
341162017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34117
34118 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34119
fcaaca41
L
341202017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34121
34122 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34123
376b40a2
L
341242017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34125
34126 [BZ #21982]
34127 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34128 middle and outer with size_t instead of int. Repleace %d and
34129 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34130 "MAX (outer, nchars - 64)" to support unsigned outer and
34131 nchars. Also exit loop when outer == 0.
34132
2b0b9a1c
AZ
341332017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34134
34135 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34136 * include/signal.h (__sigsuspend_nocancel): Likewise.
34137 * include/time.h (__nanosleep_nocancel): Likewise.
34138 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34139 * login/utmp_file.c: Include non cancellable syscall header.
34140 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34141 prototype.
34142
b9eaca8f
L
341432017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34144
34145 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34146 .byte sequences with AVX512F instructions.
34147 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34148 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34149 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34151 Likewise.
34152 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34153 Likewise.
34154
5a706f64
SE
341552017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34156 Steve Ellcey <sellcey@cavium.com>
34157
34158 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34159 Use PTR_REG macro in cmp instruction.
34160
b513da7e
GG
341612017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34162
34163 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34164 Change the return type of the ifunc resolver to match the return
34165 type of the target function.
34166
78ca091c
AZ
341672017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34168
b70b6026
AZ
34169 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34170 (preadv64): Likewise.
34171 (pwrite64(: Likewise.
34172 (pwritev64): Likewise.
34173
78ca091c
AZ
34174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34175 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34176 (LOAD_ARGS_0): Likewise.
34177 (LOAD_ARGS_1): Likewise.
34178 (LOAD_ARGS_2): Likewise.
34179 (LOAD_ARGS_3): Likewise.
34180 (LOAD_ARGS_4): Likewise.
34181 (LOAD_ARGS_5): Likewise.
34182 (LOAD_ARGS_6): Likewise.
34183 (LOAD_REGS_0): Likewise.
34184 (LOAD_REGS_1): Likewise.
34185 (LOAD_REGS_2): Likewise.
34186 (LOAD_REGS_3): Likewise.
34187 (LOAD_REGS_4): Likewise.
34188 (LOAD_REGS_5): Likewise.
34189 (LOAD_REGS_6): Likewise.
34190 (ASM_ARGS_0): Likewise.
34191 (ASM_ARGS_1): Likewise.
34192 (ASM_ARGS_2): Likewise.
34193 (ASM_ARGS_3): Likewise.
34194 (ASM_ARGS_4): Likewise.
34195 (ASM_ARGS_5): Likewise.
34196 (ASM_ARGS_6): Likewise.
34197 (LOAD_ARGS_TYPES_1): Likewise.
34198 (LOAD_ARGS_TYPES_2): Likewise.
34199 (LOAD_ARGS_TYPES_3): Likewise.
34200 (LOAD_ARGS_TYPES_4): Likewise.
34201 (LOAD_ARGS_TYPES_5): Likewise.
34202 (LOAD_ARGS_TYPES_6): Likewise.
34203 (LOAD_REGS_TYPES_1): Likewise.
34204 (LOAD_REGS_TYPES_2): Likewise.
34205 (LOAD_REGS_TYPES_3): Likewise.
34206 (LOAD_REGS_TYPES_4): Likewise.
34207 (LOAD_REGS_TYPES_5): Likewise.
34208 (LOAD_REGS_TYPES_6): Likewise.
34209 (TYPEFY): New define.
34210 (ARGIFY): Likewise.
34211 (internal_syscall0): Likewise.
34212 (internal_syscall1): Likewise.
34213 (internal_syscall2): Likewise.
34214 (internal_syscall3): Likewise.
34215 (internal_syscall4): Likewise.
34216 (internal_syscall5): Likewise.
34217 (internal_syscall6): Likewise.
34218 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34219 (INTERNAL_SYSCALL_NCS): Remove define.
34220 (internal_syscall1): Add define.
34221
453a493d
GG
342222017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34223
34224 * math/w_remainder_compat.c: Remove duplicate inclusion of
34225 math-svid-compat.h.
34226 * math/w_remainderf_compat.c: Likewise.
34227 * math/w_remainderl_compat.c: Likewise.
34228
f2f048a5
GG
342292017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34230
34231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34232
d9bef9c0
JM
342332017-08-22 Joseph Myers <joseph@codesourcery.com>
34234
34235 [BZ #21684]
34236 * math/tgmath.h (__floating_type): Simplify definitions.
34237 (__real_integer_type): New macro.
34238 (__complex_integer_type): Likewise.
34239 (__expr_is_real): Likewise.
34240 (__tgmath_real_type_sub): Update comment to describe handling of
34241 complex types.
34242 (__tgmath_complex_type_sub): New macro.
34243 (__tgmath_complex_type): Likewise.
34244 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34245 (__TGMATH_CF128): Use __expr_is_real.
34246 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34247 __expr_is_real.
34248 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34249 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34250 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34251 integer types.
34252
08d6eb46
AZ
342532017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34254
988f991b
AZ
34255 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34256 macro.
34257 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34258 alias.
34259 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34260 Likewise.
34261
6f33fd04
AZ
34262 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34263 nanosleep_not_cancel with __nanosleep_nocancel.
34264 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34265 (__nanosleep_nocancel): New macro.
34266 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34267 function.
34268 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34269 macro.
34270 (__nanosleep_nocancel): New prototype.
34271
08d6eb46
AZ
34272 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34273 pause_not_cancel with __pause_nocancel.
34274 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34275 (__pause_nocancel): New macro.
34276 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34277 macro.
34278 (__pause_nocancel): New prototype.
34279 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34280
ee4e992e
MS
342812017-08-22 Martin Sebor <msebor@redhat.com>
34282
34283 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34284 to return a pointer to the same type as the target function.
34285
20962acb
L
342862017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34287
34288 [BZ #18822]
34289 [BZ #21986]
34290 * include/printf.h (__printf_fphex): Add attribute_hidden.
34291 (__guess_grouping): New prototype.
34292 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34293 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34294 libc_hidden_proto and libc_hidden_def.
34295 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34296 (__vstrfmon_l): Remove the third argument passed to
34297 __guess_grouping.
34298
a16e8bc0
GG
342992017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34300
34301 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34302 definition for issignaling that does not rely on __MATH_TG,
34303 since __MATH_TG uses __builtin_types_compatible_p, which is only
34304 available in C mode.
34305 (CFLAGS-test-math-issignaling.cc): New variable.
34306 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34307 * math/test-math-issignaling.cc: New test for C++ implementation
34308 of type-generic issignaling.
34309 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34310 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34311 options of test-math-issignaling on powerpc64le.
34312
8d2ec553
L
343132017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34314
34315 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34316 building libc.a.
34317 (hidden_proto): Likewise.
34318 (hidden_tls_proto): Likewise.
34319 (__hidden_proto): Likewise.
34320
a4d57b79
FW
343212017-08-22 Florian Weimer <fweimer@redhat.com>
34322
34323 math: Statically link tests of internal functionality.
34324 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34325 atest-exp2.
34326 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34327 (gmp-objs): Remove assignment.
34328 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34329
75dfe623
JM
343302017-08-22 Joseph Myers <joseph@codesourcery.com>
34331
80f91666
JM
34332 [BZ #21987]
34333 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34334 and copy to ...
34335 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34336 ... here.
34337 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34338 ... and here.
34339
75dfe623
JM
34340 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34341 variable definitions above inclusion of ../Rules.
34342
ea99fcd0
JM
343432017-08-21 Joseph Myers <joseph@codesourcery.com>
34344
34345 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34346 case calling __builtin_unreachable.
34347
19926de9
AZ
343482017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34349
a8410a5f
AZ
34350 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34351 __waitpid_nocancel.
34352 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34353 (__waitpid_nocancel): New macro.
34354 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34355 macro.
34356 (__waitpid_nocancel): Replace macro with a function.
34357 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34358 function.
34359
7369800c
AZ
34360 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34361 __fcntl_nocancel.
34362 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34363 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34364
19926de9
AZ
34365 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34366 __writev_nocancel_nostatus.
34367 (write_call_graph): Likewise.
34368 (write_bb_counts): Likewise.
34369 * resolv/herror.c (herror): Likewise.
34370 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34371 macro.
34372 (__writev_nocancel_nostatus): New macro.
34373 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34374 Remove macro.
34375 (__writev_nocancel_nostatus): New function.
34376
813378e9
JM
343772017-08-21 Joseph Myers <joseph@codesourcery.com>
34378
df1deda6
JM
34379 Revert:
34380 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34381
34382 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34383 building libc.a.
34384 (hidden_proto): Likewise.
34385 (hidden_tls_proto): Likewise.
34386 (__hidden_proto): Likewise.
34387
831bbd55
JM
34388 [BZ #21973]
34389 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34390 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34392 Likewise.
34393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34394 Likewise.
34395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34396 Likewise.
34397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34398 Likewise.
34399 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34401 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34402 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34403 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34404 GLIBC_2.0 sqrtl symbol.
34405
813378e9
JM
34406 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34407 [__USE_MISC] (_LIB_VERSION): Likewise.
34408 [__USE_MISC] (struct exception): Likewise.
34409 [__USE_MISC] (matherr): Likewise.
34410 [__USE_MISC] (DOMAIN): Likewise.
34411 [__USE_MISC] (SING): Likewise.
34412 [__USE_MISC] (OVERFLOW): Likewise.
34413 [__USE_MISC] (UNDERFLOW): Likewise.
34414 [__USE_MISC] (TLOSS): Likewise.
34415 [__USE_MISC] (PLOSS): Likewise.
34416 [__USE_MISC] (HUGE): Likewise.
34417 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34418 * math/math-svid-compat.h: New file.
34419 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34420 and matherrl.
34421 * include/math.h [!_ISOMAC] (__matherr): Remove.
34422 * manual/arith.texi (FP Exceptions): Do not document matherr.
34423 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34424 (tests-internal): New variable.
34425 (install-lib): Do not add libieee.a.
34426 (non-lib.a): Likewise.
34427 (extra-objs): Do not add libieee.a and ieee-math.o.
34428 (CPPFLAGS-s_lib_version.c): Remove variable.
34429 ($(objpfx)libieee.a): Remove rule.
34430 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34431 * math/ieee-math.c: Remove.
34432 * math/libm-test-support.c (matherr): Remove.
34433 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34434 and license notices. Include <math-svid-compat.h> and
34435 <shlib-compat.h>.
34436 (matherr): Undefine as macro. Use compat_symbol_reference.
34437 (_LIB_VERSION): Likewise.
34438 * math/test-matherr-2.c: New file.
34439 * math/test-matherr-3.c: Likewise.
34440 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34441 declaration.
34442 (__kernel_standard_f): Likewise.
34443 (__kernel_standard_l): Likewise.
34444 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34445 <math_private.h>. Include <math-svid-compat.h>.
34446 (_LIB_VERSION): Undefine as macro.
34447 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34448 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34449 [LIBM_SVID_COMPAT], use compat_symbol.
34450 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34451 <math_private.h>. Include <math-svid-compat.h>.
34452 (matherr): Undefine as macro.
34453 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34454 compat_symbol.
34455 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34456 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34457 compat_symbol_reference.
34458 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34459 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34460 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34461 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34462 (MATHERR_D): Remove declaration.
34463 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34464 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34465 [LIBM_BUILD] (pmatherrf): Likewise.
34466 [LIBM_BUILD] (pmatherr): Likewise.
34467 [LIBM_BUILD] (pmatherrl): Likewise.
34468 (DOMAIN): Likewise.
34469 (SING): Likewise.
34470 (OVERFLOW): Likewise.
34471 (UNDERFLOW): Likewise.
34472 (TLOSS): Likewise.
34473 (PLOSS): Likewise.
34474 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34475 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34476 compat_symbol.
34477 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34478 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34479 compat_symbol.
34480 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34481 * math/w_acos_compat.c: Likewise.
34482 * math/w_acosf_compat.c: Likewise.
34483 * math/w_acosh_compat.c: Likewise.
34484 * math/w_acoshf_compat.c: Likewise.
34485 * math/w_acoshl_compat.c: Likewise.
34486 * math/w_acosl_compat.c: Likewise.
34487 * math/w_asin_compat.c: Likewise.
34488 * math/w_asinf_compat.c: Likewise.
34489 * math/w_asinl_compat.c: Likewise.
34490 * math/w_atan2_compat.c: Likewise.
34491 * math/w_atan2f_compat.c: Likewise.
34492 * math/w_atan2l_compat.c: Likewise.
34493 * math/w_atanh_compat.c: Likewise.
34494 * math/w_atanhf_compat.c: Likewise.
34495 * math/w_atanhl_compat.c: Likewise.
34496 * math/w_cosh_compat.c: Likewise.
34497 * math/w_coshf_compat.c: Likewise.
34498 * math/w_coshl_compat.c: Likewise.
34499 * math/w_exp10_compat.c: Likewise.
34500 * math/w_exp10f_compat.c: Likewise.
34501 * math/w_exp10l_compat.c: Likewise.
34502 * math/w_exp2_compat.c: Likewise.
34503 * math/w_exp2f_compat.c: Likewise.
34504 * math/w_exp2l_compat.c: Likewise.
34505 * math/w_fmod_compat.c: Likewise.
34506 * math/w_fmodf_compat.c: Likewise.
34507 * math/w_fmodl_compat.c: Likewise.
34508 * math/w_hypot_compat.c: Likewise.
34509 * math/w_hypotf_compat.c: Likewise.
34510 * math/w_hypotl_compat.c: Likewise.
34511 * math/w_j0_compat.c: Likewise.
34512 * math/w_j0f_compat.c: Likewise.
34513 * math/w_j0l_compat.c: Likewise.
34514 * math/w_j1_compat.c: Likewise.
34515 * math/w_j1f_compat.c: Likewise.
34516 * math/w_j1l_compat.c: Likewise.
34517 * math/w_jn_compat.c: Likewise.
34518 * math/w_jnf_compat.c: Likewise.
34519 * math/w_jnl_compat.c: Likewise.
34520 * math/w_lgamma_main.c: Likewise.
34521 * math/w_lgamma_r_compat.c: Likewise.
34522 * math/w_lgammaf_main.c: Likewise.
34523 * math/w_lgammaf_r_compat.c: Likewise.
34524 * math/w_lgammal_main.c: Likewise.
34525 * math/w_lgammal_r_compat.c: Likewise.
34526 * math/w_log10_compat.c: Likewise.
34527 * math/w_log10f_compat.c: Likewise.
34528 * math/w_log10l_compat.c: Likewise.
34529 * math/w_log2_compat.c: Likewise.
34530 * math/w_log2f_compat.c: Likewise.
34531 * math/w_log2l_compat.c: Likewise.
34532 * math/w_log_compat.c: Likewise.
34533 * math/w_logf_compat.c: Likewise.
34534 * math/w_logl_compat.c: Likewise.
34535 * math/w_pow_compat.c: Likewise.
34536 * math/w_powf_compat.c: Likewise.
34537 * math/w_powl_compat.c: Likewise.
34538 * math/w_remainder_compat.c: Likewise.
34539 * math/w_remainderf_compat.c: Likewise.
34540 * math/w_remainderl_compat.c: Likewise.
34541 * math/w_scalb_compat.c: Likewise.
34542 * math/w_scalbf_compat.c: Likewise.
34543 * math/w_scalbl_compat.c: Likewise.
34544 * math/w_sinh_compat.c: Likewise.
34545 * math/w_sinhf_compat.c: Likewise.
34546 * math/w_sinhl_compat.c: Likewise.
34547 * math/w_sqrt_compat.c: Likewise.
34548 * math/w_sqrtf_compat.c: Likewise.
34549 * math/w_sqrtl_compat.c: Likewise.
34550 * math/w_tgamma_compat.c: Likewise.
34551 * math/w_tgammaf_compat.c: Likewise.
34552 * math/w_tgammal_compat.c: Likewise.
34553 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34554 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34555 * sysdeps/ieee754/k_standard.c: Likewise.
34556 * sysdeps/ieee754/k_standardf.c: Likewise.
34557 * sysdeps/ieee754/k_standardl.c: Likewise.
34558 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34560 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34561 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34562 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34564 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34565 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34566 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34568 Likewise.
34569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34570 Likewise.
34571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34573 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34574 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34575
4504783c
FW
345762017-08-21 Florian Weimer <fweimer@redhat.com>
34577
34578 [BZ #21864]
34579 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34580 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34581 Move before inclusion of ../Rules.
34582
b5889d25
FW
345832017-08-21 Florian Weimer <fweimer@redhat.com>
34584
34585 [BZ #21972]
34586 * assert/assert.h (assert): Use static_cast (bool) for C++.
34587 Use the ternary operator in the warning branch for GNU C.
34588 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34589 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34590 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34591 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34592 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34593
41e673c1
L
345942017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34595
34596 [BZ #18822]
34597 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34598 (__syscall_clock_gettime): Add attribute_hidden.
34599 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34600 (__start_context): Likewise.
34601
568ff429
L
346022017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34603
34604 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34605 building libc.a.
34606 (hidden_proto): Likewise.
34607 (hidden_tls_proto): Likewise.
34608 (__hidden_proto): Likewise.
34609
7c41b4a1
L
346102017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34611
34612 * include/libc-symbols.h (attribute_hidden): Enable hidden
34613 visibility in libc.a compiled with PIE.
34614
483d7068
L
346152017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34616
34617 [BZ #18822]
34618 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34619 Add attribute_hidden.
34620
346212017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34622
34623 [BZ #21864]
34624 * Makerules (all-nonlib): Add $(others-extras).
34625 * catgets/Makefile (others-extras): New.
34626 * elf/Makefile (others-extras): Likewise.
34627 * nss/Makefile (others-extras): Likewise.
34628
54e4b8f2
L
346292017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 [BZ #18822]
34632 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34633 * elf/dl-open.c: Include <libc-internal.h>.
34634 (__libc_multiple_libcs): Removed.
34635 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34636 <hp-timing.h>.
34637 * include/libc-internal.h (__libc_multiple_libcs): New.
34638 * misc/sbrk.c: Include <libc-internal.h>.
34639 (__libc_multiple_libcs): Removed.
34640
1dbbb1ec
L
346412017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34642
34643 [BZ #18822]
34644 * grp/initgroups.c (__nss_group_database): Removed.
34645 (__nss_initgroups_database): Likewise.
34646 * nscd/gai.c (__nss_hosts_database): Likewise.
34647 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34648 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34649 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34650 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34651 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34652 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34653 attribute_hidden.
34654 * nss/nsswitch.c (__nss_database_custom): Define only if
34655 USE_NSCD is defined.
34656 (__nss_configure_lookup): Use __nss_database_custom only if
34657 USE_NSCD is defined.
34658 * nss/nsswitch.h (__nss_database_custom): Declare only if
34659 USE_NSCD is defined. Add attribute_hidden.
34660 (__nss_setent): Add attribute_hidden.
34661 (__nss_endent): Likewise.
34662 (__nss_getent_r): Likewise.
34663 (__nss_getent): Likewise.
34664 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34665
2585d7b8
L
346662017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34667
34668 [BZ #18822]
34669 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34670 libc_hidden_proto and libc_hidden_def.
34671
c8dfa99c
L
346722017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34673
34674 [BZ #18822]
34675 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34676 Add libc_hidden_proto.
34677 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34678 Add libc_hidden_def.
34679
7ed87317
L
346802017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34681
34682 [BZ #21974]
34683 * gmon/Makefile (routines): Remove bb_init_func and
34684 bb_exit_func.
34685 (elide-routines.os): Removed.
9476b904
L
34686 * gmon/bb_exit_func.c: Likewise.
34687 * gmon/bb_init_func.c: Likewise.
7ed87317
L
34688 * include/sys/gmon.h (__bb): Likewise.
34689 (__bb_init_func): Likewise.
34690 (__bb_exit_func): Likewise.
91695eb1 34691 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 34692
94e6ba15
L
346932017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34694
34695 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34696 * include/setjmp.h (____longjmp_chk): Here. Add
34697 attribute_hidden.
34698
7550717e
L
346992017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34700
34701 [BZ #18822]
34702 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34703 attribute_hidden.
34704 (__strspn_sse2): Likewise.
34705
0bb2fabc
AZ
347062017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34707
c181840c
AZ
34708 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34709 (close_not_cancel_no_status): Likewise.
34710 (__close_nocancel): New macro.
34711 (__close_nocancel_nostatus): Likewise.
34712 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34713 macro.
34714 (close_not_cancel): Likewise.
34715 (close_not_cancel_no_status): Likewise.
34716 (__close_nocancel): New prototype.
34717 (__close_nocancel_nostatus): New function.
34718 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34719 * catgets/open_catalog.c (__open_catalog): Replace
34720 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34721 * gmon/gmon.c (write_gmon): Likewise.
34722 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34723 * intl/loadmsgcat.c (close): Likewise.
34724 * io/ftw.c (open_dir_stream): Likewise.
34725 (ftw_startup): Likewise.
34726 * libio/fileops.c (_IO_file_open): Likewise.
34727 (_IO_file_close_mmap): Likewise.
34728 (_IO_file_close): Likewise.
34729 * libio/iopopen.c (_IO_dup2): Likewise.
34730 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34731 * locale/loadlocale.c (_nl_load_locale): Likewise.
34732 * login/utmp_file.c (pututline_file): Likewise.
34733 (endutent_file): Likewise.
34734 * misc/daemon.c (daemon): Likewise.
34735 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34736 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34737 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34738 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34740 * nscd/nscd_helper.c (open_socket): Likewise.
34741 (__nscd_open_socket): Likewise.
34742 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34743 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34744 (__nscd_innetgr): Likewise.
34745 * nss/nss_db/db-open.c (internal_setent): Likewise.
34746 * resolv/res-close.c (__res_iclose): Likewise.
34747 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34748 * sysdeps/posix/closedir.c (__closedir): Likewise.
34749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34750 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34751 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34752 (opendir_tail): Likewise.
34753 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34754 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34755 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34756 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34757 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34758 (gethostid): Likewise.
34759 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34760 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34761 Likewise.
34762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34763 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34764 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34765 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34766 Likewise.
34767 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34768 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34769 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34770 Likewise.
34771 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34772 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34773 Likewise.
34774 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34775 Likewise.
34776 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34777 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34778 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34779 __close_nocancel.
34780
0bb2fabc
AZ
34781 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34782 (openat_not_cancel_3): Likewise.
34783 (openat64_not_cancel_3): Likewise).
34784 (openat_not_cancel_3): Likewise).
34785 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34786 macro.
34787 (openat_not_cancel_3): Likewise.
34788 (openat64_not_cancel): Likewise.
34789 (openat64_not_cancel_3): Likewise.
34790 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34791 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34792 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34793 __open{64}_nocancel.
34794 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34795 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34796 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34797
65a086db
L
347982017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34799
34800 [BZ #18822]
34801 * include/argz.h (__argz_create_sep): New function prototype.
34802 (__argz_append): Likewise.
34803 (__argz_add): Likewise.
34804 (__argz_add_sep): Likewise.
34805 (__argz_delete): Likewise.
34806 (__argz_insert): Likewise.
34807 (__argz_replace): Likewise.
34808 * string/argz.h (__argz_create_sep): Removed.
34809 (__argz_append): Likewise.
34810 (__argz_add): Likewise.
34811 (__argz_add_sep): Likewise.
34812 (__argz_delete): Likewise.
34813 (__argz_insert): Likewise.
34814 (__argz_replace): Likewise.
34815
62753d2c
L
348162017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34817
34818 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34819 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34820 (GNU_PROPERTY_STACK_SIZE): Likewie.
34821 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34822 (GNU_PROPERTY_LOPROC): Likewise.
34823 (GNU_PROPERTY_HIPROC): Likewise.
34824 (GNU_PROPERTY_LOUSER): Likewise.
34825 (GNU_PROPERTY_HIUSER): Likewise.
34826 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34827 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34828 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34829 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34830 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34831 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34832 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34833 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34834 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34835 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34836 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34837 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34838 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34839 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34840 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34841 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34842 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34843 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34844 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34845 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34846 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34847 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34848 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34849
6913ad65
GG
348502017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34851
34852 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34853 in C++ mode.
34854
47a67213
GG
348552017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34856
34857 [BZ #21930]
34858 * math/math.h (isinf): Check if in C or C++ mode before using
34859 __builtin_types_compatible_p, since this is a C mode feature.
34860
a748eb31
AZ
348612017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34862
c647fb88
AZ
34863 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34864 (__write_nocancel): New macro.
34865 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34866 Rewrite as a function prototype.
34867 (write_not_cancel): Remove macro.
34868 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34869 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34870 (write_gmon): Likewise.
34871 * libio/fileops.c (_IO_new_file_write): Likewise.
34872 * login/utmp_file.c (pututline_file): Likewise.
34873 (updwtmp_file): Likewise.
34874 * stdio-common/psiginfo.c (psiginfo): Likewise.
34875 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34876 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34877 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34878 Likewise.
34879 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34880 Likewise.
34881
a748eb31
AZ
34882 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34883 (__read_nocancel): New macro.
34884 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34885 __read_nocancel.
34886 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34887 macro.
34888 (__read_nocancel): New prototype.
34889 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34890 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34891 with __read_nocancel.
34892 * intl/loadmsgcat.c (read): Likewise.
34893 * libio/fileops.c (_IO_file_read): Likewise.
34894 * locale/loadlocale.c (_nl_load_locale): Likewise.
34895 * login/utmp_file.c (getutent_r_file): Likewise.
34896 (internal_getut_r): Likewise.
34897 (getutline_r_file): Likewise.
34898 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34899 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34900 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34902 Likewise.
34903 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34904 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34905 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34906 Likewise.
34907 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34908 Likewise.
34909 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34910 Likewise.
34911 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34912 Likewise.
34913 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34914
098b9dd4
L
349152017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34916
34917 [BZ #21966]
34918 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34919 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34920 usable.
34921
a3fe6a20
DD
349222017-08-17 DJ Delorie <dj@redhat.com>
34923
34924 * bug17079.c: Update to new test harness.
34925 * test-digits-dots.c: Likewise.
34926 * test-netdb.c: Likewise.
34927 * tst-field.c: Likewise.
34928 * tst-nss-getpwent.c: Likewise.
34929 * tst-nss-static.c: Likewise.
34930 * tst-nss-test1.c: Likewise.
34931 * tst-nss-test2.c: Likewise.
34932 * tst-nss-test3.c: Likewise.
34933 * tst-nss-test4.c: Likewise.
34934 * tst-nss-test5.c: Likewise.
34935
c2284574
AZ
349362017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34937
34938 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34939 (open_not_cancel_2): Likewise.
34940 (open_nocancel): New macro.
34941 (open64_nocancel): Likewise.
34942 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34943 (open_not_cancel_2): Likewise.
34944 (__open_nocancel): New prototype.
34945 (__open64_nocancel): Likewise.
34946 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34947 __open_nocancel.
34948 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34949 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34950 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34951 with __open_nocancel.
34952 * csu/check_fds.c (check_one_fd): Likewise.
34953 * gmon/gmon.c (write_gmon): Likewise.
34954 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34955 * intl/loadmsgcat.c (open): Likewise.
34956 * libio/fileops.c (_IO_file_open): Likewise.
34957 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34958 * locale/loadlocale.c (_nl_load_locale): Likewise.
34959 * login/utmp_file.c (setutent_file): Likewise.
34960 * misc/daemon.c (daemon): Likewise.
34961 * nss/nss_db/db-open.c (internal_setent): Likewise.
34962 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34963 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34964 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34965 (__opendir): Likewise.
34966 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34967 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34968 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34969 (gethostid): Likewise.
34970 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34971 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34972 Likewise.
34973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34974 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34975 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34976 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34977 Likewise.
34978 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34979 Likewise.
34980 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34981 Likewise.
34982 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34983 Likewise.
34984 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34985 Likewise.
34986 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34987 Likewise.
34988 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34989 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34990
d4505b89
WD
349912017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34992
34993 * benchtests/bench-skeleton.c (main): Add support for
34994 latency benchmarking.
34995 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34996
34d6a3cb
L
349972017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34998
34999 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
35000 the startup object.
35001
038d1caf
FW
350022017-08-17 Florian Weimer <fweimer@redhat.com>
35003
35004 * include/sys/socket.h (__opensock): Remove internal_function.
35005 * socket/opensock.c (__opensock): Likewise.
35006 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
35007
67f0aff0
JM
350082017-08-16 Joseph Myers <joseph@codesourcery.com>
35009
35010 [BZ #21944]
35011 * signal/bits/types/__sigval_t.h: New file.
35012 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
35013 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
35014 and define sigval_t using __sigval_t.
35015 * include/bits/types/__sigval_t.h: New file.
35016 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
35017 instead of <bits/types/__sigval_t.h>.
35018 (struct sigevent): Use __sigval_t instead of sigval_t.
35019 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
35020 instead of <bits/types/__sigval_t.h>.
35021 (siginfo_t): Use __sigval_t instead of sigval_t.
35022 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
35023 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35024 (struct sigevent): Use __sigval_t instead of sigval_t.
35025 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35026 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35027 (siginfo_t): Use __sigval_t instead of sigval_t.
35028 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35029
87e7bf4d
L
350302017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35031
35032 * NEWS: Remove "[Add new features here]" for 2.27.
35033
5047057f
JM
350342017-08-16 Joseph Myers <joseph@codesourcery.com>
35035
35036 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35037 libc.so.
35038
20c7b195
L
350392017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35040
35041 * NEWS: Mention x86-64 FMA optimization.
35042
24a2e658
L
350432017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35044
35045 [BZ #21912]
35046 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35047 Add e_expf-fma.
35048 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35049 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35050 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35051
eedca977
AS
350522017-08-16 Andreas Schwab <schwab@suse.de>
35053
403143e1
FW
35054 [BZ #16750]
35055 CVE-2009-5064
eedca977
AS
35056 * elf/ldd.bash.in: Never run file directly.
35057
f59f7adb
L
350582017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35059
35060 [BZ #21955]
35061 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35062 (L(SP_INF_0)): Likewise.
35063
6b11a6ad
FW
350642017-08-15 Florian Weimer <fweimer@redhat.com>
35065
35066 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35067 run-built-tests.
35068
bbf5c438
FW
350692017-08-15 Florian Weimer <fweimer@redhat.com>
35070
35071 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35072 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35073 BROKEN_THREAD_SIGNALS code.
35074 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35075 request_list): Remove caller_pid member used for
35076 BROKEN_THREAD_SIGNALS.
35077 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35078 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35079 Remove BROKEN_THREAD_SIGNALS support.
35080 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35081 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35082
6014c65d
FW
350832017-08-15 Florian Weimer <fweimer@redhat.com>
35084
35085 * gmon/Makefile (tests): Add tst-gmon.
35086 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35087 Set.
35088 (tests-special): Add tst-gmon-prof.out.
35089 (tst-gmon.out): Depend on clean-tst-gmon-data.
35090 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35091 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35092 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35093 startup object.
35094 * aclocal.m4 (GPROF): Set and substitute.
35095 * config.amke.in (GPROF): Set.
35096 * configure: Regenerate.
35097
ee72219a
GR
350982017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35099
35100 * elf/elf.h A (NT_PPC_TAR): New macro.
35101 (NT_PPC_PPR): Likewise.
35102 (NT_PPC_DSCR): Likewise.
35103 (NT_PPC_EBB): Likewise.
35104 (NT_PPC_PMU): Likewise.
35105 (NT_PPC_TM_CGPR): Likewise.
35106 (NT_PPC_TM_CFPR): Likewise.
35107 (NT_PPC_TM_CVMX): Likewise.
35108 (NT_PPC_TM_CVSX): Likewise.
35109 (NT_PPC_TM_SPR): Likewise.
35110 (NT_PPC_TM_CTAR): Likewise.
35111 (NT_PPC_TM_CPPR): Likewise.
35112 (NT_PPC_TM_CDSCR): Likewise.
35113
4ebf934e
FW
351142017-08-15 Florian Weimer <fweimer@redhat.com>
35115
35116 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35117 regparm (2) instead of internal_function.
35118 (_MCOUNT_DECL): Adjust.
35119
e9f57484
SL
351202017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35121
35122 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35123 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35124
88ff4d55
JM
351252017-08-14 Joseph Myers <joseph@codesourcery.com>
35126
35127 * conform/data/sys/wait.h-data (si_value): Do not expect for
35128 XPG42.
35129
c88ffc23
FW
351302017-08-14 Florian Weimer <fweimer@redhat.com>
35131
35132 [BZ #21962]
35133 NSS: Create stubs for accidentally exported lookup functions.
35134 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35135 Remove declaration.
35136 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35137 (ether_hostton): Call __nss_ethers_lookup2 instead.
35138 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35139 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35140 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35141 (setup): Call __nss_netgroup_lookup2 instead.
35142 * nss/Makefile (routines): Add compat-lookup.
35143 * nss/Versions (GLIBC_2.27): Add symbol version.
35144 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35145 (DB_COMPAT_FCT): Remove.
35146 * nss/compat-lookup.c: New file.
35147 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35148 from databases.def.
35149 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35150 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35151 (netname2user): Call __nss_publickey_lookup2 instead.
35152 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35153 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35154 instead.
35155
35a29136 351562017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
35157 Sergei Trofimovich <slyfox@inbox.ru>
35158
35159 [BZ #21908]
35160 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35161 Rename to MMAP2_PAGE_UNIT.
35162 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35163 __OFF_T_MATCHES_OFF64_T is not defined.
35164 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35165 uint64_t.
35166 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35167 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35168
fbdc1e3e
FW
351692017-08-14 Florian Weimer <fweimer@redhat.com>
35170
35171 i386: Do not set internal_function.
35172 * config.h.in (USE_REGPARMS, internal_function): Remove.
35173 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35174 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35175
b3f85fd2
FW
351762017-08-14 Florian Weimer <fweimer@redhat.com>
35177
35178 * elf/dl-init.c (_dl_init): Remove internal_function.
35179 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35180 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35181
630bf491
FW
351822017-08-14 Florian Weimer <fweimer@redhat.com>
35183
35184 * elf/rtld.c (_dl_start): Remove internal_function.
35185 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35186 _dl_start.
35187
9fa7449b
FW
351882017-08-14 Florian Weimer <fweimer@redhat.com>
35189
35190 * elf/dl-fini.c (_dl_fini): Remove internal_function
35191 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35192
73322d5f
L
351932017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35194
d863cd71 35195 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
35196 (bit_cpu_SHSTK): Likewise.
35197 (index_cpu_IBT): Likewise.
35198 (index_cpu_SHSTK): Likewise.
35199 (reg_IBT): Likewise.
35200 (reg_SHSTK): Likewise.
35201 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35202 Handle index_cpu_IBT and index_cpu_SHSTK.
35203
dbc303ef
MF
352042017-08-14 Mike FABIAN <mfabian@redhat.com>
35205
35206 [BZ #19982]
35207 * po/fr.po: Fix spelling mistake.
35208
3012cfb0
FW
352092017-08-13 Florian Weimer <fweimer@redhat.com>
35210
35211 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35212 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35213 (_dl_catch_error, _dl_receive_error): Likewise.
35214 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35215 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35216 (_dl_deallocate_tls): Likewise.
35217 * include/dlfcn.h (_dl_addr): Likewise.
35218 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35219 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35220 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35221 Likewise.
35222
52bcdf26
FW
352232017-08-13 Florian Weimer <fweimer@redhat.com>
35224
35225 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35226 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35227 internal_function.
35228 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35229
e1d2ae8d
FW
352302017-08-13 Florian Weimer <fweimer@redhat.com>
35231
35232 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35233 internal_function.
35234 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35235 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35236 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35237 internal_function from _dl_make_stack_executable_hook member.
35238 (_dl_make_stack_executable): Remove internal_function.
35239 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35240 Likewise.
35241 * sysdeps/unix/sysv/linux/dl-execstack.c
35242 (_dl_make_stack_executable): Likewise.
35243
c4ce0382
FW
352442017-08-13 Florian Weimer <fweimer@redhat.com>
35245
35246 * sysdeps/unix/sysv/linux/netlinkaccess.h
35247 (__netlink_assert_response): Remove internal_function.
35248 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35249 (__netlink_assert_response): Likewise.
35250
c4d767f7
FW
352512017-08-13 Florian Weimer <fweimer@redhat.com>
35252
35253 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35254 internal_function.
35255 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35256
b2297409
FW
352572017-08-13 Florian Weimer <fweimer@redhat.com>
35258
35259 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35260 internal_function.
35261 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35262 * inet/netgroup.h (__internal_setnetgrent)
35263 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35264 * inet/getnetgrent_r.c (__internal_setnetgrent)
35265 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35266 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35267 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35268 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35269 * nss/nsswitch.h (db_lookup_function): Likewise.
35270
1b0bfc69
FW
352712017-08-13 Florian Weimer <fweimer@redhat.com>
35272
35273 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35274 Remove internal_function.
35275 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35276 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35277 message argument on the stack.
35278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35279 Likeweise.
35280
a6bd8722
MF
352812017-08-12 Mike FABIAN <mfabian@redhat.com>
35282
35283 Adapt test case data to the changes in the thousands
35284 separators.
35285
35286 [BZ #20756]
35287 * localedata/tst-langinfo.sh: Adapt test case data.
35288 * stdlib/tst-strfmon_l.c: Likewise.
35289 * stdlib/tst-strtod4.c: Likewise.
35290 * stdlib/tst-strtod5i.c: Likewise.
35291
8b2c63e4
FW
352922017-08-11 Florian Weimer <fweimer@redhat.com>
35293
35294 [BZ #21242]
35295 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35296 Suppress pedantic warning resulting from statement expression.
35297 (__ASSERT_FUNCTION): Add missing __extension__.
35298
61c98291
SP
352992017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35300
86c6519e
SP
35301 * benchtests/bench-memmove-large.c: Print output in JSON
35302 format.
35303 * benchtests/bench-memmove.c: Likewise.
35304
61c98291
SP
35305 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35306 * benchtests/bench-memchr.c (do_one_test): Likewise.
35307 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35308 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35309 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35310 * benchtests/bench-memmove.c (do_one_test): Likewise.
35311 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35312 * benchtests/bench-memset.c (do_one_test): Likewise.
35313 * benchtests/bench-string.h (test_init): Remove memsets.
35314
925733a9
RJ
353152017-08-10 Rical Jasan <ricaljasan@pacific.net>
35316
35317 * manual/lang.texi
35318 (Computing the Width of an Integer Data Type): Rename section to
35319 "Width of an Integer Type". Remove inaccurate statement regarding
35320 lack of C language facilities for determining width of integer
35321 types, and reorder content to improve flow and context of
35322 discussion.
35323
4fcdfbfc
RJ
353242017-08-10 Rical Jasan <ricaljasan@pacific.net>
35325
35326 * lang.texi (va_copy): Change standard from ISO to C99.
35327 (__va_copy): Add standard and header annotation.
35328 Update description for clarity of origins and current use.
35329
4d98ace9
GG
353302017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35331
35332 [BZ #21941]
35333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35334 xssqrtqp requires operands to be in Vector Registers
35335 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35336 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35337 (__ieee754_sqrtf128): Likewise.
35338
92236903
WD
353392017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35340
35341 * sysdeps/aarch64/memcmp.S (memcmp):
35342 Rewrite of optimized memcmp.
35343
2449ae7b
FW
353442017-08-10 Florian Weimer <fweimer@redhat.com>
35345
35346 Introduce ld.so exceptions.
35347 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35348 (_dl_exception_create, _dl_exception_create_format)
35349 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35350 (_dl_catch_exception): Declare.
35351 (_dl_catch_error): Update comment.
35352 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35353 errstring, malloced members with exception member.
35354 (_dl_out_of_memory): Remove.
35355 (fatal_error): New function, extracted from _dl_signal_error.
35356 (_dl_signal_exception, _dl_signal_cexception): New functions.
35357 (_dl_signal_error): Call _dl_exception_create to allocate an
35358 exception object.
35359 (_dl_catch_exception): New function, based on _dl_catch_error.
35360 (_dl_catch_error): Implement using _dl_catch_exception.
35361 * elf/dl-exception.c: New file.
35362 * elf/Makefile (dl-routines): Add dl-exception.
35363 (elide-routines.os): Likewise.
35364 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35365 _dl_exception_create_format, _dl_exception_free.
35366 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35367 _dl_signal_exception.
35368 * elf/dl-lookup.c (make_string): Remove.
35369 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35370 _dl_signal_cexception, _dl_exception_free.
35371 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35372 _dl_signal_exception.
35373 * elf/dl-sym.c (do_sym): Likewise.
35374 * elf/dl-version.c (make_string): Remove.
35375 (match_symbol): Use _dl_exception_create_format,
35376 _dl_signal_cexception, _dl_exception_free.
35377 (_dl_check_map_versions): Likewise.
35378 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35379 _dl_catch_exception.
35380 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35381 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35382 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35383 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35384 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35385 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35386 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35387 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35388 Likewise.
35389 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35391 (ld.so): Likewise.
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35393 (ld.so): Likewise.
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35395 Likewise.
35396 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35397 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35398 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35399 Likewise.
35400 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35401 Likewise.
35402 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35403
f87cc2bf
FW
354042017-08-10 Florian Weimer <fweimer@redhat.com>
35405
35406 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35407 attribute_hidden, internal_function.
35408 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35409 internal_function.
35410
eac43cbb
FW
354112017-08-10 Florian Weimer <fweimer@redhat.com>
35412
35413 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35414 function which calls __builtin_unreachable.
35415
bd80111e
MF
354162017-08-10 Mike FABIAN <mfabian@redhat.com>
35417
35418 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35419 Indian monetary formatting
35420 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35421 test cases.
35422
60e2846e
DL
354232017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35424
68dc02d1
DL
35425 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35426 Fix typo in comment.
35427
60e2846e
DL
35428 [BZ #21928]
35429 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35430 PTRACE_SEIZE_DEVEL): Remove.
35431 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35432 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35433 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35435 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35436
3d452dab
JM
354372017-08-09 Joseph Myers <joseph@codesourcery.com>
35438
24d9f53a
JM
35439 * posix/bits/types.h (__qaddr_t): Remove.
35440
3d452dab
JM
35441 [BZ #21457]
35442 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35443 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35444 __glibc_reserved1.
35445 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35446 (ucontext_t): Use __ctx with uc_flags.
35447 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35448 (__ctxt): Likewise.
35449 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35450 __glibc_reserved1.
35451 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35452 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35453 __glibc_reserved1.
35454 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35455 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35456 __glibc_reserved1.
35457 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35458 macro.
35459 (ucontext_t): Use __ctx with uc_flags.
35460 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35461 (ucontext_t): Use __ctx with uc_flags.
35462 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35463 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35464 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35465 (ucontext_t): Use __ctx with uc_flags.
35466 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35467 undefine further down.
35468 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35469 __glibc_reserved1.
35470 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35471 undefine further down.
35472 (ucontext_t): Use __ctx with uc_flags.
35473 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35474 undefine further down.
35475 (ucontext_t): Use __ctx with uc_flags.
35476 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35477 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35478 Rename uc_pad to __glibc_reserved1.
35479 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35480 undefine further down.
35481 (ucontext_t): Use __ctx with uc_flags.
35482 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35483 further down.
35484 (ucontext_t): Use __ctx with uc_flags.
35485 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35486 __ctx with uc_flags.
35487 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35488 (ucontext_t): Use __ctx with uc_flags.
35489 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35490 __ctx with uc_flags.
35491
30161498
FW
354922017-08-09 Florian Weimer <fweimer@redhat.com>
35493
35494 [BZ #21932]
35495 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35496 before early return.
35497
5797b410
AS
354982017-08-09 Andreas Schwab <schwab@suse.de>
35499
139237a4 35500 [BZ #21041]
5797b410
AS
35501 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35502 renamed alias.
35503
139237a4 35504 [BZ #21041]
40c06a3d
AS
35505 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35506 tst-compat-forwarder.
35507 (modules-names): Add tst-compat-forwarder-mod.
35508 ($(objpfx)tst-compat-forwarder): Depend on
35509 $(objpfx)tst-compat-forwarder-mod.so.
35510 * nptl/tst-compat-forwarder.c: New file.
35511 * nptl/tst-compat-forwarder-mod.c: New file.
35512
36ada5f6
SP
355132017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35514
0e02b510
SP
35515 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35516 comments.
35517
36ada5f6
SP
35518 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35519 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35520 memcpy_falkor.
35521 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35522 Bump.
35523 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35524 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35525 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35526 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35527 Add falkor.
35528 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35529 New macro.
35530
9995c839
AZ
355312017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35532
35533 [BZ #759]
35534 * manual/setjmp.texi (getcontex): Document uc_stack value
35535 compatibility differences.
35536
f17a4233
JM
355372017-08-08 Joseph Myers <joseph@codesourcery.com>
35538
35539 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35540 (old_malloc_hook): Likewise.
35541 (old_memalign_hook): Likewise.
35542 (old_realloc_hook): Likewise.
35543 (struct hdr): Likewise.
35544 (flood): Likewise.
35545 (freehook): Likewise.
35546 (mallochook): Likewise.
35547 (memalignhook): Likewise.
35548 (reallochook): Likewise.
35549 (mprobe): Likewise.
35550 * malloc/mtrace.c (mallwatch): Likewise.
35551 (tr_old_free_hook): Likewise.
35552 (tr_old_malloc_hook): Likewise.
35553 (tr_old_realloc_hook): Likewise.
35554 (tr_old_memalign_hook): Likewise.
35555 (tr_where): Likewise.
35556 (lock_and_info): Likewise.
35557 (tr_freehook): Likewise.
35558 (tr_mallochook): Likewise.
35559 (tr_reallochook): Likewise.
35560 (tr_memalignhook): Likewise.
35561 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35562 * misc/mmap.c (__mmap): Likewise.
35563 * misc/mmap64.c (__mmap64): Likewise.
35564 * misc/mprotect.c (__mprotect): Likewise.
35565 * misc/msync.c (msync): Likewise.
35566 * misc/munmap.c (__munmap): Likewise.
35567 * posix/posix_madvise.c (posix_madvise): Likewise.
35568 * socket/send.c (__send): Likewise.
35569 * socket/sendto.c (__sendto): Likewise.
35570 * socket/setsockopt.c (__setsockopt): Likewise.
35571 * string/memcmp.c (__ptr_t): Remove macro.
35572 (MEMCMP): Use void * instead of ptr_t.
35573 * string/memrchr.c (__ptr_t): Remove macro.
35574 (__memrchr): Use void * instead of ptr_t.
35575 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35576 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35577 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35578 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35579 * sysdeps/mach/msync.c (msync): Likewise.
35580 * sysdeps/mach/munmap.c (__munmap): Likewise.
35581 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35582 Likewise.
35583 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35584 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35585 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35586 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35587 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35588 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35589 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35590 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35591 Likewise.
35592 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35593 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35594 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35595 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35596 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35597 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35598 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35599 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35600 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35601 Likewise.
35602 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35603 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35604 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35605 (MEMCMP): Use void * instead of ptr_t.
35606 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35607 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35608
0df595b2
FW
356092017-08-08 Florian Weimer <fweimer@redhat.com>
35610
35611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35612 return statement.
35613
086df229
L
356142017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35615
35616 [BZ #21913]
35617 * csu/libc-tls.c: Include <startup.h> first.
35618 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35619 * elf/dl-tunables.c: Include <startup.h> first.
35620 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35621 * sysdeps/generic/startup.h: New file.
35622 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35623 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35624 (I386_USE_SYSENTER): New. Defined to 0.
35625
fc5ad702
AS
356262017-08-08 Andreas Schwab <schwab@suse.de>
35627
35628 [BZ #21041]
35629 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35630 * nptl/pt-system.c (system): Likewise.
35631
852d6312
AZ
356322017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35633
35634 [BZ #21780]
35635 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35636 EOPNOTSUPP.
35637 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35638 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35639 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35640 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35641 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35642 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35643 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35644
8b164787
JM
356452017-08-07 Joseph Myers <joseph@codesourcery.com>
35646
cd65836b
JM
35647 [BZ #21899]
35648 * bits/sigaction.h (struct sigaction): Define sa_handler and
35649 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35650 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35651 [__USE_XOPEN_EXTENDED].
35652 (SA_RESTART): Likewise.
35653 (SA_NODEFER): Likewise.
35654 (SA_RESETHAND): Likewise.
35655 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35656 (struct sigaction): Define sa_handler and sa_sigaction using union
35657 also for [__USE_XOPEN_EXTENDED].
35658 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35659 [__USE_XOPEN_EXTENDED].
35660 (SA_RESTART): Likewise.
35661 (SA_NODEFER): Likewise.
35662 (SA_RESETHAND): Likewise.
35663 * sysdeps/unix/sysv/linux/bits/sigaction.h
35664 (struct sigaction): Define sa_handler and sa_sigaction using union
35665 also for [__USE_XOPEN_EXTENDED].
35666 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35667 [__USE_XOPEN_EXTENDED].
35668 (SA_RESTART): Likewise.
35669 (SA_NODEFER): Likewise.
35670 (SA_RESETHAND): Likewise.
35671 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35672 (struct sigaction): Define sa_handler and sa_sigaction using union
35673 also for [__USE_XOPEN_EXTENDED].
35674 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35675 [__USE_XOPEN_EXTENDED].
35676 (SA_RESTART): Likewise.
35677 (SA_NODEFER): Likewise.
35678 (SA_RESETHAND): Likewise.
35679 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35680 (struct sigaction): Define sa_handler and sa_sigaction using union
35681 also for [__USE_XOPEN_EXTENDED].
35682 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35683 [__USE_XOPEN_EXTENDED].
35684 (SA_RESTART): Likewise.
35685 (SA_NODEFER): Likewise.
35686 (SA_RESETHAND): Likewise.
35687 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35688 (struct sigaction): Define sa_handler and sa_sigaction using union
35689 also for [__USE_XOPEN_EXTENDED].
35690 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35691 [__USE_XOPEN_EXTENDED].
35692 (SA_RESTART): Likewise.
35693 (SA_NODEFER): Likewise.
35694 (SA_RESETHAND): Likewise.
35695 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35696 (struct sigaction): Define sa_handler and sa_sigaction using union
35697 also for [__USE_XOPEN_EXTENDED].
35698 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35699 [__USE_XOPEN_EXTENDED].
35700 (SA_RESTART): Likewise.
35701 (SA_NODEFER): Likewise.
35702 (SA_RESETHAND): Likewise.
35703 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35704 (struct sigaction): Define sa_handler and sa_sigaction using union
35705 also for [__USE_XOPEN_EXTENDED].
35706 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35707 [__USE_XOPEN_EXTENDED].
35708 (SA_RESTART): Likewise.
35709 (SA_NODEFER): Likewise. Define directly rather than as alias.
35710 (SA_RESETHAND): Likewise.
35711 (SA_INTERRUPT): Define only for [__USE_MISC].
35712 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35713 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35714 [__USE_MISC].
35715 (SA_STACK): Define only for [__USE_MISC].
35716 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35717 (struct sigaction): Define sa_handler and sa_sigaction using union
35718 also for [__USE_XOPEN_EXTENDED].
35719 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35720 [__USE_XOPEN_EXTENDED].
35721 (SA_RESTART): Likewise.
35722 (SA_NODEFER): Likewise.
35723 (SA_RESETHAND): Likewise.
35724 (SA_NOPTRACE): Define only for [__USE_MISC].
35725
d9fee042
JM
35726 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35727 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35728 (struct catalog_info): Likewise.
35729 * inet/htontest.c (lo): Likewise.
35730 (foo): Likewise.
35731 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35732 * inet/inet_net.c (inet_network): Likewise.
35733 * inet/inet_netof.c (inet_netof): Likewise.
35734 * inet/rcmd.c (__ivaliduser): Likewise.
35735 (iruserok): Likewise.
35736 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35737 * locale/programs/locale-spec.c (locale_special): Likewise.
35738 * nis/nis_findserv.c (struct findserv_req): Likewise.
35739 (__nis_findfastest_with_timeout): Likewise.
35740 * nss/test-netdb.c (test_network): Likewise.
35741 * resolv/inet_neta.c (inet_neta): Likewise.
35742 * resolv/ns_date.c (ns_datetosecs): Likewise.
35743 (SECS_PER_DAY): Likewise.
35744 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35745 Likewise.
35746 * resolv/res_comp.c (__putlong): Likewise.
35747 (__putshort): Likewise.
35748 (_getlong): Likewise.
35749 (_getshort): Likewise.
35750 * resolv/res_debug.c (p_time): Likewise.
35751 (precsize_ntoa): Likewise.
35752 (precsize_aton): Likewise.
35753 (latlon2ul): Likewise.
35754 (loc_aton): Likewise.
35755 (loc_ntoa): Likewise.
35756 * resolv/res_hconf.c (struct netaddr): Likewise.
35757 (_res_hconf_reorder_addrs): Likewise.
35758 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35759 (clnttcp_control): Likewise.
35760 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35761 (clntudp_control): Likewise.
35762 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35763 (clntunix_control): Likewise.
35764 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35765 * sunrpc/rpc/auth.h (union des_block): Likewise.
35766 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35767 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35768 (xdrrec_create): Likewise.
35769 (xdrrec_endofrecord): Likewise.
35770 (flush_out): Likewise.
35771 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35772 (xdrstdio_putlong): Likewise.
35773 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35774 Likewise.
35775
8b164787
JM
35776 * misc/sys/cdefs.h (__long_double_t): Remove.
35777 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35778 instead of __long_double_t,
35779 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35780
7ee38e60
SP
357812017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35782
dd3e86ad
SP
35783 * benchtests/scripts/compare_strings.py: Avoid display error when
35784 running on a text terminal.
35785
b115e819
SP
35786 * benchtests/scripts/compare_strings.py (main): Add an
35787 optional -base option.
35788 (process_results): New argument base_func.
35789
7ee38e60
SP
35790 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35791 hardcoding memcpy.
35792 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35793 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35794
d5afb385
AS
357952017-08-07 Andreas Schwab <schwab@suse.de>
35796
35797 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35798 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35799 * intl/Makefile ($(objpfx)tst-gettext.out)
35800 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35801 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35802 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35803 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35804 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35805 * posix/Makefile ($(objpfx)globtest.out)
35806 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35807 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35808 ($(objpfx)tst-printf.out): Likewise.
35809 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35810 ($(objpfx)tst-setcontext3.out): Likewise.
35811
57a72fa3
L
358122017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35813
35814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35815 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35816 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35817 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35818 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35819 and mptan-fma.
35820 (CFLAGS-doasin-fma.c): New.
35821 (CFLAGS-dosincos-fma.c): Likewise.
35822 (CFLAGS-e_asin-fma.c): Likewise.
35823 (CFLAGS-e_atan2-fma.c): Likewise.
35824 (CFLAGS-e_exp-fma.c): Likewise.
35825 (CFLAGS-e_log-fma.c): Likewise.
35826 (CFLAGS-e_pow-fma.c): Likewise.
35827 (CFLAGS-halfulp-fma.c): Likewise.
35828 (CFLAGS-mpa-fma.c): Likewise.
35829 (CFLAGS-mpatan-fma.c): Likewise.
35830 (CFLAGS-mpatan2-fma.c): Likewise.
35831 (CFLAGS-mpexp-fma.c): Likewise.
35832 (CFLAGS-mplog-fma.c): Likewise.
35833 (CFLAGS-mpsqrt-fma.c): Likewise.
35834 (CFLAGS-mptan-fma.c): Likewise.
35835 (CFLAGS-s_atan-fma.c): Likewise.
35836 (CFLAGS-sincos32-fma.c): Likewise.
35837 (CFLAGS-slowexp-fma.c): Likewise.
35838 (CFLAGS-slowpow-fma.c): Likewise.
35839 (CFLAGS-s_sin-fma.c): Likewise.
35840 (CFLAGS-s_tan-fma.c): Likewise.
35841 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35842 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35843 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35844 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35845 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35846 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35849 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35850 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35851 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35852 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35853 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35854 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35855 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35856 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35857 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35858 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35859 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35861 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35862 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35863 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35864 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35865 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35866 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35867 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35868 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35869 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35870 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35871 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35872
219dd320
JM
358732017-08-04 Joseph Myers <joseph@codesourcery.com>
35874
35875 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35876 (min_of_type_f): New macro.
35877 (min_of_type_): Likewise.
35878 (min_of_type_l): Likewise.
35879 (min_of_type_f128): Likewise.
35880 (min_of_type): Define using __MATH_TG and taking an expression
35881 argument.
35882 (math_check_force_underflow): Pass expression instead of type to
35883 min_of_type.
35884 (math_check_force_underflow_nonneg): Likewise.
35885
64d4dea6
L
358862017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35887
35888 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35889 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35890 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35891
973da22a
L
358922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35893
35894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35895 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35896 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35897 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35898 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35899 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35900 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35901 memmove_chk-nonshared and memset_chk-nonshared
35902 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35903 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35904 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35906 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35907 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35908 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35909 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35910 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35911 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35912 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35913 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35915 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35917 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35919 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35921 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35923 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35925 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35927 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35929 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35930 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35932 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35933 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35935 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35938 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35940 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35941 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35942 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35944 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35946 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35947 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35948 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35950 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35952 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35954 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35955 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35956 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35957 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35958 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35959 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35960 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35961 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35962 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35963 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35964 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35965 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35966 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35967 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35968 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35969 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35970 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35971 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35972 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35973 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35974 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35975 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35976 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35977 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35978 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35979 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35980 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35981 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35982 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35983 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35984 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35985 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35986 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35987 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35988 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35989 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35990 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35991 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35992 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35993 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35994 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35996 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35997 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35998 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35999 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36000 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36001 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36002 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36003 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36010
8537e0f6
L
360112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
36014 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
36015 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
36016 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
36017 svml_d_log2_core-sse2, svml_d_log4_core-sse,
36018 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
36019 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
36020 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
36021 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
36022 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
36023 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
36024 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
36025 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36026 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36027 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36028 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36029 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36030 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36031 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36032 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36033 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36034 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36035 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36036 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36037 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36038 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36039 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36040 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36041 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36042 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36043 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36044 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36045 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36046 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36048 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36051 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36052 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36053 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36054 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36056 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36058 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36059 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36060 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36061 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36062 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36063 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36064 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36068 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36069 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36070 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36071 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36072 ...
36073 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36074 Don't include <sysdep.h> nor <init-arch.h>.
36075 (_ZGVbN2v_cos): Removed.
36076 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36077 ...
36078 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36079 Don't include <sysdep.h> nor <init-arch.h>.
36080 (_ZGVdN4v_cos): Removed.
36081 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36082 ...
36083 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36084 Don't include <sysdep.h> nor <init-arch.h>.
36085 (_ZGVeN8v_cos): Removed.
36086 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36087 ...
36088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36089 Don't include <sysdep.h> nor <init-arch.h>.
36090 (_ZGVbN2v_exp): Removed.
36091 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36092 ...
36093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36094 Don't include <sysdep.h> nor <init-arch.h>.
36095 (_ZGVdN4v_exp): Removed.
36096 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36097 ...
36098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36099 Don't include <sysdep.h> nor <init-arch.h>.
36100 (_ZGVeN8v_exp): Removed.
36101 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36102 ...
36103 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36104 Don't include <sysdep.h> nor <init-arch.h>.
36105 (_ZGVbN2v_log): Removed.
36106 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36107 ...
36108 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36109 Don't include <sysdep.h> nor <init-arch.h>.
36110 (_ZGVdN4v_log): Removed.
36111 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36112 ...
36113 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36114 Don't include <sysdep.h> nor <init-arch.h>.
36115 (_ZGVeN8v_log): Removed.
36116 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36117 ...
36118 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36119 Don't include <sysdep.h> nor <init-arch.h>.
36120 (_ZGVbN2vv_pow): Removed.
36121 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36122 ...
36123 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36124 Don't include <sysdep.h> nor <init-arch.h>.
36125 (_ZGVdN4vv_pow): Removed.
36126 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36127 ...
36128 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36129 Don't include <sysdep.h> nor <init-arch.h>.
36130 (_ZGVeN8vv_pow): Removed.
36131 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36132 ...
36133 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36134 Don't include <sysdep.h> nor <init-arch.h>.
36135 (_ZGVbN2v_sin): Removed.
36136 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36137 ...
36138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36139 Don't include <sysdep.h> nor <init-arch.h>.
36140 (_ZGVbN4v_sin): Removed.
36141 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36142 ...
36143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36144 Don't include <sysdep.h> nor <init-arch.h>.
36145 (_ZGVbN8v_sin): Removed.
36146 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36147 ...
36148 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36149 Don't include <sysdep.h> nor <init-arch.h>.
36150 (_ZGVbN2vvv_sincos): Removed.
36151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36152 ...
36153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36154 Don't include <sysdep.h> nor <init-arch.h>.
36155 (_ZGVdN4vvv_sincos): Removed.
36156 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36157 ...
36158 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36159 Don't include <sysdep.h> nor <init-arch.h>.
36160 (_ZGVeN8vvv_sincos): Removed.
36161 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36162 ...
36163 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36164 Don't include <sysdep.h> nor <init-arch.h>.
36165 (_ZGVeN16v_cosf): Removed.
36166 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36167 ...
36168 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36169 Don't include <sysdep.h> nor <init-arch.h>.
36170 (_ZGVbN4v_cosf): Removed.
36171 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36172 ...
36173 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36174 Don't include <sysdep.h> nor <init-arch.h>.
36175 (_ZGVdN8v_cosf): Removed.
36176 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36177 ...
36178 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36179 Don't include <sysdep.h> nor <init-arch.h>.
36180 (_ZGVeN16v_expf): Removed.
36181 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36182 ...
36183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36184 Don't include <sysdep.h> nor <init-arch.h>.
36185 (_ZGVbN4v_expf): Removed.
36186 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36187 ...
36188 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36189 Don't include <sysdep.h> nor <init-arch.h>.
36190 (_ZGVdN8v_expf): Removed.
36191 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36192 ...
36193 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36194 Don't include <sysdep.h> nor <init-arch.h>.
36195 (_ZGVeN16v_logf): Removed.
36196 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36197 ...
36198 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36199 Don't include <sysdep.h> nor <init-arch.h>.
36200 (_ZGVbN4v_logf): Removed.
36201 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36202 ...
36203 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36204 Don't include <sysdep.h> nor <init-arch.h>.
36205 (_ZGVdN8v_logf): Removed.
36206 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36207 ...
36208 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36209 Don't include <sysdep.h> nor <init-arch.h>.
36210 (_ZGVeN16vv_powf): Removed.
36211 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36212 ...
36213 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36214 Don't include <sysdep.h> nor <init-arch.h>.
36215 (_ZGVbN4vv_powf): Removed.
36216 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36217 ...
36218 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36219 Don't include <sysdep.h> nor <init-arch.h>.
36220 (_ZGVdN8vv_powf): Removed.
36221 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36222 ...
36223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36224 Don't include <sysdep.h> nor <init-arch.h>.
36225 (_ZGVeN16vvv_sincosf): Removed.
36226 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36227 ...
36228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36229 Don't include <sysdep.h> nor <init-arch.h>.
36230 (_ZGVbN4vvv_sincosf): Removed.
36231 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36232 ...
36233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36234 Don't include <sysdep.h> nor <init-arch.h>.
36235 (_ZGVdN8vvv_sincosf): Removed.
36236 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36237 ...
36238 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36239 Don't include <sysdep.h> nor <init-arch.h>.
36240 (_ZGVeN16v_sinf): Removed.
36241 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36242 ...
36243 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36244 Don't include <sysdep.h> nor <init-arch.h>.
36245 (_ZGVbN4v_sinf): Removed.
36246 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36247 ...
36248 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36249 Don't include <sysdep.h> nor <init-arch.h>.
36250 (_ZGVdN8v_sinf): Removed.
36251
10a87ca4
L
362522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36253
36254 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36255 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36256 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36257 s_rint-sse4_1 and s_rintf-sse4_1.
36258 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36259 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36260 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36261 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36262 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36263 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36264 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36265 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36266 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36267 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36268 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36269 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36270 (__ceil): Removed.
36271 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36272 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36273 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36274 (__ceilf): Removed.
36275 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36276 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36277 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36278 (__floor): Removed.
36279 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36280 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36281 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36282 (__floorf): Removed.
36283 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36284 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36285 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36286 (__nearbyint): Removed.
36287 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36288 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36289 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36290 (__nearbyintf): Removed.
36291 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36292 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36293 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36294 (__rint): Removed.
36295 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36296 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36297 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36298 (__rintf): Removed.
36299
1e8e527d
L
363002017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36301
36302 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36303 SHARED. Avoid dynamic relocation against main in static PIE.
36304
e13daad7
L
363052017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36306
36307 [BZ #21815]
36308 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36309 (LDFLAGS-tst-prelink): Likewise.
36310
627c69c8
L
363112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36312
36313 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36314 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36315 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36316 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36317 (INTERNAL_SYSCALL_NCS): Likewise.
36318 (LOADARGS_1): Likewise.
36319 (LOADARGS_5): Likewise.
36320 (RESTOREARGS_1): Likewise.
36321 (RESTOREARGS_5): Likewise.
36322
fc11ff8d
L
363232017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36324
36325 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36326 (MEMPCPY_SYMBOL): Likewise.
36327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36328 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36330 in libc.a.
36331 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36332 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36333 Likewise.
36334 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36335 (__hidden_ver1): Don't use in libc.a.
36336 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36337 (__mempcpy): Don't create a weak alias in libc.a.
36338 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36339 libc.a.
36340 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36341 (__hidden_ver1): Don't use in libc.a.
36342
19f1a11e
L
363432017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36344
36345 * config.make.in (have-insert): New.
36346 * configure.ac (libc_cv_insert): New. Set to yes if linker
36347 supports INSERT in linker script.
36348 (AC_SUBST(libc_cv_insert): New.
36349 * configure: Regenerated.
36350 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36351 if $(have-insert) == yes.
36352
3093fd5e
L
363532017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36354
36355 * elf/Makefile (tests): Add vismain only if
36356 $(have-protected-data) == yes.
36357 (tests-pie): Likewise.
36358
d2cf37c0
L
363592017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36360
36361 [BZ #21871]
36362 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36363 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36364
c8a0e6ec
L
363652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36366
36367 [BZ #21790]
36368 * sysdeps/i386/i586/memset.S
36369 (__memset_zero_constant_len_parameter): Removed.
36370 * sysdeps/i386/i686/memset.S
36371 (__memset_zero_constant_len_parameter): Likewise.
36372 * sysdeps/i386/i686/multiarch/memset_chk.S
36373 (__memset_zero_constant_len_parameter): Likewise.
36374 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36375 Likewise.
36376
2b34e271
AJ
363772017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36378
36379 * stdlib/getentropy.c (getentropy): Change return type to int.
36380
144bdab0
AJ
363812017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36382
36383 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36384
24ab7723
JM
363852017-08-03 Joseph Myers <joseph@codesourcery.com>
36386
36387 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36388 u_intN_t.
36389 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36390 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36391 Likewise.
36392 (ieee_float_shape_type): Likewise.
36393 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36394 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36395 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36396 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36397 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36398 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36399 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36400 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36401 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36402 Likewise.
36403 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36404 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36405 (__ieee754_yn): Likewise.
36406 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36407 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36408 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36409 Likewise.
36410 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36411 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36412 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36413 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36414 (__erfc): Likewise.
36415 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36416 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36417 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36418 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36419 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36420 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36421 Likewise.
36422 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36423 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36424 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36425 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36426 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36427 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36428 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36429 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36430 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36431 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36432 (__issignaling): Likewise.
36433 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36434 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36435 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36436 Likewise.
36437 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36438 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36439 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36441 Likewise.
36442 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36443 Likewise.
36444 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36445 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36446 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36447 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36448 (__erfcf): Likewise.
36449 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36450 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36451 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36452 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36453 Likewise.
36454 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36455 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36456 Likewise.
36457 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36458 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36459 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36460 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36461 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36462 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36463 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36464 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36465 Likewise.
36466 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36467 Likewise.
36468 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36469 Likewise.
36470 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36471 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36472 Likewise.
36473 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36474 Likewise.
36475 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36476 (__ieee754_ynl): Likewise.
36477 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36479 Likewise.
36480 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36481 Likewise.
36482 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36483 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36484 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36485 Likewise.
36486 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36487 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36488 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36489 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36490 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36491 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36492 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36493 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36494 Likewise.
36495 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36496 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36497 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36498 Likewise.
36499 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36500 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36501 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36502 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36503 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36504 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36505 Likewise.
36506 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36507 Likewise.
36508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36509 Likewise.
36510 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36511 Likewise.
36512 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36513 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36514 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36515 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36516 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36517 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36519 Likewise.
36520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36521 Likewise.
36522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36523 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36524 Likewise.
36525 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36526 (__ieee754_remainderl): Likewise.
36527 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36528 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36529 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36530 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36531 Likewise.
36532 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36534 Likewise.
36535 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36536 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36537 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36538 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36539 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36540 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36541 Likewise.
36542 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36543 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36544 (__ieee754_y0l): Likewise.
36545 (pzero): Likewise.
36546 (qzero): Likewise.
36547 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36548 (__ieee754_y1l): Likewise.
36549 (pone): Likewise.
36550 (qone): Likewise.
36551 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36552 (__ieee754_ynl): Likewise.
36553 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36554 (__ieee754_lgammal_r): Likewise.
36555 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36556 Likewise.
36557 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36558 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36559 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36560 (__erfcl): Likewise.
36561 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36562 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36563 Likewise.
36564 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36565 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36566 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36567 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36568 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36569 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36570 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36571 Likewise.
36572 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36573 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36574 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36575 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36576 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36577 Likewise.
36578 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36579 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36580 Likewise.
36581 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36582 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36583 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36584 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36585 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36586
964263bb
FW
365872017-08-03 Florian Weimer <fweimer@redhat.com>
36588
36589 [BZ #21885]
36590 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36591 on memory allocation failure.
36592
e98c925f
AM
365932017-08-03 Alan Modra <amodra@gmail.com>
36594
36595 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36596 tst-tlsopt-powerpc.c with function name change and no test harness.
36597 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36598 Call tls_get_addr_opt_test.
36599 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36600 (modules-names): Add mod-tlsopt-powerpc.
36601 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36602 (tst-tlsopt-powerpc): Depend on .so.
36603 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36604 define. Expand use in TLS_GD and TLS_LD.
36605
8ee1abdb
ST
366062017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36607
36608 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36609 function.
3da5756e 36610 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 36611
42df8d59
JM
366122017-08-02 Joseph Myers <joseph@codesourcery.com>
36613
36614 [BZ #21686]
36615 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36616 comparing size with that of double.
36617 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36618 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36619 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36620 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36621 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36622 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36623 unsigned __int128 types.
36624
b7f95f49
SE
366252017-08-02 Steve Ellcey <sellcey@cavium.com>
36626
36627 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36628 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36629 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36630 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36631 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36632
5b736bc9
L
366332017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36634
36635 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36636
dfc93c41
L
366372017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36638
36639 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36640 of SHARED.
36641 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36642 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36643 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36644 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36645 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36646 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36647 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36648
2fee621d
JM
366492017-08-02 Joseph Myers <joseph@codesourcery.com>
36650
36651 [BZ #21685]
36652 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36653 bit-field expressions passed to sizeof or typeof.
36654 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36655 (__TGMATH_F128): Likewise.
36656 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36657 (__TGMATH_CF128): Likewise.
36658 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36659 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36660 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36661 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36662 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36663 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36664 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36665 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36666 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36667 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36668 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36669 (__TGMATH_UNARY_IMAG): Likewise.
36670 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36671 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36672 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36673 type.
36674 (define_vars_for_type): Handle bit_field type specially.
36675 (Tests.__init__): Declare structure with bit-field element.
36676
b358255f
L
366772017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36678
36679 [BZ #21791]
36680 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36681 (MEMCPY_CHK): Define only if SHARED is defined.
36682 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36683 Likewise.
36684 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36685 Likewise.
edf66db1
SP
36686
36687See ChangeLog.18 for earlier changes.