]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
test-container: Avoid copying unintended system libraries
[thirdparty/glibc.git] / ChangeLog
CommitLineData
95da14da
TMQMF
12019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2
3 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
4 the same arguments used in all tests.
5
dcf36bca
SN
62019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
7
8 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
9
c7e4b684
EK
102019-07-20 Egor Kobylkin <egor@kobylkin.com>
11
12 [BZ #2872]
13 * locale/C-translit.h.in: Add Cyrillic transliteration.
14
1f7097d0
FW
152019-07-19 Florian Weimer <fweimer@redhat.com>
16
17 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
18 from Linux 5.2.
19 (fsconfig): Add system call name.
20 (fsmount): Likewise.
21 (fsopen): Likewise.
22 (fspick): Likewise.
23 (move_mount): Likewise.
24 (open_tree): Likewise.
25
3556658c
CD
262019-07-18 Carlos O'Donell <carlos@redhat.com>
27
28 * po/libc.pot: Regenerate.
29
4a8f6d31
MC
302019-07-18 Mike Crowe <mac@mcrowe.com>
31
2ab9ad57
AZ
32 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
33 functions recently added to sysdeps/nptl/pthread.h:
34 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
35 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
36
4a8f6d31
MC
37 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
38 pthread_cond_clockwait forwarding functions. There are no internal
39 users, so it is unnecessary to expose these functions in libc.so.
40 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
41 unnecessary ptr___pthread_cond_clockwait member.
42 * nptl/nptl-init.c (pthread_functions): Remove assignment of
43 removed member.
44
9208c3b8
RL
452019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
46
47 [BZ #21897]
48 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
49 begin with an uppercase letter now.
50 (abmon): Likewise.
51 (mon): Update from CLDR, reword February from "Kudo" to
52 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
53 and August from "Liiqen" to "Leqeeni".
54 * localedata/locales/aa_ER (mon): Update from CLDR, reword
55 April from "Agda Baxisso" to "Agda Baxis" and August from
56 "Leqeeni" to "Liiqen".
57 * localedata/locales/aa_ER@saaho (mon): Likewise.
58 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
59 abbreviated February from "Kud" to "Nah".
60 (mon): Update from CLDR, reword February from "Kudo" to
61 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
62
fba6d4bb
RL
632019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
64
65 [BZ #23996]
66 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
67
3cc7c9c5
P
682019-07-17 PanderMusubi <pander@users.sourceforge.net>
69
70 [BZ #23996]
71 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
72 name_mrs, name_miss, and name_ms.
73 * localedata/locales/nl_NL (LC_NAME): Likewise.
74
cce7b6a5
DZ
752019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
76
77 [BZ #24200]
78 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
79 * localedata/locales/en_IE (first_weekday): Likewise.
80
99d01ffc
MC
812019-07-12 Mike Crowe <mac@mcrowe.com>
82
1ff1373b
MC
83 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
84 that is only useful if futex_supports_exact_relative_timeouts ()
85 returns false.
86 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
87 Likewise.
88 * sysdeps/nptl/futex-internal.h: Remove comment about relative
89 timeouts potentially being imprecise since it's no longer true.
90 Remove declaration of futex_supports_exact_relative_timeouts.
91 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
92 of futex_supports_exact_relative_timeouts.
93
65dd7e9c
MC
94 * NEWS: Mention recently-added pthread_cond_clockwait,
95 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
96 sem_clockwait functions.
97
9d20e22e
MC
98 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
99 works like pthread_mutex_timedlock but takes a clockid parameter to
100 measure the abstime parameter against.
101 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
102 * nptl/DESIGN-systemtap-probes.txt: Likewise.
103 * nptl/pthread_mutex_timedlock.c
104 (__pthread_mutex_clocklock_common): Rename from
105 __pthread_mutex_timedlock and add clockid parameter. Pass this
106 parameter to lll_clocklock and lll_clocklock_elision in place of
107 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
108 LIBC_PROBE and validate clockid parameter before calling
109 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
110 implementation to add LIBC_PROBE and calls
111 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
112 clockid.
113 * nptl/Makefile: Add tst-mutex11.c.
114 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
115 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
116 clockid parameters to pthread_mutex_clocklock.
117 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
118 clockid parameter to indicate which clock to be used. Call
119 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
120 (do_test): Call do_test_clock to separately test
121 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
122 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
123 * nptl/tst-mutex9.c: Likewise.
124 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
125 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
126 Likewise.
127 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
128 Likewise.
129 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
130 Likewise.
131 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
132 Likewise.
133 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
134 Likewise.
135 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
136 Likewise.
137 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
138 Likewise.
139 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
140 (GLIBC_2.30): Likewise.
141 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
142 (GLIBC_2.30): Likewise.
143 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
144 (GLIBC_2.30): Likewise.
145 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
146 (GLIBC_2.30): Likewise.
147 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
148 (GLIBC_2.30): Likewise.
149 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
150 Likewise.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
152 (GLIBC_2.30): Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
154 (GLIBC_2.30): Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
156 (GLIBC_2.30): Likewise.
157 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
158 (GLIBC_2.30): Likewise.
159 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
160 (GLIBC_2.30): Likewise.
161 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
162 (GLIBC_2.30): Likewise.
163 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
164 Likewise.
165 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
166 (GLIBC_2.30): Likewise.
167 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
168 (GLIBC_2.30): Likewise.
169 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
170 (GLIBC_2.30): Likewise.
171 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
172 (GLIBC_2.30): Likewise.
173
59213094
MC
174 nptl: Rename lll_timedlock to lll_clocklock and add clockid
175 parameter to indicate the clock that the abstime parameter should
176 be measured against in preparation for adding
177 pthread_mutex_clocklock.
178 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
179 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
180 from __lll_timedlock and add clockid parameter.
181 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
182 Likewise.
183 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
184 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
185 rather than __gettimeofday so that clockid can be used. This means
186 that conversion from struct timeval is no longer required.
187 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
188 Likewise.
189 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
190 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
191 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
192 from lll_timedlock_elision, add clockid parameter and use
193 meaningful names for other parameters. (__pthread_mutex_timedlock):
194 Pass CLOCK_REALTIME where necessary to lll_clocklock and
195 lll_clocklock_elision.
196 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
197 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
198 clockid parameter. (__lll_clocklock_elision): Rename from
199 __lll_timedlock_elision and add clockid parameter.
200 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
201 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
202 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
203 (__lll_lock_elision): Call __lll_clocklock_elision rather than
204 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
205 (LLL_LOCK): Likewise.
206 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
207 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
208
e996fa72
MC
209 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
210 pthread_rwlock_clockwrlock which behave like
211 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
212 respectively, except they always measure abstime against the
213 supplied clockid. The functions currently support CLOCK_REALTIME
214 and CLOCK_MONOTONIC and return EINVAL if any other clock is
215 specified.
216 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
217 pthread_wrlock_clockwrlock.
218 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
219 pthread_rwlock_clockwrlock.c.
220 * nptl/pthread_rwlock_clockrdlock.c: Implement
221 pthread_rwlock_clockrdlock.
222 * nptl/pthread_rwlock_clockwrlock.c: Implement
223 pthread_rwlock_clockwrlock.
224 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
225 clockid parameter and verify that it indicates a supported clock on
226 entry so that we fail even if it doesn't end up being used. Pass
227 that clock on to futex_abstimed_wait when necessary.
228 (__pthread_rwlock_wrlock_full): Likewise.
229 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
230 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
231 be used because there's no timeout.
232 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
233 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
234 be used because there is no timeout.
235 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
236 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
237 uses that clock.
238 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
239 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
240 uses that clock.
241 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
242 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
243 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
244 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
245 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
246 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
247 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
248 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
249 (GLIBC_2.30): Likewise.
250 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
251 (GLIBC_2.30): Likewise.
252 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
253 (GLIBC_2.30): Likewise.
254 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
255 (GLIBC_2.30): Likewise.
256 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
257 (GLIBC_2.30): Likewise.
258 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
260 (GLIBC_2.30): Likewise.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
262 (GLIBC_2.30): Likewise.
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
264 (GLIBC_2.30): Likewise.
265 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
266 (GLIBC_2.30): Likewise.
267 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
268 (GLIBC_2.30): Likewise.
269 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
270 (GLIBC_2.30): Likewise.
271 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
272 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
273 (GLIBC_2.30): Likewise.
274 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
275 (GLIBC_2.30): Likewise.
276 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
277 (GLIBC_2.30): Likewise.
278 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
279 (GLIBC_2.30): Likewise.
280 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
281 pthread_rwlock_clockwrlock timeout tests to match the existing
282 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
283 * nptl/tst-rwlock14.c (do_test): Likewise.
284 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
285 ancillary output throughout. (tf): Accept thread_args structure so
286 that rwlock, a clockid and function name can be passed to the
287 thread. (do_test_clock): Rename from do_test. Accept clockid
288 parameter to specify test clock. Use the magic clockid value of
289 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
290 pthread_rwlock_timedwrlock should be tested, otherwise pass the
291 specified clockid to pthread_rwlock_clockrdlock and
292 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
293 (do_test): Call do_test_clock to test each clockid in turn.
294 * nptl/tst-rwlock7.c: Likewise.
295 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
296 thread_args structure so that the (now int) thread number, the
297 clockid and the function name can be passed to the thread.
298 (do_test_clock): Renamed from do_test. Pass the necessary
299 thread_args when creating the reader and writer threads. Use
300 xpthread_create and xpthread_join.
301 (do_test): Call do_test_clock to test each clockid in turn.
302 * manual/threads.texi: Add documentation for
303 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
304
600b4be4
MC
305 nptl: pthread_rwlock: Move timeout validation into _full functions
306 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
307 Check validity of abstime parameter.
308 (__pthread_rwlock_rwlock_full): Likewise.
309 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
310 Remove check for validity of abstime parameter.
311 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
312 Likewise.
313
afe4de7d
MC
314 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
315 like pthread_cond_timedwait except it always measures abstime
316 against the supplied clockid.
317 * nptl/Makefile: Add tst-cond26 and tst-cond27
318 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
319 * sysdeps/nptl/pthread.h: Likewise
320 * nptl/forward.c: Add __pthread_cond_clockwait
321 * nptl/forward.c: Likewise
322 * nptl/pthreadP.h: Likewise
323 * sysdeps/nptl/pthread-functions.h: Likewise
324 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
325 clockid parameter and comment describing why we don't need to check
326 its value. Use that value when calling
327 futex_abstimed_wait_cancelable rather than reading the clock from
328 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
329 (__pthread_cond_timedwait): Read clock from flags and pass it to
330 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
331 function with weak alias from pthread_cond_clockwait.
332 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
333 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
334 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
335 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
336 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
337 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
338 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
339 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
340 (GLIBC_2.30): Likewise.
341 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
342 (GLIBC_2.30): Likewise.
343 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
344 (GLIBC_2.30): Likewise.
345 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
346 (GLIBC_2.30): Likewise.
347 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
348 (GLIBC_2.30): Likewise.
349 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
351 (GLIBC_2.30): Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
353 (GLIBC_2.30): Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
355 (GLIBC_2.30): Likewise.
356 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
357 (GLIBC_2.30): Likewise.
358 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
359 (GLIBC_2.30): Likewise.
360 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
361 (GLIBC_2.30): Likewise.
362 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
363 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
364 (GLIBC_2.30): Likewise.
365 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
366 (GLIBC_2.30): Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
368 (GLIBC_2.30): Likewise.
369 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
370 (GLIBC_2.30): Likewise.
371 * nptl/tst-cond11.c (run_test): Support testing
372 pthread_cond_clockwait too by using a special magic
373 CLOCK_USE_ATTR_CLOCK value to determine whether to call
374 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
375 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
376 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
377 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
378 clocks to pthread_cond_clockwait.
379 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
380 struct timespec and pthread_cond_clockwait.
381 * manual/threads.texi: Document pthread_cond_clockwait.
382
6615f779
MC
383 nptl: Add POSIX-proposed sem_clockwait which behaves just like
384 sem_timedwait, but measures abstime against the specified clock.
385 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
386 clockid parameters to indicate the clock which abstime should be
387 measured against.
388 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
389 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
390 __new_sem_wait_slow.
391 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
392 on sem_timedwait.c.
393 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
394 sem_clockwait.c to match those used for sem_timedwait.c.
395 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
396 * nptl/Versions (GLIBC_2.30): Likewise.
397 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
398 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
399 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
401 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
402 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
403 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
404 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
405 (GLIBC_2.30): Likewise.
406 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
407 (GLIBC_2.30): Likewise.
408 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
409 (GLIBC_2.30): Likewise.
410 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
411 (GLIBC_2.30): Likewise.
412 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
413 (GLIBC_2.30): Likewise.
414 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
416 (GLIBC_2.30): Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
418 (GLIBC_2.30): Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
420 (GLIBC_2.30): Likewise.
421 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
422 (GLIBC_2.30): Likewise.
423 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
424 (GLIBC_2.30): Likewise.
425 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
426 (GLIBC_2.30): Likewise.
427 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
428 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
429 (GLIBC_2.30): Likewise.
430 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
431 (GLIBC_2.30): Likewise.
432 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
433 (GLIBC_2.30): Likewise.
434 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
435 (GLIBC_2.30): Likewise.
436 * nptl/tst-sem17.c: Add new test for passing invalid clock to
437 sem_clockwait.
438 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
439 tests to also test sem_clockwait.
440 * manual/threads.texi: Document sem_clockwait.
441
99d01ffc
MC
442 nptl: Add clockid parameter to futex timed wait calls
443 * sysdeps/nptl/lowlevellock-futex.h,
444 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
445 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
446 takes a clockid rather than a special clockbit.
447 * sysdeps/nptl/lowlevellock-futex.h: Add
448 lll_futex_supported_clockid so that client functions can check
449 whether their clockid parameter is valid even if they don't
450 ultimately end up calling lll_futex_clock_wait_bitset.
451 * sysdeps/nptl/futex-internal.h,
452 sysdeps/unix/sysv/linux/futex-internal.h
453 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
454 clockid_t parameter to indicate which clock the absolute time
455 passed should be measured against. Pass that clockid onto
456 lll_futex_clock_wait_bitset. Add invalid clock as reason for
457 returning -EINVAL.
458 * sysdeps/nptl/futex-internal.h,
459 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
460 futex_abstimed_supported_clockid so that client functions can check
461 whether their clockid parameter is valid even if they don't
462 ultimately end up calling futex_abstimed_wait.
463 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
464 code to calculate relative timeout for
465 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
466 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
467 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
468 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
469 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
470 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
471 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
472
a008c76b
AZ
4732019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
474
475 [BZ #24699]
476 * posix/tst-mmap-offset.c: Mention BZ #24699.
477 (do_test_bz21270): Rename to do_test_large_offset and use
478 mmap64_maximum_offset to check for maximum expected offset value.
479 * sysdeps/generic/mmap_info.h: New file.
480 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
481 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
482 __NR_mmap2 is used.
483
99135114
DD
4842019-07-10 DJ Delorie <dj@redhat.com>
485 Sergei Trofimovich <slyfox@inbox.ru>
486
487 [BZ #24696]
488 [BZ #24695]
489 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
490 mappings.
491 * nss/tst-nss-db-endgrent.c: New.
492 * nss/tst-nss-db-endgrent.root: New.
493 * nss/tst-nss-db-endpwent.c: New.
494 * nss/tst-nss-db-endpwent.root: New.
495 * nss/Makefile: Add new tests.
496 * support/links-dso-program-c.c: Add selinux dependency.
497 * support/links-dso-program.cc: Add selinux dependency.
498 * support/Makefile: Build those with -lselinux if enabled.
499
30ba0375
SN
5002019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
501
502 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
503 DT_AARCH64_VARIANT_PCS check.
504 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
505 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
506 variant_pcs.
507
32b8188a
AS
5082019-07-10 Andreas Schwab <schwab@suse.de>
509
510 [BZ #23352]
511 * malloc/malloc.h (__malloc_check_init): Don't declare.
512 * include/malloc.h (__malloc_check_init): Likewise.
513 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
514 * manual/memory.texi (__malloc_check_init): Don't mention it.
515
7901d4ee
MH
5162019-07-10 Mao Han <han_mao@c-sky.com>
517
518 * locale/Makefile: Fix tst-locale-locpath arguments passing.
519
b5232c9f 5202019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 521
b5232c9f
PC
522 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
523 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
524
6ba205b2
DD
5252019-07-08 DJ Delorie <dj@redhat.com>
526
527 [BZ #23501]
528 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
529 * io/tst-ftw-lnk.c: New test.
530 * io/Makefile: Run it.
531
f215dbbd
AZ
5322019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
533
6ea21bfe
AZ
534 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
535 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
536 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
537 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
538 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
539 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
541 Adjust implementation path.
542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
543 Adjust implementation path.
544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
545 Adjust implementation path.
546 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
547 (libm-sysdep_routines): Add s_log* objects.
548 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
549 CFLAGS-s_logb-power7.c): New fule.
550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
551 to ...
552 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
553 ... here.
554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
555 to ...
556 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
557 ... here.
558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
559 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
561 to ...
562 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
563 ... here.
564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
565 to ...
566 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
567 ... here.
568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
569 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
571 to ...
572 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
573 ... here.
574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
575 to ...
576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
577 ... here.
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
579 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
582 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
583 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
584
105f2ed3
AZ
585 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
586 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
587 powerpc32 integer 0 converting to -0.
588
0cccd37f
AZ
589 * benchtests/Makefile (bench-math): Add logb.
590 * benchtests/logb-inputs: New file.
591 * benchtests/logbf-inputs: New file.
592
931c616e
AZ
593 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
594 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
595 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
596 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
598 Adjust include.
599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
600 Likewise.
601 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
602 sysdep_routines): Add s_modf* objects.
603 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
604 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
606 to ...
607 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
608 ... here.
609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
610 to ...
611 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
612 ... here.
613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
614 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
616 to ...
617 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
618 ... here.
619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
620 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
621 ... here.
622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
623 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
624
69461d98
AZ
625 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
626 twoM500, twoM600, two60factor, pdnum): Remove.
627 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
628 (__ieee754_hypot): Replace static variables with inline definition,
629 remove ununsed branches.
630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
631 (libm-sysdep_routines): Remove e_hypot-* objects.
632 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
634 file.
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
637 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
638 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
639 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
640
f215dbbd
AZ
641 * benchtests/Makefile (bench-math): Add hypot.
642 * benchtests/hypot-inputs: New file.
643
97274b18
VC
6442019-07-08 Vincent Chen <vincentc@andestech.com>
645
646 * sysdeps/unix/sysv/linux/dl-vdso.h
647 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
648
484b7af3
AS
6492019-07-04 Andreas Schwab <schwab@suse.de>
650
651 [BZ #24484]
652 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
653
2b8a3c86
SN
6542019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
655
656 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
657 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
658 * sysdeps/aarch64/sys/ifunc.h: New file.
659 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
660 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
661
41d6f74e
FW
6622019-07-01 Florian Weimer <fweimer@redhat.com>
663
664 [BZ #20188]
665 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
666 Replace __vfork with __libpthread_version_placeholder for
667 GLIBC_2.1.2.
668 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
669 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
670 libpthread-compat.
671 * nptl/pt-vfork.c: Remove file.
672 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
673 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
674 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
675 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
676 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
677 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
678 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
679 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
680 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
681 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
682 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
683 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
684 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
685 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
686 Remove vfork, __vfork.
687 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
688 Remove vfork.
689 (GLIBC_2.1.2): Replace __vfork with
690 __libpthread_version_placeholder.
691 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
692 Remove vfork, __vfork.
693 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
694 Likewise.
695 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
696 Remove vfork.
697 (GLIBC_2.1.2): Replace __vfork with
698 __libpthread_version_placeholder.
699 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
700 Remove vfork.
701 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
702 (GLIBC_2.4): Remove vfork, __vfork.
703 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
704 (GLIBC_2.0): Remove vfork.
705 (GLIBC_2.1.2): Replace __vfork with
706 __libpthread_version_placeholder.
707 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
708 (GLIBC_2.18): Remove vfork, __vfork.
709 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
710 (GLIBC_2.0): Remove vfork.
711 (GLIBC_2.2): Remove __vfork.
712 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
713 (GLIBC_2.2): Remove vfork, __vfork.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
715 (GLIBC_2.0): Remove vfork.
716 (GLIBC_2.1.2): Replace __vfork with
717 __libpthread_version_placeholder.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
719 (GLIBC_2.3): Remove vfork, __vfork.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
721 (GLIBC_2.17): Likewise.
722 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
723 (GLIBC_2.0): Remove vfork.
724 (GLIBC_2.1.2): Replace __vfork with
725 __libpthread_version_placeholder.
726 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
727 (GLIBC_2.2): Remove vfork, __vfork.
728 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
729 Likewise.
730 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
731 (GLIBC_2.0): Remove vfork.
732 (GLIBC_2.1.2): Replace __vfork with
733 __libpthread_version_placeholder.
734 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
735 (GLIBC_2.2): Remove vfork, __vfork.
736 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
737 (GLIBC_2.2.5): Likewise.
738 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
739 (GLIBC_2.16): Likewise.
740 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
741 Remove __errno_location.
742
27cec9ae
FW
7432019-07-02 Florian Weimer <fweimer@redhat.com>
744
745 [BZ #24757]
746 * malloc/Depend: Add nptl and htl, due to potential indirect
747 libpthread dependency of memusagestat.
748
d1bc2cbb
SL
7492019-07-02 Stefan Liebler <stli@linux.ibm.com>
750
751 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
752 warning.
753
72edea80
FW
7542019-07-01 Florian Weimer <fweimer@redhat.com>
755
756 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
757 variant for arm-linux-gnueabi.
758
d0093c5c
L
7592019-07-01 H.J. Lu <hongjiu.lu@intel.com>
760
761 [BZ #24259]
762 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
763 relocation.
764 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
765 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
766 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
767 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
768 and tst-cet-legacy-mod-6c.
769 (CFLAGS-tst-cet-legacy-5a.c): New.
770 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
771 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
772 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
773 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
774 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
775 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
776 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
777 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
778 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
779 ($(objpfx)tst-cet-legacy-5a): Likewise.
780 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
781 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
782 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
783 ($(objpfx)tst-cet-legacy-5b): Likewise.
784 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
785 (tst-cet-legacy-5b-ENV): Likewise.
786 ($(objpfx)tst-cet-legacy-6a): Likewise.
787 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
788 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
789 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
790 ($(objpfx)tst-cet-legacy-6b): Likewise.
791 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
792 (tst-cet-legacy-6b-ENV): Likewise.
793 * sysdeps/x86/tst-cet-legacy-5.c: New file.
794 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
795 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
796 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
797 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
798 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
799 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
800 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
801 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
802 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
803 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
804 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
805 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
806 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
807
3db85a98
PC
8082019-06-30 Paul A. Clarke <pc@us.ibm.com>
809
810 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
811 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
812 (__fegetround_ISA300) New.
813 (__fegetround_ISA2) New.
814 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
815 (_FPU_MFFS): Move implementation...
816 (_FPU_GETCW): Here.
817 (_FPU_MFFSL): Move implementation....
818 (_FPU_GET_RC_ISA300): Here. New.
819 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
820 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
821 (fegetenv_status): New.
822 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
823 instead of fegetenv_register().
824 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
825
d0645912
WD
8262019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
827
828 * benchtests/bench-math-inlines.c: Increase iterations.
829 * benchtests/bench-memcmp.c: Likewise.
830 * benchtests/bench-rawmemchr.c: Likewise.
831 * benchtests/bench-strcmp.c: Likewise.
832 * benchtests/bench-strcpy_chk.c: Likewise.
833 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
834 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
835 (INNER_LOOP_ITERS_SMALL): Likewise.
836 * benchtests/bench-strncat.c: Increase iterations.
837 * benchtests/bench-strncmp.c: Increase iterations.
838 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
839 * benchtests/bench-strrchr.c: Increase iterations.
840 * benchtests/bench-strstr.c: Keep iterations unchanged.
841 * benchtests/bench-strtod.c: Increase iterations.
842
afe23eb0
AY
8432019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
844
845 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
846 with INNER_LOOP_ITERS_LARGE.
847 * benchtests/bench-memchr.c: Likewise.
848 * benchtests/bench-rawmemchr.c: Likewise.
849 * benchtests/bench-strcat.c: Likewise.
850 * benchtests/bench-strchr.c: Likewise.
851 * benchtests/bench-string.h: Likewise.
852 * benchtests/bench-strlen.c: Likewise.
853 * benchtests/bench-strncpy.c: Likewise.
854 * benchtests/bench-strnlen.c: Likewise.
855
507f55c0
FW
8562019-06-28 Florian Weimer <fweimer@redhat.com>
857
858 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
859 Use mmap instead of malloc. malloc with M_PERTURB writes to the
860 entire allocated memory range.
861
589787f8
TK
8622019-06-28 Tobias Klauser <tklauser@distanz.ch>
863
864 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
865 (prepare_version_base): New helper inline function.
866 (prepare_version): New macro replacing PREPARE_VERSION.
867 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
868
f0b2132b
FW
8692019-06-28 Florian Weimer <fweimer@redhat.com>
870
871 [BZ #24741]
872 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
873 mismatch in a versioned symbol reference.
874 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
875 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
876 tst-sonamemove-dlopen.
877 (module-names): Add tst-sonamemove-linkmod1,
878 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
879 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
880 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
881 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
882 (tst-sonamemove-runmod1.so): Link against
883 tst-sonamemove-runmod2.so.
884 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
885 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
886 tst-sonamemove-runmod2.so.
887 (tst-sonamemove-dlopen): Link with -ldl.
888 (tst-sonamemove-dlopen.out): Likewise.
889 * elf/tst-sonamemove-link.c: New file.
890 * elf/tst-sonamemove-dlopen.c: Likewise.
891 * elf/tst-sonamemove-linkmod1.c: Likewise.
892 * elf/tst-sonamemove-linkmod1.map: Likewise.
893 * elf/tst-sonamemove-runmod1.c: Likewise.
894 * elf/tst-sonamemove-runmod1.map: Likewise.
895 * elf/tst-sonamemove-runmod2.c: Likewise.
896 * elf/tst-sonamemove-runmod2.map: Likewise.
897
17432d71
FW
8982019-06-28 Florian Weimer <fweimer@redhat.com>
899
900 * support/xdlfcn.h (xdlvsym): Declare function.
901 * support/xdlfcn.c (xdlvsym): Define funciton.
902
5a659ccc
FW
9032019-06-28 Florian Weimer <fweimer@redhat.com>
904
905 [BZ #24744]
906 io: Remove the copy_file_range emulation.
907 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
908 not define and call copy_file_range_compat.
909 * io/Makefile (tests-static, tests-internal): Do not add
910 tst-copy_file_range-compat.
911 * io/copy_file_range-compat.c: Remove file.
912 * io/copy_file_range.c (copy_file_range): Define as stub.
913 * io/tst-copy_file_range-compat.c: Remove file.
914 * io/tst-copy_file_range.c (xdevfile): Remove variable.
915 (typical_sizes): Update comment. Remove 16K sizes.
916 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
917 Remove variables.
918 (find_maximum_offset, pipe_as_source, pipe_as_destination)
919 (delayed_write_failure_beginning, delayed_write_failure_end)
920 (cross_device_failure, enospc_failure_1, enospc_failure)
921 (oappend_failure): Remove functions.
922 (tests): Adjust test case list.
923 (do_test): Remove file system search code. Check for ENOSYS from
924 copy_file_range. Do not free xdevfile.
925 * manual/llio.texi (Copying File Data): Document ENOSYS error from
926 copy_file_range. Do not document the EXDEV error, which future
927 kernels may not report. Update the wording to reflect that
928 further errors are possible.
929 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
930 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
931 not undefine.
932 * sysdeps/unix/sysv/linux/arm/kernel-features.h
933 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
934 Likewise.
935 * sysdeps/unix/sysv/linux/kernel-features.h
936 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
937 Remove definition.
938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
939 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
940 not undefine.
941 * sysdeps/unix/sysv/linux/sh/kernel-features.h
942 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
943 Likewise.
944
1626f499
GG
9452019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
946
947 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
948 used as a mask for the mode argument of __vfprintf_internal.
949 * stdio-common/printf-parse.h (printf_arg): New union member:
950 pa_float128.
951 * stdio-common/vfprintf-internal.c
952 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
953 (PARSE_FLOAT_VA_ARG): Likewise.
954 (SETUP_FLOAT128_INFO): Likewise.
955 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
956 SETUP_FLOAT128_INFO.
957 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
958 floating-point value to the new union member, pa_float128.
959 (printf_positional): Zero-initialize args_value[cnt] with memset.
960
a620bd79
FW
9612019-06-27 Florian Weimer <fweimer@redhat.com>
962
963 [BZ #24740]
964 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
965 buffer size if necessary.
966 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
967 Likewise.
968 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
969 New function.
970 (large_buffer_checks): Likewise.
971 (do_test): Call large_buffer_checks.
972
d039da1c
L
9732019-06-26 H.J. Lu <hongjiu.lu@intel.com>
974
975 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
976 * sysdeps/x86/dl-lookupcfg.h: Here.
977 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
978
9d5d214e
AZ
9792019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
980
aa32f5bf
AZ
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
982 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
984 file.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
988 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
989 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
990
9d5d214e
AZ
991 * sysdeps/powerpc/powerpc32/fpu/Makefile
992 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
993 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
994 and fctidz optimization.
995 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
996 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
998 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
999 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1000 CFLAGS-s_lround-power5+.c): New rule.
1001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1002 New file.
1003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1004 Likewise.
1005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1006 Likewise.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1008 Likewise.
1009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1010 Likewise.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1012 Remove file.
1013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1014 Likewise.
1015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1016 Likewise.
1017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1018 Likewise.
1019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1020 Likewise.
1021 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1026 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1027 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1028
a63b96fb
VC
10292019-06-26 Vincent Chen <vincentc@andestech.com>
1030
1031 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1032 specific system calls, fp_udfiex_crtl and udftrap.
1033
c78b3f55
SL
10342019-06-26 Stefan Liebler <stli@linux.ibm.com>
1035
1036 * nptl/tst-eintr1.c (tf1): Add return statement.
1037 (do_test): Remove unused th variable.
1038
9e6a7d9c
SL
10392019-06-26 Stefan Liebler <stli@linux.ibm.com>
1040
1041 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1042 Return error if get_character fails.
1043
c89e669a
SL
10442019-06-25 Stefan Liebler <stli@linux.ibm.com>
1045
1046 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1047
a55541fd
RL
10482019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1049
1050 [BZ #24652]
1051 * localedata/locales/szl_PL (day): Use the correct Unicode
1052 sequences instead of non-ASCII characters.
1053
2bd81b60
GK
10542019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1055
1056 [BZ #24652]
1057 * localedata/locales/szl_PL (abday): Spelling corrections.
1058 (day): Likewise.
1059 (abmon): Likewise.
1060 (mon): Rename to...
1061 (alt_mon): This, then apply spelling corrections.
1062 (mon): New entry, month names in the genitive case.
1063
fefa2179
RL
10642019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1065
1066 [BZ #23831]
1067 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1068 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1069 (thousands_sep): Likewise.
1070 (grouping): Set to 3;3.
1071
85c748f9
TK
10722019-06-21 Tobias Klauser <tklauser@distanz.ch>
1073
1074 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1075 PREPARE_VERSION_KNOWN.
1076 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1077 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1078 define.
1079 (VDSO_HASH_LINUX_2_6_39): Likewise.
1080 (VDSO_NAME_LINUX_4_9): Likewise.
1081 (VDSO_HASH_LINUX_4_9): Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1084 (_libc_vdso_platform_setup): Likewise.
1085 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1086 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1087 Likewise.
1088 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1089 Likewise.
1090
db13e32c
MC
10912019-06-20 Mike Crowe <mac@mcrowe.com>
1092
ce5b73a7
MC
1093 * nptl/eintr.c: Use libsupport.
1094 * nptl/tst-eintr1.c: Likewise.
1095 * nptl/tst-eintr2.c: Likewise.
1096 * nptl/tst-eintr3.c: Likewise.
1097 * nptl/tst-eintr4.c: Likewise.
1098 * nptl/tst-eintr5.c: Likewise.
1099 * nptl/tst-mutex-errorcheck.c: Likewise.
1100 * nptl/tst-mutex5.c: Likewise.
1101
8bf225d5
MC
1102 * support/test-driver.h: Add verbose_printf macro.
1103
db13e32c
MC
1104 * support/xtime.h: Add xclock_now() helper function.
1105
21cc130b
DL
11062019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1107 Florian Weimer <fweimer@redhat.com>
1108
1109 [BZ #24228]
1110 * libio/genops.c (_IO_unbuffer_all)
1111 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1112 buffers and access _IO_FILE_complete members of legacy libio streams.
1113 * libio/tst-bz24228.c: New file.
1114 * libio/tst-bz24228.map: Likewise.
1115 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1116 [build-shared] (generated): Add tst-bz24228.mtrace and
1117 tst-bz24228.check.
1118 [run-built-tests && build-shared] (tests-special): Add
1119 $(objpfx)tst-bz24228-mem.out.
1120 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1121 ($(objpfx)tst-bz24228-mem.out): New rule.
1122
49bc41b6
PC
11232019-06-19 Paul A. Clarke <pc@us.ibm.com>
1124
1125 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1126 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1127 (__FPU_MFFSL): Likewise.
1128 (_FPU_SETCW): Likewise.
1129
335c1007
SS
11302019-06-19 Stan Shebs <stanshebs@google.com>
1131 Raoni Fassina Firmino <raoni@linux.ibm.com>
1132
1133 [BZ #24640]
1134 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1135 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1136 static-linking version.
1137 * sysdeps/unix/sysv/linux/powerpc/Makefile
1138 (tests-static): Add test-gettimebasefreq-static.
1139 (tests): Likewise.
1140 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1141 New file.
1142
f59a54ab
RL
11432019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1144
1145 [BZ #24614]
1146 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1147 between the currency symbol and the minus sign).
1148 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1149
f0c5a803
SL
11502019-06-19 Stefan Liebler <stli@linux.ibm.com>
1151
1152 [BZ #24556]
1153 * string/test-strcasestr.c (check_result): Add NULL check.
1154 * nss/tst-field.c (check_rewrite): Likewise.
1155 * benchtests/bench-strstr.c (do_one_test): Likewise.
1156 * string/test-strstr.c (check_result): Likewise.
1157 * argp/argp-test.c (popt): Increase size of buf to 12.
1158 * benchtests/bench-malloc-simple.c (bench):
1159 Do not initialize tests array out of bounds.
1160
fabf5e49
FW
11612019-06-19 Florian Weimer <fweimer@redhat.com>
1162
1163 [BZ #24166]
1164 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1165 dls_serpath field.
1166
2c75b545
FW
11672019-06-18 Florian Weimer <fweimer@redhat.com>
1168
1169 [BZ #24323]
1170 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1171 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1172 fail when called from dlopen.
1173 * elf/Makefile [have-fpie && build-shared] (tests): Add
1174 tst-dlopen-pie.
1175 (tst-dlopen-pie): Link with -ldl.
1176 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1177 * elf/tst-dlopen-pie.c (do_test): New file.
1178
02d8b5ab
RL
11792019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1180
1181 [BZ #24614]
1182 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1183 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1184 between the currency symbol and the minus sign).
1185 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1186 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1187
78049de0
AZ
11882019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1189
112a0ae1
AZ
1190 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1191 sysdep-rtld-routines): Remove rules.
1192 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1193 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1194 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1195 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1196 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1197 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1198 vDSO path for SHARED.
1199 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1200 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1201 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1202 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1203 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1204 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1205
dee07df1
AZ
1206 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1207 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1208 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1209 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1210 CFLAGS-s_llround-power5+.c): New rule.
1211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1212 New file.
1213 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1214 Likewise.
1215 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1216 Likewise.
1217 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1218 Likewise.
1219 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1220 Likewise.
1221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1222 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1224 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1226 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1227 * sysdeps/powerpc/powerpc64/fpu/Makefile
1228 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1230 (libm-sysdep_routines): Remove s_llround-* objects.
1231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1232 file.
1233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1234 Likewise.
1235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1236 Likewise.
1237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1238 Likewise.
1239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1240 Likewise.
1241 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1242 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1243 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1244 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1245 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1246 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1247 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1248 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1249 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1250 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1255
2166283f
AZ
1256 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1257 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1258 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1259 * sysdeps/powerpc/powerpc32/fpu/Makefile
1260 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1261 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1262 optimization.
1263 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1264 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1265 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1267 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1268 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1269 CFLAGS-s_lrint-ppc32.c): New rule.
1270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1271 Remove file.
1272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1273 Likewise.
1274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1275 Likewise.
1276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1277 Likewise.
1278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1279 Likewise.
1280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1281 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1282 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1283 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1285 New file.
1286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1287 Likewise.
1288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1289 Likewise.
1290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1291 Likewise.
1292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1293 Likewise.
1294
78049de0
AZ
1295 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1296 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1297 s_llrint-ppc64.
1298 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1299 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1300 file.
1301 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1302 Likewise.
1303 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1304 Likewise.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1306 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1308 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1310 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1311 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1312 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1314 (libm-sysdep_routines): Remove s_llrint-* objects.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1316 file.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1318 Likewise.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1321 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1322 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1323 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1324 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1325 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1326 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1327 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1329
48c3c123
FW
13302019-06-14 Florian Weimer <fweimer@redhat.com>
1331
1332 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1333 argument to __glibc_has_include to inhibit macro expansion.
1334
8d141877
FW
13352019-06-14 Florian Weimer <fweimer@redhat.com>
1336
1337 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1338 function-like macro, so that __has_include can inhibit expansion
1339 of its argument.
1340
a26e2e9f
JM
13412019-06-13 Joseph Myers <joseph@codesourcery.com>
1342
cf274686
JM
1343 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1344 New macro.
1345
a26e2e9f
JM
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1347 Allow memset in libc.so.
1348
82bc69c0
SN
13492019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1350
1351 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1352 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1353 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1354 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1355 symbols at load time.
1356 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1357
55f82d32
SN
13582019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1359
1360 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1361 (DT_AARCH64_VARIANT_PCS): Define.
1362
21bd039b
AZ
13632019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1364
11926960
AZ
1365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1366 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1367 objects.
1368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1369 Remove file.
1370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1371 Likewise.
1372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1374 Likewise.
1375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1376 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1377 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1379 Remove s_finite* objects.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1386 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1389 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1390
a7218676
AZ
1391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1392 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1393
6427a6ac
AZ
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1395 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1396 objects.
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1398 Remove file.
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1400 Likewise.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1403 Likewise.
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1405 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1406 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1408 Remove s_isinf* and s_isinf* objects.
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1415 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1416 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1418 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1419
a8c590f7
AZ
1420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1421 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1422
2666f963
AZ
1423 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1424 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1425 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1427 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1428 s_isnanf-* objects.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1430 Remove file
1431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1432 Likewise.
1433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1434 Likewise.
1435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1436 Likewise.
1437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1439 Likewise.
1440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1441 Likewise.
1442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1443 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1444 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1445 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1446 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1447 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1448 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1450 Remove s_isnan-* and s_isnanf-* objects.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1454 Likewise.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1460 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1461 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1462 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1464 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1465 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1466 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1468
197dbda1
AZ
1469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1470 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1471
2731a326
AZ
1472 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1473 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1474 CFLAGS-bench-isfinite.c): New rule.
1475 * benchtests/isnan-input: New file.
1476 * benchtests/isinf-input: New file.
1477 * benchtests/isfinite-input: New file.
1478
e41d66e4
AZ
1479 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1480 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1481 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1482 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1484 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1485 s_copysign-ppc32.
1486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1487 Remove file.
1488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1489 Likewise.
1490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1491 Likewise.
1492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1493 Likewise.
1494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1497 Remove s_copysign-power6 s_copysign-ppc64.
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1499 Remove file.
1500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1501 Likewise.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1504 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1505 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1506 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1507 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1508
21bd039b
AZ
1509 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1510 round_to_integer_float, round_mode): Add RINT handling.
1511 (reset_fenv_mode): New symbol.
1512 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1513 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1514 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1515 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1516 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1517 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1518
cfa61144
FW
15192019-06-12 Florian Weimer <fweimer@redhat.com>
1520
1521 [BZ #24632]
1522 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1523 * libio/freopen.c (freopen): Use it.
1524
744e8296
FW
15252019-06-12 Florian Weimer <fweimer@redhat.com>
1526
1527 Linux: Deprecate sysctl.
1528 * include/sysctl.h (__sysctl): Remove declaration.
1529 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1530 check.
1531 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1532 (sysctl): Add deprecation attribute.
1533 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1534 directly, to avoid the deprecation warning. Do not include
1535 <string.h>.
1536 (__sysctl): Remove hidden alias.
1537
5dad6ffb
FW
15382019-06-12 Florian Weimer <fweimer@redhat.com>
1539
1540 Linux: Use kernel headers for statx definitions if available.
1541 * include/bits/statx-generic.h: New file.
1542 * include/bits/types/struct_statx.h: Likewise.
1543 * include/bits/types/struct_statx_timestamp.h: Likewise.
1544 * io/Makefile (headers): Add bits/statx-generic.h.
1545 * io/bits/statx-generic.h: New file. Partly copied from
1546 io/bits/statx.h.
1547 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1548 define original_statx.
1549 * io/bits/types/struct_statx.h: Likewise.
1550 * io/bits/types/struct_statx_timestamp.h: Likewise.
1551 (statx_generic): Use original_statx.
1552 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1553 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1554
4e75c2a4
FW
15552019-06-12 Florian Weimer <fweimer@redhat.com>
1556
1557 * misc/sys/cdefs.h (__glibc_has_include): Define.
1558
680942b0
WD
15592019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1560
1561 * string/memmem.c (__memmem): Rewrite to improve performance.
1562
5e0a7ecb
WD
15632019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1564
1565 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1566 warning.
1567 (two_way_long_needle): Block inlining.
1568 * string/strstr.c (strstr2): Add new function.
1569 (strstr3): Likewise.
1570 (STRSTR): Completely rewrite strstr to improve performance.
1571
80b2bfb5
WD
15722019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1573
1574 * benchtests/bench-strstr.c (test_hard_needle): New function.
1575
e6e24243
JM
15762019-06-10 Joseph Myers <joseph@codesourcery.com>
1577
1578 * malloc/tst-calloc.c: Include <libc-diag.h>.
1579 (null_test): Ignore -Wunused-result around calls to calloc.
1580 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1581 (do_test): Ignore -Wunused-result around call to malloc.
1582
51ea67d5
FW
15832019-06-07 Florian Weimer <fweimer@redhat.com>
1584
1585 Linux: Add getdents64 system call.
1586 * include/dirnent.h (getdents): Add comment and change buffer
1587 argument type to void *.
1588 (getdents64): Likewise. Add hidden prototype.
1589 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1590 getdents64.
1591 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1592 Add tst-getdents64.
1593 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1594 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1595 argument type to void *.
1596 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1597 Add hidden definition and getdents64 alias.
1598 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1599 Likewise.
1600 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1601 * manual/filesys.texi (Accessing Directories): Add Low-level
1602 Directory Access node reference.
1603 (Opening a Directory): Cross-reference it.
1604 (Low-level Directory Access): New node.
1605 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1606 getdents64.
1607 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1608 Likewise.
1609 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1610 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1611 Likewise.
1612 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1613 Likewise.
1614 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1615 Likewise.
1616 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1617 Likewise.
1618 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1619 Likewise.
1620 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1621 Likewise.
1622 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1623 Likewise.
1624 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1625 (GLIBC_2.30): Likewise.
1626 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1627 (GLIBC_2.30): Likewise.
1628 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1629 (GLIBC_2.30): Likewise.
1630 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1631 (GLIBC_2.30): Likewise.
1632 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1633 Likewise.
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1635 (GLIBC_2.30): Likewise.
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1637 (GLIBC_2.30): Likewise.
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1639 (GLIBC_2.30): Likewise.
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1641 (GLIBC_2.30): Likewise.
1642 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1643 Likewise.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1645 Likewise.
1646 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1647 Likewise.
1648 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1650 Likewise.
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1652 Likewise.
1653 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1654 Likewise.
1655 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1656 Likewise.
1657
de751ebc
PC
16582019-06-06 Paul A. Clarke <pc@us.ibm.com>
1659
1660 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1661 (__FPU_MFFS): New.
1662 (__FPU_MFFSL): New.
1663 (_FPU_GET_RC): New.
1664 (_FPU_GETCW): Use __FPU_MFFS().
1665 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1666
28dd3939
FW
16672019-06-06 Florian Weimer <fweimer@redhat.com>
1668
1669 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1670 internal GCC preprocessor identifier __has_include__.
1671
0158473d
PC
16722019-06-05 Paul A. Clarke <pc@us.ibm.com>
1673
1674 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1675 with call to equivalent function.
1676
e863dbf6
FW
16772019-06-04 Florian Weimer <fweimer@redhat.com>
1678
1679 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1680 (do_release_shlib): Adjust for __twalk_r.
1681 (__gconv_release_shlib): Call __twalk_r.
1682
4802be92
AS
16832019-06-04 Andreas Schwab <schwab@suse.de>
1684
1685 [BZ #18830]
1686 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1687 no irreversible characters occurred.
1688 * iconv/gconv_simple.c (internal_ucs4_loop)
1689 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1690 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1691 (ucs4_internal_loop_single, internal_ucs4le_loop)
1692 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1693 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1694 (ucs4le_internal_loop_single): Add const to outend.
1695 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1696 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1697 * iconv/Makefile (tests): Add tst-iconv7.
1698 * iconv/tst-iconv7.c: New file.
1699
dc91a19e
JM
17002019-06-03 Joseph Myers <joseph@codesourcery.com>
1701
1702 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1703
6a1a9a49 17042019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
1705
1706 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1707 * sysdeps/unix/sysv/linux/arm/Makefile
1708 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1709 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1710 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1711 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1712 compatibility symbols.
1713
0bb8f8c7
FW
17142019-05-31 Florian Weimer <fweimer@redhat.com>
1715
1716 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1717 system calls for the arm architecture: breakpoint, get_tls,
1718 set_tls, usr26, usr32.
1719
9250e661
GG
17202019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1721
1722 * sysdeps/powerpc/Makefile
1723 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1724 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1725 Declare '.machine power7' to get support for ldbrx.
1726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1727 directive based on the directory of the file.
1728 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1729 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1730 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1731 '.machine' directive.
1732 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1733 (VADDUQM_V7_V8): Remove.
1734 (__STRCASECMP): Replace macros with actual instructions.
1735 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1736 '.machine' directive.
1737 (VCLZD_V8_v7): Remove.
1738 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1739
fbd6c928
AZ
17402019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1741
1742 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1743 Remove file.
1744 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1745
e47308c9
AZ
17462019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1747
1748 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1749 NEARBYINT handling.
1750 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1751 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1752 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1755 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1756
157cda1f 17572019-05-28 mansayk <6688000@gmail.com>
1758
1759 [BZ #24370]
1760 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1761
182a3746 17622019-05-28 mansayk <6688000@gmail.com>
1763
1764 [BZ #24369]
1765 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1766 (abmon): Likewise, but remove the trailing dots.
1767
c6df1ce3
JM
17682019-05-28 Joseph Myers <joseph@codesourcery.com>
1769
1770 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1771
85188d82
FW
17722019-05-27 Florian Weimer <fweimer@redhat.com>
1773
1774 * nptl/nptl-init.c: Add comment.
1775
5c23c821
FW
17762019-05-24 Florian Weimer <fweimer@redhat.com>
1777
1778 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1779 struct in_addr/struct in6_addr alignment.
1780
bee1f2c4
JM
17812019-05-23 Joseph Myers <joseph@codesourcery.com>
1782
1783 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1784 (F_SEAL_FUTURE_WRITE): New macro.
1785
481c30cb
AH
17862019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1787
1788 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1789 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1790 * elf/tst-ldconfig_aux-cache.root: New directory.
1791 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1792 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1793 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1794
cb755eed
ZW
17952019-05-22 Zack Weinberg <zackw@panix.com>
1796
1797 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1798 host type.
1799 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1800 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1801
1802 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1805 Delete.
1806
1807 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1808 Issue an #error if used with a compiler in SPE-float mode.
1809 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1810 * sysdeps/powerpc/powerpc32/setjmp_common.S
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1817 Remove code to preserve SPE register state.
1818
1819 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1820 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1821 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1822 Remove __SPE__ ifndefs.
1823
46ae0732
WD
18242019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1825
1826 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1827 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1828 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1829 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1830 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1831 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1832 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1833 (INNER_LOOP_ITERS_MEDIUM): New define.
1834 (INNER_LOOP_ITERS_SMALL): New define.
1835 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1836 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1837 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1838 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1839 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1840
004e52fe
AZ
18412019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1842
1843 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1844 New define.
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1846 (SEMTIMEDOP_IPC_ARGS): Likewise.
1847
c9c15ac3
FW
18482019-05-21 Florian Weimer <fweimer@redhat.com>
1849
1850 [BZ #24584]
1851 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1852 before updating __counter field and release it afterwards. Add
1853 overflow check.
1854 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1855 requirement for __counter member.
1856
7e740ab2
FW
18572019-05-21 Florian Weimer <fweimer@redhat.com>
1858
1859 [BZ #24583]
1860 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1861 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1862 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1863 instead of __gconv_release_step.
1864 * libio/Makefile (tests): Add tst-wfile-gconv.
1865 (tests-container): Add tst-wfile-ascii.
1866 (tst-wfile-gconv-ENV): Enable mtrace.
1867 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1868 (tests-special): Add tst-wfile-gconv-mem.out.
1869 (tst-wfile-gconv.out): Depend on locales.
1870 (tst-wfile-gconv-mem.out): Add mtrace rule.
1871 * libio/tst-wfile-ascii.c: New file.
1872 * libio/tst-wfile-gconv.c: Likewise.
1873
09e1b0e3
FW
18742019-05-20 Florian Weimer <fweimer@redhat.com>
1875
1876 [BZ #24588]
1877 libio: Remove codecvt vtable.
1878 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1879 __libio_codecvt.
1880 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1881 __libio_codecvt_encoding.
1882 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1883 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1884 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1885 * libio/iofwide.c (__libio_codecvt): Remove variable.
1886 (_IO_fwide): Do not copy __libio_codecvt.
1887 (__libio_codecvt_out): Rename from do_out and export.
1888 (do_unshift): Remove function.
1889 (__libio_codecvt_in): Rename from do_in and export.
1890 (__libio_codecvt_encoding): Rename from do_encoding and export.
1891 (do_always_noconv): Remove function.
1892 (__libio_codecvt_length): Rename from do_length and export.
1893 (do_max_length): Remove function.
1894 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1895 to libioP.h.
1896 (struct _IO_codecvt): Remove fields __codecvt_destr,
1897 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1898 __codecvt_do_encoding, __codecvt_do_always_noconv,
1899 __codecvt_do_length, __codecvt_do_max_length.
1900 * libio/libioP.h (enum __codecvt_result): Define; moved from
1901 libio.h.
1902 (__libio_codecvt_out, __libio_codecvt_in)
1903 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1904 functions.
1905 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1906 (_IO_wfile_underflow): Call __libio_codecvt_in.
1907 (_IO_wfile_underflow): Likewise.
1908 (_IO_wfile_underflow_mmap): Likewise.
1909 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1910 __libio_codecvt_length.
1911 (adjust_wide_data): Call __libio_codecvt_encoding,
1912 __libio_codecvt_in.
1913 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1914 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1915 __libio_codecvt_length.
1916
75c51570
FW
19172019-05-20 Florian Weimer <fweimer@redhat.com>
1918
1919 * support/support.h (support_sbindir_prefix): Declare.
1920 (support_install_rootsbindir): Update comment.
1921 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1922 * support/support_paths.c (support_sbindir_prefix): Define.
1923
ff6bec7d
MC
19242019-05-20 Mike Crowe <mac@mcrowe.com>
1925
b62bb3bc
MC
1926 * support/timespec.c: Add backslash to correct newline in failure
1927 message.
1928
ff6bec7d
MC
1929 * support/timespec.h: Correct confusing comment.
1930
dfba907f
AZ
19312019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1932
236c18e5
AZ
1933 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1934 define.
1935 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1936 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1937 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1938 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1939
dfba907f
AZ
1940 [BZ #24570]
1941 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1942 usage.
1943
13886008
JM
19442019-05-20 Joseph Myers <joseph@codesourcery.com>
1945
1946 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1947 (NT_ARM_PACG_KEYS): Likewise.
1948
1f50f2ad
WD
19492019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1950
1951 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1952 (tcache_put): Remove redundant assert.
1953 (tcache_get): Remove redundant asserts.
1954 (__libc_malloc): Check tcache count is not zero.
1955 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1956
fef7c63c
FW
19572019-05-17 Florian Weimer <fweimer@redhat.com>
1958
1959 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1960
5f161b23
JM
19612019-05-16 Joseph Myers <joseph@codesourcery.com>
1962
1963 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1964 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1965 0x050100].
1966 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1967 Likewise.
1968 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1969 (__ASSUME_STATX): Likewise.
1970
ec255a97
FW
19712019-05-16 Florian Weimer <fweimer@redhat.com>
1972
1973 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1974 flags argument.
1975 (LINE_PARSER): Do not map IPv4 addresses.
1976 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1977 to parse_line.
1978 (_nss_nis_gethostent_r): Always pass AF_INET to
1979 internal_nis_gethostent_r.
1980 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1981 to parse_line.
1982 (_nss_nis_gethostbyname2_r): Adjust call to
1983 internal_nis_gethostent_r.
1984 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1985 call to internal_nis_gethostent_r.
1986 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1987 from parse_line.
1988 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1989 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1990 Remove flags argument. Do not map IPv4 addresses.
1991 (internal_nisplus_gethostent_r): Adjust call to
1992 _nss_nisplus_parse_hostent.
1993 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1994 to _nss_nisplus_parse_hostent.
1995 (_nss_nisplus_gethostbyname2_r): Adjust call to
1996 internal_gethostbyname2_r.
1997 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1998 Adjust call to internal_gethostbyname2_r.
1999 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2000 _nss_nisplus_parse_hostent.
2001 (_nss_nisplus_gethostbyname4_r): Adjust call to
2002 internal_gethostbyname2_r.
2003
9c02d078
FW
20042019-05-16 Florian Weimer <fweimer@redhat.com>
2005
2006 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2007 Remove flags.
2008 (LINE_PARSER): Remove address mapping.
2009 (EXTRA_ARGS_VALUE): Remove flags argument.
2010 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2011 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2012 gethostbyname3_multi.
2013 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2014 _nss_files_gethostbyname3_r.
2015 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2016
85b0e1e8
FW
20172019-05-16 Florian Weimer <fweimer@redhat.com>
2018
2019 * support/support_test_compare_blob.c (report_blob): Report
2020 incorrect NULL blobs.
2021
11b451c8
MW
20222019-05-15 Mark Wielaard <mark@klomp.org>
2023
2024 [BZ# 24476]
2025 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2026 __libc_once_get (once) and static_buf == NULL.
2027 (__dlerror): Check we have a valid key, set result to static_buf
2028 otherwise.
2029
32ff3975
AS
20302019-05-15 Andreas Schwab <schwab@suse.de>
2031
2032 [BZ #20568]
2033 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2034 __codecvt_do_length.
2035 * libio/Makefile (tests): Add tst-wfile-sync.
2036 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2037 * libio/tst-wfile-sync.c: New file.
2038 * libio/tst-wfile-sync.input: New file.
2039
a9368c34
FW
20402019-05-15 Florian Weimer <fweimer@redhat.com>
2041
2042 nss: Turn __nss_database_lookup into a compatibility symbol.
2043 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2044 __nss_database_lookup.
2045 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2046 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2047 __nss_database_lookup.
2048 (__nss_next): Move to …
2049 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2050 unconditionally.
2051 (__nss_database_lookup): New function.
2052 * nss/Versions (GLIBC_2.0): Update comment.
2053 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2054 * grp/initgroups.c (internal_getgrouplist): Call
2055 __nss_database_lookup2 instead of __nss_database_lookup.
2056 * nscd/aicache.c (addhstaiX): Likewise.
2057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2058 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2059 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2060 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2061 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2062 Likewise.
2063 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2064 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2066
d50f0918 20672019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 2068
d50f0918
AH
2069 * support/support.h (support_install_rootsbindir): New variable.
2070 * support/support_paths.c: Likewise.
2071 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2072
7ac6fad9
FW
20732019-05-15 Florian Weimer <fweimer@redhat.com>
2074
2075 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2076 * iconv/gconv_int.h (__gconv_transliterate): … here.
2077 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2078 * iconv/skeleton.c: Likewise.
2079
04b261bd
FW
20802019-05-14 Florian Weimer <fweimer@redhat.com>
2081
2082 Linux: Add the tgkill function.
2083 * bits/signal_ext.h: New file.
2084 * manual/signal.texi (Signaling Another Process): Document tgkill.
2085 * signal/Makefile (headers): Add bits/signal_ext.h.
2086 * signal/signal.h: Include <bits/signal_ext.h>.
2087 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2088 (tst-tgkill): Link with libpthread.
2089 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2090 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2091 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2092 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2093 tgkill.
2094 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2095 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2096 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2097 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2098 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2099 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2100 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2101 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2102 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2103 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2104 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2105 Likewise.
2106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2107 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2108 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2110 Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2112 Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2114 Likewise.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2116 Likewise.
2117 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2118 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2119 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2120 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2121 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2123 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2125
6807f47b
CD
21262019-05-14 Carlos O'Donell <carlos@redhat.com>
2127
2128 * manual/search.texi (Tree Search Function): Adjust twalk_r
2129 documentation.
2130
fdb8a0be
AZ
21312019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2132
da2b83ef
AZ
2133 [BZ #24544]
2134 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2135 pre-defined value.
2136
c7ac9caa
AZ
2137 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2138 * support/support.h (support_bindir_prefix): New variable.
2139 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2140
91f043ae
AZ
2141 * config.make.in (bindir): New variable.
2142
c50e1c26
AZ
2143 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2144 (lll_trylock): Call __lll_trylock.
2145 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2146 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2147 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2148 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2149 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2150 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2151 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2152 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2153 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2154 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2155 lowlevellock-futex.h.
2156
959aff9f
AZ
2157 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2158 initialization for LLL_LOCK_INITIALIZER different than 0.
2159 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2160 Assume LLL_LOCK_INITIALIZER being 0.
2161 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2162 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2163 Likewise.
2164 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2165 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2166
d7e4c642
AZ
2167 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2168 Optimize futex call and add systemtap probe.
2169
fdb8a0be
AZ
2170 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2171 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2172 __libc_disable_asynccancel, __librt_enable_asynccancel,
2173 __libc_disable_asynccancel, __librt_enable_asynccancel,
2174 __librt_disable_asynccancel): Move to ...
2175 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2176 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2177 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2178 * sysdeps/generic/single-thread.h: New file.
2179 * sysdeps/unix/sysdep.h: Include single-thread.h.
2180 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2181 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2182
f6efec90
MF
21832019-05-08 Mike FABIAN <mfabian@redhat.com>
2184
2185 [BZ #24535]
2186 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2187 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2188 Unicode 12.1.0.
2189 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2190 * localedata/unicode-gen/PropList.txt: Likewise.
2191 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2192 * localedata/charmaps/UTF-8: Regenerate.
2193 * localedata/locales/i18n_ctype: Likewise.
2194 * localedata/locales/tr_TR: Likewise.
2195 * localedata/locales/translit_circle: Likewise.
2196 * localedata/locales/translit_cjk_compat: Likewise.
2197 * localedata/locales/translit_combining: Likewise.
2198 * localedata/locales/translit_compat: Likewise.
2199 * localedata/locales/translit_font: Likewise.
2200 * localedata/locales/translit_fraction: Likewise.
2201
5ad533e8
WD
22022019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2203
2204 [BZ #24531]
2205 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2206 (do_set_tcache_count): Only update if count is small enough.
2207 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2208
4aee85f9
FW
22092019-05-10 Florian Weimer <fweimer@redhat.com>
2210
2211 * nptl/sem_close.c (struct walk_closure): Define.
2212 (walker): Adjust for __twalk_r.
2213 (sem_close): Call __twalk_r.
2214
eb669ff5
AZ
22152019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2216
2217 * support/timespec.c (test_timespec_before_impl,
2218 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2219 insted of long int.
2220
51983996
MC
22212019-05-09 Mike Crowe <mac@mcrowe.com>
2222
44ac6ee9
MC
2223 * nptl/tst-abstime.c: Use libsupport.
2224
495514ee
MC
2225 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2226 small bug where only tv.tv_usec was checked which could cause an
2227 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2228 than a second.
2229
2230 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2231 libsupport.
2232
40d0816f
MC
2233 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2234 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2235
d8e0b901
MC
2236 * nptl/tst-cond11.c: Use libsupport.
2237
51983996
MC
2238 * support/timespec.h: New file. Provide timespec helper functions
2239 along with macros in the style of those in check.h.
2240 * support/timespec.c: New file. Implement check functions declared
2241 in support/timespec.h.
2242 * support/timespec-add.c: New file from gnulib containing
2243 timespec_add implementation that handles overflow.
2244 * support/timespec-sub.c: New file from gnulib containing
2245 timespec_sub implementation that handles overflow.
2246 * support/README: Mention timespec.h.
2247
18aa51ee
SN
22482019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2249
2250 [BZ #24537]
2251 * nptl/Makefile: Move tst-eintr1 to xtests.
2252
252296c6
AZ
22532019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2254
ae45cf84
AZ
2255 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2256 TRUNC handling.
2257 (round_mode): Add definition for TRUNC.
2258 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2259 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2260 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2261 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2262 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2263 Likewise.
2264 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2265 Likewise.
2266 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2267 Likewise.
2268 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2269 Likewise.
2270 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2271 file.
2272 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2273 Likewise.
2274 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2275 Likewise.
2276 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2277 Likewise.
2278 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2279 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2280 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2281 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2282 s_truncf-power5+, and s_truncf-ppc64.
2283 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2284 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2285 file.
2286 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2288 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2289 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2290 file.
2291 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2292 Likewise.
2293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2294 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2296 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2297 s_truncf-power5+, and s_truncf-ppc64.
2298 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2299 file.
2300 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2301 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2302 Likewise.
2303 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2304 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2305 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2306 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2307 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2308
a1cb1888
AZ
2309 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2310 ROUND handling.
2311 (round_mode): Add definition for ROUND.
2312 (round_to_integer_float): Likewise.
2313 * sysdeps/powerpc/fpu/s_round.c: New file.
2314 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2315 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2316 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2317 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2318 Likewise.
2319 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2320 Likewise.
2321 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2322 Likewise.
2323 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2324 Likewise.
2325 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2326 file.
2327 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2328 Likewise.
2329 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2330 Likewise.
2331 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2332 Likewise.
2333 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2334 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2335 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2336 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2337 s_roundf-power5+, and s_roundf-ppc64.
2338 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2339 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2340 file.
2341 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2343 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2344 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2345 file.
2346 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2347 Likewise.
2348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2349 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2351 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2352 s_roundf-power5+, and s_roundf-ppc64.
2353 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2354 file.
2355 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2356 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2357 Likewise.
2358 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2359 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2361 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2362 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2363
252296c6
AZ
2364 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2365 Add FLOOR option.
2366 (round_mode): Add definition for FLOOR.
2367 * sysdeps/powerpc/fpu/s_floor.c: New file.
2368 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2369 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2370 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2372 Remove file.
2373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2374 Likewise
2375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2376 Likewise.
2377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2378 Likewise.
2379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2380 New file.
2381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2382 Likewise.
2383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2384 Likewise.
2385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2386 Likewise.
2387 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2388 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2389 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2390 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2391 s_floorf-power5+, and s_floorf-ppc64.
2392 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2393 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2394 file.
2395 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2397 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2398 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2399 file.
2400 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2401 Likewise.
2402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2403 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2405 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2406 s_floorf-power5+, and s_floorf-ppc64.
2407 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2408 file.
2409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2410 file.
2411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2412 Likewise.
2413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2414 Likewise.
2415 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2416 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2417 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2418 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2419
33647a72
MC
24202019-05-08 Mike Crowe <mac@mcrowe.com>
2421
2422 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2423 clock_gettime wrapper for use in tests that fails the test rather
2424 than returning failure.
2425
2426 * support/xtime.h: New file to declare xclock_gettime.
2427
2428 * support/Makefile: Add xclock_gettime.c.
2429
2430 * support/README: Mention xtime.h.
2431
b2f601ba
FW
24322019-05-08 Florian Weimer <fweimer@redhat.com>
2433
2434 malloc/tst-mallocfork2: Use process-shared barriers.
2435 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2436 (signal_count, sigusr1_sender_pid): Remove.
2437 (iterations): Define constant.
2438 (shared): New variable.
2439 (sigusr1_received): Update comment.
2440 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2441 (signal_sender): Optional use barriers to avoid sending signals
2442 during irrelevant times.
2443 (do_it): Initialize variable shared. Use xfork for error
2444 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2445 the iteration count, independent of signal delivery. Check for
2446 deadlocks in fork. Introduce barriers for reducing signal
2447 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2448 replaced by the barriers. Count signals during fork/free/malloc
2449 and report them.
2450 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2451
c4a392cf
JM
24522019-05-07 Joseph Myers <joseph@codesourcery.com>
2453
7621676f
JM
2454 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2455 version to 5.1.
2456 (clock_adjtime64) New syscall.
2457 (clock_getres_time64) Likewise.
2458 (clock_gettime64) Likewise.
2459 (clock_nanosleep_time64) Likewise.
2460 (clock_settime64) Likewise.
2461 (futex_time64) Likewise.
2462 (io_pgetevents_time64) Likewise.
2463 (io_uring_enter) Likewise.
2464 (io_uring_register) Likewise.
2465 (io_uring_setup) Likewise.
2466 (mq_timedreceive_time64) Likewise.
2467 (mq_timedsend_time64) Likewise.
2468 (pidfd_send_signal) Likewise.
2469 (ppoll_time64) Likewise.
2470 (pselect6_time64) Likewise.
2471 (recvmmsg_time64) Likewise.
2472 (rt_sigtimedwait_time64) Likewise.
2473 (sched_rr_get_interval_time64) Likewise.
2474 (semtimedop_time64) Likewise.
2475 (timer_gettime64) Likewise.
2476 (timer_settime64) Likewise.
2477 (timerfd_gettime64) Likewise.
2478 (timerfd_settime64) Likewise.
2479 (utimensat_time64) Likewise.
2480
c4a392cf
JM
2481 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2482 version to 9 branch.
2483
32e902a9
AY
24842019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2485
2486 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2487 __memmove_thunderx2 to the list of implementations
2488 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2489 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2490 (__memmove_thunderx2): Rewritten using SIMD ld/st
2491 (__memcpy_thunderx2): Fixed handling overlapping cases.
2492 Used ldp/stp instead of ldr/str if possible. Made loops
2493 tails branchless.
2494
ac3da35d
FW
24952019-05-03 Florian Weimer <fweimer@redhat.com>
2496
2497 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2498
b2af6fb2
AZ
24992019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2500
7dfde28a 2501 [BZ #24506]
b2af6fb2
AZ
2502 * elf/tst-pldd.c (in_str_list): New function.
2503 (do_test): Add default names for ld and libc as one option.
2504
7b807a35
FW
25052019-05-02 Florian Weimer <fweimer@redhat.com>
2506
2507 misc: Add twalk_r function.
2508 * include/search.h (__twalk_r): Declare.
2509 * manual/examples/twalk.c: New file.
2510 * manual/search.texi (Tree Search Function): Document twalk_r.
2511 * misc/Versions (2.30): Export twalk_r.
2512 (GLIBC_PRIVATE): Export __twalk_r.
2513 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2514 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2515 (twalk_r): Add weak alias.
2516 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2517 (walk_trace): New variable.
2518 (struct twalk_with_twalk_r_closure): Define.
2519 (twalk_with_twalk_r_action): New function.
2520 (twalk_with_twalk_r): Likewise.
2521 (walk_action): Call walk_trace_add.
2522 (walk_tree_with): Rename from walk_tree. Add walk argument.
2523 (walk_tree): New function.
2524 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2525 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2526 Likewise.
2527 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2528 Likewise.
2529 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2530 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2531 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2532 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2533 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2534 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2535 Likewise.
2536 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2537 Likewise.
2538 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2539 Likewise.
2540 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2541 (GLIBC_2.30): Likewise.
2542 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2543 (GLIBC_2.30): Likewise.
2544 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2545 (GLIBC_2.30): Likewise.
2546 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2547 (GLIBC_2.30): Likewise.
2548 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2549 Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2551 (GLIBC_2.30): Likewise.
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2553 (GLIBC_2.30): Likewise.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2555 (GLIBC_2.30): Likewise.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2557 (GLIBC_2.30): Likewise.
2558 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2559 Likewise.
2560 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2561 Likewise.
2562 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2563 Likewise.
2564 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2565 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2566 Likewise.
2567 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2568 Likewise.
2569 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2570 Likewise.
2571 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2572 Likewise.
2573
20aa5819
PE
25742019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2575
2576 Make mktime etc. compatible with __time64_t
2577 Keep these functions compatible with Gnulib while adding
2578 __time64_t support. The basic idea is to move private API
2579 declarations from include/time.h to time/mktime-internal.h, since
2580 the former file cannot easily be shared with Gnulib whereas the
2581 latter can.
2582 Also, do some other minor cleanup while in the neighborhood.
2583 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2584 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2585 since Gnulib needs it.
2586 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2587 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2588 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2589 (in_time_t_range): New static function.
2590 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2591 so that glibc users are not tempted to use __time64_t.
2592 * time/mktime-internal.h: Rewrite so that it does both glibc
2593 and Gnulib work. Include time.h if not _LIBC.
2594 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2595 (__time64_t): New type or macro, moved here from
2596 posix/bits/types.h.
2597 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2598 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2599 from include/time.h.
2600 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2601 New macros, taken from GNulib.
2602 (__mktime_internal): New prototype, moved here from include/time.h.
2603 * time/mktime.c (mktime_min, mktime_max, convert_time)
2604 (ranged_convert, __mktime_internal, __mktime64):
2605 * time/timegm.c (__timegm64):
2606 Use __time64_t, not time_t.
2607 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2608 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2609 Rename from mktime.
2610 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2611 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2612 for libc_hidden_def.
2613 Include errno.h.
2614 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2615 Rename from timegm.
2616 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2617
87c266d7
MR
26182019-04-30 Maciej W. Rozycki <macro@wdc.com>
2619
2620 [BZ #19444]
2621 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2622 from `-Wmaybe-uninitialized'.
2623 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2624
c4c0848b
AZ
26252019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2626
6cac323c
AZ
2627 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2628 function.
2629 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2630 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2631 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2632 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2633 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2635 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2637 Remove file.
2638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2639 Likewise.
2640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2641 Likewise.
2642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2643 Likewise.
2644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2645 New file.
2646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2647 Likewise.
2648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2649 Likewise.
2650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2651 Likewise.
2652 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2653 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2655 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2656 Likewise.
2657 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2658 Likewise.
2659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2660 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2661 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2662 file.
2663 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2664 Likewise.
2665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2666 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2667 * here.
2668 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2669 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2670 s_ceilf-power5+, and s_ceilf-ppc64.
2671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2672 file.
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2676 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2677 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2678 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2680
c4c0848b
AZ
2681 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2682 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2683 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2684
f492fc99
YD
26852019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2686
2687 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2688 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2689 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2690 (sem_getvalue): Likewise.
2691
c57afec0
FW
26922019-04-26 Florian Weimer <fweimer@redhat.com>
2693
2694 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2695 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2696
a8ff215e
FW
26972019-04-26 Florian Weimer <fweimer@redhat.com>
2698
2699 Makeconfig: Move -Wl,-rpath-link options before library references.
2700 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2701 (link-libc): Remove $(link-libc-rpath-link).
2702
27032019-04-25 Florian Weimer <fweimer@redhat.com>
2704
2705 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2706 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2707 (+link-static-before-libc): Remove $(CC).
2708 (+link-static, +link-static-tests): Add $(CC).
2709 (+link-before-libc): Remove $(CC).
2710 (+link, +link-pie, +link-pie-printers): Add $(CC).
2711
e30fb31c
FW
27122019-04-26 Florian Weimer <fweimer@redhat.com>
2713
2714 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2715 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2716 (+link-static-before-libc): Remove $(CC).
2717 (+link-static, +link-static-tests): Add $(CC).
2718 (+link-before-libc): Remove $(CC).
2719 (+link, +link-pie, +link-pie-printers): Add $(CC).
2720
deacca00
DA
27212019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2722
2723 [BZ#24484]
2724 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2725
b5ffdc48
FW
27262019-04-25 Florian Weimer <fweimer@redhat.com>
2727
2728 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2729 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2730 (bench-link-targets): New variable.
2731 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2732
94a4e9e4
FW
27332019-04-25 Florian Weimer <fweimer@redhat.com>
2734
2735 Also enable BIND_NOW for programs if --enable-bind-now.
2736 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2737 (+link-pie): Use $(link-extra-flags).
2738 (+link-static): Likewise.
2739 [! $(build-pie-default)] (+link): Likewise.
2740 * manual/install.texi (Configuring and compiling): Update
2741 --enable-bind-now description.
2742 * INSTALL: Regenerated.
2743
fe92a91f
WD
27442019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2745
2746 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2747 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2748
f9b645b4
MF
27492019-04-24 Mike Frysinger <vapier@gentoo.org>
2750
2751 [BZ #18465]
2752 * malloc/Makefile (others): Add memusagestat.
2753 ($(objpfx)memusagestat): Delete rule.
2754 (LDLIBS-memusagestat): New variable.
2755
439bf534
FW
27562019-04-24 Florian Weimer <fweimer@redhat.com>
2757
2758 * locale/Makefile (tests-special): Guard setting by
2759 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2760 to run while cross-compiling.
2761
1a4c2735
AZ
27622019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2763
2764 [BZ #18035]
2765 * elf/Makefile (tests-container): Add tst-pldd.
2766 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2767 (E(find_maps)): Avoid use alloca, use default read file operations
2768 instead of explicit LFS names, and fix infinite loop.
2769 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2770 (get_process_info): Use _Static_assert instead of assert, use default
2771 directory operations instead of explicit LFS names, and free some
2772 leadek pointers.
2773 * elf/tst-pldd.c: New file.
2774
2d398aa2
L
27752019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * malloc/arena.c (do_set_mallopt_check): Removed.
2778
e485b2b6
FW
27792019-04-23 Florian Weimer <fweimer@redhat.com>
2780
2781 locale: Add LOCPATH diagnostics to the locale program.
2782 * locale/programs/locale.c (setlocale_failed): New variable.
2783 (try_setlocale): New function.
2784 (quote_string): Likewise.
2785 (setlocale_diagnostics): Likewise.
2786 (main): Call try_setlocale instead of setlocale. Call
2787 setlocale_diagnostics.
2788 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2789 (tst-locale-locpath.out): New target.
2790 * locale/tst-locale-locpath.sh: New file.
2791
25f7a3c9
AZ
27922019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2793
2794 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2795 to 2.30 notes.
2796
9bf8e29c
AZ
27972019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2798
2799 [BZ #23741]
2800 * malloc/hooks.c (malloc_check, realloc_check): Use
2801 __builtin_add_overflow on overflow check and adapt to
2802 checked_request2size change.
2803 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2804 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2805 allocation size to PTRDIFF_MAX.
2806 (REQUEST_OUT_OF_RANGE): Remove macro.
2807 (checked_request2size): Change to inline function and limit maximum
2808 requested size to PTRDIFF_MAX.
2809 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2810 maximum allocation size to PTRDIFF_MAX.
2811 (_mid_memalign): Use _int_memalign call for overflow check.
2812 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2813 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2814 limit maximum requested size to PTRDIFF_MAX.
2815 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2816 valloc, pvalloc): Add __attribute_alloc_size__.
2817 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2818 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2819 larger than PTRDIFF_MAX.
2820 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2821 around tests of malloc with negative sizes.
2822 * malloc/tst-posix_memalign.c (do_test): Likewise.
2823 * malloc/tst-pvalloc.c (do_test): Likewise.
2824 * malloc/tst-valloc.c (do_test): Likewise.
2825 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2826 with resulting size allocation larger than PTRDIFF_MAX with
2827 reallocarray_nowarn.
2828 (reallocarray_nowarn): New function.
2829 * NEWS: Mention the malloc function semantic change.
2830
0e169691
AZ
28312019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2832
52faba65
AZ
2833 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2834 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2835
3a16dd78
AZ
2836 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2837 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2838 * sysdeps/powerpc/fpu/s_fma.c: New file.
2839 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2840
1dac8bd6
AZ
2841 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2842 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2843
a3ae315a
AZ
2844 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2845 the magic flag store.
2846 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2847 Likewise.
2848 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2849 Likewise.
2850 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2851 Remove rt_sigreturn call.
2852
ffe8a9a8
AZ
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2854 Remove rt_sigreturn call.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2856 Likewise.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2859
0e169691
AZ
2860 * support/Makefile (libsupport-routines): Add support_subprocess,
2861 xposix_spawn, xposix_spawn_file_actions_addclose, and
2862 xposix_spawn_file_actions_adddup2.
2863 (tst-support_capture_subprocess-ARGS): New rule.
2864 * support/capture_subprocess.h (support_capture_subprogram): New
2865 prototype.
2866 * support/support_capture_subprocess.c (support_capture_subprocess):
2867 Refactor to use support_subprocess and support_capture_poll.
2868 (support_capture_subprogram): New function.
2869 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2870 str_to_write_mode, test_common, parse_int, handle_restart,
2871 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2872 (do_test): Add support_capture_subprogram tests.
2873 * support/subprocess.h: New file.
2874 * support/support_subprocess.c: Likewise.
2875 * support/xposix_spawn.c: Likewise.
2876 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2877 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2878 * support/xspawn.h: Likewise.
2879
bae8cf0e
MG
28802019-04-17 Mike Gerow <gerow@google.com>
2881
2882 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2883 groups limit.
2884
e3f454ba
FW
28852019-04-11 Florian Weimer <fweimer@redhat.com>
2886
2887 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2888 domain with empty string.
2889 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2890
32d85c11
FW
28912019-04-11 Florian Weimer <fweimer@redhat.com>
2892
2893 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2894 comment.
2895 (alloc_buffer_next): Change return type to non-const. Update
2896 comment.
2897
221710af
FW
28982019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2899
2900 * manual/time.texi (Formatting Calendar Time): Add missing percent
2901 sign to conversion specifier.
2902
e621246e
CD
29032019-04-09 Carlos O'Donell <carlos@redhat.com>
2904 Kwok Cheung Yeung <kcy@codesourcery.com>
2905
2906 [BZ #16573]
2907 * malloc/mtrace.c: Define prototypes for all hooks.
2908 (set_default_hooks): New function.
2909 (set_trace_hooks): Likewise.
2910 (save_default_hooks): Likewise.
2911 (tr_freehook): Use new s*_hooks functions.
2912 (tr_mallochook): Likewise.
2913 (tr_reallochook): Likewise.
2914 (tr_memalignhook): Likewise.
2915 (mtrace): Likewise.
2916 (muntrace): Likewise.
2917
648279f4
WD
29182019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2919
2920 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2921 (generic_stpcpy): New function.
2922 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2923 (generic_stpncpy): New function.
2924 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2925 (generic_strcat): New function.
2926 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2927 (generic_strcpy): New function.
2928 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2929 (STUPID_STRNCAT): Remove function.
2930 (generic_strncat): New function.
2931 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2932 (STUPID_STRNCPY): Remove function.
2933 (generic_strncpy): New function.
2934 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2935 (generic_strnlen): New function.
2936 (memchr_strnlen): New function.
2937 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2938 (memchr_strlen): Likewise.
2939
93eebae5
WD
29402019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2941
2942 * benchtests/bench-strstr.c (input): Add realistic input text.
2943 (stupid_strstr): Remove function.
2944 (basic_strstr): Add function.
2945 (twoway_strstr): Add function.
2946 (do_one_test): Add result checking.
2947 (do_test): Use new input text. Remove accidental early matches.
2948 (test_main): Improve range of tests, reduce unaligned cases.
2949
a173d09f
WD
29502019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2951
2952 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2953 (basic_memmem): Add function.
2954 (twoway_memmem): Add function.
2955
6103c0a8
WD
29562019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2957
2958 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2959 * benchtests/bench-malloc-thread.c: Likewise.
2960 * benchtests/bench-skeleton.c: Likewise.
2961 * benchtests/bench-strtod.c: Likewise.
2962 * benchtests/bench-timing.h: Likewise.
2963
33322186
FW
29642019-04-08 Florian Weimer <fweimer@redhat.com>
2965
2966 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2967 definitions.
2968 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2969 RES_INSECURE2 security checks.
2970 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2971 RES_INSECURE2 handling.
2972
3f8b44be
FW
29732019-04-08 Florian Weimer <fweimer@redhat.com>
2974
2975 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2976 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2977 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2978 GETHOSTBYNAME.
2979 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2980 (tests-internal): Update justification for tst-resolv-res_init,
2981 tst-resolv-res_init-thread.
2982 (tst-res_use_inet6): Remove target.
2983 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2984 * resolv/res_debug.c (p_option): Remove "inet6" support.
2985 * resolv/res_init.c (res_setoptions): Likewise.
2986 * resolv/res_use_inet6.h: Remove file.
2987 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2988 definition.
2989 (res_use_inet6): Always return false.
2990 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2991 * resolv/resolv_context.h: Adjust file comment.
2992 (struct resolv_context): Update comment on __next field.
2993 (__resolv_context_put): Update comment.
2994 * resolv/tst-res_use_inet6.c: Remove file.
2995 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2996 "inet6" support.
2997 (test_cases): Adjust test case.
2998 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2999 (thread_byname2_af_inet6): Use old byname_inet6 code.
3000 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3001 (gai): Remove do_inet6 argument.
3002 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3003 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3004 (thread_gai_unspec_inet6): Remove functions.
3005 (do_test): Adjust thread_funcs.
3006 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3007 RES_USE_INET6 flag.
3008 (gaih_inet): Do not disable RES_USE_INET6 flag.
3009
6b5c8607 30102019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
3011
3012 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3013 and remove redundant code.
3014
e3fd0b0e
AZ
30152019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3016
f82ed45d
AZ
3017 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3018 New rule.
3019 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3021 Likewise.
3022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3023 Likewise.
3024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3025 Likewise.
3026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3029 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3031 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3033 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3034 wcsrchr-power7.
3035 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3038 Remove wcsrchr optimizations.
3039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3040
662c2cc4
AZ
3041 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3042 the loop unroll.
3043
421e3005
AZ
3044 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3045 New rule.
3046 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3048 Likewise.
3049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3050 Likewise.
3051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3052 Likewise.
3053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3054 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3055 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3056 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3060 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3061 wcschr-power7.
3062 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3065 Remove wcschr optimizations.
3066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3067
7ba0100c
AZ
3068 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3069 the loop unroll.
3070
447a1306
AZ
3071 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3072 New rule.
3073 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3075 Likewise.
3076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3077 Likewise.
3078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3079 Likewise.
3080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3085 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3087 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3088 wcscpy-power7.
3089 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3092 Remove wcscpy optimizations.
3093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3094
e3fd0b0e
AZ
3095 * include/loop_unroll.h: New file.
3096 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3097 besides generic implementation.
3098
8260f236
DD
30992019-04-03 DJ Delorie <dj@redhat.com>
3100
3101 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3102 snprintf truncating output.
3103
0bd545ee
DD
31042019-04-02 DJ Delorie <dj@redhat.com>
3105
3106 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3107 warning.
3108
466afec3
TS
31092019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3110
3111 [BZ #22964]
3112 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3113 era.
3114 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3115 (mkreftable): Add rules for the new Japanese era and the new dates.
3116
2f1d6155
TS
31172019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3118 Rafal Luzynski <digitalfreak@lingonborough.com>
3119
3120 * time/tst-strftime2.c (date_t): Explicitly define the type.
3121 (dates): Use natural month and year numbers to express a date.
3122 (is_before): New function to compare dates.
3123 (mkreftable): Minor improvements to simplify maintenance.
3124 (do_test): Reflect the changes in dates array.
3125
84aea169
TS
3126 [BZ #24293]
3127 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3128 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3129 * time/tst-strftime2.c (locales): Likewise.
3130 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3131 2010-04-01, and 2011-04-01.
3132 (mkreftable): Add rules for the new locales and the new dates.
3133
62449176
CD
31342019-04-01 Carlos O'Donell <carlos@redhat.com>
3135
3136 * localedata/locales/ja_JP: Add comments to era entries.
3137
e0e4c321
DD
31382019-04-01 DJ Delorie <dj@redhat.com>
3139
3140 [BZ #24394]
3141 * time/strptime_l.c (%Ey): Fix fencepost error.
3142 * time/tst-strftime3.c: New.
3143 * time/Makefile (tests): Add tst-strftime3.
3144
6b5c8607 31452019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
3146
3147 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3148 conditional branch to DIVBYZERO. Fix unwind info.
3149 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3150 excb after conditional branch to $powerof2. Add missing unop
3151 instructions and .align directives and reorder instructions to
3152 match __divqu.
3153
d5ecee82
RH
31542019-04-01 Richard Henderson <rth@twiddle.net>
3155
3156 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3157 Do not redefine.
3158 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3159 Do not redefine.
3160
656dd306
MR
31612019-03-30 Maciej W. Rozycki <macro@wdc.com>
3162
3163 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3164 $libc_cv_riscv_float_abi in `test' invocation.
3165 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3166
10cce669
PC
31672019-03-29 Paul A. Clarke <pc@us.ibm.com>
3168
3169 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3170 asm with builtin.
3171 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3172 Likewise.
3173 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3174 (_GET_SI_FPSCR): Likewise.
3175 (_SET_SI_FPSCR): Likewise.
3176
5e67e4bf 31772019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
3178
3179 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3180 clang 2.8.
3181 (signbit): Use builtin for clang 3.3.
3182 (isinf): Use builtin for clang 3.7.
3183
01963891
AZ
31842019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3185
3186 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3187
67112f7a
AH
31882019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3189
3190 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3191 quote in printf.
3192
7a773abf
MC
31932019-03-25 Mike Crowe <mac@mcrowe.com>
3194
82849fde
MC
3195 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3196 pthread_rwlock_timedrdlock with calls to
3197 pthread_rwlock_timedwrlock to ensure that the latter is tested
3198 too. Use new function name in diagnostic messages too.
3199
7a773abf
MC
3200 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3201 (do_test) Use libsupport test macros rather than hand-coded
3202 conditionals and error messages. Ensure that sem_init returns zero
3203 rather than not -1. Use <support/test-driver.c> rather than
3204 test-skeleton.c.
3205
3206 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3207 test macros rather than hand-coded conditionals and error messages.
3208 Use <support/test-driver.c> rather than test-skeleton.c.
3209
9ac2de69
JM
32102019-03-25 Joseph Myers <joseph@codesourcery.com>
3211
d7563e62
JM
3212 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3213
9ac2de69
JM
3214 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3215 (NT_MIPS_MSA): Likewise.
3216
38cc11da
AZ
32172019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3218
7621e38b
WD
3219 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3220 * benchtests/README: Update description.
3221 * benchtests/bench-timing.h: Default to hp-timing.
3222 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3223 HP_TIMING_PRINT): Remove.
3224 (HP_TIMING_NOW): Add generic implementation.
3225 (hp_timing_t): Change to uint64_t.
3226
1e372ded
AZ
3227 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3228 HP_TIMING_INLINE.
3229 * nptl/descr.h: Likewise.
3230 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3231 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3232 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3233 Abstract hp-timing usage with RTLD_* macros.
3234 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3235 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3236 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3237 HP_TIMING_NONAVAIL): Likewise.
3238 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3239 Likewise.
3240 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3241 HP_SMALL_TIMING_AVAIL): Likewise.
3242 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3243 HP_SMALL_TIMING_AVAIL): Likewise.
3244 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3245 HP_SMALL_TIMING_AVAIL): Likewise.
3246 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3247 HP_SMALL_TIMING_AVAIL): Likewise.
3248 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3249 Likewise.
3250 * sysdeps/generic/hp-timing-common.h: Update comment with
3251 HP_TIMING_AVAIL removal.
3252
359653aa
AZ
3253 * include/random-bits.h: New file.
3254 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3255 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3256 random_bits.
3257 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3258 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3259 Likewise.
3260
6e8ba7fd
AZ
3261 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3262 * rt/Makefile (clock-routines): Remove get_clockfreq.
3263 * rt/get_clockfreq.c: Remove file.
3264 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3265 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3268 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3269
77b6f553
AZ
3270 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3271 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3272 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3273 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3274 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3275
38cc11da
AZ
3276 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3277 pthread_clock_settime.
3278 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3279 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3280 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3281 * elf/rtld.c (_dl_start_final): Likewise.
3282 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3283 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3284 Remove.
3285 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3286 (_dl_cpuclock_offset): Remove.
3287 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3288 cpuclock_offset_ununsed.
3289 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3290 cpuclock_offset set.
3291 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3292 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3293 * nptl/pthread_clock_gettime.c: Remove file.
3294 * nptl/pthread_clock_settime.c: Likewise.
3295 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3296 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3297 and CLOCK_PROCESS_CPUTIME_ID support.
3298 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3299 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3300 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3301 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3302 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3303 Likewise.
3304 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3305
421749d6
SL
33062019-03-22 Stefan Liebler <stli@linux.ibm.com>
3307
3308 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3309 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3310 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3311 New defines.
3312 * sysdeps/s390/memmem-arch13.S: New file.
3313 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3314 if it is only used as fallback.
3315 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3316 * sysdeps/s390/multiarch/ifunc-impl-list.c
3317 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3318
6f47401b
SL
33192019-03-22 Stefan Liebler <stli@linux.ibm.com>
3320
3321 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3322 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3323 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3324 New defines.
3325 * sysdeps/s390/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3327 * sysdeps/s390/strstr-arch13.S: New file.
3328 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3329 if it is only used as fallback.
3330 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3331
96fbb9a3
SL
33322019-03-22 Stefan Liebler <stli@linux.ibm.com>
3333
3334 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3335 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3336 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3337 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3338 ifunc selector.
3339 * sysdeps/s390/multiarch/ifunc-impl-list.c
3340 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3341 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3342 S390_IS_ARCH13_MIE3): New defines.
3343
a899a551
SL
33442019-03-22 Stefan Liebler <stli@linux.ibm.com>
3345
3346 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3347 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3348 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3349 * sysdeps/s390/configure: Regenerated.
3350
1a7df49c
SL
33512019-03-22 Stefan Liebler <stli@linux.ibm.com>
3352
3353 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3354 Add vxe2, vxp, dflt, sort flags.
3355 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3356 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3357 capabilities.
3358 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3359 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3360 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3361 HWCAP_S390_DFLT): Define.
3362
5e67e4bf 33632019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
3364
3365 [BZ #24372]
3366 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3367 of compiler warning.
3368 * locale/programs/ld-collate.c (collate_output): Likewise.
3369
ac64195c
DD
33702019-03-21 DJ Delorie <dj@redhat.com>
3371
3372 [BZ #24372]
3373 * iconv/iconvconfig.c (write_output): Replace floating point math
3374 with integer math to avoid imprecise results.
3375 * locale/programs/ld-collate.c (collate_output): Likewise.
3376
61f5e947
SL
33772019-03-21 Stefan Liebler <stli@linux.ibm.com>
3378
3379 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3380 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3381
57ada43c 33822019-03-20 mansayk <6688000@gmail.com>
3383
3384 [BZ #24296]
3385 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3386 (abday): Likewise, but remove the trailing dots.
3387
a2e57f89
JM
33882019-03-19 Joseph Myers <joseph@codesourcery.com>
3389
3390 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3391 macro.
3392 (HWCAP_PACA): Likewise.
3393 (HWCAP_PACG): Likewise.
3394 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3395 Increase to 32.
3396 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3397
e87d8ada
ST
33982019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3399
3400 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3401 should be handled.
3402
477e739b
JM
34032019-03-15 Joseph Myers <joseph@codesourcery.com>
3404
3405 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3406 version to 5.0.
3407 (old_getpagesize): New syscall.
3408
238d60a1
FY
34092019-03-15 Felix Yan <felixonmars@archlinux.org>
3410
3411 [BZ #24293]
3412 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3413 * localedata/locales/cmn_TW (era): Likewise.
3414 * localedata/locales/hak_TW (era): Likewise.
3415 * localedata/locales/lzh_TW (era): Likewise.
3416 * localedata/locales/nan_TW (era): Likewise.
3417
5dde9ef7
DD
34182019-03-14 Adam Maris <amaris@redhat.com>
3419
3420 * malloc/malloc.c (_int_malloc): Check for large bin list
3421 corruption when inserting unsorted chunk.
3422
a0a0dc83
FW
34232019-03-14 Florian Weimer <fweimer@redhat.com>
3424
3425 Remove obsolete, never-implemented XSI STREAMS declarations.
3426 * manual/terminal.texi (Allocation): Remove portability note and
3427 adjust example.
3428 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3429 _SC_STREAMS.
3430 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3431 * sysdeps/unix/inet/Subdirs (streams): Remove.
3432 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3433 (conformtest-headers-UNIX98): Likewise.
3434 (conformtest-headers-XOPEN2K): Likewise.
3435 (conformtest-headers-POSIX2008): Likewise.
3436 * posix/compat-streams.c: New file.
3437 * posix/Makefile (routines): Add it.
3438 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3439 getpmsg, isastream, putmsg, putpmsg.
3440 (GLIBC_2.30): New section.
3441 * bits/stropts.h: Remove file.
3442 * bits/xtitypes.h: Likewise.
3443 * conform/data/stropts.h-data: Likewise.
3444 * include/stropts.h: Likewise.
3445 * include/sys/stropts.h: Likewise.
3446 * include/xtitypes.h: Likewise.
3447 * streams/Makefile: Likewise.
3448 * streams/fattach.c: Likewise.
3449 * streams/fdetach.c: Likewise.
3450 * streams/getmsg.c: Likewise.
3451 * streams/getpmsg.c: Likewise.
3452 * streams/isastream.c: Likewise.
3453 * streams/putmsg.c: Likewise.
3454 * streams/putpmsg.c: Likewise.
3455 * streams/stropts.h: Likewise.
3456 * streams/sys/stropts.h: Likewise.
3457 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3458 * sysdeps/s390/bits/xtitypes.h: Likewise.
3459 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3460 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3461 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3462 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3463 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3464 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3466 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3467 * sysdeps/x86/bits/xtitypes.h: Likewise.
3468
081bdf94
FW
34692019-03-14 Florian Weimer <fweimer@redhat.com>
3470
3471 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3472 libnss_files.
3473 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3474 but not with libnss_files.
3475 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3476
97f8225d
ZW
34772019-03-14 Zack Weinberg <zackw@panix.com>
3478
3479 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3480 Specify encoding="utf-8" when opening headers to check.
3481
0c1041ee
JM
34822019-03-13 Joseph Myers <joseph@codesourcery.com>
3483
3484 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3485 version to 5.0.
3486 (Context.checkout_tar): Handle variable major version for Linux
3487 kernel.
3488
043440e7
FW
34892019-03-13 Florian Weimer <fweimer@redhat.com>
3490
3491 [BZ #24047]
3492 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3493
29218b26
ZW
34942019-03-13 Zack Weinberg <zackw@panix.com>
3495
3496 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3497 Move to stdlib.
3498 * include/inttypes.h: Adjust to match.
3499 * include/stdint.h: New wrapper.
3500
711a322a
ZW
35012019-03-13 Zack Weinberg <zackw@panix.com>
3502
3503 * scripts/check-obsolete-constructs.py: New test script.
3504 * scripts/check-installed-headers.sh: Remove tests for
3505 obsolete typedefs, superseded by check-obsolete-constructs.py.
3506 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3507 as a special test. Update commentary.
3508 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3509 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3510 Update commentary.
3511 * posix/sys/types.h (__u_intN_t): Remove.
3512 (u_int8_t): Typedef using __uint8_t.
3513 (u_int16_t): Typedef using __uint16_t.
3514 (u_int32_t): Typedef using __uint32_t.
3515 (u_int64_t): Typedef using __uint64_t.
3516
7c651308
SL
35172019-03-13 Stefan Liebler <stli@linux.ibm.com>
3518
3519 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3520 call _dl_procinfo.
3521 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3522 Ignore types other than AT_HWCAP.
3523 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3524 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3525 Likewise.
3526 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3527 in the case of falling back to generic output mechanism.
3528 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3529 Likewise.
3530
38b52865
FW
35312019-03-12 Florian Weimer <fweimer@redhat.com>
3532
3533 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3534
08504de7
FW
35352019-03-12 Florian Weimer <fweimer@redhat.com>
3536
3537 [BZ #24047]
3538 resolv: Enable full ICMP errors for UDP DNS sockets
3539 * resolv/res_enable_icmp.c: New file.
3540 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3541 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3542 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3543 socket.
3544
5fbcd763
MH
35452019-03-11 Mao Han <han_mao@c-sky.com>
3546
3547 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3548 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3549
c4e5f34b
MH
35502019-03-11 Mao Han <han_mao@c-sky.com>
3551
3552 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3553 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3554 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3555
827e30f3
MH
35562019-03-11 Mao Han <han_mao@c-sky.com>
3557
3558 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3559 directly.
3560 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3561 definition.
3562
6229c9bf
MH
35632019-03-11 Mao Han <han_mao@c-sky.com>
3564
3565 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3566 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3567 in mcontext_t
3568
86bdd49d
MF
35692019-03-08 Mike FABIAN <mfabian@redhat.com>
3570
3571 [BZ #24307]
3572 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3573 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3574 Unicode 12.0.0.
3575 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3576 * localedata/unicode-gen/PropList.txt: Likewise.
3577 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3578 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3579 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3580 * localedata/charmaps/UTF-8: Regenerate.
3581 * localedata/locales/i18n_ctype: Likewise.
3582 * localedata/locales/tr_TR: Likewise.
3583 * localedata/locales/translit_circle: Likewise.
3584 * localedata/locales/translit_cjk_compat: Likewise.
3585 * localedata/locales/translit_combining: Likewise.
3586 * localedata/locales/translit_compat: Likewise.
3587 * localedata/locales/translit_font: Likewise.
3588 * localedata/locales/translit_fraction: Likewise.
3589
c5f65462
JM
35902019-03-07 Joseph Myers <joseph@codesourcery.com>
3591
3592 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3593 than after operators.
3594 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3595 (setitimer_locked): Likewise.
3596 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3597 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3598 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3599 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3600 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3601 (PPC_CPU_SUPPORTED): Likewise.
3602 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3603 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3604 (stat_overflow): Likewise.
3605 (statfs_overflow): Likewise.
3606 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3607 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3608 (eq_ttyname_r): Likewise.
3609 (run_chroot_tests): Likewise.
3610
27a2f2f3
FW
36112019-03-07 Florian Weimer <fweimer@redhat.com>
3612
3613 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3614 header check.
3615
ae514971 36162019-03-07 Martin Liska <mliska@suse.cz>
3617
3618 * math/Makefile: Change location where math-vector-fortran.h is
3619 installed.
3620 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3621 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3622 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3623 * scripts/check-installed-headers.sh: Skip Fortran header files.
3624 * scripts/check-wrapper-headers.py: Likewise.
3625
0ddb7ea8
AZ
36262019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3627
3628 * nptl/nptl-init.c (__have_futex_clock_realtime,
3629 __have_futex_clock_realtime): Remove definition.
3630 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3631 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3632 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3633 __ASSUME_FUTEX_CLOCK_REALTIME support.
3634 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3636 * sysdeps/unix/sysv/linux/kernel-features.h
3637 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3638 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3639 Adjust comment.
3640
590675c0
GG
36412019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3642
3643 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3644 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3645 __GI___wcscpy and wcscpy.
3646
de71ee7b
FW
36472019-03-04 Florian Weimer <fweimer@redhat.com>
3648
3649 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3650 declaration.
3651 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3652 defined.
3653
ce6ddae0
SL
36542019-03-04 Stefan Liebler <stli@linux.ibm.com>
3655
3656 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3658
31efface
TS
36592019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3660
3661 [BZ #24162]
3662 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3663 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3664
f0eaf862
GG
36652019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3666
3667 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3668 tests.
3669 (do_test): Likewise.
3670 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3671 (do_test_call_varg): Likewise.
3672 (do_test_call_rarg): Likewise.
3673 * sysdeps/ieee754/ldbl-opt/Makefile
3674 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3675 tst-nldbl-error.
3676 ($(objpfx)tst-nldbl-warn.c): New rule.
3677 ($(objpfx)tst-nldbl-error.c): Likewise.
3678 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3679 New variables.
3680
d11086a9
GG
36812019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3682
3683 [BZ #23984]
3684 * include/bits/error-ldbl.h: New file.
3685 * include/error.h: Include stdarg.h. Declare internal functions
3686 __error_internal and __error_at_line_internal.
3687 * misc/Makefile (headers): Add bits/error-ldbl.h.
3688 * misc/bits/error-ldbl.h: New file.
3689 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3690 avoid the inclusion of bits/error.h.
3691 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3692 and __nldbl_error_at_line.
3693 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3694 (__nldbl_error, __ndlbl_error_at_line): New functions.
3695 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3696 Redirect error and error_at_line.
3697 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3699 Likewise.
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3701 Likewise.
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3703 Likewise.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3705 Likewise.
3706 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3708 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3709
90188e7d
GG
37102019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3711
3712 [BZ #23984]
3713 * include/bits/err-ldbl.h: New file.
3714 * include/err.h: Add prototypes for the internal functions:
3715 __vwarnx_internal and __vwarn_internal.
3716 * misc/Makefile (headers): Add bits/err-ldbl.h.
3717 * misc/bits/err-ldbl.h: New file.
3718 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3719 defined, i.e.: when -mlong-double-64 is in use.
3720 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3721 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3722 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3724 (VA_CALL): New macro.
3725 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3726 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3727 functions.
3728 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3729 declare prototypes for the new functions.
3730 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3734 Likewise.
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3736 Likewise.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3741 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3742
ea2d89d0
GG
37432019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3744
3745 * sysdeps/ieee754/ldbl-opt/Makefile
3746 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3747 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3748 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3749
6e1f6440
GG
37502019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3751
3752 [BZ #23983]
3753 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3754 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3755 * argp/bits/argp-ldbl.h: New file.
3756 * include/argp.h: Include stdarg.h. Add prototypes for internal
3757 functions: __argp_error_internal and __argp_failure_internal.
3758 * include/bits/argp-ldbl.h: New file.
3759 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3760 __nldbl_argp_error and __nldbl_argp_failure.
3761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3762 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3764 Redirect argp_error and argp_failure calls.
3765 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3767 Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3769 Likewise.
3770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3771 Likewise.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3773 Likewise.
3774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3775 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3777
c259196b
FW
37782019-03-01 Florian Weimer <fweimer@redhat.com>
3779
3780 [BZ #20419]
3781 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3782 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3783 code, to avoid creating an ABI tag note.
3784 (modules-names-nobuild): Add tst-big-note-lib.
3785
928b305d
SL
37862019-03-01 Stefan Liebler <stli@linux.ibm.com>
3787
3788 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3789 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3790
36f30c10
FW
37912019-03-01 Florian Weimer <fweimer@redhat.com>
3792
3793 [BZ #20271]
3794 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3795 (__netlink_assert_response): Add additional missing newlines.
3796
462e83a4
JM
37972019-02-28 Joseph Myers <joseph@codesourcery.com>
3798
3799 * sysdeps/powerpc/powerpc32/dl-machine.c
3800 (__elf_machine_fixup_plt): Use space before '('.
3801 (__process_machine_rela): Likewise.
3802 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3803 Likewise.
3804 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3805 Likewise.
3806 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3807 Likewise.
3808 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3809 (pattern): Likewise.
3810 (delta): Likewise.
3811 (check_result): Likewise.
3812 (check_excepts): Likewise.
3813 (check_op): Likewise.
3814 (fail_xr): Likewise.
3815 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3816 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3817 (SCNHSZ): Likewise.
3818 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3819 Likewise.
3820 (ARGS): Likewise.
3821 (__makecontext): Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3823 Likewise.
3824
cc3e573c
FW
38252019-02-28 Florian Weimer <fweimer@redhat.com>
3826
3827 [BZ #23937]
3828 elf: Add test with a local IFUNC resolver.
3829 * elf/ifuncmain9.c: New file.
3830 * elf/ifuncmain9pic.c: Likewise.
3831 * elf/ifuncmain9picstatic.c: Likewise.
3832 * elf/ifuncmain9pie.c: Likewise.
3833 * elf/ifuncmain9static.c: Likewise.
3834 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3835 ifuncmain9static, ifuncmain9picstatic.
3836 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3837 Add ifuncmain9, ifuncmain9pic.
3838 * elf/Makefile [multi-arch && build-shared && have-fpie]
3839 (ifunc-pie-tests): Add ifuncmain9pie.
3840 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3841 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3842 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3843
92ad88fe
L
38442019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3845
3846 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3847 * configure: Regenerated.
3848 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3849
6bd4d02e
AZ
38502019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3851
3852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3853 symbol as __wcspcy instead of wcscpy.
3854
1b218417
ST
38552019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3856
3857 * include/stdio.h (__renameat2): New hidden prototype.
3858 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3859 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3860 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3861 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3862
c4f50205
JM
38632019-02-27 Joseph Myers <joseph@codesourcery.com>
3864
f627dd4d
JM
3865 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3866 if statement.
3867
c4f50205
JM
3868 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3869 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3870 * benchtests/bench-strlen.c (do_test): Likewise.
3871 (test_main): Likewise.
3872 * catgets/gencat.c (read_old): Likewise.
3873 * elf/cache.c (load_aux_cache): Likewise.
3874 * iconvdata/bug-iconv8.c (do_test): Likewise.
3875 * math/test-tgmath-ret.c (do_test): Likewise.
3876 * nis/nis_call.c (rec_dirsearch): Likewise.
3877 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3878 * nptl/tst-audit-threads.c (do_test): Likewise.
3879 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3880 * nss/nss_test1.c (init): Likewise.
3881 * nss/test-netdb.c (test_hosts): Likewise.
3882 * posix/execvpe.c (maybe_script_execute): Likewise.
3883 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3884 * stdio-common/tst-printf.c (do_test): Likewise.
3885 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3886 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3887 * stdlib/qsort.c (STACK_SIZE): Likewise.
3888 * stdlib/test-canon.c (do_test): Likewise.
3889 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3890 * string/memcmp.c (OPSIZ): Likewise.
3891 * string/test-strcpy.c (do_test): Likewise.
3892 (do_random_tests): Likewise.
3893 * string/test-strlen.c (do_test): Likewise.
3894 (test_main): Likewise.
3895 * string/test-strrchr.c (do_test): Likewise.
3896 (do_random_tests): Likewise.
3897 * string/tester.c (test_memrchr): Likewise.
3898 (test_memchr): Likewise.
3899 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3900 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3901 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3902 (read_encoded_value_with_base): Likewise.
3903 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3904 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3905 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3906 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3907 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3908 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3909 Likewise.
3910 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3911 Likewise.
3912 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3913 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3914 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3915 Likewise.
3916 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3917 Likewise.
3918 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3919 Likewise.
3920 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3921 Likewise.
3922 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3923 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3924 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3925 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3926 * time/test_time.c (main): Likewise.
3927
7b3fb620
AZ
39282019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3929
457208b1
AZ
3930 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3931
30a7e208
AZ
3932 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3933 wmemcpy.
3934
ddf21ec7
AZ
3935 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3936 wmemcpy.
3937
4d801563
AZ
3938 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3939
81a14439
AZ
3940 * include/wchar.h (__wcscpy): New prototype.
3941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3942 (__wcscpy): Route internal symbol to generic implementation.
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3944 Add internal __wcscpy alias.
3945 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3946 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3947 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3948 * wcsmbs/wcscpy.c (wcscpy): Add
3949 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3950 use generic implementation.
3951 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3952
39ef0744
AZ
3953 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3954 wmemset.
3955
7b3fb620
AZ
3956 * sysdeps/m68k/wcpcpy.c: Remove file.
3957 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3958
e0cb7b61
JM
39592019-02-26 Joseph Myers <joseph@codesourcery.com>
3960
aa0e4663
JM
3961 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3962 than after operators.
3963 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3964 * sysdeps/mach/hurd/getcwd.c
3965 (__hurd_canonicalize_directory_name_internal): Likewise.
3966 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3967 (pthread_mutex_consistent): Likewise.
3968 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3969 Likewise.
3970 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3971 (__pthread_mutex_transfer_np): Likewise.
3972 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3973 (__pthread_mutex_unlock): Likewise.
3974 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3975 (mtx_owned_p): Likewise.
3976 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3977 (pthread_mutexattr_getrobust): Likewise.
3978 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3979 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3980 Likewise.
3981 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3982 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3983 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3984 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3985 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3987 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3988 Likewise.
3989 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3990 Likewise.
3991 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3992 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3993 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3994 (____longjmp_chk): Likewise.
3995 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3996 Likewise.
3997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3998 (INTERNAL_SYSCALL): Likewise.
3999 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4000 (INTERNAL_SYSCALL): Likewise.
4001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4002 (__get_clockfreq_via_cpuinfo): Likewise.
4003
e0cb7b61
JM
4004 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4005 comments.
4006 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4007 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4008 (WORD_COPY_BWD): Likewise.
4009 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4010 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4011 Likewise.
4012 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4013 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4014 comment.
4015 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4016
a04549c1
JM
40172019-02-25 Joseph Myers <joseph@codesourcery.com>
4018
4019 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4020 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4021 rather than after operators.
4022 * elf/cache.c (print_cache): Likewise.
4023 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4024 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4025 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4026 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4027 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4028 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4029 (reauth_proc): Likewise.
4030 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4031 (__file_name_split_at): Likewise.
4032 (__directory_name_split_at): Likewise.
4033 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4034 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4035 * iconv/gconv_dl.c (do_print): Likewise.
4036 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4037 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4038 * locale/setlocale.c (new_composite_name): Likewise.
4039 * malloc/memusagestat.c (main): Likewise.
4040 * misc/fstab.c (fstab_convert): Likewise.
4041 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4042 Likewise.
4043 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4044 (getgrent_next_file): Likewise.
4045 (internal_getgrnam_r): Likewise.
4046 (internal_getgrgid_r): Likewise.
4047 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4048 Likewise.
4049 (internal_getgrent_r): Likewise.
4050 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4051 (getpwent_next_nss): Likewise.
4052 (getpwent_next_file): Likewise.
4053 (internal_getpwnam_r): Likewise.
4054 (internal_getpwuid_r): Likewise.
4055 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4056 Likewise.
4057 (getspent_next_nss): Likewise.
4058 (internal_getspnam_r): Likewise.
4059 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4060 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4061 * string/strchr.c (STRCHR): Likewise.
4062 * string/strchrnul.c (STRCHRNUL): Likewise.
4063 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4064 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4065 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4066 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4067 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4068 Likewise.
4069 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4070 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4071 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4072 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4073 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4074 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4075 (open_file): Likewise.
4076 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4077 (pthread_mutexattr_setprotocol): Likewise.
4078 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4079 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4080 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4081 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4082 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4083 Likewise.
4084 (elf_machine_rela): Likewise.
4085 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4086 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4087 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4088 * sysdeps/posix/rename.c (rename): Likewise.
4089 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4090 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4091 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4092 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4093 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4094 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4095 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4096 Likewise.
4097 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4098 Likewise.
4099 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4100 * time/tzfile.c (__tzfile_compute): Likewise.
4101
34a5a146
JM
41022019-02-22 Joseph Myers <joseph@codesourcery.com>
4103
4104 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4105 rather than after operators.
4106 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4107 * crypt/md5.c (md5_finish_ctx): Likewise.
4108 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4109 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4110 * elf/cache.c (load_aux_cache): Likewise.
4111 * elf/dl-load.c (open_verify): Likewise.
4112 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4113 * elf/readelflib.c (process_elf_file): Likewise.
4114 * elf/rtld.c (dl_main): Likewise.
4115 * elf/sprof.c (generate_call_graph): Likewise.
4116 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4117 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4118 * hurd/dtable.c (reauth_dtable): Likewise.
4119 * hurd/getdport.c (__getdport): Likewise.
4120 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4121 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4122 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4123 Likewise.
4124 * hurd/hurdioctl.c (fioctl): Likewise.
4125 * hurd/hurdselect.c (_hurd_select): Likewise.
4126 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4127 (STOPSIGS): Likewise.
4128 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4129 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4130 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4131 * hurd/msgportdemux.c (msgport_server): Likewise.
4132 * hurd/setauth.c (_hurd_setauth): Likewise.
4133 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4134 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4135 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4136 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4137 * login/tst-utmp.c (do_check): Likewise.
4138 (simulate_login): Likewise.
4139 * mach/lowlevellock.h (lll_lock): Likewise.
4140 (lll_trylock): Likewise.
4141 * math/test-fenv.c (ALL_EXC): Likewise.
4142 * math/test-fenvinline.c (ALL_EXC): Likewise.
4143 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4144 * nis/nis_call.c (__do_niscall3): Likewise.
4145 * nis/nis_callback.c (cb_prog_1): Likewise.
4146 * nis/nis_defaults.c (searchaccess): Likewise.
4147 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4148 * nis/nis_ismember.c (internal_ismember): Likewise.
4149 * nis/nis_local_names.c (nis_local_principal): Likewise.
4150 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4151 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4152 Likewise.
4153 * nis/ypclnt.c (yp_match): Likewise.
4154 (yp_first): Likewise.
4155 (yp_next): Likewise.
4156 (yp_master): Likewise.
4157 (yp_order): Likewise.
4158 * nscd/hstcache.c (cache_addhst): Likewise.
4159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4160 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4161 (internal_getpwuid_r): Likewise.
4162 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4163 * posix/glob.h (__GLOB_FLAGS): Likewise.
4164 * posix/regcomp.c (peek_token): Likewise.
4165 (peek_token_bracket): Likewise.
4166 (parse_expression): Likewise.
4167 * posix/regexec.c (sift_states_iter_mb): Likewise.
4168 (check_node_accept_bytes): Likewise.
4169 * posix/tst-spawn3.c (do_test): Likewise.
4170 * posix/wordexp-test.c (testit): Likewise.
4171 * posix/wordexp.c (parse_tilde): Likewise.
4172 (exec_comm): Likewise.
4173 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4174 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4175 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4176 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4177 * stdio-common/tst-fileno.c (do_test): Likewise.
4178 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4179 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4180 * stdlib/strtod_l.c (round_and_return): Likewise.
4181 (____STRTOF_INTERNAL): Likewise.
4182 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4183 * string/strcspn.c (STRCSPN): Likewise.
4184 * string/test-memmem.c (simple_memmem): Likewise.
4185 * termios/tcsetattr.c (tcsetattr): Likewise.
4186 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4187 * time/asctime.c (asctime_internal): Likewise.
4188 * time/strptime_l.c (__strptime_internal): Likewise.
4189 * time/sys/time.h (timercmp): Likewise.
4190 * time/tzfile.c (__tzfile_compute): Likewise.
4191
b0b50fe0
PF
41922019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4193
b39d961c
TS
4194 [BZ #21915]
4195 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 4196
f43b8dd5
GG
41972019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4198
4199 * argp/argp-help.c (__argp_error_internal): New function,
4200 renamed from __argp_error, but that takes a 'mode_flags'
4201 parameter to control the format of long double parameters.
4202 (__argp_error): Converted into a call __argp_error_internal.
4203 (__argp_failure_internal): New function, renamed from
4204 __argp_failure, but that takes a 'mode_flags' parameter.
4205 (__argp_failure): Converted into a call __argp_failure_internal.
4206 * misc/err.c (__vwarnx_internal): New function, renamed from
4207 vwarnx, but that takes a 'mode_flags' parameter.
4208 (vwarnx): Converted into a call to __vwarnx_internal.
4209 (__vwarn_internal): New function, renamed from vwarn, but that
4210 takes a 'mode_flags' parameter.
4211 (vwarn): Converted into a call to __vwarn_internal.
4212 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4213 call to __vfxprintf with 'mode_flags'.
4214 (__error_internal): New function, renamed from error, but that
4215 takes a 'mode_flags' parameter.
4216 (error): Converted into a call to __error_internal.
4217 (__error_at_line_internal): New function, renamed from
4218 error_at_line, but that takes a 'mode_flags' parameter.
4219 (error_at_line): Converted into a call to
4220 __error_at_line_internal.
4221 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4222 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4223 Likewise.
4224
dc0afac3 42252019-02-20 Martin Liska <mliska@suse.cz>
4226
4227 * math/Makefile: Install math-vector-fortran.h.
4228 * bits/math-vector-fortran.h: New file.
4229 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4230
4a2dd41c
GG
42312019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4232
4233 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4234 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4235
04de9302
WS
42362019-02-19 Wolfram Sang <wsa@the-dreams.de>
4237
4238 * nptl/pthread_mutex_trylock.c: Fix comment.
4239
b026ce1e
CD
42402019-02-19 Carlos O'Donell <carlos@redhat.com>
4241
4242 * nptl/pthread_tryjoin.c: Fix comment.
4243
8c9289b6
JM
42442019-02-18 Joseph Myers <joseph@codesourcery.com>
4245
4246 [BZ #24231]
4247 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4248 after R_SPARC_H34 case.
4249
308e022f
FW
42502019-02-18 Florian Weimer <fweimer@redhat.com>
4251
4252 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4253 (getanswer): Do not call Dprintf.
4254 (res_gethostbyname2_context): Likewise.
4255 (res_gethostbyaddr_context): Likewise.
4256
a5406364
FW
42572019-02-18 Florian Weimer <fweimer@redhat.com>
4258
4259 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4260 declaration.
4261 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4262 Remove definitions.
4263 * libio/stdfiles.c: Update comment.
4264 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4265 set _IO_stdin, _IO_stdout, _IO_stderr.
4266 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4267 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4268 inline function.
4269 (_IO_deallocate_file): New inline function.
4270 * libio/iolibio.h (_IO_vprintf): Remove definition.
4271 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4272 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4273 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4274 _IO_legacy_file.
4275 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4276 __builtin_expect. Use _IO_legacy_file.
4277
6c29942c
SL
42782019-02-18 Stefan Liebler <stli@linux.ibm.com>
4279
4280 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4281 Initialize ctid with a known value and remove update of ctid
4282 after clone.
4283 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4284 as assumed current value of ctid_ptr.
4285
225d9445 42862019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
4287
4288 Check that non-sysdeps headers have wrapper headers.
4289 * scripts/check-wrapper-headers.py: New file.
4290 * Makefile (tests-special): Add check-wrapper-headers.out.
4291 (check-wrapper-headers.out): New target.
4292 * Rules (tests-special): Add check-wrapper-headers.out.
4293 (check-wrapper-headers.out): New target.
4294
225d9445 42952019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
4296
4297 Add missing header wrappers under include/.
4298 * include/ar.h: New file.
4299 * include/bits/mqueue2.h: Likewise.
4300 * include/bits/stdio.h: Likewise.
4301 * include/bits/stdio2.h: Likewise.
4302 * include/fstab.h: Likewise.
4303 * include/fts.h: Likewise.
4304 * include/lastlog.h: Likewise.
4305 * include/netinet/icmp6.h: Likewise.
4306 * include/netinet/igmp.h: Likewise.
4307 * include/netinet/ip6.h: Likewise.
4308 * include/re_comp.h: Likewise.
4309 * include/regexp.h: Likewise.
4310 * include/rpcsvc/bootparam.h: Likewise.
4311 * include/rpcsvc/yp_prot.h: Likewise.
4312 * include/sys/random.h: Likewise.
4313 * include/sys/stropts.h: Likewise.
4314 * include/sys/ttychars.h: Likewise.
4315 * include/sys/vfs.h: Likewise.
4316 * include/wait.h: Likewise.
4317
225d9445 43182019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
4319
4320 * nptl_db/proc_service.h: Move to ...
4321 * sysdeps/nptl/proc_service.h: ... here.
4322 * nptl_db/thread_db.h: Move to ...
4323 * sysdeps/nptl/thread_db.h: ... here.
4324 * nptl/descr.h: Include <thread_db.h>.
4325
e442e40d
AZ
43262019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4327
4328 * io/Makefile (tests): Add tst-lockf.
4329 * io/lockf.c (lockf): Use __fcntl and only define for
4330 !__OFF_T_MATCHES_OFF64_T.
4331 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4332 __OFF_T_MATCHES_OFF64_T case.
4333 * io/tst-lockf.c: New file.
4334 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4335 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4336 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4337 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4338 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4340 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4341 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4343
bc10e22c
FW
43442019-02-15 Florian Weimer <fweimer@redhat.com>
4345
4346 [BZ #24211]
4347 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4348 pd->result after the thread descriptor has been freed.
4349
365f05c7
JM
43502019-02-15 Joseph Myers <joseph@codesourcery.com>
4351
8a11f970
JM
4352 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4353 from function return type.
4354
365f05c7
JM
4355 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4356
6b5c8607 43572019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
4358
4359 * scripts/test_printers_common.py: Set TERM to a known harmless
4360 value.
4361
712182c8
JM
43622019-02-14 Joseph Myers <joseph@codesourcery.com>
4363
4364 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4365 (xdr_u_int): Likewise.
4366 (xdr_enum): Likewise.
4367 (xdr_bytes): Reword fall-through comment.
4368 (xdr_string): Likewise.
4369
eb76e5b4
AZ
43702019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4371
4372 [BZ #2421]
4373 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4374 (tests): Add tst-join8 tst-join9.
4375 * nptl/lll_timedwait_tid.c: Remove file.
4376 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4377 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4378 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4379 * nptl/pthread_join_common.c (timedwait_tid): New function.
4380 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4381 is set.
4382 * nptl/tst-join5.c (thread_join): New function.
4383 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4384 check.
4385 * nptl/tst-join8.c: New file.
4386 * nptl/tst-join9.c: Likewise.
4387 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4388 lll_futex_timed_wait_cancel): Add generic macros.
4389 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4390 Remove definitions.
4391 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4393 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4394 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4395 Remove function.
4396 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4397 Likewise.
4398 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4399 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4400 (lll_futex_timed_wait_cancel): New macro.
4401
3904fd85
WD
44022019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4403
4404 * benchtests/Makefile: Add malloc-simple benchmark.
4405 * benchtests/bench-malloc-simple.c: New benchmark.
4406
24ca04fe
SP
44072019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4408
4409 * benchtests/bench-memmove.c (do_one_test): Remove unused
4410 ORIG_SRC.
4411 (do_test): Adjust.
4412 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4413 ORIG_SRC.
4414 (do_test): Adjust.
4415
85bd1ddb
JW
44162019-01-13 Jim Wilson <jimw@sifive.com>
4417
4418 [BZ #24040]
4419 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4420 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4421 (func): New.
4422 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4423 call func directly.
4424 * nptl/Makefile (tests): Add tst-unwind-thread.
4425 (CFLAGS-tst-unwind-thread.c): Define.
4426 * nptl/tst-unwind-thread.c: New file.
4427 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4428 as undefined.
4429
86140c62
JM
44302019-02-13 Joseph Myers <joseph@codesourcery.com>
4431
10756268
JM
4432 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4433 comment wording.
4434 * nis/nis_call.c (__do_niscall3): Likewise.
4435
05383720
JM
4436 * catgets/gencat.c (normalize_line): Use braces around empty
4437 'else' body.
4438 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4439 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4440 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4441 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4442 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4443 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4444 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4445 definition.
4446
86140c62
JM
4447 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4448 execlp returns.
4449
16f87cfd
WD
44502019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4451
4452 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4453 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4454 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4455 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4456 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4457 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4458 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4459 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4460 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4461 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4462 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4463 * benchtests/bench-bcopy.c: Delete file.
4464 * benchtests/bench-bzero.c: Likewise.
4465 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4466 (simple_memccpy): Remove.
4467 (generic_memccpy): Add function.
4468 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4469 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4470 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4471 (generic_mempcpy): Add new function.
4472 * benchtests/bench-memset.c (simple_bzero): Remove.
4473 (builtin_bzero): Remove.
4474 (builtin_memset): Remove.
4475 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4476 (generic_rawmemchr): Add new function.
4477
0c6d82e9
FW
44782019-02-12 Florian Weimer <fweimer@redhat.com>
4479
4480 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4481
b3fbfe81
AZ
44822019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4483
4484 [BZ #24122]
4485 * elf/Makefile (tests): Add tst-audit13.
4486 (modules-names): Add tst-audit13mod1.
4487 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4488 rule.
4489 * elf/tst-audit13.c: New file.
4490 * elf/tst-audit13mod1.c: Likewise.
4491
3b856d09
FW
44922019-02-12 Florian Weimer <fweimer@redhat.com>
4493
4494 [BZ #24122]
4495 * elf/rtld.c (unload_audit_module): New function.
4496 (report_audit_module_load_error): Likewise.
4497 (load_audit_module): Likewise. Extracted from dl_main. Call
4498 _dl_close if the laversion symbol cannot be found. Use early
4499 returns for error handling. Add malloc error check. Check for a
4500 zero return value from la_version. Remove spurious comment about
4501 static TLS initialization. Remove useless casts.
4502 (notify_audit_modules_of_loaded_object): New function. Extracted
4503 from dl_main.
4504 (load_audit_module): Likewise.
4505 (dl_main): Call load_audit_modules.
4506
32db86d5
JM
45072019-02-12 Joseph Myers <joseph@codesourcery.com>
4508
4509 * elf/dl-exception.c (_dl_exception_create_format): Add
4510 fall-through comments.
4511 * elf/ldconfig.c (parse_conf_include): Likewise.
4512 * elf/rtld.c (print_statistics): Likewise.
4513 * locale/programs/charmap.c (parse_charmap): Likewise.
4514 * misc/mntent_r.c (__getmntent_r): Likewise.
4515 * posix/wordexp.c (parse_arith): Likewise.
4516 (parse_backtick): Likewise.
4517 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4518 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4520
a51bc4fe
PC
45212019-02-11 Paul A. Clarke <pc@us.ibm.com>
4522
4523 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4524 Use float instead of double.
4525
fb25b135
TS
45262019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4527
4528 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4529
32ea7299
JM
45302019-02-08 Joseph Myers <joseph@codesourcery.com>
4531
4532 * sysdeps/powerpc/bits/mathinline.h: Remove.
4533
eef4d4f8
FW
45342019-02-08 Florian Weimer <fweimer@redhat.com>
4535
4536 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4537 * math/bits/math-finite.h: Move to ...
4538 * bits/math-finite.h: ... here.
4539
fdfbd47d
FW
45402019-02-08 Florian Weimer <fweimer@redhat.com>
4541
4542 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4543 * bits/unistd_ext.h: here.
4544
11eb21c4
PF
45452019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4546
4547 [BZ #21915]
4548 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4549 * nss/tst-nss-files-hosts-long.c: New file.
4550 * nss/tst-nss-files-hosts-long.root: New directory.
4551 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4552 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4553
e47d82c9
FW
45542019-02-08 Florian Weimer <fweimer@redhat.com>
4555
4556 * include/bits/unistd_ext.h: Remove file.
4557 * posix/bits/unistd_ext.h: Move to ...
4558 * sysdeps/generic/bits/unistd_ext.h: ... here.
4559
8f89ab21
FW
45602019-02-08 Florian Weimer <fweimer@redhat.com>
4561
4562 * include/bits/unistd_ext.h: New file.
4563
144a794e
TS
45642019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4565
4566 * time/tst-strftime2.c: Use array_length macros instead of magic
4567 numbers.
4568
669ff911
FW
45692019-02-08 Florian Weimer <fweimer@redhat.com>
4570
4571 [BZ #24161]
4572 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4573 argument.
4574 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4575 locking if the new do_locking argument is true.
4576 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4577 __run_fork_handlers.
4578
d0bd87d4 45792019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
4580
4581 [BZ #6399]
4582 Linux: Add gettid system call wrapper.
4583 * posix/Makefile (headers): Add bits/unistd_ext.h.
4584 * posix/bits/unistd_ext.h: New file.
4585 * posix/unistd.h: Include it.
4586 * manual/process.texi (Process Identification): Document gettid.
4587 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4588 tst-gettid, tst-gettid-kill.
4589 (tst-gettid): Link with $(shared-thread-library).
4590 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4591 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4592 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4593 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4594 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4595 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4596 Add gettid.
4597 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4598 Likewise.
4599 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4600 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4601 Likewise.
4602 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4603 Likewise.
4604 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4605 Likewise.
4606 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4607 Likewise.
4608 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4609 Likewise.
4610 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4611 Likewise.
4612 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4613 Likewise.
4614 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4615 (GLIBC_2.30): Likewise.
4616 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4617 (GLIBC_2.30): Likewise.
4618 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4619 (GLIBC_2.30): Likewise.
4620 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4621 (GLIBC_2.30): Likewise.
4622 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4623 Likewise.
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4625 (GLIBC_2.30): Likewise.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4627 (GLIBC_2.30): Likewise.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4629 (GLIBC_2.30): Likewise.
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4631 (GLIBC_2.30): Likewise.
4632 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4633 Likewise.
4634 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4635 Likewise.
4636 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4640 Likewise.
4641 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4642 Likewise.
4643 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4644 Likewise.
4645 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4646 Likewise.
4647 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4648
225d9445 46492019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
4650
4651 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4652 compatibility symbols.
4653
823624bd
SL
46542019-02-07 Stefan Liebler <stli@linux.ibm.com>
4655
4656 [BZ #24180]
4657 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4658 Add compiler barriers and comments.
4659
8311c83f
FW
46602019-02-07 Florian Weimer <fweimer@redhat.com>
4661
4662 * include/array_length.h (array_length): Do not use a statement
4663 expression and _Static_assert, so that array_length can be used at
4664 file scope and as a constant expression.
4665
94b63e66
FW
46662019-02-07 Florian Weimer <fweimer@redhat.com>
4667
4668 * support/xdlfcn.h (xdlmopen): Declare.
4669 * support/xdlmopen.c: New file.
4670 * support/Makefile (libsupport-routines): Add xdlmopen.
4671
c2d8f0b7
JM
46722019-02-06 Joseph Myers <joseph@codesourcery.com>
4673
4674 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4675 before return type, without separate inline.
4676 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4677 * elf/dl-tunables.h (tunable_is_name): Likewise.
4678 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4679 (do_set_top_pad): Likewise.
4680 (do_set_mmap_threshold): Likewise.
4681 (do_set_mmaps_max): Likewise.
4682 (do_set_mallopt_check): Likewise.
4683 (do_set_perturb_byte): Likewise.
4684 (do_set_arena_test): Likewise.
4685 (do_set_arena_max): Likewise.
4686 (do_set_tcache_max): Likewise.
4687 (do_set_tcache_count): Likewise.
4688 (do_set_tcache_unsorted_limit): Likewise.
4689 * nis/nis_subr.c (count_dots): Likewise.
4690 * nptl/allocatestack.c (advise_stack_range): Likewise.
4691 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4692 (do_sin): Likewise.
4693 (reduce_sincos): Likewise.
4694 (do_sincos): Likewise.
4695 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4696 (do_set_elision_enable): Likewise.
4697 (TUNABLE_CALLBACK_FNDECL): Likewise.
4698
3b935595
FW
46992019-02-06 Florian Weimer <fweimer@redhat.com>
4700
4701 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4702 (xdlsym): Use dlerror to detect a NULL symbol.
4703
b4333340
FW
47042019-02-06 Florian Weimer <fweimer@redhat.com>
4705
4706 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4707 <stap-probe.h>.
4708 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4709
b6d8a999
SL
47102019-02-06 Stefan Liebler <stli@linux.ibm.com>
4711
4712 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4713
94eeeec0
SL
47142019-02-06 Stefan Liebler <stli@linux.ibm.com>
4715
4716 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4717 __wmemcmp and weak alias to wmemcmp.
4718
bc79db3f
SL
47192019-02-06 Stefan Liebler <stli@linux.ibm.com>
4720
4721 [BZ #23403]
4722 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4723 TLS_TCB_AT_TP tls variant.
4724 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4725 Add alignment checks.
4726 * support/Makefile (libsupport-routines): Add xposix_memalign and
4727 xpthread_setstack.
4728 * support/support.h: Add xposix_memalign.
4729 * support/xthread.h: Add xpthread_attr_setstack.
4730 * support/xposix_memalign.c: New File.
4731 * support/xpthread_attr_setstack.c: Likewise.
4732
f1ac7455
FW
47332019-02-05 Florian Weimer <fweimer@redhat.com>
4734
4735 [BZ #24164]
4736 arm: Use "nr" constraint for Systemtap probes, to avoid the
4737 compiler using memory operands for constants, due to the "o"
4738 alternative in the default "nor" constraint.
4739 * include/stap-probe.h [USE_STAP_PROBE]: Include
4740 <stap-probe-machine.h>
4741 * sysdeps/generic/stap-probe-machine.h: New file.
4742 * sysdeps/arm/stap-probe-machine.h: Likewise.
4743
7a0dcfc6
JM
47442019-02-04 Joseph Myers <joseph@codesourcery.com>
4745
77dc0d86
JM
4746 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4747 with 0, not tcache->entries[tc_idx].
4748
7a0dcfc6
JM
4749 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4750 once.
4751
65f7767a
AS
47522019-02-04 Andreas Schwab <schwab@suse.de>
4753
4754 [BZ #16976]
4755 [BZ #17396]
4756 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4757 looking up collating elements match against (wide) character
4758 sequence instead of name. Correct alignment adjustment.
4759 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4760 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4761 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4762 (LOCALES): Add cs_CZ.ISO-8859-2.
4763 * posix/tst-fnmatch4.c: New file.
4764 * posix/tst-fnmatch5.c: New file.
4765 * include/wchar.h (__wmemcmp): Declare.
4766 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4767 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4768 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4769 * sysdeps/s390/wmemcmp.c: Likewise.
4770
3f635fb4
L
47712019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4772
4773 [BZ #24155]
4774 CVE-2019-7309
4775 * NEWS: Updated for CVE-2019-7309.
4776 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4777 upper 32 bits of RDX register for x32. Use unsigned Jcc
4778 instructions, instead of signed.
4779 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4780 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4781
2ab5741b
FW
47822019-02-04 Florian Weimer <fweimer@redhat.com>
4783
4784 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4785 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4786 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4787 Likewise.
4788 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4789 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4790 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4791 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4792 Likewise.
4793 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4794 Likewise.
4795 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4796 Likewise.
4797 (posix_spawn_file_actions_addopen): Likewise.
4798 (posix_spawn_file_actions_addclose): Likewise.
4799 (posix_spawn_file_actions_adddup2): Likewise.
4800 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4801 qualifiers.
4802 (posix_spawn_file_actions_addfchdir_np): Likewise.
4803
8692ebdb
DN
48042019-02-04 David Newall <glibc@davidnewall.com>
4805
4806 elf: Implement --preload option for the dynamic linker.
4807 * elf/rtld.c (preloadarg): New variable.
4808 (handle_preload_list): Pass through “where” argument to
4809 do_preload.
4810 (dl_main): Handle "--preload" and add second call to
4811 handle_preload_list.
4812 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4813 (tst-rtld-preload-OBJS): Set variable.
4814 (tst-rtld-preload.out): New target.
4815 * elf/tst-rtld-preload.sh: New file.
4816
5e10136b
MM
48172019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4818
4819 * Makefile (testrun.sh): Exit in case of incorrect argument.
4820
221baae0
FW
48212019-02-04 Florian Weimer <fweimer@redhat.com>
4822
4823 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4824 alignment gaps.
4825
b8c72381
FW
48262019-02-03 Florian Weimer <fweimer@redhat.com>
4827
4828 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4829 implicit overflow checks.
4830
11f382ee
AJ
48312019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4832
4833 * stdlib/isomac.c: Include <unistd.h>.
4834
77c7d55e
FW
48352019-02-03 Florian Weimer <fweimer@redhat.com>
4836
4837 * include/time.h (__tzfile_default): Use int, not long int, for
4838 the GMT offsets.
4839 * time/tzfile.c (struct ttinfo): Change type of the offset member
4840 to int.
4841 (__tzfile_read): Remove useless cast.
4842 (__tzfile_default): Adjust prototype.
4843 * time/tzset.c (tz_rule): Change type of the offset member to int.
4844 (parse_offset): Change the type of the sign variable to int.
4845
ee9941f9
FW
48462019-02-03 Florian Weimer <fweimer@redhat.com>
4847
4848 [BZ #24153]
4849 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4850 * libio/getchar.c (getchar): Likewise.
4851 * libio/getchar_u.c (getchar_unlocked): Likewise.
4852 * libio/getwchar.c (getwchar): Likewise.
4853 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4854 * libio/iogets.c (_IO_gets): Likewise.
4855 * libio/vscanf.c (_IO_vscanf): Likewise.
4856 * libio/vwscanf.c (__vwscanf): Likewise.
4857 * libio/tst-bz24153.c: New file.
4858 * libio/Makefile (tests): Add it.
4859
c70824b9
FW
48602019-02-02 Florian Weimer <fweimer@redhat.com>
4861
4862 [BZ #14829]
4863 * manual/resource.texi (Basic Scheduling Functions): Add
4864 portability note. Change process to task throughout the section.
4865 Remove incorrect comment about sched_yield as it affects
4866 tasks/threads, not entire processes.
4867 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4868 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4869
4dcbbc3b
JM
48702019-02-01 Joseph Myers <joseph@codesourcery.com>
4871
4872 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4873 * configure: Regenerated.
4874 * manual/install.texi (Tools for Compilation): Update minimum GCC
4875 version.
4876 * INSTALL: Regenerated.
4877
6175507c
FW
48782019-02-01 Florian Weimer <fweimer@redhat.com>
4879
4880 * support/support_test_compare_string.c
4881 (support_test_compare_string): Use "string" in error message.
4882 * support/tst-test_compare_string.c (do_test): Adjust.
4883
baef1943
FW
48842019-02-01 Florian Weimer <fweimer@redhat.com>
4885
4886 * support/support_format_address_family.c
4887 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4888
395599f0
FW
48892019-02-01 Florian Weimer <fweimer@redhat.com>
4890
4891 * manual/socket.texi (Internet Address Formats): Clarify the byte
4892 order of struct sockaddr_in, struct sockaddr_in6. Document
4893 sin6_flowinfo and sin6_scope_id.
4894
b06f4c00
WD
48952019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4896
4897 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4898 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4899 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4900 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4901 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4902 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4903
83d1cc42
FX
49042019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4905
4906 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4907 [!MEMCHR](MEMCHR): Set to __memchr.
4908 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4909 Add memchr_generic and memchr_nosimd.
4910 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4911 (__libc_ifunc_impl_list): Add memchr ifuncs.
4912 * sysdeps/aarch64/multiarch/memchr.c: New file.
4913 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4914 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4915
c7d3890f
FX
49162019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4917
4918 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4919 Add memset_emag.
4920 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4921 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4922 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4923 Add IS_EMAG check for ifunc dispatch.
4924 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4925 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4926
07c3d1ec
FX
49272019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4928
4929 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4930 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4931 Add emag.
4932 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4933 New macro.
4934
114f792e
SL
49352019-02-01 Stefan Liebler <stli@linux.ibm.com>
4936
4937 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4938
d5627550
VG
49392019-01-31 Vineet Gupta <vgupta@synopsys.com>
4940
4941 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4942 syscall-template file.
4943
5fc9ed4c
CD
49442019-01-31 Carlos O'Donell <carlos@redhat.com>
4945 Torvald Riegel <triegel@redhat.com>
4946 Rik Prohaska <prohaska7@gmail.com>
4947
4948 [BZ# 23844]
4949 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4950 tst-rwlock-trywrlock-stall.
4951 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4952 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4953 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4954 Set __wrphase_fute to 1 only if we started the write phase.
4955 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4956 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4957 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4958 * support/xpthread_rwlock_destroy.c: New file.
4959 * support/xthread.h: Declare xpthread_rwlock_destroy.
4960
932329a5
JM
49612019-02-01 Joseph Myers <joseph@codesourcery.com>
4962
4963 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4964 version to 4.0.2.
4965
5f10701f
PP
49662019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4967
4968 [BZ #24051]
4969 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4970 * libio/fileops.c (_IO_new_file_underflow): Likewise
4971 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4972 * libio/putchar.c (putchar): Likewise.
4973 * libio/putchar_u.c (putchar_unlocked): Likewise.
4974 * libio/putwchar.c (putchar): Likewise.
4975 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4976 * libio/tst-bz24051.c: New test.
4977 * libio/Makefile (tests): Add tst-bz24051
4978
583dd860
PE
49792019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4980
b626c5aa 4981 CVE-2019-9169
583dd860
PE
4982 regex: fix read overrun [BZ #24114]
4983 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4984 https://debbugs.gnu.org/34140
4985 * posix/regexec.c (proceed_next_node):
4986 Do not read past end of input buffer.
4987
2bac7daa
FW
49882019-01-31 Florian Weimer <fweimer@redhat.com>
4989
4990 [BZ #24059]
4991 * nss/nss_files/files-alias.c (get_next_alias): Handle
4992 continuation line without newline at the end.
4993 * nss/tst-nss-files-alias-truncated.c: New file.
4994 * nss/Makefile [$(build-shared)] (tests): Add
4995 tst-nss-files-alias-truncated.
4996 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4997 * support/namespace.h (struct support_chroot_configuration): Add
4998 aliases member.
4999 (struct support_chroot): Add path_aliases member.
5000 * support/support_chroot.c (support_chroot_create): Handle
5001 aliases.
5002 (support_chroot_free): Free path_aliases.
5003
330c9d0d
SP
50042019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5005
de44ab67
SP
5006 * version.h (RELEASE): Set to "development".
5007 (VERSION): Set to "2.29.9000".
5008 * NEWS: Add section for 2.30.
5009
56c86f5d
SP
5010 * version.h (RELEASE): Set to "stable".
5011 (VERSION): Set to "2.29".
5012 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5013
330c9d0d
SP
5014 * NEWS: Add the list of bugs fixed in 2.29.
5015 * manual/contrib.texi: Update contributors list with some more
5016 names.
5017 * manual/install.texi: Update latest versions of packages
5018 tested.
5019 * INSTALL: Regenerated.
5020
e1e47c91
SP
50212019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5022
5023 * po/be.po: Update translations.
5024 * po/bg.po: Likewise.
5025 * po/ca.po: Likewise.
5026 * po/cs.po: Likewise.
5027 * po/da.po: Likewise.
5028 * po/de.po: Likewise.
5029 * po/el.po: Likewise.
5030 * po/eo.po: Likewise.
5031 * po/es.po: Likewise.
5032 * po/fi.po: Likewise.
5033 * po/fr.po: Likewise.
5034 * po/gl.po: Likewise.
5035 * po/hr.po: Likewise.
5036 * po/hu.po: Likewise.
5037 * po/ia.po: Likewise.
5038 * po/id.po: Likewise.
5039 * po/it.po: Likewise.
5040 * po/ja.po: Likewise.
5041 * po/ko.po: Likewise.
5042 * po/lt.po: Likewise.
5043 * po/nb.po: Likewise.
5044 * po/nl.po: Likewise.
5045 * po/pl.po: Likewise.
5046 * po/pt_BR.po: Likewise.
5047 * po/ru.po: Likewise.
5048 * po/rw.po: Likewise.
5049 * po/sk.po: Likewise.
5050 * po/sl.po: Likewise.
5051 * po/sv.po: Likewise.
5052 * po/tr.po: Likewise.
5053 * po/uk.po: Likewise.
5054 * po/vi.po: Likewise.
5055 * po/zh_CN.po: Likewise.
5056 * po/zh_TW.po: Likewise.
5057
8d016826
UB
50582019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5059
5060 [BZ #24130]
5061 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5062 of $f3 register on $y_is_neg path.
5063
a0bb5abd
ST
50642019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5065
b96e22d0 5066 [BZ #24110]
a0bb5abd
ST
5067 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5068 sigaltstack.ss_flags.
5069
b22eed37
TS
50702019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5071
5072 [BZ #23758]
5073 * manual/time.texi (strftime): Document "%Ey".
5074 * time/strftime_l.c (__strftime_internal): Set the default width
5075 padding with zero of "%Ey" to 2.
5076
32f600a2
TS
5077 [BZ #24096]
5078 * manual/time.texi (strftime): Document "%EC" and "%EY".
5079 * time/Makefile (tests): Add tst-strftime2.
5080 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5081 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5082 override padding for "%Ey".
5083 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5084 "%Ey" in the subformat as if decorated with that flag.
5085 * time/tst-strftime2.c: New file.
5086
8e889c5d
AZ
50872019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5088
3367acdb
AZ
5089 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5090 are not defined.
5091
8e889c5d
AZ
5092 [BZ #24122]
5093 * elf/Makefile (tests): Add tst-audit13.
5094 (modules-names): Add tst-audit13mod1.
5095 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5096 rule.
5097 * elf/rtld.c (dl_main): Handle invalid audit module version.
5098 * elf/tst-audit13.c: New file.
5099 * elf/tst-audit13mod1.c: Likewise.
5100
a95dc01c
ST
51012019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5102
5103 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5104 returned by __hurd_at_flags.
ee4d7902
ST
5105 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5106 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5107 directly instead of __hurd_file_name_lookup.
a95dc01c 5108
712f1167
JM
51092019-01-21 Joseph Myers <joseph@codesourcery.com>
5110
5111 * scripts/build-many-glibcs.py (Context.checkout): Default
5112 binutils version to 2.32 branch.
5113
108bc404
FW
51142019-01-21 Florian Weimer <fweimer@redhat.com>
5115
5116 [BZ #20018]
5117 CVE-2016-10739
5118 resolv: Reject trailing characters in host names
5119 * include/arpa/inet.h (__inet_aton_exact): Declare.
5120 (inet_aton): Remove hidden prototype. No longer used internally.
5121 * nscd/gai.c (__inet_aton): Do not define.
5122 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5123 * nss/digits_dots.c (__inet_aton): Likewise.
5124 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5125 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5126 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5127 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5128 (tst-resolv-trailing): Likewise.
5129 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5130 libc.
5131 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5132 Make static. Add endp parameter.
5133 (__inet_aton_exact): New function.
5134 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5135 (__inet_addr): Call inet_aton_end.
5136 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5137 not just IPv6. Call __inet_aton_exact.
5138 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5139 (tests): Make const. Add additional test cases with trailing
5140 characters.
5141 (do_test): Use array_length.
5142 * resolv/tst-inet_aton_exact.c: New file.
5143 * resolv/tst-resolv-trailing.c: Likewise.
5144 * resolv/tst-resolv-nondecimal.c: Likewise.
5145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5146
5165de69
L
51472019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5148
5149 [BZ# 24097]
5150 CVE-2019-6488
5151 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5152 Clear the upper 32 bits of RSI register.
5153 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5154 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5155 and tst-size_t-wcsnlen.
5156 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5157 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5158
c7c54f65
L
51592019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 [BZ# 24097]
5162 CVE-2019-6488
5163 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5166 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5167 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5168
ee915088
L
51692019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5170
5171 [BZ# 24097]
5172 CVE-2019-6488
5173 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5175 * sysdeps/x86_64/strcmp.S: Likewise.
5176 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5177 tst-size_t-strncmp and tst-size_t-wcsncmp.
5178 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5179 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5180 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5181
82d0b4a4
L
51822019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5183
5184 [BZ# 24097]
5185 CVE-2019-6488
5186 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5187 RDX_LP for length. Clear the upper 32 bits of RDX register.
5188 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5189 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5190 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5191 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5192
ecd8b842
L
51932019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5194
5195 [BZ# 24097]
5196 CVE-2019-6488
5197 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5198 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5199 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5200 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5201
231c5676
L
52022019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5203
5204 [BZ# 24097]
5205 CVE-2019-6488
5206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5207 length. Clear the upper 32 bits of RDX register.
5208 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5209 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5210 Likewise.
5211 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5212 Likewise.
5213 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5214 tst-size_t-wmemchr.
5215 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5216
b304fc20
L
52172019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5218
5219 [BZ# 24097]
5220 CVE-2019-6488
5221 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5222 length. Clear the upper 32 bits of RDX register.
5223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5224 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5225 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5226 tst-size_t-wmemcmp.
5227 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5228 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5229
97700a34
L
52302019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5231
5232 [BZ# 24097]
5233 CVE-2019-6488
5234 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5235 upper 32 bits of RDX register.
5236 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5237 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5238 tst-size_t-wmemchr.
5239 * sysdeps/x86_64/x32/test-size_t.h: New file.
5240 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5241 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5242
6ca53a24
FW
52432019-01-18 Florian Weimer <fweimer@redhat.com>
5244
5245 [BZ #24112]
5246 resolv: Do not send queries for non-host-names in nss_dns.
5247 * resolv/nss_dns/dns-host.c (check_name): New function.
5248 (_nss_dns_gethostbyname2_r): Use it.
5249 (_nss_dns_gethostbyname_r): Likewise.
5250 (_nss_dns_gethostbyname4_r): Likewise.
5251
5e30b8ef
FW
52522019-01-21 Florian Weimer <fweimer@redhat.com>
5253
5254 * resolv/inet_addr.c: Reformat to GNU style.
5255 (__inet_addr, __inet_aton): Update comment.
5256
71effcea
FW
52572019-01-18 Florian Weimer <fweimer@redhat.com>
5258
5259 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5260 ("malloc: Use current (C11-style) atomics for fastbin access").
5261 This commit introduces a substantial performance regression on
5262 POWER and Aarch64.
5263 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5264 (REMOVE_FB): Define.
5265 (_int_malloc): Use it and reindent.
5266 (_int_free): Use CAS loop with
5267 catomic_compare_and_exchange_val_rel.
5268 (malloc_consolidate): Use atomic_exchange_acq.
5269
5270
562f4362
L
52712019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5272
5273 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5274 -Wl,-z,now.
5275 (LDFLAGS-tst-minsigstksz-2): Likewise.
5276 (LDFLAGS-tst-minsigstksz-3): Likewise.
5277 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5278 (LDFLAGS-tst-minsigstksz-4): Likewise.
5279
80dfa298
TS
52802019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5281
5282 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5283 than "alternate".
5284
008b598e
PC
52852019-01-16 Paul A. Clarke <pc@us.ibm.com>
5286
5287 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5288
fbbc9a4e
ZW
52892019-01-16 Zack Weinberg <zackw@panix.com>
5290
6b5c8607
TS
5291 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5292 (xget_sigstack_location): New test support functions.
5293 * support/xsigstack.c: New file, implementing them.
5294 * support/tst-xsigstack.c: New test for them.
5295 * support/Makefile: Update.
fbbc9a4e 5296
6b5c8607
TS
5297 * signal/tst-minsigstksz-1.c
5298 * signal/tst-minsigstksz-2.c
5299 * signal/tst-minsigstksz-3.c
5300 * signal/tst-minsigstksz-3a.c
5301 * signal/tst-minsigstksz-4.c: New tests.
5302 * signal/Makefile: Run them.
fbbc9a4e 5303
5f1135e4
SP
53042019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5305
5306 * po/libc.pot: Regenerate.
5307
ecdacd34
TMQMF
53082019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5309
5310 * math/libm-test-fma.inc (fma_test_data): Set
5311 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5312
56054664
RA
53132019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5314
5315 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5316 (do_test): Changed __vector __int128_t to __vector unsigned int.
5317
1a153e47
LS
53182019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5319
5320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5321 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5322 stpcpy-avx2 and stpncpy-avx2.
5323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5324 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5325 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5326 and __stpncpy_avx2.
5327 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5328 ifunc-strcpy.h}: rename header for a more generic name.
5329 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5330 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5331 AVX unaligned load is fast and vzeroupper is preferred.
5332 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5333 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5334 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5335 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5336 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5337 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5338
a1b02ae7
DL
53392019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5340
5341 * argp/argp-help.c: Fix typo in comment.
5342 * misc/sys/cdefs.h: Likewise.
5343 * posix/regexec.c (sift_states_iter_mb): Likewise.
5344 * socket/sockatmark.c: Likewise.
5345 * socket/sys/socket.h: Likewise.
5346 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5347 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5348 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5350 * sysdeps/unix/sockatmark.c: Likewise.
5351 * time/strptime_l.c: Likewise.
5352
5cbbf01e
TS
53532019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5354
5355 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5356 missing space after the cast of "_NL_CURRENT".
5357
0bc9bdf1
RA
53582019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5359
5360 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5361 ifdef to fix read of VSCR.
5362 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5363 tst-ucontext-ppc64-vscr.c to test list.
5364 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5365
5494af04
AH
53662019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5367
5368 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5369 fall-through.
5370
e17f63ff
JW
53712019-01-09 Jim Wilson <jimw@sifive.com>
5372
5373 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5374
02f440c1
WD
53752019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5376
5377 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5378 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5379 __memcpy_falkor for ares.
5380 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5381 Add new define.
5382 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5383 Add ares cpu.
5384
69da3c9e
L
53852019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5386
5387 [BZ #24066]
5388 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5389 4_FP_W_TYPEs are used for IEEE quad precision.
5390 * soft-fp/extendhftf2.c: Likewise.
5391 * soft-fp/extendsftf2.c: Likewise.
5392 * soft-fp/extendxftf2.c: Likewise.
5393 * soft-fp/trunctfdf2.c: Likewise.
5394 * soft-fp/trunctfhf2.c: Likewise.
5395 * soft-fp/trunctfsf2.c: Likewise.
5396 * soft-fp/trunctfxf2.c: Likewise.
5397 * sysdeps/alpha/ots_cvttx.c: Likewise.
5398 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5399 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5400 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5401 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5402 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5403 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5404 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5405 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5406 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5407 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5408 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5409 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5410 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5411 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5412 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5413 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5414 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5415
2ef42716
AJ
54162019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5417
5418 [BZ #24024]
5419 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5420 code with -fmath-errno.
5421 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5422 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5423 * string/test-strerror-errno.c: New file.
5424
7395f3a0
AJ
54252019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5426
5427 [BZ #24046]
5428 * localedata/locales/en_US (date_fmt): Add, set to
5429 "%a %d %b %Y %r %Z".
5430
010fe231
FW
54312019-01-07 Florian Weimer <fweimer@redhat.com>
5432
5433 [BZ #24063]
5434 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5435 instead of @var{errno}.
5436 (Parsing of Integers): Likewise.
5437 (Parsing of Floats): Likewise.
5438 * manual/filesys.texi (Working with Directory Trees): Likewise.
5439 (Temporary Files): Likewise.
5440 * manual/job.texi (Terminal Access Functions): Likewise.
5441 * manual/llio.texi (Synchronizing I/O): Likewise.
5442 * manual/math.texi (SVID Random): Likewise.
5443 * manual/message.texi (The catgets Functions): Likewise.
5444 (Translation with gettext): Likewise.
5445 (Locating gettext catalog): Likewise.
5446 (Charset conversion in gettext): Likewise.
5447 * manual/nss.texi (NSS Module Function Internals): Likewise.
5448 * manual/search.texi (Hash Search Function): Likewise.
5449 * manual/setjmp.texi (System V contexts): Likewise.
5450 * manual/time.texi (Sleeping): Likewise.
5451 * manual/users.texi (Lookup User): Likewise.
5452 (Lookup Group): Likewise.
5453
b79dc8d0
AZ
54542019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5455
5456 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5457 fix typo.
5458
890461fe 54592019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
5460
5461 [BZ #19444]
5462 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5463 __builtin_unreachable for default case in switch.
5464 (__ieee754_yn): Likewise.
5465 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5466 (__ieee754_ynl): Likewise.
5467 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5468 (__ieee754_ynl): Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5470 (__ieee754_ynl): Likewise.
5471
8b18d418
SN
54722019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5473
5474 * manual/maint.texi: Use @{ and @}.
5475
4392898d
FW
54762019-01-04 Florian Weimer <fweimer@redhat.com>
5477
5478 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5479 function.
5480 (do_in_chroot_1): Call it.
5481 (run_chroot_tests):
5482 Improve error reporting in case it is not possible to create a
5483 collision for the PTY name required by the test.
5484
17cc27d5
AZ
54852019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5486
ce7eb0e9
AZ
5487 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5488 lll_wait_tid with timeout.
5489 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5490 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5491 futex_reltimed_wait_cancelable for cancelabla mode.
5492 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5493 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5494 macros.
5495 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5496 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5497 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5498 SYSCALL_CANCEL_NCS): New macro.
5499 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5500 (lll_timedwait_tid): Remove macro.
5501 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5502 Likewise.
5503 (lll_timedwait_tid): Likewise.
5504 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5505 Likewise.
5506 (lll_timedwait_tid): Likewise.
5507 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5508 Likewise.
5509 (lll_timedwait_tid): Likewise.
5510 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5511 Use INTERNAL_SYSCALL_CANCEL.
5512 * sysdeps/unix/sysv/linux/futex-internal.h
5513 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5514 instead of __pthread_{enable,disable}_asynccancel.
5515 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5516 (lll_futex_wait_cancel): New macro.
5517
0b13e255
AZ
5518 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5519 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5520
85c828a4
AZ
5521 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5522 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5523
d0d7f85f
AZ
5524 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5525 in backtrace analysis.
5526 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5527 side-effects.
5528 (tf_send): Likewise.
5529
17cc27d5
AZ
5530 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5531 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5532 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5533 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5534 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5535 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5536 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5537 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5538 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5539 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5540 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5541 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5542 Likewise.
5543 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5544 tst-cancel-wrappers.sh.
5545 (generated): Remove tst-cancel-wrappers.out.
5546 (tst-cancel-wrappers.out): Remove rule.
5547 * nptl/tst-cancel-wrappers.sh: Remove file.
5548
7d7af8f1
SN
55492019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5550
5551 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5552 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5553 Update.
5554
805334b2
AZ
55552019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5556
5557 [BZ #23640]
5558 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5559 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5560 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5561 close-on-exec reset for adddup2 file action.
5562 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5563
03992356
ZW
55642019-01-03 Zack Weinberg <zackw@panix.com>
5565
5566 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5567 parameter. Only use deprecated scanf when __USE_GNU is defined
5568 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5569 than 201103L, whichever is relevant for the language being compiled.
5570
5571 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5572 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5573 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5574 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5575 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5576
5577 * libio/iovsscanf.c
5578 * libio/fwscanf.c
5579 * libio/iovswscanf.c
5580 * libio/swscanf.c
5581 * libio/vscanf.c
5582 * libio/vwscanf.c
5583 * libio/wscanf.c
5584 * stdio-common/fscanf.c
5585 * stdio-common/scanf.c
5586 * stdio-common/vfscanf.c
5587 * stdio-common/vfwscanf.c
5588 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5589 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5590 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5591 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5592 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5593 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5594 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5595 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5596 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5597 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5598 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5599 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5600 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5601 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5602 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5603
5604 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5605 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5606 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5607 not sscanf.
5608 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5609 with a preprocessor macro.
5610
5611 * stdio-common/bug21.c, stdio-common/scanf14.c:
5612 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5613 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5614 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5615 to xscanf, xfscanf, xsscanf.
5616
5617 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5618 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5619 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5620 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5621 xfscanf, xsscanf.
5622 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5623 override feature selection macros or provide definitions of u_char etc.
5624 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5625 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5626 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5627 with -std=gnu89.
5628
8083afa5
AZ
56292019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5630
6f343c1f
AZ
5631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5632 bits/termios-misc.h.
5633 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5634 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5635 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5636 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5637 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5638 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5639
51f4beb0
AZ
5640 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5641 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5642 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5643 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5644 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5645 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5646 termios-misc.h.
5647 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5648 (sysdep_headers): Add termios-misc.h.
5649
f69c5cb2
AZ
5650 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5651 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5652 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5653
3aa4a07e
AZ
5654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5655 termios-tcflow.h.
5656 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5657 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5658 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5659 TCSAFLUSH): Move to termios-tcflow.h.
5660 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5661 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5662 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5663 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5664
22679ddf
AZ
5665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5666 termios-c_lflag.h.
5667 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5668 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5669 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5671 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5672 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5673 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5674 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5675 Likewise.
5676 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5677 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5678 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5680
72eb6ecc
AZ
5681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5682 termios-c_cflag.h.
5683 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5684 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5685 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5686 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5687 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5688 termios-c_cflag.h.
5689 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5690 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5691 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5692 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5693
9c5d0d02
AZ
5694 [BZ #23783]
5695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5696 termios-baud.h.
5697 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5698 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5699 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5701 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5702 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5703 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5704 __MAX_BAUD): Move to termios-baud.h.
5705 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5706 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5707 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5709 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5710
7b832018
AZ
5711 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5712 termios-c_oflag.h.
5713 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5714 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5715 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5716 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5717 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5718 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5719 termios-c_oflag.h.
5720 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5721 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5722 FFR1): Likewise.
5723 [USE_MISC] (XTABS): Likewise.
5724 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5725 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5726 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5727 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5728
3127003e
AZ
5729 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5730 termios-c_iflag.h.
5731 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5732 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5734 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5735 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5736 IUTF8): Move to termios-c_iflag.h.
5737 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5738 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5739 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5740 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5741
48c1dd96
AZ
5742 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5743 termios-cc.h.
5744 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5745 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5746 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5748 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5749 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5750 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5751 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5752 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5753 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5754 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5755 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5756
e5a50db3
AZ
5757 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5758 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5759 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5760 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5762 termios-struct.h.
5763 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5764 termios-struct.h.
5765 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5766 Likewise.
5767 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5768 Likewise.
5769 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5770 Likewise.
5771 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5772 Likewise.
5773 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5774 _HAVE_C_OSPEED): Define.
5775 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5776 _HAVE_C_OSPEED): Likewise.
5777 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5778 _HAVE_C_OSPEED): Likewise.
5779 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5780 (cfsetospeed): Check for define value instead of existence.
5781 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5782 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5783 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5784 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5785 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5786
8083afa5
AZ
5787 [BZ #17783]
5788 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5789 Define.
5790 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5791 (TIOCSER_TEMT): Likewise.
5792 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5793 (TEOCSER_TEMT): Likewise.
5794
4d7d7dc6
P
57952019-01-02 PanderMusubi <pander@users.sourceforge.net>
5796
5797 [BZ #24011]
5798 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5799
8e291a29
JM
58002019-01-02 Joseph Myers <joseph@codesourcery.com>
5801
5802 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5803
55137f7d
ST
58042019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5805
5806 * sysdeps/htl/pt-barrierattr-setpshared.c
5807 (pthread_barrierattr_setpshared): Add stub warning.
5808 * sysdeps/htl/pt-condattr-setpshared.c
5809 (pthread_condattr_setpshared): Likewise.
5810 * sysdeps/htl/pt-mutexattr-setpshared.c
5811 (pthread_mutexattr_setpshared): Likewise.
5812 * sysdeps/htl/pt-rwlockattr-setpshared.c
5813 (pthread_rwlockattr_setpshared): Likewise.
5814 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5815 (pthread_mutexattr_setpshared): Likewise.
5816
2ce09e01
JM
58172019-01-02 Joseph Myers <joseph@codesourcery.com>
5818
acb55dcb
JM
5819 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5820 constants to match with Linux 4.20.
5821
2ce09e01
JM
5822 * sysdeps/mips/mips32/libm-test-ulps: Update.
5823 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5824
fe20bb1d
AJ
58252019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5826
5827 [BZ #24034]
5828 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5829 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5830 than __typeof (...) for the a_ptr variable.
5831
2d9837c1
GG
58322019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5833
5834 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5835 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5836 * libio/Makefile (tests): Add tst-sprintf-ub and
5837 tst-sprintf-chk-ub.
5838 (CFLAGS-tst-sprintf-ub.c): New variable.
5839 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5840 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5841 destination buffer and check for overflows in fortified mode.
5842 * libio/libioP.h (PRINTF_CHK): New macro.
5843 * libio/tst-sprintf-chk-ub.c: New file.
5844 * libio/tst-sprintf-ub.c: Likewise.
5845
d5c6df0b 58462019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
5847
5848 [BZ #24018]
5849 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5850 failure.
5851
66081e38
FW
58522019-01-02 Florian Weimer <fweimer@redhat.com>
5853
5854 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5855
04277e02
JM
58562019-01-01 Joseph Myers <joseph@codesourcery.com>
5857
6ef3d225
JM
5858 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5859 macro.
5860
e3d4e292
JM
5861 * sysdeps/unix/sysv/linux/netpacket/packet.h
5862 (PACKET_IGNORE_OUTGOING): New macro.
5863
f4507797
JM
5864 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5865 macro.
5866
47ad5e1a
JM
5867 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5868 version to 4.20.
5869 (riscv_flush_icache): New syscall.
5870
7628a1b0
JM
5871 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5872 trailing whitespace removed.
5873 * scripts/config.guess: Update to version 2019-01-01.
5874 * scripts/config.sub: Update to version 2019-01-01.
5875 * scripts/move-if-change: Update from gnulib.
5876
c9123888
JM
5877 * NEWS: Update copyright dates.
5878 * catgets/gencat.c (print_version): Likewise.
5879 * csu/version.c (banner): Likewise.
5880 * debug/catchsegv.sh: Likewise.
5881 * debug/pcprofiledump.c (print_version): Likewise.
5882 * debug/xtrace.sh (do_version): Likewise.
5883 * elf/ldconfig.c (print_version): Likewise.
5884 * elf/ldd.bash.in: Likewise.
5885 * elf/pldd.c (print_version): Likewise.
5886 * elf/sotruss.sh: Likewise.
5887 * elf/sprof.c (print_version): Likewise.
5888 * iconv/iconv_prog.c (print_version): Likewise.
5889 * iconv/iconvconfig.c (print_version): Likewise.
5890 * locale/programs/locale.c (print_version): Likewise.
5891 * locale/programs/localedef.c (print_version): Likewise.
5892 * login/programs/pt_chown.c (print_version): Likewise.
5893 * malloc/memusage.sh (do_version): Likewise.
5894 * malloc/memusagestat.c (print_version): Likewise.
5895 * malloc/mtrace.pl: Likewise.
5896 * manual/libc.texinfo: Likewise.
5897 * nptl/version.c (banner): Likewise.
5898 * nscd/nscd.c (print_version): Likewise.
5899 * nss/getent.c (print_version): Likewise.
5900 * nss/makedb.c (print_version): Likewise.
5901 * posix/getconf.c (main): Likewise.
5902 * scripts/test-installation.pl: Likewise.
5903 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5904
04277e02
JM
5905 * All files with FSF copyright notices: Update copyright dates
5906 using scripts/update-copyrights.
5907 * locale/programs/charmap-kw.h: Regenerated.
5908 * locale/programs/locfile-kw.h: Likewise.
5909
e740e5b1
JM
59102018-12-31 Joseph Myers <joseph@codesourcery.com>
5911
5912 * timezone/zdump.c: Update from tzcode 2018i.
5913 * timezone/zic.c: Likewise.
5914
9b7f98b3
PE
59152018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5916
5917 regex: improve Gnulib port to AIX
5918 From the glibc point of view, this removes duplicate macro
5919 definitions and is obviously safe.
5920 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5921 * posix/regex_internal.h:
5922 (__attribute__, __attribute_warn_unused_result__):
5923 Remove; already defined elsewhere.
5924
b50dd3bc
FW
59252018-12-31 Florian Weimer <fw@deneb.enyo.de>
5926
5927 [BZ #24027]
5928 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5929 copying operation. (ncopies had the wrong type, resulting in an
5930 integer wraparound and too few elements being copied.)
5931
0b9c8490
L
59322018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 [BZ #24022]
5935 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5936 <asm/syscalls.h> exists with __has_include__ before including it.
5937
01047fa6
JM
59382018-12-31 Joseph Myers <joseph@codesourcery.com>
5939
5940 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5941 version to 4.20.
5942
6b5c8607 59432018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
5944
5945 * hurd/lookup-retry: Include <unistd.h>.
5946 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5947 Release it on return. Handle "pid" magical lookup retry.
5948
989182c4
RL
59492018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5950
5951 [BZ #10496]
5952 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5953 (t_fmt_ampm): Likewise.
5954 * localedata/locales/aa_ER (t_fmt): Likewise.
5955 (t_fmt_ampm): Likewise.
5956 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5957 (t_fmt_ampm): Likewise.
5958 * localedata/locales/aa_ET (t_fmt): Likewise.
5959 (t_fmt_ampm): Likewise.
5960 * localedata/locales/am_ET (t_fmt): Likewise.
5961 (t_fmt_ampm): Likewise.
5962 * localedata/locales/byn_ER (t_fmt): Likewise.
5963 (t_fmt_ampm): Likewise.
5964 * localedata/locales/om_ET (t_fmt): Likewise.
5965 (t_fmt_ampm): Likewise.
5966 * localedata/locales/sid_ET (t_fmt): Likewise.
5967 (t_fmt_ampm): Likewise.
5968 * localedata/locales/so_DJ (t_fmt): Likewise.
5969 (t_fmt_ampm): Likewise.
5970 * localedata/locales/so_ET (t_fmt): Likewise.
5971 (t_fmt_ampm): Likewise.
5972 * localedata/locales/so_SO (t_fmt): Likewise.
5973 (t_fmt_ampm): Likewise.
5974 * localedata/locales/ti_ER (t_fmt): Likewise.
5975 (t_fmt_ampm): Likewise.
5976 * localedata/locales/ti_ET (t_fmt): Likewise.
5977 (t_fmt_ampm): Likewise.
5978 * localedata/locales/tig_ER (t_fmt): Likewise.
5979 (t_fmt_ampm): Likewise.
5980 * localedata/locales/wal_ET (t_fmt): Likewise.
5981 (t_fmt_ampm): Likewise.
5982
5983 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5984 * localedata/locales/ar_IN (t_fmt): Likewise.
5985 * localedata/locales/bhb_IN (t_fmt): Likewise.
5986 * localedata/locales/bho_IN (t_fmt): Likewise.
5987 * localedata/locales/bi_VU (t_fmt): Likewise.
5988 * localedata/locales/bn_BD (t_fmt): Likewise.
5989 * localedata/locales/bn_IN (t_fmt): Likewise.
5990 * localedata/locales/brx_IN (t_fmt): Likewise.
5991 * localedata/locales/doi_IN (t_fmt): Likewise.
5992 * localedata/locales/en_HK (t_fmt): Likewise.
5993 (t_fmt_ampm): Likewise.
5994 * localedata/locales/en_IN (t_fmt): Likewise.
5995 * localedata/locales/en_PH (t_fmt): Likewise.
5996 * localedata/locales/gu_IN (t_fmt): Likewise.
5997 * localedata/locales/hi_IN (t_fmt): Likewise.
5998 * localedata/locales/hif_FJ (t_fmt): Likewise.
5999 * localedata/locales/hne_IN (t_fmt): Likewise.
6000 * localedata/locales/kn_IN (t_fmt): Likewise.
6001 * localedata/locales/kok_IN (t_fmt): Likewise.
6002 * localedata/locales/ks_IN (t_fmt): Likewise.
6003 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6004 * localedata/locales/mag_IN (t_fmt): Likewise.
6005 * localedata/locales/mai_IN (t_fmt): Likewise.
6006 * localedata/locales/mjw_IN (t_fmt): Likewise.
6007 * localedata/locales/ml_IN (t_fmt): Likewise.
6008 * localedata/locales/mni_IN (t_fmt): Likewise.
6009 * localedata/locales/mr_IN (t_fmt): Likewise.
6010 * localedata/locales/ms_MY (t_fmt): Likewise.
6011 * localedata/locales/pa_IN (t_fmt): Likewise.
6012 * localedata/locales/raj_IN (t_fmt): Likewise.
6013 * localedata/locales/sa_IN (t_fmt): Likewise.
6014 * localedata/locales/sat_IN (t_fmt): Likewise.
6015 * localedata/locales/sd_IN (t_fmt): Likewise.
6016 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6017 * localedata/locales/tcy_IN (t_fmt): Likewise.
6018 * localedata/locales/the_NP (t_fmt): Likewise.
6019 * localedata/locales/to_TO (t_fmt): Likewise.
6020 * localedata/locales/ur_IN (t_fmt): Likewise.
6021
6022 * localedata/locales/hif_FJ (d_t_fmt): Set to
6023 "%A %d %b %Y %I:%M:%S %p".
6024 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6025
6026 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6027 * localedata/locales/ar_BH (t_fmt): Likewise.
6028 * localedata/locales/ar_DZ (t_fmt): Likewise.
6029 * localedata/locales/ar_EG (t_fmt): Likewise.
6030 * localedata/locales/ar_IQ (t_fmt): Likewise.
6031 * localedata/locales/ar_JO (t_fmt): Likewise.
6032 * localedata/locales/ar_KW (t_fmt): Likewise.
6033 * localedata/locales/ar_LB (t_fmt): Likewise.
6034 * localedata/locales/ar_LY (t_fmt): Likewise.
6035 * localedata/locales/ar_OM (t_fmt): Likewise.
6036 * localedata/locales/ar_QA (t_fmt): Likewise.
6037 * localedata/locales/ar_SD (t_fmt): Likewise.
6038 * localedata/locales/ar_SS (t_fmt): Likewise.
6039 * localedata/locales/ar_SY (t_fmt): Likewise.
6040 * localedata/locales/ar_TN (t_fmt): Likewise.
6041 * localedata/locales/ar_YE (t_fmt): Likewise.
6042
6043 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6044 (t_fmt_ampm): Likewise.
6045 * localedata/locales/gez_ET (t_fmt): Likewise.
6046 (t_fmt_ampm): Likewise.
6047
6048 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6049 (t_fmt_ampm): Likewise.
6050 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6051
6052 * localedata/locales/zh_HK (t_fmt):
6053 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6054
6055 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6056 because this locale does not use the 12-hour clock.
6057 (t_fmt): Set to "%Z %H:%M:%S".
6058 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6059
6060 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6061 because this locale does not use the 12-hour clock.
6062 (t_fmt): Set to "%H:%M:%S %Z".
6063 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6064
6065 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6066 because this locale does not use the 12-hour clock.
6067 (t_fmt): Set to "%T".
6068 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6069 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6070
6071 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6072 because this locale does not use the 12-hour clock.
6073 (t_fmt): Set to "%H:%M:%S %Z".
6074 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6075
6076 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6077 because this locale does not use the 12-hour clock.
6078 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6079 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6080
27841a7d
RL
60812018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6082
6083 [BZ #10496]
6084 [BZ #23724]
6085 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6086 (t_fmt_ampm): Likewise.
6087 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6088 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6089 (d_fmt): Set to "%-d.%-m.%y".
6090
0253580a
AZ
60912018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6092
6093 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6094 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6095 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6096 Likewise.
6097 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6098 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6099 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6100 function.
6101 * support/blob_repeat.c (check_mul_overflow_size_t,
6102 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6103
09104e5b
AJ
61042018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6105
6106 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6107
c0feb731
PE
61082018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6109
6110 regex: simplify Gnulib port
6111 This simplifies the code, by removing stuff intended for porting
6112 to Gnulib but no longer needed there.
6113 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6114 uses of libc_hidden_def, weak_alias.
6115 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6116 _Restrict_ except for public-facing headers.
6117 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6118 Remove; already defined elsewhere.
6119 * posix/regex.c, posix/regex_internal.h:
6120 Use __GNUC_PREREQ instead of rolling our own.
6121 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6122
5289f1f5
WD
61232018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6124
6125 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 6126 (memchr_strlen): New function.
5289f1f5 6127
ba4b8fab
L
61282018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6129
6130 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6131 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6132 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6133
9412979a
L
61342018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6135
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6137
8700a785
L
61382018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6139
6140 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6141 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6142 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6143 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6144 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6145 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6146 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6147
57b3ff8e
JM
61482018-12-21 Joseph Myers <joseph@codesourcery.com>
6149
6150 [BZ #24023]
6151 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6152 PLT reference in libc.so.
6153 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6154 _Q_lltoq and _Q_qtod PLT references in libc.so.
6155
90d3320d
WD
61562018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6157
6158 * benchtests/bench-memchr.c: Cleanup defines.
6159 * benchtests/bench-memcmp.c: Likewise.
6160 * benchtests/bench-memset.c: Likewise.
6161 * benchtests/bench-memset-large.c: Likewise.
6162 * benchtests/bench-memset-walk.c: Likewise.
6163 * benchtests/bench-stpcpy.c: Likewise.
6164 * benchtests/bench-stpncpy.c: Likewise.
6165 * benchtests/bench-strcat.c: Likewise.
6166 * benchtests/bench-strchr.c: Likewise.
6167 * benchtests/bench-strcmp.c: Likewise.
6168 * benchtests/bench-strcpy.c: Likewise.
6169 * benchtests/bench-strcspn.c: Likewise.
6170 * benchtests/bench-string.h: Likewise.
6171 * benchtests/bench-strlen.c: Likewise.
6172 * benchtests/bench-strncat.c: Likewise.
6173 * benchtests/bench-strncmp.c: Likewise.
6174 * benchtests/bench-strncpy.c: Likewise.
6175 * benchtests/bench-strnlen.c: Likewise.
6176 * benchtests/bench-strpbrk.c: Likewise.
6177 * benchtests/bench-strrchr.c: Likewise.
6178 * benchtests/bench-strspn.c: Likewise.
6179
192963be
JM
61802018-12-21 Joseph Myers <joseph@codesourcery.com>
6181
5d025ea6
JM
6182 * stdlib/longlong.h: Update from GCC.
6183
192963be
JM
6184 [BZ #23993]
6185 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6186 * configure: Regenerated.
6187 * manual/install.texi (Tools for Compilation): Update minimum GCC
6188 version.
6189 * INSTALL: Regenerated.
6190
6b5c8607 61912018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
6192
6193 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6194
6b5c8607 61952018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
6196
6197 * malloc/malloc.c (mremap_chunk): Additional checks.
6198
5f72b005
MH
61992018-12-21 Mao Han <han_mao@c-sky.com>
6200
6201 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6202 * scripts/build-many-glibcs.py: Add C-SKY targets.
6203 * sysdeps/csky/Implies: New file.
6204 * sysdeps/csky/Makefile: Likewise.
6205 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6206 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6207 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6208 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6209 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6210 * sysdeps/csky/abiv2/memmove.S: Likewise.
6211 * sysdeps/csky/abiv2/memset.S: Likewise.
6212 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6213 * sysdeps/csky/abiv2/start.S: Likewise.
6214 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6215 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6216 * sysdeps/csky/abiv2/strlen.S: Likewise.
6217 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6218 * sysdeps/csky/abort-instr.h: Likewise.
6219 * sysdeps/csky/atomic-machine.h: Likewise.
6220 * sysdeps/csky/bits/endian.h: Likewise.
6221 * sysdeps/csky/bits/fenv.h: Likewise.
6222 * sysdeps/csky/bits/link.h: Likewise.
6223 * sysdeps/csky/bits/setjmp.h: Likewise.
6224 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6225 * sysdeps/csky/bsd-setjmp.S: Likewise.
6226 * sysdeps/csky/configure: Likewise.
6227 * sysdeps/csky/configure.ac: Likewise.
6228 * sysdeps/csky/dl-machine.h: Likewise.
6229 * sysdeps/csky/dl-procinfo.c: Likewise.
6230 * sysdeps/csky/dl-procinfo.h: Likewise.
6231 * sysdeps/csky/dl-sysdep.h: Likewise.
6232 * sysdeps/csky/dl-tls.h: Likewise.
6233 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6234 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6235 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6236 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6237 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6238 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6239 * sysdeps/csky/fpu/fegetround.c: Likewise.
6240 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6241 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6242 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6243 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6244 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6245 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6246 * sysdeps/csky/fpu/fesetround.c: Likewise.
6247 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6248 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6249 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6250 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6251 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6252 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6253 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6254 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6255 * sysdeps/csky/fpu_control.h: Likewise.
6256 * sysdeps/csky/gccframe.h: Likewise.
6257 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6258 * sysdeps/csky/ldsodefs.h: Likewise.
6259 * sysdeps/csky/libc-tls.c: Likewise.
6260 * sysdeps/csky/linkmap.h: Likewise.
6261 * sysdeps/csky/machine-gmon.h: Likewise.
6262 * sysdeps/csky/memusage.h: Likewise.
6263 * sysdeps/csky/nofpu/Implies: Likewise.
6264 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6265 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6266 * sysdeps/csky/nptl/Makefile: Likewise.
6267 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6268 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6269 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6270 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6271 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6272 * sysdeps/csky/nptl/tls.h: Likewise.
6273 * sysdeps/csky/preconfigure: Likewise.
6274 * sysdeps/csky/sfp-machine.h: Likewise.
6275 * sysdeps/csky/sotruss-lib.c: Likewise.
6276 * sysdeps/csky/stackinfo.h: Likewise.
6277 * sysdeps/csky/sysdep.h: Likewise.
6278 * sysdeps/csky/tininess.h: Likewise.
6279 * sysdeps/csky/tst-audit.h: Likewise.
6280 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6281 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6282 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6283 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6284 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6285 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6286 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6287 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6288 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6289 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6290 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6291 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6292 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6293 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6294 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6295 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6296 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6297 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6298 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6299 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6300 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6301 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6302 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6303 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6304 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6305 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6306 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6307 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6308 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6309 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6310 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6311 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6312 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6313 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6314 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6315 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6316 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6317 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6318 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6319 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6320 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6321 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6322 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6323 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6324
6b5c8607 63252018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
6326
6327 * include/time.h (__difftime64): Add.
6328 * time/difftime.c (subtract): convert to 64-bit time.
6329 * time/difftime.c (__difftime64): Add.
6330 * time/difftime.c (__difftime): Wrap around __difftime64.
6331
ab416931
L
63322018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6333
6334 * manual/examples/add.c: Remove redundant "if not".
6335 * manual/examples/argp-ex1.c: Likewise.
6336 * manual/examples/argp-ex2.c: Likewise.
6337 * manual/examples/argp-ex3.c: Likewise.
6338 * manual/examples/argp-ex4.c: Likewise.
6339 * manual/examples/atexit.c: Likewise.
6340 * manual/examples/db.c: Likewise.
6341 * manual/examples/dir.c: Likewise.
6342 * manual/examples/dir2.c: Likewise.
6343 * manual/examples/execinfo.c: Likewise.
6344 * manual/examples/filecli.c: Likewise.
6345 * manual/examples/filesrv.c: Likewise.
6346 * manual/examples/fmtmsgexpl.c: Likewise.
6347 * manual/examples/genpass.c: Likewise.
6348 * manual/examples/inetcli.c: Likewise.
6349 * manual/examples/inetsrv.c: Likewise.
6350 * manual/examples/isockad.c: Likewise.
6351 * manual/examples/longopt.c: Likewise.
6352 * manual/examples/memopen.c: Likewise.
6353 * manual/examples/memstrm.c: Likewise.
6354 * manual/examples/mkdirent.c: Likewise.
6355 * manual/examples/mkfsock.c: Likewise.
6356 * manual/examples/mkisock.c: Likewise.
6357 * manual/examples/mygetpass.c: Likewise.
6358 * manual/examples/pipe.c: Likewise.
6359 * manual/examples/popen.c: Likewise.
6360 * manual/examples/rprintf.c: Likewise.
6361 * manual/examples/search.c: Likewise.
6362 * manual/examples/select.c: Likewise.
6363 * manual/examples/setjmp.c: Likewise.
6364 * manual/examples/sigh1.c: Likewise.
6365 * manual/examples/sigusr.c: Likewise.
6366 * manual/examples/stpcpy.c: Likewise.
6367 * manual/examples/strdupa.c: Likewise.
6368 * manual/examples/strftim.c: Likewise.
6369 * manual/examples/subopt.c: Likewise.
6370 * manual/examples/swapcontext.c: Likewise.
6371 * manual/examples/termios.c: Likewise.
6372 * manual/examples/testopt.c: Likewise.
6373 * manual/examples/testpass.c: Likewise.
6374 * manual/examples/timeval_subtract.c: Likewise.
6375
515f463f
JM
63762018-12-19 Joseph Myers <joseph@codesourcery.com>
6377
da75c1b1
JM
6378 * sysdeps/x86/fpu/math_private.h: New file.
6379 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6380
515f463f
JM
6381 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6382 definition.
6383 (cosh): Likewise.
6384 (tanh): Likewise.
6385
1616d034
TMQMF
63862018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6387
6388 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6389 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6390 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6391 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6392 fields.
6393 (_dl_show_auxv): Give a special treatment to
6394 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6395 and AT_L3_CACHEGEOMETRY.
6396 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6397 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6398 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6399 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6400
61595e3d
AS
64012018-12-19 Andreas Schwab <schwab@suse.de>
6402
6403 * nscd/connections.c (check_use): Don't abort on invalid len.
6404
bbb7dc84
ST
64052018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6406
6407 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6408 values in the 64bit value cases.
6409
6b5c8607 64102018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 6411
c4c2836a
AA
6412 * include/time.h
6413 (__ctime64_r): Add.
6414 * time/ctime_r.c
6415 (__ctime64_r): Add.
6416 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6417
7755e504
AA
6418 * include/time.h
6419 (__ctime64): Add.
6420 * time/gmtime.c
6421 (__ctime64): Add.
6422 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6423
a1d346ce
AA
6424 * include/time.h
6425 (__gmtime64_r): Add.
6426 * time/gmtime.c
6427 (__gmtime64_r): Add.
6428 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6429
131db8b0
AA
6430 * include/time.h
6431 (__gmtime64): Add.
6432 * time/gmtime.c
6433 (__gmtime64): Add.
6434 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6435
64c2277d
AA
6436 * include/time.h
6437 (__localtime64_r): Add.
6438 * time/localtime.c
6439 (__localtime64_r): Add.
6440 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6441
56b98bf1
AZ
64422018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6443
64dd7a16
AZ
6444 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6445 kernel_sigction definition.
6446
8b1d5da5
AZ
6447 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6448
f9eabb19
AZ
6449 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6450
56b98bf1
AZ
6451 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6452 __syscall_rt_sigaction.
6453 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6454 (kernel_sigaction): Use Linux generic defintion.
6455 (STUB): Define.
6456 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6457 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6458 (__syscall_rt_sigaction): Remove implementation.
6459 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6460 hidden.
6461 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6462 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6463 INTERNAL_SYSCALL): Remove definitions.
6464 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6465 action and signal set size.
6466 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6467 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6468
43a45c2d
AZ
64692018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6470 James Clarke <jrtc27@jrtc27.com>
6471
dfa6216f 6472 [BZ #23967]
43a45c2d
AZ
6473 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6474 Define if SA_RESTORER is defined.
6475 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6476 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6477 already defined.
6478 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6479 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6480 definitions.
6481 (HAS_SA_RESTORER): Define.
6482 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6483 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6484 (HAS_SA_RESTORER): Define.
6485 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6486 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6487 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6488 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6489 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6490
646ce7e0
JM
64912018-12-18 Joseph Myers <joseph@codesourcery.com>
6492
6493 * sysdeps/unix/sysv/linux/kernel-features.h
6494 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6495 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6496 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6497 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6498 (__ASSUME_ST_INO_64_BIT): Likewise.
6499 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6500 <kernel-features.h>.
6501 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6502 Remove conditional code.
6503 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6504 <kernel-features.h>.
6505 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6506 Remove conditional code.
6507 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6508 <kernel-features.h>.
6509 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6510 Remove conditional code.
6511 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6512 <kernel-features.h>.
6513 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6514 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6515
80190d2b
SL
65162018-12-18 Stefan Liebler <stli@linux.ibm.com>
6517
6518 * sysdeps/s390/multiarch/ifunc-resolve.h
6519 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6520 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6521 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6522 Delete macro definition.
6523 (s390_libc_ifunc_init): Rename to
6524 s390_libc_ifunc_expr_stfle_init.
6525 * sysdeps/s390/bzero: Use
6526 s390_libc_ifunc_expr_stfle_init instead of
6527 s390_libc_ifunc_init.
6528 * sysdeps/s390/memcmp.c: Likewise.
6529 * sysdeps/s390/memcpy.c: Likewise.
6530 * sysdeps/s390/mempcpy.c: Likewise.
6531 * sysdeps/s390/memset.c: Likewise.
6532
12f0dcb8
SL
65332018-12-18 Stefan Liebler <stli@linux.ibm.com>
6534
6535 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6536 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6537
25654a8c
SL
65382018-12-18 Stefan Liebler <stli@linux.ibm.com>
6539
6540 * sysdeps/s390/multiarch/Makefile
6541 (sysdep_routines): Remove wmemcmp variants.
6542 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6543 * sysdeps/s390/multiarch/ifunc-impl-list.c
6544 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6545 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6546 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6547 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6548 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6549 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6550 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6551 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6552
d2a7436c
SL
65532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6554
6555 * sysdeps/s390/multiarch/Makefile
6556 (sysdep_routines): Remove wmemset variants.
6557 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6558 * sysdeps/s390/multiarch/ifunc-impl-list.c
6559 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6560 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6561 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6562 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6563 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6564 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6565 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6566 * sysdeps/s390/ifunc-wmemset.h: New file.
6567
c62534ae
SL
65682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6569
6570 * sysdeps/s390/multiarch/Makefile
6571 (sysdep_routines): Remove wmemchr variants.
6572 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6573 * sysdeps/s390/multiarch/ifunc-impl-list.c
6574 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6575 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6576 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6577 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6578 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6579 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6580 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6581 * sysdeps/s390/ifunc-wmemchr.h: New file.
6582
79b44cf6
SL
65832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6584
6585 * sysdeps/s390/multiarch/Makefile
6586 (sysdep_routines): Remove wcscspn variants.
6587 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6588 * sysdeps/s390/multiarch/ifunc-impl-list.c
6589 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6590 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6591 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6592 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6593 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6594 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6595 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6596 * sysdeps/s390/ifunc-wcscspn.h: New file.
6597
8e87c1f6
SL
65982018-12-18 Stefan Liebler <stli@linux.ibm.com>
6599
6600 * sysdeps/s390/multiarch/Makefile
6601 (sysdep_routines): Remove wcspbrk variants.
6602 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6603 * sysdeps/s390/multiarch/ifunc-impl-list.c
6604 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6605 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6606 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6607 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6608 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6609 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6610 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6611 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6612
8507e831
SL
66132018-12-18 Stefan Liebler <stli@linux.ibm.com>
6614
6615 * sysdeps/s390/multiarch/Makefile
6616 (sysdep_routines): Remove wcsspn variants.
6617 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6618 * sysdeps/s390/multiarch/ifunc-impl-list.c
6619 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6620 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6621 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6622 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6623 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6624 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6625 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6626 * sysdeps/s390/ifunc-wcsspn.h: New file.
6627
4753713a
SL
66282018-12-18 Stefan Liebler <stli@linux.ibm.com>
6629
6630 * sysdeps/s390/multiarch/Makefile
6631 (sysdep_routines): Remove wcsrchr variants.
6632 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6633 * sysdeps/s390/multiarch/ifunc-impl-list.c
6634 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6635 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6636 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6637 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6638 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6639 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6640 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6641 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6642
c09c1b6f
SL
66432018-12-18 Stefan Liebler <stli@linux.ibm.com>
6644
6645 * sysdeps/s390/multiarch/Makefile
6646 (sysdep_routines): Remove wcschrnul variants.
6647 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6648 * sysdeps/s390/multiarch/ifunc-impl-list.c
6649 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6650 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6651 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6652 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6653 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6654 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6655 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6656 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6657
cf3ccc31
SL
66582018-12-18 Stefan Liebler <stli@linux.ibm.com>
6659
6660 * sysdeps/s390/multiarch/Makefile
6661 (sysdep_routines): Remove wcschr variants.
6662 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6663 * sysdeps/s390/multiarch/ifunc-impl-list.c
6664 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6665 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6666 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6667 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6668 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6669 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6670 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6671 * sysdeps/s390/ifunc-wcschr.h: New file.
6672
e9873e1d
SL
66732018-12-18 Stefan Liebler <stli@linux.ibm.com>
6674
6675 * sysdeps/s390/multiarch/Makefile
6676 (sysdep_routines): Remove wcsncmp variants.
6677 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6678 * sysdeps/s390/multiarch/ifunc-impl-list.c
6679 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6680 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6681 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6682 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6683 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6684 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6685 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6686 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6687
3459e23d
SL
66882018-12-18 Stefan Liebler <stli@linux.ibm.com>
6689
6690 * sysdeps/s390/multiarch/Makefile
6691 (sysdep_routines): Remove wcscmp variants.
6692 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6693 * sysdeps/s390/multiarch/ifunc-impl-list.c
6694 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6695 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6696 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6697 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6698 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6699 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6700 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6701 * sysdeps/s390/ifunc-wcscmp.h: New file.
6702
814a76e1
SL
67032018-12-18 Stefan Liebler <stli@linux.ibm.com>
6704
6705 * sysdeps/s390/multiarch/Makefile
6706 (sysdep_routines): Remove wcsncat variants.
6707 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6708 * sysdeps/s390/multiarch/ifunc-impl-list.c
6709 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6710 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6711 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6712 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6713 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6714 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6715 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6716 * sysdeps/s390/ifunc-wcsncat.h: New file.
6717
3389cae4
SL
67182018-12-18 Stefan Liebler <stli@linux.ibm.com>
6719
6720 * sysdeps/s390/multiarch/Makefile
6721 (sysdep_routines): Remove wcscat variants.
6722 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6723 * sysdeps/s390/multiarch/ifunc-impl-list.c
6724 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6725 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6726 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6727 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6728 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6729 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6730 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6731 * sysdeps/s390/ifunc-wcscat.h: New file.
6732
c3081bcb
SL
67332018-12-18 Stefan Liebler <stli@linux.ibm.com>
6734
6735 * sysdeps/s390/multiarch/Makefile
6736 (sysdep_routines): Remove wcpncpy variants.
6737 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6738 * sysdeps/s390/multiarch/ifunc-impl-list.c
6739 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6740 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6741 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6742 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6743 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6744 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6745 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6746 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6747
0966dd86
SL
67482018-12-18 Stefan Liebler <stli@linux.ibm.com>
6749
6750 * sysdeps/s390/multiarch/Makefile
6751 (sysdep_routines): Remove wcsncpy variants.
6752 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6753 * sysdeps/s390/multiarch/ifunc-impl-list.c
6754 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6755 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6756 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6757 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6758 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6759 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6760 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6761 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6762
0582e428
SL
67632018-12-18 Stefan Liebler <stli@linux.ibm.com>
6764
6765 * sysdeps/s390/multiarch/Makefile
6766 (sysdep_routines): Remove wcpcpy variants.
6767 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6768 * sysdeps/s390/multiarch/ifunc-impl-list.c
6769 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6770 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6771 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6772 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6773 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6774 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6775 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6776 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6777
804f2e5c
SL
67782018-12-18 Stefan Liebler <stli@linux.ibm.com>
6779
6780 * sysdeps/s390/multiarch/Makefile
6781 (sysdep_routines): Remove wcscpy variants.
6782 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6783 * sysdeps/s390/multiarch/ifunc-impl-list.c
6784 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6785 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6786 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6787 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6788 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6789 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6790 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6791 * sysdeps/s390/ifunc-wcscpy.h: New file.
6792
c7e7cd26
SL
67932018-12-18 Stefan Liebler <stli@linux.ibm.com>
6794
6795 * sysdeps/s390/multiarch/Makefile
6796 (sysdep_routines): Remove wcsnlen variants.
6797 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6798 * sysdeps/s390/multiarch/ifunc-impl-list.c
6799 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6800 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6801 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6802 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6803 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6804 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6805 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6806 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6807
2e02d0b7
SL
68082018-12-18 Stefan Liebler <stli@linux.ibm.com>
6809
6810 * sysdeps/s390/multiarch/Makefile
6811 (sysdep_routines): Remove wcslen variants.
6812 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6813 * sysdeps/s390/multiarch/ifunc-impl-list.c
6814 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6815 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6816 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6817 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6818 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6819 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6820 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6821 * sysdeps/s390/ifunc-wcslen.h: New file.
6822
89bfcbdf
SL
68232018-12-18 Stefan Liebler <stli@linux.ibm.com>
6824
6825 * sysdeps/s390/multiarch/Makefile
6826 (sysdep_routines): Remove memrchr variants.
6827 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6828 * sysdeps/s390/multiarch/ifunc-impl-list.c
6829 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6830 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6831 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6832 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6833 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6834 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6835 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6836 * sysdeps/s390/ifunc-memrchr.h: New file.
6837
196655ba
SL
68382018-12-18 Stefan Liebler <stli@linux.ibm.com>
6839
6840 * sysdeps/s390/multiarch/Makefile
6841 (sysdep_routines): Remove memccpy variants.
6842 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6843 * sysdeps/s390/multiarch/ifunc-impl-list.c
6844 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6845 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6846 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6847 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6848 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6849 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6850 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6851 * sysdeps/s390/ifunc-memccpy.h: New file.
6852
4c7b3cec
SL
68532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6854
6855 * sysdeps/s390/multiarch/Makefile
6856 (sysdep_routines): Remove rawmemchr variants.
6857 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6858 * sysdeps/s390/multiarch/ifunc-impl-list.c
6859 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6860 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6861 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6862 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6863 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6864 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6865 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6866 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6867
581a051c
SL
68682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6869
6870 * sysdeps/s390/multiarch/Makefile
6871 (sysdep_routines): Remove memchr variants.
6872 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6873 * sysdeps/s390/multiarch/ifunc-impl-list.c
6874 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6875 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6876 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6877 * sysdeps/s390/multiarch/memchr.c: Move to ...
6878 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6879 * sysdeps/s390/ifunc-memchr.h: New file.
6880 * sysdeps/s390/s390-64/memchr.S: Move to ...
6881 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6882 for 31/64bit and ifunc handling.
6883 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6884 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6885 * sysdeps/s390/s390-32/memchr.S: Likewise.
6886
5d2ec20a
SL
68872018-12-18 Stefan Liebler <stli@linux.ibm.com>
6888
6889 * sysdeps/s390/multiarch/Makefile
6890 (sysdep_routines): Remove strcspn variants.
6891 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6892 * sysdeps/s390/multiarch/ifunc-impl-list.c
6893 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6894 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6895 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6896 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6897 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6898 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6899 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6900 * sysdeps/s390/ifunc-strcspn.h: New file.
6901
572cca93
SL
69022018-12-18 Stefan Liebler <stli@linux.ibm.com>
6903
6904 * sysdeps/s390/multiarch/Makefile
6905 (sysdep_routines): Remove strpbrk variants.
6906 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6907 * sysdeps/s390/multiarch/ifunc-impl-list.c
6908 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6909 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6910 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6911 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6912 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6913 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6914 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6915 * sysdeps/s390/ifunc-strpbrk.h: New file.
6916
483fc569
SL
69172018-12-18 Stefan Liebler <stli@linux.ibm.com>
6918
6919 * sysdeps/s390/multiarch/Makefile
6920 (sysdep_routines): Remove strspn variants.
6921 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6922 * sysdeps/s390/multiarch/ifunc-impl-list.c
6923 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6924 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6925 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6926 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6927 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6928 * sysdeps/s390/multiarch/strspn.c: Move to ...
6929 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6930 * sysdeps/s390/ifunc-strspn.h: New file.
6931
26ea8760
SL
69322018-12-18 Stefan Liebler <stli@linux.ibm.com>
6933
6934 * sysdeps/s390/multiarch/Makefile
6935 (sysdep_routines): Remove strrchr variants.
6936 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6937 * sysdeps/s390/multiarch/ifunc-impl-list.c
6938 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6939 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6940 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6941 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6942 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6943 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6944 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6945 * sysdeps/s390/ifunc-strrchr.h: New file.
6946
a1361e65
SL
69472018-12-18 Stefan Liebler <stli@linux.ibm.com>
6948
6949 * sysdeps/s390/multiarch/Makefile
6950 (sysdep_routines): Remove strchrnul variants.
6951 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6952 * sysdeps/s390/multiarch/ifunc-impl-list.c
6953 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6954 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6955 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6956 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6957 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6958 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6959 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6960 * sysdeps/s390/ifunc-strchrnul.h: New file.
6961
32f12653
SL
69622018-12-18 Stefan Liebler <stli@linux.ibm.com>
6963
6964 * sysdeps/s390/multiarch/Makefile
6965 (sysdep_routines): Remove strchr variants.
6966 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6967 * sysdeps/s390/multiarch/ifunc-impl-list.c
6968 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6969 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6970 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6971 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6972 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6973 * sysdeps/s390/multiarch/strchr.c: Move to ...
6974 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6975 * sysdeps/s390/ifunc-strchr.h: New file.
6976
316b8842
SL
69772018-12-18 Stefan Liebler <stli@linux.ibm.com>
6978
6979 * sysdeps/s390/multiarch/Makefile
6980 (sysdep_routines): Remove strncmp variants.
6981 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6982 * sysdeps/s390/multiarch/ifunc-impl-list.c
6983 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6984 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6985 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6986 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6987 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6988 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6989 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6990 * sysdeps/s390/ifunc-strncmp.h: New file.
6991
cdab85fe
SL
69922018-12-18 Stefan Liebler <stli@linux.ibm.com>
6993
6994 * sysdeps/s390/multiarch/Makefile
6995 (sysdep_routines): Remove strcmp variants.
6996 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6997 * sysdeps/s390/multiarch/ifunc-impl-list.c
6998 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6999 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7000 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7001 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7002 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7003 * sysdeps/s390/ifunc-strcmp.h: New file.
7004 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7005 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7006 for 31/64bit and ifunc handling.
7007 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7008 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7009 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7010
b9353351
SL
70112018-12-18 Stefan Liebler <stli@linux.ibm.com>
7012
7013 * sysdeps/s390/multiarch/Makefile
7014 (sysdep_routines): Remove strncat variants.
7015 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7016 * sysdeps/s390/multiarch/ifunc-impl-list.c
7017 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7018 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7019 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7020 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7021 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7022 * sysdeps/s390/multiarch/strncat.c: Move to ...
7023 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7024 * sysdeps/s390/ifunc-strncat.h: New file.
7025
8e5a0afb
SL
70262018-12-18 Stefan Liebler <stli@linux.ibm.com>
7027
7028 * sysdeps/s390/multiarch/Makefile
7029 (sysdep_routines): Remove strcat variants.
7030 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7031 * sysdeps/s390/multiarch/ifunc-impl-list.c
7032 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7033 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7034 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7035 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7036 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7037 * sysdeps/s390/multiarch/strcat.c: Move to ...
7038 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7039 * sysdeps/s390/ifunc-strcat.h: New file.
7040
25218822
SL
70412018-12-18 Stefan Liebler <stli@linux.ibm.com>
7042
7043 * sysdeps/s390/multiarch/Makefile
7044 (sysdep_routines): Remove stpncpy variants.
7045 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7046 * sysdeps/s390/multiarch/ifunc-impl-list.c
7047 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7048 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7049 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7050 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7051 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7052 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7053 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7054 * sysdeps/s390/ifunc-stpncpy.h: New file.
7055
d1bdbf38
SL
70562018-12-18 Stefan Liebler <stli@linux.ibm.com>
7057
7058 * sysdeps/s390/multiarch/Makefile
7059 (sysdep_routines): Remove strncpy variants.
7060 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7061 * sysdeps/s390/multiarch/ifunc-impl-list.c
7062 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7063 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7064 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7065 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7066 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7067 * sysdeps/s390/ifunc-strncpy.h: New file.
7068 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7069 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7070 and adjust ifunc handling.
7071 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7072 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7073 and adjust ifunc handling.
7074 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7075 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7076
97044931
SL
70772018-12-18 Stefan Liebler <stli@linux.ibm.com>
7078
7079 * sysdeps/s390/multiarch/Makefile
7080 (sysdep_routines): Remove stpcpy variants.
7081 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7082 * sysdeps/s390/multiarch/ifunc-impl-list.c
7083 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7084 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7085 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7086 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7087 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7088 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7089 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7090 * sysdeps/s390/ifunc-stpcpy.h: New file.
7091
914a4e05
SL
70922018-12-18 Stefan Liebler <stli@linux.ibm.com>
7093
7094 * sysdeps/s390/multiarch/Makefile
7095 (sysdep_routines): Remove strcpy variants.
7096 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7097 * sysdeps/s390/multiarch/ifunc-impl-list.c
7098 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7099 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7100 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7101 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7102 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7103 * sysdeps/s390/ifunc-strcpy.h: New file.
7104 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7105 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7106 for 31/64bit and ifunc handling.
7107 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7108 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7109 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7110
de10e44d
SL
71112018-12-18 Stefan Liebler <stli@linux.ibm.com>
7112
7113 * sysdeps/s390/multiarch/Makefile
7114 (sysdep_routines): Remove strnlen variants.
7115 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7116 * sysdeps/s390/multiarch/ifunc-impl-list.c
7117 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7118 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7119 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7120 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7121 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7122 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7123 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7124 * sysdeps/s390/ifunc-strnlen.h: New file.
7125
ff3ca374
SL
71262018-12-18 Stefan Liebler <stli@linux.ibm.com>
7127
7128 * sysdeps/s390/multiarch/Makefile
7129 (sysdep_routines): Remove strlen variants.
7130 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7131 * sysdeps/s390/multiarch/ifunc-impl-list.c
7132 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7133 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7134 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7135 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7136 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7137 * sysdeps/s390/multiarch/strlen.c: Move to ...
7138 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7139 * sysdeps/s390/ifunc-strlen.h: New file.
7140
d2c4c403
SL
71412018-12-18 Stefan Liebler <stli@linux.ibm.com>
7142
7143 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7144 * sysdeps/s390/multiarch/ifunc-impl-list.c
7145 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7146 * sysdeps/s390/ifunc-memmem.h: New file.
7147 * sysdeps/s390/memmem.c: Likewise.
7148 * sysdeps/s390/memmem-c.c: Likewise.
7149 * sysdeps/s390/memmem-vx.c: Likewise.
7150
8c25dddd
SL
71512018-12-18 Stefan Liebler <stli@linux.ibm.com>
7152
7153 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7154 * sysdeps/s390/multiarch/ifunc-impl-list.c
7155 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7156 * sysdeps/s390/ifunc-strstr.h: New file.
7157 * sysdeps/s390/strstr.c: Likewise.
7158 * sysdeps/s390/strstr-c.c: Likewise.
7159 * sysdeps/s390/strstr-vx.c: Likewise.
7160
cdd927d9
SL
71612018-12-18 Stefan Liebler <stli@linux.ibm.com>
7162
7163 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7164 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7165 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7166 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7167 New defines.
7168 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7169 * sysdeps/s390/memmove-c.c: New file.
7170 * sysdeps/s390/memmove.c: Likewise.
7171 * sysdeps/s390/multiarch/ifunc-impl-list.c
7172 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7173
2ee1bc57
SL
71742018-12-18 Stefan Liebler <stli@linux.ibm.com>
7175
7176 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7177 * sysdeps/s390/configure.ac: Add check for z13 support.
7178 * sysdeps/s390/configure: Regenerated.
7179
d097d976
SL
71802018-12-18 Stefan Liebler <stli@linux.ibm.com>
7181
7182 * sysdeps/s390/memcopy.h: New file.
7183
e099aab0
SL
71842018-12-18 Stefan Liebler <stli@linux.ibm.com>
7185
7186 * sysdeps/s390/s390-32/bcopy.S: Remove.
7187 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7188
18eb862d
SL
71892018-12-18 Stefan Liebler <stli@linux.ibm.com>
7190
7191 * sysdeps/s390/ifunc-memcpy.h: New File.
7192 * sysdeps/s390/memcpy.S: Move to ...
7193 * sysdeps/s390/memcpy-z900.S ... here.
7194 Move implementations from memcpy-s390x.s to here.
7195 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7196 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7197 Remove memcpy/mempcpy variants.
7198 * sysdeps/s390/Makefile (sysdep_routines):
7199 Add memcpy/mempcpy variants.
7200 * sysdeps/s390/multiarch/ifunc-impl-list.c
7201 (__libc_ifunc_impl_list): Adjust ifunc variants for
7202 memcpy and mempcpy.
7203 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7204 to ...
7205 * sysdeps/s390/memcpy.c: ... here.
7206 Adjust ifunc variants for memcpy.
7207 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7208 * sysdeps/s390/mempcpy.c: ... here.
7209 Adjust ifunc variants for mempcpy.
7210 * sysdeps/s390/mempcpy.S: Delete file.
7211
df3eb8de
SL
72122018-12-18 Stefan Liebler <stli@linux.ibm.com>
7213
7214 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7215 * sysdeps/s390/memcpy.S: ... here.
7216 Adjust to be usable for 31/64bit.
7217 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7218 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7219 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7220 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7221 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7222 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7223 Adjust to be usable for 31/64bit.
7224 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7225 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7226 * sysdeps/s390/multiarch/memcpy.c: ... here.
7227 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7228
b7e024a8
SL
72292018-12-18 Stefan Liebler <stli@linux.ibm.com>
7230
7231 * sysdeps/s390/ifunc-memcmp.h: New File.
7232 * sysdeps/s390/memcmp.S: Move to ...
7233 * sysdeps/s390/memcmp-z900.S ... here.
7234 Move implementations from memcmp-s390x.s to here.
7235 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7236 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7237 Remove memcmp variants.
7238 * sysdeps/s390/Makefile (sysdep_routines):
7239 Add memcmp variants.
7240 * sysdeps/s390/multiarch/ifunc-impl-list.c
7241 (__libc_ifunc_impl_list): Adjust ifunc variants for
7242 memcmp.
7243 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7244 to ...
7245 * sysdeps/s390/memcmp.c: ... here.
7246 Adjust ifunc variants for memcmp.
7247
6c6b8c74
SL
72482018-12-18 Stefan Liebler <stli@linux.ibm.com>
7249
7250 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7251 * sysdeps/s390/memcmp.S: ... here.
7252 Adjust to be usable for 31/64bit.
7253 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7254 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7255 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7256 Remove memcmp.
7257 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7258 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7259 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7260 Adjust to be usable for 31/64bit.
7261 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7262 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7263 * sysdeps/s390/multiarch/memcmp.c: ... here.
7264 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7265
07be3928
SL
72662018-12-18 Stefan Liebler <stli@linux.ibm.com>
7267
7268 * sysdeps/s390/s390-32/bzero.S: Delete file.
7269 * sysdeps/s390/s390-64/bzero.S: Likewise.
7270 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7271 * sysdeps/s390/bzero.c: New file.
7272 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7273 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7274 * sysdeps/s390/multiarch/ifunc-impl-list.c
7275 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7276
712a254a
SL
72772018-12-18 Stefan Liebler <stli@linux.ibm.com>
7278
7279 * sysdeps/s390/ifunc-memset.h: New File.
7280 * sysdeps/s390/memset.S: Move to ...
7281 * sysdeps/s390/memset-z900.S ... here.
7282 Move implementations from memset-s390x.s to here.
7283 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7284 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7285 Remove memset variants.
7286 * sysdeps/s390/Makefile (sysdep_routines):
7287 Add memset variants.
7288 * sysdeps/s390/multiarch/ifunc-impl-list.c
7289 (__libc_ifunc_impl_list): Adjust ifunc variants for
7290 memset.
7291 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7292 to ...
7293 * sysdeps/s390/memset.c: ... here.
7294 Adjust ifunc variants for memset.
7295
5f1743d1
SL
72962018-12-18 Stefan Liebler <stli@linux.ibm.com>
7297
7298 * sysdeps/s390/s390-64/memset.S: Move to ...
7299 * sysdeps/s390/memset.S: ... here.
7300 Adjust to be usable for 31/64bit.
7301 * sysdeps/s390/s390-32/memset.S: Delete File.
7302 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7303 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7304 Remove memset.
7305 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7306 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7307 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7308 Adjust to be usable for 31/64bit.
7309 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7310 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7311 * sysdeps/s390/multiarch/memset.c: ... here.
7312 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7313
e8023f26
SL
73142018-12-18 Stefan Liebler <stli@linux.ibm.com>
7315
7316 * sysdeps/s390/multiarch/ifunc-resolve.h
7317 (s390_libc_ifunc_init, s390_libc_ifunc,
7318 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7319
b8686c0d
SL
73202018-12-18 Stefan Liebler <stli@linux.ibm.com>
7321
7322 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7323 * sysdeps/s390/configure.ac: Add check for z10 support.
7324 * sysdeps/s390/configure: Regenerated.
7325
cd815050
L
73262018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7327
7328 * sysdeps/i386/atomic-machine.h: Merged with ...
7329 * sysdeps/x86_64/atomic-machine.h: To ...
7330 * sysdeps/x86/atomic-machine.h: This. New file.
7331
053c52b1
FW
73322018-12-18 Florian Weimer <fweimer@redhat.com>
7333
7334 Rewrite locale/gen-translit.pl in Python.
7335 * locale/Makefile (generated): Add C-translit.h.
7336 (before-compile): Add $(objpfx)C-translit.h.
7337 (C-translit.h): Move to $(objpfx). Create target directory.
7338 Build using Python script.
7339 * locale/gen-translit.py: New file.
7340 * locale/gen-translit.pl: Remove file.
7341 * locale/C-translit.h.in: Change comment character to '#' for
7342 easier parsing without a C preprocessor.
7343 * locale/C-translit.h: Remove generated file.
7344 * manual/install.texi (Tools for Compilation): Do not mention
7345 C-translit.h.
7346 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7347 Remove locale/C-translit.h.
7348 * scripts/update-copyrights: Likewise.
7349 * INSTALL: Regenerate.
7350
40e6c1ec
FW
73512018-12-18 Florian Weimer <fweimer@redhat.com>
7352
7353 [BZ #23995]
7354 * localedata/locales/bi_VU: Remove executable bit from file.
7355
6b5c8607 73562018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
7357
7358 * include/time.h
7359 (__localtime64): Add.
7360 * manual/maint.texi: Document Y2038 symbol handling.
7361 * time/localtime.c
7362 (__localtime64): Add.
bfb79db4 7363 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 7364
df648905
JM
73652018-12-17 Joseph Myers <joseph@codesourcery.com>
7366
551e81d9
JM
7367 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7368 Do not clobber r12.
7369
df648905
JM
7370 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7371 to allow extra macros from first or second sources.
7372 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7373 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7374 (tests-special): Add $(objpfx)tst-mman-consts.out.
7375 ($(objpfx)tst-mman-consts.out): New makefile target.
7376
6bbfc5c0
MH
73772018-12-17 Mao Han <han_mao@c-sky.com>
7378
7379 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7380 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7381 without stat64 system call support.
7382 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7383 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7384 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7385 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7386 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7387 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7388 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7389 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7390 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7391 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7392 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7393
ef202e53
PE
73942018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7395
7396 regex: fix storage-exhaustion error
7397 [BZ #18040]
7398 * posix/regexec.c (get_subexp):
7399 Do not continue if storage is exhausted.
7400
077caf61
AG
74012018-12-15 Assaf Gordon <assafgordon@gmail.com>
7402
7403 regex: fix heap-use-after-free error
7404 [BZ #18040]
7405 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7406 https://debbugs.gnu.org/32592
7407 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7408 call extend_buffers which reallocates the re_string_t internal buffer.
7409 Local variable 'buf' was not updated in such case, resulting in
7410 use-after-free.
7411 * posix/regexec.c (get_subexp): Update 'buf' after call to
7412 get_subexp_sub.
7413
0c1719e6
FW
74142018-12-15 Florian Weimer <fweimer@redhat.com>
7415
7416 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7417 (minimum_stride_size): Use it.
7418 (support_blob_repeat_allocate): Likewise.
7419
033a2c0a
JM
74202018-12-14 Joseph Myers <joseph@codesourcery.com>
7421
7422 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7423 definition.
7424 (acosh): Likewise.
7425 (atanh): Likewise.
7426
e361dc04
FW
74272018-12-14 Florian Weimer <fweimer@redhat.com>
7428
7429 * manual/process.texi (Process Creation Concepts): Remove
7430 documentation of process (ID) lifetime. List more process
7431 creation functions. Reference Process Identification section.
7432 (Process Identification): Add information about process ID
7433 lifetime. Describe Linux thread/task IDs.
7434 * manual/signal.texi (Signaling Another Process): Mention that the
7435 signal is always sent to the process.
7436
bd51ff5e
GG
74372018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7438
7439 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7440 and tst-ldbl-efgcvt.
7441 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7442 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7443 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7444 (fcvt_tests, output_error, output_r_error, do_test): Use the
7445 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7446 select the type of floating-point variables and arguments; to
7447 produce extra tests for double and conversion specifiers for
7448 printf; and to set the names of called functions.
7449 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7450 in tst-efgcvt-template.c.
7451 * misc/tst-ldbl-efgcvt.c: Likewise.
7452
268bb71e
SL
74532018-12-14 Stefan Liebler <stli@linux.ibm.com>
7454
7455 * nss/Makefile (tst-nss-test3.out): New rule.
7456
db6df070
JM
74572018-12-13 Joseph Myers <joseph@codesourcery.com>
7458
7459 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7460 clobber sp.
7461
ade8b817
CD
74622018-12-13 fanjinke <fanjinke@hygon.cn>
7463
7464 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7465 "HygonGenuine".
7466
3d265911
AS
74672018-12-13 Andreas Schwab <schwab@suse.de>
7468
f21e8f8c 7469 [BZ #23861]
3d265911 7470 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
7471 (__pthread_rwlock_rdlock_full): Update expected value for
7472 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7473 * nptl/tst-rwlock-pwn.c: New file.
7474 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 7475
bf8ae8c0
JM
74762018-12-12 Joseph Myers <joseph@codesourcery.com>
7477
7478 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7479 definition.
7480
de099757
LS
74812018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7482
7483 * benchtests/scripts/compare_bench.py (do_compare): write to
7484 stderr in casestat is not present.
7485 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7486 stderr in case timings field is not present. Also string showing
7487 the output filename goes into the stderr.
7488
1990185f
LS
74892018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7490
7491 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7492 and ZeroDivisorError exceptions.
7493 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7494 argument to loop through user provided statistics.
7495 * benchtests/scripts/compare_bench.py (main): Include the --stats
7496 argument.
7497
587426d4
LS
74982018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7499
7500 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7501 instead of return.
7502
46703efa
FW
75032018-12-12 Florian Weimer <fweimer@redhat.com>
7504
7505 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7506 clause to copyright header.
7507
1d880d4a
TMQMF
75082018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7509
7510 [BZ #23614]
7511 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7512 registers saved in the stack frame.
7513 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7514 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7515
1a502f52
GG
75162018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7517
7518 * include/bits/monetary-ldbl.h: New file.
7519 * include/bits/printf-ldbl.h: Likewise.
7520 * include/bits/stdio-ldbl.h: Likewise.
7521 * include/bits/stdlib-ldbl.h: Likewise.
7522 * include/bits/syslog-ldbl.h: Likewise.
7523 * include/bits/wchar-ldbl.h: Likewise.
7524
df682d1d
GG
75252018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7526
7527 * libio/libio.h: Remove redirection for _IO_vfprintf.
7528
c2c082c1
AS
75292018-12-11 Andreas Schwab <schwab@suse.de>
7530
7531 * Makerules: Remove all references to abilist-pattern.
7532 (update-all-abi): Simplify find expression.
7533
505b5b29
SN
75342018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7535
7536 [BZ #23961]
7537 * math/auto-libm-test-in: Add new test case.
7538 * math/auto-libm-test-out-pow: Regenerated.
7539 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7540
304c61a2
DD
75412018-12-10 DJ Delorie <dj@redhat.com>
7542
7543 [BZ #23948]
7544 * support/test-container.c: Move postclean step to before we
7545 change namespaces.
7546
a8110b72
JM
75472018-12-10 Joseph Myers <joseph@codesourcery.com>
7548
cb7be159
JM
7549 * scripts/gen-as-const.py (main): Handle --python option.
7550 * scripts/gen-py-const.awk: Remove.
7551 * Makerules (py-const-script): Use gen-as-const.py.
7552 ($(py-const)): Likewise.
7553 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7554 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7555 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7556 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7557 ~PTHREAD_MUTEX_NO_ELISION_NP.
7558 * manual/README.pretty-printers: Update reference to
7559 gen-py-const.awk.
7560
a8110b72
JM
7561 * scripts/glibcextract.py: New file.
7562 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7563 or tempfile. Import glibcexctract.
7564 (compute_c_consts): Remove. Moved to glibcextract.py.
7565 (gen_test): Update reference to compute_c_consts.
7566 (main): Likewise.
7567 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7568 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7569 * sysdeps/unix/sysv/linux/Makefile
7570 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7571 Redirect stderr as well as stdout.
7572
f9ba9eb8
RÁE
75732018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7574
7575 [BZ #19767]
7576 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
7577 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7578 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 7579 ALWAYS_USE_VSYSCALL.
b39d961c 7580 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
7581 ALWAYS_USE_VSYSCALL.
7582 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7583 ALWAYS_USE_VSYSCALL.
7584
8d20a2f4
FW
75852018-12-10 Florian Weimer <fweimer@redhat.com>
7586
7587 [BZ #23972]
7588 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7589 offset instead of count for clarity. Fix typo in comment.
7590 (__old_getdents64): Keep track of previous offset. Use it to call
7591 handle_overflow.
7592 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7593 that d_off is never zero.
7594
80472e2f
AS
75952018-12-10 Andreas Schwab <schwab@suse.de>
7596
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7598 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7600 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7601 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7602
0afcb29d
JM
76032018-12-10 Joseph Myers <joseph@codesourcery.com>
7604
7605 * timezone/private.h: Update from tzcode 2018g.
7606 * timezone/tzfile.h: Likewise.
7607 * timezone/tzselect.ksh: Likewise.
7608 * timezone/zdump.c: Likewise.
7609 * timezone/zic.c: Likewise.
7610
b93f4052
PP
76112018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7612
7613 [BZ #23490]
7614 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7615 (do_test): Adjust buffer size and fix format.
7616
7c9a7c68
DD
76172018-12-07 DJ Delorie <dj@redhat.com>
7618
7619 [BZ #23907]
7620 * malloc/tst-tcfree3.c: New.
7621 * malloc/Makefile: Add it.
7622
37caec3a
L
76232018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7624
7625 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7626
10446f5d
GG
76272018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7628
7629 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7630 used as a mask for the mode argument of __vfscanf_internal and
7631 __vfwscanf_internal.
7632 * stdio-common/vfscanf-internal.c
7633 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7634 (__strtof128_internal): Define to __wcstof128_internal.
7635 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7636 __strtof128_internal or __wcstof128_internal when the format of
7637 long double is the same as _Float128.
7638
45f33aac
ST
76392018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7640
7641 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7642 * posix/confstr.c (confstr): Rename to __confstr.
7643 (__confstr): Add hidden def.
7644 (confstr): Add weak alias for __confstr.
7645 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7646 confstr.
7647
a092ca94
L
76482018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7649
7650 * NEWS: Mention getcpu.
7651 * include/sched.h (__getcpu): New libc_hidden_proto.
7652 * manual/resource.texi: Document getcpu.
7653 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7654 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7655 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7656 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7657 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7658 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7659 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7660 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7661 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7662 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7663 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7664 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7665 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7666 Likewise.
7667 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7668 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7669 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7671 Likewise.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7673 Likewise.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7675 Likewise.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7677 Likewise.
7678 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7680 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7681 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7682 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7683 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7684 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7685 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7686 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7687 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7688 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7689 Also check getcpu.
7690
7c857b6f
ST
76912018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7692
7693 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7694 functions.
7695 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7696
3a3fb755
FW
76972018-12-07 Florian Weimer <fweimer@redhat.com>
7698
7699 [BZ #17405]
7700 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7701 * posix/Versions (GLIBC_2.29): Export
7702 posix_spawn_file_actions_addfchdir_np.
7703 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7704 * posix/spawn_faction_destroy.c
7705 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7706 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7707 and the field action.fchdir_action.
7708 * posix/tst-spawn-chdir.c (add_chdir): New function.
7709 (do_test): Add do_fchdir loop. Call add_chdir.
7710 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7711 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7712 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7713 posix_spawn_file_actions_addfchdir_np.
7714 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7715 Likewise.
7716 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7717 Likewise.
7718 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7719 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7720 Likewise.
7721 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7722 Likewise.
7723 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7724 Likewise.
7725 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7726 Likewise.
7727 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7728 Likewise.
7729 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7730 Likewise.
7731 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7732 (GLIBC_2.29): Likewise.
7733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7734 (GLIBC_2.29): Likewise.
7735 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7736 (GLIBC_2.29): Likewise.
7737 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7738 (GLIBC_2.29): Likewise.
7739 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7740 Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7742 (GLIBC_2.29): Likewise.
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7744 (GLIBC_2.29): Likewise.
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7746 (GLIBC_2.29): Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7748 (GLIBC_2.29): Likewise.
7749 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7750 Likewise.
7751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7752 Likewise.
7753 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7754 Likewise.
7755 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7756 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7757 Likewise.
7758 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7759 Likewise.
7760 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7761 Likewise.
7762 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7763 Likewise.
7764
c37cd439
JM
77652018-12-06 Joseph Myers <joseph@codesourcery.com>
7766
7767 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7768 trailing whitespace removed.
7769 * scripts/config.guess: Update to version 2018-11-28.
7770 * scripts/config.sub: Update to version 2018-11-28.
7771 * scripts/install-sh: Update to version 2018-03-11.20.
7772 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7773 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7774
899478c2
FW
77752018-12-07 Florian Weimer <fweimer@redhat.com>
7776
7777 [BZ #23927]
7778 CVE-2018-19591
7779 * inet/tst-if_index-long.c: New file.
7780 * inet/Makefile (tests): Add tst-if_index-long.
7781
f255336a
FW
77822018-12-07 Florian Weimer <fweimer@redhat.com>
7783
7784 * support/check.h (support_record_failure_is_failed): Declare.
7785 * support/descriptors.h: New file.
7786 * support/support_descriptors.c: Likewise.
7787 * support/tst-support_descriptors.c: Likewise.
7788 * support/support_record_failure.c
7789 (support_record_failure_is_failed): New function.
7790 * support/Makefile (libsupport-routines): Add support_descriptors.
7791 (tests): Add tst-support_descriptors.
7792
35caceb1
ZW
77932018-12-05 Zack Weinberg <zackw@panix.com>
7794 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7795
7796 * stdio-common/vfprintf-internal.c
7797 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7798 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7800 and __no_long_double.
7801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7802 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7803 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7804 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7805 and __nldbl_*syslog* functions.
7806 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7807 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7808 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7809 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7810 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7811 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7812 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7813 (__nldbl_vwprintf, __nldbl_wprintf):
7814 Directly call the appropriate __v*printf_internal routine, passing
7815 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7816 variable names.
7817 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7818 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7819 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7820 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7821 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7822 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7823 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7824 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7825 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7826 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7827 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7828 (__nldbl_syslog, __nldbl_vsyslog):
7829 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7830 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7831 appropriate.
7832 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7833 appropriate.
7834
4e2f43f8
ZW
78352018-12-05 Zack Weinberg <zackw@panix.com>
7836 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7837
7838 [BZ #11319]
7839 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7840 Moved here from debug/vsprintf_chk.c.
7841 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7842 and completion logic for the strfile to match exactly what
7843 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7844 _IO_str_init_static_internal instead of maxlen-1.
7845 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7846 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7847 __vsprintf_internal.
7848
7849 * debug/vsprintf_chk.c (__vsprintf_chk)
7850 * debug/sprintf_chk.c (__sprintf_chk):
7851 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7852 'flags' argument is positive, and slen as maxlen. No need to lock
7853 the FILE and/or construct a temporary FILE. Minimize and normalize
7854 header inclusions and variable names. Do not libc_hidden_def anything.
7855
7856 * debug/asprintf_chk.c (__asprintf_chk)
7857 * debug/dprintf_chk.c (__dprintf_chk)
7858 * debug/fprintf_chk.c (__fprintf_chk)
7859 * debug/fwprintf_chk.c (__fwprintf_chk)
7860 * debug/printf_chk.c (__printf_chk)
7861 * debug/snprintf_chk.c (__snprintf_chk)
7862 * debug/swprintf_chk.c (__swprintf_chk)
7863 * debug/vasprintf_chk.c (__vasprintf_chk)
7864 * debug/vdprintf_chk.c (__vdprintf_chk)
7865 * debug/vfprintf_chk.c (__vfprintf_chk)
7866 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7867 * debug/vprintf_chk.c (__vprintf_chk)
7868 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7869 * debug/vswprintf_chk.c (__vswprintf_chk)
7870 * debug/vwprintf_chk.c (__vwprintf_chk)
7871 * debug/wprintf_chk.c (__wprintf_chk):
7872 Directly call the corresponding vxxprintf_internal function, passing
7873 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7874 the FILE and/or construct a temporary FILE. Minimize and normalize
7875 header inclusions and variable names. Do not libc_hidden_def anything.
7876
7877 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7878 __obstack_vprintf_internal.
7879 (__obstack_vprintf_chk): Convert into a wrapper that calls
7880 __obstack_vprintf_internal (these two functions already had the
7881 same code) and move to new file...
7882 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7883 file.
7884 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7885 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7886 * debug/Makefile (routines): Add vobprintf_chk.
7887
7888 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7889 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7890 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7891 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7892 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7893 (__nldbl___obstack_vfprintf_chk):
7894 Directly call the corresponding vxxprintf_internal function,
7895 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7896 duplicate comparison of slen with 0 or maxlen from the corresponding
7897 non-__nldbl function.
7898
7899 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7900 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7901 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7902 Remove libc_hidden_proto.
7903
7904 * stdio-common/vfprintf-internal.c
7905 (__vfprintf_internal, __vfwprintf_internal):
7906 Do not check _IO_FLAGS2_FORTIFY.
7907 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7908 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7909 a comment explaining why it has the maxlen argument.
7910 (_IO_acquire_lock_clear_flags2_fct): Remove.
7911 (_IO_acquire_lock_clear_flags2): Remove.
7912 (_IO_release_lock): Remove conditional statement which will
7913 now never execute.
7914 (_IO_acquire_lock): Remove variable which is now unused.
7915 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7916 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7917
7918 * stdio-common/Makefile (tests): Add tst-bz11319 and
7919 tst-bz11319-fortify2.
7920 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7921 * stdio-common/tst-bz11319-fortify2.c: New file.
7922 * stdio-common/tst-bz11319.c: Likewise.
7923
124fc732
ZW
79242018-12-05 Zack Weinberg <zackw@panix.com>
7925 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7926
7927 * misc/syslog.c: Include libioP.h, not iolibio.h.
7928 (__vsyslog_internal): New function with the former body of
7929 __vsyslog_chk; takes mode_flags argument same as
7930 __v*printf_internal. Call __vfprintf_internal directly.
7931
7932 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7933 Remove libc_hidden_def.
7934 (__syslog, __syslog_chk): Use __vsyslog_internal.
7935 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7936
7937 * include/sys/syslog.h: Add multiple inclusion guard.
7938 Add prototype for __vsyslog_internal.
7939 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7940
7941 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7942 Use __vsyslog_internal.
7943
698fb75b
ZW
79442018-12-05 Zack Weinberg <zackw@panix.com>
7945 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7946
7947 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7948 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7949 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7950 New functions.
7951 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7952 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7953
7954 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7955 Include wctype.h here if COMPILE_WPRINTF is defined.
7956 Define __vfprintf_internal or __vfwprintf_internal, depending
7957 on COMPILE_WPRINTF.
7958 Temporarily, on entry to this function, update mode_flags
7959 according to the environmental settings corresponding to
7960 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7961 Throughout, check mode_flags instead of __ldbl_is_dbl and
7962 _IO_FLAGS2_FORTIFY on the destination FILE.
7963 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7964 Include vfprintf-internal.c. Don't include wctype.h.
7965 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7966 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7967 and vfprintf.
7968 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7969 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7970 and vfwprintf.
7971 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7972
7973 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7974 and add mode_flags argument; use __vfprintf_internal.
7975 (__vdprintf): New function. Alias vdprintf to this.
7976 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7977 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7978 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7979 (__obstack_printf): Use __obstack_printf_internal.
7980 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7981 public aliases __vsnprintf and vsnprintf.
7982 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7983 called internally.
7984 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7985 public aliases _IO_vsprintf and vsprintf.
7986 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7987 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7988 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7989 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7990 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7991
7992 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7993 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7994 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7995 * stdio-common/printf.c: Use __vfprintf_internal.
7996
7997 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7998 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7999 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8000
8001 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8002 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8003 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8004 __vfwprintf_internal.
8005
8006 * libio/libio.h: Remove libc_hidden_proto and declaration for
8007 _IO_vfprintf.
8008 Remove declaration of _IO_vfwprintf.
8009 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8010 _IO_vsprintf.
8011 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8012 _IO_obstack_printf.
8013 * include/stdio.h: Add prototype for __vasprintf.
8014 (__vsnprintf): Remove declaration, because there are no more
8015 internal calls.
8016 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8017 declaration, because there are no more internal calls.
8018
8019 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8020 __vsnprintf_internal, instead of _IO_vsnprintf.
8021 * argp/argp-help.c (__argp_error, __argp_failure): Use
8022 __vasprintf_internal, instead of _IO_vasprintf.
8023 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8024 redefine, because there are no more internal calls.
8025
d91798b3
ZW
80262018-12-05 Zack Weinberg <zackw@panix.com>
8027 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8028
8029 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8030 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8031 Include libio/strfile.h instead of libioP.h.
8032 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8033 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8034 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8035 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8036 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8037 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8038 necessary. Do not set __no_long_double. Normalize variable names.
8039 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8040 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8041 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8042 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8043 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8044 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8045 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8046 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8047 Do not set __no_long_double. Normalize variable names.
8048
b87eb3f8
ZW
80492018-12-05 Zack Weinberg <zackw@panix.com>
8050 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8051
8052 * stdio-common/isoc99_scanf.c
8053 * stdio-common/isoc99_fscanf.c
8054 * stdio-common/isoc99_sscanf.c
8055 * stdio-common/isoc99_vscanf.c
8056 * stdio-common/isoc99_vfscanf.c
8057 * stdio-common/isoc99_vsscanf.c
8058 * wcsmbs/isoc99_wscanf.c
8059 * wcsmbs/isoc99_fwscanf.c
8060 * wcsmbs/isoc99_swscanf.c
8061 * wcsmbs/isoc99_vwscanf.c
8062 * wcsmbs/isoc99_vfwscanf.c
8063 * wcsmbs/isoc99_vswscanf.c:
8064 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8065 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8066 No need to lock and unlock the FILE passed to that function.
8067
8068 * stdio-common/vfscanf-internal.c
8069 (__vfscanf_internal, __vfwscanf_internal):
8070 Don't look at _IO_FLAGS2_SCANF_STD.
8071 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8072 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8073 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8074
349718d4
ZW
80752018-12-05 Zack Weinberg <zackw@panix.com>
8076 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8077
8078 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8079 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8080 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8081 * libio/strfile.h: Add multiple inclusion guard.
8082 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8083
8084 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8085 consistency with the other version of this file.
8086 (ldbl_compat_symbol): New macro.
8087 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8088 New macro.
8089
8090 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8091 Define __vfscanf_internal or __vfwscanf_internal, depending on
8092 COMPILE_WSCANF; don't define any other public symbols.
8093 Remove errval and code to set errp.
8094 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8095 as the mode_flags argument.
8096 (encode_error, conv_error, input_error): Don't set errval.
8097 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8098 Include vfscanf-internal.c.
8099 * stdio-common/vfscanf.c: New file defining the public entry
8100 point vfscanf, which calls __vfscanf_internal.
8101 * stdio-common/vfwscanf.c: New file defining the public entry
8102 point vfwscanf, which calls __vfwscanf_internal.
8103
8104 * stdio-common/iovfscanf.c: New file.
8105 * stdio-common/iovfwscanf.c: Likewise.
8106
8107 * stdio-common/Makefile (routines): Add vfscanf-internal,
8108 vfwscanf-internal, iovfscanf, iovfwscanf.
8109 * stdio-common/Versions: Mention GLIBC_2.29, so that
8110 it can be used in SHLIB_COMPAT expressions.
8111 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8112 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8113 Call __vfscanf_internal, instead of _IO_vfscanf.
8114 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8115 _IO_vfscanf.
8116 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8117 _IO_vfwscanf.
8118
8119 * libio/iovsscanf.c: Clean up includes, when possible. Use
8120 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8121 __vfscanf_internal or __vfwscanf_internal directly.
8122 * libio/iovswscanf.c: Likewise.
8123 * libio/swscanf.c: Likewise.
8124 * libio/vscanf.c: Likewise.
8125 * libio/vwscanf.c: Likewise.
8126 * libio/wscanf.c: Likewise.
8127 * stdio-common/isoc99_fscanf.c: Likewise.
8128 * stdio-common/isoc99_scanf.c: Likewise.
8129 * stdio-common/isoc99_sscanf.c: Likewise.
8130 * stdio-common/isoc99_vfscanf.c: Likewise.
8131 * stdio-common/isoc99_vscanf.c: Likewise.
8132 * stdio-common/isoc99_vsscanf.c: Likewise.
8133 * stdio-common/scanf.c: Likewise.
8134 * stdio-common/sscanf.c: Likewise.
8135 * wcsmbs/isoc99_fwscanf.c: Likewise.
8136 * wcsmbs/isoc99_swscanf.c: Likewise.
8137 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8138 * wcsmbs/isoc99_vswscanf.c: Likewise.
8139 * wcsmbs/isoc99_vwscanf.c: Likewise.
8140 * wcsmbs/isoc99_wscanf.c: Likewise.
8141
6b5c8607 81422018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
8143
8144 * include/time.h
8145 (__tz_compute): Replace time_t with __time64_t.
8146 (__tz_convert): Replace time_t* with __time64_t.
8147 (__offtime): Replace time_t* with __time64_t.
8148 * time/gmtime.c
8149 (__gmtime_r): Adjust call to __tz_convert.
8150 (gmtime): Likewise.
8151 * time/localtime.c
8152 (__localtime_r): Likewise.
8153 (localtime): Likewise.
8154 * time/offtime.c: Replace time_t with __time64_t.
8155 * time/tzset.c: Likewise.
8156
bd598da9
JM
81572018-12-04 Joseph Myers <joseph@codesourcery.com>
8158
8159 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8160 dynamic linker unless [$(run-built-tests) = yes].
8161
b2e93de0
DD
81622018-12-03 DJ Delorie <dj@delorie.com>
8163
8164 * support/test-container.c (check_for_unshare_hints): New.
8165 (main): Call it if unshare fails. Add support for "su" scriptlet
8166 command.
8167
477a02f6
JM
81682018-12-03 Joseph Myers <joseph@codesourcery.com>
8169
8170 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8171 'START' to indicate that start text should be output.
8172 (gen_test): Likewise.
8173 (main): Generate 'START' for first symbol or '--' line, or at end
8174 of input if not previously generated.
8175
6af956e5
RÁE
81762018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8177
8178 [BZ #19767]
8179 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8180 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8181 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8182 ALWAYS_USE_VSYSCALL.
8183
f5ec0ea9
AZ
81842018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8185
8186 [BZ #23913]
8187 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8188 new_argv by one.
8189
8cebd4ff
CD
81902018-12-03 Carlos O'Donell <carlos@redhat.com>
8191
8192 [BZ #23923]
8193 * locale/programs/localedef.c: Declare boolean hard_links default true.
8194 (options): Add --no-hard-links option.
8195 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8196 * locale/programs/localedef.h: Declare prototype for hard_links.
8197 * locale/programs/locfile.c (write_locale_data): Don't use hard
8198 links if hard_links is false.
8199
c22e4c2a
L
82002018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8203 cpu_features_basic.
8204 (__cache_sysconf): Likewise.
8205 (init_cacheinfo): Likewise.
8206 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8207 populate COMMON_CPUID_INDEX_80000007 and
8208 COMMON_CPUID_INDEX_80000008.
8209 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8210 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8211 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8212 (init_cpu_features): Use _Static_assert on
8213 index_arch_Fast_Unaligned_Load.
8214 __get_cpuid_registers and __get_arch_feature. Updated for
8215 cpu_features_basic. Set stepping in cpu_features.
8216 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8217 (FEATURE_INDEX_2): New.
8218 (FEATURE_INDEX_MAX): Changed to enum.
8219 (COMMON_CPUID_INDEX_D_ECX_1): New.
8220 (COMMON_CPUID_INDEX_80000007): Likewise.
8221 (COMMON_CPUID_INDEX_80000008): Likewise.
8222 (cpuid_registers): Likewise.
8223 (cpu_features_basic): Likewise.
8224 (CPU_FEATURE_USABLE): Likewise.
8225 (bit_arch_XXX_Usable): Likewise.
8226 (cpu_features): Use cpuid_registers and cpu_features_basic.
8227 (bit_arch_XXX): Reweritten.
8228 (bit_cpu_XXX): Likewise.
8229 (index_cpu_XXX): Likewise.
8230 (reg_XXX): Likewise.
8231 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8232 <support/check.h>.
8233 (CHECK_CPU_FEATURE): New.
8234 (CHECK_CPU_FEATURE_USABLE): Likewise.
8235 (cpu_kinds): Likewise.
8236 (do_test): Print vendor, family, model and stepping. Check
8237 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8238 (TEST_FUNCTION): Removed.
8239 Include <support/test-driver.c> instead of
8240 "../../test-skeleton.c".
8241 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8242 Check POPCNT instead of POPCOUNT.
8243 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8244
7b36d26b
ST
82452018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8246
8247 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8248 there is no element in `consts'.
8249
02cd5c1a
FW
82502018-12-01 Florian Weimer <fweimer@redhat.com>
8251
8252 * support/support_capture_subprocess.c
8253 (support_capture_subprocess): Check that pipe descriptors have
8254 expected values. Close original pipe descriptors in subprocess.
8255
fc493bc9
ST
82562018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8257
8258 [BZ #23032]
8259 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8260 attr with __pthread_default_barrierattr.
8261 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8262 attr with __pthread_default_condattr.
8263 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8264 attr with __pthread_default_mutexattr.
8265 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8266 attr with __pthread_default_rwlockattr.
8267
6310e6be
KW
82682018-12-01 Kemi Wang <kemi.wang@intel.com>
8269
8270 * manual/tunables.texi (POSIX Thread Tunables): New node.
8271 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8272 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8273 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8274 __pthread_tunables_init.
8275 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8276 (max_adaptive_count): Define.
8277 * nptl/pthread_mutex_conf.c: New file.
8278 * nptl/pthread_mutex_conf.h: New file.
8279 * sysdeps/generic/adaptive_spin_count.h: New file.
8280 * sysdeps/nptl/dl-tunables.list: New file.
8281 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8282 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8283 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8284 Likewise.
8285
8e67b39e
PP
82862018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8287
8288 [BZ #20544]
8289 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8290 * stdlib/on_exit.c (__on_exit): Likewise.
8291 * stdlib/Makefile (tests): Add tst-bz20544.
8292 * stdlib/tst-bz20544.c: New test.
8293
15b8d67e
RÁE
82942018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8295
8296 [BZ #19767]
8297 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8298 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8299 New.
8300
5e63c240
FW
83012018-11-30 Florian Weimer <fweimer@redhat.com>
8302
8303 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8304 Extend error logging.
8305 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8306 symbol.
8307
71058602 83082018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 8309
5fb7fc96
AZ
8310 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8311 __sigismember instead of sigismember.
8312 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8313 cancel_handler): New definitions.
8314 (do_system): Use posix_spawn instead of fork and execl and remove
8315 reentracy code.
8316 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8317 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8318 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8319 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8320 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8321 * sysdeps/unix/sysv/linux/system.c: Likewise.
8322
14d0e87d
AZ
8323 [BZ #22834]
8324 [BZ #17490]
8325 * NEWS: Add new semantic for atfork with popen and system.
8326 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8327 fork and execl.
8328
e5d262ef
TMQMF
83292018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8330
8331 [BZ #23690]
8332 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8333 modification order when accessing reloc_result->addr.
8334 * include/link.h (reloc_result): Add field init.
8335 * nptl/Makefile (tests): Add tst-audit-threads.
8336 (modules-names): Add tst-audit-threads-mod1 and
8337 tst-audit-threads-mod2.
8338 Add rules to build tst-audit-threads.
8339 * nptl/tst-audit-threads-mod1.c: New file.
8340 * nptl/tst-audit-threads-mod2.c: Likewise.
8341 * nptl/tst-audit-threads.c: Likewise.
8342 * nptl/tst-audit-threads.h: Likewise.
8343
7e1d4240
JM
83442018-11-30 Joseph Myers <joseph@codesourcery.com>
8345
8346 * scripts/gen-as-const.py: New file.
8347 * scripts/gen-as-const.awk: Remove.
8348 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8349 gen-as-const.py.
8350 ($(objpfx)test-as-const-%.c): Likewise.
8351
ce7387cc
L
83522018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8353
8354 * elf/dl-exception.c: Include <_itoa.h>.
8355
c6a5bdc1
ST
83562018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8357
8358 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8359 returned by __f_setlk.
8360
a5275ba5
L
83612018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8362 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8363
8364 * elf/Makefile (tests-internal): Add tst-create_format1.
8365 * elf/dl-exception.c (_dl_exception_create_format): Support
8366 %x, %lx and %zx.
8367 * elf/tst-create_format1.c: New file.
8368
3a67e81d
CAC
83692018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8370
8371 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8372 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8373 gnulib.)
8374 * argp/argp-help.c (__argp_failure): Likewise.
8375
4975f0c3
MH
83762018-11-29 Mao Han <han_mao@c-sky.com>
8377
8378 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8379 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8380 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8381 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8382 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8383 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8384 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8385 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8386 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8387 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8388 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8389 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8390 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8391 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8392 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8393 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8394 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8395 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8396 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8397 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8398 (R_CKCORE_TLS_TPOFF32): New defines.
8399
250102c8
FW
84002018-11-29 Florian Weimer <fweimer@redhat.com>
8401
8402 * posix/Makefile (before-compile): Remove testcases.h and
8403 ptestcases.h.
8404 (generated): Add testcases.h and ptestcases.h.
8405 (testcases.h, ptestcases.h): Move to $(objpfx).
8406 (runtests.o): Add dependency on testcases.h.
8407 (runptests.o): Add dependency on ptestcases.h.
8408 * posix/testcases.h, posix/ptestcases.h: Remove files.
8409 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8410 not touch posix/testcases.h and posix/ptestcases.h.
8411
96cd0558
FW
84122018-11-28 Florian Weimer <fweimer@redhat.com>
8413
8414 support: Add signal support to support_capture_subprocess_check.
8415 * support/capture_subprocess.h (support_capture_subprocess_check):
8416 Adjust comment and rename parameter.
8417 * support/support_capture_subprocess_check.c
8418 (print_actual_status): New function.
8419 (support_capture_subprocess_check): Support negative
8420 status_or_signal. Call print_actual_status.
8421 * support/tst-support_capture_subprocess.c (do_test): Call
8422 support_capture_subprocess_check.
8423 * libio/tst-vtables-common.c (termination_status)
8424 (init_termination_status): Remove.
8425 (check_for_termination): Adjust support_capture_subprocess_check
8426 call.
8427 (do_test): Remove call to init_termination_status.
8428
530504e3
JM
84292018-11-28 Joseph Myers <joseph@codesourcery.com>
8430
8431 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8432 source directory instead of a copy.
8433 (CommandList.create_copy_dir): Remove.
8434
9a0b6970
SL
84352018-11-28 Stefan Liebler <stli@linux.ibm.com>
8436
8437 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8438
47d8d9a2
FW
84392018-11-28 Florian Weimer <fweimer@redhat.com>
8440
8441 * support/support.h (support_quote_string): Do not use str
8442 parameter name.
8443
b473b7d8
JM
84442018-11-27 Joseph Myers <joseph@codesourcery.com>
8445
8446 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8447 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8448
c74a91de
FW
84492018-11-27 Florian Weimer <fweimer@redhat.com>
8450
8451 * support/support.h (support_quote_string): Declare.
8452 * support/support_quote_string.c: New file.
8453 * support/tst-support_quote_string.c: Likewise.
8454 * support/Makefile (libsupport-routines): Add
8455 support_quote_string.
8456 (tests): Add tst-support_quote_string.
8457
d527c860
FW
84582018-11-27 Florian Weimer <fweimer@redhat.com>
8459
8460 [BZ #23927]
8461 CVE-2018-19591
8462 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8463 descriptor leak in case of ENODEV error.
8464
979cfed0
RÁE
84652018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8466
8467 [BZ #19767]
8468 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8469 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8470 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8471
ce035c6e
CD
84722018-11-26 Carlos O'Donell <carlos@redhat.com>
8473
8474 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8475 Error for unknown lines.
8476
2bd0bfcc
JM
84772018-11-26 Joseph Myers <joseph@codesourcery.com>
8478
8479 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8480 Touch additional files.
8481
affec03b
FW
84822018-11-26 Florian Weimer <fweimer@redhat.com>
8483
8484 [BZ #23907]
8485 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8486 double-frees.
8487
8ae74ead
RÁE
84882018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8489
8490 [BZ #19767]
8491 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8492 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8493 SHARED. Include sysdep.h.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8495 ALWAYS_USE_VSYSCALL.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8497 ALWAYS_USE_VSYSCALL.
8498
1e8bdc3a
RÁE
84992018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8500
8501 [BZ #19767]
8502 * nptl/Makefile (tests-static): Add tst-cond11-static.
8503 (tests): Likewise.
8504 * nptl/tst-cond11-static.c: New File.
8505 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8506 tst-affinity-static.
8507 (tests): Likewise.
8508 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8509 instead of SHARED.
8510 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8511 (USE_VSYSCALL): Likewise.
8512 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8513 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8514 instead of SHARED.
8515 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8516 SHARED.
8517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8518 New.
8519
1283c478
JM
85202018-11-23 Joseph Myers <joseph@codesourcery.com>
8521
8522 [BZ #23915]
8523 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8524 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8525 Undefine.
8526
c089fd80
L
85272018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8528
8529 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8530 (tst-cet-legacy-1a-ARGS): New.
8531 ($(objpfx)tst-cet-legacy-1a): New target.
8532 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8533
cc6c89fa
JM
85342018-11-22 Joseph Myers <joseph@codesourcery.com>
8535
95edd05c
JM
8536 * conform/conformtest.py (CompileSubTest.__init__): Set
8537 self.run_early to False.
8538 (ExecuteSubTest.__init__): Likewise.
8539 (HeaderTests.run): Try running all non-optional, non-XFAILed
8540 compilation tests in a single execution of the compiler.
8541
cc6c89fa
JM
8542 * conform/conformtest.py (CompileSubTest): New class.
8543 (ExecuteSubTest): Likewise.
8544 (ElementTest.run): Rename to gen_subtests. Append tests to
8545 self.subtests instead of running them.
8546 (ConstantTest.run): Likewise.
8547 (SymbolTest.run): Likewise.
8548 (TypeTest.run): Likewise.
8549 (TagTest.run): Likewise.
8550 (FunctionTest.run): Likewise.
8551 (VariableTest.run): Likewise.
8552 (MacroFunctionTest.run): Likewise.
8553 (MacroStrTest.run): Likewise.
8554 (HeaderTests.handle_test_line): Generate subtests for tests.
8555 (HeaderTests.run): Run subtests for tests.
8556
a502c529
SN
85572018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8558
8559 * math/Versions (GLIBC_2.29): Add pow.
8560 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8561 symbol.
8562 * math/w_pow.c: New file.
8563 * sysdeps/i386/fpu/w_pow.c: New file.
8564 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8566 and add necessary aliases.
8567 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8568 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8569 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8570 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8571 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8572 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8573 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8574 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8575 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8576 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8577 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8578 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8579 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8580 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8581 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8586 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8587 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8588 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8589 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8590 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8591 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8592 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8593 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8594 __pow.
8595 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8596 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8597 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8598
718d6542
SN
85992018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8600
8601 * math/Versions (GLIBC_2.29): Add log2.
8602 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8603 symbol.
8604 * math/w_log2.c: New file.
8605 * sysdeps/i386/fpu/w_log2.c: New file.
8606 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8607 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8608 and add necessary aliases.
8609 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8610 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8611 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8612 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8613 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8614 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8615 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8616 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8617 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8618 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8619 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8620 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8621 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8622 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8623 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8628 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8629 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8630 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8631 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8632 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8633 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8634 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8635
f29b7c49
SN
86362018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8637
8638 * math/Versions (GLIBC_2.29): Add log.
8639 * math/w_log_compat.c (__log_compat): Change to versioned compat
8640 symbol.
8641 * math/w_log.c: New file.
8642 * sysdeps/i386/fpu/w_log.c: New file.
8643 * sysdeps/ia64/fpu/e_log.S: Update.
8644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8645 and add necessary aliases.
8646 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8647 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8648 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8649 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8650 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8651 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8652 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8653 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8654 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8655 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8656 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8657 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8658 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8659 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8660 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8665 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8666 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8667 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8668 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8669 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8670 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8671 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8672 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8673 __log.
8674 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8675 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8676 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8677 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8678
c20a1056
SN
86792018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8680
8681 * math/Versions (GLIBC_2.29): Add exp and exp2.
8682 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8683 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8684 * math/w_exp_compat.c (__exp_compat): Likewise.
8685 * math/w_exp.c: New file.
8686 * math/w_exp2.c: New file.
8687 * sysdeps/i386/fpu/w_exp.c: New file.
8688 * sysdeps/i386/fpu/w_exp2.c: New file.
8689 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8690 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8691 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8692 and add necessary aliases.
8693 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8694 and add necessary aliases.
8695 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8696 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8697 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8698 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8699 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8700 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8701 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8702 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8703 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8704 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8705 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8706 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8707 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8708 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8709 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8710 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8711 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8717 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8718 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8720 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8721 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8722 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8723 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8724 (__ieee754_exp): Rename to __exp.
8725 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8726 (__ieee754_exp): Rename to __exp.
8727 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8728 (__ieee754_exp): Rename to __exp.
8729 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8730 __exp.
8731 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8732
bcdaad21
DD
87332018-11-20 DJ Delorie <dj@redhat.com>
8734
8735 * malloc/malloc.c (tcache_entry): Add key field.
8736 (tcache_put): Set it.
8737 (tcache_get): Likewise.
8738 (_int_free): Check for double free in tcache.
8739 * malloc/tst-tcfree1.c: New.
8740 * malloc/tst-tcfree2.c: New.
8741 * malloc/Makefile: Run the new tests.
8742 * manual/probes.texi: Document memory_tcache_double_free probe.
8743
8744 * dlfcn/dlerror.c (check_free): Prevent double frees.
8745
5770c0ad
WD
87462018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8747
8748 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8749
9a62a939
JM
87502018-11-20 Joseph Myers <joseph@codesourcery.com>
8751
8752 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8753 in tests. Use names for format arguments.
8754 (ConstantTest.run): Likewise.
8755 (SymbolTest.run): Likewise.
8756 (TypeTest.run): Likewise.
8757 (TagTest.run): Likewise.
8758 (FunctionTest.run): Likewise.
8759 (VariableTest.run): Likewise.
8760 (MacroFunctionTest.run): Likewise.
8761 (MacroStrTest.run): Likewise.
8762 (HeaderTests.__init__): Set self.num_tests.
8763 (HeaderTests.handle_test_line): Set test.num. Increment
8764 self.num_tests.
8765
b15b1a95
ST
87662018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8767
8768 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8769 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8770 SEEK_SET.
8771
0c7f97ae
MH
87722018-11-19 Mao Han <han_mao@c-sky.com>
8773
8774 * scripts/config.guess: Update to version 2018-08-29.
8775 * scripts/config.sub: Update to version 2018-08-29.
8776
35e3fbc4
FW
87772018-11-19 Florian Weimer <fweimer@redhat.com>
8778
8779 support: Print timestamps in timeout handler.
8780 * support/support_test_main.c (print_timestamp): New function.
8781 (signal_handler): Use it to print the termination time and the
8782 time of the last write to standard output.
8783
c75772e3
ZW
87842018-11-16 Zack Weinberg <zackw@panix.com>
8785 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8786
8787 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8788 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8789 argument.
8790 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8791 and add flags argument. Check flags instead of __ldbl_is_dbl when
8792 deciding whether to set is_long_double.
8793 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8794 passing zero for flags argument.
8795 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8796
8797 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8798 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8799 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8800 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8801 variable names. Remove libc_hidden_def/libc_hidden_proto from
8802 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8803 longer called from within the library.
8804 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8805 for __nldbl___vstrfmon_l, declare it explicitly.
8806
8807 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8808
346ef23f
ST
88092018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8810
8811 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8812 macros
8813 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8814 F_SETLK64, F_SETLKW64, respectively.
8815 * sysdeps/mach/hurd/f_setlk.c: New file.
8816 * sysdeps/mach/hurd/f_setlk.h: New file.
8817 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8818 f_setlk.
8819 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8820 (__libc_fcntl): Move non-flock operations to...
8821 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8822 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8823
de20b81a
PE
88242018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8825
5d8af156
PE
8826 mktime: DEBUG_MKTIME cleanup
8827 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8828 And it’s no longer needed now that glibc and Gnulib both have
8829 their own testing mechanisms for mktime.
8830 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8831
86aece3b
PE
8832 mktime: fix non-EOVERFLOW errno handling
8833 [BZ#23789]
8834 mktime was not properly reporting failures when the underlying
8835 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8836 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8837 The problem could happen on non-glibc platforms, with Gnulib.
8838 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8839 (tm_diff): ... this simpler function, which does not change errno.
8840 All callers changed to deal with errno themselves.
8841 (ranged_convert, __mktime_internal): Return failure immediately if
8842 the underlying function reports any failure other than EOVERFLOW.
8843 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8844 gap code fails.
8845
f6b3331b
PE
8846 mktime: fix bug with Y2038 DST transition
8847 [BZ#23789]
8848 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8849 mishandle a DST transition that jumps over the Y2038 boundary.
8850 No such DST transitions are known so this is only a theoretical
8851 bug, but we might as well do things right.
8852
efbdddc3
PE
8853 mktime: make more room for overflow
8854 [BZ#23789]
8855 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8856 This is so that we can add tm_diff results to a previous guess,
8857 which will be useful in a later patch.
8858
6c90d759
PE
8859 mktime: simplify offset guess
8860 [BZ#23789]
8861 * time/mktime.c (__mktime_internal): Omit excess precision.
8862
32c12f3f
PE
8863 mktime: new test for mktime failure
8864 [BZ#23789]
8865 Based on a test suggested by Albert Aribaud in:
8866 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8867 * time/Makefile (tests): Add bug-mktime4.
8868 * time/bug-mktime4.c: New file.
8869
de20b81a
PE
8870 mktime: fix EOVERFLOW bug
8871 [BZ#23789]
8872 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8873 Include libc-config.h, not config.h, for __set_errno.
8874 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8875
8c6c3fb0
ST
88762018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8877
8878 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8879 __attribute_copy__ to copy attributes from name. Drop static qualifier
8880 to avoid warnings about leaf attribute not having effect on static
8881 functions.
8882
6923f6db
FW
88832018-11-13 Florian Weimer <fweimer@redhat.com>
8884
8885 * malloc/malloc.c (fastbin_push_entry): New function.
8886 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8887 (REMOVE_FB): Remove macro.
8888 (_int_malloc): Use fastbin_pop_entry and reindent.
8889 (_int_free): Use fastbin_push_entry.
8890 (malloc_consolidate): Use atomic_exchange_acquire.
8891
53f5c659
JM
88922018-11-13 Joseph Myers <joseph@codesourcery.com>
8893
0c096dcf
JM
8894 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8895 alias attribute, not with strong_alias.
8896
9c4b457e
JM
8897 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8898 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8899 with additional parameter thread.
8900 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8901 in terms of __hidden_ver2.
8902 (hidden_tls_def): New macro.
8903 (libc_hidden_tls_def): Likewise.
8904 (rtld_hidden_tls_def): Likewise.
8905 (libm_hidden_tls_def): Likewise.
8906 (libmvec_hidden_tls_def): Likewise.
8907 (libresolv_hidden_tls_def): Likewise.
8908 (librt_hidden_tls_def): Likewise.
8909 (libdl_hidden_tls_def): Likewise.
8910 (libnss_files_hidden_tls_def): Likewise.
8911 (libnsl_hidden_tls_def): Likewise.
8912 (libnss_nisplus_hidden_tls_def): Likewise.
8913 (libutil_hidden_tls_def): Likewise.
8914 (libutil_hidden_tls_def): Likweise.
8915 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8916 libc_hidden_tls_def.
8917 (__sim_disabled_exceptions_thread): Likewise.
8918 (__sim_round_mode_thread): Likewise.
8919
53f5c659
JM
8920 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8921 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8922 copy attributes from name.
8923
092dfde6
JM
89242018-11-12 Joseph Myers <joseph@codesourcery.com>
8925
f578f97b
JM
8926 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8927 Use __attribute_copy__ to copy attributes from name.
8928
9a7c643a
JM
8929 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8930 with __hidden_ver1 call.
8931 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8932 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8933 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8934 (__cosf): Do not declare here.
8935 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8936 (__sincosf): Do not declare here.
8937 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8938 (__sinf): Do not declare here.
8939
092dfde6
JM
8940 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8941 (__BIG_ENDIAN): Likewise.
8942 (__BYTE_ORDER): Likewise.
8943 (strong_alias): Likewise.
8944 (_strong_alias): Likewise.
8945
1ecba1fa
FW
89462018-11-12 Florian Weimer <fweimer@redhat.com>
8947
8948 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8949 function. Move after the definition of in_smallbin_range. Do not
8950 use __builtin_expect for paths that lead to a noreturn function.
8951 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8952 because it is unclear whether this is in fact an unlikely
8953 condition.
8954 (_int_malloc, _int_free): Adjust.
8955 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8956 variables.
8957 * malloc/arena.c (heap_trim): Likewise.
8958
434c34bd
ST
89592018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8960
8961 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8962 it, free it if needed.
8963 (reauthenticate): Test and use ccwdir.
8964 (child_init_port): In non-resetids case, test and use ccwdir.
8965 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
8966 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8967 * hurd/hurd/port.h (_hurd_port_move): New function.
8968 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8969 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
8970 * hurd/Versions (_hurd_port_move): Export function.
8971 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8972 symbol.
58bb655a
ST
8973 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8974 of dtablesize for allocating dtable_cloexec.
434c34bd 8975
1626a1cf
MS
89762018-11-09 Martin Sebor <msebor@redhat.com>
8977
8978 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8979 it's already defined.
8980 (_strong_alias): Use __attribute_copy__.
8981 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8982 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8983 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8984 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8985 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8986 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8987 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8988 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8989 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8990 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8991 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8992 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8993 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8994 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8995 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8996 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8997 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8998 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8999 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9000
968ed530
GG
90012018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9002
9003 * misc/tst-efgcvt.c: Include support/check.h and
9004 support/test-driver.c. Do not include test-skeleton.c.
9005 (error_count): Remove.
9006 (output_error): Replace increments to error_count with calls to
9007 support_record_failure.
9008 (output_r_error): Likewise.
9009 (special): Likewise.
9010 (do_test): Unconditionally return zero.
9011 (TEST_FUNCTION): Remove.
9012
c3ec0972
JM
90132018-11-09 Joseph Myers <joseph@codesourcery.com>
9014
91faaa93
JM
9015 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9016 not $(@D)/scratch.
9017 ($(linknamespace-header-tests)): Likewise.
9018
c3ec0972
JM
9019 * conform/conformtest.py: New file.
9020 * conform/conformtest.pl: Remove.
9021 * conform/GlibcConform.pm: Likewise.
9022 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9023 (KEYWORDS_C99): Likewise.
9024 (KEYWORDS): Likewise.
9025 * conform/Makefile ($(conformtest-header-tests)): Use
9026 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9027 option. Use --header instead of --headers.
9028 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9029 function entries.
9030 * conform/data/spawn.h-data: Likewise.
9031 * conform/data/fcntl.h-data (openat): Add space after function
9032 name.
9033 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9034 (wcscasecmp_l): Likewise.
9035 * conform/data/termios.h-data (c_cc): Add space after element
9036 name.
9037
43257c33
GG
90382018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9039
9040 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9041 instead of manually comparing and reporting mismatching strings.
9042 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9043 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9044
e5de3b5b
JM
90452018-11-08 Joseph Myers <joseph@codesourcery.com>
9046
9047 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9048 __ASSUME_SOCKETCALL.
9049 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9050 (__ASSUME_SOCKETCALL): Remove.
9051 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9052 (__ASSUME_SOCKETCALL): Likewise.
9053 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9054 (__ASSUME_SOCKETCALL): Likewise.
9055 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9056 (__ASSUME_SOCKETCALL): Likewise.
9057 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9058 (__ASSUME_SOCKETCALL): Likewise.
9059 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9060 (__ASSUME_SOCKETCALL): Likewise.
9061 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9062 (__ASSUME_SOCKETCALL): Likewise.
9063
d524fa6c
L
90642018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 [BZ #23509]
9067 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9068 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9069 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9070 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9071 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9072 lc_unknown.
9073
ac806026
AH
90742018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9075
9076 [BZ #17630]
9077 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9078
596cc360
JM
90792018-11-07 Joseph Myers <joseph@codesourcery.com>
9080
9081 [BZ #23867]
9082 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9083 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9084 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9085 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9086
00c86a37
AZ
90872018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9088
9089 * support/support_test_compare_string.c
9090 (support_test_compare_string): Fix printf format.
9091
1df872fd
FW
90922018-11-07 Florian Weimer <fweimer@redhat.com>
9093
9094 Implement TEST_COMPARE_STRING.
9095 * support/check.h (TEST_COMPARE_STRING): Define.
9096 (support_test_compare_string): Declare.
9097 * support/Makefile (libsupport-routines): Add
9098 support_test_compare_string.
9099 (tests): Add tst-test_compare_string.
9100 * support/support_test_compare_string.c: New file.
9101 * support/tst-test_compare_string.c: Likewise.
9102
295132ff
AS
91032018-11-07 Andreas Schwab <schwab@suse.de>
9104
9105 [BZ #23864]
9106 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9107 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9108 Undef.
9109
e143ceba
JM
91102018-11-06 Joseph Myers <joseph@codesourcery.com>
9111
9112 [BZ #23862]
9113 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9114 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9115 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9116 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9117 Likewise.
9118
4a938cb2
FW
91192018-11-06 Florian Weimer <fweimer@redhat.com>
9120
9121 [BZ #17405]
9122 * posix/Makefile (routines): Add spawn_faction_addchdir.
9123 (tests): Add tst-spawn-chdir.
9124 * posix/Versions (GLIBC_2.29): Add
9125 posix_spawn_file_actions_addchdir_np.
9126 * posix/spawn_faction_addchdir.c: New file.
9127 * posix/spawn_faction_destroy.c
9128 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9129 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9130 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9131 chdir_action.
9132 * posix/tst-spawn-chdir.c: New file.
9133 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9134 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9135 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9136 posix_spawn_file_actions_addchdir_np.
9137 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9138 Likewise.
9139 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9140 Likewise.
9141 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9142 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9143 Likewise.
9144 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9145 Likewise.
9146 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9147 Likewise.
9148 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9149 Likewise.
9150 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9151 Likewise.
9152 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9153 Likewise.
9154 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9155 (GLIBC_2.29): Likewise.
9156 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9157 (GLIBC_2.29): Likewise.
9158 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9159 (GLIBC_2.29): Likewise.
9160 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9161 (GLIBC_2.29): Likewise.
9162 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9163 Likewise.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9165 (GLIBC_2.29): Likewise.
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9167 (GLIBC_2.29): Likewise.
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9169 (GLIBC_2.29): Likewise.
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9171 (GLIBC_2.29): Likewise.
9172 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9173 Likewise.
9174 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9175 Likewise.
9176 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9177 Likewise.
9178 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9179 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9180 Likewise.
9181 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9182 Likewise.
9183 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9184 Likewise.
9185 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9186 Likewise.
9187
7597b0c7
GG
91882018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9189
9190 * misc/Makefile (tests): Add tst-ldbl-error.
9191 * misc/tst-ldbl-error.c: New file.
9192
9771e6cb
GG
91932018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9194
9195 * misc/Makefile (tests): Add tst-ldbl-warn.
9196 * misc/tst-ldbl-warn.c: New file.
9197
2c03961f
GG
91982018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9199
9200 * argp/Makefile (tests): Add tst-ldbl-argp.
9201 * argp/tst-ldbl-argp.c: New file.
9202
6d6ee046
AS
92032018-11-05 Arjun Shankar <arjun@redhat.com>
9204
9205 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9206 __gconv_path_elem and call __gconv_get_path unconditionally.
9207
bd3b0fba
AS
92082018-11-05 Andreas Schwab <schwab@suse.de>
9209
9210 [BZ #22927]
9211 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9212 creating the first helper thread failed.
9213
2e96e980
ST
92142018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9215
9216 * sysdeps/mach/hurd/msync.c: New file.
9217
6e36266c
FW
92182018-11-02 Florian Weimer <fweimer@redhat.com>
9219
9220 * support/shell-container.c (copy_func): Call
9221 support_copy_file_range instead of copy_file_range to support
9222 cross-device copies.
9223
599f7bee
FW
92242018-11-02 Florian Weimer <fweimer@redhat.com>
9225
9226 * support/test-container.c: Include <libc-pointer-arith.h> for
9227 ALIGN_UP.
9228
ff48ea67
ZL
92292018-11-01 Zong Li <zong@andestech.com>
9230
af1d5782
ZL
9231 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9232 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9233 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9234 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9235
ff48ea67
ZL
9236 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9237 variable to avoid overlap arguments.
9238
daea71c2
JM
92392018-11-01 Joseph Myers <joseph@codesourcery.com>
9240
eac4405a
JM
9241 * posix/bug-regex22.c (main): Use puts with distinct error
9242 messages for unexpected success of re_compile_pattern, not printf
9243 with NULL argument to %s.
9244
6f30e59f
JM
9245 * stdio-common/bug22.c: Include <libc-diag.h>.
9246 (do_test): Disable -Wformat-overflow= warnings around fprintf
9247 calls outputting more than INT_MAX characters.
9248 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9249 around printf call with NULL %s argument.
9250
daea71c2
JM
9251 [BZ #23848]
9252 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9253 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9254 Undefine.
9255 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9256 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9257 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9258 (__ASSUME_SENDTO_SYSCALL): Likewise.
9259 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9260 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9261 [!__arch64__].
9262 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9263 (__ASSUME_CONNECT_SYSCALL): Likewise.
9264 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9265 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9266 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9267 Define.
9268 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9269 Likewise.
9270 [__LINUX_KERNEL_VERSION >= 0x040400]
9271 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9272 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9273 Remove.
9274 (listen): Likewise.
9275 (setsockopt): Likewise.
9276
8e3c00db
FN
92772018-11-01 Fredrik Noring <noring@nocrew.org>
9278
9279 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9280 with the ISA override.
9281
9c3dbdbe
RAE
92822018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9283
9284 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9285 #endif.
9286
e3a88b3e
ST
92872018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9288
a67377e7 9289 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 9290 translate the error message.
a67377e7
ST
9291 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9292 printing trailing whitespaces refused by git.
9293 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9294 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 9295 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 9296
3ca235ed
JM
92972018-10-30 Joseph Myers <joseph@codesourcery.com>
9298
9299 * conform/linknamespace.py: New file.
9300 * conform/linknamespace.pl: Remove file.
9301 * conform/Makefile ($(linknamespace-header-tests)): Use
9302 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9303 option.
9304
60708030
FW
93052018-10-30 Florian Weimer <fweimer@redhat.com>
9306
9307 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9308 memory leaks.
9309
a91e9301
FW
93102018-10-30 Florian Weimer <fweimer@redhat.com>
9311
9312 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9313
07da99aa
FW
93142018-10-30 Florian Weimer <fweimer@redhat.com>
9315
9316 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9317 support_blob_repeat.
9318
f5e7e959
FW
93192018-10-30 Florian Weimer <fweimer@redhat.com>
9320
9321 Avoid spurious test failures in stdlib/test-bz22786.
9322 * support/Makefile (libsupport-routines): Add blob_repeat.
9323 (tests): Add tst-support_blob_repeat.
9324 * support/blob_repeat.h: New file.
9325 * support/blob_repeat.c: Likewise.
9326 * support/tst-support_blob_repeat.c: Likewise.
9327 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9328 support_blob_repeat_allocate.
9329
2dd12baa
AS
93302018-10-30 Andreas Schwab <schwab@suse.de>
9331
9332 [BZ #23125]
9333 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9334 Don't use tail call.
9335 * elf/tst-unwind-main.c: New file.
9336 * elf/Makefile (tests): Add tst-unwind-main.
9337 (CFLAGS-tst-unwind-main.c): Define.
9338
6b5c8607 93392018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
9340
9341 [BZ #23791]
9342 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9343 n_cs_precedes to 0.
9344 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9345
c6982f7e
JM
93462018-10-29 Joseph Myers <joseph@codesourcery.com>
9347
954cf3c2
JM
9348 * conform/glibcconform.py: Do not import shutil.
9349 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9350 of mkdtemp.
9351
c6982f7e
JM
9352 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9353 critic_missing for versions before 3.4.
9354 * configure: Regenerated.
9355 * manual/install.texi (Tools for Compilation): Document
9356 requirement for Python to build glibc.
9357 * INSTALL: Regenerated.
9358 * Rules [PYTHON]: Make code unconditional.
9359 * benchtests/Makefile [PYTHON]: Likewise.
9360 * conform/Makefile [PYTHON]: Likewise.
9361 * manual/Makefile [PYTHON]: Likewise.
9362 * math/Makefile [PYTHON]: Likewise.
9363
46a7f24c
ST
93642018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9365
9366 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 9367 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 9368 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
9369 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9370 _hurd_intr_rpc_msg_about_to global point to start of controlled
9371 assembly snippet. Make it check canceled flag.
9372 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9373 the _hurd_intr_rpc_msg_about_to point.
9374 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9375 issue, remove cancel flag check.
46a7f24c 9376
e5b8756d
JM
93772018-10-26 Joseph Myers <joseph@codesourcery.com>
9378
9379 * scripts/build-many-glibcs.py: Remove compatibility for missing
9380 os.cpu_count and re.fullmatch.
9381
ba5b14c7
SN
93822018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9383
9384 [BZ #23822]
9385 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9386 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9387 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9388
fe61f17c
JM
93892018-10-25 Joseph Myers <joseph@codesourcery.com>
9390
9391 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9392 macro.
9393
7c5e34d7
FW
93942018-10-25 Florian Weimer <fweimer@redhat.com>
9395
9396 [BZ #23562]
9397 [BZ #23821]
9398 XFAIL siginfo_t si_band conform test on sparc64.
9399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9400 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9401 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9402 (conformtest-xfail-conds): Add sparc64-linux.
9403 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9404 sparc64.
9405 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9406
5b784e88
JM
94072018-10-25 Joseph Myers <joseph@codesourcery.com>
9408
9409 * elf/elf.h (NT_MIPS_DSP): New macro.
9410 (NT_MIPS_FP_MODE): Likewise.
9411
41432ebe
ZL
94122018-10-25 Zong Li <zong@andestech.com>
9413
9414 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9415 name by adding the file extension (.so).
9416
d026efea
ST
94172018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9418
9419 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9420 (test-xfail-ISO11/threads.h/linknamespace,
9421 test-xfail-ISO11/threads.h/conform): Add.
9422
b71ac2b9
JM
94232018-10-24 Joseph Myers <joseph@codesourcery.com>
9424
9425 * math/gen-libm-test.py: Import os.
9426 (ALL_FLOATS_MANUAL): New constant.
9427 (ALL_FLOATS_SUFFIX): Likewise.
9428 (Ulps.all_functions): New function.
9429 (real_all_ulps): Likewise.
9430 (generate_err_table_sub): Likewise.
9431 (generate_err_table): Likewise.
9432 (main): Handle -s and -m options.
9433 * manual/libm-err-tab.pl: Remove.
9434 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9435 instead of libm-err-tab.pl.
9436 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9437 != no].
9438 * manual/install.texi (Tools for Compilation): Document
9439 requirement for Python to build manual.
9440 * INSTALL: Regenerated.
9441
6b5c8607 94422018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
9443
9444 * bits/time64.h: New file.
9445 * include/time.h: Replace internal_time_t with __time64_t.
9446 * posix/bits/types (__time64_t): Add.
9447 * stdlib/Makefile: Add bits/time64.h to includes.
9448 * time/tzfile.c: Replace internal_time_t with __time64_t.
9449
97d91fcc 94502018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
9451
9452 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9453 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9454 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9455 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9456 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9457 prototype.
9458 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9459 * posix/spawn_faction_addclose.c
9460 (__posix_spawn_file_actions_addclose): Add hidden definition.
9461 * posix/spawn_faction_adddup2.c
9462 (__posix_spawn_file_actions_adddup2): Likewise.
9463 * posix/spawn_faction_destroy.c
9464 (__posix_spawn_file_actions_destroy): Likewise.
9465 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9466 Likewise.
9467 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9468 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9469 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9470 Likewise.
9471 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9472 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9473 Likewise.
9474
2954daf0
AS
94752018-10-24 Andreas Schwab <schwab@suse.de>
9476
9477 [BZ #18093]
9478 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9479 format cache.
9480 * elf/cache.c (print_cache): Likewise.
9481
6b5c8607 94822018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
9483
9484 * bits/timesize.h: New file.
9485 * stdlib/Makefile (headers): Add bits/timesize.h.
9486 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9487 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9488 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9489 (__SEM_PAD_AFTER_TIME): Likewise.
9490 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9491 (__SHM_PAD_AFTER_TIME): Likewise.
9492 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9493 (__MSQ_PAD_BEFORE_TIME): Likewise.
9494 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9495 (__SEM_PAD_BEFORE_TIME): Likewise.
9496 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9497 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9498 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
9499 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9501 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
9502 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9503 (__SEM_PAD_BEFORE_TIME): Likewise.
9504 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9505 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9506 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9507 (__MSQ_PAD_BEFORE_TIME): Likewise.
9508 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9509 (__SEM_PAD_BEFORE_TIME): Likewise.
9510 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9511 (__SHM_PAD_BEFORE_TIME): Likewise.
9512 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9513 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9514 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9515
7cc65773
L
95162018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9519 USE_RDTSCP is defined.
9520 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9521 USE_RDTSCP is defined.
9522
c3d8dc45
AZ
95232018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9524
18ad0de6
AZ
9525 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9526 defined.
9527
c3d8dc45
AZ
9528 [BZ #23709]
9529 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9530 independently of other flags.
9531
f1034472
FW
95322018-10-23 Florian Weimer <fweimer@redhat.com>
9533
9534 * time/tst-mktime2.c (N_STRINGS): Remove.
9535 (set_timezone): New function.
9536 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9537 (mktime_test1): Report localtime failure and check errno value.
9538 Use TEST_COMPARE.
9539 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9540 (do_test): Remove alarm call. Use set_timezone and array_length.
9541
367d7cc2
AS
95422018-10-23 Andreas Schwab <schwab@suse.de>
9543
9544 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9545 (__start_context): Use END instead of PSEUDO_END.
9546
be8ff03f
JM
95472018-10-22 Joseph Myers <joseph@codesourcery.com>
9548
029ad711
JM
9549 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9550 version to 4.19.
9551
8190520f
JM
9552 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9553 version to 4.19.
9554
be8ff03f
JM
9555 [BZ #23793]
9556 * wcsmbs/c32rtomb.c: New file.
9557 * wcsmbs/mbrtoc32.c: Likewise.
9558 * wcsmbs/tst-c32-state.c: Likewise.
9559 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9560 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9561 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9562 (tests): Add tst-c32-state.
9563 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9564 $(gen-locales).
9565
2dd8e58c
L
95662018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9569 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9570
d0a74159
JM
95712018-10-19 Joseph Myers <joseph@codesourcery.com>
9572
9573 [BZ #23794]
9574 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9575 pair and return 0 in that case, and use saved character to
9576 interpret following character.
9577 * wcsmbs/tst-c16-surrogate.c: New file.
9578 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9579 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9580 Depend on $(gen-locales)
9581
f997b4be
IYM
95822018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9583
9584 [BZ #23562]
9585 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9586 (struct siginfo_t): Use correct type for si_band.
9587
53b2bb87
FW
95882018-10-19 Florian Weimer <fweimer@redhat.com>
9589
9590 [BZ #23689]
9591 * resource/bits/types/struct_rusage.h (struct rusage): Update
9592 comment on struct. Remove extraneous field comment.
9593
0a271c8f
DM
95942018-10-18 David S. Miller <davem@davemloft.net>
9595
94a3a27f
DM
9596 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9597 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9598 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9599 sysdep_routines in subdir elf.
9600 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9601 version for __vdso_clock_gettime.
9602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9603 Define.
9604 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9605 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9606
0a271c8f
DM
9607 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9608
72771e53
L
96092018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9610
9611 * sysdeps/i386/init-arch.h: Removed.
9612 * sysdeps/i386/i586/init-arch.h: Likewise.
9613 * sysdeps/i386/i686/init-arch.h: Likewise.
9614 * sysdeps/i386/i686/hp-timing.h: Likewise.
9615 * sysdeps/x86_64/hp-timing.h: Likewise.
9616 * sysdeps/i386/isa.h: New file.
9617 * sysdeps/i386/i586/isa.h: Likewise.
9618 * sysdeps/i386/i686/isa.h: Likewise.
9619 * sysdeps/x86_64/isa.h: Likewise.
9620 * sysdeps/x86/hp-timing.h: New file.
9621 * sysdeps/x86/init-arch.h: Include <isa.h>.
9622
c2b7ccad
JM
96232018-10-17 Joseph Myers <joseph@codesourcery.com>
9624
9625 * math/libm-test-pow.inc (pow_test_data): Do not allow
9626 divide-by-zero exception for pow(+/- 0, -Inf).
9627
26756e57
ZW
96282018-10-17 Zack Weinberg <zackw@panix.com>
9629
9630 * manual/job.texi (Job Control is Optional): Remove node, as
9631 job control has not been optional in quite some time.
9632 (Job Control): Mention briefly that systems older than
9633 POSIX.1-2001 might not support job control.
9634 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9635 defined on systems conforming to POSIX.1-2001.
9636
c5288d37
AS
96372018-10-17 Arjun Shankar <arjun@redhat.com>
9638
9639 [BZ #22062]
9640 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9641 indentation.
9642 * (__gconv_read_conf): Mark function static.
9643 * (once): New static variable.
9644 * (__gconv_load_conf): New function.
9645 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9646 * iconv/gconv_db.c (once): Remove static variable.
9647 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9648 __gconv_read_conf.
9649 * (__gconv_find_transform): Likewise.
9650 * iconv/tst-iconv-mt.c: New test.
9651 * iconv/Makefile: Add tst-iconv_mt.
9652
8c8d2a8a
JM
96532018-10-17 Joseph Myers <joseph@codesourcery.com>
9654
9655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
9656 bits/shm-pad.h.
9657 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9658 (shmatt_t): Define as __syscall_ulong_t.
9659 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9660 and [__SHM_PAD_AFTER_TIME].
9661 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9662 Define shm_segsz and associated padding based on
9663 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9664 Use __syscall_ulong_t instead of unsigned long int.
9665 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9666 unsigned long int.
9667 [__USE_MISC] (struct shm_info): Likewise.
9668 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9669 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9670 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9671 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9672 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9673 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9674 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9675 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9676 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9678 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9679
9680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
9681 bits/shmlba.h.
9682 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9683 (SHMLBA): Remove macro.
9684 (__getpagesize): Remove function declaration.
9685 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9686 <bits/shmlba.h>.
9687 (SHMLBA): Remove macro.
9688 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9689 <bits/shmlba.h>.
9690 (SHMLBA): Remove macro.
9691 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9692 <bits/shmlba.h>.
9693 (SHMLBA): Remove macro.
9694 (__getpagesize): Remove function declaration.
9695 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9696 <bits/shmlba.h>.
9697 (SHMLBA): Remove macro.
9698 (__getshmlba): Remove function declaration.
9699 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9700 (SHMLBA): Remove macro.
9701 (__getpagesize): Remove function declaration.
9702 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9703 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9704 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9705 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9706 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9707 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9708 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9709 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9710 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9711 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9712
403b4feb
SL
97132018-10-17 Stefan Liebler <stli@linux.ibm.com>
9714
9715 [BZ #23275]
9716 * nptl/tst-mutex10.c: New File.
9717 * nptl/Makefile (tests): Add tst-mutex10.
9718 (tst-mutex10-ENV): New variable.
9719 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9720 Ensure that elision path is used if elision is available.
9721 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9722 Likewise.
9723 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9724 Likewise.
9725 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9726 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9727 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9728 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9729 Likewise.
9730 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9731 (__pthread_mutex_cond_lock_adjust): Likewise.
9732 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9733 Likewise.
9734 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9735 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9736 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9737 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9738 Add comments.
9739 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9740 Use atomic_load_relaxed and atomic_store_relaxed.
9741 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9742 Use atomic_store_relaxed.
9743
ce5a7de6
AS
97442018-10-17 Andreas Schwab <schwab@suse.de>
9745
9746 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9747 * crypt/badsalttest.c (TIMEOUT): Likewise.
9748 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9749 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9750 * io/test-lfs.c (TIMEOUT): Likewise.
9751 * libio/tst-atime.c (TIMEOUT): Likewise.
9752 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9753 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9754 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9755 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9756 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9757 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9758 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9759 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9760 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9761 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9762 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9763 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9764 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9765 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9766 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9767 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9768 * nptl/tst-once2.c (TIMEOUT): Likewise.
9769 * nptl/tst-once3.c (TIMEOUT): Likewise.
9770 * nptl/tst-once4.c (TIMEOUT): Likewise.
9771 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9772 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9773 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9774 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9775 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9776 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9777 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9778 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9779 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9780 * posix/tst-chmod.c (TIMEOUT): Likewise.
9781 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9782 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9783 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9784 * posix/tst-regex2.c (TIMEOUT): Likewise.
9785 * posix/tst-waitid.c (TIMEOUT): Likewise.
9786 * rt/tst-aio.c (TIMEOUT): Likewise.
9787 * rt/tst-aio10.c (TIMEOUT): Likewise.
9788 * rt/tst-aio4.c (TIMEOUT): Likewise.
9789 * rt/tst-aio5.c (TIMEOUT): Likewise.
9790 * rt/tst-aio6.c (TIMEOUT): Likewise.
9791 * rt/tst-aio64.c (TIMEOUT): Likewise.
9792 * rt/tst-aio7.c (TIMEOUT): Likewise.
9793 * rt/tst-aio9.c (TIMEOUT): Likewise.
9794 * rt/tst-clock.c (TIMEOUT): Likewise.
9795 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9796 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9797 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9798 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9799 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9800 * rt/tst-timer4.c (TIMEOUT): Likewise.
9801 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9802 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9803 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9804 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9805 * time/tst-ftime.c (TIMEOUT): Likewise.
9806 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9807
6b5c8607 98082018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
9809
9810 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9811 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9812 for thunderX2.
9813
bcdb1bfa
JM
98142018-10-15 Joseph Myers <joseph@codesourcery.com>
9815
9816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9817 bits/sem-pad.h.
9818 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9819 instead of <bits/wordsize.h>.
9820 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9821 and [__SEM_PAD_AFTER_TIME].
9822 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9823 __syscall_ulong_t instead of unsigned long int.
9824 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9825 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9826 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9827 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9828 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9829 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9830 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9831 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9832 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9833 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9834 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9835
f4efbdfb
PE
98362018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9837
620a5d4c
PE
9838 regex: simplify by using intprops.h
9839 [BZ#23744]
9840 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9841 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9842 intprops.h defines them.
9843
f4efbdfb
PE
9844 regex: __builtin_expect → __glibc_unlikely
9845 [BZ#23744]
9846 This refactoring was prompted by a problem when the regex code is
9847 used as part of Gnulib and when the builder’s compiler does not grok
9848 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9849 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9850 Although this refactoring does not fix the problem directly,
9851 we might as well have Gawk use the now-preferred glibc style for when
9852 __builtin_expect is unavailable.
9853 * posix/regex_internal.h (BE): Remove.
9854 All uses replaced by __glibc_unlikely or __glibc_likely.
9855
9f9feb6d
JM
98562018-10-11 Joseph Myers <joseph@codesourcery.com>
9857
9858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9859 bits/msq-pad.h.
9860 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9861 instead of <bits/wordsize.h>.
9862 (msgqnum_t): Define as __syscall_ulong_t.
9863 (msglen_t): Likewise.
9864 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9865 and [__MSQ_PAD_AFTER_TIME].
9866 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9867 __syscall_ulong_t instead of unsigned long int.
9868 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9869 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9870 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9871 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9873 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9874 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9875 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9876 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9877 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9878 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9879
b9c0f6c1
JM
98802018-10-10 Joseph Myers <joseph@codesourcery.com>
9881
2a4b25fa
JM
9882 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9883 (struct shmid_ds): Condition padding after time fields on
9884 [__WORDSIZE == 32].
9885 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9886 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9887 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9888
19e62f26
JM
9889 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9890 (struct semid_ds): Condition padding after time fields on
9891 [__WORDSIZE == 32].
9892 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9893 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9894 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9895 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9896
b9c0f6c1
JM
9897 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9898 (struct msqid_ds): Condition padding after time fields on
9899 [__WORDSIZE == 32].
9900 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9901 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9902 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9903 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9904
97785a61
SN
99052018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9906
9907 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9908
ed643089
SN
99092018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9910
9911 * libio/tst-readline.c (TIMEOUT): Define.
9912
5a580643
PE
99132018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9914
9915 mktime fix for Gnulib + coreutils
9916 [BZ#23745]
9917 This fix affects only Gnulib. Problem discovered when
9918 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9919 * time/mktime.c:
9920 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9921 Do not define since it is not used. Defining an unused static
9922 function prompts a warning from GCC when Coreutils is configured
9923 with --enable-gcc-warnings.
9924
c892ae04
LS
99252018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9926
9927 * benchtests/scripts/compare_bench.py (main): set float type on
9928 threshold argument.
9929
a68ec8ea
RL
99302018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9931
9932 [BZ #23740]
9933 * localedata/locales/kl_GL (mon): Update, the relative case.
9934 (alt_mon): Add, fill with month names in the nominative case.
9935 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9936 (d_fmt): Set to "%b %d %Y".
9937
a1987621
JM
99382018-10-04 Joseph Myers <joseph@codesourcery.com>
9939
47c49251
JM
9940 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9941 <bits/mman-linux.h>.
9942 (PROT_READ): Don't define here.
9943 (PROT_WRITE): Likewise.
9944 (PROT_EXEC): Likewise.
9945 (PROT_NONE): Likewise.
9946 (PROT_GROWSDOWN): Likewise.
9947 (PROT_GROWSUP): Likewise.
9948 (MAP_SHARED): Likewise.
9949 (MAP_PRIVATE): Likewise.
9950 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9951 [__USE_MISC] (MAP_FILE): Likewise.
9952 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9953 [__USE_MISC] (MAP_ANON): Likewise.
9954 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9955 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9956 (MCL_CURRENT): Likewise.
9957 (MCL_FUTURE): Likewise.
9958 (MCL_ONFAULT): Likewise.
9959 [__USE_MISC] (MADV_NORMAL): Likewise.
9960 [__USE_MISC] (MADV_RANDOM): Likewise.
9961 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9962 [__USE_MISC] (MADV_WILLNEED): Likewise.
9963 [__USE_MISC] (MADV_DONTNEED): Likewise.
9964 [__USE_MISC] (MADV_FREE): Likewise.
9965 [__USE_MISC] (MADV_REMOVE): Likewise.
9966 [__USE_MISC] (MADV_DONTFORK): Likewise.
9967 [__USE_MISC] (MADV_DOFORK): Likewise.
9968 [__USE_MISC] (MADV_HWPOISON): Likewise.
9969 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9970 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9971 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9972 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9973 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9974 (__MAP_ANONYMOUS): New macro.
9975 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9976 <bits/mman-linux.h> inclusion.
9977 (MAP_FIXED): Likewise.
9978 (MS_SYNC): Likewise.
9979 (MS_ASYNC): Likewise.
9980 (MS_INVALIDATE): Likewise.
9981 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9982 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9983 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9984 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9985 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9986 [__USE_MISC] (MADV_DODUMP): Likewise.
9987 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9988 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9989
a1987621
JM
9990 [BZ #23735]
9991 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9992 Define.
9993 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9994 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9995 Add test-nldbl-redirect.
9996 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9997 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9998 $(objpfx)libnldbl_nonshared.a.
9999
e7624d70
SL
100002018-10-04 Stefan Liebler <stli@linux.ibm.com>
10001
10002 * support/support.h (support_objdir_elf_ldso): New variable.
10003 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10004 * support/Makefile (CFLAGS-support_paths.c): Add definition
10005 for OBJDIR_ELF_LDSO_PATH.
10006 * support/test-container.c (main): Search for the ld.so
10007 which is also used by the testsuite.
10008
dae3ed95
RL
100092018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10010
10011 [BZ #20209]
10012 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10013 should be "sap" rather than "sab".
10014 (day): Fix spelling of Sunday, should be "sapaat" rather than
10015 "sabaat".
10016
f346b5b3
JM
100172018-10-02 Joseph Myers <joseph@codesourcery.com>
10018
10019 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10020
4a06ceea
MJ
100212018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10022
10023 [BZ #19444]
10024 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10025 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10026 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10027
a06fc4a5
AZ
100282018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10029
10030 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10031
a1ccc065
L
100322018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10033
10034 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10035 Add -mrtm.
10036 (CFLAGS-elision-unlock.c): Likewise.
10037 (CFLAGS-elision-timed.c): Likewise.
10038 (CFLAGS-elision-trylock.c): Likewise.
10039 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10040
0b727ed4
AZ
100412018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10042
10043 [BZ #21037]
10044 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10045 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10046 new fd_to_filename interface.
10047 * libio/freopen64.c (freopen64): Likewise.
10048 * libio/tst-memstream.h: New file.
10049 * libio/tst-memstream4.c: Likewise.
10050 * libio/tst-wmemstream4.c: Likewise.
10051 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10052 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10053 and remove internal dynamic allocation.
10054
d0e91e8c
JM
100552018-10-01 Joseph Myers <joseph@codesourcery.com>
10056
10057 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10058 (MREMAP_MAYMOVE): Do not define here.
10059 [__USE_GNU] (MREMAP_FIXED): Likewise.
10060 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10061 (MREMAP_MAYMOVE): Define here instead.
10062 [__USE_GNU] (MREMAP_FIXED): Likewise.
10063 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10064 (MREMAP_MAYMOVE): Remove.
10065 [__USE_GNU] (MREMAP_FIXED): Likewise.
10066
c52944e8
JM
100672018-09-28 Joseph Myers <joseph@codesourcery.com>
10068
10069 * math/fromfp.h: Do not include <math_private.h>.
10070 * math/s_cacosh_template.c: Likewise.
10071 * math/s_casin_template.c: Likewise.
10072 * math/s_casinh_template.c: Likewise.
10073 * math/s_ccos_template.c: Likewise.
10074 * math/s_cproj_template.c: Likewise.
10075 * math/s_fdim_template.c: Likewise.
10076 * math/s_fmaxmag_template.c: Likewise.
10077 * math/s_fminmag_template.c: Likewise.
10078 * math/s_iseqsig_template.c: Likewise.
10079 * math/s_ldexp_template.c: Likewise.
10080 * math/s_nextdown_template.c: Likewise.
10081 * math/w_log1p_template.c: Likewise.
10082 * math/w_scalbln_template.c: Likewise.
10083 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10084 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10085 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10086 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10087 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10088 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10089 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10090 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10091 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10092 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10093 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10094 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10095 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10096 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10097 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10098 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10099 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10104 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10105 * sysdeps/ieee754/k_standardf.c: Likewise.
10106 * sysdeps/ieee754/k_standardl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10108 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10109 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10111 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10112 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10113 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10114 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10115 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10116 * sysdeps/ieee754/s_signgam.c: Likewise.
10117 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10118 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10119 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10120 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10121 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10122 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10123 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10124 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10125 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10126 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10127 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10128 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10129 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10130 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10131 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10132 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10133 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10134 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10135 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10136 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10137 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10138 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10139 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10140 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10141 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10142 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10143 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10144 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10145 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10146 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10147 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10148 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10149 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10150 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10151 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10152 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10153 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10154 <math_private.h>.
10155 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10156
7b1f9406
L
101572018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10158
10159 [BZ #23716]
10160 * sysdeps/i386/dl-cet.c: Removed.
10161 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10162 prototype.
10163 (_dl_runtime_profile_shstk): Likewise.
10164 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10165 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10166
7a16bdbb
AZ
101672018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10168
10169 [BZ #23579]
10170 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10171 do_test_with_invalid_iov): New tests.
10172 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10173 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10174 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10175 errno is ENOSYS.
10176 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10177 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10178 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10179
9755bc46
JM
101802018-09-27 Joseph Myers <joseph@codesourcery.com>
10181
81dca813
JM
10182 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10183 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10184 (MATH_REDIRECT_BINARY_ARGS): New macro.
10185 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10186 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10187 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10188 header inclusion.
10189 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10191 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10197 Likewise.
10198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10199 Likewise.
10200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10202 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10203 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10205 Likewise.
10206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10207 Likewise.
10208 * sysdeps/generic/math_private_calls.h
10209 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10210 Do not declare and define as an inline function.
10211 * math/divtc3.c (__divtc3): Use copysign functions instead of
10212 __copysign variants.
10213 * math/multc3.c (__multc3): Likewise.
10214 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10215 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10216 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10217 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10218 Likewise.
10219 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10220 (__ieee754_yn): Likewise.
10221 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10222 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10223 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10224 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10225 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10226 (__sin): Likewise.
10227 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10228 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10229 Likewise.
10230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10231 Likewise.
10232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10233 Likewise.
10234 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10235 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10236 Likewise.
10237 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10238 (__ieee754_ynf): Likewise.
10239 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10240 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10241 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10243 Likewise.
10244 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10245 (__ieee754_ynl): Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10249 Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10251 (__ieee754_ynl): Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10256 Likewise.
10257 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10258 (__ieee754_ynl)
10259 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10260 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10261 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10262 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10263 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10264
9755bc46
JM
10265 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10266 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10267 using MATH_REDIRECT.
10268 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10269 header inclusion.
10270 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10273 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10281 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10282 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10284 (round): Redirect to __round.
10285 (__roundl): Call round instead of __round.
10286 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10287 Remove macro.
10288 [_ARCH_PWR5X] (__roundf): Likewise.
10289 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10290 functions instead of __round variants.
10291 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10293 Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10295 Likewise.
10296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10297 Likewise.
10298 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10300 __lroundl.
10301 (__ieee754_expl): Call roundl instead of __roundl.
10302
f841c97e
AS
103032018-09-27 Andreas Schwab <schwab@suse.de>
10304
10305 [BZ #23717]
10306 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10307 (do_test): Make st1 static.
10308
6ca8284e
AS
103092018-09-26 Andreas Schwab <schwab@suse.de>
10310
10311 [BZ #23707]
10312 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10313 * elf/Makefile (tests): Add tst-unwind-ctor.
10314 (modules-names): Add tst-unwind-ctor-lib.
10315 ($(objpfx)tst-unwind-ctor): Depend on
10316 $(objpfx)tst-unwind-ctor-lib.so.
10317
61d8b5fe
JM
103182018-09-26 Joseph Myers <joseph@codesourcery.com>
10319
10320 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10321 file. Most contents moved from ....
10322 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10323 and include <bits/mman-map-flags-generic.h>.
10324 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10325 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10326 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10327 <bits/mman-map-flags-generic.h>.
10328 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10329 macros defined in <bits/mman-map-flags-generic.h>.
10330 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10331 <bits/mman-map-flags-generic.h>.
10332 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10333 defined in <bits/mman-map-flags-generic.h>.
10334
46341286
AS
103352018-09-26 Andreas Schwab <schwab@suse.de>
10336
10337 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10338 output.
10339
b5c45e83
AZ
103402018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10341 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10342 Fangrui Song <maskray@google.com>
10343
10344 [BZ #20480]
10345 * config.make.in (have-textrel_ifunc): New define.
10346 * configure.ac: Add check if linker supports textrel relocation with
10347 ifunc.
10348 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10349 tst-ifunc-textrel.
10350 (CFLAGS-tst-ifunc-textrel.c): New rule.
10351 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10352 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10353 * elf/tst-ifunc-textrel.c: New file.
10354
8ea4d2b7
JM
103552018-09-25 Joseph Myers <joseph@codesourcery.com>
10356
d62f9ec0
JM
10357 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10358 <bits/procfs-prregset.h>.
10359 (prgregset_t): Define using __prgregset_t.
10360 (prfpregset_t): Define using __prfpregset_t.
10361 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10362 (sysdep_headers): Add bits/procfs-prregset.h.
10363 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10364 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10365 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10366 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10367
d0d8eb43
JM
10368 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10369 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10370 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10371 pr_uid and pr_gid.
10372 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10373 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10374 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10375 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10376 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10377 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10378 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10379 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10381 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10382 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10383 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10384 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10385 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10386 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10388 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10389 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10390 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10391 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10392 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10393 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10394 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10395 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10396
8ea4d2b7
JM
10397 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10398 AArch64 version. Include <bits/procfs.h>.
10399 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10400 (sysdep_headers): Add bits/procfs.h.
10401 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10402 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10403 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10404 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10405 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10406 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10407 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10408 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10409 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10410 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10411 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10412 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10413 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10414 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10415 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10417 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10418
c7027166
AZ
104192018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10420
10421 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10422 Use libsupport.
10423
335a3b0a
AS
104242018-09-25 Arjun Shankar <arjun@redhat.com>
10425
10426 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10427 (__gconv_max_path_elem_len): Likewise.
10428 (__gconv_nmodules): Likewise.
10429 (__gconv_get_path): Likewise.
10430 (path_elem): Move to ...
10431 * iconv/gconv_conf.c: ... here.
10432 (__gconv_get_path): Mark function static.
10433 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10434 * iconv/gconv_open.c: ... here.
10435
462d348c
AS
104362018-09-24 Andreas Schwab <schwab@suse.de>
10437
10438 * scripts/haveversions.awk: New file.
10439 * Makerules ($(common-objpfx)Versions.def)
10440 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10441 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10442 Move rules ...
10443 * Makeconfig ($(common-objpfx)Versions.def)
10444 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10445 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10446 ... here.
10447 ($(common-objpfx)Versions.mk): New rule. Include it.
10448 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10449 Emit error if build-obsolete-nsl = yes.
10450 * manual/install.texi (Configuring and compiling): Describe
10451 --enable-obsolete-nsl as unavaiable after version 2.28.
10452 * INSTALL: Regenerate.
10453
f0458cf4
AZ
104542018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10455
10456 * NEWS: Add note about new TLE support on powerpc64le.
10457 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10458 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10459 __ununsed1.
10460 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10461 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10462 * sysdeps/powerpc/powerpc32/sysdep.h,
10463 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10464 ABORT_TRANSACTION): Remove macros.
10465 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10466 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10467 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10469 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10470 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10471 usage.
10472 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10473
434d45fd
RL
104742018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10475
10476 [BZ #10425]
10477 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10478 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10479 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10480 which is the same as in it_IT.
10481 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10482 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10483
d90c9b1a
JM
104842018-09-20 Joseph Myers <joseph@codesourcery.com>
10485
7abf97be
JM
10486 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10487 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10488 using MATH_REDIRECT.
10489 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10490 header inclusion.
10491 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10493 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10495 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10501 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10502 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10503 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10504 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10505 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10506 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10507 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10509 (ceil): Redirect to __ceil.
10510 (floor): Redirect to __floor.
10511 (trunc): Redirect to __trunc.
10512 (__truncl): Call trunc instead of __trunc.
10513 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10514 Remove macro.
10515 [_ARCH_PWR5X] (__truncf): Likewise.
10516 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10517 trunc functions instead of __trunc variants.
10518 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10519 Likewise.
10520 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10521 Likewise.
10522 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10523 Likewise.
10524 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10525 Likewise.
10526
d90c9b1a
JM
10527 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10528 [__i586__ || __pentium__].
10529 [__i486__]: Handle explicitly.
10530 (HAS_CPUID): Define to 1 if above macros are undefined.
10531 (HAS_I586): Likewise.
10532 (HAS_I686): Likewise.
10533
db9a8ad4
FW
105342018-09-20 Florian Weimer <fweimer@redhat.com>
10535
10536 * misc/tst-gethostid.c: New file.
10537 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10538 (tst-gethostid): Link with -ldl.
10539
1214ba06
MY
105402018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10541
10542 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10543 value from gethostbyname_r.
10544
791b350d
CD
105452018-09-19 Carlos O'Donell <carlos@redhat.com>
10546
10547 * stdlib/tst-setcontext9.c (f1): Rename to...
10548 (f1a): ... this.
10549 (f1b): New function implementing lower half of f1 in alternate stack.
10550
8e6fd2bd
PE
105512018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10552
e1080e7e
PE
10553 Fix mktime localtime offset confusion
10554 [BZ #23603]
10555 * include/time.h (__mktime_internal): The localtime offset is now
10556 of type long int instead of time_t. This is the longstanding type
10557 in glibc, and it is more than enough to represent difference
10558 between localtime and gmtime even if it is 32 bits and time_t is
10559 64. Changing it now will let us avoid an unnecessary change when
10560 time_t is widened to 64 bits on 32-bit platforms.
10561 * time/mktime-internal.h (mktime_offset_t): Now long int.
10562
8e6fd2bd
PE
10563 Merge mktime, timegm from upstream Gnulib
10564 [BZ #23603][BZ #16346]
10565 This fixes some obscure problems with integer overflow.
10566 Although it looks scary, it is almost all a byte-for-byte copy
10567 from Gnulib, and the Gnulib code has been tested reasonably well.
10568 * include/intprops.h: New file, copied from Gnulib.
10569 * include/verify.h, time/mktime-internal.h:
10570 New tiny files, simplified from Gnulib.
10571 * time/mktime.c: Copy from Gnulib. This has the following changes:
10572 Do not include config.h if DEBUG_MKTIME is nonzero.
10573 Include stdbool.h, intprops.h, verify.h.
10574 Include string.h only if needed.
10575 Include stdlib.h on MS-Windows.
10576 Include mktime-internal.h.
10577 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10578 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10579 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10580 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10581 simplify later conditionals; default the others to zero. Use
10582 these conditionals to express only the code needed on the current
10583 platform. In uses of these conditionals, explicitly spell out how
10584 _LIBC affects things, so it’s easier to review from a glibc
10585 viewpoint.
10586 (WRAPV): Remove; no longer needed now that we have
10587 systematic overflow checking.
10588 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10589 compartmentalize tzset issues. Move system-dependent tzsettish
10590 code here from mktime.
10591 (verify): Remove; now done by verify.h. All uses changed.
10592 (long_int): Use a more-conservative definition, to avoid
10593 integer overflow.
10594 (SHR): Remove, replacing with ...
10595 (shr): New function, which means we needn’t worry about side
10596 effects in args, and conversion analysis is simpler.
10597 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10598 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10599 (time_t_avg, time_t_add_ok): Remove.
10600 (mktime_min, mktime_max): New constants.
10601 (leapyear, isdst_differ): Use bool for booleans.
10602 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10603 Use long_int, not time_t, for mktime differences.
10604 (long_int_avg): New function, replacing time_t_avg.
10605 INT_ADD_WRAPV replaces time_t_add_ok.
10606 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10607 All uses changed.
10608 (convert_time): New function.
10609 (ranged_convert): Use it.
10610 (__mktime_internal): Last arg now points to mktime_offset_t, not
10611 time_t. All uses changed. This is a no-op on glibc, where
10612 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10613 offset guess. Directly check for integer overflow instead of
10614 using a heuristic that works only 99.9...% of the time.
10615 Access *OFFSET only once, to avoid an unlikely race if the
10616 compiler delays a load and if this cascades into a signed integer
10617 overflow.
10618 (mktime): Move tzsettish code to my_tzset, and move
10619 localtime_offset to within mktime so that it doesn’t
10620 need a separate ifdef.
10621 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10622 instead of localtime.
10623 * time/timegm.c: Copy from Gnulib. This has the following changes:
10624 Include mktime-internal.h.
10625 [!_LIBC]: Include config.h and time.h. Do not include
10626 timegm.h or time_r.h. Make __mktime_internal a macro,
10627 and include mktime-internal.h to get its declaration.
10628 (timegm): Temporary is now mktime_offset_t, not time_t.
10629 This affects only Gnulib.
10630
83a552b0
WD
106312018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10632
10633 [BZ #23637]
10634 * string/test-strstr.c (pr23637): New function.
10635 (test_main): Add tests with longer needles.
10636 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10637 * string/strstr.c (AVAILABLE): Likewise.
10638
d7347278
SN
106392018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10640
10641 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10642
424c4f60
SN
106432018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10644
10645 * NEWS: Mention pow improvements.
10646 * math/Makefile (type-double-routines): Add e_pow_log_data.
10647 * sysdeps/generic/math_private.h (__exp1): Remove.
10648 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10649 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10650 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10651 contraction.
10652 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10653 (exp_inline): Remove.
10654 (__ieee754_exp): Only single double input is handled.
10655 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10656 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10657 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10658 (__pow_log_data): Define.
10659 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10660 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10661 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10662 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10663 contraction.
10664 (CFLAGS-e_pow-fma4.c): Likewise.
10665
e4e4fde5
PE
106662018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10667
dab9c348
PE
10668 Simplify tzfile fstat failure code
10669 [BZ #21716]
10670 * time/tzfile.c (__tzfile_read): Simplify slightly.
10671
e4e4fde5
PE
10672 Fix tzfile low-memory assertion failure
10673 [BZ #21716]
10674 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10675 when registering time zone abbreviations.
10676
50bc59ca
JM
106772018-09-18 Joseph Myers <joseph@codesourcery.com>
10678
d3a43e49
JM
10679 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10680 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10681 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10682 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10683 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10684 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10685 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10687 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10688
50bc59ca
JM
10689 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10690 __ceil.
10691 (__ceill): Call ceil instead of __ceil.
10692 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10693 __floor.
10694 (__floorl): Call floor instead of __floor.
10695
89983cb3
JM
106962018-09-17 Joseph Myers <joseph@codesourcery.com>
10697
71223ef9
JM
10698 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10699 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10700 using MATH_REDIRECT.
10701 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10702 header inclusion.
10703 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10706 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10707 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10710 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10715 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10716 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10719 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10720 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10721 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10722 Remove macro.
10723 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10724 functions instead of __ceil variants.
10725 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10726 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10727 Likewise.
10728 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10729 Likewise.
10730 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10731 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10732 Likewise.
10733 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10734 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10735
89983cb3
JM
10736 [BZ #21286]
10737 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10738 constant.
10739 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10740 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10741 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10742 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10743 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10744 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10745 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10746 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10747 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10748 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10749 (ILL_BADIADDR): Remove constant.
10750 (TRAP_BRANCH): Likewise.
10751 (TRAP_HWBKPT): Likewise.
10752
e44acb20
JM
107532018-09-14 Joseph Myers <joseph@codesourcery.com>
10754
3f7f1d18
JM
10755 [BZ #23656]
10756 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10757 Remove [_MIPS_SIM = _ABIN32] conditional case.
10758 (struct elf_prpsinfo): Likewise.
10759
d59f3e5e
JM
10760 [BZ #23649]
10761 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10762 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10763 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10764 Likewise.
10765 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10766 elf_prpsinfo): Likewise.
10767 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10768 elf_prpsinfo): Likewise.
10769 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10770 Likewise.
10771
f29b6f17
JM
10772 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10773 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10774 using MATH_REDIRECT.
10775 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10776 header inclusion.
10777 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10778 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10779 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10780 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10783 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10784 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10787 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10788 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10789 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10790 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10791 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10792 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10793 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10794 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10795 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10800 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10801 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10802 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10803 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10804 __rint variants.
10805 * math/e_scalbf.c (invalid_fn): Likewise.
10806 * math/e_scalbl.c (invalid_fn): Likewise.
10807 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10808 Likewise.
10809 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10810 Likewise.
10811 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10812 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10813 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10814 Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10816 Likewise.
10817 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10818 Likewise.
10819 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10820 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10821
e44acb20
JM
10822 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10823 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10824 New macro.
10825 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10826 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10827 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10828 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10829 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10830 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10831 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10832 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10833 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10834 && !NO_MATH_REDIRECT] (floor): Likewise.
10835 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10836 header inclusion.
10837 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10840 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10841 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10844 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10849 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10850 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10854 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10855 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10856 Remove macro.
10857 [_ARCH_PWR5X] (__floorf): Likewise.
10858 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10859 inline function.
10860 [__SSE4_1__] (__floorf): Likewise.
10861 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10862 instead of __floor variants.
10863 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10864 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10865 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10866 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10867 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10868 * math/w_tgamma_compat.c (__tgamma): Likewise.
10869 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10870 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10871 * math/w_tgammal_compat.c (__tgammal): Likewise.
10872 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10874 Likewise.
10875 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10876 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10877 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10878 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10879 Likewise.
10880 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10881 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10882 Likewise.
10883 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10884 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10885 Likewise.
10886 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10887 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10888 Likewise.
10889 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10890 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10891 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10892 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10893 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10894 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10895
221e4bab
JM
108962018-09-12 Joseph Myers <joseph@codesourcery.com>
10897
10898 * elf/Makefile (modules-names-tests): New variable.
10899
3e08ff54
SN
109002018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10901
10902 * NEWS: Mention log2 improvements.
10903 * math/Makefile (type-double-routines): Add e_log2_data.
10904 * sysdeps/i386/fpu/e_log2_data.c: New file.
10905 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10906 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10907 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10908 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10909 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10910 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10911
f41b0a43
SN
109122018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10913
10914 * NEWS: Mention log improvement.
10915 * math/Makefile (type-double-routines): Add e_log_data.
10916 * sysdeps/i386/fpu/e_log_data.c: New file.
10917 * sysdeps/ia64/fpu/e_log_data.c: New file.
10918 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10919 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10920 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10921 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10922 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10923 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10924
5a274db4
L
109252018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10926 Xuepeng Guo <xuepeng.guo@intel.com>
10927
10928 [BZ #23606]
10929 * sysdeps/i386/start.S: Include <sysdep.h>
10930 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10931 enabled. Add cfi_undefined (eip).
10932
b1176270
JM
109332018-09-11 Joseph Myers <joseph@codesourcery.com>
10934
4e7fbdd7
JM
10935 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10936 (MOVQ): Likewise.
10937 (EXTRACT_WORDS64): Likewise.
10938 (INSERT_WORDS64): Likewise.
10939 (GET_FLOAT_WORD): Likewise.
10940 (SET_FLOAT_WORD): Likewise.
10941
b1176270
JM
10942 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10943 argument.
10944 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10945 build, but not for second build if --full-gcc. Use
10946 --enable-languages=all for second build if --full-gcc.
10947 (get_parser): Add --full-gcc option.
10948 (main): Update call to Context.
10949
527f355e
RL
109502018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10951
10952 [BZ #10797]
10953 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10954 Single Quotation Mark).
10955 (thousands_sep): Likewise.
10956 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10957 * localedata/locales/it_IT (thousands_sep): Use ".".
10958 (grouping): Use "3;3".
10959
7244f13d
JM
109602018-09-10 Joseph Myers <joseph@codesourcery.com>
10961
10962 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10963 x86_64 and i686 configs using --enable-obsolete-rpc
10964 --enable-obsolete-nsl.
10965
38245425
SL
109662018-09-06 Stefan Liebler <stli@linux.ibm.com>
10967
10968 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10969
28669f86
SL
109702018-09-06 Stefan Liebler <stli@linux.ibm.com>
10971
10972 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10973 Increment size of new_argv by one.
10974
a33650d1
RL
109752018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10976
10977 [BZ #17426]
10978 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10979 * localedata/locales/ar_IN (d_fmt): Likewise.
10980 * localedata/locales/bhb_IN (d_fmt): Likewise.
10981 * localedata/locales/bho_IN (d_fmt): Likewise.
10982 * localedata/locales/bn_BD (d_fmt): Likewise.
10983 * localedata/locales/bn_IN (d_fmt): Likewise.
10984 * localedata/locales/doi_IN (d_fmt): Likewise.
10985 * localedata/locales/gu_IN (d_fmt): Likewise.
10986 * localedata/locales/hi_IN (d_fmt): Likewise.
10987 * localedata/locales/hne_IN (d_fmt): Likewise.
10988 * localedata/locales/kn_IN (d_fmt): Likewise.
10989 * localedata/locales/mag_IN (d_fmt): Likewise.
10990 * localedata/locales/mai_IN (d_fmt): Likewise.
10991 * localedata/locales/mjw_IN (d_fmt): Likewise.
10992 * localedata/locales/ml_IN (d_fmt): Likewise.
10993 * localedata/locales/mni_IN (d_fmt): Likewise.
10994 * localedata/locales/mr_IN (d_fmt): Likewise.
10995 * localedata/locales/pa_IN (d_fmt): Likewise.
10996 * localedata/locales/raj_IN (d_fmt): Likewise.
10997 * localedata/locales/sat_IN (d_fmt): Likewise.
10998 * localedata/locales/sd_IN (d_fmt): Likewise.
10999 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11000 * localedata/locales/ta_IN (d_fmt): Likewise.
11001 * localedata/locales/ta_LK (d_fmt): Likewise.
11002 * localedata/locales/tcy_IN (d_fmt): Likewise.
11003 * localedata/locales/ur_IN (d_fmt): Likewise.
11004
11005 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11006 * localedata/locales/ks_IN (d_fmt): Likewise.
11007 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11008
11009 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11010 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11011 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11012 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11013
d114e6a7
SN
110142018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11015
11016 * NEWS: Mention exp and exp2 improvements.
11017 * math/Makefile (libm-support): Remove t_exp.
11018 (type-double-routines): Add math_err and e_exp_data.
11019 * sysdeps/aarch64/libm-test-ulps: Update.
11020 * sysdeps/arm/libm-test-ulps: Update.
11021 * sysdeps/i386/fpu/e_exp_data.c: New file.
11022 * sysdeps/i386/fpu/math_err.c: New file.
11023 * sysdeps/i386/fpu/t_exp.c: Remove.
11024 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11025 * sysdeps/ia64/fpu/math_err.c: New file.
11026 * sysdeps/ia64/fpu/t_exp.c: Remove.
11027 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11028 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11029 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11030 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11031 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11032 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11033 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11034 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11035 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11036 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11037 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11038 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11039 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11040 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11043
b9d8c474
JM
110442018-09-05 Joseph Myers <joseph@codesourcery.com>
11045
b7cdc2ae
JM
11046 * sysdeps/alpha/fpu/math_private.h: Remove.
11047
b9d8c474
JM
11048 * sysdeps/generic/math_private.h
11049 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11050 Move this inline function ....
11051 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11052 * include/math.h [!_ISOMAC]: To here....
11053
418d99e6
JM
110542018-09-04 Joseph Myers <joseph@codesourcery.com>
11055
11056 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11057 code ....
11058 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11059 * include/fenv.h [!_ISOMAC]: ... to here.
11060 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11061 (feraiseexcept): Likewise.
11062 * math/fromfp.h: Do not include <fenv_private.h>.
11063 * math/s_cexp_template.c: Likewise.
11064 * math/s_csin_template.c: Likewise.
11065 * math/s_csinh_template.c: Likewise.
11066 * math/s_ctan_template.c: Likewise.
11067 * math/s_ctanh_template.c: Likewise.
11068 * math/s_iseqsig_template.c: Likewise.
11069 * math/w_acos_compat.c: Likewise.
11070 * math/w_acosf_compat.c: Likewise.
11071 * math/w_acosl_compat.c: Likewise.
11072 * math/w_asin_compat.c: Likewise.
11073 * math/w_asinf_compat.c: Likewise.
11074 * math/w_asinl_compat.c: Likewise.
11075 * math/w_j0_compat.c: Likewise.
11076 * math/w_j0f_compat.c: Likewise.
11077 * math/w_j0l_compat.c: Likewise.
11078 * math/w_j1_compat.c: Likewise.
11079 * math/w_j1f_compat.c: Likewise.
11080 * math/w_j1l_compat.c: Likewise.
11081 * math/w_jn_compat.c: Likewise.
11082 * math/w_jnf_compat.c: Likewise.
11083 * math/w_log10_compat.c: Likewise.
11084 * math/w_log10f_compat.c: Likewise.
11085 * math/w_log10l_compat.c: Likewise.
11086 * math/w_log2_compat.c: Likewise.
11087 * math/w_log2f_compat.c: Likewise.
11088 * math/w_log2l_compat.c: Likewise.
11089 * math/w_log_compat.c: Likewise.
11090 * math/w_logf_compat.c: Likewise.
11091 * math/w_logl_compat.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11097 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11098 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11101 * sysdeps/ieee754/k_standardl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11119 * math/w_ilogb_template.c: Include <fenv.h> instead of
11120 <fenv_private.h>.
11121 * math/w_llogb_template.c: Likewise.
11122 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11123 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11124
70e2ba33
JM
111252018-09-03 Joseph Myers <joseph@codesourcery.com>
11126
11127 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11128 * math/fromfp.h: Include <fenv_private.h>.
11129 * math/math-narrow.h: Likewise.
11130 * math/s_cexp_template.c: Likewise.
11131 * math/s_csin_template.c: Likewise.
11132 * math/s_csinh_template.c: Likewise.
11133 * math/s_ctan_template.c: Likewise.
11134 * math/s_ctanh_template.c: Likewise.
11135 * math/s_iseqsig_template.c: Likewise.
11136 * math/w_acos_compat.c: Likewise.
11137 * math/w_acosf_compat.c: Likewise.
11138 * math/w_acosl_compat.c: Likewise.
11139 * math/w_asin_compat.c: Likewise.
11140 * math/w_asinf_compat.c: Likewise.
11141 * math/w_asinl_compat.c: Likewise.
11142 * math/w_ilogb_template.c: Likewise.
11143 * math/w_j0_compat.c: Likewise.
11144 * math/w_j0f_compat.c: Likewise.
11145 * math/w_j0l_compat.c: Likewise.
11146 * math/w_j1_compat.c: Likewise.
11147 * math/w_j1f_compat.c: Likewise.
11148 * math/w_j1l_compat.c: Likewise.
11149 * math/w_jn_compat.c: Likewise.
11150 * math/w_jnf_compat.c: Likewise.
11151 * math/w_llogb_template.c: Likewise.
11152 * math/w_log10_compat.c: Likewise.
11153 * math/w_log10f_compat.c: Likewise.
11154 * math/w_log10l_compat.c: Likewise.
11155 * math/w_log2_compat.c: Likewise.
11156 * math/w_log2f_compat.c: Likewise.
11157 * math/w_log2l_compat.c: Likewise.
11158 * math/w_log_compat.c: Likewise.
11159 * math/w_logf_compat.c: Likewise.
11160 * math/w_logl_compat.c: Likewise.
11161 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11162 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11163 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11164 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11189 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11190 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11193 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11194 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11196 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11197 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11199 * sysdeps/ieee754/k_standardl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11219 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11221 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11231 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11236 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11237 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11238 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11239 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11240 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11241 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11242 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11243 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11244 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11245 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11246 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11247 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11248 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11249 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11250 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11251 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11252 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11253 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11254 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11255 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11256 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11257 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11258 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11259 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11260 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11261 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11262 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11263 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11264 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11265 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11266 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11267 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11268 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11269 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11270 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11271
a6e8926f
PP
112722018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11273
11274 [BZ #20271]
11275 * include/stdio.h (__libc_fatal): Mention newline in comment.
11276 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11277 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11278 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11279 * nss/nsswitch.c (__nss_next2): Likewise.
11280 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11281 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11282 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11283 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11284 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11285 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11286 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11287 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11288 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11289 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11290 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11291 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11292 (__netlink_assert_response): Likewise.
11293
2bbd06bc
JM
112942018-08-31 Joseph Myers <joseph@codesourcery.com>
11295
11296 * conform/glibcconform.py: New file.
11297 * conform/list-header-symbols.py: Likewise.
11298 * conform/list-header-symbols.pl: Remove.
11299 * conform/Makefile (tests-special): Only add linknamespace tests
11300 if [PYTHON].
11301 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11302
81b9d87b
L
113032018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11304
11305 [BZ #23597]
11306 * support/Makefile (libsupport-routines): Add
11307 support_copy_file_range and xcopy_file_range.
11308 * support/support.h: Include <sys/types.h>.
11309 (support_copy_file_range): New prototype.
11310 * support/support_copy_file_range.c: New file. Copied and
11311 modified from io/copy_file_range-compat.c.
11312 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11313 instead of copy_file_range.
11314 * support/xcopy_file_range.c: New file.
11315 * support/xunistd.h (xcopy_file_range): New prototype.
11316
d330f31a
CD
113172018-08-30 Carlos O'Donell <carlos@redhat.com>
11318
11319 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11320 xpthread_create and xpthread_join.
11321
2bda273a
FW
113222018-08-30 Florian Weimer <fweimer@redhat.com>
11323
11324 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11325
3bad2358
SL
113262018-08-30 Stefan Liebler <stli@linux.ibm.com>
11327
11328 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11329 if malloc fails.
11330
09c12efc
JM
113312018-08-29 Joseph Myers <joseph@codesourcery.com>
11332
11333 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11334 and minus_oflow as non-finite.
11335
ff6b2450
JM
113362018-08-28 Joseph Myers <joseph@codesourcery.com>
11337
11338 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11339 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11340 moved to fenv_private.h except for ...
11341 (TOINT_INTRINSICS): Kept in math_private.h.
11342 (roundtoint): Likewise.
11343 (converttoint): Likewise.
11344 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11345 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11346 * sysdeps/arm/math_private.h: Remove.
11347 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11348 ....
11349 * sysdeps/generic/math_private.h: ... this file. Include
11350 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11351 Include <fenv_private.h>. Remove functions and macros moved to
11352 fenv_private.h.
11353 * sysdeps/i386/fpu/math_private.h: Remove.
11354 * sysdeps/mips/math_private.h: Move to ....
11355 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11356 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11357 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11358 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11359 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11360 * sysdeps/powerpc/fpu/math_private.h: Do not include
11361 <fenv_private.h>.
11362 * sysdeps/riscv/rvf/math_private.h: Move to ....
11363 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11364 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11365 <fenv_private.h>.
11366 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11367 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11368 * sysdeps/sparc/fpu/math_private.h: Remove.
11369 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11370 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11371 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11372 <fenv_private.h>.
11373 * sysdeps/x86_64/fpu/math_private.h: Do not include
11374 <sysdeps/i386/fpu/fenv_private.h>.
11375
761404b7
FW
113762018-08-28 Florian Weimer <fweimer@redhat.com>
11377
11378 [BZ #23578]
11379 * posix/tst-regcomp-truncated.c: New file.
11380 * posix/Makefile (tests): Add it.
11381 (tst-regcomp-truncated.out): Depend on generated locales.
11382
d6c44c3d
FW
113832018-08-28 Florian Weimer <fweimer@redhat.com>
11384
11385 * support/test-container.c (main): Treat unshare failure with
11386 EPERM as an unsupported test.
11387
745664bd
FW
113882018-08-28 Florian Weimer <fweimer@redhat.com>
11389
11390 [BZ #23520]
11391 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11392 * nscd/netgroupcache.c
11393 (addgetnetgrentX): Add tofreep parameter. Do not free
11394 heap-allocated buffer.
11395 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11396 (addgetnetgrentX_ignore): New function.
11397 (addgetnetgrent): Call it.
11398 (readdgetnetgrent): Likewise.
11399
c8dd67e7
RS
114002018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11401
11402 * string/memmem.c: Use memcmp for first match.
11403
5abedf97
RL
114042018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11405
11406 [BZ #17426]
11407 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11408
86de0499
DD
114092018-08-27 DJ Delorie <dj@redhat.com>
11410
11411 * support/Makefile (others): Don't list programs explicitly as a
11412 dependency of "others".
11413
c3ab2110
JM
114142018-08-27 Joseph Myers <joseph@codesourcery.com>
11415
11416 * sysdeps/generic/math-tests-trap-force.h: New file.
11417 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11418 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11419 * sysdeps/powerpc/math-tests.h: Remove file.
11420 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11421
6b5c8607
TS
114222018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11423 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
11424
11425 [BZ #23538]
11426 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11427 Update r to include the set wake-request flag if waiters are
11428 remaining after spinning.
11429
4061791f
JM
114302018-08-27 Joseph Myers <joseph@codesourcery.com>
11431
11432 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11433
bc680b33
PE
114342018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11435
761404b7 11436 [BZ #23578]
bc680b33
PE
11437 regex: fix uninitialized memory access
11438 I introduced this bug into gnulib in commit
11439 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11440 eventually it was merged into glibc. The bug was found by
11441 project-repo <bugs@feusi.co> and reported here:
11442 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11443 Diagnosis and draft fix reported by Assaf Gordon here:
11444 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11445 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11446 * posix/regex_internal.c (build_wcs_upper_buffer):
11447 Fix bug when mbrtowc returns 0.
11448
02458a52
CD
114492018-08-24 Carlos O'Donell <carlos@redhat.com>
11450
11451 * po/be.po: Update translation.
11452
acc2842a
DD
114532018-08-24 DJ Delorie <dj@delorie.com>
11454
11455 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11456 $(libunwind).
11457
6c3a8a9d
PP
114582018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11459
b39d961c
TS
11460 [BZ #23400]
11461 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11462 create temporary files in source tree.
6c3a8a9d 11463
895ef79e
JM
114642018-08-24 Joseph Myers <joseph@codesourcery.com>
11465
11466 * sysdeps/generic/math-tests-trap.h: New file.
11467 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11468 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11469 * sysdeps/aarch64/math-tests.h: Remove file.
11470 * sysdeps/arm/math-tests.h: Likewise.
11471 * sysdeps/riscv/math-tests.h: Likewise.
11472 * sysdeps/aarch64/math-tests-trap.h: New file.
11473 * sysdeps/arm/math-tests-trap.h: Likewise.
11474 * sysdeps/riscv/math-tests-trap.h: Likewise.
11475
ca3aac57
WD
114762018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11477
11478 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11479 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11480 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11481 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11482 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11483 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11487 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11488 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11490 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11491 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11492 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11493 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11494 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11495 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11496
60bcac09
JM
114972018-08-23 Joseph Myers <joseph@codesourcery.com>
11498
11499 * sysdeps/generic/math-tests-exceptions.h: New file.
11500 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11501 (EXCEPTION_TESTS_float): Do not define here.
11502 (EXCEPTION_TESTS_double): Likewise.
11503 (EXCEPTION_TESTS_long_double): Likewise.
11504 (EXCEPTION_TESTS_float128): Likewise.
11505 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11506 Likewise.
11507 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11508 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11509 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11510 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11511 * sysdeps/mips/math-tests.h: Likewise.
11512 * sysdeps/nios2/math-tests.h: Likewise.
11513 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11514 (EXCEPTION_TESTS_float): Do not define here.
11515 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11516 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11517 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11518
3bded567
WD
115192018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11520
11521 * NEWS: Move optimized sinf entry to 2.29.
11522
900fb446
WD
115232018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11524
11525 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11526
561b0bec
DD
115272018-08-22 DJ Delorie <dj@redhat.com>
11528
11529 * Makefile (testroot.pristine): New rules to initialize the
11530 test-in-container "testroot".
11531 * Makerules (all-testsuite): Add tests-container.
11532 * Rules (tests-expected): Add tests-container.
11533 (binaries-all-tests): Likewise.
11534 (tests-container): New, run these tests in the testroot container.
11535 * support/Makefile (others): Add *-container, support_paths.c,
11536 xmkdirp, and links-dso-program.
11537 * support/links-dso-program-c.c: New.
11538 * support/links-dso-program.cc: New.
11539 * support/test-container.c: New.
11540 * support/shell-container.c: New.
11541 * support/echo-container.c: New.
11542 * support/true-container.c: New.
11543 * support/xmkdirp.c: New.
11544 * support/xsymlink.c: New.
11545 * support/support_paths.c: New.
11546 * support/support.h: Add support paths prototypes.
11547 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11548
11549 * nss/tst-nss-test3.c: Convert to test-in-container.
11550 * nss/tst-nss-test3.root/: New.
11551
b35d3509
PE
115522018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11553
11554 regex: port Gnulib code to z/OS POSIX environment
11555 Problem reported by Arnold Robbins in:
11556 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11557 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11558 Undef.
11559
16a25138
JM
115602018-08-22 Joseph Myers <joseph@codesourcery.com>
11561
debc4c98
JM
11562 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11563 (ROUNDING_TESTS_double): Remove.
11564 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11565 (ROUNDING_TESTS_double): Remove.
11566 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11567 (ROUNDING_TESTS_double): Remove.
11568 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11569 (ROUNDING_TESTS_float): Remove.
11570 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11571 (ROUNDING_TESTS_float): Remove.
11572 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11573 (ROUNDING_TESTS_float): Remove.
11574 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11575 !TEST_MATHVEC here.
11576 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11577 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11578
16a25138
JM
11579 * sysdeps/generic/math-tests-rounding.h: New file.
11580 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11581 (ROUNDING_TESTS_float): Do not define here.
11582 (ROUNDING_TESTS_double): Likewise.
11583 (ROUNDING_TESTS_long_double): Likewise.
11584 (ROUNDING_TESTS_float128): Likewise.
11585 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11586 (ROUNDING_TESTS_double): Undefine before defining.
11587 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11588 (ROUNDING_TESTS_double): Undefine before defining.
11589 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11590 (ROUNDING_TESTS_double): Undefine before defining.
11591 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11592 (ROUNDING_TESTS_float): Undefine before defining.
11593 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11594 (ROUNDING_TESTS_float): Undefine before defining.
11595 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11596 (ROUNDING_TESTS_float): Undefine before defining.
11597 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11598 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11599 not define here.
11600 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11601 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11602 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11603 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11604 (ROUNDING_TESTS_float): Do not define here.
11605 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11606 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11607 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11608 (ROUNDING_TESTS_float): Likewise.
11609 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11610 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11611 * sysdeps/mips/math-tests.h [__mips_soft_float]
11612 (ROUNDING_TESTS_float): Likewise.
11613 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11614 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11615 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11616 (ROUNDING_TESTS_double): Likewise.
11617 (ROUNDING_TESTS_long_double): Likewise.
11618
38b0593e
TK
116192018-08-21 Tobias Klauser <tklauser@distanz.ch>
11620
11621 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11622 (PF_XDP): New macro.
11623 (AF_XDP): New macro.
11624 (SOL_XDP): New macro.
11625
5cd7dbde
JM
116262018-08-21 Joseph Myers <joseph@codesourcery.com>
11627
11628 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11629 (TCP_INQ): Likewise.
11630 (TCP_CM_INQ): Likewise.
11631 (TCP_REPAIR_ON): Likewise.
11632 (TCP_REPAIR_OFF): Likewise.
11633 (TCP_REPAIR_OFF_NO_WP): Likewise.
11634 (struct tcp_zerocopy_receive): New type.
11635
aa42b3db
FW
116362018-08-21 Florian Weimer <fweimer@redhat.com>
11637
11638 * support/support.h (support_descriptor_supports_holes): Declare.
11639 * support/Makefile (libsupport-routines): Add
11640 support_descriptor_supports_holes.
11641 * support/support_descriptor_supports_holes.c: New file.
11642 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11643 and stop testing if holes are not supported.
11644 * io/test-lfs.c (do_prepare): Likewise.
11645 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11646 Likewise.
11647 * timezone/tst-tzset.c (create_tz_file): Likewise.
11648 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11649 variable.
11650 (do_prepare): Set it.
11651 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11652
c7627f41
FW
116532018-08-21 Florian Weimer <fweimer@redhat.com>
11654
11655 [BZ #17248]
11656 * Makeconfig (+cflags): Do not sort (and deduplicate).
11657
ef939d92
FW
116582018-08-21 Florian Weimer <fweimer@redhat.com>
11659
11660 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11661 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11662
88ffb39d
FW
116632018-08-20 Florian Weimer <fweimer@redhat.com>
11664
11665 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11666 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11667
17419540
JM
116682018-08-20 Joseph Myers <joseph@codesourcery.com>
11669
e6edd40d
JM
11670 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11671 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11672 and ssi_arch members.
11673
17419540
JM
11674 * elf/elf.c (NT_VMCOREDD): New macro.
11675 (AT_MINSIGSTKSZ): Likewise.
11676
fa78896b
RS
116772018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11678
11679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11680 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11681 s_cosf-ppc64 and s_cosf-power8.
11682 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11683 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11684 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11685 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11692 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11693 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11694
86a6c75a
FW
116952018-08-17 Florian Weimer <fweimer@redhat.com>
11696
11697 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11698
35cfefd9
FW
116992018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11700
11701 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11702
6413fcde
FW
117032018-08-16 Florian Weimer <fweimer@redhat.com>
11704
11705 * configure.ac: Add --with-nonshared-cflags option.
11706 * config.make.in (extra-nonshared-cflags): Set variable.
11707 * Makeconfig (CFLAGS-.oS): Use it.
11708 * manual/install.texi (Configuring and compiling): Document
11709 --with-nonshared-cflags.
11710 * configure: Regenerate.
11711 * INSTALL: Likewise.
11712
93a2584c
FW
117132018-08-16 Florian Weimer <fweimer@redhat.com>
11714
11715 * Makeconfig (ASFLAGS): Always append required assembler flags.
11716
f6f275d2 117172018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
11718
11719 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11720 (malloc_consolidate): Likewise.
11721
30a17d8c
PC
117222018-08-16 Pochang Chen <johnchen902@gmail.com>
11723
11724 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11725
953a5a4a
SP
117262018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11727
34f86d61
SP
11728 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11729 every strlen call.
11730
953a5a4a
SP
11731 * benchtests/bench-strlen.c: Print performance numbers in json.
11732
7793ad7a
RS
117332018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11734
11735 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11736 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11737 only for little endian.
11738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11739 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11740 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11741 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11742 Add check for little endian.
11743 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11744 (__strcmp_power9): Add check for little endian.
11745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11746 Add check for little endian.
11747 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11748 (__strncmp_power9): Add check for little endian.
11749 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11750 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11751 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11752 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11753 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11754
436e4d5b
SP
117552018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11756
11757 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11758 [!STRLEN](STRLEN): Set to __strlen.
11759 * sysdeps/aarch64/multiarch/strlen.c: New file.
11760 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11761 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11762 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11763 (__libc_ifunc_impl_list): Add strlen.
11764 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11765 strlen_generic and strlen_asimd.
11766
126c4e3f
WD
117672018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11768
11769 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11770 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11771 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11772
49acec17
WD
117732018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11774
11775 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11776
fdb16de3
FW
117772018-08-14 Florian Weimer <fweimer@redhat.com>
11778
11779 [BZ #23519]
11780 * include/stdio.h (__vfxprintf): Declare.
11781 * stdio-common/fxprintf.c (__vfxprintf): New function.
11782 (__fxprintf): Call it.
11783 * misc/err.c (convert_and_print): Remove function.
11784 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11785 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11786 * misc/Makefile (tests): Add tst-warn-wide.
11787 * misc/tst-warn-wide.c: New file.
11788
599cf397
WD
117892018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11790 Szabolcs Nagy <szabolcs.nagy@arm.com>
11791
11792 * NEWS: Mention sinf, cosf, sincosf.
11793 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11794 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11795 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11796 constants rather than including generic sincosf.h.
11797 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11798 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11799 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11800 (reduced_cos): Remove.
11801 (sinf_poly): New function.
11802 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11803
e95c6f61
FW
118042018-08-14 Florian Weimer <fweimer@redhat.com>
11805
11806 [BZ #23521]
11807 [BZ #23522]
11808 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11809 processing, bail out if no room, and close the stream before
11810 returning ERANGE.
11811 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11812 (tst-nss-files-alias-leak): Link with libdl.
11813 (tst-nss-files-alias-leak.out): Depend on nss_files.
11814
11815 * nss/tst-nss-files-alias-leak.c: New file.
11816
2d7acfac
FW
118172018-08-14 Florian Weimer <fweimer@redhat.com>
11818
11819 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11820 server_user, stat_user.
11821
f3cd0904
JM
118222018-08-13 Joseph Myers <joseph@codesourcery.com>
11823
17b26500
JM
11824 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11825 version to 4.18.
11826 (io_pgetevents): New syscall.
11827 (rseq): Likewise.
11828
3c1622eb
JM
11829 * manual/install.texi (Configuring and compiling): Do not list
11830 tools used for testing pretty printers here.
11831 (Tools for Compilation): List Python, PExpect and GDB here.
11832 Update descriptions of uses of Perl and Python.
11833 * INSTALL: Regenerate.
11834
f3cd0904
JM
11835 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11836 version to 4.18.
11837
b7b52b9d
FW
118382018-08-13 Florian Weimer <fweimer@redhat.com>
11839
11840 * misc/error.c (error): Add missing va_end call.
11841 (error_at_line): Likewise.
11842
01780188
FW
118432018-08-13 Florian Weimer <fweimer@redhat.com>
11844
11845 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11846
44727aec
SP
118472018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11848
8cac1f26
SP
11849 * benchtests/scripts/benchout.schema.json (properties): Add
11850 new properties.
11851
44727aec
SP
11852 * benchtests/bench-skeleton.c (main): Add duration and
11853 iterations attributes.
11854
c77bf91b
PE
118552018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11856
11857 regex: Gnulib unibyte RRI uses bytes not chars
11858 Adjust the non-glibc code to agree with what Gawk needs for
11859 rational range interpretation (RRI) for regular expression ranges.
11860 In unibyte locales, Gawk wants ranges to use the underlying byte
11861 rather than the character code point. This change does not affect
11862 glibc proper.
11863 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11864 In unibyte locales, use the byte value rather than
11865 running it through btowc.
11866
2ce7ba7d
JM
118672018-08-10 Joseph Myers <joseph@codesourcery.com>
11868
11869 * sysdeps/generic/math-tests-snan.h: New file.
11870 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11871 (SNAN_TESTS_float): Do not define here.
11872 (SNAN_TESTS_double): Likewise.
11873 (SNAN_TESTS_long_double): Likewise.
11874 (SNAN_TESTS_float128): Likewise.
11875 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11876 * sysdeps/i386/fpu/math-tests.h: Remove file.
11877 * sysdeps/ia64/math-tests-snan.h: New file.
11878 * sysdeps/ia64/math-tests.h: Remove file.
11879 * sysdeps/x86/math-tests.h: Likewise.
11880 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11881
ea5c662c
WD
118822018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11883 Szabolcs Nagy <szabolcs.nagy@arm.com>
11884
11885 * math/Makefile: Add s_sincosf_data.c.
11886 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11887 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11888 (sincosf_poly): Likewise.
11889 (reduce_small): Likewise.
11890 (reduce_large): Likewise.
11891 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11892 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11893 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11894 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11895
43cfdf8f
SN
118962018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11897 Szabolcs Nagy <szabolcs.nagy@arm.com>
11898
11899 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11900 (converttoint): Use lround.
11901 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11902 document the semantics when TOINT_INTRINSICS is set.
11903 (converttoint): Likewise.
11904 (TOINT_RINT): Remove.
11905 (TOINT_SHIFT): Remove.
11906 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11907 path.
11908
69065288
FW
119092018-08-10 Florian Weimer <fweimer@redhat.com>
11910
11911 [BZ #23497]
11912 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11913 function.
11914 (__old_getdents64): Use getdents64. Convert entries without
11915 moving them.
11916 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11917 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11918 tst-readdir64-compat.
11919
8f135efc
IL
119202018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11921
11922 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11923 Fix unwind.
11924
71c01af5
IL
119252018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11926
11927 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11928 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11929 code to s390x-mcount.h and #include it.
11930 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11931 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11932 (__fentry__): Add.
11933
8d997d22
IL
119342018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11935
11936 * stdlib/Versions: Remove __fentry__.
11937 * sysdeps/i386/Versions: Add __fentry__.
11938 * sysdeps/x86_64/Versions: Add __fentry__.
11939
69e2444a
IL
119402018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11941
11942 * sysdeps/s390/Makefile: Register the new tests.
11943 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11944 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11945 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11946 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11947 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11948 * sysdeps/s390/tst-dl-runtime.c: New file.
11949
bde6320f
IL
119502018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11951
11952 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11953 Do not clobber R0.
11954
5755f5e4
IL
119552018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11956
11957 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11958 Do not clobber R0.
11959
c8ad8522
IL
119602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11961
11962 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11963 Do not clobber R0.
11964
b215eee1
IL
119652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11966
11967 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11968 Do not clobber R0.
11969
329c6fec
IL
119702018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11971
11972 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11973 Use symbolic offsets for stack variables.
11974
0fb7afa2
IL
119752018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11976
11977 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11978 Use symbolic offsets for stack variables.
11979
6954059a
IL
119802018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11981
11982 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11983 Use symbolic offsets for stack variables.
11984
c7099673
IL
119852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11986
11987 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11988 Use symbolic offsets for stack variables.
11989
2813e41e
JM
119902018-08-09 Joseph Myers <joseph@codesourcery.com>
11991
11992 * math/gen-libm-test.py: New file.
11993 * math/gen-libm-test.pl: Remove.
11994 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11995 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11996 gen-libm-test.pl.
11997 ($(libm-test-c-noauto-obj)): Likewise.
11998 ($(libm-test-c-auto-obj)): Likewise.
11999 ($(libm-test-c-narrow-obj)): Likewise.
12000 (regen-ulps): Likewise.
12001 * math/README.libm-test: Update references to gen-libm-test.pl.
12002 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12003 referencing gen-libm-test.pl.
12004 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12005 * math/libm-test-support.c: Likewise.
12006 * math/libm-test-support.h: Likewise.
12007 * sysdeps/generic/libm-test-ulps: Likewise.
12008
be64b194
SP
120092018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12010
12011 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12012 Fix value.
12013
140137fb
JM
120142018-08-08 Joseph Myers <joseph@codesourcery.com>
12015
12016 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12017 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12018
b5403eca
ST
120192018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12020
12021 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12022 symbols.
8ac0f9e6
ST
12023 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12024 __pthread_setspecific): Add hidden proto.
12025 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12026 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 12027
014efdd7
SP
120282018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12029
12030 * benchtests/bench-string.h (buf1_size, buf2_size): New
12031 variables.
12032 (init_sizes): New function.
12033 (test_init): Use it.
12034 (alloc_buf, exit_error): New functions.
12035 (alloc_bufs): Use ALLOC_BUF.
12036 (realloc_bufs): Remove.
12037 * benchtests/bench-memcmp.c (do_test): Adjust.
12038 * benchtests/bench-memset-large.c (do_test): Likewise.
12039 * benchtests/bench-memset-walk.c (do_test): Likewise.
12040 * benchtests/bench-memset.c (do_test): Likewise.
12041 * benchtests/bench-strncmp.c (do_test): Likewise.
12042
92a4cba7
AS
120432018-08-06 Andreas Schwab <schwab@suse.de>
12044
12045 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12046 of CONST_THREAD_AREA.
12047
fb4c32ae
L
120482018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12049
12050 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12051 (STATE_SAVE_MASK): Likewise.
12052 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12053 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12054 (STATE_SAVE_MASK): Likewise.
12055 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12056 instead of <cpu-features.h>.
12057
bf418187
DD
120582018-08-03 DJ Delorie <dj@redhat.com>
12059
12060 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 12061 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 12062
bb17621a
DD
12063 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12064
ea705eb5
JM
120652018-08-03 Joseph Myers <joseph@codesourcery.com>
12066
12067 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12068 after TEST_* calls.
12069 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12070 * math/libm-test-logb.inc (logb_test_data): Likewise.
12071
284f42bc
WD
120722018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12073
12074 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12075 * string/strstr.c (AVAILABLE): Likewise.
12076
430388d5
L
120772018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12078
12079 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12080 <init-arch.h>.
12081 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12082 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12083 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12084
c5760aa9
CD
120852018-08-03 Carlos O'Donell <carlos@redhat.com>
12086
12087 * po/be.po: Update translation.
12088
6b535b84
CD
12089 * po/be.po: Update translation.
12090
ae67f2e5
L
120912018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12092
12093 * sysdeps/x86/cpu-features-offsets.sym
12094 (rtld_global_ro_offsetof): Removed.
12095 (CPU_FEATURES_SIZE): Likewise.
12096 (CPUID_OFFSET): Likewise.
12097 (CPUID_SIZE): Likewise.
12098 (CPUID_EAX_OFFSET): Likewise.
12099 (CPUID_EBX_OFFSET): Likewise.
12100 (CPUID_ECX_OFFSET): Likewise.
12101 (CPUID_EDX_OFFSET): Likewise.
12102 (FAMILY_OFFSET): Likewise.
12103 (MODEL_OFFSET): Likewise.
12104 (FEATURE_OFFSET): Likewise.
12105 (FEATURE_SIZ): Likewise.
12106 (COMMON_CPUID_INDEX_1): Likewise.
12107 (COMMON_CPUID_INDEX_7): Likewise.
12108 (FEATURE_INDEX_1): Likewise.
12109 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12110
6b5c8607 121112018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
12112
12113 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12114 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12115 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12116 (install-locales): Depend on install-locale-archive.
12117 (install-locale-archive): Define.
7b7adbd8 12118 (install-locale-files): Define.
08a5ee14
CD
12119 (build-one-locale): Define macro.
12120 * manual/install.texi (Running make install): Document.
12121 * manual/INSTALL: Regenerate.
12122
525691bd
SP
121232018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12124
d67d634b
SP
12125 * benchtests/scripts/compare_strings.py: Import traceback.
12126 (parse_file): Pretty-print error.
12127
525691bd
SP
12128 * NEWS: Mention the change.
12129 * elf/dl-tunables.list: Rename tune namespace to cpu.
12130 * sysdeps/powerpc/dl-tunables.list: Likewise.
12131 * sysdeps/x86/dl-tunables.list: Likewise.
12132 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12133 cpu.name.
12134 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12135 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12136 * manual/README.tunables: Likewise.
12137 * manual/tunables.texi: Likewise.
12138 * sysdeps/powerpc/cpu-features.c: Likewise.
12139 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12140 (init_cpu_features): Likewise.
12141 * sysdeps/x86/cpu-features.c: Likewise.
12142 * sysdeps/x86/cpu-features.h: Likewise.
12143 * sysdeps/x86/cpu-tunables.c: Likewise.
12144 * sysdeps/x86_64/Makefile: Likewise.
12145 * sysdeps/x86/dl-cet.c: Likewise.
12146
506d7fb1
JM
121472018-08-02 Joseph Myers <joseph@codesourcery.com>
12148
12149 [BZ #23479]
12150 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12151 [__mips_hard_float].
12152 (FE_UNDERFLOW): Likewise.
12153 (FE_OVERFLOW): Likewise.
12154 (FE_DIVBYZERO): Likewise.
12155 (FE_INVALID): Likewise.
12156 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12157 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12158 (FE_UPWARD): Likewise.
12159 (FE_DOWNWARD): Likewise.
12160 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12161 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12162 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12163 [__mips_hard_float].
12164 (FP_ROUNDMODE): Likewise.
12165 (FP_RND_NEAREST): Likewise.
12166 (FP_RND_ZERO): Likewise.
12167 (FP_RND_PINF): Likewise.
12168 (FP_RND_MINF): Likewise.
12169 (FP_EX_INVALID): Likewise.
12170 (FP_EX_OVERFLOW): Likewise.
12171 (FP_EX_UNDERFLOW): Likewise.
12172 (FP_EX_DIVZERO): Likewise.
12173 (FP_EX_INEXACT): Likewise.
12174 (FP_INIT_ROUNDMODE): Likewise.
12175 * sysdeps/mips/nofpu/fesetenv.c: New file.
12176 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12177
f6dcefbe
JM
121782018-08-01 Joseph Myers <joseph@codesourcery.com>
12179
12180 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12181 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12182 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12183 conditional on [FE_UPWARD].
12184
fa67ba06
PE
121852018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12186
12187 regex: fix memory leak in Gnulib
12188 Problem and fix reported by Assaf Gordon in:
12189 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12190 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12191 range_ends members too, as they are defined in 'struct
12192 re_charset_t' even if not _LIBC. This affects only Gnulib.
12193
82c80ac2
L
121942018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12197 ...
12198 (get_common_indices): This.
12199 (init_cpu_features): Updated.
12200
c0e7e2c1
JM
122012018-08-01 Joseph Myers <joseph@codesourcery.com>
12202
46f8cf57
JM
12203 * sysdeps/generic/math-tests-snan-payload.h: New file.
12204 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12205 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12206 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12207 * sysdeps/generic/math-tests.h: Include
12208 <math-tests-snan-payload.h>.
12209 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12210 * sysdeps/hppa/math-tests.h: Remove file.
12211 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12212 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12213 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12214 Likewise.
12215
c0e7e2c1
JM
12216 * sysdeps/generic/math-tests-snan-cast.h: New file.
12217 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12218 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12219 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12220 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12221
74939c83
CD
122222018-08-01 Carlos O'Donel <carlos@redhat.com>
12223
b029723b
CD
12224 * version.h (RELEASE): Set to "development".
12225 (VERSION): Set to "2.28.9000".
12226 * NEWS (2.29): New section.
12227
3c03baca
CD
12228 * version.h (RELEASE): Set to "stable".
12229 (VERSION): Set to "2.28".
12230 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12231 * NEWS: Add the list of bugs fixed in 2.28.
12232
74939c83
CD
12233 * po/ca.po: Update to latest version.
12234 * po/cs.po: Likewise
12235 * po/da.po: Likewise
12236 * po/el.po: Likewise
12237 * po/eo.po: Likewise
12238 * po/es.po: Likewise
12239 * po/fi.po: Likewise
12240 * po/fr.po: Likewise
12241 * po/gl.po: Likewise
12242 * po/hu.po: Likewise
12243 * po/ia.po: Likewise
12244 * po/id.po: Likewise
12245 * po/it.po: Likewise
12246 * po/ja.po: Likewise
12247 * po/ko.po: Likewise
12248 * po/lt.po: Likewise
12249 * po/nb.po: Likewise
12250 * po/nl.po: Likewise
12251 * po/pt_BR.po: Likewise
12252 * po/ru.po: Likewise
12253 * po/rw.po: Likewise
12254 * po/sk.po: Likewise
12255 * po/sl.po: Likewise
12256 * po/tr.po: Likewise
12257 * po/zh_CN.po: Likewise
12258 * po/zh_TW.po: Likewise
12259
d4b54bdf
ST
122602018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12261
12262 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12263 initialization...
12264 (init): ... before initializing libpthread.
12265
42fc12ef
ST
12266 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12267 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12268 (__mach_setup_tls): ... new function.
12269 (mach_setup_tls): New alias.
12270 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12271 __mach_setup_thread.
12272 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12273 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12274 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12275 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12276
6cca855e
CD
122772018-07-31 Carlos O'Donell <carlos@redhat.com>
12278
f650932b
CD
12279 * manual/install.texi: Update versions.
12280 * INSTALL: Regenerate.
12281
6cca855e
CD
12282 * manual/contrib.texi (Contributors): Update contributions.
12283
07fdea47
CD
122842018-07-31 Carlos O'Donell <carlos@redhat.com>
12285
12286 * po/be.po: Update translations.
12287
63d5fad4
AZ
122882018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12289
12290 * sysdeps/sh/libm-test-ulps: Update.
12291
1ff712a6
CD
122922018-07-30 Carlos O'Donell <carlos@redhat.com>
12293
12294 * po/bg.po: Update translations.
12295 * po/de.po: Likewise.
12296 * po/hr.po: Likewise.
12297 * po/pt_BR.po: Likewise.
12298 * po/sv.po: Likewise.
12299 * po/vi.po: Likewise.
12300
98864ed0
L
123012018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 [BZ #23467]
12304 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12305 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12306 (CFLAGS-tst-cet-property-1.o): New.
12307 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12308 ($(objpfx)tst-cet-property-2): Likewise.
12309 ($(objpfx)tst-cet-property-2.out): Likewise.
12310 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12311 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12312 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12313 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12314 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12315
c92a00d8
L
123162018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12317
12318 [BZ #23458]
12319 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12320
99bc6241
ST
123212018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12322
12323 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12324 __sbrk): Do not set attribute_hidden.
af86087f 12325 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
12326 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12327 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12328
bcb1c4af
CD
123292018-07-27 Carlos O'Donell <carlos@redhat.com>
12330
12331 * po/uk.po: Update translations.
12332 * po/cs.po: Likewise.
12333 * po/pl.po: Likewise.
12334
4591b7db
L
123352018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12336
12337 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12338 parse beyond the note end.
12339
2c6da2f4
AZ
123402018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12341
12342 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12343 kernel does not support OFD locks.
12344 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12345
20365a31
ST
123462018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12347
12348 * sysdeps/mach/hurd/Versions (libc): Make __access and
12349 __access_noerrno external so they can override the ld symbols.
12350 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12351 __writev, __open64, __access_noerrno extern so they can be overrided.
12352 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12353 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12354
cb1a43db
CD
123552018-07-26 Carlos O'Donell <carlos@redhat.com>
12356
12357 * po/libc.pot: Regenerate.
12358
74759ae5
JM
123592018-07-26 Joseph Myers <joseph@codesourcery.com>
12360
12361 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12362
da80612d
L
123632018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12364
12365 [BZ #23459]
12366 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12367 function.
12368 (init_cpu_features): Call get_extended_indices for both Intel
12369 and AMD CPUs.
12370 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12371 Remove "for AMD" comment.
12372
65d87ade
L
123732018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12374
12375 [BZ # 23456]
12376 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12377 COMMON_CPUID_INDEX_80000001.
12378
c9dc4d51
SL
123792018-07-26 Stefan Liebler <stli@linux.ibm.com>
12380
12381 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12382 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12383
cfba5dbb
FW
123842018-07-26 Florian Weimer <fweimer@redhat.com>
12385
12386 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12387 aliases for symbols not in the implementation namespace.
12388
6b5c8607 123892018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
12390
12391 [BZ #23393]
12392 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12393 lowercase in LATIN script.
12394 * localedata/Makefile (test-input): Add en_US.UTF-8.
12395 * localedata/en_US.UTF-8.in: New file.
12396 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12397 and restore old tests.
12398 * posix/tst-regexloc.c (do_test): Add back range expression test.
12399
3fb455b3
L
124002018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12401
12402 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12403
d6499b70
AZ
124042018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12405
12406 * nptl/threads.h: Move to ...
12407 * sysdeps/nptl/threads.h: ... here.
12408 * sysdeps/hurd/stdc-predef.h: New file.
12409
08ac6bed
L
124102018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12411
12412 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12413 tst-cet-setcontext-1 if CET is enabled.
12414 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12415 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12416
9faaf938
AZ
124172018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12418
12419 * include/threads.h: Move to ...
12420 * sysdeps/nptl/threads.h: ... here.
12421 * sysdeps/htl/threads.h: New file.
12422 * conform/Makefile (linknamespace-libs-ISO11): Use
12423 static-thread-library instead of linking libpthread.
12424 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12425
d6b8f847
FW
124262018-07-25 Florian Weimer <fweimer@redhat.com>
12427
12428 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12429 nanoseconds into seconds.
12430 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12431 (do_test): Likewise.
12432 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12433 (do_test): Likewise. Avoid nanosecond overflow and spurious
12434 timeouts due to system load.
12435 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12436 (child_wait): Increment it.
12437 (do_test): Wait as long as necessary until all expected threads
12438 have arrived.
12439
25123a1c
L
124402018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12441 H.J. Lu <hongjiu.lu@intel.com>
12442
12443 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12444 __ssp.
12445 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12446 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12447 (__push___start_context): New.
12448 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12449 <asm/prctl.h>.
12450 (__getcontext): Record the current shadow stack base. Save the
12451 caller's shadow stack pointer and base.
12452 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12453 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12454 (__push___start_context): New prototype.
12455 (__makecontext): Call __push___start_context to allocate a new
12456 shadow stack, push __start_context onto the new stack as well
12457 as the new shadow stack.
12458 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12459 <asm/prctl.h>.
12460 (__setcontext): Restore the target shadow stack.
12461 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12462 <asm/prctl.h>.
12463 (__swapcontext): Record the current shadow stack base. Save
12464 the caller's shadow stack pointer and base. Restore the target
12465 shadow stack.
12466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12467 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12468 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12469
375a4844
L
124702018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12471
12472 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12473 tst-setcontext8 and tst-setcontext9.
12474 * stdlib/tst-setcontext6.c: New file.
12475 * stdlib/tst-setcontext7.c: Likewise.
12476 * stdlib/tst-setcontext8.c: Likewise.
12477 * stdlib/tst-setcontext9.c: Likewise.
12478
bd4f7903
L
124792018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12480
12481 * stdlib/Makefile ((tests): Add tst-setcontext5.
12482 * stdlib/tst-setcontext5.c: New file.
12483
7e28f203
L
124842018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * stdlib/Makefile (tests): Add tst-setcontext4.
12487 * stdlib/tst-setcontext4.c: New file.
12488
8516ad2d
L
124892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12490
12491 * stdlib/Makefile (tests): Add tst-swapcontext1.
12492 * stdlib/tst-swapcontext1.c: New test.
12493
fddcd003
L
124942018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12495
12496 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12497 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12498 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12499 and tst-cet-legacy-4c.
12500 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12501 and tst-cet-legacy-mod-4.
12502 (CFLAGS-tst-cet-legacy-2.c): New.
12503 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12504 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12505 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12506 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12507 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12508 ($(objpfx)tst-cet-legacy-1): Likewise.
12509 ($(objpfx)tst-cet-legacy-2): Likewise.
12510 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12511 ($(objpfx)tst-cet-legacy-2a): Likewise.
12512 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12513 ($(objpfx)tst-cet-legacy-4): Likewise.
12514 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12515 ($(objpfx)tst-cet-legacy-4a): Likewise.
12516 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12517 (tst-cet-legacy-4a-ENV): Likewise.
12518 ($(objpfx)tst-cet-legacy-4b): Likewise.
12519 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12520 (tst-cet-legacy-4b-ENV): Likewise.
12521 ($(objpfx)tst-cet-legacy-4c): Likewise.
12522 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12523 (tst-cet-legacy-4c-ENV): Likewise.
12524 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12525 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12526 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12527 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12528 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12529 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12530 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12531 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12532 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12533 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12534 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12535
9aa3113a
L
125362018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12537
12538 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12539 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12540 with ssp_base.
12541 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12542 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12543 with ssp_base.
12544
9c79cec8
AS
125452018-07-25 Andreas Schwab <schwab@suse.de>
12546
12547 [BZ #23442]
12548 * locale/weightwc.h (findidx): Handle the case where usrc is a
12549 prefix of cp but one character too short.
12550
969c3355
AZ
125512018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12552
12553 * NEWS: Add ISO C threads addition.
12554
e0f9c462
FW
125552018-07-24 Florian Weimer <fweimer@redhat.com>
12556
12557 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12558 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12559 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12560 4.13.
12561
394df381
L
125622018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12563
12564 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12565 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12566 <sys/prctl.h> and <asm/prctl.h>.
12567 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12568 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12569 and <asm/prctl.h>.
12570 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12571 ARCH_CET_LEGACY_BITMAP.
12572 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12573 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12574 * sysdeps/x86/libc-start.c: Include <startup.h>.
12575
46545530
FW
125762018-07-24 Florian Weimer <fweimer@redhat.com>
12577
12578 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12579 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12580
6b5c8607 125812018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 12582 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
12583 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12584
12585 [BZ #14092]
9d0a979e
RJ
12586 * manual/debug.texi: Update adjacent chapter name.
12587 * manual/probes.texi: Likewise.
12588 * manual/threads.texi (ISO C Threads): New section.
12589 (POSIX Threads): Convert to a section.
12590
125912018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12592 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12593
12594 [BZ# 14092]
0a07288b
AZ
12595 * nptl/Makefile (tests): Add new test files.
12596 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12597 * nptl/tst-cnd-basic.c: Likewise.
12598 * nptl/tst-cnd-broadcast.c: Likewise.
12599 * nptl/tst-cnd-timedwait.c: Likewise.
12600 * nptl/tst-mtx-basic.c: Likewise.
12601 * nptl/tst-mtx-recursive.c: Likewise.
12602 * nptl/tst-mtx-timedlock.c: Likewise.
12603 * nptl/tst-mtx-trylock.c: Likewise.
12604 * nptl/tst-thrd-basic.c: Likewise.
12605 * nptl/tst-thrd-detach.c: Likewise.
12606 * nptl/tst-thrd-sleep.c: Likewise.
12607 * nptl/tst-tss-basic.c: Likewise.
12608
ce7528f6
AZ
126092018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12610
c6dd669b
AZ
12611 [BZ #14092]
12612 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12613 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12614 symbols.
12615 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12628 Likewise.
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12630 Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12632 Likewise.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12643 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12644 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12645 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12646 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12647 Likewise.
12648 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12660 ikewise.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12663 Likewise.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12665 Likewise.
12666 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12674
78d40132
AZ
12675 [BZ #14092]
12676 * conform/data/threads.h-data (thread_local): New macro.
12677 (TSS_DTOR_ITERATIONS): Likewise.
12678 (tss_t): New type.
12679 (tss_dtor_t): Likewise.
12680 (tss_create): New function.
12681 (tss_get): Likewise.
12682 (tss_set): Likewise.
12683 (tss_delete): Likewise.
12684 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12685 tss_get, and tss_set objects.
12686 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12687 * nptl/tss_create.c: New file.
12688 * nptl/tss_delete.c: Likewise.
12689 * nptl/tss_get.c: Likewise.
12690 * nptl/tss_set.c: Likewise.
12691 * sysdeps/nptl/threads.h (thread_local): New define.
12692 (TSS_DTOR_ITERATIONS): Likewise.
12693 (tss_t): New typedef.
12694 (tss_dtor_t): Likewise.
12695 (tss_create): New prototype.
12696 (tss_get): Likewise.
12697 (tss_set): Likewise.
12698 (tss_delete): Likewise.
12699
918311a3
AZ
12700 [BZ #14092]
12701 * conform/data/threads.h-data (cnd_t): New type.
12702 (cnd_init): New function.
12703 (cnd_signal): Likewise.
12704 (cnd_broadcast): Likewise.
12705 (cnd_wait): Likewise.
12706 (cnd_timedwait): Likewise.
12707 (cnd_destroy): Likewise.
12708 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12709 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12710 object.
12711 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12712 * nptl/cnd_broadcast.c: New file.
12713 * nptl/cnd_destroy.c: Likewise.
12714 * nptl/cnd_init.c: Likewise.
12715 * nptl/cnd_signal.c: Likewise.
12716 * nptl/cnd_timedwait.c: Likewise.
12717 * nptl/cnd_wait.c: Likewise.
12718 * sysdeps/nptl/threads.h (cnd_t): New type.
12719 (cnd_init): New prototype.
12720 (cnd_signa): Likewise.
12721 (cnd_broadcast): Likewise.
12722 (cnd_wait): Likewise.
12723 (cnd_timedwait): Likewise.
12724 (cnd_destroy): Likewise.
12725
3c20a679
AZ
12726 [BZ #14092]
12727 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12728 (once_flag): New type.
12729 (call_once): New function.
12730 * nptl/Makefile (libpthread-routines): Add call_once object.
12731 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12732 * nptl/call_once.c: New file.
12733 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12734 (once_flag): New type.
12735 (call_once): New prototype.
12736
18d59c1b
AZ
12737 [BZ #14092]
12738 * conform/data/threads.h-data (mtx_plain): New constant.
12739 (mtx_recursive): Likewise.
12740 (mtx_timed): Likewise.
12741 (mtx_t): New type.
12742 (mtx_init): New function.
12743 (mtx_lock): Likewise.
12744 (mtx_timedlock): Likewise.
12745 (mtx_trylock): Likewise.
12746 (mtx_unlock): Likewise.
12747 (mtx_destroy): Likewise.
12748 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12749 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12750 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12751 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12752 * nptl/mtx_destroy.c: New file.
12753 * nptl/mtx_init.c: Likewise.
12754 * nptl/mtx_lock.c: Likewise.
12755 * nptl/mtx_timedlock.c: Likewise.
12756 * nptl/mtx_trylock.c: Likewise.
12757 * nptl/mtx_unlock.c: Likewise.
12758 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12759 (mtx_recursive): Likewise.
12760 (mtx_timed): Likewise.
12761 (mtx_t): New type.
12762 (mtx_init): New prototype.
12763 (mtx_lock): Likewise.
12764 (mtx_timedlock): Likewise.
12765 (mtx_trylock): Likewise.
12766 (mtx_unlock): Likewise.
12767 (mtx_destroy): Likewise.
12768
ce7528f6
AZ
12769 [BZ #14092]
12770 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12771 (linknamespace-libs-ISO11): Add libpthread.a.
12772 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12773 functions.
12774 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12775 * nptl/Makefile (headers): Add threads.h.
12776 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12777 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12778 thrd_yield.
12779 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12780 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12781 thrd_join, thrd_sleep, and thrd_yield symbols.
12782 * nptl/descr.h (struct pthread): Add c11 field.
12783 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12784 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12785 routine with expected function prototype.
12786 (__pthread_create_2_1): Add C11 threads check based on attribute
12787 value.
12788 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12789 * nptl/thrd_create.c: New file.
12790 * nptl/thrd_current.c: Likewise.
12791 * nptl/thrd_detach.c: Likewise.
12792 * nptl/thrd_equal.c: Likewise.
12793 * nptl/thrd_exit.c: Likewise.
12794 * nptl/thrd_join.c: Likewise.
12795 * nptl/thrd_priv.h: Likewise.
12796 * nptl/thrd_sleep.c: Likewise.
12797 * nptl/thrd_yield.c: Likewise.
12798 * include/threads.h: Likewise.
12799
e27f41ba
L
128002018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 * bits/indirect-return.h: New file.
12803 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12804 * sysdeps/x86/bits/indirect-return.h: Likewise.
12805 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12806 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12807 (swapcontext): Add __INDIRECT_RETURN.
12808 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12809 (prepare_test_buffer): Use it.
12810
21526a50
AS
128112018-07-24 Andreas Schwab <schwab@suse.de>
12812
12813 [BZ #23448]
12814 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12815 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12816
3650e1d9
L
128172018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12818
12819 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12820 Redefine if shadow stack is enabled.
12821 (SYSCALL_ERROR_LABEL): Likewise.
12822 (__vfork): Pop shadow stack and jump back to to caller directly
12823 when shadow stack is in use.
12824 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12825 Redefine if shadow stack is enabled.
12826 (SYSCALL_ERROR_LABEL): Likewise.
12827 (__vfork): Pop shadow stack and jump back to to caller directly
12828 when shadow stack is in use.
12829
ca027e0f
L
128302018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12831
12832 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12833 enabled.
12834 (foo): Likewise.
12835 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12836 (foo): Likewise.
12837
b99f1c95
JM
128382018-07-20 Joseph Myers <joseph@codesourcery.com>
12839
12840 * scripts/build-many-glibcs.py (Context.checkout): Default
12841 binutils version to 2.31 branch.
12842
c8fabb84
ZL
128432018-07-20 Zong Li <zong@andestech.com>
12844
12845 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12846 URL of gcc's tarball.
12847
786658a0
FW
128482018-07-20 Florian Weimer <fweimer@redhat.com>
12849
12850 [BZ #23396]
12851 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12852 not compare an extra byte after the end of the weights.
12853
46f2474e
ST
128542018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12855
12856 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12857 to 1.
8ba1520e
ST
12858 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12859 hidden prototypes.
12860 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12861 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
12862 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12863 list of libraries whose stack executability is expected.
12864 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12865 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12866 variable.
12867 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12868 libc.so libpthread.so.
46f2474e 12869
60088242
TS
128702018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12871
12872 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12873 SOCK_NONBLOCK.
75d5e4a0
TS
12874 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12875 and SOCK_NONBLOCK.
de195be0
TS
12876 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12877 implement __pipe2.
12878 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 12879
1cf4ae7f
LS
128802018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12881
12882 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12883 library to improve command line parsing.
12884 (__main__): make schema file as optional parameter (--schema),
12885 defaulting to benchtests/scripts/benchout.schema.json.
12886 (main): move out of the parsing stuff to __main_  and leave it
12887 only as caller of main comparison functions.
12888
e84bd851
L
128892018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12890
12891 * NEWS: Add a note for Intel CET status.
12892 * manual/install.texi: Likewise.
12893 * INSTALL: Regenerated.
12894
df467d22
QP
128952018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12896
12897 [BZ #23140]
12898 * localedata/locales/oc_FR (mon): Rename to...
12899 (alt_mon): This, then update October (typo fix).
12900 (mon): New content (genitive case, month names preceded by
12901 "de" or "d’").
12902
12903 [BZ #23422]
12904 * localedata/locales/oc_FR (abday): Update all items.
12905 (day): Update Wednesday and Saturday (typo fixes).
12906 (abmon): Update all items, except May.
12907 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12908 (LC_IDENTIFICATION): Bump the revision number and date.
12909 Keep the "category" entries in alphabetic order.
12910 (LC_ADDRESS): Remove no longer needed comment.
12911 (LC_COLLATE): Use “copy "ca_ES"”.
12912 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12913 "name_mrs".
12914
5c112f1b
JM
129152018-07-18 Joseph Myers <joseph@codesourcery.com>
12916
12917 * grp/tst_fgetgrent.c: Include <unistd.h>.
12918 (main): Use mkstemp instead of tmpnam.
12919 * io/test-utime.c (main): Likewise.
12920 * posix/annexc.c (macrofile): Change to modifiable array.
12921 (main): Remove macrofile here.
12922 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12923 macrofile here.
12924 (check_header): Do not remove macrofile here.
12925 * posix/bug-getopt1.c: Include <stdlib.h>.
12926 (do_test): Use mkstemp instead of tmpnam.
12927 * posix/bug-getopt2.c: Include <stdlib.h>.
12928 (do_test): Use mkstemp instead of tmpnam.
12929 * posix/bug-getopt3.c: Include <stdlib.h>.
12930 (do_test): Use mkstemp instead of tmpnam.
12931 * posix/bug-getopt4.c: Include <stdlib.h>.
12932 (do_test): Use mkstemp instead of tmpnam.
12933 * posix/bug-getopt5.c: Include <stdlib.h>.
12934 (do_test): Use mkstemp instead of tmpnam.
12935 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12936 (main): Use mkstemp instead of tmpnam.
12937 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12938 (main): Use mkstemp instead of tmpnam.
12939 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12940 (main): use mkstemp instead of tmpnam.
12941 * stdlib/isomac.c (macrofile): Change to modifiable array.
12942 (main): Remove macrofile here.
12943 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12944 macrofile here.
12945 (check_header): Do not remove macrofile here.
12946
6d90776d
L
129472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12948
12949 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12950 glibc.tune.x86_shstk.
12951
e6c69509
L
129522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12953
12954 * NEWS: Mention --enable-cet.
12955 * manual/install.texi: Document --enable-cet.
12956 * INSTALL: Regenerated.
12957
e2d40a88
L
129582018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12959
12960 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12961 Add _CET_NOTRACK before indirect jump to jump table.
12962
77a8ae09
L
129632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12964
12965 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12966 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12967 to jump table.
12968
90d15dc5
L
129692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12970
12971 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12972 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12973 to jump table.
12974
f1574581
L
129752018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12976
12977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12978 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12979 to jump table.
12980
7fb61336
L
129812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12984 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12985 to jump table.
12986
0a899af0
L
129872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12988
12989 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12990 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12991 to jump table.
12992 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12993
177824e2
L
129942018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12995
12996 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12997 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12998 to jump table.
12999
00e7b76a
L
130002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13001
13002 * sysdeps/i386/i686/multiarch/memset-sse2.S
13003 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13004 to jump table.
13005
7e119cd5
L
130062018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13007
13008 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13009 indirect jump to jump table.
13010
03aaf49b
L
130112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13014 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13015 to jump table.
13016 (MEMCPY): Likewise.
13017
811e9e52
L
130182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13019
13020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13021 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13022 to jump table.
13023 (MEMCPY): Likewise.
13024
8817df42
L
130252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13028 _CET_NOTRACK before indirect jump to jump table.
13029
921595d1
L
130302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13031
13032 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13033 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13034 to jump table.
13035
4ef60d95
L
130362018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13037
13038 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13039 indirect jump to jump table.
13040
61c4aad7
VT
130412018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13042
13043 [BZ #22241]
13044 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13045 (LOCALES): Likewise.
13046 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13047 * localedata/locales/sah_RU: New file.
13048 * localedata/sah_RU.UTF-8.in: New file.
13049
be9ccd27
L
130502018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13051
13052 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13053 "sysdep.h".
13054 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13055 _CET_ENDBR to indirect jump targets and adjust jump destination
13056 for _CET_ENDBR.
13057 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13058 "sysdep.h".
13059 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13060 _CET_ENDBR to indirect jump targets and adjust jump destination
13061 for _CET_ENDBR.
13062 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13063 "sysdep.h".
13064 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13065 _CET_ENDBR to indirect jump targets and adjust jump destination
13066 for _CET_ENDBR.
13067
5efc6777
L
130682018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13069
13070 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13071 _CET_ENDBR.
13072
562837c0
L
130732018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13074
13075 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13076 _CET_ENDBR.
13077 (_dl_tlsdesc_undefweak): Likewise.
13078 (_dl_tlsdesc_dynamic): Likewise.
13079 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13080 (_dl_tlsdesc_resolve_rel): Likewise.
13081 (_dl_tlsdesc_resolve_rela): Likewise.
13082 (_dl_tlsdesc_resolve_hold): Likewise.
13083 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13084 (_dl_tlsdesc_undefweak): Likewise.
13085 (_dl_tlsdesc_dynamic): Likewise.
13086 (_dl_tlsdesc_resolve_rela): Likewise.
13087 (_dl_tlsdesc_resolve_hold): Likewise.
13088
124bcde6
L
130892018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13092 (_fini): Likewise.
13093 * sysdeps/x86_64/crti.S (_init): Likewise.
13094 (_fini): Likewise.
13095
9145f033
RL
130962018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13097
13098 [BZ #23140]
13099 * localedata/locales/os_RU (mon): Rename to...
13100 (alt_mon): This.
13101 (mon): Import from CLDR (genitive case).
13102
ba2ea23d
L
131032018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13104
13105 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13106 cet-tunables.h> when CET is enabled.
13107
f753fa7d
L
131082018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13109
6b5c8607 13110 [BZ #21598]
f753fa7d
L
13111 * configure.ac: Add --enable-cet.
13112 * configure: Regenerated.
13113 * elf/Makefille (all-built-dso): Add a comment.
13114 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13115 Include <dl-prop.h>.
13116 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13117 segment.
13118 * elf/dl-open.c: Include <dl-prop.h>.
13119 (dl_open_worker): Call _dl_open_check.
13120 * elf/rtld.c: Include <dl-prop.h>.
13121 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13122 _rtld_main_check.
13123 * sysdeps/generic/dl-prop.h: New file.
13124 * sysdeps/i386/dl-cet.c: Likewise.
13125 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13126 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13127 * sysdeps/x86/cet-tunables.h: Likewise.
13128 * sysdeps/x86/check-cet.awk: Likewise.
13129 * sysdeps/x86/configure: Likewise.
13130 * sysdeps/x86/configure.ac: Likewise.
13131 * sysdeps/x86/dl-cet.c: Likewise.
13132 * sysdeps/x86/dl-procruntime.c: Likewise.
13133 * sysdeps/x86/dl-prop.h: Likewise.
13134 * sysdeps/x86/libc-start.h: Likewise.
13135 * sysdeps/x86/link_map.h: Likewise.
13136 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13137 _CET_ENDBR.
13138 (_dl_runtime_profile): Likewise.
13139 (_dl_runtime_resolve_shstk): New.
13140 (_dl_runtime_profile_shstk): Likewise.
13141 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13142 if CET is enabled.
13143 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13144 (CFLAGS-.os): Likewise.
13145 (CFLAGS-.op): Likewise.
13146 (CFLAGS-.oS): Likewise.
13147 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13148 is enabled.
13149 (tests-special): Add $(objpfx)check-cet.out.
13150 (cet-built-dso): New.
13151 (+$(cet-built-dso:=.note)): Likewise.
13152 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13153 ($(objpfx)check-cet.out): New.
13154 (generated): Add check-cet.out.
13155 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13156 <cet-tunables.h>.
13157 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13158 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13159 (init_cpu_features): Call get_cet_status to check CET status
13160 and update dl_x86_feature_1 with CET status. Call
13161 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13162 (set_x86_shstk). Disable and lock CET in libc.a.
13163 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13164 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13165 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13166 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13167 (_CET_ENDBR): Define if not defined.
13168 (ENTRY): Add _CET_ENDBR.
13169 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13170 x86_shstk.
13171 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13172 _CET_ENDBR.
13173 (_dl_runtime_profile): Likewise.
13174
52b2a80f
RA
131752018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13176
13177 [BZ #21895]
13178 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13179 restore r2 on longjmp.
13180 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13181 test list.
13182 Added rules to build test tst-setjmp-bug21895-static.
13183 Added module setjmp-bug21895 and rules to build a shared object from it.
13184 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13185 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13186
3ae725df
WD
131872018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13188
13189 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13190 * benchtests/bench-strstr.c: Likewise.
13191 * string/memmem.c (FASTSEARCH): Define.
13192 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13193 Add support for FASTSEARCH.
13194 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13195 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13196 (FASTSEARCH): Define.
13197 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13198 * string/test-strstr.c: Likewise.
13199
31e422ca
L
132002018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13201
13202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13203 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13204
faaee1f0
L
132052018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13206 H.J. Lu <hongjiu.lu@intel.com>
13207
13208 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13209 (__longjmp): Restore shadow stack pointer if shadow stack is
13210 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13211 isn't defined for __longjmp_cancel.
13212 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13213 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13214 and SHADOW_STACK_POINTER_OFFSET is defined.
13215 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13216 (setjmp): Save shadow stack pointer if shadow stack is enabled
13217 and SHADOW_STACK_POINTER_OFFSET is defined.
13218 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13219 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13220 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13222 <jmp_buf-ssp.h>.
13223 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13224 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13225 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13226 Remove jmp_buf-ssp.sym.
13227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13228 <jmp_buf-ssp.h>.
13229 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13230 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13231 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13232 jmp_buf-ssp.sym.
13233 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13234 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13235 (__longjmp): Restore shadow stack pointer if shadow stack is
13236 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13237 isn't defined for __longjmp_cancel.
13238 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13239 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13240 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13241
ebff9c5c
L
132422018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13243
13244 [BZ #22563]
13245 * nptl/pthread_create.c: Include <tls-setup.h>.
13246 (__pthread_create_2_1): Call tls_setup_tcbhead.
13247 * sysdeps/generic/tls-setup.h: New file.
13248 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13249 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13250 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13251 Likewise.
13252 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13253 to feature_1.
13254 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13255 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13256 (X86_FEATURE_1_SHSTK): Likewise.
13257 (CET_ENABLED): Likewise.
13258 (IBT_ENABLED): Likewise.
13259 (SHSTK_ENABLED): Likewise.
13260
0a83bad2
RL
132612018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13262
13263 [BZ #23208]
13264 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13265 (LOCALES): Likewise.
13266 * localedata/dsb_DE.UTF-8.in: New file.
13267 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13268
046bfed9
FW
132692018-07-12 Florian Weimer <fweimer@redhat.com>
13270
13271 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13272 __mprotect, not mprotect.
13273
93304f5f
FW
132742018-07-11 Florian Weimer <fweimer@redhat.com>
13275
13276 * io/Makefile (headers): Add bits/statx.h.
13277
4beefeeb
MF
132782018-07-10 Mike FABIAN <mfabian@redhat.com>
13279
13280 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13281 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13282 and headers.
13283 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13284 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13285 for utf8_gen.py
13286
fd70af45
FW
132872018-07-10 Florian Weimer <fweimer@redhat.com>
13288
13289 * io/Makefile (routines): Add statx.
13290 (tests-internal): Add tst-statx.
13291 * io/Versions (GLIBC_2.28): Export statx.
13292 * io/bits/statx.h: New file.
13293 * io/sys/stat.h [__USE_GNU]: Include it.
13294 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13295 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13296 Define.
13297 * io/statx.c: New file.
13298 * io/statx_generic.: Likewise.
13299 * io/tst-statx.: Likewise.
13300 * include/bits/statx.h: Likewise.
13301 * sysdeps/unix/sysv/linux/kernel-features.h
13302 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13303 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13304 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13305 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13306 Undefine.
13307 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13308 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13309 * sysdeps/unix/sysv/linux/statx.c: New file.
13310 * manual/filesys.texi: Note that statx is undocumented.
13311 * sysdeps/**/libc*.abilist: Update.
13312
b444e8f7
AZ
133132018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13314
13315 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13316 a kernel issue which lead to test failure in some cases.
13317
7b2f4ced
FW
133182018-07-10 Florian Weimer <fweimer@redhat.com>
13319
13320 [BZ #23036]
13321 * posix/regexec.c (check_node_accept_bytes): When comparing
13322 weights, do not compare an extra byte after the end of the
13323 weights.
13324
4fa34da6
FW
133252018-07-10 Florian Weimer <fweimer@redhat.com>
13326
13327 * libio/readline.c: Fix copyright year.
13328 * libio/tst-readline.c Likewise.
13329 * nss/tst-nss-files-hosts-getent.c: Likewise.
13330
916124ed
FW
133312018-07-06 Florian Weimer <fweimer@redhat.com>
13332
13333 [BZ #18991]
13334 * nss/nss_files/files-XXX.c (internal_getent): Use
13335 __libc_readline_unlocked. Seek back to the start of the line if
13336 parsing failes with ERANGE.
13337 (get_contents_ret, get_contents): Remove.
13338 * nss/tst-nss-files-hosts-getent.c: New file.
13339 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13340 (tst-nss-files-hosts-getent): Link with -ldl.
13341
3f5e3f5d
FW
133422018-07-06 Florian Weimer <fweimer@redhat.com>
13343
13344 * include/stdio.h (__libc_readline_unlocked): Declare.
13345 (__ftello64, __fseeko64): Declare aliases.
13346 * libio/readline.c: New file.
13347 * libio/tst-readline.c: Likewise.
13348 (routines): Add readline.
13349 (tests-internal): Add tst-readlime.
13350 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13351 __libc_readline_unlocked.
13352 * libio/fseeko.c (__fseeko): Rename from fseeko.
13353 (fseeko): Add alias.
13354 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13355 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13356 (fseeko64): Add alias.
13357 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13358 * libio/ftello64.c (__ftello64): Rename from ftello64.
13359 (ftello64): Add alias.
13360
397c54c1
SN
133612018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13362
13363 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13364 HWCAP_ATOMICS.
13365
d0cd7980
SN
133662018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13367
13368 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13369 Use dl_hwcap without masking.
13370 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13371 Remove HWCAP_CPUID.
13372
ddb3c626
FW
133732018-07-06 Florian Weimer <fweimer@redhat.com>
13374
13375 * conform/conformtest.pl (checknamespace): Escape literal braces
13376 in regular expressions.
13377
bce5911b
AP
133782018-07-06 Amit Pawar <amit.pawar@amd.com>
13379
13380 * sysdeps/x86/cpu-features.c (get_common_indeces):
13381 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13382 * sysdeps/x86/cpu-features.c (init_cpu_features):
13383 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13384
3a885c1f
FW
133852018-07-05 Florian Weimer <fweimer@redhat.com>
13386
13387 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13388 protector.
13389 (CFLAGS-elf-init.oS): Likewise.
13390
38cade0c
FW
133912018-07-05 Florian Weimer <fweimer@redhat.com>
13392 Carlos O'Donell <carlos@redhat.com>
13393
13394 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13395 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13396 with stack protector enabled because there is no risk of infinite
13397 recursion.
13398
9449a295
MR
133992018-07-05 Maciej W. Rozycki <macro@mips.com>
13400
13401 [BZ #19818]
13402 [BZ #23307]
13403 * libc-abis (ABSOLUTE): New ABI.
13404 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13405 * NEWS: Mention the new ABI.
13406
d6da5cb6
FW
134072018-07-05 Florian Weimer <fweimer@redhat.com>
13408
13409 [BZ # 17662]
13410 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13411 (RENAME_WHITEOUT): Define.
13412 [__USE_GNU] (renameat2): Declare.
13413 * stdio-common/Makefile (routines): Add renameat2.
13414 (tests): Add tst-renameat2.
13415 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13416 * stdio-common/renameat2.c: New file.
13417 * stdio-common/tst-renameat2.c: Likewise.
13418 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13419 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13420 undocumented.
13421 * sysdeps/unix/sysv/linux/kernel-features.h
13422 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13423 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13424 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13425 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13426 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13427 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13428 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13429 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13430 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13431 * include/stdio.h (__renameat): Add alias for renameat.
13432 * stdio-common/renameat.c (__renameat): Rename from renameat.
13433 Add hidden definition and alias.
13434 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13435 * sysdeps/mach/hurd/renameat.c: Likewise.
13436 * sysdeps/**/libc*.abilist: Add renameat2.
13437
1002d708
AZ
134382018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13439
13440 * posix/bug-regex33.c: Fix build after regex sync.
13441
34fdb893
CD
134422018-07-04 Carlos O'Donell <carlos@redhat.com>
13443
13444 [BZ #23164]
13445 * localedata/tst-langinfo-setlocale.c: New file.
13446 * localedata/tst-langinfo-setlocale-static.c: New file.
13447 * localedata/tst-langinfo-newlocale.c: New file.
13448 * localedata/tst-langinfo-newlocale-static.c: New file.
13449 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13450 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13451 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13452 (tests-static): Remove tst-langinfo-static. Add
13453 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13454 (tests-special): Remove $(objpfx)tst-langinfo.out,
13455 $(objpfx)tst-langinfo-static.out. Add
13456 $(objpfx)tst-langinfo-setlocale.out,
13457 $(objpfx)tst-langinfo-newlocale.out,
13458 $(objpfx)tst-langinfo-setlocale-static.out,
13459 $(objpfx)tst-langinfo-newlocale-static.out.
13460 ($(objpfx)tst-langinfo.out): Remove.
13461 ($(objpfx)tst-langinfo-static.out): Remove.
13462 ($(objpfx)tst-langinfo-newlocale.out): New target.
13463 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13464 (test-xfail-tst-langinfo-newlocale-static): Add.
13465 ($(objpfx)tst-langinfo-setlocale.out): New target.
13466 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13467 * localedata/tst-langinfo.c: Call test_locale.
13468 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13469 data.
13470
f2873d2d
FW
134712018-07-04 Florian Weimer <fweimer@redhat.com>
13472
13473 testrun.sh: Implement --tool=strace, --tool=valgrind
13474 * Makefile (testrun-script): Define variable.
13475 (testrun.sh): Use variable.
13476 * manual/install.texi (Tools for Compilation): make 4.0 or later
13477 is required.
13478 * configure.ac: Check for make 4.0 or later.
13479 * INSTALL: Regenerate.
13480 * configure: Likewise.
13481
eb04c213
AZ
134822018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13483
13484 [BZ #23233]
13485 [BZ #21163]
13486 [BZ #18986]
13487 [BZ #13762]
13488 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13489 * posix/PCRE.tests: Remove invalid test.
13490 * posix/bug-regex28.c: Fix expected values for used syntax.
13491 * posix/bug-regex37.c: New file.
13492 * posix/bug-regex38.c: Likewise.
13493 * posix/regcomp.c: Sync with gnulib.
13494 * posix/regex.c: Likewise.
13495 * posix/regex.h: Likewise.
13496 * posix/regex_internal.c: Likewise.
13497 * posix/regex_internal.h: Likewise.
13498 * posix/regexec.c: Likewise.
13499
b11643c2
MF
135002018-06-26 Mike FABIAN <mfabian@redhat.com>
13501
13502 [BZ #23308]
13503 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13504 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13505 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13506 * localedata/unicode-gen/PropList.txt: likewise.
13507 * localedata/unicode-gen/UnicodeData.txt: likewise.
13508 * localedata/charmaps/UTF-8: Regenerate.
13509 * localedata/locales/i18n_ctype: likewise.
13510 * localedata/locales/tr_TR: likewise.
13511 * localedata/locales/translit_circle: likewise.
13512 * localedata/locales/translit_cjk_compat: likewise.
13513 * localedata/locales/translit_combining: likewise.
13514 * localedata/locales/translit_compat: likewise.
13515 * localedata/locales/translit_font: likewise.
13516 * localedata/locales/translit_fraction: likewise.
13517
5a357506
FW
135182018-07-03 Florian Weimer <fweimer@redhat.com>
13519
13520 [BZ #23363]
13521 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13522 * stdio-common/tst-printf.sh: Adjust expected output.
13523 * LICENSES: Update.
13524
7279af00
AZ
135252018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13526
13527 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13528 symbol.
13529
b7b88cea
GG
135302018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13531
13532 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13533 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13534 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13535 * stdio-common/tst-printfsz-islongdouble.c: New file.
13536 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13538 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13539 [subdir == stdio-common] (tests-internal): Add
13540 test-printf-size-ieee128, and test-printf-size-ibm128.
13541 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13542 (CFLAGS-test-printf-size-ibm128.c): New variables.
13543 [subdir == stdio-common] (tests-special): Add
13544 $(objpfx)test-printf-size-ieee128.out and
13545 $(objpfx)test-printf-size-ibm128.out.
13546 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13547 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13548 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13549 __printf_sizeieee128.
13550 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13551 New file.
13552 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13553 Likewise.
13554 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13555 Likewise.
13556
2b445206
SN
135572018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13558
13559 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13560 (exp2f_inline): Likewise.
13561 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13562 (__math_uflowf): Likewise.
13563 (__math_may_uflowf): Likewise.
13564 (__math_divzerof): Likewise.
13565 (__math_invalidf): Likewise.
13566 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13567 (__math_oflowf): Likewise.
13568 (__math_uflowf): Likewise.
13569 (__math_may_uflowf): Likewise.
13570 (__math_divzerof): Likewise.
13571 (__math_invalidf): Likewise.
13572
2827ab99
CD
135732018-06-29 DJ Delorie <dj@redhat.com>
13574 Carlos O'Donell <carlos@redhat.com>
13575
13576 [BZ #23329]
13577 * include/libc-symbols.h: Comment the freeres framework.
13578 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13579 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13580 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13581 * dlfcn/dlerror.c: Include libc-symbols.h
13582 (__dlerror_main_freeres): New function.
13583 * dlfcn/dlfreeres.c: New file.
13584 * dlfcn/sdlfreeres.c: New file.
13585 * include/dlfcn.h: Declare __dlerror_main_freeres.
13586 * malloc/set-freeres.c: Declare __libdl_freeres, and
13587 __libpthread_freeres.
13588 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13589 the releavant libraries are loaded.
13590 * malloc/thread-freeres.c: Add comments.
13591 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13592 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13593 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13594 (__free_stacks): Rename to...
13595 (free_stacks): ...this. Mark static.
13596 (queue_stack): Call free_stacks.
13597 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13598 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13599 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13600 ptr_freeres element from struct.
13601 (pthread_functions): Remove .ptr_freeres from struct initializer.
13602 [SHARED] (nptl_freeres): Remove.
13603 * nptl/nptlfreeres.c: New file.
13604 * nptl/pthreadP.h
13605 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13606 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13607 attribute_hidden.
13608 (__free_stacks): Rename to...
13609 (__nptl_stacks_freeres): ...this.
13610 (__shm_directory_freeres): Declare.
13611 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13612 (__nptl_unwind_freeres): ...this.
13613 * resolv/res-close.c: Add comment.
13614 * resolv/resolv_conf.c: Include libc-symbols.h.
13615 * string/strerror_l.c: Include libc-symbols.h.
13616 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13617 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13618 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13619 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13620
37d3d244
RS
136212018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13622
13623 * stdlib/tst-strfmon_l.c: Add tests for long double.
13624
a1e0c5fa
MW
136252018-06-29 Michael Wolf <milupo@sorbzilla.de>
13626
13627 [BZ #23208]
13628 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13629 * localedata/locales/dsb_DE: New file.
13630
2e0c5de6
RL
136312018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13632
13633 [BZ #23140]
13634 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13635 genitive case).
13636 (alt_mon): New entry, import from CLDR (nominative case).
13637
cdb52c71
SL
136382018-06-29 Sylvain Lesage <severo@rednegra.net>
13639
13640 [BZ #22996]
13641 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13642
ce76a5cb
SP
136432018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13644
0aec4c1d
SP
13645 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13646 Use vector registers.
13647
ce76a5cb
SP
13648 * sysdeps/aarch64/multiarch/memmove_falkor.S
13649 (__memcpy_falkor): Use vector registers.
13650
7e8989d0
MS
136512018-06-29 Martin Sebor <msebor@redhat.com>
13652
13653 * manual/stdio.texi (Customizing Printf): Mention interaction
13654 with GCC built-ins.
13655
bac15a72
MR
136562018-06-29 Maciej W. Rozycki <macro@mips.com>
13657
13658 [BZ #23307]
13659 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13660 `st_value' is 0 if `st_shndx' is SHN_ABS.
13661 * elf/tst-absolute-zero.c: New file.
13662 * elf/tst-absolute-zero-lib.c: New file.
13663 * elf/tst-absolute-zero-lib.lds: New file.
13664 * elf/Makefile (tests): Add `tst-absolute-zero'.
13665 (modules-names): Add `tst-absolute-zero-lib'.
13666 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13667 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13668 ($(objpfx)tst-absolute-zero: New dependency.
13669
e69d994a
ZW
136702018-06-29 Zack Weinberg <zackw@panix.com>
13671
13672 * configure.ac: New command-line option --disable-crypt.
13673 Force --disable-nss-crypt when --disable-crypt is given, with a
13674 warning if it was explicitly enabled.
13675 * configure: Regenerate.
13676 * config.make.in: New boolean substitution variable $(build-crypt).
13677 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13678 when $(build-crypt).
13679 * manual/install.texi: Document --disable-crypt.
13680 * INSTALL: Regenerate.
13681
13682 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13683 which is never set.
13684 * conform/Makefile: Only include libcrypt.a in
13685 linknamespace-libs-xsi and linknamespace-libs-XPG4
13686 when $(build-crypt).
13687 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13688 USE_CRYPT to 1 when $(build-crypt).
13689 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13690 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13691 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13692
841785ba
ZW
136932018-06-29 Zack Weinberg <zackw@panix.com>
13694
13695 * crypt/crypt.h, posix/unistd.h: Update comments and
13696 prototypes for crypt and crypt_r.
13697
13698 * manual/crypt.texi (Cryptographic Functions): New initial
13699 exposition.
13700 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13701 (Unpredictable Bytes): Improve initial exposition. Clarify error
13702 behavior of getentropy and getrandom.
13703 * manual/examples/genpass.c: Generate a salt using getentropy
13704 instead of the current time. Use hash $5$ (SHA-2-256).
13705 * manual/examples/testpass.c: Demonstrate validation against
13706 hashes generated with three different one-way functions.
13707
13708 * manual/intro.texi: crypt.texi does not need an overview
13709 anymore.
13710
13711 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13712 * manual/terminal.texi: Consistently refer to "passphrases"
13713 * instead of "passwords", and to the "user database" instead
13714 * of the "password database".
13715 * manual/users.texi: Similarly. Add notes about how actual
13716 passphrase hashes are now stored in the shadow database.
13717 Remove 20-year-old junk todo note.
13718
6ab902e4
ZW
137192018-06-29 Zack Weinberg <zackw@panix.com>
13720
13721 * manual/crypt.texi: Use a normal top-level @node declaration.
13722 Move most of the introductory text to the 'crypt' section.
13723 Move the example programs below the @deftypefun for 'crypt_r'.
13724 Move the 'getpass' section...
13725 * manual/terminal.texi: ...here.
13726
b10a0acc
ZW
137272018-06-29 Zack Weinberg <zackw@panix.com>
13728 Florian Weimer <fweimer@redhat.com>
13729
13730 * posix/unistd.h: Do not declare encrypt.
13731 (_XOPEN_CRYPT): Remove macro definition.
13732 (crypt): Declare only for _USE_MISC.
13733 * stdlib/stdlib.h: Do not declare setkey.
13734 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13735 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13736
13737 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13738 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13739 into compat symbols. Don't define initial_perm if it's not
13740 going to be used.
13741 * crypt/cert.c: Link explicitly with the expected versions for
13742 setkey and encrypt. If they are not available at all, mark
13743 the test as unsupported.
13744
13745 * sunrpc/des_crypt.c: Unconditionally block linkage with
13746 cbc_crypt and ecb_crypt for new binaries.
13747 * sunrpc/des_soft.c: Unconditionally block linkage with
13748 des_setparity for new binaries.
13749
13750 * manual/crypt.texi: Remove the entire "DES Encryption"
13751 section. Also remove the paragraph talking about FIPS 140-2
13752 from the introduction.
13753 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13754 of libgcrypt for "real" encryption, not DES.
13755 * manual/conf.texi (Constants for Sysconf): Mention that
13756 _XOPEN_CRYPT is no longer impelemented.
13757
13758 * conform/data/unistd.h-data: Remove crypt function declaration.
13759
524d796d
FW
137602018-06-29 Florian Weimer <fweimer@redhat.com>
13761
13762 [BZ #23351]
13763 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13764 (disallow_malloc_check): Remove variable.
13765 (__malloc_check_init): Adjust.
13766 (malloc_set_state): Update comment.
13767 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13768 declarations.
13769
339124ab
RL
137702018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13771
13772 [BZ #23140]
13773 * localedata/locales/ast_ES (mon): Rename to...
13774 (alt_mon): This.
13775 (mon): Import from CLDR (genitive case).
13776
c1f86a33
DA
137772018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13778 Jakub Sitnicki <jkbs@redhat.com>
13779
13780 [BZ #21812]
13781 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13782 on NLM_F_DUMP_INTR.
13783
0b11b649
SN
137842018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13785
13786 * manual/llio.texi: Remove spurious space.
13787
c1c2848b
FW
137882018-06-28 Florian Weimer <fweimer@redhat.com>
13789
13790 [BZ #23349]
13791 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13792 _STRUCT_TIMESPEC.
13793
86a0f561
RS
137942018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13795
13796 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 13797 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
13798 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13799 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13800 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13801 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13802 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13803
780684eb
MR
138042018-06-27 Maciej W. Rozycki <macro@mips.com>
13805
13806 [BZ #23266]
13807 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13808 Copy and null-terminate entries that are not terminated, in
13809 addition to empty ones.
13810
c49e1822
FW
138112018-06-27 Florian Weimer <fweimer@redhat.com>
13812
13813 [BZ #18023]
b39d961c
TS
13814 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13815 (extend_alloca_account): Remove.
c49e1822
FW
13816 * manual/stdio.texi (Variable Arguments Output): Update comment.
13817
a833e627
JM
138182018-06-27 Joseph Myers <joseph@codesourcery.com>
13819
13820 * nptl/sockperf.c: Remove file.
13821
92d6aa85
FW
138222018-06-27 Florian Weimer <fweimer@redhat.com>
13823
13824 [BZ #18023]
13825 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13826 scratch_buffer instead of extend_alloca.
13827
890c2ced
FW
138282018-06-27 Florian Weimer <fweimer@redhat.com>
13829
13830 [BZ #18023]
13831 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13832 scratch_buffer instead of extend_alloca. Update comments.
13833
4272059d
FW
138342018-06-27 Florian Weimer <fweimer@redhat.com>
13835
13836 [BZ #18023]
13837 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13838 instead of extend_alloca.
13839
27f10a09
JM
138402018-06-26 Joseph Myers <joseph@codesourcery.com>
13841
13842 [BZ #13888]
13843 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13844 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13845 /tmp.
13846 * scripts/test-installation.pl: Put temporary files in build
13847 directory, not /tmp.
13848 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13849 (CFLAGS-bug4.c): Likewise.
13850 (CFLAGS-bug5.c): Likewise.
13851 (CFLAGS-test-fseek.c): Likewise.
13852 (CFLAGS-test-popen.c): Likewise.
13853 (CFLAGS-test_rdwr.c): Likewise.
13854 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13855 /tmp.
13856 * stdio-common/bug4.c (main): Likewise.
13857 * stdio-common/bug5.c (main): Likewise.
13858 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13859 * stdio-common/test-popen.c (do_test): Likewise.
13860 * stdio-common/test_rdwr.c (main): Likewise.
13861
05598a09
PF
138622018-06-26 Patsy Franklin <pfrankli@redhat.com>
13863
13864 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13865 (sem_open): Set sem.newsem.pad to zero for valgrind.
13866
06ab719d
AZ
138672018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13868
13869 [BZ #20251]
13870 * NEWS: Mention fcntl64 addition.
13871 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13872 * login/utmp_file.c: Likewise.
13873 * sysdeps/posix/fdopendir.c: Likewise.
13874 * sysdeps/posix/opendir.c: Likewise.
13875 * sysdeps/unix/pt-fcntl.c: Likewise.
13876 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13877 __fcntl64_nocancel_adjusted): New prototype.
13878 (__fcntl_nocancel_adjusted): Remove prototype.
13879 * io/Makefile (routines): Add fcntl64.
13880 (CFLAGS-fcntl64.c): New rule.
13881 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13882 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13883 * io/fcntl.h (fcntl64): Add prototype and redirect if
13884 __USE_FILE_OFFSET64 is defined.
13885 * io/fcntl64.c: New file.
13886 * manual/llio.text: Add a note for which commands fcntl acts a
13887 cancellation point.
13888 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13889 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13890 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13891 New symbols.
13892 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13893 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13894 non-LFS case.
13895 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13896 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13897 to __fcntl64_nocancel.
13898 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13899 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13900 to __fcntl64_nocancel.
13901 * sysdeps/generic/not-cancel.h: Likewise.
13902 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13903 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13904 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13905 (fcntl64): New symbol.
13906 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13917 fcntl64): Likewise.
13918 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13920 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13928 Likewise.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13930 Likewise.
13931 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13934
124e0258
FW
139352018-06-26 Florian Weimer <fweimer@redhat.com>
13936
13937 Run thread shutdown functions in an explicit order.
13938 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13939 definition.
13940 (__libc_thread_freeres): Call thread shutdown functions
13941 explicitly.
13942 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13943 * include/string.h (__strerror_thread_freeres): Declare.
13944 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13945 arena_thread_freeres. No longer static. Remove thread shutdown
13946 hook registration.
13947 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13948 Declare.
13949 * resolv/res-close.c (__res_thread_freeres): Renamed from
13950 res_thread_freeres. No longer static. Remove thread shutdown
13951 hook registration.
13952 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13953 * resolv/resolv_conf.c (freeres): Remove incorrect section
13954 attribute and use libc_freeres_fn.
13955 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13956 strerror_thread_freeres. No longer static. Remove thread
13957 shutdown hook registration.
13958 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13959 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13960 shutdown hook registration.
13961 * Makerules (shlib.lds): Do not provide section boundary symbols
13962 for __libc_thread_subfreeres.
13963 * manual/memory.texi (Basic Allocation): Update comment.
13964
935d920e
FW
139652018-06-26 Florian Weimer <fweimer@redhat.com>
13966
13967 Remove always-defined _RPC_THREAD_SAFE_ macro.
13968 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13969 Do not define _RPC_THREAD_SAFE_.
13970 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13971 conditional.
13972 * sunrpc/clnt_perr.c: Likewise.
13973 * sunrpc/clnt_raw.c: Likewise.
13974 * sunrpc/clnt_simp.c: Likewise.
13975 * sunrpc/key_call.c: Likewise.
13976 * sunrpc/rpc_common.c: Likewise.
13977 * sunrpc/rpc_main.c: Likewise.
13978 * sunrpc/rpc_thread.c: Likewise.
13979 * sunrpc/svc.c: Likewise.
13980 * sunrpc/svc_raw.c: Likewise.
13981 * sunrpc/svc_simple.c: Likewise.
13982 * sumrpc/svcauth_des.c: Likewise.
13983
29055464
FW
139842018-06-26 Florian Weimer <fweimer@redhat.com>
13985
13986 * libio/Makefile (tests-internal): Add tst-vtables,
13987 tst-vtables-interposed.
13988 * libio/tst-vtables.c: New file.
13989 * libio/tst-vtables-common.c: Likewise.
13990 * libio/tst-vtables-interposed.c: Likewise.
13991
5c0202af
FW
139922018-06-26 Florian Weimer <fweimer@redhat.com>
13993
13994 * support/support_test_main.c (support_test_main): Only call
13995 setvbuf if not disables.
13996 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13997 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13998
c402355d
FW
139992018-06-26 Florian Weimer <fweimer@redhat.com>
14000
14001 [BZ #23313]
14002 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14003
43b1048a
FW
140042018-06-25 Florian Weimer <fweimer@redhat.com>
14005
14006 [BZ #18023]
14007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14008 Use struct scratch_buffer instead of extend_alloca.
14009
1599ed4e
FW
140102018-06-25 Florian Weimer <fweimer@redhat.com>
14011
14012 [BZ #18023]
14013 * nss/getent.c (initgroups_keys): Use dynarray instead of
14014 extend_alloca.
14015
a26fe163
FW
140162018-06-25 Florian Weimer <fweimer@redhat.com>
14017
14018 [BZ #18023]
14019 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14020 Use struct scratch_buffer instead of extend_alloca.
14021
90d9d9ce
FW
140222018-06-25 Florian Weimer <fweimer@redhat.com>
14023
14024 [BZ #18023]
14025 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14026 back to malloc directly, without stack allocations.
14027
6b7b2aba
FW
140282018-06-25 Florian Weimer <fweimer@redhat.com>
14029
14030 [BZ #18023]
14031 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14032 of extend_alloca.
14033
2f9f0d18
FW
140342018-06-25 Florian Weimer <fweimer@redhat.com>
14035
14036 [BZ #18023]
14037 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14038 of extend_alloca.
14039 * nscd/hstcache.c (addhstbyX): Likewise.
14040 * nscd/pwdcache.c (addpwbyX): Likewise.
14041 * nscd/servicescache.c (addservbyX): Likewise.
14042
318bad78
FW
140432018-06-25 Florian Weimer <fweimer@redhat.com>
14044
14045 [BZ #18023]
14046 * nscd/connections.c (read_cmdline): New function.
14047 (restart): Use it. Update comment.
14048
189699ab
RL
140492018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14050
14051 [BZ #23140]
14052 * localedata/locales/csb_PL (mon): Rename to...
14053 (alt_mon): This.
14054 (abmon): Rename to...
14055 (ab_alt_mon): This.
14056 (mon): Add with proper genitive forms, copy from Wikipedia.
14057 (abmon): Likewise.
14058
0ea3f13c
RL
140592018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14060
14061 [BZ #19485]
14062 * localedata/locales/csb_PL (mon): Fix typos:
14063 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14064 (yesstr): Add, value is "jo".
14065 (nostr): Add, value is "nié".
14066
d93f4ff1
TMQMF
140672018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14068
14069 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14070 all log1p and significand functions on m680x0.
14071 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14072 of s_significand.c..
14073 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14074 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14075 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14076 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14077 s_log1p.c and include it..
14078
f6299d2a
VC
140792018-06-21 Vincent Chen <vincentc@andestech.com>
14080
14081 * elf/elf.h (R_NDS32_NONE): New define.
14082 (R_NDS32_32_RELA): Likewise.
14083 (R_NDS32_COPY): Likewise.
14084 (R_NDS32_GLOB_DAT): Likewise.
14085 (R_NDS32_JUMP_SLOT): Likewise.
14086 (R_NDS32_RELATIVE): Likewise.
14087 (R_NDS32_TLS_TPOFF): Likewise.
14088 (R_NDS32_TLS_DESC): Likewise.
14089
61ab61c2
MW
140902018-06-21 Mark Wielaard <mark@klomp.org>
14091
14092 * elf/elf.h (R_BPF_MAP_FD): Removed.
14093 (R_BPF_64_64, R_BPF_64_32): New.
14094
f496b28e
FW
140952018-06-21 Florian Weimer <fweimer@redhat.com>
14096
14097 [BZ #23253]
14098 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14099 Renamed from libc_feholdsetround_ctx.
14100 (default_libc_feresetround_ctx): Renamed from
14101 libc_feresetround_ctx.
14102 (default_libc_feholdsetround_noex_ctx): Renamed from
14103 libc_feholdsetround_noex_ctx.
14104 (default_libc_feresetround_noex_ctx): Renamed from
14105 libc_feresetround_noex_ctx.
14106 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14107 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14108 forwardning to the old implementations under the new names.
14109 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14110 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14111 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14112 (libc_feresetround_ctx): Forward to default implements for i386
14113 and MATH_SET_BOTH_ROUNDING_MODES.
14114 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14115 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14116
1760daad
JM
141172018-06-20 Joseph Myers <joseph@codesourcery.com>
14118
99c7adf9
JM
14119 * string/tst-cmp.c: Include <libc-diag.h>.
14120 (strncmp_max): Disable -Wstringop-overflow= around call to
14121 strncmp.
14122 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14123 strncasecmp.
14124
1760daad
JM
14125 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14126 (main): Disable -Wunused-value around call to strpbrk.
14127 * string/bug-strspn1.c: Include <libc-diag.h>.
14128 (main): Disable -Wunused-value around call to strspn.
14129
209ae17c
TMQMF
141302018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14131 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14132
14133 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14134 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14135
badba23c
TMQMF
141362018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14137
5e79e029
TMQMF
14138 * math/Makefile (libm-calls): Move s_significandF to...
14139 (gen-libm-calls): ... here.
14140 * math/s_significand_template.c: New file.
14141 * math/s_significand.c: Removed.
14142 * math/s_significandf.c: Removed.
14143 * math/s_significandl.c: Removed.
14144 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14145 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14146
badba23c
TMQMF
14147 * math/e_exp2_template.c (declare_mgen_finite_alias,
14148 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14149 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14150 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14151
2d1c89a5
FW
141522018-06-20 Florian Weimer <fweimer@redhat.com>
14153
14154 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14155
646c2833
JM
141562018-06-19 Joseph Myers <joseph@codesourcery.com>
14157
14158 [BZ #23280]
14159 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14160 floating-point number to strtod functions rather than possibly
14161 negating result of those functions.
14162 * stdio-common/tst-scanf-round.c: New file.
14163 * stdio-common/Makefile (tests): Add tst-scanf-round.
14164 ($(objpfx)tst-scanf-round): Depend on $(libm).
14165
c77e4dc0
ST
141662018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14167
14168 * sysdeps/mach/hurd/localplt.data: Move to...
14169 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14170 R_386_GLOB_DAT like on Linux i386.
14171
91b2f3e5
JM
141722018-06-18 Joseph Myers <joseph@codesourcery.com>
14173
f2857da7
JM
14174 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14175 (SHM_STAT_ANY): New macro.
14176 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14177 (SHM_STAT_ANY): Likewise.
14178 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14179 (SHM_STAT_ANY): Likewise.
14180 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14181 (SHM_STAT_ANY): Likewise.
14182 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14183 (SHM_STAT_ANY): Likewise.
14184 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14185 (SHM_STAT_ANY): Likewise.
14186 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14187 (SHM_STAT_ANY): Likewise.
14188 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14189 (SHM_STAT_ANY): Likewise.
14190 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14191 (SHM_STAT_ANY): Likewise.
14192 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14193 (SHM_STAT_ANY): Likewise.
14194 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14195 (SHM_STAT_ANY): Likewise.
14196 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14197 (SHM_STAT_ANY): Likewise.
14198
176c7fee
JM
14199 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14200 (SEM_STAT_ANY): New macro.
14201 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14202 (SEM_STAT_ANY): Likewise.
14203 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14204 (SEM_STAT_ANY): Likewise.
14205 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14206 (SEM_STAT_ANY): Likewise.
14207 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14208 (SEM_STAT_ANY): Likewise.
14209 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14210 (SEM_STAT_ANY): Likewise.
14211 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14212 (SEM_STAT_ANY): Likewise.
14213 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14214 (SEM_STAT_ANY): Likewise.
14215 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14216 (SEM_STAT_ANY): Likewise.
14217 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14218 (SEM_STAT_ANY): Likewise.
14219
86bf0019
JM
14220 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14221 (MSG_STAT_ANY): New macro.
14222 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14223 (MSG_STAT_ANY): Likewise.
14224 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14225 (MSG_STAT_ANY): Likewise.
14226 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14227 (MSG_STAT_ANY): Likewise.
14228 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14229 (MSG_STAT_ANY): Likewise.
14230 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14231 (MSG_STAT_ANY): Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14233 (MSG_STAT_ANY): Likewise.
14234 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14235 (MSG_STAT_ANY): Likewise.
14236 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14237 (MSG_STAT_ANY): Likewise.
14238 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14239 (MSG_STAT_ANY): Likewise.
14240
91b2f3e5
JM
14241 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14242 (MAP_TYPE): Change value to 0x2b.
14243
3fe8fc79
FW
142442018-06-18 Florian Weimer <fweimer@redhat.com>
14245
14246 [BZ #15722]
14247 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14248 socket with SOCK_CLOEXEC.
14249
809dc95d
JM
142502018-06-18 Joseph Myers <joseph@codesourcery.com>
14251
14252 [BZ #23303]
14253 * sysdeps/powerpc/powerpc64/le/Makefile
14254 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14255 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14256 (gnulib-tests): Also add $(f128-loader-link) for
14257 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14258
298a8b59
ST
142592018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14260
14261 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14262 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14263 of sendfile.
14264 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14265 (sendfile64): New strong alias.
faf7bbc2
ST
14266 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14267 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14268 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
14269 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14270 attribute.
14271 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14272 ___pthread_get_cleanup_stack.
932d05f0 14273 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
14274 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14275 * mach/shortcut.awk: Make syscall stubs include
14276 <mach-shortcuts-hidden.h> and add hidden definition.
14277 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
14278 (__mach_msg): Add hidden prototype.
14279 * mach/msg.c: Include <mach.h>.
14280 (__mach_msg): Add hidden definition.
b0344cf5
ST
14281 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14282 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14283 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14284 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
14285 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14286 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
14287 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14288 prototype and definition.
14289 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14290 hidden target for _hurd_self_sigstate.
298a8b59 14291
b12c1e79
JM
142922018-06-15 Joseph Myers <joseph@codesourcery.com>
14293
14294 [BZ #23007]
14295 * stdlib/tst-strtod-nan-sign-main.c: New file.
14296 * stdlib/tst-strtod-nan-sign.c: Likewise.
14297 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14298 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14299 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14300 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14301 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14302
b0debe14
HB
143032018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14304
14305 [BZ #23007]
14306 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14307 appropriate sign.
14308
14beef75
FW
143092018-06-14 Florian Weimer <fweimer@redhat.com>
14310
14311 [BZ #23290]
14312 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14313 that the result stays within the ISO-8859-1 range.
14314 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14315 characters are defined in IBM273.
14316
c596630b
ST
143172018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14318
14319 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14320 __mach_task_self): Remove attribute_hidden.
14321
35ebb6b0
JM
143222018-06-14 Joseph Myers <joseph@codesourcery.com>
14323
14324 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14325 ignore -Wrestrict for one test.
14326
3c7b9f1f
SE
143272018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14328 Szabolcs Nagy <szabolcs.nagy@arm.com>
14329
14330 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14331
c59ee916
FW
143322018-06-14 Florian Weimer <fweimer@redhat.com>
14333
14334 * scripts/update-abilist.sh: Accept empty list of files to patch.
14335
43b5ff50
ST
143362018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14337
14338 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14339 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
14340 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14341 __libc_read and __libc_write to __read and __write.
c8c6e6d6 14342 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
14343 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14344 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14345 __thread_switch, __evc_wait): Move declarations to...
14346 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14347 attribute_hidden.
06d1a826
ST
14348 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14349 use PLT to call _hurd_self_sigstate.
43b5ff50 14350
fcd6b5ac
JM
143512018-06-13 Joseph Myers <joseph@codesourcery.com>
14352
14353 [BZ #23279]
14354 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14355 MAX_EXP as overflowing.
14356 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14357 overflow flag.
14358 (round_str): Output also whether result overflows in each rounding
14359 mode.
14360 * stdlib/tst-strtod-round-data: Add more tests.
14361 * stdlib/tst-strtod-round-data.h: Regenerated.
14362 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14363 (TEST): Handle extra arguments for overflow flags.
14364 (struct test_overflow): New type.
14365 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14366 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14367 (test_in_one_mode): Take argument with overflow information.
14368 (do_test): Update calls to test_in_one_mode.
14369
35df5a77
CD
143702018-06-12 Carlos O'Donell <carlos@redhat.com>
14371
a745c837
CD
14372 * elf/dl-load (_dl_dst_substitute): Correct comment.
14373 (_dl_dst_count): Likewise.
14374
35df5a77
CD
14375 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14376 lll_futex_timed_wait.
14377
48b12ed5
JM
143782018-06-12 Joseph Myers <joseph@codesourcery.com>
14379
14380 [BZ #23277]
14381 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14382 attribute.
14383 * math/test-nan-const.c: New file.
14384 * math/Makefile (tests): Add test-nan-const.
14385 (CFLAGS-test-nan-const.c): New variable.
14386
cb8f6aff
L
143872018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14388
14389 * benchtests/scripts/compare_strings.py (process_results): Add
14390 funcs argument. Compare only functions which are selected.
14391 (main): Check if base function is among selected functions.
14392 Pass selected functions to process_results.
14393 (__main__): Add -f/--functions argument.
14394
fc2ba803
HZ
143952018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14396 Hongbo Zhang <hongbo.zhang@linaro.org>
14397
14398 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14399 __memcpy_falkor for phecda core.
14400 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14401 __memmove_falkor for phecda core.
14402 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14403 __memset_falkor for phecda core.
14404 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14405 for phecda core.
14406 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14407 macro to identify phecda core.
14408
5aad5f61
CD
144092018-06-12 Carlos O'Donell <carlos@redhat.com>
14410 Andreas Schwab <schwab@suse.de>
14411 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 14412 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
14413
14414 [BZ #23102]
14415 [BZ #21942]
14416 [BZ #18018]
14417 [BZ #23259]
14418 CVE-2011-0536
14419 * elf/dl-dst.h: Remove DL_DST_COUNT.
14420 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14421 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14422 (is_dst): Comment. Support ELF gABI.
14423 (_dl_dst_count): Comment. Simplify and count DSTs.
14424 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14425 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14426 locals.
14427
329ea513
ZW
144282018-06-12 Zack Weinberg <zackw@panix.com>
14429
14430 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14431 * sysdeps/unix/sysv/linux/dl-sysdep.c
14432 Include not-cancel.h. Use __close_nocancel instead of __close,
14433 __open64_nocancel instead of __open, __read_nocancel instead of
14434 __libc_read, and __write_nocancel instead of __libc_write.
14435
14436 * csu/check_fds.c (check_one_fd)
14437 * sysdeps/posix/fdopendir.c (__fdopendir)
14438 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 14439 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
14440
14441 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14442 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 14443 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
14444 Use __open64_nocancel instead of __open_nocancel.
14445
14446 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14447 hidden_proto declarations to the end and issue them if either
14448 IS_IN(libc) or IS_IN(rtld).
14449 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14450 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14451 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14452 read_nocancel, waitpid_nocancel, write_nocancel.
14453
b39d961c
TS
14454 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14455 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14456 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 14457
b39d961c
TS
14458 * nptl/pt-fcntl.c: New file.
14459 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14460 (libpthread-routines): Add pt-fcntl.
14461 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14462 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
14463 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14464 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 14465 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
14466 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14467 to fcntl_nocancel.c.
14468 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14471 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14472
14473 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14474 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14475 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14476 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14477 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14478 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14479 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14480 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14481 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14482 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14483 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14484 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14485 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14486 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14487 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14488 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14489 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14490 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14491 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14492 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14493
b39d961c
TS
14494 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14495 libpthread-routines.
14496 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14497 defines nothing.
329ea513 14498
b39d961c
TS
14499 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14500 __libc_read, and __write instead of __libc_write. Define
14501 __open64 in addition to __open.
329ea513 14502
0221ce2a
L
145032018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14504
14505 [BZ #23250]
14506 [BZ #10686]
14507 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14508 to _private_tm[3] and add __glibc_reserved2.
14509 Add _Static_assert of offset of __private_ss == 0x30.
14510 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14511 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14512
e826574c
FW
145132018-06-12 Florian Weimer <fweimer@redhat.com>
14514
14515 x86: Make strncmp usable from rtld.
14516 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14517 __strncmp_ia32 if in libc (and not in rtld).
14518 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14519 strncmp if not in libc (and not to __strncmp_sse2).
14520
c4ad5782
RL
145212018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14522
14523 [BZ #23140]
14524 * localedata/locales/gd_GB (mon): Rename to...
14525 (alt_mon): This.
14526 (mon): Import from CLDR (genitive case).
14527 * localedata/locales/hsb_DE (mon): Rename to...
14528 (alt_mon): This.
14529 (mon): Import from CLDR (genitive case).
14530 * localedata/locales/wa_BE (mon): Rename to...
14531 (alt_mon): This.
14532 (mon): Add, fill with the proper genitive forms, but CLDR data
14533 is incomplete; completed according to the comments in this file.
14534 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14535
14536 * localedata/locales/wa_BE (country_name): Reword
14537 "Beljike" -> "Beldjike".
14538
ca121b11
JM
145392018-06-11 Joseph Myers <joseph@codesourcery.com>
14540
14541 [BZ #23272]
14542 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14543 cases of non-finite arguments.
14544 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14545
2b69fecb
JDA
145462018-06-10 John David Anglin <danglin@gcc.gnu.org>
14547
14548 [BZ #23174]
14549 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14550
283d9851
AZ
145512018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14552
14553 [BZ #23264]
14554 * include/unistd.h (__execvpex): New prototype.
14555 * posix/Makefile (tests): Add tst-spawn4.
14556 (tests-internal): Add tst-spawn4-compat.
14557 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14558 * posix/tst-spawn4-compat.c: New file.
14559 * posix/tst-spawn4.c: Likewise.
14560 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14561 binaries as shell scripts.
14562 * sysdeps/posix/spawni.c (__spawni): Likewise.
14563
67c05796
L
145642018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14565
14566 [BZ #23145]
14567 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14568 ($(all-built-dso:=.dynsym): New target.
14569 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14570 ($(objpfx)check-initfini.out): New target.
14571 (generated): Add check-initfini.out.
14572 * scripts/check-initfini.awk: New file.
14573 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14574 (_fini): Likewise.
14575 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14576 (_fini): Likewise.
14577 * sysdeps/arm/crti.S (_init): Mark as hidden.
14578 (_fini): Likewise.
14579 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14580 (_fini): Likewise.
14581 * sysdeps/i386/crti.S (_init): Mark as hidden.
14582 (_fini): Likewise.
14583 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14584 (_fini): Likewise.
14585 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14586 (_fini): Likewise.
14587 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14588 (_fini): Likewise.
14589 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14590 (_fini): Likewise.
14591 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14592 (_fini): Likewise.
14593 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14594 (_fini): Likewise.
14595 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14596 (_fini): Likewise.
14597 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14598 (_fini): Likewise.
14599 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14600 (_fini): Likewise.
14601 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14602 (_fini): Likewise.
14603 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14604 (_fini): Likewise.
14605 * sysdeps/sh/crti.S (_init): Mark as hidden.
14606 (_fini): Likewise.
14607 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14608 (_fini): Likewise.
14609 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14610 (_fini): Likewise.
14611
1c09524e
TMQMF
146122018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14613
14614 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14615 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14616 and TF redirection to KFtype and KF only when the default
14617 long double type is not the IEEE 128-bit floating point type.
14618
0e0577c9
JM
146192018-06-05 Joseph Myers <joseph@codesourcery.com>
14620
0c1c33b2
JM
14621 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14622 macro.
14623 (HWCAP_USCAT): Likewise.
14624 (HWCAP_ILRCPC): Likewise.
14625 (HWCAP_FLAGM): Likewise.
14626 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14627 Increase to 28.
14628 (_dl_aarch64_cap_flags): Add new flag names.
14629
bef1cbf4
JM
14630 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14631 (MAP_FIXED_NOREPLACE): New macro.
14632 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14633 (MAP_FIXED_NOREPLACE): Likewise.
14634 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14635 (MAP_FIXED_NOREPLACE): Likewise.
14636 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14637 (MAP_FIXED_NOREPLACE): Likewise.
14638 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14639 (MAP_FIXED_NOREPLACE): Likewise.
14640 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14641 (MAP_FIXED_NOREPLACE): Likewise.
14642 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14643 (MAP_FIXED_NOREPLACE): Likewise.
14644 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14645 (MAP_FIXED_NOREPLACE): Likewise.
14646 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14647 (MAP_FIXED_NOREPLACE): Likewise.
14648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14649 (MAP_FIXED_NOREPLACE): Likewise.
14650 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14651 (MAP_FIXED_NOREPLACE): Likewise.
14652 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14653 (MAP_FIXED_NOREPLACE): Likewise.
14654 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14655 (MAP_FIXED_NOREPLACE): Likewise.
14656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14657 (MAP_FIXED_NOREPLACE): Likewise.
14658 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14659 (MAP_FIXED_NOREPLACE): Likewise.
14660
0e0577c9
JM
14661 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14662 version to 4.17.
14663
ab3a0da0
JM
146642018-06-04 Joseph Myers <joseph@codesourcery.com>
14665
14666 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14667 version to 4.17
14668
d2d9dfb6
ST
146692018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14670
14671 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14672 int.
14673 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14674
a650b05e
LS
146752018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14676
14677 * benchtests/scripts/compare_string.py: (process_results) Catch
14678 exception in non-existent base_func and catch exception in
14679 non-existent attribute.
14680 (parse_file) Catch exception if input file does not exist.
14681
195abbf4
LS
146822018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14683
14684 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14685 options to avoid diff calculation and omit header, respectively.
14686 (main): process --no-diff and --no-header
14687
14570163
LS
146882018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14689 H.J. Lu <hongjiu.lu@intel.com>
14690
14691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14692 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14693 wcsncmp-sse2.
14694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14695 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14696 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14697 and __wcsncmp_sse2.
14698 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14699 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14700 AVX unaligned load is fast and vzeroupper is preferred.
14701 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14702 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14703 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14704 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14705 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14706 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14707 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14708 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14709 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14710 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14711 is undefined.
14712
e02c026f
FW
147132018-06-01 Florian Weimer <fweimer@redhat.com>
14714
14715 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14716 configuring with --disable-multi-arch, building with
14717 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14718 Haswell-era CPU.
14719
d8c19275
FW
147202018-06-01 Florian Weimer <fweimer@redhat.com>
14721
14722 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14723 results from building with “-march=x86-64 -mtune=generic
14724 -mfpmath=sse” and running on a Haswell-era CPU.
14725
0d2163eb
JM
147262018-06-01 Joseph Myers <joseph@codesourcery.com>
14727
14728 [BZ #18473]
14729 * soft-fp/sqrttf2.c: Remove file.
14730 * soft-fp/sqrtdf2.c: Move to ....
14731 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14732 <shlib-compat.h>.
14733 (__sqrtdf2): Make conditional on
14734 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14735 symbol.
14736 * soft-fp/sqrtsf2.c: Move to ....
14737 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14738 <shlib-compat.h>.
14739 (__sqrtsf2): Make conditional on
14740 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14741 symbol.
14742 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14743 (gcc-double-routines): Remove sqrtdf2.
14744 (gcc-quad-routines): Remove sqrttf2.
14745 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14746 Do not filter out sqrtsf2 and sqrtdf2.
14747 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14748 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14749
10450210
FW
147502018-06-01 Florian Weimer <fweimer@redhat.com>
14751
14752 * sysdeps/generic/libcidn.abilist: Remove file.
14753
4e8a6346
FW
147542018-06-01 Florian Weimer <fweimer@redhat.com>
14755
14756 [BZ #23236]
14757 * libio/strfile.h (struct _IO_str_fields): Rename members to
14758 discourage their use and add comment.
14759 (_IO_STR_DYNAMIC): Remove unused macro.
14760 * libio/strops.c (_IO_str_init_static_internal): Do not use
14761 callback pointers. Call malloc and free.
14762 (_IO_str_overflow): Do not use callback pointers. Call malloc
14763 and free.
14764 (enlarge_userbuf): Likewise.
14765 (_IO_str_finish): Call free.
14766 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14767 _allocate_buffer_unused.
14768 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14769 and free.
14770 (enlarge_userbuf): Likewise.
14771 (_IO_wstr_finish): Call free.
14772 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14773 _allocate_buffer_unused, _free_buffer_unused.
14774 * libio/memstream.c (__open_memstream): Likewise.
14775 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14776 * libio/wmemstream.c (open_wmemstream): Likewise.
14777
50d004c9
PP
147782018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14779
14780 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14781 AMD Ryzen 7 1800X.
14782
2c93fce7
RS
147832018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14784
14785 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14786 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14787 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14788 New file.
14789 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14790 Likewise.
14791 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14792
0ce2fa69
FW
147932018-05-29 Florian Weimer <fweimer@redhat.com>
14794
14795 * support/Makefile (libsupport-routines): Add
14796 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14797 xpthread_barrierattr_setpshared.
14798 * support/xpthread_barrierattr_destroy.c: New file.
14799 * support/xpthread_barrierattr_init.c: Likewise.
14800 * support/xpthread_barrierattr_setpshared.c: Likewise.
14801
7f7b5d8d
L
148022018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14803
14804 [BZ #23206]
14805 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14806 _r_debug and update DT_DEBUG for debugger.
14807
e4890300
FW
148082018-05-29 Florian Weimer <fweimer@redhat.com>
14809
14810 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14811 (tst-strtod5i.out): Likewise.
14812
2c753f3e
JM
148132018-05-25 Joseph Myers <joseph@codesourcery.com>
14814
b5453d9f
JM
14815 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14816 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14817 (sparc64-quad-routines): New variable. Moved from ....
14818 [$(subdir) = soft-fp] (sysdep_routines): Add
14819 $(sparc64-quad-routines). Moved from ....
14820 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14821 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14822 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14823 moved from ....
14824 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14825 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14826 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14827 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14828 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14829 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14830 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14831 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14832 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14833 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14834 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14835 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14836 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14837 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14838 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14839 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14840 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14841 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14842 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14843 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14844 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14845 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14846 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14847 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14848 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14849 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14850 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14851 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14852 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14853 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14854 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14855 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14856 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14857 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14858 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14859 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14860 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14861 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14862 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14863 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14864 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14865 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14866 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14867 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14868 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14869 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14870 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14871 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14872 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14873 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14874 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14875 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14876 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14877 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14878 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14879 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14880 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14881 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14882
2c753f3e
JM
14883 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14884 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14885 (sparc32-quad-routines): New variable. Moved from ....
14886 [$(subdir) = soft-fp] (sysdep_routines): Add
14887 $(sparc32-quad-routines). Moved from ....
14888 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14889 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14890 moved from ....
14891 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14892 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14893 * sysdeps/sparc/sparc32/q_add.c: ... here.
14894 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14895 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14896 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14897 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14898 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14899 * sysdeps/sparc/sparc32/q_div.c: ... here.
14900 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14901 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14902 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14903 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14904 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14905 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14906 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14907 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14908 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14909 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14910 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14911 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14912 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14913 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14914 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14915 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14916 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14917 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14918 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14919 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14920 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14921 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14922 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14923 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14924 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14925 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14926 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14927 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14928 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14929 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14930 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14931 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14932 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14933 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14934 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14935 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14936 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14937 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14938 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14939 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14940 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14941 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14942 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14943 * sysdeps/sparc/sparc32/q_util.c: ... here.
14944 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14945 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14946 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14947 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14948
c1dc1e1b
TMQMF
149492018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14950 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14951
14952 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14953 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14954 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14955 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14956
14186e8d
JM
149572018-05-24 Joseph Myers <joseph@codesourcery.com>
14958
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14960 powerpc/soft-fp.
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14962 Likewise.
14963 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14964 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14965
fb0e10b8
GG
149662018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14967
14968 [BZ #23171]
14969 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14970 double version.
14971
1dfeb17e
JM
149722018-05-23 Joseph Myers <joseph@codesourcery.com>
14973
14974 * sysdeps/sh/Implies: Remove sh/soft-fp.
14975 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14976 * sysdeps/sh/sfp-machine.h: ... here.
14977
727b38df
L
149782018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14979
14980 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14981 (__mempcpy_erms): Skip zero length.
14982 (__memmove_erms): Likewise.
14983 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14984 (__memset_erms): Likewise.
14985
2834fb46
JM
149862018-05-23 Joseph Myers <joseph@codesourcery.com>
14987
14988 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14989 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14990 Add functions moved from ....
14991 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14992 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14993 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14994 from ....
14995 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14996 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14997 * sysdeps/alpha/e_sqrtl.c: ... here.
14998 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14999 * sysdeps/alpha/local-soft-fp.h: ... here.
15000 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15001 * sysdeps/alpha/ots_add.c: ... here.
15002 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15003 * sysdeps/alpha/ots_cmp.c: ... here.
15004 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15005 * sysdeps/alpha/ots_cmpe.c: ... here.
15006 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15007 * sysdeps/alpha/ots_cvtqux.c: ... here.
15008 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15009 * sysdeps/alpha/ots_cvtqx.c: ... here.
15010 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15011 * sysdeps/alpha/ots_cvttx.c: ... here.
15012 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15013 * sysdeps/alpha/ots_cvtxq.c: ... here.
15014 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15015 * sysdeps/alpha/ots_cvtxt.c: ... here.
15016 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15017 * sysdeps/alpha/ots_div.c: ... here.
15018 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15019 * sysdeps/alpha/ots_mul.c: ... here.
15020 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15021 * sysdeps/alpha/ots_nintxq.c: ... here.
15022 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15023 * sysdeps/alpha/ots_sub.c: ... here.
15024 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15025 * sysdeps/alpha/sfp-machine.h: ... here.
15026
7f9f1ecb
FW
150272018-05-23 Florian Weimer <fweimer@redhat.com>
15028
15029 [BZ #19728]
15030 [BZ #19729]
15031 [BZ #22247]
15032 CVE-2016-6261
15033 CVE-2016-6263
15034 CVE-2017-14062
15035 Switch to extern IDNA implementation (libidn2).
15036 * libidn: Remove subdirectory.
15037 * LICENSES: Do not mention licensing conditions for the removed
15038 libidn code.
15039 * config.h.in (HAVE_LIBIDN): Remove.
15040 * include/dlfcn.h (__libc_dlopen): Update comment.
15041 * include/idna.h: Remove file.
15042 * inet/Makefile (routines): Add idna.
15043 (tests-static, tests-internal): Add tst-idna_name_classify.
15044 (LOCALES): Generate locales for tests.
15045 (tst-idna_name_classify.out): Depend on generated locales.
15046 * inet/idna_name_classify.c: New file.
15047 * inet/tst-idna_name_classify.c: Likewise.
15048 * inet/net-internal.h (__idna_to_dns_encoding)
15049 (__idna_from_dns_encoding): Declare.
15050 * inet/net-internal.h (enum idna_name_classification): Define.
15051 (__idna_name_classify): Declare.
15052 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15053 __idna_from_dns_encoding.
15054 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15055 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15056 name as a fallback in case of encoding errors.
15057 (getnameinfo): Use DEPRECATED_NI_IDN.
15058 * inet/idna.c: New file.
15059 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15060 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15061 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15062 (modules-names): Add tst-no-libidn2.
15063 (extra-test-objs): Add tst-no-libidn2.os.
15064 (LDFLAGS-tst-no-libidn2.so): Set soname.
15065 (LOCALES): Set, and generate locales.
15066 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15067 (tst-resolv-ai_idn-latin1): Likewise.
15068 (tst-resolv-ai_idn-nolibidn2): Likewise.
15069 (tst-resolv-ai_idn.out): Depend on locales.
15070 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15071 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15072 tst-no-libidn2.so.
15073 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15074 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15075 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15076 * resolv/tst-resolv-ai_idn.c: New file.
15077 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15078 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15079 * resolv/tst-no-libidn2.c: Likewise.
15080 * support/support_format_addrinfo.c (format_ai_flags): Do not
15081 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15082 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15083 (gaih_inet): Call __idna_to_dns_encoding and
15084 __idna_from_dns_encoding, and use the original (punycode) name if
15085 __idna_from_dns_encoding fails due to an encoding error.
15086 (getaddrinfo): Use DEPRECATED_AI_IDN.
15087 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15088 * sysdeps/unix/inet/configure: Remove file.
15089 * sysdeps/unix/inet/configure.ac: Likewise.
15090
5f7b841d
FW
150912018-05-23 Florian Weimer <fweimer@redhat.com>
15092
15093 Implement allocate_once.
15094 * include/allocate_once.h: New file.
15095 * misc/allocate_once.c: Likewise.
15096 * misc/tst-allocate_once.c: Likewise.
15097 * misc/Makefile (routines): Add allocate_once.
15098 (tests-internal): Add tst-allocate_once.
15099 (generated): Add tst-allocate_once.mtrace,
15100 tst-allocate_once-mem.out.
15101 (tests-special): Add tst-allocate_once-mem.out.
15102 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15103 (tst-allocate_once-mem.out): Call mtrace.
15104 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15105
ed983107
L
151062018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15107
15108 [BZ #23196]
15109 * string/test-memcpy.c (do_test1): New function.
15110 (test_main): Call it.
15111
9aaaab7c
AS
151122018-05-23 Andreas Schwab <schwab@suse.de>
15113
15114 [BZ #23196]
15115 CVE-2018-11237
15116 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15117 (L(preloop_large)): Save initial destination pointer in %r11 and
15118 use it instead of %rax after the loop.
15119 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15120
5c5c0dd7
JM
151212018-05-22 Joseph Myers <joseph@codesourcery.com>
15122
8f145c77
JM
15123 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15124 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15125 -I../soft-fp. Moved from ....
15126 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15127 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15128 * sysdeps/aarch64/e_sqrtl.c: ... here.
15129 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15130 * sysdeps/aarch64/sfp-machine.h: ... here.
15131
3d6302a5
JM
15132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15133 -Wmaybe-uninitialized around access to fq[0].
15134 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15135 Likewise.
15136
5c5c0dd7
JM
15137 [BZ #18471]
15138 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15139 aliases for non-libc case of versioned symbols.
15140 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15141 (llseek): Define as compat symbol if
15142 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15143 with link warning.
15144 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15145 Make into a compat symbol, disabled for minimum symbol version
15146 GLIBC_2.28 and later.
15147 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15148
ed0d6988
FW
151492018-05-22 Florian Weimer <fweimer@redhat.com>
15150
15151 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15152 not add -mpreferred-stack-boundary=4.
15153 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15154 (stack-align-test-flags): Likewise.
15155 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15156 Likewise.
15157 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15158 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15159 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15160 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15161 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15162 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15163 (CFLAGS-tst-align2.c): Likewise.
15164
e28e9b1e
L
151652018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15166
15167 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15168 (index_arch_Prefer_FSRM): Likewise.
15169 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15170 Also check Prefer_FSRM.
15171 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15172 Also return OPTIMIZE (erms) for Prefer_FSRM.
15173
1af30adc
L
151742018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15175
15176 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15177 (index_cpu_FSRM): Likewise.
15178 (reg_FSRM): Likewise.
15179
78274dc8
JM
151802018-05-18 Joseph Myers <joseph@codesourcery.com>
15181
7c67e6e8
JM
15182 * math/gen-tgmath-tests.py: Import sys.
15183 (Tests.__init__): Initialize macros_seen.
15184 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15185 if requested to do so for this macro.
15186 (Tests.add_all_tests): Take argument for macro for which to
15187 generate tests.
15188 (Tests.check_macro_list): New function.
15189 (main): Handle check-list argument and argument specifying macro
15190 for which to generate tests.
15191 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15192 [PYTHON] (tgmath3-macro-tests): Likewise.
15193 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15194 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15195 not test-tgmath3.c.
15196 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15197 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15198 to CFLAGS.
15199 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15200 [PYTHON] ($(foreach
15201 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15202 rule.
15203 [PYTHON] (tests-special): Add
15204 $(objpfx)test-tgmath3-macro-list.out.
15205 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15206
ebc129fd
JM
15207 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15208 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15209 later.
15210
78274dc8
JM
15211 [BZ #22639]
15212 * time/tzset.c (SECSPERDAY): Cast to time_t.
15213 * time/tst-y2039.c: New file.
15214 * time/Makefile (tests): Add tst-y2039.
15215
6f7fdeeb
LS
152162018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15217
15218 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15219 (PREFETCH_ONE_SET): Remove duplicate line.
15220
e363a91c
FW
152212018-05-17 Florian Weimer <fweimer@redhat.com>
15222
15223 * sysdeps/generic/math-type-macros-double.h: Include
15224 <math-nan-payload-double.h> after <libm-alias-double.h>.
15225 * sysdeps/generic/math-type-macros-float.h: Include
15226 <math-nan-payload-float.h> after <libm-alias-float.h>.
15227 * sysdeps/generic/math-type-macros-float128.h: Include
15228 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15229 * sysdeps/generic/math-type-macros-ldouble.h: Include
15230 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15231
dae6c43c
AS
152322018-05-17 Andreas Schwab <schwab@suse.de>
15233
15234 * resolv/res_send.c (__res_context_send): Don't set errno when
15235 returing error after malloc failure.
15236
0068c085
L
152372018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15238
15239 * nptl/allocatestack.c (allocate_stack): Remove the
15240 !__ASSUME_PRIVATE_FUTEX paths.
15241 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15242 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15243 Likewise.
15244 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15245 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15246 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15247 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15248 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15249 !__ASSUME_PRIVATE_FUTEX path.
15250 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15251 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15252 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15253 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15254 !__ASSUME_PRIVATE_FUTEX macros.
15255 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15256 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15257 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15258 * sysdeps/unix/sysv/linux/kernel-features.h
15259 (__ASSUME_PRIVATE_FUTEX): Removed.
15260
632a6cbe
JM
152612018-05-17 Joseph Myers <joseph@codesourcery.com>
15262
15263 * math/Makefile (libm-narrow-fns): Add div.
15264 (libm-test-funcs-narrow): Likewise.
15265 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15266 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15267 * math/gen-auto-libm-tests.c (test_functions): Add div.
15268 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15269 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15270 (NARROW_DIV_TRIVIAL): Likewise.
15271 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15272 macro.
15273 (__ddivl): Likewise.
15274 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15275 ddiv.
15276 (CFLAGS-nldbl-ddiv.c): New variable.
15277 (CFLAGS-nldbl-fdiv.c): Likewise.
15278 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15279 __nldbl_ddivl.
15280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15281 prototype.
15282 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15283 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15284 * math/auto-libm-test-in: Add tests of div.
15285 * math/auto-libm-test-out-narrow-div: New generated file.
15286 * math/libm-test-narrow-div.inc: New file.
15287 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15289 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15290 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15291 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15292 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15300 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15301 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15302 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15303 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15304 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15306 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15307 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15308 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15310 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15311 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15313 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15314 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15315 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15323 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15324 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15328 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15329 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15331
8c78faa9
AZ
153322018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15333
15334 [BZ #23178]
15335 * nscd/nscd-client.h (sendfileall): Remove prototype.
15336 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15337 (handle_request): Use writeall instead of sendfileall.
15338 * nscd/aicache.c (addhstaiX): Likewise.
15339 * nscd/grpcache.c (cache_addgr): Likewise.
15340 * nscd/hstcache.c (cache_addhst): Likewise.
15341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15342 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15343 * nscd/pwdcache.c (cache_addpw): Likewise.
15344 * nscd/servicescache.c (cache_addserv): Likewise.
15345 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15346 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15347 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15348 Remove define.
15349
04958880
L
153502018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15351
15352 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15353 Include <string/strncat.c>.
15354 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15355 alias.
15356 (__GI___strncat): New hidden alias.
15357
c9992d13
JM
153582018-05-16 Joseph Myers <joseph@codesourcery.com>
15359
15360 * sysdeps/mips/mips32/libm-test-ulps: Update.
15361 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15362
2afece36
FW
153632018-05-16 Florian Weimer <fweimer@redhat.com>
15364
15365 * support/Makefile (libsupport-routines): Add support_quote_blob,
15366 support_test_compare_blob.
15367 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15368 * support/check.h (TEST_COMPARE_BLOB): Define.
15369 (support_test_compare_blob): Declare.
15370 * support/support.h (support_quote_blob): Declare.
15371 * support/support_quote_blob.c: New file.
15372 * support/support_test_compare_blob.c: Likewise.
15373 * support/tst-support_quote_blob.c: Likewise.
15374 * support/tst-test_compare_blob.c: Likewise.
15375
9761bf4d
FW
153762018-05-16 Florian Weimer <fweimer@redhat.com>
15377
15378 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15379 of <strtod_nan_double.h>.
15380 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15381 instead of SET_MANTISSA.
15382 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15383 of include <strtod_nan_float.h>.
15384 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15385 instead of <strtod_nan_ldouble.h>.
15386 * stdlib/strtod_nan_double.h: Move to ...
15387 * sysdeps/generic/math-nan-payload-double.h: ... here.
15388 (FLOAT): Remove definition.
15389 (SET_MANTISSA): Rename to ...
15390 (SET_NAN_PAYLOAD): ... this.
15391 * stdlib/strtod_nan_float.h: Move to ...
15392 * sysdeps/generic/math-nan-payload-float.h: ... here.
15393 (FLOAT): Remove definition.
15394 (SET_MANTISSA): Rename to ...
15395 (SET_NAN_PAYLOAD): ... this.
15396 * sysdeps/generic/math-type-macros-double.h: Include
15397 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15398 instead of <math-svid-compat.h>.
15399 * sysdeps/generic/math-type-macros-float.h: Include
15400 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15401 instead of <math-svid-compat.h>.
15402 * sysdeps/generic/math-type-macros-float128.h: Include
15403 <math-nan-payload-float128.h>.
15404 * sysdeps/generic/math-type-macros-ldouble.h: Include
15405 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15406 instead of <math-svid-compat.h>.
15407 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15408 check for definition.
15409 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15410 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15411 Include <ieee754_float128.h>.
15412 (FLOAT): Remove definition.
15413 (SET_MANTISSA): Rename to ...
15414 (SET_NAN_PAYLOAD): ... this.
15415 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15416 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15417 Do not include <float128_private.h>.
15418 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15420 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15421 (FLOAT): Remove definition.
15422 (SET_MANTISSA): Rename to ...
15423 (SET_NAN_PAYLOAD): ... this.
15424 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15425 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15426 (FLOAT): Remove definition.
15427 (SET_MANTISSA): Rename to ...
15428 (SET_NAN_PAYLOAD): ... this.
15429 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15430 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15431 (FLOAT): Remove definition.
15432 (SET_MANTISSA): Rename to ...
15433 (SET_NAN_PAYLOAD): ... this.
15434 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15435 of "../stdlib/strtod_nan_double.h".
15436 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15437 of "../stdlib/strtod_nan_float.h".
15438 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15439 instead of "../stdlib/strtod_nan_ldouble.h".
15440 * manual/arith.texi (Parsing of Floats): Adjust comment.
15441
69a01461
JM
154422018-05-16 Joseph Myers <joseph@codesourcery.com>
15443
15444 * math/Makefile (libm-narrow-fns): Add mul.
15445 (libm-test-funcs-narrow): Likewise.
15446 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15447 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15448 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15449 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15450 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15451 (NARROW_MUL_TRIVIAL): Likewise.
15452 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15453 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15454 macro.
15455 (__dmull): Likewise.
15456 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15457 dmul.
15458 (CFLAGS-nldbl-dmul.c): New variable.
15459 (CFLAGS-nldbl-fmul.c): Likewise.
15460 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15461 __nldbl_dmull.
15462 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15463 prototype.
15464 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15465 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15466 * math/auto-libm-test-in: Add tests of mul.
15467 * math/auto-libm-test-out-narrow-mul: New generated file.
15468 * math/libm-test-narrow-mul.inc: New file.
15469 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15472 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15473 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15474 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15480 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15481 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15482 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15483 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15484 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15485 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15486 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15488 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15489 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15490 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15509 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15510 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15513
a15529fd
L
155142018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15515
15516 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15517 with *%eax in call.
15518
98ee36c7
L
155192018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15520
15521 * sysdeps/i386/ldsodefs.h: Removed.
15522 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15523 * sysdeps/x86/ldsodefs.h: This.
15524 (La_i86_regs): New.
15525 (La_i86_retval): Likewise.
15526 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15527 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15528
e322ec32
L
155292018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15530
15531 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15532 unnecessary testl.
15533
0937e209
AM
155342018-05-13 Alan Modra <amodra@gmail.com>
15535
15536 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15537 R_PARISC_TLS_DTPOFF32 reloc addend.
15538
5db7d705
TMQMF
155392018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15540
15541 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15542 * math/math.h: Restrict the prototype definition for the functions
15543 issignaling(_Float128) and iszero(_Float128); and template
15544 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15545 __HAVE_FLOAT128_UNLIKE_LDBL.
15546 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15547 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15548 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15549 __f128() constants; define the type _Float128 as long double;
15550 and reuse long double in __CFLOAT128.
15551
b4d5b8b0
JM
155522018-05-11 Joseph Myers <joseph@codesourcery.com>
15553
15554 * sysdeps/generic/math_private.h: Do not include
15555 <math-barriers.h>.
15556 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15557 <math_private.h>.
15558 * math/fromfp.h: Include <math-barriers.h>.
15559 * math/math-narrow.h: Likewise.
15560 * math/s_nextafter.c: Likewise.
15561 * math/s_nexttowardf.c: Likewise.
15562 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15563 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15564 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15565 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15566 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15567 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15568 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15571 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15573 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15574 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15575 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15576 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15577 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15578 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15583 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15584 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15585 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15586 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15587 * sysdeps/ieee754/k_standardl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15604 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15606 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15607 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15608 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15609 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15610
fc79706a
FW
156112018-05-11 Florian Weimer <fweimer@redhat.com>
15612
15613 Use 64-bit epoch values in the time zone file parser.
15614 * include/time.h (internal_time_t): Define.
15615 (__tzfile_compute): Use it.
15616 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15617 member.
15618 (transitions): Switch to internal_time_t.
15619 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15620 types.
15621 (__tzfile_compute): Use internal_time_t for timer argument. Check
15622 for truncation before calling __offtime.
15623
89aacb51
FW
156242018-05-11 Florian Weimer <fweimer@redhat.com>
15625
15626 [BZ #23166]
15627 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15628 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15629 Likewise.
15630 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15631 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15632 export without --enable-obsolete-rpc.
15633 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15634 symbol. This should not have been exported, ever.
15635
bb066cb8
RL
156362018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15637
15638 [BZ #23152]
15639 * localedata/locales/gd_GB (abmon): Fix typo in May:
15640 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15641
70c97f84
SP
156422018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15643
db725a45
SP
15644 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15645 Use multiple registers to copy data in loop tail.
15646
70c97f84
SP
15647 * sysdeps/aarch64/multiarch/memmove_falkor.S
15648 (__memmove_falkor): Use multiple registers to move data in
15649 loop tail.
15650
8f5b00d3
JM
156512018-05-10 Joseph Myers <joseph@codesourcery.com>
15652
15653 * math/math-underflow.h: New file.
15654 * sysdeps/generic/math_private.h: Do not include <float.h>.
15655 (fabs_tg): Remove macro. Moved to math-underflow.h.
15656 (min_of_type_f): Likewise.
15657 (min_of_type_): Likewise.
15658 (min_of_type_l): Likewise.
15659 (min_of_type_f128): Likewise.
15660 (min_of_type): Likewise.
15661 (math_check_force_underflow): Likewise.
15662 (math_check_force_underflow_nonneg): Likewise.
15663 (math_check_force_underflow_complex): Likewise.
15664 * math/e_exp2_template.c: Include <math-underflow.h>.
15665 * math/k_casinh_template.c: Likewise.
15666 * math/s_catan_template.c: Likewise.
15667 * math/s_catanh_template.c: Likewise.
15668 * math/s_ccosh_template.c: Likewise.
15669 * math/s_cexp_template.c: Likewise.
15670 * math/s_clog10_template.c: Likewise.
15671 * math/s_clog_template.c: Likewise.
15672 * math/s_csin_template.c: Likewise.
15673 * math/s_csinh_template.c: Likewise.
15674 * math/s_csqrt_template.c: Likewise.
15675 * math/s_ctan_template.c: Likewise.
15676 * math/s_ctanh_template.c: Likewise.
15677 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15678 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15679 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15681 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15682 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15683 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15685 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15686 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15688 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15689 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15690 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15692 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15694 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15695 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15696 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15697 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15698 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15699 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15700 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15701 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15702 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15703 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15705 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15706 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15707 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15708 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15745 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15747 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15754 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15755 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15756 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15757 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15761
9ed2e15f
JM
157622018-05-09 Joseph Myers <joseph@codesourcery.com>
15763
15764 * sysdeps/generic/math-barriers.h: New file.
15765 * sysdeps/generic/math_private.h [!math_opt_barrier]
15766 (math_opt_barrier): Move to math-barriers.h.
15767 [!math_opt_barrier] (math_force_eval): Likewise.
15768 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15769 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15770 math-barriers.h.
15771 (math_force_eval): Likewise.
15772 * sysdeps/alpha/fpu/math-barriers.h: New file.
15773 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15774 math-barriers.h.
15775 (math_force_eval): Likewise.
15776 * sysdeps/x86/fpu/math-barriers.h: New file.
15777 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15778 math-barriers.h.
15779 (math_force_eval): Likewise.
15780 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15781 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15782 multiple-include guard for rename.
15783 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15784 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15785 math-barriers.h.
15786 (math_force_eval): Likewise.
15787
5460617d
PP
157882018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15789
15790 [BZ #22786]
43d4f3d5 15791 CVE-2018-11236
5460617d
PP
15792 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15793 computation.
15794 * stdlib/Makefile (test-bz22786): New test.
15795 * stdlib/test-bz22786.c: New test.
15796
aaee3cd8
JM
157972018-05-09 Joseph Myers <joseph@codesourcery.com>
15798
15799 * include/math-narrow-eval.h: New file. Contents moved from ....
15800 * sysdeps/generic/math_private.h: ... here.
15801 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15802 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15803 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15804 * stdlib/strtod_l.c: Likewise.
15805 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15806 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15807 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15820 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15821 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15822 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15823 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15824 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15825 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15827 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15828 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15829 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15830 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15831 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15832 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15833 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15834
0555c477
AS
158352018-05-08 Andreas Schwab <schwab@suse.de>
15836
15837 * sysdeps/nptl/internaltypes.h: Fix comment.
15838
50d7d351
L
158392018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15840
15841 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15842 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15843 hidden.
15844
543477f7
SP
158452018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15846
15847 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15848 of I into loop header.
15849 * benchtests/bench-memmove-walk.c
15850 (test_main): Likewise.
15851
158522018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
15853
15854 Revert:
15855 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15856 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15857
0065aaaa
PP
158582018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15859
15860 [BZ #20419]
15861 * elf/dl-load.c (open_verify): Fix stack overflow.
15862 * elf/Makefile (tst-big-note): New test.
15863 * elf/tst-big-note-lib.S: New.
15864 * elf/tst-big-note.c: New.
15865
b289cd9d
JM
158662018-05-04 Joseph Myers <joseph@codesourcery.com>
15867
15868 * scripts/abilist.awk: Ignore absolute symbols.
15869 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15870 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15871 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15872 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15873 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15874 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15875 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15876 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15877 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15878 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15879 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15880 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15961 Likewise.
15962 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15975 Likewise.
15976 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16003 Likewise.
16004 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16024 Likewise.
16025 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16038 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16039 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16040 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16043 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16044 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16046 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16047 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16048 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16057 Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16063 Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16065 Likewise.
16066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16068 Likewise.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16071 Likewise.
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16073 Likewise.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16077 Likewise.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16079 Likewise.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16081 Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16086 Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16093 Likewise.
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16096 Likewise.
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16098 Likewise.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16100 Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16102 Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16106 Likewise.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16108 Likewise.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16110 Likewise.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16113 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16114 Likewise.
16115 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16117 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16129 Likewise.
16130 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16142 Likewise.
16143 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16168 Likewise.
16169 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16182 Likewise.
16183 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16196 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16208 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16209 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16221
16609018
SL
162222018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16223
16224 [BZ #23137]
16225 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16226 Use atomic_load_acquire to load __tid.
16227
556f5c46
L
162282018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16229
16230 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16231 Restore the pointer into %rdx, after syscall and use %rdx,
16232 instead of %rsi, to restore context.
16233
8b8f32b2
L
162342018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16235
16236 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16237 Pop the pointer into %rdx after syscall and use %rdx, instead
16238 of %rsi, to restore context.
16239
d6cc1829
L
162402018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16241
16242 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16243 handlers after setjmp.
16244 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16245 defined.
16246 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16247 <libc-pointer-arith.h>.
16248 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16249 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16250 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16251 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16252 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16253 * sysdeps/x86/__longjmp_cancel.S: New file.
16254 * sysdeps/x86/longjmp.c: Likewise.
16255 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16256
cf2478d5
AZ
162572018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16258
16259 * NEWS: Add ustat.h deprecation entry.
16260 * bits/ustat.h: Remove file.
16261 * misc/sys/ustat.h: Likewise.
16262 * misc/ustat.h: Likewise.
16263 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16264 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16265 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16266 compatibility mode.
16267 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16268 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16269 generic Linux implementation.
16270
dc115e1c
TMQMF
162712018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16272
16273 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16274 * math/w_expl_compat.c: Likewise.
16275 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16276
6b5c8607 162772018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
16278
16279 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16280
c57bf7c1
AZ
162812018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16282
16283 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16284 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16285 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16286 Remove.
16287 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16290 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16291 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16292 and SYSCALL_LL64.
16293
06135c33
TMQMF
162942018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16295
33927914
TMQMF
16296 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16297
06135c33
TMQMF
16298 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16299 * math/w_asin_template.c: Likewise.
16300 * math/w_atanh_template.c: Likewise.
16301
3a33b069
GG
163022018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16303
16304 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16305 to powerpc/powerpc64/be for big-endian.
16306 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16307 little-endian.
16308
16309 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16310 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16311 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16312 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16313 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16314 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16315 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16316 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16317 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16318 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16319 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16320 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16321 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16322 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16323 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16324 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16325 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16326 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16327 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16328 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16329 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16330 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16331 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16332 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16333 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16334 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16335 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16336 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16337 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16338 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16339 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16340 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16341
16342 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16343 adjusted to imply powerpc64 and older processors on powerpc64/be.
16344 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16345 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16346 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16347 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16348 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16349 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16350 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16351 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16352 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16353 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16354 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16355 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16356 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16357 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16358 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16359 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16360 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16361 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16362 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16363 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16364 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16365 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16366 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16367 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16368 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16369 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16370 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16371 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16372 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16373 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16374 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16375
16376 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16377 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16378 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16379 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16380
16381 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16382 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16383 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16384 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16385
16386 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16387 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16388 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16389 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16390 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16391 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16393 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16395 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16397
16398 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16399 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16400 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16401 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16402 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16403 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16404 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16405 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16406 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16407 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16408 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16409
16410 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16411 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16412 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16413 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16414 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16415 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16416 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16417 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16418 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16419 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16420 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16421 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16422
16423 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16424 and adjusted to imply olders processors.
16425 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16426 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16427 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16428 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16429 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16430 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16431 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16432 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16433 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16434 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16435 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16436
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16438 powerpc64/le.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16440 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16441
16442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16443 powerpc64le.
16444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16446
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16448 powerpc64/be.
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16452
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16454 powerpc64 and adjusted.
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16458 Likewise.
16459
a3fb6b6b
JM
164602018-04-27 Joseph Myers <joseph@codesourcery.com>
16461
16462 * sysdeps/tile: Remove.
16463 * sysdeps/unix/sysv/linux/tile: Likewise.
16464 * README (tilegx-*-linux-gnu): Remove from list of supported
16465 configurations.
16466 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16467 contribution of support for generic Linux kernel syscall
16468 interface.
16469 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16470 tilegx configurations.
16471 (Config.install_linux_headers): Do not handle tile.
16472 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16473 in comment.
16474 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16475 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16476 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16477 conditional undefine and redefine.
16478 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16479 in comment.
16480 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16481 conditional undefine and redefine.
16482
7a6f7478
AJ
164832018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16484
16485 * signal/tst-sigaction.c: New file to test BZ #23069.
16486 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16487
81b49e96
TMQMF
164882018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16489
16490 [BZ #22766]
16491 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16492 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16493 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16494 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16495
7d80f48e
AZ
164962018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16497
16498 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16499 _DIRENT_MATCHES_DIRENT64 is not defined.
16500 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16501 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16502 is defined.
16503 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16504 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16505
42a2bf58
JM
165062018-04-25 Joseph Myers <joseph@codesourcery.com>
16507
16508 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16509 version to GCC 8 branch.
16510
9320ca88
JM
165112018-04-24 Joseph Myers <joseph@codesourcery.com>
16512
5e14bb97
JM
16513 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16514 (check_no_hidden): Use type of original function when declaring
16515 alias.
16516
9320ca88
JM
16517 * sysdeps/unix/sysv/linux/sys/ptrace.h
16518 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16519 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16520 (struct __ptrace_seccomp_metadata): New type.
16521 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16522 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16523 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16524 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16526 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16528 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16530 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16532 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16533 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16534 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16535 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16536 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16537
af7e376b
AZ
165382018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16539
16540 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16541 defined.
16542 * dirent/versionsort.c (versionsort): Likewise.
16543 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16544 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16545 * dirent/versionsort64.c (versionsort64): Likewise.
16546 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16547 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16548 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16549 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16550 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16551 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16552 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16553 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16554 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16555 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16558 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16559 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16560
da5e0361
JM
165612018-04-23 Joseph Myers <joseph@codesourcery.com>
16562
16563 * elf/elf.h (NT_PPC_PKEY): New macro.
16564
6b5c8607 165652018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
16566
16567 [BZ #23094]
16568 * localedata/locales/hr_HR: fix thousands_sep and
16569 mon_thousands_sep
16570
573963e3
JM
165712018-04-20 Joseph Myers <joseph@codesourcery.com>
16572
16573 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16574 (XTABS): Define to TAB3.
16575
c0123b3b
AZ
165762018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16577
0900a849
AZ
16578 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16579
c0123b3b
AZ
16580 * dirent/scandir-tail-common.c: New file.
16581 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16582 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16583 * dirent/scandir.c: Use scandir-tail-common.c.
16584 * dirent/scandirat.c: Likewise.
16585 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16586 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16587 if _DIRENT_MATCHES_DIRENT64 is defined.
16588 * dirent/scandirat64.c (scandirat64): Likewise.
16589 * include/dirent.h (__scandir_tail): Only define iff
16590 _DIRENT_MATCHES_DIRENT64 is not defined.
16591 (__scandir64_tail): Define regardless.
16592 (__scandirat, scandirat64): Remove libc_hidden_proto.
16593 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16594 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16596 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16597 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16599 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16600
458b94f6
JM
166012018-04-20 Joseph Myers <joseph@codesourcery.com>
16602
16603 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16604 New macro.
16605 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16606 Increase to 24.
16607 (_dl_aarch64_cap_flags): Add asimdfhm.
16608
9f0437e8
CLT
166092018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16610
16611 * sysdeps/nios2/libm-test-ulps: Update.
16612
298d0e31
AZ
166132018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16614
50511ca4
AZ
16615 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16616 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16617
298d0e31
AZ
16618 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16619 requirements.
6b5c8607 16620 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
16621 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16622 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16623 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16624 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16625 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16626 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16627 use getdents64 syscalls as base.
16628 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16629 symbol if required.
16630 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16631 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16632 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16633 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16634 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16635 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16636 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16637 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16639 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16640 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16641
0085be14
SL
166422018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16643
16644 * scripts/test_printers_common.py (init_test): Disable lock elision.
16645
da796524
SL
166462018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16647
16648 * math/test-tgmath.c (count_double, count_float,
16649 count_ldouble, count_cdouble, count_cfloat,
16650 count_cldouble): Use volatile int.
16651
0dd25301
ST
166522018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16653
16654 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16655 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 16656 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
16657 i386-gnu.
16658 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16659 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16660 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16661 msqid_ds.msg_lrpid): Likewise.
16662 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16663 Likewise.
16664 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16665 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
16666 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16667 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16668 unsigned int.
16669 (struct statvfs64): Likewise.
f55a4fde
ST
16670 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16671 Likewise.
77b93390
ST
16672 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16673 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16674 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16675 instead of wait_queue.
16676 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16677 instead of vm_area_struct.
5cd2931a
ST
16678 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16679 struct sched_param definition to it.
e60c3f2b
ST
16680 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16681 * bits/types/struct_sched_param.h: New file.
16682 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16683 <bits/types/struct_sched_param.h> instead of <sched.h>.
16684 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
16685 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16686 generic version but include <bits/pthreadtypes.h> to make struct
16687 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
16688 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16689 non-compliant.
a564872d
ST
16690 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16691 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16692 [__USE_XOPEN] (OFDEL): New macro.
16693 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 16694 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
16695 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16696 prototypes.
16697 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16698 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
16699 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16700 non-compliant.
16701 * sysdeps/i386/sys/ucontext.h: Likewise.
16702 * sysdeps/m68k/sys/ucontext.h: Likewise.
16703 * sysdeps/mips/sys/ucontext.h: Likewise.
16704 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
16705 * sysdeps/mach/hurd/i386/Makefile
16706 (test-xfail-POSIX/fcntl.h/conform): Add.
16707 (test-xfail-POSIX/signal.h/conform): Add.
16708 (test-xfail-POSIX/semaphore.h/conform): Add.
16709 (test-xfail-POSIX/regex.h/conform): Add.
16710 (test-xfail-POSIX/aio.h/conform): Add.
16711 (test-xfail-POSIX/mqueue.h/conform): Add.
16712 (test-xfail-POSIX/sys/types.h/conform): Add.
16713 (test-xfail-UNIX98/fcntl.h/conform): Add.
16714 (test-xfail-UNIX98/netdb.h/conform): Add.
16715 (test-xfail-UNIX98/signal.h/conform): Add.
16716 (test-xfail-UNIX98/semaphore.h/conform): Add.
16717 (test-xfail-UNIX98/regex.h/conform): Add.
16718 (test-xfail-UNIX98/aio.h/conform): Add.
16719 (test-xfail-UNIX98/ftw.h/conform): Add.
16720 (test-xfail-UNIX98/mqueue.h/conform): Add.
16721 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16722 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16723 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16724 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16725 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16726 (test-xfail-UNIX98/sys/types.h/conform): Add.
16727 (test-xfail-UNIX98/stdlib.h/conform): Add.
16728 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16729 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16730 (test-xfail-POSIX2008/netdb.h/conform): Add.
16731 (test-xfail-POSIX2008/signal.h/conform): Add.
16732 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16733 (test-xfail-POSIX2008/regex.h/conform): Add.
16734 (test-xfail-POSIX2008/aio.h/conform): Add.
16735 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16736 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16737 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16738 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16739 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16740 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16741 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16742 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16743 (test-xfail-XOPEN2K/signal.h/conform): Add.
16744 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16745 (test-xfail-XOPEN2K/regex.h/conform): Add.
16746 (test-xfail-XOPEN2K/aio.h/conform): Add.
16747 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16748 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16749 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16750 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16751 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16752 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16753 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16754 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16755 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16756 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16757 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16758 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16759 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16760 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16761 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16762 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16763 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16764 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16765 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16766 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16767 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16768 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16769 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16770 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16771 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16772 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
16773 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16774 i386-gnu.
16775 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16776 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 16777
d6397de3
JM
167782018-04-18 Joseph Myers <joseph@codesourcery.com>
16779
16780 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16781 --enable-obsolete for powerpc-linux-gnuspe.
16782
8323a902
ST
167832018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16784
3dc0814c 16785 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 16786 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 16787 prototypes.
c5896a45
ST
16788 * sysdeps/mach/include/mach.h: Likewise.
16789 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16790 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 16791
743b9c2a
AZ
167922018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16793
16794 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16795 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16796 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16797 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16798
326e74e7
AS
167992018-04-16 Andreas Schwab <schwab@suse.de>
16800
16801 [BZ #19527]
16802 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16803
6b5c8607 168042018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
16805
16806 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16807 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16808
a700e7cb
DD
168092018-04-12 DJ Delorie <dj@redhat.com>
16810
16811 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16812 version to 4.16.
16813
d8abfab7
SL
168142018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16815
16816 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16817 (struct kernel_sigaction): Use the same definition on 31bit as is used
16818 on 64bit.
16819
583a27d5
FW
168202018-04-09 Florian Weimer <fweimer@redhat.com>
16821
16822 [BZ #23037]
16823 * resolv/res_send.c (send_dg): Use designated initializers instead
16824 of assignment to zero-initialize other fields of struct mmsghdr.
16825
243f59e5
AZ
168262018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16827
942de61a
AZ
16828 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16829 __READDIR_ALIAS): Undefine after usage.
16830 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16831 __READDIR_R_ALIAS): Likewise.
16832 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16833 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16834 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16835 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16836 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16837 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16838 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16839 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16840 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16841 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16842 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16843 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16844 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16845 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16846 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16847 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16848 * sysdeps/unix/sysv/linux/readdir.c: New file.
16849 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16850 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16851 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16852
243f59e5
AZ
16853 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16854
690c3475
AS
168552018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16856
16857 * manual/charset.texi (Converting a Character): Fix typo.
16858
6b5c8607 168592018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 16860
bbc2062a
AZ
16861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16862
fa7c6199
AZ
16863 * sysdeps/arm/libm-test-ulps: Update.
16864
b4a5d26d
AZ
16865 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16866 as base implementation.
16867 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16868 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16870 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16871 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16872 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16873 remove unrequired definitions and update comments.
16874 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16875 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16876 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16877 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16878 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16879 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16880 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16881 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16882 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16883 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16884 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16885 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16886 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16887 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16888 and RESET_SA_RESTORER hooks.
16889
db9e55ff
SL
168902018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16891
16892 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16893
cf138b0c
FW
168942018-04-05 Florian Weimer <fweimer@redhat.com>
16895
16896 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16897 integer overflow, memory leak on error, and indeterminate errno
16898 value. Add a null wide character to terminate the result string.
16899 * manual/charset.texi (Converting a Character): Mention embedded
16900 null bytes in the mbrtowc input string. Explain what happens in
16901 the -2 result case. Do not claim that mbrtowc is simple or
16902 obvious to use. Adjust the description of the code example. Use
16903 @code, not @var, for concrete variables.
16904
0f339252
FW
169052018-04-05 Florian Weimer <fweimer@redhat.com>
16906
16907 * manual/examples/mbstouwcs.c: New file.
16908 * manual/charset.texi (Converting a Character): Include it.
16909
e5f9508a
ST
169102018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16911
c120981d
ST
16912 * include/dirent.h (dirfd): Add hidden proto.
16913 * dirent/dirfd.c (dirfd): Add hidden def.
16914 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16915 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 16916
b2fd61ca
TMQMF
169172018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16918
16919 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16920 sin, cos and sincos to 1 ULP.
16921
10a446dd
MR
169222018-04-04 Maciej W. Rozycki <macro@mips.com>
16923
e7feec37
MR
16924 [BZ #19818]
16925 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16926 symbols.
16927 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16928 * elf/tst-absolute-sym.c: New file.
16929 * elf/tst-absolute-sym-lib.c: New file.
16930 * elf/tst-absolute-sym-lib.lds: New file.
16931 * elf/Makefile (tests): Add `tst-absolute-sym'.
16932 (modules-names): Add `tst-absolute-sym-lib'.
16933 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16934 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16935 ($(objpfx)tst-absolute-sym): New dependency.
16936
10a446dd
MR
16937 [BZ #19818]
16938 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16939 parameter.
16940 (SYMBOL_ADDRESS): New macro.
16941 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16942 SYMBOL_ADDRESS for symbol address calculation.
16943 * elf/dl-runtime.c (_dl_fixup): Likewise.
16944 (_dl_profile_fixup): Likewise.
16945 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16946 * elf/rtld.c (dl_main): Likewise.
16947 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16948 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16949 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16950 (elf_machine_rela): Likewise.
16951 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16952 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16954 (elf_machine_rela): Likewise.
16955 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16956 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16957 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16958 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16959 Likewise.
16960 (elf_machine_reloc): Likewise.
16961 (elf_machine_got_rel): Likewise.
16962 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16963 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16964 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16965 Likewise.
16966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16967 Likewise.
16968 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16969 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16970 Likewise.
16971 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16972 Likewise.
16973 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16975 Likewise.
16976 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16977 Likewise.
16978 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16979 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16980
9185f86d
ZW
169812018-04-04 Zack Weinberg <zackw@panix.com>
16982
16983 * sysdeps/generic/internal-signals.h: Include signal.h,
16984 sigsetops.h, and stdbool.h.
16985 (__libc_signal_block_all): Actually block all signals.
16986 (__libc_signal_block_app): Likewise.
16987 (__libc_signal_restore_set): Actually restore the signal mask.
16988
b07367bc
FW
169892018-04-04 Florian Weimer <fweimer@redhat.com>
16990
16991 inet: Actually build and run tst-deadline.
16992 * inet/Makefile (tests-internal): Add tst-deadline and do not
16993 overwrite the variable.
16994 (tests-static-internal): Remove variable.
16995
f2652643
L
169962018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16997
16998 [BZ #22947]
16999 * bits/uio-ext.h (RWF_APPEND): New.
17000 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17001 * manual/llio.texi: Document RWF_APPEND.
17002 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17003 (RWF_SUPPORTED): Add RWF_APPEND.
17004
6b5c8607 170052018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
17006
17007 [BZ #22391]
17008 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17009 check for internal nptl signals.
17010 * nptl/sigaction.c (__sigaction): Likewise.
17011 * signal/sigaddset.c (sigaddset): Likewise.
17012 * signal/sigdelset.c (sigdelset): Likewise.
17013 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17014 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17015 value.
17016 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17017 to filter out internal nptl signals.
17018 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17019 also check realtime signals using standard macros.
17020 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17021 __is_internal_signal, __libc_signal_block_all,
17022 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17023 * sysdeps/nptl/sigfillset.c: Remove file.
17024 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17025 Change return to bool.
17026 (__clear_internal_signals): Remove SIGTIMER clean since it is
17027 equal to SIGCANEL on Linux.
17028 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17029 signal set was constructed using standard functions.
17030
511ed56f
ST
170312018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17032
92846492
ST
17033 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17034 ifname is too long.
e8ef51b1
ST
17035 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17036 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
17037 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17038 hidden def.
17039 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
17040 * signal/sigaddset.c: Include <sigsetopts.h>.
17041 * signal/sigdelset.c: Likewise.
511ed56f 17042
e88ecbbf
WD
170432018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17044
17045 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17046 (__cos): Likewise.
17047 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17048 logic as sin and cos.
17049
aef3e255
WD
170502018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17051
17052 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17053 inputs. Return correct sign.
17054 (do_sincos): Remove small input check before do_sin, let do_sin set
17055 the sign.
17056 (__sin): Likewise.
17057 (__cos): Likewise.
17058
72f6e9a3
WD
170592018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17060
17061 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17062 (do_cos_slow): Likewise.
17063 (do_sin_slow): Likewise.
17064 (reduce_and_compute): Likewise.
17065 (slow): Likewise.
17066 (slow1): Likewise.
17067 (slow2): Likewise.
17068 (sloww): Likewise.
17069 (sloww1): Likewise.
17070 (sloww2): Likewise.
17071 (bslow): Likewise.
17072 (bslow1): Likewise.
17073 (bslow2): Likewise.
17074 (cslow2): Likewise.
17075
64909583
WD
170762018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17077
17078 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17079 (do_cos): Remove corp parameter and calculations.
17080 (do_sin): Likewise.
17081 (do_sincos): Remove cor variable.
17082 (__sin): Use do_sincos for huge inputs.
17083 (__cos): Likewise.
17084 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17085 (reduce_and_compute_sincos): Remove unused function.
17086
d9469deb
WD
170872018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17088
17089 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17090 reduce_sincos, improve accuracy to 136 bits.
17091 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17092 (__sin): Use improved reduction and simplified do_sincos calculation.
17093 (__cos): Likewise.
17094 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17095
7a5640f2
WD
170962018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17097
17098 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17099 (do_sincos_2): Likewise.
17100 (__sin): Remove middle range reduction case.
17101 (__cos): Likewise.
17102 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17103 reduction case.
17104
19a8b9a3
WD
171052018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17106
17107 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17109 inputs.
17110 (__cos): Likewise.
17111 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17112
f72aa11d
JM
171132018-04-03 Joseph Myers <joseph@codesourcery.com>
17114
17115 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 17116 version to 4.16
f72aa11d 17117
8e4754ed
AZ
171182018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17119
17120 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17121 Remove definitions.
17122 (opendir_oflags): Use O_DIRECTORY regardless.
17123 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17124 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17125
8e2666ea
ST
171262018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17127
17128 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17129 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17130 macros.
17131 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17132 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17133 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17134 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
17135 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17136 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 17137
ad2b41bf
ST
17138 * htl/Makefile: Bump licence to LGPL 2.1+.
17139 * htl/alloca_cutoff.c: Likewise.
17140 * htl/cthreads-compat.c: Likewise.
17141 * htl/lockfile.c: Likewise.
17142 * htl/pt-alloc.c: Likewise.
17143 * htl/pt-cancel.c: Likewise.
17144 * htl/pt-cleanup.c: Likewise.
17145 * htl/pt-create.c: Likewise.
17146 * htl/pt-dealloc.c: Likewise.
17147 * htl/pt-detach.c: Likewise.
17148 * htl/pt-exit.c: Likewise.
17149 * htl/pt-getattr.c: Likewise.
17150 * htl/pt-initialize.c: Likewise.
17151 * htl/pt-internal.h: Likewise.
17152 * htl/pt-join.c: Likewise.
17153 * htl/pt-self.c: Likewise.
17154 * htl/pt-setcancelstate.c: Likewise.
17155 * htl/pt-setcanceltype.c: Likewise.
17156 * htl/pt-sigmask.c: Likewise.
17157 * htl/pt-spin-inlines.c: Likewise.
17158 * htl/pt-testcancel.c: Likewise.
17159 * htl/pt-yield.c: Likewise.
17160 * htl/tests/test-1.c: Likewise.
17161 * htl/tests/test-10.c: Likewise.
17162 * htl/tests/test-11.c: Likewise.
17163 * htl/tests/test-12.c: Likewise.
17164 * htl/tests/test-13.c: Likewise.
17165 * htl/tests/test-14.c: Likewise.
17166 * htl/tests/test-15.c: Likewise.
17167 * htl/tests/test-16.c: Likewise.
17168 * htl/tests/test-17.c: Likewise.
17169 * htl/tests/test-2.c: Likewise.
17170 * htl/tests/test-3.c: Likewise.
17171 * htl/tests/test-4.c: Likewise.
17172 * htl/tests/test-5.c: Likewise.
17173 * htl/tests/test-6.c: Likewise.
17174 * htl/tests/test-7.c: Likewise.
17175 * htl/tests/test-8.c: Likewise.
17176 * htl/tests/test-9.c: Likewise.
17177 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17178 * sysdeps/htl/bits/cancelation.h: Likewise.
17179 * sysdeps/htl/bits/pthread-np.h: Likewise.
17180 * sysdeps/htl/bits/pthread.h: Likewise.
17181 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17182 * sysdeps/htl/bits/semaphore.h: Likewise.
17183 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17184 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17185 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17186 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17187 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17188 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17189 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17190 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17191 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17192 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17193 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17194 * sysdeps/htl/old_pt-atfork.c: Likewise.
17195 * sysdeps/htl/pt-atfork.c: Likewise.
17196 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17197 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17198 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17199 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17200 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17201 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17202 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17203 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17204 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17205 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17206 * sysdeps/htl/pt-attr-init.c: Likewise.
17207 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17208 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17209 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17210 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17211 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17212 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17213 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17214 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17215 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17216 * sysdeps/htl/pt-attr.c: Likewise.
17217 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17218 * sysdeps/htl/pt-barrier-init.c: Likewise.
17219 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17220 * sysdeps/htl/pt-barrier.c: Likewise.
17221 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17222 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17223 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17224 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17225 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17226 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17227 * sysdeps/htl/pt-cond-init.c: Likewise.
17228 * sysdeps/htl/pt-cond-signal.c: Likewise.
17229 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17230 * sysdeps/htl/pt-cond-wait.c: Likewise.
17231 * sysdeps/htl/pt-cond.c: Likewise.
17232 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17233 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17234 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17235 * sysdeps/htl/pt-condattr-init.c: Likewise.
17236 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17237 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17238 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17239 * sysdeps/htl/pt-equal.c: Likewise.
17240 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17241 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17242 * sysdeps/htl/pt-getschedparam.c: Likewise.
17243 * sysdeps/htl/pt-getspecific.c: Likewise.
17244 * sysdeps/htl/pt-init-specific.c: Likewise.
17245 * sysdeps/htl/pt-key-create.c: Likewise.
17246 * sysdeps/htl/pt-key-delete.c: Likewise.
17247 * sysdeps/htl/pt-key.h: Likewise.
17248 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17249 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17250 * sysdeps/htl/pt-mutex-init.c: Likewise.
17251 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17252 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17253 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17254 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17255 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17256 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17257 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17258 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17259 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17260 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17261 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17262 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17263 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17264 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17265 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17266 * sysdeps/htl/pt-mutexattr.c: Likewise.
17267 * sysdeps/htl/pt-once.c: Likewise.
17268 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17269 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17270 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17271 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17272 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17273 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17274 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17275 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17276 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17277 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17278 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17279 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17280 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17281 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17282 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17283 * sysdeps/htl/pt-setschedparam.c: Likewise.
17284 * sysdeps/htl/pt-setschedprio.c: Likewise.
17285 * sysdeps/htl/pt-setspecific.c: Likewise.
17286 * sysdeps/htl/pt-spin.c: Likewise.
17287 * sysdeps/htl/pt-startup.c: Likewise.
17288 * sysdeps/htl/pthread.h: Likewise.
17289 * sysdeps/htl/sem-close.c: Likewise.
17290 * sysdeps/htl/sem-destroy.c: Likewise.
17291 * sysdeps/htl/sem-getvalue.c: Likewise.
17292 * sysdeps/htl/sem-init.c: Likewise.
17293 * sysdeps/htl/sem-open.c: Likewise.
17294 * sysdeps/htl/sem-post.c: Likewise.
17295 * sysdeps/htl/sem-timedwait.c: Likewise.
17296 * sysdeps/htl/sem-trywait.c: Likewise.
17297 * sysdeps/htl/sem-unlink.c: Likewise.
17298 * sysdeps/htl/sem-wait.c: Likewise.
17299 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17300 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17301 * sysdeps/mach/htl/pt-block.c: Likewise.
17302 * sysdeps/mach/htl/pt-spin.c: Likewise.
17303 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17304 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17305 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17306 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17307 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17308 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17309 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17310 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17311 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17312 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17313 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17314 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17315 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17316 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17317 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17318 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17319 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17320 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17321 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17322 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17323 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17324 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17325 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17326 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17327 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17328 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17329 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17330 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17331 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17332 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17333 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17334 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17335 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17336 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17337 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17338 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17339 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17340 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17341 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17342 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17343 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17344 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17345 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17346
fb03b04b
ST
17347 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17348 * README: Remove the mention of out-of-tree patches needed for
17349 GNU/Hurd.
17350
fa9e1555
ST
17351 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17352 (UTIME_NOW, UTIME_OMIT): Define macros.
17353
f6fb29d2
ST
17354 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17355 instead of pthread_detach.
17356 (__cthread_fork): Call __pthread_create instead of pthread_create.
17357 (__cthread_keycreate): Call __pthread_key_create instead of
17358 pthread_key_create.
17359 (__cthread_getspecific): Call __pthread_getspecific instead of
17360 pthread_getspecific.
17361 (__cthread_setspecific): Call __pthread_setspecific instead of
17362 pthread_setspecific.
17363 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17364 __pthread_mutex_unlock instead of pthread_mutex_lock and
17365 pthread_mutex_unlock.
17366 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17367 ___pthread_get_cleanup_stack.
17368 (__pthread_get_cleanup_stack): New strong alias.
17369 * htl/pt-create.c: Include <pthreadP.h>.
17370 (entry_point): Call __pthread_exit instead of pthread_exit.
17371 (pthread_create): Rename to __pthread_create.
17372 (pthread_create): New strong alias.
17373 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17374 (pthread_detach): New strong alias.
17375 (__pthread_detach): Call __pthread_cond_broadcast instead of
17376 pthread_cond_broadcast.
fe9748cc
ST
17377 * htl/pt-exit.c: Include <pthreadP.h>.
17378 (__pthread_exit): Call __pthread_setcancelstate and
17379 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17380 __pthread_get_cleanup_stack.
f6fb29d2
ST
17381 * htl/pt-testcancel.c: Include <pthreadP.h>.
17382 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17383 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17384 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17385 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17386 pthread_attr_getstacksize.
17387 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17388 Rename to __pthread_attr_getstackaddr.
17389 (pthread_attr_getstackaddr): New strong alias.
17390 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17391 Rename to __pthread_attr_getstacksize.
17392 (pthread_attr_getstacksize): New strong alias.
17393 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17394 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17395 (pthread_attr_setstack): New strong alias.
17396 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17397 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17398 pthread_attr_getstacksize, pthread_attr_setstacksize and
17399 pthread_attr_setstackaddr.
17400 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17401 Rename to __pthread_attr_setstackaddr.
17402 (pthread_attr_setstackaddr): New strong alias.
17403 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17404 Rename to __pthread_attr_setstacksize.
17405 (pthread_attr_setstacksize): New strong alias.
17406 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17407 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17408 pthread_exit.
17409 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17410 (__pthread_key_create): New hidden def.
17411 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17412 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17413 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17414 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17415 __pthread_setspecific, __pthread_setcancelstate,
17416 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17417 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17418 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17419 declarations.
17420 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17421 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17422 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17423 (pthread_attr_setstackaddr): New strong alias.
17424 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17425 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17426 (pthread_attr_setstacksize): New strong alias.
17427 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17428 (call_exit): Call __pthread_exit instead of pthread_exit.
17429 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17430 (_pthread_mutex_init): New hidden definition.
17431 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17432 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17433 instead of pthread_attr_init and pthread_attr_setstack.
17434
dba2bdbe
ST
17435 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17436 __vm_deallocate instead of vm_allocate and vm_deallocate.
17437 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17438 setenv.
17439 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17440 of geteuid.
17441 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17442 strdup.
17443 * hurd/siginfo.c: Include <libioP.h>.
17444 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17445 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17446 munmap.
dba2bdbe
ST
17447 * mach/devstream.c: Include <libioP.h>.
17448 (dealloc_ref): Call __mach_port_deallocate instead of
17449 mach_port_deallocate.
17450 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17451 Call __mach_port_deallocate instead of mach_port_deallocate.
17452 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17453 pathconf.
17454 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17455 munmap.
17456 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17457 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17458 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17459 of munmap.
17460 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17461 of close.
17462 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17463 instead of sysconf.
17464 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17465 __clock_gettime instead of clock_gettime.
17466 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17467 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17468 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17469 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17470 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17471 tcgetattr.
17472 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17473 __clock_gettime and __nanosleep instead of clock_gettime and
17474 nanosleep.
7a8f45e3
ST
17475 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17476 __hurd_catch_signal.
17477 (hurd_catch_signal): New strong alias.
17478 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17479 __hurd_catch_signal instead of hurd_catch_signal.
17480 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17481 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17482 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17483 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17484 (_hurd_thread_sigstate): Add hidden def.
17485 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17486 mutex_unlock.
17487 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17488 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17489 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17490 __hurd_file_name_path_lookup.
17491 (hurd_file_name_path_lookup): New strong alias.
17492 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17493 hurd_file_name_path_lookup.
17494 * mach/errstring.c (mach_error_type): Add hidden def.
17495 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17496 * mach/mutex-init.c (__mutex_init): Add hidden def.
17497 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17498 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17499 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17500 * sysdeps/mach/hurd/getcwd.c
17501 (_hurd_canonicalize_directory_name_internal): Rename to
17502 __hurd_canonicalize_directory_name_internal.
17503 (_hurd_canonicalize_directory_name_internal): New strong alias.
17504 (__canonicalize_directory_name_internal, __getcwd): Call
17505 __hurd_canonicalize_directory_name_internal instead of
17506 _hurd_canonicalize_directory_name_internal.
17507 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17508 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17509 hidden defs.
17510 * sysdeps/hurd/include/hurd.h: New file.
17511 * sysdeps/hurd/include/hurd/fd.h: New file.
17512 * sysdeps/hurd/include/hurd/signal.h: New file.
17513 * sysdeps/mach/include/lock-intern.h: New file.
17514 * sysdeps/mach/include/mach.h: New file.
17515 * sysdeps/mach/include/mach/mig_support.h: New file.
17516 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
17517 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17518 prototype.
17519 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17520 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17521 _HEADER_H_HIDDEN_DEF macro.
17522 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17523 _hurd_fd_error_signal): Add hidden prototype.
17524 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17525 hidden def.
82dbf555
ST
17526 * libio/iolibio.h (_IO_puts): New hidden prototype.
17527 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
17528 * sysdeps/mach/hurd/localplt.data: New file.
17529
33574c17 175302018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
17531 Amos Jeffries <squid3@treenet.co.nz>
17532 David Michael <fedora.dm0@gmail.com>
17533 Marco Gerards <marco@gnu.org>
17534 Marcus Brinkmann <marcus@gnu.org>
17535 Neal H. Walfield <neal@gnu.org>
17536 Pino Toscano <toscano.pino@tiscali.it>
17537 Richard Braun <rbraun@sceen.net>
17538 Roland McGrath <roland@gnu.org>
17539 Samuel Thibault <samuel.thibault@ens-lyon.org>
17540 Thomas DiModica <ricinwich@yahoo.com>
17541 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
17542
17543 * htl: New directory.
17544 * sysdeps/htl: New directory.
17545 * sysdeps/hurd/htl: New directory.
17546 * sysdeps/i386/htl: New directory.
17547 * sysdeps/mach/htl: New directory.
17548 * sysdeps/mach/hurd/htl: New directory.
17549 * sysdeps/mach/hurd/i386/htl: New directory.
17550 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17551 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17552 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17553
03e2aa50
ST
175542018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17555
17556 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17557 signals in thread created for runing timers.
17558
1aa52ced
FW
175592018-04-01 Florian Weimer <fweimer@redhat.com>
17560
17561 * support/support_format_addrinfo.c (support_format_addrinfo):
17562 Include unknown error number in formatted result.
17563
4d76d3e5
FW
175642018-03-29 Florian Weimer <fweimer@redhat.com>
17565
17566 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17567 capture SIGBUS.
17568
d39c0a45
AZ
175692018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17570
17571 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17572 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17573 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17574 (__ASSUME_CLONE_BACKWARDS): Define.
17575
cc8a1620
JH
175762018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17577
57408435 17578 [BZ #23024]
cc8a1620
JH
17579 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17580 early when linux sentinel value is set.
17581
8bfd94d0
ST
175822018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17583
17584 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17585
f178e59f
AS
175862018-03-27 Andreas Schwab <schwab@suse.de>
17587
17588 [BZ #23005]
17589 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17590 allocation of private copy of nsaddr_list fails.
17591
5f45f96a
JM
175922018-03-26 Joseph Myers <joseph@codesourcery.com>
17593
17594 [BZ #16552]
17595 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17596 * sysdeps/unix/sysv/linux/umount.c: ... here.
17597 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17598 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17599 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17600 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17602 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17603 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17604
3dfd23eb
AS
176052018-03-26 Andreas Schwab <schwab@suse.de>
17606
17607 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17608 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17609 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17610 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17611 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17612 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17613 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17614 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17615 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17616 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17617 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17618 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17619 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17620 (R_RISCV_NUM): Define.
17621
fa97d2ab
ST
176222018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17623
17624 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17625 TLS declaration of errno.
37be82a0
ST
17626 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17627 __libc_setup_tls.
17628 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17629 (ARCH_SETUP_TLS): Likewise.
17630 * sysdeps/mach/hurd/libc-start.h: New file copied from
17631 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
17632 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17633 instead of __libc_setup_tls.
37be82a0 17634 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
17635 __libc_setup_tls before initializing libpthread and running _hurd_init
17636 which starts the signal thread.
17637 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17638 Declare function.
2d813d7b 17639 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 17640
b8114edd
L
176412018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17642
17643 [BZ #22998]
17644 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17645 after it is defined.
17646
cd66c0e5
AS
176472018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17648 Max Horn <max@quendi.de>
17649
17650 [BZ #22644]
43d4f3d5 17651 CVE-2017-18269
cd66c0e5
AS
17652 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17653 branch conditions.
17654 * string/test-memmove.c (do_test2): New testcase.
17655
a4406139
JM
176562018-03-22 Joseph Myers <joseph@codesourcery.com>
17657
17658 * sysdeps/generic/frame.h: Remove file.
17659 * sysdeps/arm/frame.h: Likewise.
17660 * sysdeps/hppa/frame.h: Likewise.
17661 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17662 macro.
17663 (GET_FRAME): Likewise.
17664 (GET_STACK): Likewise.
17665 (CALL_SIGHANDLER): Likewise.
17666 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17667 Likewise.
17668 (GET_FRAME): Likewise.
17669 (GET_STACK): Likewise.
17670 (CALL_SIGHANDLER): Likewise.
17671 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17672 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17673 (GET_FRAME): Likewise.
17674 (GET_STACK): Likewise.
17675 (CALL_SIGHANDLER): Likewise.
17676 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17677 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17678 (GET_FRAME): Likewise.
17679 (GET_STACK): Likewise.
17680 (ADVANCE_STACK_FRAME): Likewise.
17681 (CALL_SIGHANDLER): Likewise.
17682 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17683 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17684 (GET_FRAME): Likewise.
17685 (GET_STACK): Likewise.
17686 (CALL_SIGHANDLER): Likewise.
17687 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17688 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17689 (GET_FRAME): Likewise.
17690 (GET_STACK): Likewise.
17691 (CALL_SIGHANDLER): Likewise.
17692 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17693 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17694 (GET_FRAME): Likewise.
17695 (GET_STACK): Likewise.
17696 (CALL_SIGHANDLER): Likewise.
17697 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17698 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17699 (GET_FRAME): Likewise.
17700 (GET_STACK): Likewise.
17701 (CALL_SIGHANDLER): Likewise.
17702 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17703 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17704 (GET_FRAME): Likewise.
17705 (GET_STACK): Likewise.
17706 (CALL_SIGHANDLER): Likewise.
17707 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17708 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17709 (GET_FRAME): Likewise.
17710 (GET_STACK): Likewise.
17711 (CALL_SIGHANDLER): Likewise.
17712 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17713 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17714 (GET_FRAME): Likewise.
17715 (GET_STACK): Likewise.
17716 (CALL_SIGHANDLER): Likewise.
17717 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17718 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17719 (GET_FRAME): Likewise.
17720 (GET_STACK): Likewise.
17721 (CALL_SIGHANDLER): Likewise.
17722 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17723 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17724 (GET_FRAME): Likewise.
17725 (GET_STACK): Likewise.
17726 (CALL_SIGHANDLER): Likewise.
17727 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17728 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17729 (FIRST_FRAME_POINTER): Likewise.
17730 (ADVANCE_STACK_FRAME): Likewise.
17731 (GET_STACK): Likewise.
17732 (GET_FRAME): Likewise.
17733 (CALL_SIGHANDLER): Likewise.
17734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17735 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17736 (ADVANCE_STACK_FRAME): Likewise.
17737 (GET_STACK): Likewise.
17738 (GET_FRAME): Likewise.
17739 (CALL_SIGHANDLER): Likewise.
17740 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17741 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17742 (GET_FRAME): Likewise.
17743 (GET_STACK): Likewise.
17744 (CALL_SIGHANDLER): Likewise.
17745 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17746 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17747 (GET_FRAME): Likewise.
17748 (GET_STACK): Likewise.
17749 (CALL_SIGHANDLER): Likewise.
17750
ffec7b27
JM
177512018-03-21 Joseph Myers <joseph@codesourcery.com>
17752
17753 * sysdeps/x86_64/backtrace.c: Move to ....
17754 * debug/backtrace.c: ... here.
17755 * sysdeps/aarch64/backtrace.c: Remove file.
17756 * sysdeps/alpha/backtrace.c: Likewise.
17757 * sysdeps/hppa/backtrace.c: Likewise.
17758 * sysdeps/ia64/backtrace.c: Likewise.
17759 * sysdeps/mips/backtrace.c: Likewise.
17760 * sysdeps/nios2/backtrace.c: Likewise.
17761 * sysdeps/riscv/backtrace.c: Likewise.
17762 * sysdeps/sh/backtrace.c: Likewise.
17763 * sysdeps/tile/backtrace.c: Likewise.
17764
8a07b0c4
JM
177652018-03-20 Joseph Myers <joseph@codesourcery.com>
17766
d0c5d731
JM
17767 [BZ #22987]
17768 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17769 function.
17770 (fdimf): Likewise.
17771 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17772
8a07b0c4
JM
17773 [BZ #17343]
17774 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17775 possibly overflowing computations.
17776
ceb54b9b
ST
177772018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17778
17779 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17780 values from Linux-specific section now that it is in the GNU section.
17781 * sysdeps/gnu/errlist.c: Regenerate.
17782
8d3f9e85
JM
177832018-03-20 Joseph Myers <joseph@codesourcery.com>
17784
17785 * math/Makefile (libm-narrow-fns): Add sub.
17786 (libm-test-funcs-narrow): Likewise.
17787 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17788 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17789 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17790 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17791 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17792 (NARROW_SUB_TRIVIAL): Likewise.
17793 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17794 macro.
17795 (__dsubl): Likewise.
17796 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17797 dsub.
17798 (CFLAGS-nldbl-dsub.c): New variable.
17799 (CFLAGS-nldbl-fsub.c): Likewise.
17800 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17801 __nldbl_dsubl.
17802 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17803 prototype.
17804 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17805 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17806 * math/auto-libm-test-in: Add tests of sub.
17807 * math/auto-libm-test-out-narrow-sub: New generated file.
17808 * math/libm-test-narrow-sub.inc: New file.
17809 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17812 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17813 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17814 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17821 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17823 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17824 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17825 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17826 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17828 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17839 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17855
d473f015
JM
178562018-03-19 Joseph Myers <joseph@codesourcery.com>
17857
17858 [BZ #20079]
17859 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17860
fbce6f72
WD
178612018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17862
17863 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17864
72e7ffc3
RB
178652018-03-18 Richard Braun <rbraun@sceen.net>
17866
17867 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17868 thread reference.
17869
542c20a1
AA
178702018-03-18 Agustina Arzille <avarzille@riseup.net>
17871
17872 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17873 (__libc_cleanup_fct): Define function.
17874 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17875 __libc_cleanup_end): Rewrite implementation using
17876 __attribute__ ((__cleanup__)).
17877 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
17878 * hurd/Makefile (routines): Add hurdlock.
17879 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17880 interface.
17881 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17882 * hurd/hurdpid.c: Include <lowlevellock.h>
17883 (_S_msg_proc_newids): Use lll_wait to synchronize.
17884 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17885 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17886 * mach/Makefile (lock-headers): Remove machine-lock.h.
17887 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17888 <machine-lock.h>.
17889 (__spin_lock_t): New type.
17890 (__SPIN_LOCK_INITIALIZER): New macro.
17891 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17892 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17893 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17894 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17895 (__mutex_init): Initialize with lll.
17896 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17897 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17898 needing lll.
17899 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17900 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17901 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17902 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17903 (__setpgid): Use lll for synchronization.
17904 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17905 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17906 instead of <cthreads.h>.
17907 (_IO_lock_inexpensive): New macro
17908 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17909 (__libc_lock_self0): New declaration.
17910 (__libc_lock_owner_self): New macro.
17911 (__libc_key_t): Remove type.
17912 (_LIBC_LOCK_INITIALIZER): New macro.
17913 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17914 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17915 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17916 __libc_lock_define_initialized_recursive,
17917 __rtld_lock_define_initialized_recursive,
17918 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17919 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17920 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17921 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17922 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17923 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17924 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17925 New macros.
17926 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17927 * hurd/hurdlock.c: New file.
17928 * hurd/hurdlock.h: New file.
17929 * mach/lowlevellock.h: New file
542c20a1 17930
9a37922e
ST
179312018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17932
17933 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
17934 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17935 when opening a symlink with O_NOFOLLOW.
72103e73
ST
17936 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17937 path when flags contains O_NOFOLLOW.
17938 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17939 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
17940 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17941 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
17942 * sysdeps/mach/hurd/mlockall.c: New file.
17943 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 17944
34e6a869
ST
179452018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17946
17947 * hurd/hurdsig.c: Include <pthread.h>.
17948 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17949 get the signal thread stack layout.
dc33bef3
ST
17950 * hurd/Makefile (headers): Remove threadvar.h.
17951 (inline-headers): Remove threadvar.h.
17952 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17953 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17954 __hurd_threadvar_max, __hurd_errno_location.
17955 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17956 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17957 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17958 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17959 unless TLS is not initialized yet, in which case we do not need a
17960 critical section yet anyway.
17961 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17962 <machine-sp.h>.
17963 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17964 declarations.
17965 (__hurd_threadvar_index): Remove enum.
17966 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17967 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17968 inlines.
17969 (__hurd_reply_port0): New variable declaration.
17970 (__hurd_local_reply_port): New macro.
17971 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17972 (interrupted_reply_port_location): Add thread_t parameter. Use it
17973 with THREAD_TCB to access thread-local variables.
17974 (_hurdsig_abort_rpcs): Pass ss->thread to
17975 interrupted_reply_port_location.
17976 (_hurd_internal_post_signal): Likewise.
17977 (_hurdsig_init): Use presence of cthread_fork instead of
17978 __hurd_threadvar_stack_mask to start signal thread by hand.
17979 Remove signal thread threadvar initialization.
17980 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17981 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17982 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17983 of threadvar.
17984 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17985 __libc_lock_self0.
17986 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17987 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17988 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17989 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17990 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17991 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17992 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17993 define variables.
17994 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17995 <hurd/threadvar.h>.
17996 [IS_IN(rtld)] (rtld_errno): New variable.
17997 [IS_IN(rtld)] (__errno_location): New weak function.
17998 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17999 * sysdeps/mach/hurd/errno.c: Remove file.
18000 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18001 (__fork): Remove THREADVAR_SPACE macro and its use.
18002 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18003 variable.
18004 (init): Do not initialize threadvar.
18005 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18006 symbol.
18007 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18008 __hurd_local_reply_port instead of threadvar.
18009 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18010 _hurd_sigstate fields.
18011 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18012 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18013 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18014 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18015 instead of threadvar.
18016 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18017 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18018 (use_threadvar, global_reply_port): Remove variables.
18019 (__hurd_reply_port0): New variable.
18020 (__mig_get_reply_port): Use __hurd_local_reply_port and
18021 __hurd_reply_port0 instead of threadvar.
18022 (__mig_dealloc_reply_port): Likewise.
18023 (__mig_init): Do not initialize threadvar.
18024 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
18025 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18026 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18027 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18028 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18029 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18030 __cthread_setspecific.
18031 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18032 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18033 __cthread_t instead of cthread_fork, cthread_detach,
18034 pthread_getattr_np, pthread_attr_getstack.
18035 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18036 __cthread_keycreate.
18037 (cthread_getspecific): Rename to __cthread_getspecific.
18038 (cthread_setspecific): Rename to __cthread_setspecific.
18039 (__libc_getspecific): Use __cthread_getspecific instead of
18040 cthread_getspecific.
18041 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18042 __cthread_keycreate instead of cthread_keycreate.
18043 (__libc_setspecific): Use __cthread_setspecific instead of
18044 cthread_setspecific.
18045 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18046 Likewise.
dd28d4ba
ST
18047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18048 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18049 testing whether it is defined.
34e6a869 18050
f8baf2a2
ST
180512018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18052
18053 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18054 Define macro.
18055 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18056 * sysdeps/mach/i386/thread_state.h
18057 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18058 i386_THREAD_STATE.
18059 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18060 i386_THREAD_STATE.
18061 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18062
18063 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18064 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18065
18066 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18067 macros.
18068 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18069 descriptor instead of creating a new one.
18070 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18071
18072 * mach/setup-thread.c: Include <ldsodefs.h>.
18073 (__mach_setup_thread): Call _dl_allocate_tls, pass
18074 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18075 MACHINE_THREAD_STATE_FLAVOR, before getting
18076 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18077 MACHINE_THREAD_STATE_FLAVOR with the result.
18078 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18079 MACHINE_THREAD_STATE_FIX_NEW.
18080 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18081 too. Add original thread parameter.
18082
34ba96b8
JM
180832018-03-16 Joseph Myers <joseph@codesourcery.com>
18084
5d75b75f
JM
18085 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18086 Remove inline function.
18087
34ba96b8
JM
18088 * sysdeps/i386/fpu/libm-test-ulps: Update.
18089 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18090
22679b2c
WD
180912018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18092
18093 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18094 commit.
18095
c429a8d8
JM
180962018-03-15 Joseph Myers <joseph@codesourcery.com>
18097
18098 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18099 (__sincos_code): Remove define and undefine.
18100 [__FAST_MATH__] (__sincos): Remove inline function.
18101 [__FAST_MATH__] (__sincosf): Remove inline function.
18102 [__FAST_MATH__] (__sincosl): Remove inline function.
18103 (__atan2l): Remove inline functions.
18104 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18105 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18106 function.
18107 (floor): Remove inline function.
18108 (ceil): Likewise.
18109 [__FAST_MATH__] (__ldexp_code): Remove macro.
18110 [__FAST_MATH__] (ldexp): Remove inline function.
18111 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18112 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18113 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18114 [__USE_ISOC99] (__lrint_code): Remove macro.
18115 [__USE_ISOC99] (__llrint_code): Likewise.
18116 [__USE_ISOC99] (lrintf): Remove inline function.
18117 [__USE_ISOC99] (lrint): Likewise.
18118 [__USE_ISOC99] (lrintl): Likewise.
18119 [__USE_ISOC99] (llrint): Likewise.
18120 [__USE_ISOC99] (llrintf): Likewise.
18121 [__USE_ISOC99] (llrintl): Likewise.
18122
700593fd
WD
181232018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18124
18125 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18126 (__ieee754_sqrtf): Remove.
18127 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18128 (__ieee754_sqrtf): Remove.
18129 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18130 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18131 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18132 (__ieee754_sqrtf): Remove.
18133 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18134 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18135 (sqrtf): Remove.
18136 (sqrtl): Remove.
18137 (__ieee754_sqrt): Remove.
18138 (__ieee754_sqrtf): Remove.
18139 (__ieee754_sqrtl): Remove.
18140 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18141 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18142 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18143 (__ieee754_sqrtf): Remove.
18144 (__ieee754_sqrtl): Remove.
18145
f67a8147
WD
181462018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18147
18148 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18149 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18150 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18151 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18152 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18153 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18154 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18155 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18156 Likewise.
18157 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18158 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18159 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18160 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18161 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18162 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18163 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18164 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18165 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18166 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18167 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18168 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18169 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18170 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18171 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18172 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18173 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18174 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18183 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18186 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18187 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18188 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18189 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18190 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18191 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18192 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18193 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18194 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18195 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18196 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18197
1294b189
WD
181982018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18199
18200 * include/math.h (sqrt): Declare with asm redirect.
18201 (sqrtf): Likewise.
18202 (sqrtl): Likewise.
18203 (sqrtf128): Likewise.
18204 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18205 nonlib and libnldbl with -fmath-errno.
18206 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18207 * math/w_sqrt_template.c: Likewise.
18208 * math/w_sqrtf_compat.c: Likewise.
18209 * math/w_sqrtl_compat.c: Likewise.
18210 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18211 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18212 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18213 complex.h.
18214
f1c8185d
WD
182152018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18216
18217 * benchtests/Makefile: Define _ISOMAC.
18218 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18219 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18220 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18221 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18222 * benchtests/bench-timing.h: Define attribute_hidden.
18223
b47c3e76
SP
182242018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18225
18226 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18227 mov + lsr.
18228
807fee29
RL
182292018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18230
18231 [BZ #22963]
18232 * localedata/locales/cs_CZ (mon): Rename to...
18233 (alt_mon): This.
18234 (mon): Import from CLDR (genitive case).
18235
e7155a28
RL
182362018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18237
18238 [BZ #22937]
18239 * localedata/locales/el_CY (abmon): Rename to...
18240 (ab_alt_mon): This.
18241 (abmon): Import from CLDR (abbreviated genitive case).
18242 * localedata/locales/el_GR (abmon): Rename to...
18243 (ab_alt_mon): This.
18244 (abmon): Import from CLDR (abbreviated genitive case).
18245
71d7b121
RL
182462018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18247
18248 [BZ #22932]
18249 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18250
a00bffe8
RB
182512018-03-15 Robert Buj <robert.buj@gmail.com>
18252
18253 [BZ #22848]
18254 * localedata/locales/ca_ES (abmon): Rename to...
18255 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18256 (mon): Rename to...
18257 (alt_mon): This.
18258 (abmon): Import from CLDR (genitive case, month names preceded by
18259 "de" or "d’").
18260 (mon): Likewise.
18261 (abday): Synchronize with CLDR.
18262 (d_t_fmt): Likewise.
18263 (d_fmt): Likewise.
18264 (am_pm): Likewise.
18265
18266 (LC_TIME): Improve indentation.
18267 (LC_TELEPHONE): Likewise.
18268 (LC_NAME): Likewise.
18269 (LC_ADDRESS): Likewise.
18270
f9555d73
JM
182712018-03-14 Joseph Myers <joseph@codesourcery.com>
18272
18273 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18274 (lrintf): Remove definitions used only with old GCC.
18275 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18276 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18277 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18278 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18279 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18280 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18281 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18282 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18283 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18284 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18285 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18286 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18287 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18288 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18289 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18290 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18291 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18292 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18293 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18294 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18295 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18296 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18297 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18298 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18299 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18300 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18301 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18302 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18303
d46f84de
SP
183042018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18305
18306 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18307 instruction to unbreak builds with binutils 2.26 and older.
18308
7108f1f9
SP
183092018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18310
18311 * sysdeps/aarch64/strncmp.S (count): New macro.
18312 (strncmp): Store misaligned length in SRC1 in COUNT.
18313 (mutual_align): Adjust.
18314 (misaligned8): Load dword at a time when it is safe.
18315
2cc7bad0
ZW
183162018-03-12 Zack Weinberg <zackw@panix.com>
18317
18318 [BZ #1190]
18319 [BZ #19476]
18320 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18321 if the _IO_EOF_SEEN bit is already set; update commentary.
18322 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18323 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18324
18325 * support/support_openpty.c, support/tty.h: New files.
18326 * support/Makefile (libsupport-routines): Add support_openpty.
18327
18328 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18329 New test cases.
18330 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18331 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18332
778f1974
DL
183332018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18334
18335 * po/pt_BR.po: Update translations.
18336
6b5c8607 183372018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
18338
18339 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18340 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18341 get a port to the startup server.
18342
d3da750d
ZW
183432018-03-11 Zack Weinberg <zackw@panix.com>
18344
18345 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18346 before nldbl-compat.h.
18347
054b72cc
ZW
183482018-03-10 Zack Weinberg <zackw@panix.com>
18349
0d13dfa1
ZW
18350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18351 math.h or math_private.h.
18352
18353 * sysdeps/alpha/fpu/s_isnan.c
18354 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18355 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18356 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18357 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18358 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18359 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18360 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18361 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18362 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18365 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18367 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18368 Include math_private.h.
18369
18370 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18371 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18372 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18373 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18374 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18375 * sysdeps/powerpc/power7/fpu/s_logb.c:
18376 Include math.h and math_private.h.
18377
054b72cc
ZW
18378 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18379 uses of $at in .set noat / .set at.
18380
6253bacd
L
183812018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18382
18383 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18384 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18385 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18386 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18387 Likewise.
18388
229855e5
FW
183892018-03-09 Florian Weimer <fweimer@redhat.com>
18390
18391 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18392 in comment.
18393
9aa5c222
AJ
183942018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18395
18396 [BZ #22919]
18397 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18398 Add nop before __startcontext, add explaining comments.
18399
3dc21497
AZ
184002018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18401
e921c89e
AZ
18402 [BZ #22926]
18403 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18404 empty for __SPE__.
18405 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18406 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18407 Do not build hardware transactional code for __SPE__.
18408 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18409 (__lll_trylock_elision): Likewise.
18410 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18411 (__lll_unlock_elision): Likewise.
18412
d9f26dab 18413 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
18414 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18415 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18416 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18417 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18418 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18419 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18420 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18421 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18422 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18423 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18424 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18425 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18426 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18427 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18428 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18429 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18431 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18433 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18434 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18435 (__ASSUME_CLONE_BACKWARDS): Define.
18436 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18437 __clone2 if __NR_clone2 is defined.
18438 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18439 (__ASSUME_CLONE_BACKWARDS): Likewise.
18440 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18441 (__ASSUME_CLONE_BACKWARDS): Likewise.
18442 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18443 (__ASSUME_CLONE2): Likewise.
18444 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18445 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18446 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18447 variants and the define architecture can use.
18448 (__ASSUME_CLONE_DEFAULT): Define as default.
18449 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18450 (__ASSUME_CLONE_BACKWARDS): Likewise.
18451 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18452 (__ASSUME_CLONE_BACKWARDS): Likewise.
18453 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18454 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18455
adc95fb0
SP
184562018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18457
4e54d918
SP
18458 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18459
30a81dae
SP
18460 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18461 time.
18462
adc95fb0
SP
18463 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18464 (do_test_limit): Likewise.
18465
18466 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18467 for every implementation.
18468 (do_test): Likewise.
18469
18470 * benchtests/bench-strncmp.c: Convert output to json.
18471
4e9066bc
ST
184722018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18473
18474 * io/futimens.c: Add missing start-of-file descriptive comment.
18475 * io/utime.c: Likewise.
18476 * misc/futimesat.c: Likewise.
18477 * misc/utimes.c: Likewise.
18478 * sysdeps/mach/hurd/futimesat.c: Likewise.
18479 * sysdeps/mach/hurd/utimes.c: Likewise.
18480 * sysdeps/posix/utime.c: Likewise.
18481 * sysdeps/posix/utimes.c: Likewise.
18482 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18483 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18484 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18485 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18486
ec1300cf
ST
184872018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18488
18489 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18490 hurd_futimes.
18491 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18492 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18493 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18494 (__futimens): Move implementation to...
18495 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18496 utime_tvalue_from_tspec): ... new helper functions.
18497 (hurd_futimens): New function.
18498 * sysdeps/mach/hurd/futimesat.c: New file.
18499 * sysdeps/mach/hurd/utimensat.c: New file.
18500
bbe762d1
FC
185012018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18502
18503 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18504 UTIME_OMIT): New macros.
18505 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18506 before reverting to converting time spec to time value and calling
18507 __file_utimes.
18508 * sysdeps/mach/hurd/utime-helper.c: New file.
18509 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18510 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18511 reverting to utime_tvalue_from_tval and __file_utimes.
18512 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18513 (__lutimes): Just call hurd_futimens after lookup.
18514 * sysdeps/mach/hurd/utimes.c: Likewise.
18515
a1ede3a4
ST
185162018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18517
18518 * bits/sigaction.h: Add include guard.
18519 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18520 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18521 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18522 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18523 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18524 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18525 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18526 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18527 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18528
6900d2ca
JM
185292018-03-05 Joseph Myers <joseph@codesourcery.com>
18530
18531 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18532 -Wmaybe-uninitialized for -Os.
18533 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18534 this disabling.
18535
68448be2
AZ
185362018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18537
5226a81f
AZ
18538 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18539 __INO_T_MATCHES_INO64_T is defined.
18540 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18541 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18542 of definition.
18543 * dirent/alphasort64.c: Likewise.
18544 * dirent/scandir.c: Likewise.
18545 * dirent/scandir64-tail.c: Likewise.
18546 * dirent/scandir64.c: Likewise.
18547 * dirent/scandirat.c: Likewise.
18548 * dirent/scandirat64.c: Likewise.
18549 * dirent/versionsort.c: Likewise.
18550 * dirent/versionsort64.c: Likewise.
18551 * include/dirent.h: Likewise.
18552
fbd01e6c
AZ
18553 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18554 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18555 for socketpair endpoint.
18556 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18557 WRITE_BUFFER_SIZE as buffer size for sending socket.
18558 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18559 issue on system where send is implemented with sendto syscall.
18560 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18561 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18562 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18563 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18564
68448be2
AZ
18565 [BZ #21269]
18566 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18567 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18568 sa_restorer for vDSO case.
18569 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18570
eb1ca47e
ST
185712018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18572
18573 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
18574 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18575 * hurd/hurd/ioctl.h: Include <mach/port.h>
18576 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
18577 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18578 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
18579 (headers): Move mach/param.h to bits/mach/param.h.
18580 * sysdeps/mach/i386/mach/param.h: Move file to ...
18581 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18582 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18583 of <mach/param.h>.
3403cb7d
ST
18584 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18585 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18586 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
18587 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18588 trivial, for C++ conformity.
44c6376c 18589 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
18590 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18591 Process mig output through $(migheadersed).
18592 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
18593 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18594 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18595 headers.
ba89615d
ST
18596 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18597 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18598 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18599 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18600 <bits/types/sigset_t.h>.
18601 [!defined __USE_GNU]: Do not #error out.
18602 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18603 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18604 Include <stddef.h> and <bits/types/sigset_t.h>
18605 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18606 instead of sighandler_t.
974393ea
ST
18607 * stdlib/errno.h (error_t): Move definition to...
18608 * bits/types/error_t.h: ... new header.
18609 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18610 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18611 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18612 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18613 * hurd/hurd.h: Include <bits/types/error_t.h>
18614 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18615 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18616 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18617 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18618 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18619 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 18620 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 18621
eaf6753f
AS
186222018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18623
18624 [BZ #22918]
18625 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18626 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18627 * nscd/gai.c (__nss_hosts_database): Readd definition.
18628 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18629 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18630 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18631
4dc23804
JM
186322018-03-02 Joseph Myers <joseph@codesourcery.com>
18633
18634 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18635 (ifunc_one): Likewise.
18636
1c81d55f
DD
186372018-03-01 DJ Delorie <dj@delorie.com>
18638
18639 [BZ #22342]
18640 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18641 key value.
18642
b717c14f
MR
186432018-03-01 Maciej W. Rozycki <macro@mips.com>
18644
18645 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18646 `match_pid' parameter.
18647 (td_ta_thr_iter): Update accordingly.
18648
1efe1358
FW
186492018-03-01 Florian Weimer <fweimer@redhat.com>
18650
18651 * nptl/Makefile (install-lib-ldscripts): Remove.
18652 (install): Remove rule.
18653 ($(inst_libdir)/libpthread.so): Likewise.
18654
a527f09c
MF
186552018-03-01 Mike FABIAN <mfabian@redhat.com>
18656
18657 [BZ #22896]
18658 * localedata/locales/an_ES: update month and day names,
18659 improve d_fmt, improve postal_fmt, add country_post,
18660 add country_isbn
18661
35d660b0
MF
186622018-03-01 Mike FABIAN <mfabian@redhat.com>
18663
18664 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18665 Ukrainian instead of Bulgarian.
18666
1a2f44a8
FW
186672018-03-01 Florian Weimer <fweimer@redhat.com>
18668
18669 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18670 reference.
18671
bd60ce86
FW
186722018-03-01 Florian Weimer <fweimer@redhat.com>
18673
18674 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18675 * nptl/Makefile (routines): Add pthread_atfork.
18676 (static-only-routines): Set to pthread_atfork.
18677 (libpthread-routines): Remove pthread_atfork.
18678 (libpthread-static-only-routines): Remove.
18679 (install): Update comment.
18680 (libpthread.so): Do not install libpthread_nonshared.a.
18681 (tests): Do not link with libpthread_nonshared.a.
18682 (generated): Remove libpthread_nonshared.a.
18683 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18684 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18685 with libpthread_nonshared.a.
18686
000f290f
JM
186872018-02-28 Joseph Myers <joseph@codesourcery.com>
18688
e2bcf6a8
JM
18689 [BZ #22902]
18690 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18691 (libc_feholdexcept_setroundf128): New macro.
18692 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18693
000f290f
JM
18694 [BZ #15105]
18695 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18696 libc_hidden_def.
18697 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18698 * include/inttypes.h: New file.
18699
02f2fead
JM
187002018-02-27 Joseph Myers <joseph@codesourcery.com>
18701
18702 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18703 -Os in two more places.
18704
874c56d7
MF
187052018-02-27 Mike FABIAN <mfabian@redhat.com>
18706
18707 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18708 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18709 be sorted correctly at the moment because of a bug.
18710
15973854
MF
187112018-02-27 Mike FABIAN <mfabian@redhat.com>
18712
18713 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18714 treat ñ as a primary different character, sync the collation
18715 for Spanish with CLDR.
18716 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18717 * localedata/Makefile: Add new test files.
18718 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18719 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18720 collation order.
18721 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18722 * localedata/am_ET.UTF-8.in: New test file.
18723 * localedata/az_AZ.UTF-8.in: Likewise.
18724 * localedata/be_BY.UTF-8.in: Likewise.
18725 * localedata/ber_DZ.UTF-8.in: Likewise.
18726 * localedata/ber_MA.UTF-8.in: Likewise.
18727 * localedata/bg_BG.UTF-8.in: Likewise.
18728 * localedata/br_FR.UTF-8.in: Likewise.
18729 * localedata/cmn_TW.UTF-8.in: Likewise.
18730 * localedata/crh_UA.UTF-8.in: Likewise.
18731 * localedata/csb_PL.UTF-8.in: Likewise.
18732 * localedata/cv_RU.UTF-8.in: Likewise.
18733 * localedata/cy_GB.UTF-8.in: Likewise.
18734 * localedata/dz_BT.UTF-8.in: Likewise.
18735 * localedata/eo.UTF-8.in: Likewise.
18736 * localedata/es_ES.UTF-8.in: Likewise.
18737 * localedata/fa_IR.UTF-8.in: Likewise.
18738 * localedata/fi_FI.UTF-8.in: Likewise.
18739 * localedata/fil_PH.UTF-8.in: Likewise.
18740 * localedata/fur_IT.UTF-8.in: Likewise.
18741 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18742 * localedata/ha_NG.UTF-8.in: Likewise.
18743 * localedata/ig_NG.UTF-8.in: Likewise.
18744 * localedata/ik_CA.UTF-8.in: Likewise.
18745 * localedata/kk_KZ.UTF-8.in: Likewise.
18746 * localedata/ku_TR.UTF-8.in: Likewise.
18747 * localedata/ky_KG.UTF-8.in: Likewise.
18748 * localedata/ln_CD.UTF-8.in: Likewise.
18749 * localedata/mi_NZ.UTF-8.in: Likewise.
18750 * localedata/ml_IN.UTF-8.in: Likewise.
18751 * localedata/mn_MN.UTF-8.in: Likewise.
18752 * localedata/mr_IN.UTF-8.in: Likewise.
18753 * localedata/mt_MT.UTF-8.in: Likewise.
18754 * localedata/nb_NO.UTF-8.in: Likewise.
18755 * localedata/om_KE.UTF-8.in: Likewise.
18756 * localedata/os_RU.UTF-8.in: Likewise.
18757 * localedata/ps_AF.UTF-8.in: Likewise.
18758 * localedata/ro_RO.UTF-8.in: Likewise.
18759 * localedata/ru_RU.UTF-8.in: Likewise.
18760 * localedata/sc_IT.UTF-8.in: Likewise.
18761 * localedata/se_NO.UTF-8.in: Likewise.
18762 * localedata/sq_AL.UTF-8.in: Likewise.
18763 * localedata/sv_SE.UTF-8.in: Likewise.
18764 * localedata/szl_PL.UTF-8.in: Likewise.
18765 * localedata/tg_TJ.UTF-8.in: Likewise.
18766 * localedata/tk_TM.UTF-8.in: Likewise.
18767 * localedata/tt_RU.UTF-8.in: Likewise.
18768 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18769 * localedata/ug_CN.UTF-8.in: Likewise.
18770 * localedata/uz_UZ.UTF-8.in: Likewise.
18771 * localedata/vi_VN.UTF-8.in: Likewise.
18772 * localedata/yi_US.UTF-8.in: Likewise.
18773 * localedata/yo_NG.UTF-8.in: Likewise.
18774 * localedata/zh_CN.UTF-8.in: Likewise.
18775 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18776 file and fix bugs in the collation.
18777 * localedata/locales/az_AZ: Likewise.
18778 * localedata/locales/be_BY: Likewise.
18779 * localedata/locales/ber_DZ: Likewise.
18780 * localedata/locales/ber_MA: Likewise.
18781 * localedata/locales/bg_BG: Likewise.
18782 * localedata/locales/br_FR: Likewise.
18783 * localedata/locales/br_FR@euro: Likewise.
18784 * localedata/locales/ca_ES: Likewise.
18785 * localedata/locales/cns11643_stroke: Likewise.
18786 * localedata/locales/crh_UA: Likewise.
18787 * localedata/locales/cs_CZ: Likewise.
18788 * localedata/locales/csb_PL: Likewise.
18789 * localedata/locales/cv_RU: Likewise.
18790 * localedata/locales/cy_GB: Likewise.
18791 * localedata/locales/da_DK: Likewise.
18792 * localedata/locales/dz_BT: Likewise.
18793 * localedata/locales/en_CA: Likewise.
18794 * localedata/locales/eo: Likewise.
18795 * localedata/locales/es_CU: Likewise.
18796 * localedata/locales/es_EC: Likewise.
18797 * localedata/locales/es_ES: Likewise.
18798 * localedata/locales/es_US: Likewise.
18799 * localedata/locales/et_EE: Likewise.
18800 * localedata/locales/fa_IR: Likewise.
18801 * localedata/locales/fi_FI: Likewise.
18802 * localedata/locales/fil_PH: Likewise.
18803 * localedata/locales/fur_IT: Likewise.
18804 * localedata/locales/gez_ER@abegede: Likewise.
18805 * localedata/locales/ha_NG: Likewise.
18806 * localedata/locales/hr_HR: Likewise.
18807 * localedata/locales/hsb_DE: Likewise.
18808 * localedata/locales/hu_HU: Likewise.
18809 * localedata/locales/ig_NG: Likewise.
18810 * localedata/locales/ik_CA: Likewise.
18811 * localedata/locales/is_IS: Likewise.
18812 * localedata/locales/iso14651_t1_pinyin: Likewise.
18813 * localedata/locales/kk_KZ: Likewise.
18814 * localedata/locales/ku_TR: Likewise.
18815 * localedata/locales/ky_KG: Likewise.
18816 * localedata/locales/ln_CD: Likewise.
18817 * localedata/locales/lt_LT: Likewise.
18818 * localedata/locales/lv_LV: Likewise.
18819 * localedata/locales/mi_NZ: Likewise.
18820 * localedata/locales/ml_IN: Likewise.
18821 * localedata/locales/mn_MN: Likewise.
18822 * localedata/locales/mr_IN: Likewise.
18823 * localedata/locales/mt_MT: Likewise.
18824 * localedata/locales/nb_NO: Likewise.
18825 * localedata/locales/om_KE: Likewise.
18826 * localedata/locales/os_RU: Likewise.
18827 * localedata/locales/pl_PL: Likewise.
18828 * localedata/locales/ps_AF: Likewise.
18829 * localedata/locales/ro_RO: Likewise.
18830 * localedata/locales/ru_RU: Likewise.
18831 * localedata/locales/ru_UA: Likewise.
18832 * localedata/locales/sc_IT: Likewise.
18833 * localedata/locales/se_NO: Likewise.
18834 * localedata/locales/si_LK: Likewise.
18835 * localedata/locales/sq_AL: Likewise.
18836 * localedata/locales/sv_FI: Likewise.
18837 * localedata/locales/sv_FI@euro: Likewise.
18838 * localedata/locales/sv_SE: Likewise.
18839 * localedata/locales/szl_PL: Likewise.
18840 * localedata/locales/tg_TJ: Likewise.
18841 * localedata/locales/ti_ER: Likewise.
18842 * localedata/locales/tk_TM: Likewise.
18843 * localedata/locales/tl_PH: Likewise.
18844 * localedata/locales/tr_TR: Likewise.
18845 * localedata/locales/tt_RU: Likewise.
18846 * localedata/locales/tt_RU@iqtelif: Likewise.
18847 * localedata/locales/ug_CN: Likewise.
18848 * localedata/locales/uk_UA: Likewise.
18849 * localedata/locales/uz_UZ: Likewise.
18850 * localedata/locales/uz_UZ@cyrillic: Likewise.
18851 * localedata/locales/vi_VN: Likewise.
18852 * localedata/locales/yi_US: Likewise.
18853 * localedata/locales/yo_NG: Likewise.
18854
ce6636b0
MF
188552018-02-27 Mike FABIAN <mfabian@redhat.com>
18856
18857 * gen-locales.mk: Make test files which contain @ modifiers in their
18858 name work.
18859 * localedata/gen-locale.sh: Likewise.
18860
ac3a3b4b
MF
188612018-02-27 Mike FABIAN <mfabian@redhat.com>
18862
18863 * posix/tst-fnmatch.input: Fix results for range expressions
18864 for non C locales.
18865 * posix/tst-regexloc.c: Do not use a range expression for
18866 de_DE.ISO-8859-1 locale.
18867
770cbe14
MF
188682018-02-27 Mike FABIAN <mfabian@redhat.com>
18869
18870 * posix/bug-regex5.c: Fix test case because with the new
18871 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18872 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18873 file.
18874
0fc355d9
MF
188752018-02-27 Mike FABIAN <mfabian@redhat.com>
18876
18877 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18878 downloaded from ISO, the collation order of @-. and space has changed.
18879 Therefore, this test file needed to be adapted.
18880 * localedata/fr_CA.UTF-8.in: Likewise.
18881 * localedata/fr_FR.UTF-8.in: Likewise.
18882 * localedata/uk_UA.UTF-8.in: Likewise.
18883
43f3893f
MF
188842018-02-27 Mike FABIAN <mfabian@redhat.com>
18885
18886 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18887 order of ȥ in the new iso14651_t1_common file.
18888 * localedata/pl_PL.UTF-8.in: Likewise.
18889
df74ef78
MF
188902018-02-27 Mike FABIAN <mfabian@redhat.com>
18891
18892 * localedata/locales/iso14651_t1_common: Add sections for various
18893 scripts to the iso14651_t1_common file.
18894
d5adfbad
MF
188952018-02-27 Mike FABIAN <mfabian@redhat.com>
18896
18897 * localedata/locales/iso14651_t1_common: Use the code point of a
18898 character in the fourth collation level instead of IGNORE for all
18899 entries which have IGNORE on all 4 levels.
18900
5f5a9610
MF
189012018-02-27 Mike FABIAN <mfabian@redhat.com>
18902
18903 * localedata/locales/iso14651_t1_common: Add some convenient collation
18904 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18905 rules similar to those in CLDR.
18906
8a97e900
MF
189072018-02-27 Mike FABIAN <mfabian@redhat.com>
18908
18909 * localedata/locales/iso14651_t1_common: The new version of this
18910 file downloaded from ISO contained several syntax errors which
18911 are fixed by this patch.
18912
bbdd2fba
MF
189132018-02-27 Mike FABIAN <mfabian@redhat.com>
18914
18915 * localedata/locales/iso14651_t1_common: replace all <U.....>
18916 with <U000.....> because glibc understands only 4 digit or 8 digit
18917
1569e551
MF
189182018-02-27 Mike FABIAN <mfabian@redhat.com>
18919
18920 * localedata/locales/iso14651_t1_common: Necessary changes
18921 to make the file downloaded from ISO usable by glibc.
18922
9479b6d5
MF
189232018-02-27 Mike FABIAN <mfabian@redhat.com>
18924
18925 [BZ #14095]
18926 * localedata/locales/iso14651_t1_common: Update file to
18927 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18928
03b540b3
ST
189292018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18930
18931 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18932 of <nptl/pthreadP.h>
18933 (thread_attr_compare): Move function to...
eb937a52 18934 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 18935 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 18936 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 18937
20602c72
JM
189382018-02-26 Joseph Myers <joseph@codesourcery.com>
18939
f54d8f73
JM
18940 * string/strcoll_l.c: Include <libc-diag.h>.
18941 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18942 declarations of seq1 and seq2.
18943
20602c72
JM
18944 [BZ #15105]
18945 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18946 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18947
f5f473a9
DL
189482018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18949
18950 [BZ #22433]
18951 [BZ #22807]
18952 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18953 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18954 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18955 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18956 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18957 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18958
398c6fdd
TMQMF
189592018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18960
18961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18962 macros used in __ptrace_request.
18963
f5d1f629
L
189642018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18965
18966 [BZ #22792]
18967 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18968 to $(CC).
18969 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18970 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18971 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18972 <tcb-offsets.h>.
18973
54412d20
JM
189742018-02-23 Joseph Myers <joseph@codesourcery.com>
18975
18976 [BZ #15105]
18977 * ctype/ctype.c (tolower): Use libc_hidden_def.
18978 (toupper): Likewise.
18979 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18980 [!_ISOMAC] (toupper): Likewise.
18981
81be4b5e
MF
189822018-02-23 Mike FABIAN <mfabian@redhat.com>
18983
18984 * localedata/Makefile: Remove --quiet argument when
18985 installing locales
18986
9d5cfd8e
MF
189872018-02-23 Mike FABIAN <mfabian@redhat.com>
18988
18989 [BZ #17438]
18990 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18991 in d_fmt.
18992 * localedata/locales/pt_PT (LC_TIME): likewise
18993
6c7269f3
MF
189942018-02-23 Mike FABIAN <mfabian@redhat.com>
18995
18996 [BZ #22646]
18997 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18998 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18999 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19000
92aabad9
AZ
190012018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19002
4cdc25a4
AZ
19003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19004
27761a10
AZ
19005 * nptl/Makefile (routines): Remove unregister-atfork.
19006 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19007 (fork_handler_alloc): Remove function.
19008 (fork_handlers, fork_handler_init): New variables.
19009 (__fork_lock): Rename to atfork_lock.
19010 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19011 to use a dynamic array to add/remove atfork handlers.
19012 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19013 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19014 Remove declaration.
19015 (fork_handler): Remove next, refcntr, and need_signal member.
19016 (__run_fork_handler_type): New enum.
19017 (__run_fork_handlers): New prototype.
19018 * nptl/register-atfork.c: Remove file.
19019 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19020
92aabad9
AZ
19021 * sysdeps/nptl/nptl-signals.h: Move to ...
19022 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19023 comments.
19024 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19025 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19026 unnecessary check for SIGTIMER.
19027 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19028 remove unnecessary removal of SIGTIMER.
19029 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19030 include-signals.h rename.
19031 * nptl/pthreadP.h: Likewise.
19032 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19033 __is_internal_signal instead of __nptl_is_internal_signal.
19034
6b5c8607 190352018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 19036
7e04eb29 19037 [BZ # 22884]
fdcc6253
AW
19038 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19039 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19040 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19041 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19042
8090720a
DD
190432018-02-22 DJ Delorie <dj@delorie.com>
19044
19045 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19046
6ca24c43
SP
190472018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19048
19049 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19050 do_misaligned, not misaligned8.
19051
e9537ddd
SE
190522018-02-22 Steve Ellcey <sellcey@cavium.com>
19053
19054 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19055 Add memcpy_thunderx2.
19056 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19057 Increment to 4.
19058 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19059 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19060 and IS_THUNDERX2PA checks.
19061 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19062 Use macro to set name appropriately.
19063 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19064 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19065 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19066 New macro.
19067 (IS_THUNDERX2): New macro.
19068
6e336476
SL
190692018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19070
19071 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19072
34957904
ZW
190732018-02-21 Zack Weinberg <zackw@panix.com>
19074
30bfee26
ZW
19075 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19076 Define here, unconditionally.
19077 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19078 * libio/libioP.h: Remove #if 0 blocks.
19079 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19080 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19081 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19082
19083 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19084 Assume weak_alias is always defined.
19085
19086 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19087 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19088 Remove #if 0 and #ifdef TODO blocks.
19089 Assume text_set_element is always defined.
19090
19091 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19092 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19093 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19094
df6c012b
ZW
19095 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19096 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19097 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19098 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19099 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19100 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19101 Reformat bit flags for _flags field to make occupancy clearer.
19102 Update commentary.
19103 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19104 Keep definitions consistent with those in libio/libio.h.
19105
19106 * libio/libio.h (_IO_file_flags): Remove macro.
19107 All uses changed to _flags.
19108
177aad3f
ZW
19109 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19110 (__HAVE_COLUMN, _IO_BE): Don't define.
19111 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19112 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19113 * libio/libioP.h (EOF): Don't define.
19114 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19115 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19116 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19117 testing _IO_UNIFIED_JUMPTABLES.
19118
9964a145
ZW
19119 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19120 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19121 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19122 (_IO_size_t): Delete; all uses changed to size_t.
19123 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19124 (_IO_off_t): Delete; all uses changed to off_t.
19125 (_IO_off64_t): Delete; all uses changed to off64_t.
19126 (_IO_pid_t): Delete; all uses changed to pid_t.
19127 (_IO_uid_t): Delete; all uses changed to uid_t.
19128 (_IO_wint_t): Delete; all uses changed to wint_t.
19129 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19130 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19131 (_IO_cookie_io_functions_t): Delete; all uses changed to
19132 cookie_io_functions_t.
19133 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19134 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19135 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19136 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19137
19138 * libio/iofopncook.c: Remove unnecessary forward declarations.
19139 * libio/iolibio.h: Correct outdated commentary.
19140 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19141 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19142 Remove unnecessary casts.
19143 * stdio-common/getline.c: Use _IO_getdelim directly.
19144 Don't redefine ssize_t.
19145 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19146 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19147 Remove outdated comments.
19148 * stdio-common/vfscanf.c: Don't redefine va_list.
19149
34957904
ZW
19150 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19151 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19152 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19153 which are always true, and __cplusplus, which is always false.
19154
30ac923d
JM
191552018-02-21 Joseph Myers <joseph@codesourcery.com>
19156
039c721a
JM
19157 [BZ #15105]
19158 [BZ #19463]
19159 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19160 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19161 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19162 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19163 libc_hidden_proto.
19164 [!_ISOMAC] (putc_unlocked): Likewise.
19165 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19166 define inline if [__USE_EXTERN_INLINES].
19167 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19168 putc_unlocked.
19169
30ac923d
JM
19170 [BZ #15105]
19171 [BZ #19463]
19172 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19173 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19174 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19175 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19176 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19177 getc_unlocked.
19178 * time/tzfile.c (__tzfile_read): Likewise.
19179
7ec5f946
MF
191802018-02-21 Mike FABIAN <mfabian@redhat.com>
19181
19182 [BZ #22517]
19183 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19184
0d217f40
RJ
191852018-02-21 Rical Jasan <ricaljasan@pacific.net>
19186
19187 * io/fcntl.h: Fix a typo in a comment.
19188
862b4502
RJ
191892018-02-21 Rical Jasan <ricaljasan@pacific.net>
19190
19191 [BZ #22862]
19192 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19193 define _DEFAULT_SOURCE.
19194 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19195
999a6dab
FW
191962018-02-21 Florian Weimer <fweimer@redhat.com>
19197
19198 [BZ #20890]
19199 * elf/cache.c (save_cache): Call fsync on temporary file before
19200 renaming it.
19201 (save_aux_cache): Call fdatasync on temporary file before renaming
19202 it.
19203
52a01100
FW
192042018-02-21 Florian Weimer <fweimer@redhat.com>
19205
19206 [BZ #22787]
19207 * include/caller.h: Remove file.
19208 * elf/dl-caller.c: Likewise.
19209 * elf/Makefile (dl-routines): Remove dl-caller.
19210 (shared-only-routines): Do not add dl-caller.
19211 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19212 __check_caller.
19213 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19214 member.
19215 (dl_open_worker): Do not call __check_caller.
19216 (_dl_open): Do not set caller_dl_open member.
19217 * elf/rtld.c (_rtld_global_ro): Do not initialize
19218 _dl_check_caller member.
19219 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19220 _dl_check_caller member.
19221 (_dl_check_caller): Remove declaration.
19222 * sysdeps/unix/sysv/linux/dl-execstack.c
19223 (_dl_make_stack_executable): Do not call __check_caller.
19224
b5bf62e4
ST
192252018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19226
19227 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 19228 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 19229
e8d190b9
RJ
192302018-02-20 Rical Jasan <ricaljasan@pacific.net>
19231
19232 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19233 description.
19234
6a3962c4
RJ
192352018-02-20 Rical Jasan <ricaljasan@pacific.net>
19236
da81ae64 19237 [BZ #16335]
6a3962c4
RJ
19238 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19239 of 199606L, 200112L, and 200809L.
19240 (_XOPEN_SOURCE): Document special values of 600 and 700.
19241 (_ISOC11_SOURCE): Document macro.
19242 (_ATFILE_SOURCE): Likewise.
19243 (_FORTIFY_SOURCE): Likewise.
19244
ec481ad8
JM
192452018-02-19 Joseph Myers <joseph@codesourcery.com>
19246
19247 [BZ #15105]
19248 [BZ #19463]
19249 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19250 and define as weak alias of __ferror_unlocked. Use
19251 libc_hidden_weak.
19252 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19253 libc_hidden_proto.
19254 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19255 function if [__USE_EXTERN_INLINES].
19256 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19257 ferror_unlocked.
19258
7d15ef84
RJ
192592018-02-19 Rical Jasan <ricaljasan@pacific.net>
19260
19261 [BZ #6889]
19262 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19263
f8d79582
AJ
192642018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19265
19266 [BZ #22818]
19267 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19268 the GLIBC_2.1 version.
19269
56456a2a
AJ
192702018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19271
19272 [BZ #21508]
19273 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19274 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19275 intl/tst-gettext-de.po from po/de.po by removing the
19276 POT-Creation-Date line.
19277 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19278 ../po/de.po.
19279 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19280 ../po/de.po.
19281
13768813
ST
192822018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19283
19284 * mach/Makefile (headers): Add mach/param.h.
19285 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19286 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
19287 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19288 (__ptsname_r): Move implementation to...
19289 (__ptsname_internal): ... new function. Add filling the STP
19290 structure.
13768813 19291
6aca1b61
JDA
192922018-02-17 John David Anglin <danglin@gcc.gnu.org>
19293
19294 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19295 idouble to 1 ULP.
19296
16efad51
RJ
192972018-02-16 Rical Jasan <ricaljasan@pacific.net>
19298
19299 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19300 syntax.
19301
87245073
SL
193022018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19303
19304 * nptl/Makefile (tst-mutex8-ENV): Delete.
19305 * nptl/tst-mutex8.c (check_type):
19306 Add runtime check if mutex will be elided.
19307
7fc03cf3
JM
193082018-02-15 Joseph Myers <joseph@codesourcery.com>
19309
db9881ec
JM
19310 [BZ #20980]
19311 [BZ #21234]
19312 * manual/install.texi (Configuring and compiling): Describe
19313 passing CC and CFLAGS on configure command line, not as
19314 environment variables. Use @code markup on those variables.
19315 Specify what options go in CC and what go in CFLAGS. Note the
19316 requirement to compile with optimization.
19317 * INSTALL: Regenerated.
19318
3785b31c
JM
19319 [BZ #18124]
19320 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19321 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19322 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19323 __sigprocmask instead of sigprocmask.
19324 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19325 Likewise.
19326 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19327 __sigsetjmp and sigprocmask.
19328
055ac2a7
JM
19329 [BZ #15105]
19330 * include/argz.h (argz_next): Use libc_hidden_proto.
19331 (__argz_next): Likewise.
19332 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19333 (argz_next): Use libc_hidden_weak.
19334
e4452a2d
JM
19335 [BZ #15105]
19336 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19337 libc_hidden_proto.
19338 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19339 libc_hidden_def.
19340
499b3153
JM
19341 [BZ #15105]
19342 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19343 libc_hidden_proto.
19344 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19345
7fc03cf3
JM
19346 [BZ #15105]
19347 [BZ #19463]
19348 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19349 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19350 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19351 (__feof_unlocked): New declaration, and inline function if
19352 [__USE_EXTERN_INLINES].
19353 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19354 instead of feof_unlocked.
19355 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19356 * nss/nsswitch.c (nss_parse_file): Likewise.
19357 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19358 Likewise.
19359 * time/getdate.c (__getdate_r): Likewise.
19360 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19361 Define as macro to call __feof_unlocked.
19362
0c8a67a5
WD
193632018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19364
19365 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19366
610ee1fc
WD
193672018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19368
19369 * math/Makefile: Remove mpexp.c and mplog.c
19370 * sysdeps/i386/fpu/mpexp.c: Delete file.
19371 * sysdeps/i386/fpu/mplog.c: Likewise.
19372 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19373 * sysdeps/ia64/fpu/mplog.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19375 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19376 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19377 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19378 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19379 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19380 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19381 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19382 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19383 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19384 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19385 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19386 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19387 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19388 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19389 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19390
8e7196c8
SL
193912018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19392
19393 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19394
4f55ad0b
AZ
193952018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19396
19397 * sysdeps/sh/libm-test-ulps: Update.
19398
261a851c
TMQMF
193992018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19400
19401 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19402 idouble to 1 ULP.
19403
e16deca6
ZW
194042018-02-12 Zack Weinberg <zackw@panix.com>
19405
19406 [BZ #19239]
19407 * posix/sys/types.h: Don't include sys/sysmacros.h.
19408 * misc/sys/sysmacros.h: Remove the conditional deprecation
19409 warnings for the macros defined by this header.
19410
de800d83
SN
194112018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19412
19413 * manual/probes.texi: Remove slowexp probes.
19414 * math/Makefile: Remove slowexp.
19415 * sysdeps/generic/math_private.h (__slowexp): Remove.
19416 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19417 document error bounds.
19418 * sysdeps/i386/fpu/slowexp.c: Remove.
19419 * sysdeps/ia64/fpu/slowexp.c: Remove.
19420 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19421 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19422 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19423 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19424 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19425 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19428 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19429 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19431
c3d466cb
WD
194322018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19433
19434 [BZ #13932]
19435 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19436 * benchtests/pow-inputs: Update comment for slow path cases.
19437 * manual/probes.texi (slowpow_p10): Delete removed probe.
19438 (slowpow_p10): Likewise.
19439 * math/Makefile: Remove halfulp.c and slowpow.c.
19440 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19441 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19442 (__halfulp): Remove.
19443 (__slowpow): Remove.
19444 * sysdeps/i386/fpu/halfulp.c: Delete file.
19445 * sysdeps/i386/fpu/slowpow.c: Likewise.
19446 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19447 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19449 improve comments and add error analysis.
19450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19451 (power1): Remove function:
19452 (log1): Remove error argument, add error analysis.
19453 (my_log2): Remove function.
19454 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19455 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19456 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19457 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19458 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19459 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19460 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19461 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19462 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19465 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19466 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19467 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19468
7bb087bd
ST
194692018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19470
19471 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19472 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19473
2fd4bbaa
DL
194742018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19475
19476 [BZ #22433]
19477 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19478 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19479 and PTRACE_SETHBPREGS.
19480
402ecba4
ZW
194812018-02-10 Zack Weinberg <zackw@panix.com>
19482
19483 [BZ #22830]
19484 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19485 correctly.
19486 * malloc/tst-malloc-stats-cancellation.c: New test case.
19487 * malloc/Makefile: Add new test case.
19488
4f5b921e
WD
194892018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19490
19491 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19492
a85b70db
JM
194932018-02-10 Joseph Myers <joseph@codesourcery.com>
19494
d8742dd8
JM
19495 * math/Makefile (libm-narrow-fns): Add add.
19496 (libm-test-funcs-narrow): Likewise.
19497 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19498 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19499 * math/gen-auto-libm-tests.c (test_functions): Add add.
19500 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19501 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19502 (NARROW_ADD_TRIVIAL): Likewise.
19503 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19504 macro.
19505 (__daddl): Likewise.
19506 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19507 dadd.
19508 (CFLAGS-nldbl-dadd.c): New variable.
19509 (CFLAGS-nldbl-fadd.c): Likewise.
19510 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19511 __nldbl_daddl.
19512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19513 prototype.
19514 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19515 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19516 * math/auto-libm-test-in: Add tests of add.
19517 * math/auto-libm-test-out-narrow-add: New generated file.
19518 * math/libm-test-narrow-add.inc: New file.
19519 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19522 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19523 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19524 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19533 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19534 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19535 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19536 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19538 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19539 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19540 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19541 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19542 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19543 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19544 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19545 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19546 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19547 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19555 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19557 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19558 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19560 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19561 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19562 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19564 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19565
a85b70db
JM
19566 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19567 (f128-pairs): New variable.
19568 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19569 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19570 to CFLAGS.
19571 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19572 Also make tests add $(f128-loader-link) to gnulib-tests.
19573
6a1ff640
DD
195742018-02-09 DJ Delorie <dj@redhat.com>
19575
19576 [BZ #22827]
19577 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19578 64-bit ELF type for 64-bit ELF objects.
19579
bfd47587
JM
195802018-02-09 Joseph Myers <joseph@codesourcery.com>
19581
31958338
JM
19582 * math/libm-test-driver.c (snan_tests_arg): New variable.
19583 * math/libm-test-support.h (snan_tests_arg): New declaration.
19584 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19585
8e554659
JM
19586 * math/Makefile (test-type-pairs): New variable.
19587 (test-type-pairs-f64xf128-yes): Likewise.
19588 (tests): Add test-narrow-macros.
19589 (libm-test-funcs-narrow): New variable.
19590 (libm-test-c-narrow): Likewise.
19591 (generated): Add $(libm-test-c-narrow).
19592 (libm-tests-base-narrow): New variable.
19593 (libm-tests-narrow): Likewise.
19594 (libm-tests): Add $(libm-tests-narrow).
19595 (libm-tests-for-type): Handle $(libm-tests-narrow).
19596 (libm-test-c-narrow-obj): New variable.
19597 ($(libm-test-c-narrow-obj)): New rule.
19598 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19599 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19600 $(o-iterator) to set dependencies and CFLAGS.
19601 * math/gen-auto-libm-tests.c: Document use for narrowing
19602 functions.
19603 (output_for_one_input_case): Take argument NARROW.
19604 (generate_output): Likewise. Update call to
19605 output_for_one_input_case.
19606 (main): Take --narrow option. Update call to generate_output.
19607 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19608 (apply_lit): Update call to _apply_lit.
19609 (apply_arglit): New function.
19610 (parse_args): Handle "a" arguments.
19611 (parse_auto_input): Handle format names using ":".
19612 * math/README.libm-test: Document "a" parameter type.
19613 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19614 (ARG_TYPE_TRUE_MIN): Likewise.
19615 (ARG_TYPE_MAX): Likwise.
19616 (ARG_MIN_EXP): Likewise.
19617 (ARG_MAX_EXP): Likewise.
19618 (ARG_MANT_DIG): Likewise.
19619 (TEST_COND_arg_ibm128): Likewise.
19620 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19621 (TEST_COND_arg_fmt): New macro.
19622 (init_max_error): Update prototype.
19623 * math/libm-test-support.c (test_ibm128): New variable.
19624 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19625 instead of using [TEST_COND_ibm128] conditional.
19626 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19627 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19628 [TEST_NARROW] (TEST_MSG): New definition.
19629 (arg_plus_zero): New macro.
19630 (arg_minus_zero): Likewise.
19631 (arg_plus_infty): Likewise.
19632 (arg_minus_infty): Likewise.
19633 (arg_qnan_value_pl): Likewise.
19634 (arg_qnan_value): Likewise.
19635 (arg_snan_value_pl): Likewise.
19636 (arg_snan_value): Likewise.
19637 (arg_max_value): Likewise.
19638 (arg_min_value): Likewise.
19639 (arg_min_subnorm_value): Likewise.
19640 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19641 (RUN_TEST_LOOP_aa_f): New macro.
19642 (TEST_SUFF): New macro.
19643 (TEST_SUFF_STR): Likewise.
19644 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19645 (TEST_COND_any_ibm128): New macro.
19646 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19647 this_func. Update call to init_max_error.
19648 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19649 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19650 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19651 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19652 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19653 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19654 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19655 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19656 * math/test-math-vector.h (TEST_NARROW): Likewise.
19657 * math/test-arg-double.h: New file.
19658 * math/test-arg-float128.h: Likewise.
19659 * math/test-arg-float32x.h: Likewise.
19660 * math/test-arg-float64.h: Likewise.
19661 * math/test-arg-float64x.h: Likewise.
19662 * math/test-arg-ldouble.h: Likewise.
19663 * math/test-math-narrow.h: Likewise.
19664 * math/test-narrow-macros.c: Likewise.
19665 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19666 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19667 test-narrow-macros-ldbl-64.
19668 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19669
63716ab2
JM
19670 * math/bits/mathcalls-narrow.h: New file.
19671 * include/bits/mathcalls-narrow.h: Likewise.
19672 * math/math-narrow.h: Likewise.
19673 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19674 (__MATHCALL_NARROW_ARGS_2): Likewise.
19675 (__MATHCALL_NARROW_ARGS_3): Likewise.
19676 (__MATHCALL_NARROW_NORMAL): Likewise.
19677 (__MATHCALL_NARROW_REDIR): Likewise.
19678 (__MATHCALL_NARROW): Likewise.
19679 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19680 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19681 defined.
19682 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19683 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19684 (libm-narrow-fns): New variable.
19685 (libm-narrow-types-basic): Likewise.
19686 (libm-narrow-types-ldouble-yes): Likewise.
19687 (libm-narrow-types-float128-yes): Likewise.
19688 (libm-narrow-types-float128-alias-yes): Likewise.
19689 (libm-narrow-types): Likewise.
19690 (libm-routines): Add narrowing functions.
19691 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19692 (libc_feholdexcept_setroundf128): New macro.
19693 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19694 * sysdeps/ieee754/float128/float128_private.h: Include
19695 <math/math-narrow.h>.
19696 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19697 Undefine and redefine.
19698 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19699 (libm_alias_float_ldouble): Undefine and redefine.
19700 (libm_alias_double_ldouble): Likewise.
19701
bfd47587
JM
19702 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19703
3f8d9d58
WD
197042018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19705
19706 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19707 FPCR/FPSR.
19708
1f6676d7
RJ
197092018-02-09 Rical Jasan <ricaljasan@pacific.net>
19710
19711 * manual/creature.texi: Convert references to gcc.info to gcc.
19712 * manual/stdio.texi: Likewise.
19713 * manual/string.texi: Likewise.
19714
d80441dd
JM
197152018-02-07 Joseph Myers <joseph@codesourcery.com>
19716
15081be9
JM
19717 [BZ #17979]
19718 * posix/bits/types.h (__int_least8_t): New typedef.
19719 (__uint_least8_t): Likewise.
19720 (__int_least16_t): Likewise.
19721 (__uint_least16_t): Likewise.
19722 (__int_least32_t): Likewise.
19723 (__uint_least32_t): Likewise.
19724 (__int_least64_t): Likewise.
19725 (__uint_least64_t): Likewise.
19726 * sysdeps/generic/stdint.h (int_least8_t): Define using
19727 __int_least8_t.
19728 (int_least16_t): Define using __int_least16_t.
19729 (int_least32_t): Define using __int_least32_t.
19730 (int_least64_t): Define using __int_least64_t.
19731 (uint_least8_t): Define using __uint_least8_t.
19732 (uint_least16_t): Define using __uint_least16_t.
19733 (uint_least32_t): Define using __uint_least32_t.
19734 (uint_least64_t): Define using __uint_least64_t.
19735 * wcsmbs/uchar.h: Include <bits/types.h>.
19736 (char16_t): Define using __uint_least16_t conditional only on
19737 [!__USE_ISOCXX11].
19738 (char32_t): Define using __uint_least32_t conditional only on
19739 [!__USE_ISOCXX11].
19740 * wcsmbs/test-char-types.c: New file.
19741 * wcsmbs/Makefile (tests): Add test-char-types.
19742
d80441dd
JM
19743 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19744 version to 4.0.1.
19745
6c6c962a
ZW
197462018-02-07 Zack Weinberg <zackw@panix.com>
19747
63fb8f9a
ZW
19748 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19749 Delete all contents except for definitions of _G_HAVE_MMAP and
19750 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19751 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19752 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19753 change as above.
19754
19755 * libio/libio.h: Don't include bits/_G_config.h here.
19756 Include stddef.h with __need_wchar_t defined. Include
19757 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19758 Define _IO_iconv_t here, directly.
19759 Don't define _IO_HAVE_ST_BLKSIZE.
19760 * libio/libioP.h: Include _G_config.h here. Move include of
19761 shlib-compat.h up with rest of includes. Simplify conditionals
19762 controlling definition of _IO_JUMPS_OFFSET.
19763
19764 * csu/init.c: Remove always-true #if around entire file.
19765 Don't include stdio.h. Set _IO_stdin_used to hardwired
19766 constant 0x20001, and update commentary.
19767 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19768 Replace all uses of _G_va_list with __gnuc_va_list.
19769 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19770 instead of #if _IO_HAVE_ST_BLKSIZE.
19771 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19772 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19773 not #ifdef.
19774
6c6c962a
ZW
19775 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19776 multiple-include guard to match.
19777 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19778 into this file.
19779 Remove preprocessor conditionals that are always true and/or
19780 redundant to other preprocessor conditionals in the same nest.
19781 Include shlib-compat.h unconditionally.
19782 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19783 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19784 defined after including stdio.h.
19785 Use __BEGIN_DECLS/__END_DECLS.
19786
19787 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19788 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19789 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19790
a4fea3f2
ZW
197912018-02-07 Zack Weinberg <zackw@panix.com>
19792
19793 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19794 New single-type headers split from _G_config.h.
19795 * libio/bits/types/cookie_io_functions_t.h
19796 * libio/bits/types/struct_FILE.h
19797 New single-type headers split from libio.h.
19798
19799 * libio/Makefile: Install the above new headers. Don't install
19800 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19801 bits/libio-ldbl.h.
19802 * libio/_G_config.h, libio/libio.h: Delete file.
19803
19804 * libio/bits/libio.h: Remove improper-inclusion guard.
19805 Include stdio.h and don't repeat anything that it does.
19806 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19807 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19808 __io_read_fn as cookie_read_function_t,
19809 __io_write_fn as cookie_write_function_t,
19810 __io_seek_fn as cookie_seek_function_t,
19811 __io_close_fn as cookie_close_function_t,
19812 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19813 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19814 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 19815 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
19816 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19817 and _IO_ferror_unlocked.
19818 Move prototypes of __uflow and __overflow...
19819
19820 * libio/stdio.h: ...here. Don't include bits/libio.h.
19821 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 19822 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
19823 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19824 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19825 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19826 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19827 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19828 __ssize_t, not _IO_ssize_t. Unconditionally define
19829 BUFSIZ as 8192 and EOF as (-1).
19830
19831 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19832 macros from bits/types/struct_FILE.h instead of _IO_* macros
19833 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19834 instead of _IO_ssize_t.
19835 * libio/bits/stdio2.h: Similarly.
19836
19837 * libio/iolibio.h: Add multiple-include guard.
19838 Include bits/libio.h after stdio.h.
19839 * libio/libioP.h: Add multiple-include guard.
19840 Include stdio.h and bits/libio.h before iolibio.h.
19841
6c6c962a 19842 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
19843 * include/bits/types/cookie_io_functions_t.h
19844 * include/bits/types/struct_FILE.h: New wrappers.
19845
19846 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
19847 Get definitions of _G_fpos_t and _G_fpos64_t from
19848 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19849 respectively. Remove improper-inclusion guards.
a4fea3f2 19850
6c6c962a 19851 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 19852 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 19853 libio.h and _G_config.h.
a4fea3f2 19854
ce999220
JM
198552018-02-07 Joseph Myers <joseph@codesourcery.com>
19856
8b4a1182
JM
19857 [BZ #15105]
19858 [BZ #19463]
19859 * include/sys/sysmacros.h [!_ISOMAC]
19860 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19861 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19862 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19863 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19864 libc_hidden_proto.
19865 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19866 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19867 Likewise.
19868 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19869 Undefine and redefine to add use __gnu_dev_ prefix.
19870 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19871 Likewise.
19872 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19873 and define as hidden inline function.
19874 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19875 Likewise.
19876 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19877 Likewise.
19878 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19879 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19880 (gnu_dev_minor): Likewise.
19881 (gnu_dev_makedev): Likewise.
19882 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19883 makedev.
19884 * posix/wordexp.c (exec_comm_child): Likewise.
19885 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19886 instead of minor and __gnu_dev_major instead of major.
19887 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19888 __gnu_dev_major instead of major.
19889 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19890 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19891 instead of gnu_dev_minor.
19892 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19893 (SLAVE_P): Likewise.
19894 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19895 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19896 instead of major.
19897
ce999220
JM
19898 [BZ #21313]
19899 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19900 in another place.
19901 * locale/weightwc.h (findidx): Likewise.
19902
b7c83ca3
WD
199032018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19904
19905 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19906 (slowlog_inexact): Likewise
19907 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19908 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19909
388ff7bd
IG
199102018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19911
19912 [BZ #22797]
19913 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19914 missing second underscore to parameter name.
19915
663e7d78
JM
199162018-02-06 Joseph Myers <joseph@codesourcery.com>
19917
0d40d0ec
JM
19918 [BZ #14508]
19919 [BZ #15512]
19920 [BZ #17082]
19921 [BZ #20530]
19922 * bits/byteswap.h: Update file comment. Do not include
19923 <bits/byteswap-16.h>.
19924 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19925 constant.
19926 (__bswap_16): Define as inline function.
19927 (__bswap_constant_32): Reformat definition.
19928 (__bswap_32): Always define as inline function, not macro, using
19929 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19930 otherwise __bswap_constant_32.
19931 (__bswap_constant_64): Reformat definition. Do not use
19932 __extension__ here.
19933 (__bswap_64): Always define as inline function, not macro. Use
19934 __extension__ on function definition. Use __builtin_bswap64 if
19935 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19936 * string/test-endian-file-scope.c: New file.
19937 * string/test-endian-sign-conversion.c: Likewise.
19938 * string/Makefile (headers): Remove bits/byteswap-16.h.
19939 (tests): Add test-endian-file-scope and
19940 test-endian-sign-conversion.
19941 (CFLAGS-test-endian-sign-conversion.c): New variable.
19942 * bits/byteswap-16.h: Remove file.
19943 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19944 * sysdeps/ia64/bits/byteswap.h: Likewise.
19945 * sysdeps/m68k/bits/byteswap.h: Likewise.
19946 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19947 * sysdeps/s390/bits/byteswap.h: Likewise.
19948 * sysdeps/tile/bits/byteswap.h: Likewise.
19949 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19950 * sysdeps/x86/bits/byteswap.h: Likewise.
19951
383e87c9
JM
19952 [BZ #17721]
19953 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19954 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19955 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19956 199901L] (__restrict): Define to restrict.
19957
d92c2759
JM
19958 [BZ #19667]
19959 * string/testcopy.c: Include <support/support.h>. Do not include
19960 <malloc.h>. Use <support/test-driver.c>.
19961 (main): Rename to do_test. Make static. Use xmalloc instead of
19962 malloc.
19963
625fb764
JM
19964 [BZ #13575]
19965 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19966 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19967 (SSIZE_MAX): Define to INT_MAX.
19968 * posix/test-ssize-max.c: New file.
19969 * posix/Makefile (tests): Add test-ssize-max.
19970
02325d6c
JM
19971 [BZ #19668]
19972 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19973 <support/support.h>. Do not include <malloc.h>.
19974 (query_auxv): Use xmalloc instead of malloc.
19975
663e7d78
JM
19976 [BZ #14553]
19977 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19978 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19979 instead of loff_t.
19980
6b5c8607 199812018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
19982
19983 [BZ #18023]
19984 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19985 Use scratch_buffer instead of extend_alloca.
19986
de6da571
ZW
199872018-02-06 Zack Weinberg <zackw@panix.com>
19988
26c07172
ZW
19989 * libio/stdio.h: Don't define getc or putc as macros.
19990 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19991 not _IO_getc and _IO_putc.
19992
de6da571
ZW
19993 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19994 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19995
92669d6e
JM
199962018-02-06 Joseph Myers <joseph@codesourcery.com>
19997
c2b84df9
JM
19998 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19999 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20000
41376f8c
JM
20001 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20002
d28bf648
JM
20003 [BZ #14890]
20004 * elf/elf.h (NT_PRFPREG): New macro.
20005 (NT_S390_VXRS_LOW): Likewise.
20006 (NT_S390_VXRS_HIGH): Likewise.
20007 (NT_S390_GS_CB): Likewise.
20008 (NT_S390_GS_BC): Likewise.
20009 (NT_S390_RI_CB): Likewise.
20010
e76def72
JM
20011 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20012 (MAP_SYNC): New macro.
20013 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20014 Likewise.
20015 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20016 (MAP_SYNC): Likewise.
20017 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20018 (MAP_SYNC): Likewise.
20019 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20020 (MAP_SYNC): Likewise.
20021 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20022 (MAP_SYNC): Likewise.
20023 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20024 (MAP_SYNC): Likewise.
20025 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20026 (MAP_SYNC): Likewise.
20027 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20028 Likewise.
20029 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20030 Likewise.
20031
92669d6e
JM
20032 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20033 (MAP_SHARED_VALIDATE): New macro.
20034 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20035 (MAP_SHARED_VALIDATE): Likewise.
20036
6a5cac49
L
200372018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20038
20039 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20040 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20041 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20042
b44e0dfb
L
200432018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20044
20045 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20046 (DT_NUM): Updated to 35.
20047
f886c16c
L
200482018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20049
20050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20051 __builtin_expect with __glibc_likely and __glibc_unlikely.
20052 (elf_machine_rela): Likewise.
20053 (elf_machine_lazy_rel): Likewise.
20054
06fbebff
L
200552018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20056
20057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 20058 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
20059 (elf_machine_lazy_rel): Likewise.
20060
371b220f
L
200612018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20062
20063 [BZ #22638]
20064 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20065 SHARED.
65805016 20066 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 20067
f649a1b8
AS
200682018-02-05 Andreas Schwab <schwab@suse.de>
20069
20070 [BZ #22761]
20071 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20072 string.
20073
9fdb340e
ST
200742018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20075
20076 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20077 not check against PTHREAD_STACK_MIN.
20078
09e56b9e
SM
200792018-02-02 Sean McKean <smckean83@gmail.com>
20080
20081 [BZ #22735]
20082 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20083
d4b4a00a
FW
200842018-02-02 Florian Weimer <fweimer@redhat.com>
20085
20086 [BZ #22753]
20087 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20088 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20089 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20090 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20091 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20092 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20093 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20094 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20095 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20096 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20097 * misc/tst-preadvwritev2.c (do_test): Call it.
20098 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20099
3dfcbfa1
SP
201002018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20101
84c94d2f
SP
20102 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20103
96e6a716
SP
20104 * benchtests/bench-memcmp.c: Print json instead of plain text.
20105
3dfcbfa1
SP
20106 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20107 every test run.
20108
049375e2
JM
201092018-02-01 Joseph Myers <joseph@codesourcery.com>
20110
39f898c6
JM
20111 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20112 version to 4.15.
20113 (s390_sthyi): New syscall.
20114
6f9a3dd8
JM
20115 * sysdeps/generic/ldbl-classify-compat.h: New file.
20116 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20117 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20118 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20119 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20120 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20121 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20122 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20123 <ldbl-classify-compat.h>.
20124 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20125 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20126 <ldbl-classify-compat.h>.
20127 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20128 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20129 <ldbl-classify-compat.h>.
20130 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20131 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20132 <ldbl-classify-compat.h>.
20133 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20135 <ldbl-classify-compat.h>.
20136 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20138 <ldbl-classify-compat.h>.
20139 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20140 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20141 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20142 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20143 * sysdeps/microblaze/math_private.h: Likewise.
20144 * sysdeps/nios2/math_private.h: Likewise.
20145 * sysdeps/sh/math_private.h: Likewise.
20146
eb65a3d5
JM
20147 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20148 * sysdeps/m68k/coldfire/math_private.h: ... here.
20149 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20150 * sysdeps/tile/math_private.h: Likewise.
20151 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20152 Remove macro.
20153 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20154 Likewise.
20155
8a6bb1d0
JM
20156 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20157 Remove macro.
20158 (libc_fetestexcept): Likewise.
20159 (libc_feupdateenv_test): Likewise.
20160 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20161 (libc_fetestexcept): Likewise.
20162 (libc_feupdateenv_test): Likewise.
20163 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20164 (libc_fetestexcept): Likewise.
20165 (libc_feupdateenv_test): Likewise.
20166 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20167 (libc_fetestexcept): Likewise.
20168 (libc_feupdateenv_test): Likewise.
20169
ae1fcb7b
JM
20170 * sysdeps/generic/math_private.h
20171 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20172 New inline function.
20173 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20174 Likewise.
20175
b1c347e2
JM
20176 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20177 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20178 * sysdeps/generic/math_private.h
20179 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20180 inline function.
20181 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20182 Likewise.
20183 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20184 Likewise.
20185 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20186 Likewise.
20187 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20188 Likewise.
20189 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20190 Likewise.
20191 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20192 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20193 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20194 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20195 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20196 (__fegetenv): Likewise.
20197 (fesetenv): Likewise.
20198 (__fesetenv): Likewise.
20199 (feupdateenv): Likewise.
20200 (__feupdateenv): Likewise.
20201 (fegetround): Likewise.
20202 (__fegetround): Likewise.
20203 (fesetround): Likewise.
20204 (__fesetround): Likewise.
20205
d23a4962
JM
20206 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20207 (feraiseexcept): New macro.
20208 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20209 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20210 Remove macro.
20211 (__feraiseexcept): Likewise.
20212 (feclearexcept): Likewise.
20213 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20214 (__feraiseexcept): Likewise.
20215 (feclearexcept): Likewise.
20216 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20217 (__feraiseexcept): Likewise.
20218 (feclearexcept): Likewise.
20219 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20220 (__feraiseexcept): Likewise.
20221 (feclearexcept): Likewise.
20222 (fetestexcept): Likewise.
20223
5f167950
JM
20224 * sysdeps/m68k/coldfire/math-tests.h: New file.
20225
ccc9035a
JM
20226 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20227 * sysdeps/m68k/bits/fenv.h: ... here.
20228 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20229 not define.
20230 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20231 Likewise.
20232 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20233 Likewise.
20234 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20235 Likewise.
20236 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20237 Likewise.
20238 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20239 Define to 0.
20240 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20241 (__FE_UNDEFINED): New enum constant.
20242 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20243 Do not define.
20244 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20245 Likewise.
20246 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20247 Likewise.
20248 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20249 to match generic bits/fenv.h.
20250 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20251 Do not define.
20252
049375e2
JM
20253 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20254 packed on bits.
20255 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20256 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20257 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20258 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20259
f1d73681
CD
202602018-02-01 Carlos O'Donell <carlos@redhat.com>
20261 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20262 Joseph Myers <joseph@codesourcery.com>
20263
20264 [BZ #21314]
20265 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20266 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20267 computation using c.
20268 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20269 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20270 computation using c.
20271
242cbc90
DL
202722018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20273
086ee48e
DL
20274 * version.h (RELEASE): Set to "development".
20275 (VERSION): Set to "2.27.9000".
20276 * NEWS (2.28): New section.
20277
23158b08
DL
20278 * version.h (RELEASE): Set to "stable".
20279 (VERSION): Set to "2.27".
20280 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20281
242cbc90
DL
20282 * NEWS: Add the list of bugs fixed in 2.27.
20283
673e2305
AZ
202842018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20285
20286 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20287 against PTHREAD_STACK_MIN.
20288
ced64e01
DL
202892018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20290
20291 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20292 New entries.
20293 (Rafal Luzynski, Andreas Schwab): Update.
20294
c10c9a5e
RL
202952018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20296
20297 [BZ #10871]
20298 * NEWS: List the languages which actually use the alternative
20299 months feature in this release. Also explain that "alt_mon" and
20300 "ab_alt_mon" are optional.
20301
650ba77a
IM
203022018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20303
20304 [BZ #22765]
20305 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20306
93493119
DL
203072018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20308
20309 * manual/install.texi (Tools for Compilation): Update the newest
20310 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20311 * INSTALL: Regenerated.
20312
363e4519 203132018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
20314
20315 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20316 instead of __builtin_expect.
20317
d7536874
FW
203182018-01-30 Florian Weimer <fweimer@redhat.com>
20319
20320 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20321 data.
20322 * nss/tst-nss-getpwent.c (do_test): Likewise.
20323
9a1b267d
RL
203242018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20325
20326 [BZ #10871]
20327 * localedata/locales/hr_HR (mon): Rename to...
20328 (alt_mon): This.
20329 (mon): Import from CLDR (genitive case).
20330 (d_t_fmt): Update the comment.
20331
9a179328
AS
203322018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20333
20334 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20335 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20336 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20337
e01e0ddc
ST
203382018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20339
20340 * mach/Versions: Fix version when __mach_host_self_ was added.
20341 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20342 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20343 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20344 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20345 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20346 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20347 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20348 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20349 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20350 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20351 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20352 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
20353 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20354 || to respect codestyle.
2aadb705
ST
20355 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20356 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
20357 * malloc/malloc.c: Include <assert.h>.
20358 (assert): Do not define.
20359 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
20360 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20361 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 20362 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 20363 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 20364
521877e1
PD
203652018-01-29 Darius Rad <darius@bluespec.com>
20366
20367 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20368
532cf290
PD
203692018-01-29 Palmer Dabbelt <palmer@sifive.com>
20370
20371 * sysdeps/init_array/crti.S (.section .init_array): Add
20372 PREINIT_FUNCTION when defined.
40ca951b 20373 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 20374 * config.h.in: Regenerate.
ba9e25a6
PD
20375 * manual/platform.texi: Add RISC-V documenation for
20376 __riscv_flush_icache.
c776fa11
PD
20377 * sysdeps/riscv/__longjmp.S: New file.
20378 * sysdeps/riscv/backtrace.c: Likewise.
20379 * sysdeps/riscv/bits/endian.h: Likewise.
20380 * sysdeps/riscv/bits/setjmp.h: Likewise.
20381 * sysdeps/riscv/bits/wordsize.h: Likewise.
20382 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20383 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20384 * sysdeps/riscv/dl-trampoline.S: Likewise.
20385 * sysdeps/riscv/gccframe.h: Likewise.
20386 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20387 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20388 * sysdeps/riscv/machine-gmon.h: Likewise.
20389 * sysdeps/riscv/memusage.h: Likewise.
20390 * sysdeps/riscv/setjmp.S: Likewise.
20391 * sysdeps/riscv/sys/asm.h: Likewise.
20392 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
20393 * sysdeps/riscv/dl-tls.h: New file.
20394 * sysdeps/riscv/libc-tls.c: Likewise.
20395 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20396 * sysdeps/riscv/nptl/tls.h: Likewise.
20397 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
20398 * sysdeps/riscv/bits/fenv.h: New file.
20399 * sysdeps/riscv/e_sqrtl.c: Likewise.
20400 * sysdeps/riscv/fpu_control.h: Likewise.
20401 * sysdeps/riscv/math-tests.h: Likewise.
20402 * sysdeps/riscv/nofpu/Implies: Likewise.
20403 * sysdeps/riscv/sfp-machine.h: Likewise.
20404 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
20405 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20406 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20407 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20408 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20409 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20410 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20411 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20412 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20413 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20414 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20415 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20416 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20417 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20418 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20419 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20420 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20421 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20422 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20423 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20424 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20425 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20426 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20427 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20428 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20429 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20430 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20431 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20432 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20433 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20434 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20435 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20436 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20437 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20438 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20439 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20440 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20441 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20442 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20443 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20444 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20445 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20446 * sysdeps/riscv/rvf/math_private.h: Likewise.
20447 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20448 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20449 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20450 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20451 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20452 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20453 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20454 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20455 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20456 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20457 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20458 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20459 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20460 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20461 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20462 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
20463 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20464 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20465 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20466 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
20467 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20468 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20469 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20470 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20471 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20472 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20473 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20474 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20475 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
20476 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20477 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20478 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20479 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20480 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20481 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20482 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20483 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20484 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20485 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20486 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20487 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20488 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20489 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20490 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20491 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20492 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20493 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20494 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20495 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20496 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20497 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
20498 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20499 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20500 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
20501 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20502 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20503 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20504 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20505 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20506 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20507 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20508 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20509 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20510 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20511 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20512 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20513 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20514 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
20515 * sysdeps/riscv/Implies: New file.
20516 * sysdeps/riscv/Makefile: Likewise.
20517 * sysdeps/riscv/configure: Likewise.
20518 * sysdeps/riscv/configure.ac: Likewise.
20519 * sysdeps/riscv/nptl/Makefile: Likewise.
20520 * sysdeps/riscv/preconfigure: Likewise.
20521 * sysdeps/riscv/rv64/Implies-after: Likewise.
20522 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20523 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20524 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20525 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20526 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20527 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20528 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20529 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20530 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20531 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20532 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
20533 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20534 (Config): Likewise.
532cf290 20535
cdd14619
FW
205362018-01-29 Florian Weimer <fweimer@redhat.com>
20537
20538 [BZ #22701]
20539 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20540 libnsl_hidden_proto.
20541 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20542 libnsl_hidden_proto.
20543 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20544 * nis/Makefile (libnsl-routines): Add nss-default only for
20545 build-obsolete-nsl.
20546 * nis/nis_defaults.c (__nis_default_ttl): Add
20547 libnsl_hidden_nolink_def.
20548 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20549 declaration.
20550 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20551 * nis/ypclnt.c (yp_maplist): Likewise.
20552
b7ccb5de
RN
205532018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20554
20555 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20556 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20557
522623e4
JM
205582018-01-29 Joseph Myers <joseph@codesourcery.com>
20559
e3aa6999
JM
20560 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20561 clean -dxfq for git updates when replacing sources.
20562
088de7d0
JM
20563 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20564 --disable-libcilkrts unconditionally, not just for the final GCC
20565 build for Hurd.
20566
522623e4
JM
20567 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20568 version to 4.15.
20569
8b406f87
RL
205702018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20571
20572 [BZ #10871]
20573 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20574 case).
20575
105e90bd
RL
205762018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20577
20578 [BZ #10871]
20579 * localedata/locales/be_BY (mon): Rename to...
20580 (alt_mon): This, then synchronize with CLDR (nominative case).
20581 (abmon): Rename to...
20582 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20583 (mon): Import from CLDR (genitive case).
20584 (abmon): Likewise.
20585 * localedata/locales/be_BY@latin (mon): Rename to...
20586 (alt_mon): This.
20587 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20588
20589 * localedata/locales/be_BY@latin (lang_name): Reworded to
20590 "biełaruskaja mova".
20591
561cb414
RL
205922018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20593
20594 [BZ #10871]
20595 * localedata/locales/el_CY (mon): Renamed to...
20596 (alt_mon): This.
20597 (mon): Import from CLDR (genitive case).
20598 * localedata/locales/el_GR: Likewise.
20599
f7bdf30d
RL
206002018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20601
20602 [BZ #10871]
20603 * localedata/locales/ru_RU (mon): Rename to...
20604 (alt_mon): This.
20605 (abmon): Rename to...
20606 (ab_alt_mon): This.
20607 (mon): Import from CLDR (genitive case).
20608 (abmon): Copy from the old content except the 5th month which is
20609 now in the genitive case, even when abbreviated.
20610 * localedata/locales/ru_UA: Likewise.
20611 * time/tst-strptime.c (day_tests): Add an actual example of
20612 a difference between %b and %Ob in Russian.
20613
85285a0c
ST
206142018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20615
20616 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
20617 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20618 a `c' variable.
3538a4b6 20619 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
20620 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20621 <sys/wait.h>, <time.h>, <sys/uio.h>.
20622 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 20623 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
20624 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20625 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20626 return 0.
05ebfe87
ST
20627 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20628 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
20629 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20630 instead of void *.
20631 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20632 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
20633 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20634 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
20635 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20636 and make them the default for now.
903d3633
ST
20637 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20638 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
20639 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20640 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20641 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20642 MACH_IPC_COMPAT.
06fac9f5
ST
20643 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20644 __task_terminate would ever return successfully.
f8177753
ST
20645 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20646 to global scope.
41cdb1eb
ST
20647 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20648 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
20649 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20650 critical section to make code simpler and avoid warning.
20651 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20652 critical section to make code simpler and avoid warning.
844bf921
ST
20653 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20654 const char * instead of char *.
f8bee46c
ST
20655 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20656 __hurd_file_name_split, hurd_file_name_split,
20657 __hurd_directory_name_split, hurd_directory_name_split,
20658 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20659 hurd_file_name_path_lookup): Make lookup function parameter take a
20660 const char *name instead of char *name.
20661 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20662 __hurd_directory_name_split): Likewise.
20663 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20664 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
20665 * sysdeps/mach/hurd/check_native.c: New file.
20666 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
20667 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20668 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
20669 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20670 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
20671 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20672 (do_test_bz20181): Rename accordingly.
20673 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
20674 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20675 <sys/mount.h>.
28f6186f
ST
20676 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20677 version only if __USE_EXTERN_INLINES is defined.
20678 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20679 __hurd_sockfail): Likewise.
20680 (_hurd_fd_get): Always declare functions, and provide inline versions
20681 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20682 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20683 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20684 _hurd_port_set): Always declare functions, and provide inline versions
20685 only if __USE_EXTERN_INLINES and _LIBC are defined and
20686 IS_IN(libc).
20687 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20688 _hurd_critical_section_unlock): Likewise.
20689 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20690 * __hurd_threadvar_location): Likewise.
20691 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20692 _hurd_userlink_clear): Likewise.
20693 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20694 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20695 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20696 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20697 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20698 __spin_lock_locked): Likewise.
20699 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20700 __spin_lock_locked): Likewise.
20701 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20702 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20703 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20704 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20705 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
20706 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20707 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
20708 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20709 check size against PTHREAD_STACK_MIN.
625ba81e
ST
20710 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20711 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
20712 * mach/Makefile (user-interfaces): Add mach/gnumach.
20713 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20714 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
20715 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20716 instead of invalid -1.
1f89ac71
ST
20717 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20718 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20719 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20720 <net/ppp_defs.h>.
85285a0c 20721
1fd1e27c 207222018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
20723
20724 * hurd/fcntl-internal.h: New file.
20725
3854c5a8
JC
207262018-01-27 James Clarke <jrtc27@jrtc27.com>
20727
7e23a7dd
JC
20728 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20729
3854c5a8
JC
20730 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20731
5503f413
AS
207322018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20733
20734 [BZ #22701]
20735 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20736 Build only shared objects.
20737
caaf7804
CD
207382018-01-26 Carlos O'Donell <carlos@redhat.com>
20739
20740 * README: Update for hppa.
20741
1cbf818d
PM
207422018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20743
caaf7804
CD
20744 * sysdeps/sparc/fpu/libm-test-ulps: Update
20745 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 20746
caaf7804 207472018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
20748
20749 Revert:
20750
20751 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20752
20753 [BZ #22563]
20754 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20755 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20756 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20757 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20758 to feature_1.
20759
20760 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20761
20762 [BZ #22563]
20763 * bits/types/__cancel_jmp_buf_tag.h: New file.
20764 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20765 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20766 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20767 * nptl/Makefile (headers): Add
20768 bits/types/__cancel_jmp_buf_tag.h.
20769 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20770 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20771 * sysdeps/nptl/pthread.h: Include
20772 <bits/types/__cancel_jmp_buf_tag.h>.
20773 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20774 __cancel_jmp_buf.
20775 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20776
65f6c94e
RL
207772018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20778
20779 [BZ #10871]
20780 * localedata/locales/uk_UA (mon): Renamed to...
20781 (alt_mon): This.
20782 (alt_digits): "0" removed and then renamed to...
20783 (mon): This.
20784 (date_fmt): Definition changed not to use the alternative
20785 digits hack.
20786
fb58aac5
PD
207872018-01-25 Palmer Dabbelt <palmer@sifive.com>
20788
20789 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20790 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20791 * elf/elf.h (EF_RISCV_RVC): New define.
20792 (EF_RISCV_FLOAT_ABI): Likewise.
20793 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20794 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20795 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20796 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20797 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20798 define.
20799 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20800
128c43a2
AS
208012018-01-25 Andreas Schwab <schwab@suse.de>
20802
20803 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20804 single quotes.
20805 * sysdeps/gnu/configure: Regenerate.
20806 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20807 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20809 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20810 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20811 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20812 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20813 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20814
f9015003
ST
208152018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20816
48130690 20817 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 20818 URL, and run autoconf, make it the default for now.
f9015003 20819
91b2cffa
JM
208202018-01-24 Joseph Myers <joseph@codesourcery.com>
20821
3005b705
JM
20822 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20823 soft-float ColdFire configuration.
20824
69231fab
JM
20825 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20826 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20827 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20828
d4c7e1d0
JM
20829 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20830 MicroBlaze file.
20831
0cfe5be5
JM
20832 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20833 ....
20834 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20835 ... here.
20836 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20837 New file.
20838
91b2cffa
JM
20839 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20840 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20841 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20842 file.
20843
c739e191
SN
208442018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20845
20846 [BZ #22742]
20847 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20848 Rename to __reserved and add comment.
20849 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20850 Rename to __reserved.
20851
394b5bac
JM
208522018-01-24 Joseph Myers <joseph@codesourcery.com>
20853
20854 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20855 i686-gnu configurations.
20856 (Context.run_builds): Include mig, gnumach and hurd in components
20857 considered.
20858 (Context.checkout): Add mig, gnumach and hurd to components.
20859 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20860 hurd.
20861 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20862 (Config.build): Install gnumach headers, build mig and install
20863 hurd headers for 'gnu' OS.
20864 (Config.install_gnumach_headers): New function.
20865 (Config.install_hurd_headers): Likewise.
20866 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20867 when building for 'gnu' OS.
20868
28c3f14f
TK
208692018-01-23 Tobias Klauser <tklauser@distanz.ch>
20870
20871 * manual/tunables.texi (Hardware Capability Tunables): Fix
20872 spelling.
20873
0f5e2da1
RJ
208742018-01-22 Rical Jasan <ricaljasan@pacific.net>
20875
20876 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20877 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20878 (ALTMON_11, ALTMON_12): Improve documentation.
20879 * manual/time.texi (strftime): Likewise.
20880
7817b14a
RL
208812018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20882
20883 [BZ #10871]
20884 * localedata/locales/pl_PL: Alternative month names added,
20885 primary month names are genitive now.
20886 * time/tst-strptime.c (day_tests): Actually use a genitive case
20887 of a month name in Polish language.
20888
22390764
RL
208892018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20890
20891 [BZ #10871]
20892 * manual/locale.texi: Document ALTMON_1..12 constants for
20893 nl_langinfo. Specify when to use ALTMON instead of MON.
20894 * manual/time.texi (strftime, strptime): Document GNU extension
20895 permitting O modifier with %B and %b. Specify when to use
20896 %OB instead of %B.
20897
761a585c
RL
208982018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20899
20900 [BZ #10871]
20901 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20902 names, define them as the same as abbreviated month names explicitly.
20903 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20904 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20905 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20906 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20907 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20908 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20909 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20910 _NL_WABALTMON_12): New enum constants.
20911 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20912 wab_alt_mon, and ab_alt_mon_defined members.
20913 (time_output): Output ab_alt_mon and wab_alt_mon members.
20914 (time_read): Read them, initialize them as copies of abmon and wabmon
20915 respectively if they are missing, initialize ab_alt_mon_defined.
20916 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20917 * locale/programs/locfile-kw.h: Regenerate.
20918 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20919 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20920 and ru_RU.UTF-8.
20921 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20922 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20923 (__strftime_internal): Handle %Ob and %Oh formats.
20924 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20925 (__strptime_internal): Handle %Ob and %Oh formats.
20926 * time/tst-strptime.c (day_tests): Add more tests to parse different
20927 forms of month names including the new %Ob format specifier.
20928
95cb863a
RL
209292018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20930
20931 [BZ #10871]
20932 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20933 define them as the same as primary full month names explicitly.
20934 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20935 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20936 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20937 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20938 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20939 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20940 _NL_WALTMON_12): New enum constants.
20941 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20942 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20943 macros.
20944 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20945 walt_mon, and alt_mon_defined members.
20946 (time_output): Output alt_mon and walt_mon members.
20947 (time_read): Read them, initialize them as copies of mon and wmon
20948 respectively if they are missing, initialize alt_mon_defined.
20949 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20950 * locale/programs/locfile-kw.h: Regenerate.
20951 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20952 * localedata/tst-langinfo.c (map): Add tests for the new constants
20953 ALTMON_1 .. ALTMON_12.
20954 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20955 and pl_PL.UTF-8.
20956 * time/strftime_l.c (f_altmonth): New macro.
20957 (__strftime_internal): Handle %OB format.
20958 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20959 (__strptime_internal): Handle %OB format.
20960 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20961 of month names including the new %OB format specifier.
20962
4612268a
TMQMF
209632018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20964
20965 [BZ #22685]
20966 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20967 from ABORT_TRANSACTION.
20968 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20969 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20970 ABORT_TRANSACTION_IMPL): Likewise.
20971 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20972 Linux code, but remove the code that aborts transactions.
20973
64f63cb4
ST
209742018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20975
20976 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20977
32ac6e92
RL
209782018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20979
20980 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20981 in date: "2004-14-09" should be "2004-09-14".
20982 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20983 "2003-15-09" should be "2003-09-15".
20984
8e448310
AS
209852018-01-18 Arjun Shankar <arjun@redhat.com>
20986
20987 [BZ #22343]
71aa429b 20988 [BZ #22774]
4590634f 20989 CVE-2018-6485
71aa429b 20990 CVE-2018-6551
8e448310
AS
20991 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20992 after padding.
20993 (_int_memalign): check for integer overflow before calling
20994 _int_malloc.
20995 * malloc/tst-malloc-too-large.c: New test.
20996 * malloc/Makefile: Add tst-malloc-too-large.
20997
e234d7cb
RL
209982018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20999
21000 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21001 in date: "2017-24-07" should be "2017-07-24".
21002 * localedata/locales/mai_IN: Likewise.
21003 * localedata/locales/mai_NP: Likewise.
21004
48b66019
DL
210052018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21006
21007 * po/ru.po: Update translations.
21008
1eeddc58
JM
210092018-01-17 Joseph Myers <joseph@codesourcery.com>
21010
21011 [BZ #22719]
21012 * sysdeps/hppa/backtrace.c: New file.
21013
207a72e2
L
210142018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21015
21016 [BZ #22715]
21017 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21018 align La_x86_64_retval to VEC_SIZE.
21019
4942c4ea
JM
210202018-01-16 Joseph Myers <joseph@codesourcery.com>
21021
21022 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21023 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21024
10d200db
FW
210252018-01-16 Florian Weimer <fweimer@redhat.com>
21026
21027 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21028 Move tst-thread-exit-clobber ...
21029 [$(CXX)] (tests-unsupported): ... to here.
21030
953c49cc
SN
210312018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21032
21033 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21034 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21035 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21036 (_dl_aarch64_cap_flags): Update.
21037 (_DL_HWCAP_COUNT): Update.
21038
afce1991
SN
210392018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21040
21041 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21042 (_DL_HWCAP_LAST): Remove.
21043 (_DL_HWCAP_COUNT): Move to ...
21044 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21045 (_DL_HWCAP_COUNT): ... here.
21046
b725132d
FW
210472018-01-16 Florian Weimer <fweimer@redhat.com>
21048
21049 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21050 mode with GNU extensions.
21051
c9e613a7
AH
210522018-01-15 Alan Hayward <alan.hayward@arm.com>
21053
21054 * elf/elf.h (NT_ARM_SVE): Define.
21055
860b0240
FW
210562018-01-15 Florian Weimer <fweimer@redhat.com>
21057
21058 [BZ #22636]
21059 * nptl/tst-minstack-throw.cc: New file.
21060 * nptl/Makefile (tests): Add tst-minstack-throw.
21061 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21062 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21063
16d0f6ac
JM
210642018-01-15 Joseph Myers <joseph@codesourcery.com>
21065
21066 * scripts/build-many-glibcs.py (Context.checkout): Default
21067 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21068 version to 1.1.0.
21069
505d3910
CD
210702018-01-13 Carlos O'Donell <carlos@redhat.com>
21071
21072 [BZ #22707]
21073 * elf/elf.h (DF_1_STUB): Define.
21074 (DF_1_PIE): Define.
21075
af1e6be4
TMQMF
210762018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21077
21078 [BZ #22697]
21079 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21080 Do not add 0.5 to integer or out-of-range arguments.
21081
98d13ce0
DL
210822018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21083
21084 * po/bg.po: Update translations.
21085 * po/cs.po: Likewise.
21086 * po/de.po: Likewise.
21087 * po/ko.po: Likewise.
21088 * po/pl.po: Likewise.
21089 * po/sv.po: Likewise.
21090 * po/uk.po: Likewise.
21091 * po/vi.po: Likewise.
21092
3d1d7928
SN
210932018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21094
21095 * aarch64/start.S (_start): Use __wrap_main.
21096 (__wrap_main): New local symbol.
21097
52a713fd
DL
210982018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21099
21100 [BZ #22679]
21101 CVE-2018-1000001
21102 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21103 generic_getcwd if the path returned by getcwd syscall is not absolute.
21104 * io/tst-getcwd-abspath.c: New test.
21105 * io/Makefile (tests): Add tst-getcwd-abspath.
21106
249a5895
IK
211072018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21108
21109 * malloc/malloc.c (malloc_consolidate): Add size check.
21110
1a51e46e
FW
211112018-01-12 Florian Weimer <fweimer@redhat.com>
21112
21113 * support/write_message.c (write_message): Preserve errno.
21114 * support/check.c (print_failure): Likewise.
21115 * support/support_test_verify_impl.c (support_test_verify_impl):
21116 Likewise.
21117 * support/support_test_compare_failure.c
21118 (support_test_compare_failure): Likewise.
21119
9a08a366
FW
211202018-01-12 Florian Weimer <fweimer@redhat.com>
21121
21122 [BZ #22701]
21123 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21124 Prevent installation of libnsl.so.
21125 (libnsl-inhibit-o): Do not build (or install) static libraries.
21126
80647883 211272018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
21128
21129 [BZ #22657]
21130 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21131 before the day number which may produce a double space.
21132 (date_fmt): Likewise.
21133
c8924f1f
JM
211342018-01-12 Joseph Myers <joseph@codesourcery.com>
21135
21136 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21137 instead of fegetenv.
21138
da09e6fa
JM
211392018-01-11 Joseph Myers <joseph@codesourcery.com>
21140
21141 [BZ #22702]
21142 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21143 comment to say exceptions are discarded.
21144 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21145 __fegetenv.
21146 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21147 be enabled.
21148
08c6e952
FW
211492018-01-11 Florian Weimer <fweimer@redhat.com>
21150
21151 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21152 and error message.
21153
d8b77890
FW
211542018-01-11 Florian Weimer <fweimer@redhat.com>
21155
21156 [BZ #22636]
21157 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21158 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21159
b303185d
JM
211602018-01-10 Joseph Myers <joseph@codesourcery.com>
21161
21162 [BZ #22693]
21163 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21164 negative arguments in test for NaN or infinity argument.
21165
ee61d028
DL
211662018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21167
21168 * po/libc.pot: Regenerate.
21169
f993b875
FW
211702018-01-10 Florian Weimer <fweimer@redhat.com>
21171
21172 [BZ #22636]
21173 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21174 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21175
09085ede
ST
211762018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21177
21178 * hurd/hurd/fd.h: Include <fcntl.h>
21179 (__hurd_at_flags): New function.
21180 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21181 with call to __hurd_at_flags.
21182 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21183 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21184 __faccessat
21185 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21186 (__access_noerrno): Use __faccessat_common instead of access_common.
21187 (__access): Likewise.
21188 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21189 with a call to __faccessat.
21190 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21191 (__faccessat_common): ... this. Move implementation of __access into it when
21192 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21193 reauthenticate_cwdir_at helper to implement AT mechanism.
21194 (__faccessat_noerrno): New function, just calls __faccessat_common.
21195 (__faccessat): New function, just calls __faccessat_common.
21196 (faccessat): Define weak alias.
21197
12727488
JM
211982018-01-10 Joseph Myers <joseph@codesourcery.com>
21199
87faac55
JM
21200 [BZ #22691]
21201 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21202 (CFLAGS-s_fmaxmagl.c): New variable.
21203 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21204
12727488
JM
21205 [BZ #22690]
21206 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21207 long int for arguments of possibly overflowing addition or
21208 subtraction.
21209 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21210
e134ca17
JM
212112018-01-09 Joseph Myers <joseph@codesourcery.com>
21212
b2584ac2
JM
21213 [BZ #22688]
21214 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21215 (CFLAGS-e_remainderl.c): New variable.
21216
e134ca17
JM
21217 [BZ #22687]
21218 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21219 variable.
21220 (CFLAGS-s_cacoshl.c): Likewise.
21221 (CFLAGS-s_casinhl.c): Likewise.
21222 (CFLAGS-s_catanl.c): Likewise.
21223 (CFLAGS-s_catanhl.c): Likewise.
21224 (CFLAGS-s_cexpl.c): Likewise.
21225 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21226 (CFLAGS-s_csinhl.c): Likewise.
21227 (CFLAGS-s_clogl.c): Likewise.
21228 (CFLAGS-s_clog10l.c): Likewise.
21229 (CFLAGS-s_csinl.c): Likewise.
21230 (CFLAGS-s_csqrtl.c): Likewise.
21231
d31a4a48
ST
212322017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
212332017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
21234
21235 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21236 (_hurd_exec_paths): New function.
21237 * hurd/hurd.h (_hurd_exec): Deprecate function.
21238 (_hurd_exec_paths): Declare function.
21239 * hurd/Versions: Export _hurd_exec_paths.
21240 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21241 (__execve): Use __getcwd to build absolute path, and use
21242 _hurd_exec_paths instead of _hurd_exec.
21243 * sysdeps/mach/hurd/spawni.c: Likewise.
21244 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21245 _hurd_exec.
21246
d7ff3f11
DL
212472018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21248
21249 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21250 test instead of failing in case of ENOENT returned by posix_openpt.
21251
401311cf
FW
212522018-01-08 Florian Weimer <fweimer@redhat.com>
21253
21254 resolv: Support binary labels in test framework.
21255 * support/resolv_test.c (struct to_be_freed): Remove.
21256 (struct compressed_name): New.
21257 (allocate_compressed_name, ascii_tolower)
21258 (compare_compressed_name): New functions.
21259 (struct resolv_response_builder): Update type of
21260 compression_offsets for use with tsearch. Rempve to_be_freed.
21261 (response_push_pointer_to_free): Remove function.
21262 (resolv_response_add_name): Rewrite using struct compressed_name
21263 and tsearch instead of hsearch_r.
21264 (response_builder_allocate): Remove initialization of
21265 compression_offsets.
21266 (response_builder_free): Update for removal of to_be_freed. Use
21267 tdestroy instead of hdestroy_r.
21268 * resolv/Makefile (tests): Add tst-resolv-binary.
21269 (tst-resolv-binary): Link with -lresolv -lpthread.
21270
2b3aa446
FW
212712018-01-08 Florian Weimer <fweimer@redhat.com>
21272
21273 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21274 time. Pass positive flag instead of negative flag to
21275 support_test_compare_failure.
21276 (support_test_compare_failure): Change negative parameter to
21277 positive.
21278 * support/support_test_compare_failure.c (report)
21279 (support_test_compare_failure): Likewise.
21280 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21281 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21282
630f4cc3
SN
212832018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21284
21285 [BZ #22637]
21286 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21287 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21288 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21289 stacksize.
21290 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21291
c70e4e9c
L
212922018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21293
21294 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21295 Add s_sincosf-sse2 and s_sincosf-fma.
21296 (CFLAGS-s_sincosf-fma.c): New.
21297 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21298 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21299 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21300 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21301 __sincosf is defined.
21302
579396ee
FW
213032018-01-08 Florian Weimer <fweimer@redhat.com>
21304
21305 * nptl/tst-thread-exit-clobber.cc: New file.
21306 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21307 C++11 mode.
21308 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21309 (tests): Add tst-thread-exit-clobber.
21310 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21311
dabd75b6
FW
213122018-01-08 Florian Weimer <fweimer@redhat.com>
21313
21314 * support/check.h (support_static_assert): Define.
21315 (TEST_COMPARE): Use it.
21316
c2e014cc
AJ
213172018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21318
21319 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21320 [!__RLIM_T_MATCHES_RLIM64_T]
21321 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21322 __getrlimit64. Add libc_hidden_weak.
21323
31a98837
PD
213242018-01-06 Palmer Dabbelt <palmer@sifive.com>
21325
21326 * elf/elf.h (R_RISCV_NONE): New define.
21327 (R_RISCV_32): Likewise.
21328 (R_RISCV_64): Likewise.
21329 (R_RISCV_RELATIVE): Likewise.
21330 (R_RISCV_COPY): Likewise.
21331 (R_RISCV_JUMP_SLOT): Likewise.
21332 (R_RISCV_TLS_DTPMOD32): Likewise.
21333 (R_RISCV_TLS_DTPMOD64): Likewise.
21334 (R_RISCV_TLS_DTPREL32): Likewise.
21335 (R_RISCV_TLS_DTPREL64): Likewise.
21336 (R_RISCV_TLS_TPREL32): Likewise.
21337 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
21338 * Makerules (make-link-multidir): Make directories before linking into
21339 them.
150bbac1
PD
21340 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21341 define.
21342 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
21343 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21344 in subdirectories of lib.
8e13c51b
PD
21345 * nptl/Makefile (/librt.so): Always depend on
21346 "$(shared-thread-library)".
31a98837 21347
fad7d57e
ST
213482018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21349
21350 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
21351 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21352 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21353 (___tls_get_addr).
21354 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
21355 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21356 "-O2 -march=i686".
01c7e549 21357 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
21358 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21359 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21360 * sysdeps/gnu/glob-lstat-compat.c: New file.
21361 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 21362 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 21363
3a32b716
TMQMF
213642018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21365
21366 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21367 Reserve 16 chars to reloc_addr before calling _itoa_word.
21368
24731685
AJ
213692018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21370
21371 [BZ #22678]
21372 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21373 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21374
19be56d8
AJ
21375 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21376 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21377
a6d0afb5
AJ
21378 * resource/tst-getrlimit.c: Add copyright header.
21379
8e900969
AJ
213802018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21381 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21382
21383 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21384 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21385 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21386 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21387 instead.
21388 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21389 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21390 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21391 RLIM64_INFINITY): Fix values to match the kernel ones.
21392 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21393 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21394 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21395 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21396 getrlimit64@@GLIBC_2_27.
21397 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21398 and setrlimit64.
21399 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21400 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21401 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21402 setrlimit, getrlimit64 and setrlimit64.
21403
0d0bc784
AJ
214042018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21405
21406 [BZ #22648]
21407 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21408 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21409
ba374b6d
JM
214102018-01-04 Joseph Myers <joseph@codesourcery.com>
21411
21412 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21413 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21414 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21415
4854ddd8
AZ
214162018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21417
b0a4eca2
AZ
21418 [BZ #15479]
21419 [BZ #22666]
21420 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21421 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21422
4854ddd8
AZ
21423 [BZ #15479]
21424 [BZ #22665]
21425 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21426 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21427 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21428 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21429
8a5df95f
FW
214302018-01-04 Florian Weimer <fweimer@redhat.com>
21431
21432 [BZ #22667]
21433 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21434 Align the stack before calling exit.
21435 * stdlib/tst-makecontext-align.c: New file.
21436 * stdlib/Makefile (tests): Add tst-makecontext-align.
21437
82eef55f
FW
214382018-01-04 Florian Weimer <fweimer@redhat.com>
21439
21440 Add support for calling dlvsym from libc.so.
21441 * include/dlfcn.h (__libc_dlvsym): Declare.
21442 * elf/Makefile (tests-static-internal): Add
21443 tst-libc_dlvsym-static.
21444 (tests-internal): Add tst-libc_dlvsym.
21445 (modules-names): Add tst-libc_dlvsym-dso.
21446 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21447 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21448 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21449 object tst-libc_dlvsym-dso.so needs to be built before running
21450 these tests.
21451 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21452 * elf/Versions: Export __libc_dlvsym.
21453 * elf/dl-libc.c (struct do_dlvsym_args): New.
21454 (do_dlvsym, __libc_dlvsym): New functions.
21455 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21456 (_dl_open_hook2): New variable.
21457 (__libc_register_dl_open_hook): Set it.
21458 * elf/tst-libc_dlvsym-dso.c: New file.
21459 * elf/tst-libc_dlvsym-static.c: Likewise.
21460 * elf/tst-libc_dlvsym.c: Likewise.
21461 * elf/tst-libc_dlvsym.h: Likewise.
21462
1714fc06
ST
214632018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21464
21465 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21466 include <sys/mount.h>.
21467
3c7d0312
WD
214682018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21469
21470 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21471 Add __NO_MATH_ERRNO__ check.
21472
7eff0954
JM
214732018-01-02 Joseph Myers <joseph@codesourcery.com>
21474
21475 * sysdeps/mips/mips32/libm-test-ulps: Update.
21476 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21477
77f49956
FW
214782018-01-02 Florian Weimer <fweimer@redhat.com>
21479
21480 * misc/tst-pselect.c: Add copyright header.
21481
363e4519 214822018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
21483
21484 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21485 comment.
21486 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21487 comment.
21488 (settrlimit): Rename into setrlimit.
21489 (__sttrlimit): Rename into __setrlimit.
21490
3e4226ff
AJ
21491 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21492 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21493 never defined in that case.
21494
b9256ab6
JM
214952018-01-02 Joseph Myers <joseph@codesourcery.com>
21496
28fd6a44
JM
21497 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21498
a4933a15
JM
21499 * sysdeps/arm/libm-test-ulps: Update.
21500
b9256ab6
JM
21501 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21502 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21503
4cf82d23
RS
215042018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21505
21506 * NEWS: Add cosf and sincosf to list of optimized functions.
21507
6a9dd7a7
AJ
215082018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21509
21510 [BZ #22660]
21511 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21512 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21513 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21514 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21515
dbba87d5
DL
215162018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21517
b05cb613
DL
21518 [BZ #22433]
21519 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21520
dbba87d5
DL
21521 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21522 making a copy of it.
21523
688903eb
JM
215242018-01-01 Joseph Myers <joseph@codesourcery.com>
21525
66ac23de
JM
21526 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21527 trailing whitespace removed.
21528 * scripts/config.guess: Update to version 2018-01-01.
21529 * scripts/config.sub: Update to version 2018-01-01.
21530 * scripts/move-if-change: Update from gnulib.
21531
09533208
JM
21532 * NEWS: Update copyright dates.
21533 * catgets/gencat.c (print_version): Likewise.
21534 * csu/version.c (banner): Likewise.
21535 * debug/catchsegv.sh: Likewise.
21536 * debug/pcprofiledump.c (print_version): Likewise.
21537 * debug/xtrace.sh (do_version): Likewise.
21538 * elf/ldconfig.c (print_version): Likewise.
21539 * elf/ldd.bash.in: Likewise.
21540 * elf/pldd.c (print_version): Likewise.
21541 * elf/sotruss.sh: Likewise.
21542 * elf/sprof.c (print_version): Likewise.
21543 * iconv/iconv_prog.c (print_version): Likewise.
21544 * iconv/iconvconfig.c (print_version): Likewise.
21545 * locale/programs/locale.c (print_version): Likewise.
21546 * locale/programs/localedef.c (print_version): Likewise.
21547 * login/programs/pt_chown.c (print_version): Likewise.
21548 * malloc/memusage.sh (do_version): Likewise.
21549 * malloc/memusagestat.c (print_version): Likewise.
21550 * malloc/mtrace.pl: Likewise.
21551 * manual/libc.texinfo: Likewise.
21552 * nptl/version.c (banner): Likewise.
21553 * nscd/nscd.c (print_version): Likewise.
21554 * nss/getent.c (print_version): Likewise.
21555 * nss/makedb.c (print_version): Likewise.
21556 * posix/getconf.c (main): Likewise.
21557 * scripts/test-installation.pl: Likewise.
21558 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21559
688903eb
JM
21560 * All files with FSF copyright notices: Update copyright dates
21561 using scripts/update-copyrights.
21562 * locale/programs/charmap-kw.h: Regenerated.
21563 * locale/programs/locfile-kw.h: Likewise.
21564
4f820792
ZW
215652017-12-31 Zack Weinberg <zackw@panix.com>
21566
21567 * libio/bits/libio-ldbl.h: Correct check for improper
21568 inclusion. Add own multiple include guard.
21569
3e3c904d
AJ
215702017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21571 Dmitry V. Levin <ldv@altlinux.org>
21572
21573 [BZ #22625]
31f96325 21574 CVE-2017-16997
3e3c904d
AJ
21575 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21576 string token expansion. Check for NULL pointer or empty string possibly
21577 returned by expand_dynamic_string_token.
21578 (decompose_rpath): Check for empty path after dynamic string
21579 token expansion.
21580
7e21972b
DL
215812017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21582
c48831d0
DL
21583 [BZ #22433]
21584 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21585
ac583f50
DL
21586 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21587 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21588 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21589 and PTRACE_SYSCALL.
21590 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21592 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21595 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21596
7e21972b
DL
21597 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21598 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21599 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21600 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21602 bits/ptrace-shared.h.
21603 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21604 <bits/ptrace-shared.h>.
21605 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21606 __ptrace_peeksiginfo_flags, ptrace): Remove.
21607 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21609 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21610 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21611 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21612
72f29e3a
AJ
216132017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21614
21615 [BZ #17804]
21616 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21617 end of the loop. Improve comments.
21618
54e4efc2
AJ
216192017-12-29 Zack Weinberg <zackw@panix.com>
21620
21621 [BZ #22615]
21622 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21623 might be set on success.
21624
f8aa69be
AJ
216252017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21626
21627 [BZ #22611]
21628 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21629 is unchanged on success.
21630
97f13188
DL
216312017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21632
2bd86632
DL
21633 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21634 updated.
21635 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21636 expand_dynamic_string_token): Likewise.
21637 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21638 is_path argument.
21639
1c36e1e6
DL
21640 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21641 contains ':'.
21642
97f13188
DL
21643 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21644 is set and name contains ':', and all code depending on these checks.
21645
48a8f832
ZW
216462017-12-24 Zack Weinberg <zackw@panix.com>
21647
21648 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21649 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21650 respectively.
21651 * libio/libio.h: Rename the original version of this file to
21652 libio/bits/libio.h. Error out if not included by stdio.h or the
21653 stub libio.h.
21654 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21655 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21656 if not included by bits/libio.h or the stub _G_config.h.
21657 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21658 sysdeps/unix/sysv/linux/bits. Error out if not included by
21659 bits/libio.h or the stub _G_config.h.
21660 * libio/stdio.h: Include bits/libio.h, not libio.h.
21661 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21662 well as libio.h and _G_config.h.
21663
21664 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21665 * libio/strfile.h, stdio-common/vfscanf.c
21666 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21667 Include stdio.h, not _G_config.h nor libio.h.
21668 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21669 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21670
21671 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21672
a47ad79a
DL
216732017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21674
21675 [BZ #22347]
21676 * stdlib/getrandom.c (getrandom): Fix comment.
21677 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21678
363e4519 216792017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 21680
f5c558f3
AJ
21681 [BZ #21161]
21682 * manual/arith.texi (strtoul): Fix a typo.
21683
e65a5644
AJ
21684 [BZ #22596]
21685 * manual/arith.texi (finite): Fix the description of the return
21686 value.
21687
ed8ae46b
EB
216882017-12-22 Eric Blake <ebb9@byu.net>
21689
21690 Avoid gcc warnings on cygwin
21691 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21692 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21693 Avoid unused variable.
21694
bad7a0c8
FW
216952017-12-22 Florian Weimer <fweimer@redhat.com>
21696
21697 * io/Makefile (routines): Add copy_file_range.
21698 (tests): Add tst-copy_file_range.
21699 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21700 * io/Versions (GLIBC_2.27): Export copy_file_range.
21701 * io/copy_file_range-compat.c: New file.
21702 * io/copy_file_range.c: Likewise.
21703 * io/tst-copy_file_range-compat.c: Likewise.
21704 * io/tst-copy_file_range.c: Likewise.
21705 * manual/llio.texi (Copying File Data): New section.
21706 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21707 * support/Makefile (libsupport-routines): Add support-xfstat,
21708 xftruncate, xlseek.
21709 * support/support-xfstat.c: New file.
21710 * support/xftruncate.c: Likewise.
21711 * support/xlseek.c: Likewise.
21712 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21713 * sysdeps/unix/sysv/linux/**.abilist: Update.
21714 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21715
6cb86fd2
SN
217162017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21717
21718 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21719 disable-multi-arch variant to aarch64-linux-gnu.
21720
41d11b15
JM
217212017-12-20 Joseph Myers <joseph@codesourcery.com>
21722
21723 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21724 trailing whitespace removed.
21725 * scripts/config.guess: Update to version 2017-12-17.
21726 * scripts/config.sub: Update to version 2017-11-23.
21727 * scripts/install-sh: Update to version 2017-09-23.17.
21728 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21729
4735850f
AZ
217302017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21731
8d2d239c
AZ
21732 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21733 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21734 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21735 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21736 * sysdeps/tile/crtn.S: Likewise.
21737 * sysdeps/tile/dl-start.S (_start): Likewise.
21738 * sysdeps/tile/dl-trampoline.S: Likewise.
21739 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21740 * sysdeps/tile/start.S (_start): Likewise.
21741 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21742 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21743 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21744 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21745 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21746 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21747 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21748
24d1d8ec
AZ
21749 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21750 comment.
21751 * sysdeps/tile/preconfigure: Remove tilegx folder.
21752 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21753 * sysdeps/tile/Implies: ... here.
21754 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21755 * sysdeps/tile/Makefile: ... here.
21756 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21757 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21758 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21759 * sysdeps/tile/bits/wordsize.h: ... here.
21760 * sysdeps/tile/tilegx/*: Move to ...
21761 * sysdeps/tile/*: ... here.
21762 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21763 * sysdeps/tile/tilegx32/Implies: ... here.
21764 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21765 * sysdeps/tile/tilegx64/Implies: ... here.
21766 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21767 to ...
21768 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21769 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21770 * sysdeps/unix/sysv/linux/tile/*: ... here.
21771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21772 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21774 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21775
ed95f611
AZ
21776 * README: Remove tilepro-*-linux-gnu from supported architecture.
21777 * scripts/build-many-glibcs.py: Likewise.
21778 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21779 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21780 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21781 elf_machine_matches_host, elf_machine_dynamic,
21782 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21783 howto, elf_machine_rela): Likewise.
21784 * sysdeps/tile/dl-start.S (_start): Likewise.
21785 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21786 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21787 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21788 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21789 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21790 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21791 Likewise.
21792 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21793 * sysdeps/tile/preconfigure: Likewise.
21794 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21795 POINTER_CHK_GUARD): Likewise.
21796 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21797 * sysdeps/tile/start.S (_start): Likewise.
21798 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21799 Likewise.
21800 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21801 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21802 CMOVNEZ): Remove.
21803 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21804 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21805 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21806 Likewise.
21807 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21808 * sysdeps/tile/tilepro/Implies: Remove file.
21809 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21810 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21811 * sysdeps/tile/tilepro/memchr.c: Likewise.
21812 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21813 * sysdeps/tile/tilepro/memset.c: Likewise.
21814 * sysdeps/tile/tilepro/memusage.h: Likewise.
21815 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21816 * sysdeps/tile/tilepro/strchr.c: Likewise.
21817 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21818 * sysdeps/tile/tilepro/strlen.c: Likewise.
21819 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21820 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21821 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21822 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21823 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21824 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21825 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21826 Likewise.
21827 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21828 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21829 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21830 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21831 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21832 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21833 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21834 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21835 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21836 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21837 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21838 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21839 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21840 tilepro mention in comment.
21841
4735850f
AZ
21842 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21843 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21844 * nptl/pthread_join_common.c: New file: common function used on
21845 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21846 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21847 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21848 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21849 (cleanup): Move definition to pthread_join_common.c.
21850 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21851 Remove superflous checks.
21852 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21853 Likewise.
21854
8bfb461e
SN
218552017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21856
21857 * sysdeps/aarch64/libm-test-ulps: Update.
21858
4e001969
AZ
218592017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21860
21861 * sysdeps/aarch64/memset.S (MEMSET): Define.
21862
8a26ad2a
FW
218632017-12-20 Florian Weimer <fweimer@redhat.com>
21864
21865 [BZ #22635]
21866 nptl: Provide full implementation of pthread_self in libc.so.
21867 * nptl/Makefile (routines): Add pthread_self.
21868 (libpthread-routines): Replace pthread_self with
21869 compat-pthread_self.
21870 * nptl/forward.c (pthread_self): Remove.
21871 * nptl/nptl-init.c (pthread_functions): Do not initialize
21872 ptr_pthread_self.
21873 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21874 * nptl/compat-pthread_self.c: New file.
21875 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21876 Remove ptr_pthread_self.
21877
5069ff32
AR
218782017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21879
21880 * posix/regcomp.c: Fix spelling in comments.
21881 * posix/regex.h: Likewise.
21882 * posix/regex_internal.c: Likewise.
21883 * posix/regexec.c: Likewise.
21884
c85e54ac
GG
218852017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21886
21887 [BZ #22377]
21888 * math/Makefile [C++] (tests): Add test for iseqsig.
21889 * math/math.h [C++] (iseqsig): New implementation, which does
21890 not rely on __MATH_TG/__builtin_types_compatible_p.
21891 * math/test-math-iseqsig.cc: New file.
21892 * sysdeps/powerpc/powerpc64le/Makefile
21893 (CFLAGS-test-math-iseqsig.cc): New variable.
21894
10e93d96
DL
218952017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21896
21897 * elf/dl-load.c (is_trusted_path): Remove.
21898 (fillin_rpath): Remove check_trusted argument and its use,
21899 all callers changed.
21900
ce16eb52
L
219012017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21902
21903 [BZ #22630]
21904 * Makeconfig (link-pie-before-libc): Replace -pie with
21905 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21906 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21907 (tst-dlopen-aout-no-pie): New.
21908 (LDFLAGS-tst-prelink): Removed.
21909 (tst-prelink-no-pie): New.
21910 (LDFLAGS-tst-main1): Removed.
21911 (tst-main1-no-pie): New.
21912 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21913 (tst-gmon-no-pie): New.
21914
126adc89
L
219152017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21916
21917 * manual/install.texi: Document that --enable-static-pie
21918 implies PIE.
21919 * INSTALL: Regenerated.
21920
648615e1
BE
219212017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21922
21923 [BZ #21309]
21924 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21925 unsigned.
21926
f1e00502
JM
219272017-12-19 Joseph Myers <joseph@codesourcery.com>
21928
21929 Revert:
21930
21931 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21932
21933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21934
21935 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21936
21937 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21938 <errno.h>. Include "eexp.tbl".
21939 (half): New constant.
21940 (one): Likewise.
21941 (__ieee754_exp): Rewrite.
21942 (__slowexp): Remove prototype.
21943 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21944 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21945 * sysdeps/i386/fpu/slowexp.c: Likewise.
21946 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21947 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21948 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21949 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21951 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21952 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21953 comment.
21954 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21955 (CPPFLAGS-slowexp.c): Remove variable.
21956 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21957 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21958 (CFLAGS-slowexp-fma.c): Remove variable.
21959 (CFLAGS-slowexp-fma4.c): Likewise.
21960 (CFLAGS-slowexp-avx.c): Likewise.
21961 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21962 define as macro.
21963 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21964 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21965 * math/Makefile (type-double-routines): Remove slowexp.
21966 * manual/probes.texi (slowexp_p6): Remove.
21967 (slowexp_p32): Likewise.
21968
d711a00f
AZ
219692017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21970
e184ac3a
AZ
21971 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21972 arithmetic.
21973
d711a00f
AZ
21974 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21975
6f58c10d
JM
219762017-12-19 Joseph Myers <joseph@codesourcery.com>
21977
21978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21979
6fd0a3c6
PM
219802017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21981
21982 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21983 <errno.h>. Include "eexp.tbl".
21984 (half): New constant.
21985 (one): Likewise.
21986 (__ieee754_exp): Rewrite.
21987 (__slowexp): Remove prototype.
21988 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21989 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21990 * sysdeps/i386/fpu/slowexp.c: Likewise.
21991 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21992 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21993 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21994 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21995 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21996 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21997 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21998 comment.
21999 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22000 (CPPFLAGS-slowexp.c): Remove variable.
22001 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22002 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22003 (CFLAGS-slowexp-fma.c): Remove variable.
22004 (CFLAGS-slowexp-fma4.c): Likewise.
22005 (CFLAGS-slowexp-avx.c): Likewise.
22006 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22007 define as macro.
22008 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22010 * math/Makefile (type-double-routines): Remove slowexp.
22011 * manual/probes.texi (slowexp_p6): Remove.
22012 (slowexp_p32): Likewise.
22013
3bb1ef58 220142017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 22015 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
22016
22017 [BZ #22603]
22018 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22019 addition.
22020
554e3d51
AZ
220212017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22022
22023 [BZ #22605]
22024 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22025 code.
22026
cba595c3
L
220272017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22028
22029 [BZ #22563]
22030 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22031 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22032 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22033 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22034 to feature_1.
22035
f81ddabf
L
220362017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22037
22038 [BZ #22563]
22039 * bits/types/__cancel_jmp_buf_tag.h: New file.
22040 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22041 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22042 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22043 * nptl/Makefile (headers): Add
22044 bits/types/__cancel_jmp_buf_tag.h.
22045 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22046 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22047 * sysdeps/nptl/pthread.h: Include
22048 <bits/types/__cancel_jmp_buf_tag.h>.
22049 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22050 __cancel_jmp_buf.
22051 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22052
1a49fc59
L
220532017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22054
22055 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22056 --enable-static-pie variants to x86_64, x32 and i686.
22057
8e52f573
JM
220582017-12-19 Joseph Myers <joseph@codesourcery.com>
22059
66425185
JM
22060 [BZ #22631]
22061 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22062 argument for attrubutes. All callers changed.
22063 (__inline_mathop1): Likewise. All callers changed.
22064 (__inline_mathop): Likewise. All callers changed.
22065 [__USE_MISC] (scalbn): Use __inline_forward instead of
22066 __inline_forward_c.
22067 [__USE_ISOC99] (scalbln): Likewise.
22068 [__USE_ISOC99] (nearbyint): Likewise.
22069 [__USE_ISOC99] (lrint): Likewise.
22070 [__USE_MISC] (scalbnf): Likewise.
22071 [__USE_ISOC99] (scalblnf): Likewise.
22072 [__USE_ISOC99] (nearbyintf): Likewise.
22073 [__USE_ISOC99] (lrintf): Likewise.
22074 [__USE_MISC] (scalbnl): Likewise.
22075 [__USE_ISOC99] (scalblnl): Likewise.
22076 [__USE_ISOC99] (nearbyintl): Likewise.
22077 [__USE_ISOC99] (lrintl): Likewise.
22078 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22079 __inline_mathop and __m81_defun changed.
22080
8e52f573
JM
22081 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22082 CPU or FPU for ARM hard-float configurations.
22083
1421f39b
JM
220842017-12-18 Joseph Myers <joseph@codesourcery.com>
22085
40c4162d
JM
22086 * nptl/tst-attr3.c: Include <libc-diag.h>.
22087 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22088
5983df32
JM
22089 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22090
1421f39b
JM
22091 * string/tester.c (test_strncat): Also disable -Warray-bounds
22092 warnings for two tests.
22093
00c714df
L
220942017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22095
22096 [BZ #22614]
22097 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22098 $(cc-pie-default) == yes.
22099 * config.make.in (cc-pie-default): New.
22100 * configure.ac (libc_cv_pie_default): Renamed to ...
22101 (libc_cv_cc_pie_default): This.
22102 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22103 * configure: Regenerated.
22104
8e1472d2
FW
221052017-12-18 Florian Weimer <fweimer@redhat.com>
22106
22107 [BZ #20204]
22108 ld.so: Harden dl-libc/libdl hooks.
22109 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22110 (rtld_active): New function.
22111 * dlfcn/dladdr.c (__dladdr): Call it.
22112 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22113 * dlfcn/dlclose.c (__dlcose): Likewise.
22114 * dlfcn/dlerror.c (__dlerror): Likewise.
22115 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22116 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22117 * dlfcn/dlopen.c (__dlopen): Likewise.
22118 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22119 * dlfcn/dlsym.c (__dlsym): Likewise.
22120 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22121 * libio/vtables.c (_IO_vtable_check): Likewise.
22122 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22123 (__libc_dlclose): Likewise.
22124 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22125 assignment.
22126
49b036bc
JM
221272017-12-18 Joseph Myers <joseph@codesourcery.com>
22128
22129 [BZ #22446]
22130 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22131 buffers for readlink input and output.
22132
368b6c8d
ST
221332017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22134
c85c564d
ST
22135 [BZ #22624]
22136 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22137 inhibit_stack_protector.
22138
368b6c8d
ST
22139 [BZ #22624]
22140 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22141 inhibit_stack_protector.
22142
bb195224
DL
221432017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22144
22145 [BZ #22627]
22146 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22147 code and invocation.
22148
14d886ed
SN
221492017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22150
22151 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22152
7d38eb38
AJ
221532017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22154
22155 [BZ #22505]
22156 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22157
2e77deef
RS
221582017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22159
22160 * sysdeps/s390/fpu/libm-test-ulps: Update.
22161
0b9bef6d
RS
221622017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22163
22164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22165
984ae996
RS
221662017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22167
22168 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22169 constants to s_sincosf.h file.
22170 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22171 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22172 implementation.
22173 * sysdeps/ieee754/flt-32/s_sincosf.h:
22174 New file.
22175
363e4519 221762017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
22177
22178 [BZ #14681]
22179 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22180 before mtrace.
22181
9d7a3741
L
221822017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 [BZ #19574]
22185 * INSTALL: Regenerated.
22186 * Makeconfig (real-static-start-installed-name): New.
22187 (pic-default): Updated for --enable-static-pie.
22188 (pie-default): New for --enable-static-pie.
22189 (default-pie-ldflag): Likewise.
22190 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22191 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22192 Replace $(static-start-installed-name) with
22193 $(real-static-start-installed-name).
22194 (+prectorT): Updated for --enable-static-pie.
22195 (+postctorT): Likewise.
22196 (CFLAGS-.o): Add $(pie-default).
22197 (CFLAGS-.op): Likewise.
22198 * NEWS: Mention --enable-static-pie.
22199 * config.h.in (ENABLE_STATIC_PIE): New.
22200 * configure.ac (--enable-static-pie): New configure option.
22201 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22202 (have-static-pie): Likewise.
22203 Enable static PIE if linker supports --no-dynamic-linker.
22204 (ENABLE_STATIC_PIE): New AC_DEFINE.
22205 (enable-static-pie): New LIBC_CONFIG_VAR.
22206 * configure: Regenerated.
22207 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22208 gr$(start-installed-name) for --enable-static-pie.
22209 (extra-objs): Likewise.
22210 (install-lib): Likewise.
22211 (extra-objs): Add static-reloc.o and static-reloc.os
22212 ($(objpfx)$(start-installed-name)): Also depend on
22213 $(objpfx)static-reloc.o.
22214 ($(objpfx)r$(start-installed-name)): New.
22215 ($(objpfx)g$(start-installed-name)): Also depend on
22216 $(objpfx)static-reloc.os.
22217 ($(objpfx)gr$(start-installed-name)): New.
22218 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22219 in libc.a.
22220 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22221 initimage.
22222 * csu/static-reloc.c: New file.
22223 * elf/Makefile (routines): Add dl-reloc-static-pie.
22224 (elide-routines.os): Likewise.
22225 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22226 (tst-tls1-static-non-pie-no-pie): New.
22227 * elf/dl-reloc-static-pie.c: New file.
22228 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22229 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22230 STATIC_PIE_BOOTSTRAP.
22231 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22232 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22233 (tests-static): Likewise.
22234 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22235 (tst-gmon-static-no-pie): New.
22236 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22237 (CRT-tst-gmon-static-pie): Likewise.
22238 (tst-gmon-static-pie-ENV): Likewise.
22239 (tests-special): Likewise.
22240 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22241 (clean-tst-gmon-static-pie-data): Likewise.
22242 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22243 * gmon/tst-gmon-static-pie.c: New file.
22244 * manual/install.texi: Document --enable-static-pie.
22245 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22246 (_dl_get_dl_main_map): Likewise.
22247 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22248 * sysdeps/x86_64/configure.ac: Likewise.
22249 * sysdeps/i386/configure: Regenerated.
22250 * sysdeps/x86_64/configure: Likewise.
22251 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22252 (ASFLAGS-.op): Likewise.
22253
95511aab
JM
222542017-12-15 Joseph Myers <joseph@codesourcery.com>
22255
22256 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22257 * posix/tst-mmap-offset.c (fname): Use /tmp.
22258 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22259
a7e3edf4
SE
222602017-12-15 Steve Ellcey <sellcey@cavium.com>
22261
22262 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22263
d232f2e1
TS
222642017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22265
22266 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22267 errno.
22268
174edbde
JM
222692017-12-15 Joseph Myers <joseph@codesourcery.com>
22270
5170fa49
JM
22271 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22272 --with-float=hard for arm-linux-gnueabihf configurations.
22273
f2da2fd8
JM
22274 [BZ #14121]
22275 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22276 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22277 ($(mo-installed)): Use $(objpfx)%.mo.
22278 (realclean): Remove rule.
22279
0c4fe28d
JM
22280 * po/Makefile (linguas): Remove rule and dependencies.
22281 (linguas.mo): Likewise.
22282 (.PHONY): Do not depend on linguas and linguas.mo.
22283 (podir): Remove variable.
22284 (pofiles): Likewise.
22285 [$(pofiles)] (%.po): Remove rule.
22286
174edbde
JM
22287 * sysdeps/sparc/sparc32/Makefile
22288 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22289 start-of-line whitespace in argument of echo.
22290 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22291 with whitespace. Generate __wrap_.udiv alias.
22292 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22293 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22294 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22295 * sysdeps/sparc/sparc32/urem.S: Likewise.
22296
1e36806f
RS
222972017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22298
22299 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22300 for aligned inputs.
22301
aa6932aa
SP
223022017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22303
5f1603c3
SP
22304 * benchtests/bench-strcmp.c: Print output in JSON format.
22305
aa6932aa
SP
22306 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22307
3ff3dfa5
FW
223082017-12-14 Florian Weimer <fweimer@redhat.com>
22309
22310 [BZ #22607]
22311 CVE-2017-1000409
22312 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22313 the expanded path string.
22314
8a0b17e4
FW
223152017-12-14 Florian Weimer <fweimer@redhat.com>
22316
22317 [BZ #22606]
22318 CVE-2017-1000408
22319 * elf/dl-load.c (system_dirs): Update comment.
22320 (nsystem_dirs_len): Use array_length.
22321 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22322
f58bd7f0
FW
223232017-12-14 Florian Weimer <fweimer@redhat.com>
22324
22325 Simplify compiling most of support/ outside of glibc.
22326 * support/check_addrinfo.c: Include <string.h>.
22327 * support/check_dns_packet.c: Likewise.
22328 * support/check_hostent.c: Likewise.
22329 * support/support_can_chroot.c: Include <support/xunistd.h>.
22330 * support/support_format_addrinfo.c: Include <stdlib.h>
22331 * support/support_format_dns_packet.c: Include <stdbool.h>.
22332 * support/support_format_hostent.c: Include <stdlib.h>.
22333 * support/support_format_netent.c: Likewise.
22334 * support/support_write_string.c: Include <support/xunistd.h>.
22335 * support/xdlfcn.c: Include <stddef.h>.
22336
4ca945e9
L
223372017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22338
22339 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22340
1b6e07f8
PM
223412017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22342 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22343
e6a1c5dc
PM
22344 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22345 (sysdeps_routines): Add memset-niagara7.
22346 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22347 Likewise.
22348 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22349 file.
22350 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22351 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22352 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22353 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22354 Add niagara7 option.
22355 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22356 memset.
22357
1b6e07f8
PM
22358 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22359 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22360 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22361 Likewise.
22362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22363 New file.
22364 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22365 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22366 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22367 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22368 and __memmove_niagara7.
22369 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22370 Add niagara7 option.
22371 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22372 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22373 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22374 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22375 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22376
bfb7bf22
JM
223772017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22378
767a26d6
JM
22379 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22380 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22381 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22382 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22383
bfb7bf22
JM
22384 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22385 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22386 _dl_sparc_cap_flags array.
22387 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22388
2bce01eb
SP
223892017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22390
22391 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22392 time whenever possible.
22393
363e4519 223942017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
22395
22396 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22397 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22398
6f7c0092
JM
223992017-12-12 Joseph Myers <joseph@codesourcery.com>
22400
22401 * soft-fp/fmadf4.c: Move to ....
22402 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22403 * soft-fp/fmasf4.c: Move to ....
22404 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22405 * soft-fp/fmatf4.c: Move to ....
22406 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22407 * sysdeps/ieee754/soft-fp/Makefile: New file.
22408 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22409 * sysdeps/arm/preconfigure: Regenerated.
22410 * sysdeps/arm/nofpu/Implies: New file.
22411 * sysdeps/arm/s_fma.c: Remove file.
22412 * sysdeps/arm/s_fmaf.c: Likewise.
22413 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22414 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22415 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22416 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22417 * sysdeps/microblaze/s_fma.c: Remove file.
22418 * sysdeps/microblaze/s_fmaf.c: Likewise.
22419 * sysdeps/mips/mips32/nofpu/Implies: New file.
22420 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22421 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22422 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22423 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22424 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22425 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22426 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22427 implementation.
22428 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22429 * sysdeps/nios2/s_fma.c: Remove file.
22430 * sysdeps/nios2/s_fmaf.c: Likewise.
22431 * sysdeps/sh/nofpu/Implies: New file.
22432 * sysdeps/sh/s_fma.c: Remove file.
22433 * sysdeps/sh/s_fmaf.c: Likewise.
22434 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22435 * sysdeps/tile/s_fma.c: Remove file.
22436 * sysdeps/tile/s_fmaf.c: Likewise.
22437
ac817e08
L
224382017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22439
22440 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22441 Add s_cosf-sse2 and s_cosf-fma.
22442 (CFLAGS-s_cosf-fma.c): New.
22443 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22444 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22445 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22446
eb428576
SE
224472017-12-12 Steve Ellcey <sellcey@cavium.com>
22448
22449 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22450
c80acdc3
AZ
224512017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22452
cc683f7e
AZ
22453 * libio/Makefile (tests): Add tst-bz22415.
22454 (tst-bz22415-ENV): New rule.
22455 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22456 (tests-special): Add tst-bz22415-mem.out.
22457 ($(objpfx)tst-bz22415-mem.out): New rule.
22458 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22459 in case of a successful seek operation.
22460 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22461 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22462 buffer is required.
22463 * libio/tst-bz22415.c: New test.
22464
c80acdc3
AZ
22465 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22466
363e4519 224672017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
22468
22469 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22470 __IPC_64 to 0 to avoid IPC_64 being set.
22471
4e0dca54
SN
224722017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22473
22474 [BZ #22593]
22475 * math/bits/mathcalls.h (nextafter): Remove const.
22476 (nexttoward): Likewise.
22477
8df5d347
JM
224782017-12-12 Joseph Myers <joseph@codesourcery.com>
22479
22480 * configure.ac (--with-fp): Remove configure option.
22481 (with_fp_cond): New variable.
22482 (libc_cv_with_fp): New configure test. Use this variable instead
22483 of with_fp.
22484 * configure: Regenerated.
22485 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22486 * manual/install.texi (Configuring and compiling): Remove
22487 --without-fp.
22488 * INSTALL: Regenerated.
22489 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22490 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22491 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22492 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22493 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22494 use --without-fp to configure glibc.
22495
0cee1257
RJ
224962017-12-12 Rical Jasan <ricaljasan@pacific.net>
22497
22498 * manual/locale.texi (nl_langinfo): Fix a typo.
22499
363e4519 225002017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
22501
22502 [BZ #22588]
22503 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22504
36975e8e
L
225052017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22506
22507 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22508 (CFLAGS-argp-parse.c): Likewise.
22509 (CFLAGS-argp-fmtstream.c): Likewise.
22510 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22511 (CPPFLAGS-sha512-crypt.c): Likewise.
22512 (CPPFLAGS-md5-crypt.c): Likewise.
22513 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22514 (CFLAGS-stack_chk_fail_local.c): Likewise.
22515 (CFLAGS-backtrace.c): Likewise.
22516 (CFLAGS-sprintf_chk.c): Likewise.
22517 (CFLAGS-snprintf_chk.c): Likewise.
22518 (CFLAGS-vsprintf_chk.c): Likewise.
22519 (CFLAGS-vsnprintf_chk.c): Likewise.
22520 (CFLAGS-asprintf_chk.c): Likewise.
22521 (CFLAGS-vasprintf_chk.c): Likewise.
22522 (CFLAGS-obprintf_chk.c): Likewise.
22523 (CFLAGS-dprintf_chk.c): Likewise.
22524 (CFLAGS-vdprintf_chk.c): Likewise.
22525 (CFLAGS-printf_chk.c): Likewise.
22526 (CFLAGS-fprintf_chk.c): Likewise.
22527 (CFLAGS-vprintf_chk.c): Likewise.
22528 (CFLAGS-vfprintf_chk.c): Likewise.
22529 (CFLAGS-gets_chk.c): Likewise.
22530 (CFLAGS-fgets_chk.c): Likewise.
22531 (CFLAGS-fgets_u_chk.c): Likewise.
22532 (CFLAGS-fread_chk.c): Likewise.
22533 (CFLAGS-fread_u_chk.c): Likewise.
22534 (CFLAGS-swprintf_chk.c): Likewise.
22535 (CFLAGS-vswprintf_chk.c): Likewise.
22536 (CFLAGS-wprintf_chk.c): Likewise.
22537 (CFLAGS-fwprintf_chk.c): Likewise.
22538 (CFLAGS-vwprintf_chk.c): Likewise.
22539 (CFLAGS-vfwprintf_chk.c): Likewise.
22540 (CFLAGS-fgetws_chk.c): Likewise.
22541 (CFLAGS-fgetws_u_chk.c): Likewise.
22542 (CFLAGS-read_chk.c): Likewise.
22543 (CFLAGS-pread_chk.c): Likewise.
22544 (CFLAGS-pread64_chk.c): Likewise.
22545 (CFLAGS-recv_chk.c): Likewise.
22546 (CFLAGS-recvfrom_chk.c): Likewise.
22547 (CFLAGS-tst-longjmp_chk.c): Likewise.
22548 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22549 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22550 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22551 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22552 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22553 (CFLAGS-tst-chk1.c): Likewise.
22554 (CFLAGS-tst-chk2.c): Likewise.
22555 (CFLAGS-tst-chk3.c): Likewise.
22556 (CFLAGS-tst-chk4.cc): Likewise.
22557 (CFLAGS-tst-chk5.cc): Likewise.
22558 (CFLAGS-tst-chk6.cc): Likewise.
22559 (CFLAGS-tst-lfschk1.c): Likewise.
22560 (CFLAGS-tst-lfschk2.c): Likewise.
22561 (CFLAGS-tst-lfschk3.c): Likewise.
22562 (CFLAGS-tst-lfschk4.cc): Likewise.
22563 (CFLAGS-tst-lfschk5.cc): Likewise.
22564 (CFLAGS-tst-lfschk6.cc): Likewise.
22565 (CFLAGS-tst-ssp-1.c): Likewise.
22566 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22567 (CFLAGS-scandir64.c): Likewise.
22568 (CFLAGS-scandir-tail.c): Likewise.
22569 (CFLAGS-scandir64-tail.c): Likewise.
22570 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22571 (CFLAGS-dl-tunables.c): Likewise.
22572 (CFLAGS-dl-runtime.c): Likewise.
22573 (CFLAGS-dl-lookup.c): Likewise.
22574 (CFLAGS-dl-iterate-phdr.c): Likewise.
22575 (CFLAGS-vismain.c): Likewise.
22576 (CFLAGS-tst-linkall-static.c): Likewise.
22577 (CFLAGS-tst-linkall-static.c): Likewise.
22578 (CPPFLAGS-dl-load.c): Likewise.
22579 (CFLAGS-ldconfig.c): Likewise.
22580 (CFLAGS-dl-cache.c): Likewise.
22581 (CFLAGS-cache.c): Likewise.
22582 (CFLAGS-rtld.c): Likewise.
22583 (CFLAGS-multiload.c): Likewise.
22584 (CFLAGS-filtmod1.c): Likewise.
22585 (CFLAGS-tst-align.c): Likewise.
22586 (CFLAGS-tst-align2.c): Likewise.
22587 (CFLAGS-tst-alignmod.c): Likewise.
22588 (CFLAGS-tst-alignmod2.c): Likewise.
22589 (CPPFLAGS-tst-execstack.c): Likewise.
22590 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22591 (CFLAGS-tst-latepthreadmod.c): Likewise.
22592 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22593 (CFLAGS-getgrnam_r.c): Likewise.
22594 (CFLAGS-getgrent_r.c): Likewise.
22595 (CFLAGS-getgrent.c): Likewise.
22596 (CFLAGS-fgetgrent.c): Likewise.
22597 (CFLAGS-fgetgrent_r.c): Likewise.
22598 (CFLAGS-putgrent.c): Likewise.
22599 (CFLAGS-initgroups.c): Likewise.
22600 (CFLAGS-getgrgid.c): Likewise.
22601 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22602 (CFLAGS-getsgent.c): Likewise.
22603 (CFLAGS-fgetsgent.c): Likewise.
22604 (CFLAGS-fgetsgent_r.c): Likewise.
22605 (CFLAGS-putsgent.c): Likewise.
22606 (CFLAGS-getsgnam.c): Likewise.
22607 (CFLAGS-getsgnam_r.c): Likewise.
22608 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22609 (CFLAGS-iconv_charmap.c): Likewise.
22610 (CFLAGS-dummy-repertoire.c): Likewise.
22611 (CFLAGS-charmap.c): Likewise.
22612 (CFLAGS-linereader.c): Likewise.
22613 (CFLAGS-simple-hash.c): Likewise.
22614 (CFLAGS-gconv_conf.c): Likewise.
22615 (CFLAGS-iconvconfig.c): Likewise.
22616 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22617 (CFLAGS-gethstbyad.c): Likewise.
22618 (CFLAGS-gethstbynm_r.c): Likewise.
22619 (CFLAGS-gethstbynm.c): Likewise.
22620 (CFLAGS-gethstbynm2_r.c): Likewise.
22621 (CFLAGS-gethstbynm2.c): Likewise.
22622 (CFLAGS-gethstent_r.c): Likewise.
22623 (CFLAGS-gethstent.c): Likewise.
22624 (CFLAGS-rcmd.c): Likewise.
22625 (CFLAGS-getnetbynm_r.c): Likewise.
22626 (CFLAGS-getnetbynm.c): Likewise.
22627 (CFLAGS-getnetbyad_r.c): Likewise.
22628 (CFLAGS-getnetbyad.c): Likewise.
22629 (CFLAGS-getnetent_r.c): Likewise.
22630 (CFLAGS-getnetent.c): Likewise.
22631 (CFLAGS-getaliasent_r.c): Likewise.
22632 (CFLAGS-getaliasent.c): Likewise.
22633 (CFLAGS-getrpcent_r.c): Likewise.
22634 (CFLAGS-getrpcent.c): Likewise.
22635 (CFLAGS-getservent_r.c): Likewise.
22636 (CFLAGS-getservent.c): Likewise.
22637 (CFLAGS-getprtent_r.c): Likewise.
22638 (CFLAGS-getprtent.c): Likewise.
22639 (CFLAGS-either_ntoh.c): Likewise.
22640 (CFLAGS-either_hton.c): Likewise.
22641 (CFLAGS-getnetgrent.c): Likewise.
22642 (CFLAGS-getnetgrent_r.c): Likewise.
22643 (CFLAGS-tst-checks-posix.c): Likewise.
22644 (CFLAGS-tst-sockaddr.c): Likewise.
22645 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22646 (CFLAGS-tst-translit.c): Likewise.
22647 (CFLAGS-tst-gettext2.c): Likewise.
22648 (CFLAGS-tst-codeset.c): Likewise.
22649 (CFLAGS-tst-gettext3.c): Likewise.
22650 (CFLAGS-tst-gettext4.c): Likewise.
22651 (CFLAGS-tst-gettext5.c): Likewise.
22652 (CFLAGS-tst-gettext6.c): Likewise.
22653 * io/Makefile (CFLAGS-open.c): Likewise.
22654 (CFLAGS-open64.c): Likewise.
22655 (CFLAGS-creat.c): Likewise.
22656 (CFLAGS-creat64.c): Likewise.
22657 (CFLAGS-fcntl.c): Likewise.
22658 (CFLAGS-poll.c): Likewise.
22659 (CFLAGS-ppoll.c): Likewise.
22660 (CFLAGS-lockf.c): Likewise.
22661 (CFLAGS-statfs.c): Likewise.
22662 (CFLAGS-fstatfs.c): Likewise.
22663 (CFLAGS-statvfs.c): Likewise.
22664 (CFLAGS-fstatvfs.c): Likewise.
22665 (CFLAGS-fts.c): Likewise.
22666 (CFLAGS-fts64.c): Likewise.
22667 (CFLAGS-ftw.c): Likewise.
22668 (CFLAGS-ftw64.c): Likewise.
22669 (CFLAGS-lockf.c): Likewise.
22670 (CFLAGS-posix_fallocate.c): Likewise.
22671 (CFLAGS-posix_fallocate64.c): Likewise.
22672 (CFLAGS-fallocate.c): Likewise.
22673 (CFLAGS-fallocate64.c): Likewise.
22674 (CFLAGS-read.c): Likewise.
22675 (CFLAGS-write.c): Likewise.
22676 (CFLAGS-test-stat.c): Likewise.
22677 (CFLAGS-test-lfs.c): Likewise.
22678 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22679 (CFLAGS-fputc.c): Likewise.
22680 (CFLAGS-fputwc.c): Likewise.
22681 (CFLAGS-freopen64.c): Likewise.
22682 (CFLAGS-freopen.c): Likewise.
22683 (CFLAGS-fseek.c): Likewise.
22684 (CFLAGS-fseeko64.c): Likewise.
22685 (CFLAGS-fseeko.c): Likewise.
22686 (CFLAGS-ftello64.c): Likewise.
22687 (CFLAGS-ftello.c): Likewise.
22688 (CFLAGS-fwide.c): Likewise.
22689 (CFLAGS-genops.c): Likewise.
22690 (CFLAGS-getc.c): Likewise.
22691 (CFLAGS-getchar.c): Likewise.
22692 (CFLAGS-getwc.c): Likewise.
22693 (CFLAGS-getwchar.c): Likewise.
22694 (CFLAGS-iofclose.c): Likewise.
22695 (CFLAGS-iofflush.c): Likewise.
22696 (CFLAGS-iofgetpos64.c): Likewise.
22697 (CFLAGS-iofgetpos.c): Likewise.
22698 (CFLAGS-iofgets.c): Likewise.
22699 (CFLAGS-iofgetws.c): Likewise.
22700 (CFLAGS-iofputs.c): Likewise.
22701 (CFLAGS-iofputws.c): Likewise.
22702 (CFLAGS-iofread.c): Likewise.
22703 (CFLAGS-iofsetpos64.c): Likewise.
22704 (CFLAGS-iofsetpos.c): Likewise.
22705 (CFLAGS-ioftell.c): Likewise.
22706 (CFLAGS-iofwrite.c): Likewise.
22707 (CFLAGS-iogetdelim.c): Likewise.
22708 (CFLAGS-iogetline.c): Likewise.
22709 (CFLAGS-iogets.c): Likewise.
22710 (CFLAGS-iogetwline.c): Likewise.
22711 (CFLAGS-ioputs.c): Likewise.
22712 (CFLAGS-ioseekoff.c): Likewise.
22713 (CFLAGS-ioseekpos.c): Likewise.
22714 (CFLAGS-iosetbuffer.c): Likewise.
22715 (CFLAGS-iosetvbuf.c): Likewise.
22716 (CFLAGS-ioungetc.c): Likewise.
22717 (CFLAGS-ioungetwc.c): Likewise.
22718 (CFLAGS-oldfileops.c): Likewise.
22719 (CFLAGS-oldiofclose.c): Likewise.
22720 (CFLAGS-oldiofgetpos64.c): Likewise.
22721 (CFLAGS-oldiofgetpos.c): Likewise.
22722 (CFLAGS-oldiofsetpos64.c): Likewise.
22723 (CFLAGS-oldiofsetpos.c): Likewise.
22724 (CFLAGS-peekc.c): Likewise.
22725 (CFLAGS-putc.c): Likewise.
22726 (CFLAGS-putchar.c): Likewise.
22727 (CFLAGS-putwc.c): Likewise.
22728 (CFLAGS-putwchar.c): Likewise.
22729 (CFLAGS-rewind.c): Likewise.
22730 (CFLAGS-wfileops.c): Likewise.
22731 (CFLAGS-wgenops.c): Likewise.
22732 (CFLAGS-oldiofopen.c): Likewise.
22733 (CFLAGS-iofopen.c): Likewise.
22734 (CFLAGS-iofopen64.c): Likewise.
22735 (CFLAGS-oldtmpfile.c): Likewise.
22736 (CFLAGS-tst_putwc.c): Likewise.
22737 * locale/Makefile (CFLAGS-md5.c): Likewise.
22738 (CFLAGS-charmap.c): Likewise.
22739 (CFLAGS-locfile.c): Likewise.
22740 (CFLAGS-charmap-dir.c): Likewise.
22741 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22742 (CFLAGS-getpt.c): Likewise.
22743 (CFLAGS-pt_chown.c): Likewise.
22744 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22745 (CFLAGS-obstack.c): Likewise.
22746 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22747 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22748 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22749 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22750 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22751 (CFLAGS-test-tgmath.c): Likewise.
22752 (CFLAGS-test-tgmath2.c): Likewise.
22753 (CFLAGS-test-tgmath-ret.c): Likewise.
22754 (CFLAGS-test-powl.c): Likewise.
22755 (CFLAGS-test-snan.c): Likewise.
22756 (CFLAGS-test-signgam-finite.c): Likewise.
22757 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22758 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22759 (CFLAGS-test-signgam-uchar.c): Likewise.
22760 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22761 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22762 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22763 (CFLAGS-test-signgam-uint.c): Likewise.
22764 (CFLAGS-test-signgam-uint-init.c): Likewise.
22765 (CFLAGS-test-signgam-uint-static.c): Likewise.
22766 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22767 (CFLAGS-test-signgam-ullong.c): Likewise.
22768 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22769 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22770 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22771 (CFLAGS-test-math-cxx11.cc): Likewise.
22772 (CFLAGS-test-math-isinff.cc): Likewise.
22773 (CFLAGS-test-math-iszero.cc): Likewise.
22774 (CFLAGS-test-math-issignaling.cc): Likewise.
22775 (CFLAGS-test-math-iscanonical.cc): Likewise.
22776 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22777 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22778 (CFLAGS-test-flt-eval-method.c): Likewise.
22779 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22780 (CFLAGS-test-finite-macros.c): Likewise.
22781 * misc/Makefile (CFLAGS-select.c): Likewise.
22782 (CFLAGS-tsearch.c): Likewise.
22783 (CFLAGS-lsearch.c): Likewise.
22784 (CFLAGS-pselect.c): Likewise.
22785 (CFLAGS-readv.c): Likewise.
22786 (CFLAGS-writev.c): Likewise.
22787 (CFLAGS-preadv.c): Likewise.
22788 (CFLAGS-preadv64.c): Likewise.
22789 (CFLAGS-pwritev.c): Likewise.
22790 (CFLAGS-pwritev64.c): Likewise.
22791 (CFLAGS-preadv2.c): Likewise.
22792 (CFLAGS-preadv64v2.c): Likewise.
22793 (CFLAGS-pwritev2.c): Likewise.
22794 (CFLAGS-pwritev64v2.c): Likewise.
22795 (CFLAGS-usleep.c): Likewise.
22796 (CFLAGS-syslog.c): Likewise.
22797 (CFLAGS-error.c): Likewise.
22798 (CFLAGS-getpass.c): Likewise.
22799 (CFLAGS-mkstemp.c): Likewise.
22800 (CFLAGS-mkstemp64.c): Likewise.
22801 (CFLAGS-getsysstats.c): Likewise.
22802 (CFLAGS-getusershell.c): Likewise.
22803 (CFLAGS-err.c): Likewise.
22804 (CFLAGS-tst-tsearch.c): Likewise.
22805 (CFLAGS-msync.c): Likewise.
22806 (CFLAGS-fdatasync.c): Likewise.
22807 (CFLAGS-fsync.c): Likewise.
22808 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22809 (CFLAGS-unwind.c): Likewise.
22810 (CFLAGS-unwind-forcedunwind.c): Likewise.
22811 (CFLAGS-pthread_cancel.c): Likewise.
22812 (CFLAGS-pthread_setcancelstate.c): Likewise.
22813 (CFLAGS-pthread_setcanceltype.c): Likewise.
22814 (CFLAGS-cancellation.c): Likewise.
22815 (CFLAGS-libc-cancellation.c): Likewise.
22816 (CFLAGS-pthread_exit.c): Likewise.
22817 (CFLAGS-forward.c): Likewise.
22818 (CFLAGS-pthread_testcancel.c): Likewise.
22819 (CFLAGS-pthread_join.c): Likewise.
22820 (CFLAGS-pthread_timedjoin.c): Likewise.
22821 (CFLAGS-pthread_once.c): Likewise.
22822 (CFLAGS-pthread_cond_wait.c): Likewise.
22823 (CFLAGS-sem_wait.c): Likewise.
22824 (CFLAGS-sem_timedwait.c): Likewise.
22825 (CFLAGS-fcntl.c): Likewise.
22826 (CFLAGS-lockf.c): Likewise.
22827 (CFLAGS-pread.c): Likewise.
22828 (CFLAGS-pread64.c): Likewise.
22829 (CFLAGS-pwrite.c): Likewise.
22830 (CFLAGS-pwrite64.c): Likewise.
22831 (CFLAGS-wait.c): Likewise.
22832 (CFLAGS-waitpid.c): Likewise.
22833 (CFLAGS-sigwait.c): Likewise.
22834 (CFLAGS-msgrcv.c): Likewise.
22835 (CFLAGS-msgsnd.c): Likewise.
22836 (CFLAGS-tcdrain.c): Likewise.
22837 (CFLAGS-open.c): Likewise.
22838 (CFLAGS-open64.c): Likewise.
22839 (CFLAGS-pause.c): Likewise.
22840 (CFLAGS-recv.c): Likewise.
22841 (CFLAGS-send.c): Likewise.
22842 (CFLAGS-accept.c): Likewise.
22843 (CFLAGS-sendto.c): Likewise.
22844 (CFLAGS-connect.c): Likewise.
22845 (CFLAGS-recvfrom.c): Likewise.
22846 (CFLAGS-recvmsg.c): Likewise.
22847 (CFLAGS-sendmsg.c): Likewise.
22848 (CFLAGS-close.c): Likewise.
22849 (CFLAGS-read.c): Likewise.
22850 (CFLAGS-write.c): Likewise.
22851 (CFLAGS-nanosleep.c): Likewise.
22852 (CFLAGS-sigsuspend.c): Likewise.
22853 (CFLAGS-msync.c): Likewise.
22854 (CFLAGS-fdatasync.c): Likewise.
22855 (CFLAGS-fsync.c): Likewise.
22856 (CFLAGS-pt-system.c): Likewise.
22857 (CFLAGS-tst-cleanup2.c): Likewise.
22858 (CFLAGS-tst-cleanupx2.c): Likewise.
22859 (CFLAGS-flockfile.c): Likewise.
22860 (CFLAGS-ftrylockfile.c): Likewise.
22861 (CFLAGS-funlockfile.c): Likewise.
22862 (CFLAGS-tst-initializers1.c): Likewise.
22863 (CFLAGS-tst-initializers1-c89.c): Likewise.
22864 (CFLAGS-tst-initializers1-c99.c): Likewise.
22865 (CFLAGS-tst-initializers1-c11.c): Likewise.
22866 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22867 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22868 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22869 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22870 (CFLAGS-nscd_getgr_r.c): Likewise.
22871 (CFLAGS-nscd_gethst_r.c): Likewise.
22872 (CFLAGS-nscd_getai.c): Likewise.
22873 (CFLAGS-nscd_initgroups.c): Likewise.
22874 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22875 (CFLAGS-pause.c): Likewise.
22876 (CFLAGS-pread.c): Likewise.
22877 (CFLAGS-pread64.c): Likewise.
22878 (CFLAGS-pwrite.c): Likewise.
22879 (CFLAGS-pwrite64.c): Likewise.
22880 (CFLAGS-sleep.c): Likewise.
22881 (CFLAGS-wait.c): Likewise.
22882 (CFLAGS-waitid.c): Likewise.
22883 (CFLAGS-waitpid.c): Likewise.
22884 (CFLAGS-getopt.c): Likewise.
22885 (CFLAGS-wordexp.c): Likewise.
22886 (CFLAGS-sysconf.c): Likewise.
22887 (CFLAGS-pathconf.c): Likewise.
22888 (CFLAGS-fpathconf.c): Likewise.
22889 (CFLAGS-spawn.c): Likewise.
22890 (CFLAGS-spawnp.c): Likewise.
22891 (CFLAGS-spawni.c): Likewise.
22892 (CFLAGS-glob.c): Likewise.
22893 (CFLAGS-glob64.c): Likewise.
22894 (CFLAGS-getconf.c): Likewise.
22895 (CFLAGS-nanosleep.c): Likewise.
22896 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22897 (CFLAGS-getpwent.c): Likewise.
22898 (CFLAGS-getpw.c): Likewise.
22899 (CFLAGS-fgetpwent_r.c): Likewise.
22900 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22901 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22902 (CFLAGS-mq_timedreceive.c): Likewise.
22903 (CFLAGS-mq_timedsend.c): Likewise.
22904 (CFLAGS-clock_nanosleep.c): Likewise.
22905 (CFLAGS-librt-cancellation.c): Likewise.
22906 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22907 (CFLAGS-getspent.c): Likewise.
22908 (CFLAGS-fgetspent.c): Likewise.
22909 (CFLAGS-fgetspent_r.c): Likewise.
22910 (CFLAGS-putspent.c): Likewise.
22911 (CFLAGS-getspnam.c): Likewise.
22912 (CFLAGS-getspnam_r.c): Likewise.
22913 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22914 (CFLAGS-sigsuspend.c): Likewise.
22915 (CFLAGS-sigtimedwait.c): Likewise.
22916 (CFLAGS-sigwait.c): Likewise.
22917 (CFLAGS-sigwaitinfo.c): Likewise.
22918 (CFLAGS-sigreturn.c): Likewise.
22919 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22920 (CFLAGS-vfwprintf.c): Likewise.
22921 (CFLAGS-tmpfile.c): Likewise.
22922 (CFLAGS-tmpfile64.c): Likewise.
22923 (CFLAGS-tempname.c): Likewise.
22924 (CFLAGS-psignal.c): Likewise.
22925 (CFLAGS-vprintf.c): Likewise.
22926 (CFLAGS-cuserid.c): Likewise.
22927 (CFLAGS-errlist.c): Likewise.
22928 (CFLAGS-siglist.c): Likewise.
22929 (CFLAGS-scanf15.c): Likewise.
22930 (CFLAGS-scanf17.c): Likewise.
22931 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22932 (CFLAGS-msort.c): Likewise.
22933 (CFLAGS-qsort.c): Likewise.
22934 (CFLAGS-system.c): Likewise.
22935 (CFLAGS-fmtmsg.c): Likewise.
22936 (CFLAGS-strfmon.c): Likewise.
22937 (CFLAGS-strfmon_l.c): Likewise.
22938 (CFLAGS-strfromd.c): Likewise.
22939 (CFLAGS-strfromf.c): Likewise.
22940 (CFLAGS-strfroml.c): Likewise.
22941 (CFLAGS-tst-bsearch.c): Likewise.
22942 (CFLAGS-tst-qsort.c): Likewise.
22943 (CFLAGS-tst-makecontext2.c): Likewise.
22944 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22945 (CFLAGS-xnlm_prot.c): Likewise.
22946 (CFLAGS-xrstat.c): Likewise.
22947 (CFLAGS-xyppasswd.c): Likewise.
22948 (CFLAGS-xklm_prot.c): Likewise.
22949 (CFLAGS-xrex.c): Likewise.
22950 (CFLAGS-xsm_inter.c): Likewise.
22951 (CFLAGS-xmount.c): Likewise.
22952 (CFLAGS-xrusers.c): Likewise.
22953 (CFLAGS-xspray.c): Likewise.
22954 (CFLAGS-xnfs_prot.c): Likewise.
22955 (CFLAGS-xrquota.c): Likewise.
22956 (CFLAGS-xkey_prot.c): Likewise.
22957 (CFLAGS-auth_unix.c): Likewise.
22958 (CFLAGS-key_call.c): Likewise.
22959 (CFLAGS-pmap_rmt.c): Likewise.
22960 (CFLAGS-clnt_perr.c): Likewise.
22961 (CFLAGS-openchild.c): Likewise.
22962 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22963 (CFLAGS-msgsnd.c): Likewise.
22964 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22965 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22966 (CFLAGS-tzset.c): Likewise.
22967 (CFLAGS-getdate.c): Likewise.
22968 (CFLAGS-test_time.c): Likewise.
22969 (CPPFLAGS-tst-tzname.c): Likewise.
22970 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22971 (CFLAGS-zic.c): Likewise.
22972 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22973 (CFLAGS-wcswidth.c): Likewise.
22974 (CFLAGS-wcstol.c): Likewise.
22975 (CFLAGS-wcstoul.c): Likewise.
22976 (CFLAGS-wcstoll.c): Likewise.
22977 (CFLAGS-wcstoull.c): Likewise.
22978 (CFLAGS-wcstod.c): Likewise.
22979 (CFLAGS-wcstold.c): Likewise.
22980 (CFLAGS-wcstof128.c): Likewise.
22981 (CFLAGS-wcstof.c): Likewise.
22982 (CFLAGS-wcstol_l.c): Likewise.
22983 (CFLAGS-wcstoul_l.c): Likewise.
22984 (CFLAGS-wcstoll_l.c): Likewise.
22985 (CFLAGS-wcstoull_l.c): Likewise.
22986 (CFLAGS-wcstod_l.c): Likewise.
22987 (CFLAGS-wcstold_l.c): Likewise.
22988 (CFLAGS-wcstof128_l.c): Likewise.
22989 (CFLAGS-wcstof_l.c): Likewise.
22990 (CPPFLAGS-tst-wchar-h.c): Likewise.
22991 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 22992
f4b2aea6
PC
229932017-12-11 Paul A. Clarke <pc@us.ibm.com>
22994
22995 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22996
c9cd7b0c
AZ
229972017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22998 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22999
23000 * manual/tunables.texi (Hardware Capability Tunables): Document
23001 glibc.tune.cached_memopt.
23002 * sysdeps/powerpc/cpu-features.c: New file.
23003 * sysdeps/powerpc/cpu-features.h: New file.
23004 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23005 _dl_powerpc_cpu_features.
23006 * sysdeps/powerpc/dl-tunables.list: New file.
23007 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23008 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23009 (INIT_ARCH): Initialize use_aligned_memopt.
23010 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23011 IS_IN(rtld))]: Restrict dl_platform_init availability and
23012 initialize CPU features used by tunables.
23013 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23014 Add memcpy-power8-cached.
23015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23016 __memcpy_power8_cached.
23017 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23018 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23019 New file.
23020
e70c6fee
L
230212017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23022
23023 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23024 (CFLAGS-noinl-tester.c): Likewise.
23025 (CFLAGS-tst-strlen.c): Likewise.
23026 (CFLAGS-stratcliff.c): Likewise.
23027 (CFLAGS-test-ffs.c): Likewise.
23028 (CFLAGS-tst-inlcall.c): Likewise.
23029 (CFLAGS-tst-xbzero-opt.c): Likewise.
23030 (CFLAGS-memcpy.c): Likewise.
23031 (CFLAGS-wordcopy.c): Likewise.
23032
dee94366
SL
230332017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23034
23035 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23036 Store r15 on stack and add cfi rule.
23037 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23038 Likewise.
23039
363e4519 230402017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
23041
23042 [BZ #22577]
23043 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23044 call.
23045
9d0ffa60
L
230462017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23047
23048 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23049 Add s_sinf-sse2 and s_sinf-fma.
23050 (CFLAGS-s_sinf-fma.c): New.
23051 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23052 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23053 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23054
9574c7b6
L
230552017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23056
23057 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23058
d15e83c5
JM
230592017-12-07 Joseph Myers <joseph@codesourcery.com>
23060
23061 [BZ #22568]
23062 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23063 part of result to imaginary part of argument if it is zero and the
23064 real part of the argument is not finite.
23065 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23066 of result to real part of argument if it is zero and the imaginary
23067 part of the argument is not finite.
23068
d89756eb
MF
230692017-12-07 Mike FABIAN <mfabian@redhat.com>
23070
23071 [BZ #22524]
23072 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23073 and to the list of locales to be built for testing.
23074 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23075 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23076 and build the collation rules upon that.
23077
1f9055ce
JM
230782017-12-07 Joseph Myers <joseph@codesourcery.com>
23079
23080 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23081 * manual/math.texi (Mathematics): Document support for _Float32.
23082 * math/Makefile (test-types): Add float32.
23083 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23084 * stdlib/Versions (GLIBC_2.27): Likewise.
23085 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23086 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23088 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23089 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23090 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23091 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23092 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23094 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23095 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23096 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23097 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23098 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23101 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23102 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23103 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23104 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23105 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23106 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23107 Likewise.
23108 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23109 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23110 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23111 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23112 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23114 Likewise.
23115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23116 Likewise.
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23118 Likewise.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23120 Likewise.
23121
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23123 Likewise.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23125 Likewise.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23127 Likewise.
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23129 Likewise.
23130 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23131 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23132 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23133 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23134 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23135 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23136 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23137 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23138 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23139 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23141 Likewise.
23142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23143 Likewise.
23144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23145 Likewise.
23146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23147 Likewise.
23148 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23149 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23150 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23151 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23152 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23153 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23154 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23155 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23156
5244527d
JM
231572017-12-06 Joseph Myers <joseph@codesourcery.com>
23158
fb1ca2aa
JM
23159 * stdlib/strtof.c: Include <bits/floatn.h>
23160 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23161 and later undefine as macro. Define as weak alias if
23162 [!USE_WIDE_CHAR].
23163 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23164 and later undefine as macro. Define as weak alias if
23165 [USE_WIDE_CHAR].
23166 * stdlib/strtof_l.c: Include <bits/floatn.h>
23167 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23168 and later undefine as macro. Define as weak alias if
23169 [!USE_WIDE_CHAR].
23170 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23171 and later undefine as macro. Define as weak alias if
23172 [USE_WIDE_CHAR].
23173
fc10cc3f
JM
23174 * stdlib/strfromf.c: Include <bits/floatn.h>.
23175 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23176 and later undefine as macro and define as weak alias.
23177
e420d228
JM
23178 * math/test-float32.h: New file.
23179
26007a2f
JM
23180 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23181 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23182 (libm_alias_float_other_r): Create f32 alias.
23183 (libm_alias_float_r): Use semicolon before call to
23184 libm_alias_float_other_r.
23185
c191f64c
JM
23186 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23187 second argument to libm_alias_float_other.
23188 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23189 second argument to libm_alias_float_other.
23190 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23191 argument to libm_alias_float_other.
23192
5244527d
JM
23193 [BZ #22561]
23194 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23195 real part of result for argument 0 + i * NaN.
23196 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23197 results for tests of 0 + i * NaN.
23198
d73fac82
AZ
231992017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23200
23201 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23202
7ec094e8
DM
232032017-12-06 David S. Miller <davem@davemloft.net>
23204
23205 * sysdeps/sparc/fpu/libm-test-ulps: Update
23206 exp_{downward,towardzero,upward} ulps.
23207
53994f12
JM
232082017-12-06 Joseph Myers <joseph@codesourcery.com>
23209
1dbe6f64
JM
23210 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23211 variables static.
23212
53994f12
JM
23213 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23214 (Y0_2D): Likewise.
23215 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23216 (Y0_2D): Likewise.
23217 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23218 (Y0_2D): Likewise.
23219 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23220 (Y0_2D): Likewise.
23221
62ea2193
MF
232222017-12-06 Mike FABIAN <mfabian@redhat.com>
23223
23224 [BZ #22515]
23225 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23226 and to the list of locales to be built for testing.
23227 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23228 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23229 and build the collation rules upon that.
23230
87235d70
RS
232312017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23232
23233 * NEWS: Add sinf to list of optimized functions.
23234
0d93b7fd
JM
232352017-12-06 Joseph Myers <joseph@codesourcery.com>
23236
23237 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23238 (__HAVE_FLOAT32X): Likewise.
23239 * manual/math.texi (Mathematics): Document support for _Float64
23240 and _Float32x.
23241 * math/Makefile (test-types): Add float64 and float32x.
23242 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23243 functions.
23244 * stdlib/Versions (GLIBC_2.27): Likewise.
23245 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23246 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23247 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23248 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23249 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23250 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23251 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23252 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23253 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23254 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23255 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23256 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23257 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23258 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23259 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23260 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23261 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23262 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23263 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23264 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23265 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23266 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23267 Likewise.
23268 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23269 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23270 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23271 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23272 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23274 Likewise.
23275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23276 Likewise.
23277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23278 Likewise.
23279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23280 Likewise.
23281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23282 Likewise.
23283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23284 Likewise.
23285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23286 Likewise.
23287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23288 Likewise.
23289 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23290 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23291 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23292 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23293 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23294 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23295 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23296 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23297 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23298 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23300 Likewise.
23301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23302 Likewise.
23303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23304 Likewise.
23305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23306 Likewise.
23307 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23308 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23309 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23310 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23311 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23312 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23313 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23314 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23315
f7787234
JM
233162017-12-05 Joseph Myers <joseph@codesourcery.com>
23317
23318 * bits/floatn-common.h: Include <bits/long-double.h>.
23319 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23320 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23321 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23322 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23323 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23324 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23325 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23326 (__builtin_huge_valf64): Use __builtin_huge_vall.
23327 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23328 (__builtin_inff64): Use __builtin_infl.
23329 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23330 (__builtin_nanf64): Use __builtin_nanl.
23331 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23332 (__builtin_nansf64): Use __builtin_nansl.
23333
363e4519
DL
233342017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23335 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 23336 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
23337
23338 * elf/dl-tunables.list: Add elision parameters.
23339 * manual/tunables.texi: Add entries about elision tunable.
23340 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23341 Add callback functions to dynamically enable/disable elision.
23342 Add multiple callbacks functions to set elision parameters.
23343 Deleted __libc_enable_secure check.
23344 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23345 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23346 * configure: Regenerated.
23347 * configure.ac: Option enable_lock_elision was deleted.
23348 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23349 * config.make.in: Remove references to enable_lock_elision.
23350 * manual/install.texi: Elision configure option was removed.
23351 * INSTALL: Regenerated to remove enable_lock_elision.
23352 * nptl/Makefile:
23353 Disable elision so it can verify error case for destroying a mutex.
23354 * sysdeps/powerpc/nptl/elide.h:
23355 Cleanup ENABLE_LOCK_ELISION check.
23356 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23357 * sysdeps/s390/configure: Regenerated.
23358 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23359 * nptl/tst-mutex8.c:
23360 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23361 * sysdeps/powerpc/powerpc32/sysdep.h:
23362 Deleted all ENABLE_LOCK_ELISION checks.
23363 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23364 * sysdeps/powerpc/sysdep.h: Likewise.
23365 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23366 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23367 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23368 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23369 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23370 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23371 enable-lock-elision.
23372
a5a2a76b
JM
233732017-12-05 Joseph Myers <joseph@codesourcery.com>
23374
23375 * stdlib/strtod.c: Include <bits/floatn.h>.
23376 (BUILD_DOUBLE): New macro.
23377 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23378 (strtof64): Define and later undefine as macro. Define as weak
23379 alias if [!USE_WIDE_CHAR].
23380 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23381 (wcstof64): Define and later undefine as macro. Define as weak
23382 alias if [USE_WIDE_CHAR].
23383 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23384 (strtof32x): Define and later undefine as macro. Define as weak
23385 alias if [!USE_WIDE_CHAR].
23386 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23387 (wcstof32x): Define and later undefine as macro. Define as weak
23388 alias if [USE_WIDE_CHAR].
23389 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23390 (BUILD_DOUBLE): New macro.
23391 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23392 (strtof64_l): Define and later undefine as macro. Define as weak
23393 alias if [!USE_WIDE_CHAR].
23394 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23395 (wcstof64_l): Define and later undefine as macro. Define as weak
23396 alias if [USE_WIDE_CHAR].
23397 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23398 (strtof32x_l): Define and later undefine as macro. Define as weak
23399 alias if [!USE_WIDE_CHAR].
23400 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23401 (wcstof32x_l): Define and later undefine as macro. Define as weak
23402 alias if [USE_WIDE_CHAR].
23403
94d80dfc
AZ
234042017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23405
23406 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23407 (reduced): Use ones as double instead of integer.
23408
00d54af7
SN
234092017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23410
23411 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23412
f2d64d62
JM
234132017-12-05 Joseph Myers <joseph@codesourcery.com>
23414
1f70eae4
JM
23415 * stdlib/strfromd.c: Include <bits/floatn.h>.
23416 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23417 and later undefine as macro and define as weak alias.
23418 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23419 Likewise.
23420
e2c4dce5
JM
23421 * math/test-float32x.h: New file.
23422 * math/test-float64.h: Likewise.
23423
f2d64d62
JM
23424 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23425 (libm_alias_double_other_r_f64): New macro.
23426 (libm_alias_double_other_r_f32x): Likewise.
23427 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23428 libm_alias_double_other_r_f32x.
23429 (libm_alias_double_r): Use semicolon before call to
23430 libm_alias_double_other_r.
23431 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23432 <bits/floatn.h>.
23433 (libm_alias_double_other_r_f64): New macro.
23434 (libm_alias_double_other_r_f32x): Likewise.
23435 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23436 libm_alias_double_other_r_f32x.
23437
91c318e7
L
234382017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23441 int.
23442 (SINF_FUNC): Likewise. Replace floor with simple casts.
23443
de9661d6
MF
234442017-12-05 Mike FABIAN <mfabian@redhat.com>
23445
23446 [BZ #22517]
23447 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23448 and to the list of locales to be built for testing.
23449 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23450 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23451 and build the collation rules upon that.
23452
f18b8dc7
CM
234532017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23454
23455 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23456 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23457 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23458 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23459 instead of __insn__xxx.
23460 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23461 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23462 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23463 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23464 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23465 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23466
446d22e9
FW
234672017-12-05 Florian Weimer <fweimer@redhat.com>
23468
23469 Linux: Implement interfaces for memory protection keys
23470 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23471 xsignal, xsysconf.
23472 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23473 * support/xunistd.h (xsysconf): Declare.
23474 * support/xraise.c: New file.
23475 * support/xsigaction.c: Likewise.
23476 * support/xsignal.c: Likewise.
23477 * support/xsysconf.c: Likewise.
23478 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23479 pkey_set, pkey_get, pkey_mprotect.
23480 [misc] (tests): Add tst-pkey.
23481 (tst-pkey): Link with -lpthread.
23482 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23483 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23484 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23485 (PKEY_DISABLE_WRITE): Define.
23486 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23487 Declare.
23488 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23489 (SEGV_PKUERR): Add.
23490 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23491 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23492 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23493 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23494 Add.
23495 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23496 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23497 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23498 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23499 * sysdeps/unix/sysv/linux/**.abilist: Update.
23500
da616c14
FW
235012017-12-05 Florian Weimer <fweimer@redhat.com>
23502
23503 * support/tst-test_compare.c (subprocess): Use long long instead
23504 of long argument for consistent type width across 32-bit and
23505 64-bit architectures.
23506 (do_test): Adjust expected output.
23507
216933b2
JM
235082017-12-05 Joseph Myers <joseph@codesourcery.com>
23509
23510 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23511 (cosf): Define using libm_alias_float.
23512 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23513 (fabsf): Define using libm_alias_float.
23514 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23515 (fmaf): Define using libm_alias_float.
23516 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23517 (rintf): Define using libm_alias_float.
23518 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23519 (sinf): Define using libm_alias_float.
23520 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23521 <libm-alias-float.h>.
23522 (modff): Define using libm_alias_float.
23523 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23524 <libm-alias-float.h>.
23525 (logbf): Define using libm_alias_float.
23526 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23527 <libm-alias-float.h>.
23528 (ceilf): Define using libm_alias_float.
23529 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23530 <libm-alias-float.h>.
23531 (copysignf): Define using libm_alias_float.
23532 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23533 <libm-alias-float.h>.
23534 (floorf): Define using libm_alias_float.
23535 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23536 <libm-alias-float.h>.
23537 (llrintf): Define using libm_alias_float.
23538 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23539 <libm-alias-float.h>.
23540 (llroundf): Define using libm_alias_float.
23541 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23542 <libm-alias-float.h>.
23543 (lrintf): Define using libm_alias_float.
23544 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23545 <libm-alias-float.h>.
23546 (lroundf): Define using libm_alias_float.
23547 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23548 <libm-alias-float.h>.
23549 (nearbyintf): Define using libm_alias_float.
23550 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23551 <libm-alias-float.h>.
23552 (rintf): Define using libm_alias_float.
23553 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23554 <libm-alias-float.h>.
23555 (roundf): Define using libm_alias_float.
23556 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23557 <libm-alias-float.h>.
23558 (truncf): Define using libm_alias_float.
23559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23560 Include <libm-alias-float.h>.
23561 (ceilf): Define using libm_alias_float.
23562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23563 Include <libm-alias-float.h>.
23564 (copysignf): Define using libm_alias_float.
23565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23566 Include <libm-alias-float.h>.
23567 (floorf): Define using libm_alias_float.
23568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23569 Include <libm-alias-float.h>.
23570 (llrintf): Define using libm_alias_float.
23571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23572 Include <libm-alias-float.h>.
23573 (llroundf): Define using libm_alias_float.
23574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23575 Include <libm-alias-float.h>.
23576 (logbf): Define using libm_alias_float.
23577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23578 Include <libm-alias-float.h>.
23579 (lrintf): Define using libm_alias_float.
23580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23581 Include <libm-alias-float.h>.
23582 (lroundf): Define using libm_alias_float.
23583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23584 Include <libm-alias-float.h>.
23585 (modff): Define using libm_alias_float.
23586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23587 Include <libm-alias-float.h>.
23588 (roundf): Define using libm_alias_float.
23589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23590 Include <libm-alias-float.h>.
23591 (truncf): Define using libm_alias_float.
23592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23593 <libm-alias-float.h>.
23594 (llrintf): Define using libm_alias_float.
23595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23596 <libm-alias-float.h>.
23597 (llroundf): Define using libm_alias_float.
23598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23599 <libm-alias-float.h>.
23600 (ceilf): Define using libm_alias_float.
23601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23602 <libm-alias-float.h>.
23603 (floorf): Define using libm_alias_float.
23604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23605 <libm-alias-float.h>.
23606 (llroundf): Define using libm_alias_float.
23607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23608 <libm-alias-float.h>.
23609 (lroundf): Define using libm_alias_float.
23610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23611 <libm-alias-float.h>.
23612 (roundf): Define using libm_alias_float.
23613 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23614 <libm-alias-float.h>.
23615 (truncf): Define using libm_alias_float.
23616 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23617 <libm-alias-float.h>.
23618 (copysignf): Define using libm_alias_float.
23619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23620 <libm-alias-float.h>.
23621 (llrintf): Define using libm_alias_float.
23622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23623 <libm-alias-float.h>.
23624 (llroundf): Define using libm_alias_float.
23625 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23626 <libm-alias-float.h>.
23627 (lrintf): Define using libm_alias_float.
23628 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23629 <libm-alias-float.h>.
23630 (lroundf): Define using libm_alias_float.
23631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23632 <libm-alias-float.h>.
23633 (ceilf): Define using libm_alias_float.
23634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23635 <libm-alias-float.h>.
23636 (copysignf): Define using libm_alias_float.
23637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23638 <libm-alias-float.h>.
23639 (cosf): Define using libm_alias_float.
23640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23641 <libm-alias-float.h>.
23642 (floorf): Define using libm_alias_float.
23643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23644 <libm-alias-float.h>.
23645 (llrintf): Define using libm_alias_float.
23646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23647 <libm-alias-float.h>.
23648 (llroundf): Define using libm_alias_float.
23649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23650 <libm-alias-float.h>.
23651 (logbf): Define using libm_alias_float.
23652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23653 <libm-alias-float.h>.
23654 (modff): Define using libm_alias_float.
23655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23656 <libm-alias-float.h>.
23657 (roundf): Define using libm_alias_float.
23658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23659 <libm-alias-float.h>.
23660 (sinf): Define using libm_alias_float.
23661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23662 <libm-alias-float.h>.
23663 (truncf): Define using libm_alias_float.
23664 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23665 <libm-alias-float.h>.
23666 (ceilf): Define using libm_alias_float.
23667 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23668 <libm-alias-float.h>.
23669 (copysignf): Define using libm_alias_float.
23670 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23671 <libm-alias-float.h>.
23672 (floorf): Define using libm_alias_float.
23673 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23674 <libm-alias-float.h>.
23675 (llrintf): Define using libm_alias_float.
23676 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23677 <libm-alias-float.h>.
23678 (llroundf): Define using libm_alias_float.
23679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23680 <libm-alias-float.h>.
23681 (nearbyintf): Define using libm_alias_float.
23682 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23683 <libm-alias-float.h>.
23684 (rintf): Define using libm_alias_float.
23685 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23686 <libm-alias-float.h>.
23687 (roundf): Define using libm_alias_float.
23688 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23689 <libm-alias-float.h>.
23690 (truncf): Define using libm_alias_float.
23691 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23692 <libm-alias-float.h>.
23693 (ceilf): Define using libm_alias_float.
23694 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23695 <libm-alias-float.h>.
23696 (floorf): Define using libm_alias_float.
23697 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23698 <libm-alias-float.h>.
23699 (llroundf): Define using libm_alias_float.
23700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23701 <libm-alias-float.h>.
23702 (roundf): Define using libm_alias_float.
23703 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23704 <libm-alias-float.h>.
23705 (truncf): Define using libm_alias_float.
23706 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23707 <libm-alias-float.h>.
23708 (copysignf): Define using libm_alias_float.
23709 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23710 <libm-alias-float.h>.
23711 (llrintf): Define using libm_alias_float.
23712 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23713 <libm-alias-float.h>.
23714 (llroundf): Define using libm_alias_float.
23715 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23716 <libm-alias-float.h>.
23717 (cosf): Define using libm_alias_float.
23718 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23719 <libm-alias-float.h>.
23720 (llrintf): Define using libm_alias_float.
23721 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23722 <libm-alias-float.h>.
23723 (llroundf): Define using libm_alias_float.
23724 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23725 <libm-alias-float.h>.
23726 (sinf): Define using libm_alias_float.
23727
93485524
FW
237282017-12-04 Florian Weimer <fweimer@redhat.com>
23729
23730 * support/check.h (TEST_COMPARE): Define.
23731 (support_test_compare_failure): Declare.
23732 * support/Makefile (libsupport-routines): Add
23733 support_test_compare_failure.
23734 (tests): Add tst-test_compare.
23735 * support /support_test_compare_failure.c: New file.
23736 * support/tst-test_compare.c: Likewise.
23737
96b06a19
MF
237382017-12-04 Mike FABIAN <mfabian@redhat.com>
23739
23740 [BZ #22527]
23741 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23742 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23743 available, this rewrite of the collation rules does reproduce
23744 the test file in the same order.
23745
1f6d91f3
MF
237462017-12-04 Mike FABIAN <mfabian@redhat.com>
23747
23748 [BZ #10580]
23749 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23750 digraphs in the month and day names. Using single code points for
23751 digraphs is deprecated. While there are dedicated Unicode
23752 codepoints, for the digraphs, these are included for backwards
23753 compatibility and modern texts use a sequence of Basic Latin
23754 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23755 This makes the month and day names agree exactly with CLDR now,
23756 CLDR does not use the single code points for the digraphs either.
23757
2e49fed8
CM
237582017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23759
23760 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23761
73895b49
JM
237622017-12-04 Joseph Myers <joseph@codesourcery.com>
23763
23764 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23765 of floor.
23766
4c1d801a
SP
237672017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23768
23769 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23770 Define only for libc.so.
23771
478593e6
SL
237722017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23773
23774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23775 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 23776 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
23777 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23778 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23779
7863a711
RS
237802017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23781
23782 [BZ #5997]
23783 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23784
800a496a
JDA
237852017-12-02 John David Anglin <danglin@gcc.gnu.org>
23786
b3f7fb12
JDA
23787 [BZ libc/19170]
23788 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23789 PREINIT_FUNCTION_WEAK is nonzero.
23790 (gmon_initializer): New function. Put procedure label for it in
23791 .init_array section.
23792 (_init): Don't call PREINIT_FUNCTION.
23793 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23794 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23795 value when map argument is null.
23796
800a496a
JDA
23797 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23798 depi instruction from PIC pc-relative sequence.
23799 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23800 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23801 (elf_machine_load_address): Likewise.
23802 (elf_machine_runtime_setup): Likewise.
23803
d17542d2
JM
238042017-12-02 Joseph Myers <joseph@codesourcery.com>
23805
23806 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23807 <libm-alias-double.h>.
23808 (logb): Define using libm_alias_double.
23809 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23810 <libm-alias-double.h>.
23811 (copysign): Define using libm_alias_double.
23812 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23813 <libm-alias-double.h>.
23814 (llrint): Define using libm_alias_double.
23815 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23816 <libm-alias-double.h>.
23817 (llround): Define using libm_alias_double.
23818 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23819 <libm-alias-double.h>.
23820 (lrint): Define using libm_alias_double.
23821 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23822 <libm-alias-double.h>.
23823 (lround): Define using libm_alias_double.
23824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23825 Include <libm-alias-double.h>.
23826 (copysign): Define using libm_alias_double.
23827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23828 Include <libm-alias-double.h>.
23829 (llrint): Define using libm_alias_double.
23830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23831 Include <libm-alias-double.h>.
23832 (llround): Define using libm_alias_double.
23833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23834 <libm-alias-double.h>.
23835 (logb): Define using libm_alias_double.
23836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23837 Include <libm-alias-double.h>.
23838 (lrint): Define using libm_alias_double.
23839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23840 Include <libm-alias-double.h>.
23841 (lround): Define using libm_alias_double.
23842 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23843 <libm-alias-double.h>.
23844 (llrint): Define using libm_alias_double.
23845 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23846 <libm-alias-double.h>.
23847 (llround): Define using libm_alias_double.
23848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23849 <libm-alias-double.h>.
23850 (llround): Define using libm_alias_double.
23851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23852 <libm-alias-double.h>.
23853 (lround): Define using libm_alias_double.
23854 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23855 <libm-alias-double.h>.
23856 (copysign): Define using libm_alias_double.
23857 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23858 <libm-alias-double.h>.
23859 (llrint): Define using libm_alias_double.
23860 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23861 <libm-alias-double.h>.
23862 (llround): Define using libm_alias_double.
23863 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23864 <libm-alias-double.h>.
23865 (lrint): Define using libm_alias_double.
23866 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23867 <libm-alias-double.h>.
23868 (lround): Define using libm_alias_double.
23869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23870 <libm-alias-double.h>.
23871 (copysign): Define using libm_alias_double.
23872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23873 <libm-alias-double.h>.
23874 (llrint): Define using libm_alias_double.
23875 (lrint): Likewise.
23876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23877 <libm-alias-double.h>.
23878 (llround): Define using libm_alias_double.
23879 (lround): Likewise.
23880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23881 <libm-alias-double.h>.
23882 (logb): Define using libm_alias_double.
23883 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23884 <libm-alias-double.h>.
23885 (copysign): Define using libm_alias_double.
23886 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23887 <libm-alias-double.h>.
23888 (llrint): Define using libm_alias_double.
23889 (lrint): Likewise.
23890 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23891 <libm-alias-double.h>.
23892 (llround): Define using libm_alias_double.
23893 (lround): Likewise.
23894 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23895 <libm-alias-double.h>.
23896 (llround): Define using libm_alias_double.
23897 (lround): Likewise.
23898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23899 <libm-alias-double.h>.
23900 (copysign): Define using libm_alias_double.
23901 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23902 <libm-alias-double.h>.
23903 (llrint): Define using libm_alias_double.
23904 (lrint): Likewise.
23905 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23906 <libm-alias-double.h>.
23907 (llround): Define using libm_alias_double.
23908 (lround): Likewise.
23909 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23910 <libm-alias-double.h>.
23911 (llrint): Define using libm_alias_double.
23912 (lrint): Likewise.
23913 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23914 <libm-alias-double.h>.
23915 (llround): Define using libm_alias_double.
23916 (lround): Likewise.
23917
ec2cf3f4
JM
239182017-12-01 Joseph Myers <joseph@codesourcery.com>
23919
0ddde474
JM
23920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23921 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23922 compat symbol based on llround.
23923
0d5ba561
JM
23924 * sysdeps/powerpc/power7/fpu/s_logb.c
23925 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23926 symbol based on __logb, not on logb.
23927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23928 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23930 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23931
51ea3b20
JM
23932 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23933 (rint): Define using libm_alias_double.
23934 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23935 <libm-alias-double.h>.
23936 (modf): Define using libm_alias_double.
23937 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23938 <libm-alias-double.h>.
23939 (ceil): Define using libm_alias_double.
23940 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23941 <libm-alias-double.h>.
23942 (floor): Define using libm_alias_double.
23943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23944 <libm-alias-double.h>.
23945 (nearbyint): Define using libm_alias_double.
23946 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23947 <libm-alias-double.h>.
23948 (rint): Define using libm_alias_double.
23949 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23950 <libm-alias-double.h>.
23951 (round): Define using libm_alias_double.
23952 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23953 <libm-alias-double.h>.
23954 (trunc): Define using libm_alias_double.
23955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23956 <libm-alias-double.h>.
23957 (ceil): Define using libm_alias_double.
23958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23959 Include <libm-alias-double.h>.
23960 (floor): Define using libm_alias_double.
23961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23962 <libm-alias-double.h>.
23963 (modf): Define using libm_alias_double.
23964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23965 Include <libm-alias-double.h>.
23966 (round): Define using libm_alias_double.
23967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23968 Include <libm-alias-double.h>.
23969 (trunc): Define using libm_alias_double.
23970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23971 <libm-alias-double.h>.
23972 (ceil): Define using libm_alias_double.
23973 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23974 <libm-alias-double.h>.
23975 (floor): Define using libm_alias_double.
23976 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23977 <libm-alias-double.h>.
23978 (round): Define using libm_alias_double.
23979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23980 <libm-alias-double.h>.
23981 (trunc): Define using libm_alias_double.
23982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23983 <libm-alias-double.h>.
23984 (ceil): Define using libm_alias_double.
23985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23986 <libm-alias-double.h>.
23987 (floor): Define using libm_alias_double.
23988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23989 <libm-alias-double.h>.
23990 (modf): Define using libm_alias_double.
23991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23992 <libm-alias-double.h>.
23993 (round): Define using libm_alias_double.
23994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23995 <libm-alias-double.h>.
23996 (trunc): Define using libm_alias_double.
23997 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23998 <libm-alias-double.h>.
23999 (ceil): Define using libm_alias_double.
24000 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24001 <libm-alias-double.h>.
24002 (floor): Define using libm_alias_double.
24003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24004 <libm-alias-double.h>.
24005 (nearbyint): Define using libm_alias_double.
24006 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24007 <libm-alias-double.h>.
24008 (rint): Define using libm_alias_double.
24009 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24010 <libm-alias-double.h>.
24011 (round): Define using libm_alias_double.
24012 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24013 <libm-alias-double.h>.
24014 (trunc): Define using libm_alias_double.
24015 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24016 <libm-alias-double.h>.
24017 (ceil): Define using libm_alias_double.
24018 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24019 <libm-alias-double.h>.
24020 (floor): Define using libm_alias_double.
24021 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24022 <libm-alias-double.h>.
24023 (round): Define using libm_alias_double.
24024 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24025 <libm-alias-double.h>.
24026 (trunc): Define using libm_alias_double.
24027
ec2cf3f4
JM
24028 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24029 (fabs): Define using libm_alias_double.
24030 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24031 (fma): Define using libm_alias_double.
24032 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24033 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24034 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24035 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24036
5b7bd975
AZ
240372017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24038
0594b13f
AZ
24039 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24040
dbdfcf3b
AZ
24041 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24042 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24043 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24044
5b7bd975
AZ
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24046 due redirect macro.
24047
ef9ecfa6
AS
240482017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24049
24050 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24051
5b4e5e78
AZ
240522017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24053
2a14526b
AZ
24054 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24055 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24056 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24057 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24058
dbeb74ef 24059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
24060 (libm-sysdep_routines): Add s_nearbyintf-generic and
24061 s_nearbyint-generic.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24063 New file.
24064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24066 Likewise.
24067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24068 Likewise.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24070 file.
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24072 Likewise.
24073
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
24075 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24077 file.
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24080 Likewise.
24081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24084
fa7ded96
AZ
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24086 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24088 file.
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24091 Likewise.
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24095
e240cf0e
AZ
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24097 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24099 file.
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24102 Likewise.
24103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24106
5b4e5e78
AZ
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24108 (sysdep_calls): New rule.
24109 (sysdep_routines): Use sysdep_calls as base.
24110 (libm-sysdep_routines): Add generic rule for symbols shared with
24111 libc. Add s_copysign-generic and s_copysign-generic objects.
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24113 New file.
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24116 Likewise.
24117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24120
d985adae
MF
241212017-12-01 Mike FABIAN <mfabian@redhat.com>
24122
24123 [BZ #22519]
24124 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24125 the list of locales to be built for testing.
24126 * localedata/is_IS.UTF-8.in: New file.
24127 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24128 on iso14651_t1.
24129
ff84a0e0
JM
241302017-12-01 Joseph Myers <joseph@codesourcery.com>
24131
24132 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24133 <libm-alias-float.h>.
24134 (fabsf): Define using libm_alias_float.
24135
ef5d8b43
L
241362017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24137
24138 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24139
c0535adf
JM
241402017-11-30 Joseph Myers <joseph@codesourcery.com>
24141
f938b397
JM
24142 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24143 <libm-alias-float.h>.
24144 (fabsf): Define using libm_alias_float.
24145 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24146 <libm-alias-float.h>.
24147 (lrintf): Define using libm_alias_float.
24148 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24149 <libm-alias-float.h>.
24150 (rintf): Define using libm_alias_float.
24151
2251fad0
JM
24152 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24153 <libm-alias-double.h>.
24154 (fabs): Define using libm_alias_double.
24155 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24156 <libm-alias-double.h>.
24157 (lrint): Define using libm_alias_double.
24158 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24159 <libm-alias-double.h>.
24160 (rint): Define using libm_alias_double.
24161
e53df1de
JM
24162 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24163 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24164 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24165 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24166 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24167 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24168 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24169 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24170 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24171 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24172 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24173 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24174 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24175 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24176 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24177 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24178 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24179 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24180 s_atan_template.c.
24181 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24182 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24183 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24184 s_ceil_template.c.
24185 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24186 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24187 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24188 s_cos_template.c.
24189 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24190 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24191 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24192 s_expm1_template.c.
24193 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24194 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24195 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24196 s_fabs_template.c.
24197 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24198 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24199 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24200 s_floor_template.c.
24201 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24202 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24203 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24204 s_frexp_template.c.
24205 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24206 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24207 s_lrint_template.c.
24208 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24209 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24210 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24211 s_modf_template.c.
24212 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24213 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24214 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24215 s_nearbyint_template.c.
24216 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24217 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24218 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24219 s_remquo_template.c.
24220 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24221 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24222 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24223 s_rint_template.c.
24224 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24225 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24226 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24227 s_sin_template.c.
24228 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24229 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24230 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24231 s_sincos_template.c.
24232 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24233 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24234 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24235 s_tan_template.c.
24236 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24237 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24238 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24239 s_tanh_template.c.
24240 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24241 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24242 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24243 s_trunc_template.c.
24244 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24245 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24246 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24247 s_atan.c instead of including s_atan.c.
24248 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24249 s_atanf.c instead of including s_atanf.c.
24250 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24251 s_atanl.c instead of including s_atanl.c.
24252 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24253 instead of s_atan.c.
24254 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24255 instead of s_atanf.c.
24256 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24257 instead of s_atanl.c.
24258
c0535adf
JM
24259 * scripts/update-copyrights: Do not handle intl/plural.c
24260 specially.
24261
1faaf703
JB
242622017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24263
24264 [BZ #22432]
24265 * configure.ac (BISON): Require to be present.
24266 * configure: Regenerated.
24267 * intl/Makefile (generated): Add plural.c.
24268 [$(BISON) != no]: Make code unconditional.
24269 (plural.c): Change rule to $(objpfx)plural.c.
24270 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24271 * intl/plural.c: Remove.
24272 * manual/install.texi (Tools for Compilation): Document bison as
24273 required.
24274 * INSTALL: Regenerated.
24275
faec6323
JM
242762017-11-30 Joseph Myers <joseph@codesourcery.com>
24277
bd6ea9ed
JM
24278 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24279 <libm-alias-double.h>.
24280 (llrint): Define using libm_alias_double.
24281 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24282 <libm-alias-float.h>.
24283 (llrintf): Define using libm_alias_float.
24284 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24285 <libm-alias-ldouble.h>.
24286 (llrintl): Define using libm_alias_ldouble.
24287
faec6323
JM
24288 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24289 declare_mgen_alias instead of weak_alias.
24290 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24291 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24292 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24293
023cade3
AZ
242942017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24295
9e2279a0
AZ
24296 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24297 Add add_n-generic.
24298 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24299 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24300 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24301
75f37c71
AZ
24302 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24303 Add submul_1-generic.
24304 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24305 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24306 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24307
b70cbbfc 24308 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
24309 Add addmul_1-generic.
24310 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24311 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24312 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24313
24314 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
24315 Add sub_n-generic.
24316 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24317 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24318 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24319
023cade3
AZ
24320 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24321 Add mul_1-generic.
24322 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24323 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24324 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24325
fbb5fd03
MF
243262017-11-30 Mike FABIAN <mfabian@redhat.com>
24327
24328 According to CLDR, collation rules for Serbian and Bosnian
24329 should be the same as for Croatian.
24330
24331 [BZ #22534]
24332 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24333 and to the list of locales to be built for testing.
24334 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24335 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24336 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24337 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24338
5e56e937
MF
243392017-11-30 Mike FABIAN <mfabian@redhat.com>
24340
24341 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24342 to make test case pass.
24343 * localedata/hr_HR.UTF-8.in: Add more test strings.
24344
cf4341ca
MF
243452017-11-30 Mike FABIAN <mfabian@redhat.com>
24346
24347 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24348
363e4519 243492017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
24350
24351 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24352 the list of locales to built for testing.
24353 * localedata/hr_HR.UTF-8.in: New file.
24354
363e4519 243552017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
24356
24357 [BZ #10580]
24358 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24359 iso14651_t1.
24360 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24361 CLDR (except use ligatures for the digraphs, CLDR does not use
24362 the ligatures), add first_workday, some fixes in the date and time
24363 formats.
24364 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24365 for Đ and đ.
24366 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24367 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24368 Add int_p_cs_precedes and int_n_cs_precedes.
24369 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24370 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24371 LC_MONETARY now).
24372 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24373 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24374 name_miss.
24375 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24376 and lang_lib. Change postal_fmt.
24377
f33632cc
L
243782017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24379
24380 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24381 <setjmp.h>.
24382 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24383 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24384 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24385 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24386 * sysdeps/generic/setjmpP.h: New file.
24387 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24388 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24389 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24390 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24391 Add jmp_buf-ssp.sym.
24392 (tests): Add tst-saved_mask-1.
24393
34697694
AS
243942017-11-30 Arjun Shankar <arjun@redhat.com>
24395
24396 [BZ #22375]
37ac8e63 24397 CVE-2017-17426
34697694
AS
24398 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24399 instead of request2size.
24400
3e5efdbd
JM
244012017-11-30 Joseph Myers <joseph@codesourcery.com>
24402
18305fba
JM
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24404 (__lllrint): Remove alias.
24405 (lllrint): Likewise.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24407 (__lllrintf): Likewise.
24408 (lllrintf): Likewise.
24409
3e5efdbd
JM
24410 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24411 <libm-alias-float.h>.
24412 (copysignf): Define using libm_alias_float.
24413 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24414 <libm-alias-float.h>.
24415 (fabsf): Define using libm_alias_float.
24416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24417 Include <libm-alias-float.h>.
24418 (copysignf): Define using libm_alias_float.
24419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24420 <libm-alias-float.h>.
24421 (fabsf): Define using libm_alias_float.
24422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24423 <libm-alias-float.h>.
24424 (fdimf): Define using libm_alias_float.
24425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24426 <libm-alias-float.h>.
24427 (fmaf): Define using libm_alias_float.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24429 <libm-alias-float.h>.
24430 (llrintf): Define using libm_alias_float.
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24432 Include <libm-alias-float.h>.
24433 (nearbyintf): Define using libm_alias_float.
24434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24435 <libm-alias-float.h>.
24436 (rintf): Define using libm_alias_float.
24437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24438 <libm-alias-float.h>.
24439 (llrintf): Define using libm_alias_float.
24440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24441 <libm-alias-float.h>.
24442 (lrintf): Define using libm_alias_float.
24443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24444 <libm-alias-float.h>.
24445 (nearbyintf): Define using libm_alias_float.
24446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24447 <libm-alias-float.h>.
24448 (rintf): Define using libm_alias_float.
24449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24450 <libm-alias-float.h>.
24451 (ceilf): Define using libm_alias_float.
24452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24453 <libm-alias-float.h>.
24454 (floorf): Define using libm_alias_float.
24455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24456 <libm-alias-float.h>.
24457 (fmaf): Define using libm_alias_float.
24458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24459 <libm-alias-float.h>.
24460 (lrintf): Define using libm_alias_float.
24461 (llrintf): Likewise.
24462 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24463 <libm-alias-float.h>.
24464 (nearbyintf): Define using libm_alias_float.
24465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24466 <libm-alias-float.h>.
24467 (rintf): Define using libm_alias_float.
24468 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24469 <libm-alias-float.h>.
24470 (truncf): Define using libm_alias_float.
24471 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24472 <libm-alias-float.h>.
24473 (copysignf): Define using libm_alias_float.
24474 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24475 <libm-alias-float.h>.
24476 (fabsf): Define using libm_alias_float.
24477 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24478 <libm-alias-float.h>.
24479 (lrintf): Define using libm_alias_float.
24480 (llrintf): Likewise.
24481 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24482 <libm-alias-float.h>.
24483 (nearbyintf): Define using libm_alias_float.
24484 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24485 <libm-alias-float.h>.
24486 (rintf): Define using libm_alias_float.
24487
011fba7e
JM
244882017-11-29 Joseph Myers <joseph@codesourcery.com>
24489
875cd548
JM
24490 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24491 <libm-alias-double.h>.
24492 (copysign): Define using libm_alias_double.
24493 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24494 <libm-alias-double.h>.
24495 (fabs): Define using libm_alias_double.
24496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24497 Include <libm-alias-double.h>.
24498 (copysign): Define using libm_alias_double.
24499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24500 <libm-alias-double.h>.
24501 (fabs): Define using libm_alias_double.
24502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24503 <libm-alias-double.h>.
24504 (fdim): Define using libm_alias_double.
24505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24506 <libm-alias-double.h>.
24507 (fma): Define using libm_alias_double.
24508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24509 <libm-alias-double.h>.
24510 (llrint): Define using libm_alias_double.
24511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24512 Include <libm-alias-double.h>.
24513 (nearbyint): Define using libm_alias_double.
24514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24515 <libm-alias-double.h>.
24516 (rint): Define using libm_alias_double.
24517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24518 <libm-alias-double.h>.
24519 (fabs): Define using libm_alias_double.
24520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24521 <libm-alias-double.h>.
24522 (llrint): Define using libm_alias_double.
24523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24524 <libm-alias-double.h>.
24525 (nearbyint): Define using libm_alias_double.
24526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24527 <libm-alias-double.h>.
24528 (rint): Define using libm_alias_double.
24529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24530 <libm-alias-double.h>.
24531 (ceil): Define using libm_alias_double.
24532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24533 <libm-alias-double.h>.
24534 (floor): Define using libm_alias_double.
24535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24536 <libm-alias-double.h>.
24537 (fma): Define using libm_alias_double.
24538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24539 <libm-alias-double.h>.
24540 (lrint): Define using libm_alias_double.
24541 (llrint): Likewise.
24542 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24543 <libm-alias-double.h>.
24544 (nearbyint): Define using libm_alias_double.
24545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24546 <libm-alias-double.h>.
24547 (rint): Define using libm_alias_double.
24548 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24549 <libm-alias-double.h>.
24550 (trunc): Define using libm_alias_double.
24551 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24552 <libm-alias-double.h>.
24553 (copysign): Define using libm_alias_double.
24554 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24555 <libm-alias-double.h>.
24556 (fabs): Define using libm_alias_double.
24557 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24558 <libm-alias-double.h>.
24559 (lrint): Define using libm_alias_double.
24560 (llrint): Likewise.
24561 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24562 <libm-alias-double.h>.
24563 (nearbyint): Define using libm_alias_double.
24564 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24565 <libm-alias-double.h>.
24566 (rint): Define using libm_alias_double.
24567
cf4ebc27
JM
24568 [BZ #22229]
24569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24570 <math_ldbl_opt.h>.
24571 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24572
0c097378
JM
24573 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24574 SPARC --disable-multi-arch glibc variants.
24575
34bb10aa
JM
24576 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24577 <libm-alias-float.h>.
24578 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24579 if [SHARED].
24580 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24581 <libm-alias-float.h>.
24582 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24583 if [SHARED].
24584 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24585 <libm-alias-float.h>.
24586 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24587 if [SHARED].
24588 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24589 <libm-alias-float.h>.
24590 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24591 if [SHARED].
24592 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24593 <libm-alias-float.h>.
24594 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24595 if [SHARED].
24596 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24597 <libm-alias-float.h>.
24598 (ceilf): Define using libm_alias_float.
24599 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24600 <libm-alias-float.h>.
24601 (floorf): Define using libm_alias_float.
24602 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24603 <libm-alias-float.h>.
24604 (fmaf): Define using libm_alias_float.
24605 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24606 <libm-alias-float.h>.
24607 (nearbyintf): Define using libm_alias_float.
24608 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24609 <libm-alias-float.h>.
24610 (rintf): Define using libm_alias_float.
24611 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24612 <libm-alias-float.h>.
24613 (truncf): Define using libm_alias_float.
24614 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24615 (copysignf): Define using libm_alias_float.
24616 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24617 (cosf): Define using libm_alias_float.
24618 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24619 (fabsf): Define using libm_alias_float.
24620 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24621 (fmaxf): Define using libm_alias_float.
24622 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24623 (fminf): Define using libm_alias_float.
24624 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24625 (llrintf): Define using libm_alias_float.
24626 [!__ILP32__] (lrintf): Likewise.
24627 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24628 (sincosf): Define using libm_alias_float.
24629 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24630 (sinf): Define using libm_alias_float.
24631 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24632 (lrintf): Define using libm_alias_float.
24633
011fba7e
JM
24634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24635 <libm-alias-double.h>.
24636 (atan): Define using libm_alias_double.
24637 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24638 <libm-alias-double.h>.
24639 (ceil): Define using libm_alias_double.
24640 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24641 <libm-alias-double.h>.
24642 (floor): Define using libm_alias_double.
24643 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24644 <libm-alias-double.h>.
24645 (fma): Define using libm_alias_double.
24646 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24647 <libm-alias-double.h>.
24648 (nearbyint): Define using libm_alias_double.
24649 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24650 <libm-alias-double.h>.
24651 (rint): Define using libm_alias_double.
24652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24653 <libm-alias-double.h>.
24654 (sin): Define using libm_alias_double.
24655 (cos): Likewise.
24656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24657 <libm-alias-double.h>.
24658 (tan): Define using libm_alias_double.
24659 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24660 <libm-alias-double.h>.
24661 (trunc): Define using libm_alias_double.
24662 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24663 (copysign): Define using libm_alias_double.
24664 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24665 (fabs): Define using libm_alias_double.
24666 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24667 (fmax): Define using libm_alias_double.
24668 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24669 (fmin): Define using libm_alias_double.
24670 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24671 (llrint): Define using libm_alias_double.
24672 [!__ILP32__] (lrint): Likewise.
24673 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24674 (lrint): Define using libm_alias_double.
24675
1cbd7bfe
AZ
246762017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24677
21bfcc3d
AZ
24678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24679 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24680 objects.
24681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24687
522228dd
AZ
24688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24689 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24690 objects.
24691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24695 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24697
2a6f4fab
AZ
24698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24699 (libm-sysdep_routines): Add s_nearbyint-generic and
24700 s_nearbyintf-generic objects.
24701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24702 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24705 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24707
712b5b83
AZ
24708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24709 Add s_finitef-generic and s_finite-generic objects.
24710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24716
c96d3335
AZ
24717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24718 Add s_isinff-generic and s_isinf-generic objects.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24725
c6862a23
AZ
24726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24727 Add s_isnanf-generic and s_isnan-generic objects.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24734
1cbd7bfe
AZ
24735 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24736 macro.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24738 rule.
24739 (sysdep_routines): Use sysdep_calls as base.
24740 (libm-sysdep_routines): Add generic rule for symbols shared with
24741 libc. Add s_signbit-generic and s_signbitf-generic objects.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24744 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24748
aa1142c5
JM
247492017-11-29 Joseph Myers <joseph@codesourcery.com>
24750
24751 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24752 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24753 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24754 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24755 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24756 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24757 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24758 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24759 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24760 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24761 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24762 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24763 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24764 libm_alias_float_r.
24765 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24766 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24767 (logf): Likewise.
24768 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24769 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24770 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24771 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24772 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24773 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24774 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24775 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24776 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24777 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24778 libm_alias_float.
24779 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24780 (cosf): Likewise.
24781 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24782 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24783 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24784 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24785 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24786 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24787 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24788 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24789 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24790 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24791 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24792 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24793 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24794 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24795 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24796 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24797 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24798 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24799 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24800 libm_alias_float.
24801 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24802 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24803 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24804 * sysdeps/ia64/fpu/w_lgammaf_main.c
24805 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24806 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24807
363e4519
DL
248082017-11-28 Mike FABIAN <mfabian@redhat.com>
24809 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
24810
24811 [BZ #17750]
24812 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24813 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24814 accents sorting.
24815 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24816 sorting.
24817 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24818 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24819 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24820 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24821 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24822 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24823 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24824 instead of “ifdef DIACRIT_BACKWARD”.
24825
a55430cb
AZ
248262017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24827
24828 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24829 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24830 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24831 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24832 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24833 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24840 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24841 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24842 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24843 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24844 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24845 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24847 ($(have-as-vis3) == yes): Remove conditional.
24848 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24849 Likewise.
24850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24851 file.
24852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24853 file.
24854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24855 file.
24856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24857 file.
24858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24866
0609ec0a
JM
248672017-11-29 Joseph Myers <joseph@codesourcery.com>
24868
24869 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24870 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24871 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24872 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24873 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24874 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24875 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24876 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24877 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24878 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24879 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24880 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24881 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24882 libm_alias_double_r.
24883 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24884 (log): Likewise.
24885 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24886 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24887 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24888 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24889 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24890 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24891 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24892 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24893 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24894 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24895 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24896 libm_alias_double.
24897 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24898 (cos): Likewise.
24899 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24900 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24901 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24902 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24903 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24904 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24905 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24906 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24907 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24908 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24909 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24910 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24911 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24912 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24913 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24914 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24915 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24916 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24917 libm_alias_double.
24918 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24919 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24920 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24921 * sysdeps/ia64/fpu/w_lgamma_main.c
24922 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24923 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24924
d5bfa34a
JDA
249252017-11-28 John David Anglin <danglin@gcc.gnu.org>
24926
24927 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24928 address of $global$ into %dp register earlier. Use pc-relative
24929 instruction sequence for PIC case.
24930
bc4e8f9b
JM
249312017-11-28 Joseph Myers <joseph@codesourcery.com>
24932
e4602cba
JM
24933 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24934 (asinhf): Define using libm_alias_float.
24935 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24936 (atanf): Define using libm_alias_float.
24937 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24938 (cbrtf): Define using libm_alias_float.
24939 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24940 (ceilf): Define using libm_alias_float.
24941 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24942 (copysignf): Define using libm_alias_float.
24943 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24944 (expm1f): Define using libm_alias_float.
24945 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24946 (fabsf): Define using libm_alias_float.
24947 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24948 (floorf): Define using libm_alias_float.
24949 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24950 (fmaxf): Define using libm_alias_float.
24951 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24952 (fminf): Define using libm_alias_float.
24953 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24954 (frexpf): Define using libm_alias_float.
24955 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24956 (llrintf): Define using libm_alias_float.
24957 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24958 (logbf): Define using libm_alias_float.
24959 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24960 (lrintf): Define using libm_alias_float.
24961 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24962 (nearbyintf): Define using libm_alias_float.
24963 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24964 (remquof): Define using libm_alias_float.
24965 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24966 (rintf): Define using libm_alias_float.
24967 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24968 (truncf): Define using libm_alias_float.
24969 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24970 <libm-alias-float.h>.
24971 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24972 if [SHARED].
24973 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24974 <libm-alias-float.h>.
24975 (expf): Define using libm_alias_float, or libm_alias_float_other
24976 if [SHARED].
24977 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24978 <libm-alias-float.h>.
24979 (log2f): Define using libm_alias_float, or libm_alias_float_other
24980 if [SHARED].
24981 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24982 <libm-alias-float.h>.
24983 (logf): Define using libm_alias_float, or libm_alias_float_other
24984 if [SHARED].
24985 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24986 <libm-alias-float.h>.
24987 (powf): Define using libm_alias_float, or libm_alias_float_other
24988 if [SHARED].
24989 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24990 <libm-alias-float.h>.
24991 (cosf): Define using libm_alias_float.
24992 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24993 <libm-alias-float.h>.
24994 (sincosf): Define using libm_alias_float.
24995 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24996 <libm-alias-float.h>.
24997 (sinf): Define using libm_alias_float.
24998 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24999 (fmaxf): Define using libm_alias_float.
25000 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25001 (fminf): Define using libm_alias_float.
25002 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25003 <libm-alias-float.h>.
25004 (fmaf): Define using libm_alias_float.
25005
bc4e8f9b
JM
25006 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25007 (asinh): Define using libm_alias_double.
25008 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25009 (atan): Define using libm_alias_double.
25010 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25011 (cbrt): Define using libm_alias_double.
25012 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25013 (ceil): Define using libm_alias_double.
25014 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25015 (copysign): Define using libm_alias_double.
25016 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25017 (expm1): Define using libm_alias_double.
25018 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25019 (fabs): Define using libm_alias_double.
25020 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25021 (fdim): Define using libm_alias_double.
25022 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25023 (floor): Define using libm_alias_double.
25024 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25025 (fmax): Define using libm_alias_double.
25026 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25027 (fmin): Define using libm_alias_double.
25028 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25029 (frexp): Define using libm_alias_double.
25030 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25031 (llrint): Define using libm_alias_double.
25032 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25033 (logb): Define using libm_alias_double.
25034 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25035 (lrint): Define using libm_alias_double.
25036 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25037 (nearbyint): Define using libm_alias_double.
25038 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25039 (remquo): Define using libm_alias_double.
25040 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25041 (rint): Define using libm_alias_double.
25042 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25043 (trunc): Define using libm_alias_double.
25044 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25045 (fmax): Define using libm_alias_double.
25046 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25047 (fmin): Define using libm_alias_double.
25048 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25049 (fma): Define using libm_alias_double.
25050
8d81ce0c
L
250512017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25052
25053 [BZ #22370]
25054 * elf/dl-hwcaps.c (ROUND): Removed.
25055 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25056 and ELF_NOTE_NEXT_OFFSET.
25057 * elf/dl-load.c (ROUND): Removed.
25058 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25059 * elf/readelflib.c (ROUND): Removed.
25060 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25061 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25062 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25063 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25064
6940bd96
JM
250652017-11-28 Joseph Myers <joseph@codesourcery.com>
25066
313ba463
JM
25067 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25068 [!__fmaf] (fmaf): Define using libm_alias_float.
25069
6940bd96
JM
25070 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25071 [!__fma] (fma): Define using libm_alias_double.
25072 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25073
22c69b6a
MF
250742017-11-28 Mike FABIAN <mfabian@redhat.com>
25075
25076 [BZ #22336]
25077 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25078 and implement the collation rules for cs from CLDR on top of that.
25079 * Makefile: Add cs_CZ.UTF-8 to test-input.
25080 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25081
8d7d3ba8
SP
250822017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25083
25084 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25085
0422ed1e
VR
250862017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25087 Icarus Sparry <icarus.w.sparry@intel.com>
25088
25089 * benchtests/Makefile:Add BENCHSET to allow subsets of
25090 benchmarks to be run.
25091 * benchtests/README: Add documentation for: Running subsets of
25092 benchmarks.
25093
0595e360
VR
250942017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25095
d5090db3
VR
25096 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25097 range of tests names.
25098
0595e360
VR
25099 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25100 result from property and remove "max", min" and "mean" from
25101 required properties based on benchtests/bench-skeleton.c.
25102
b4c645c2
FW
251032017-11-28 Florian Weimer <fweimer@redhat.com>
25104
25105 [BZ #20826]
25106 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25107 due to Internet requirement.
25108 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25109 tst-getaddrinfo5.
25110 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25111
88684de7
AZ
251122017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25113
69056564
AZ
25114 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25115 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25116 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25117 (sysdep_routines): Add memset-ultra1.
25118 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25119 file.
25120 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25121 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25122 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25123 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25124 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25125 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25126 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25128
88684de7
AZ
25129 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25130 file.
25131 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25132 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25133 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25134 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25135 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25136 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25137 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25138 macro.
25139 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25140 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25141 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25142 (sysdep_routines): Add memcpy-ultra1.
25143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25144 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25145
d8124864
JM
251462017-11-28 Joseph Myers <joseph@codesourcery.com>
25147
f433d0b3
JM
25148 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25149 (cfloat_versions): Take function argument without trailing 'f'.
25150 Call libm_alias_float_other.
25151 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25152 * sysdeps/alpha/fpu/cargf.c: Likewise.
25153 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25154 * sysdeps/alpha/fpu/conjf.c: Likewise.
25155 * sysdeps/alpha/fpu/crealf.c: Likewise.
25156 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25157 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25158 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25159 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25160 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25161 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25162 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25163 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25164 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25165 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25166 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25167 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25168 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25169 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25170 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25171 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25172 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25173 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25174 (clog10f): Use libm_alias_float_other.
25175 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25176 (ceilf): Define using libm_alias_float.
25177 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25178 (copysignf): Define using libm_alias_float.
25179 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25180 (fabsf): Define using libm_alias_float.
25181 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25182 (floorf): Define using libm_alias_float.
25183 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25184 (fmaxf): Define using libm_alias_float.
25185 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25186 (fminf): Define using libm_alias_float.
25187 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25188 (lrintf): Define using libm_alias_float.
25189 (llrintf): Likewise.
25190 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25191 (lroundf): Define using libm_alias_float.
25192 (llroundf): Likewise.
25193 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25194 (rintf): Define using libm_alias_float.
25195 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25196 (truncf): Define using libm_alias_float.
25197
15ff4900
JM
25198 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25199 (ceilf): Define using libm_alias_float.
25200 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25201 (floorf): Define using libm_alias_float.
25202 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25203 (fmaf): Define using libm_alias_float.
25204 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25205 (fmaxf): Define using libm_alias_float.
25206 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25207 (fminf): Define using libm_alias_float.
25208 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25209 (llrintf): Define using libm_alias_float.
25210 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25211 (llroundf): Define using libm_alias_float.
25212 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25213 (lrintf): Define using libm_alias_float.
25214 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25215 (lroundf): Define using libm_alias_float.
25216 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25217 <libm-alias-float.h>.
25218 (nearbyintf): Define using libm_alias_float.
25219 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25220 (rintf): Define using libm_alias_float.
25221 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25222 (roundf): Define using libm_alias_float.
25223 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25224 (truncf): Define using libm_alias_float.
25225
5de60638
JM
25226 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25227 (ceil): Define using libm_alias_double.
25228 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25229 (copysign): Define using libm_alias_double.
25230 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25231 (fabs): Define using libm_alias_double.
25232 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25233 (floor): Define using libm_alias_double.
25234 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25235 (fmax): Define using libm_alias_double.
25236 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25237 (fmin): Define using libm_alias_double.
25238 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25239 (lrint): Define using libm_alias_double.
25240 (llrint): Likewise.
25241 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25242 (lround): Define using libm_alias_double.
25243 (llround): Likewise.
25244 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25245 (rint): Define using libm_alias_double.
25246 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25247 (trunc): Define using libm_alias_double.
25248
d8124864
JM
25249 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25250 (libm_alias_double_r): Add semicolon after weak_alias call.
25251
f07d2ec8
JM
252522017-11-27 Joseph Myers <joseph@codesourcery.com>
25253
25254 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25255 (ceil): Define using libm_alias_double.
25256 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25257 (floor): Define using libm_alias_double.
25258 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25259 (fma): Define using libm_alias_double.
25260 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25261 (fmax): Define using libm_alias_double.
25262 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25263 (fmin): Define using libm_alias_double.
25264 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25265 (llrint): Define using libm_alias_double.
25266 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25267 (llround): Define using libm_alias_double.
25268 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25269 (lrint): Define using libm_alias_double.
25270 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25271 (lround): Define using libm_alias_double.
25272 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25273 (nearbyint): Define using libm_alias_double.
25274 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25275 (rint): Define using libm_alias_double.
25276 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25277 (round): Define using libm_alias_double.
25278 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25279 (trunc): Define using libm_alias_double.
25280
4bab0224
FW
252812017-11-27 Florian Weimer <fweimer@redhat.com>
25282
25283 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25284 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25285 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25286 (tests): Add tst-mlock2.
25287 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25289 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25290 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25291 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25292 for mlock. Document mlock2.
25293
a23aa5b7
JM
252942017-11-27 Joseph Myers <joseph@codesourcery.com>
25295
25296 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25297 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25298 Likewise.
25299 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25300 Likewise.
25301 * sysdeps/x86/Makeconfig: New file.
25302 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25303 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25304 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25305 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25306 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25307 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25308 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25309 Likewise.
25310 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25311 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25312 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25313 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25314 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25315 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25316 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25317 * manual/math.texi (Mathematics): Document support for _Float64x.
25318 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25319 * stdlib/Versions (GLIBC_2.27): Likewise.
25320 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25321 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25322 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25324 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25325 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25326 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25327 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25328 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25330 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25331 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25333 Likewise.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25335 Likewise.
25336 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25337 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25338 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25339 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25340 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25341 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25342 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25343 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25344 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25345 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25346 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25347 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25348 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25349 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25350
c2c299fd
AS
253512017-11-27 Andreas Schwab <schwab@suse.de>
25352
25353 * elf/Makefile (dl-routines): Add dl-sort-maps.
25354 * elf/dl-sort-maps.c: New file.
25355 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25356 (_dl_sort_maps): Declare.
25357 * elf/dl-fini.c (_dl_sort_fini): Remove.
25358 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25359 * elf/dl-close.c (_dl_close_worker): Likewise.
25360 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25361 open-coding it.
25362 * elf/dl-open.c (dl_open_worker): Likewise.
25363
9d4b0117
JM
253642017-11-24 Joseph Myers <joseph@codesourcery.com>
25365
de61465c
JM
25366 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25367 using libm_alias_float128.
25368 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25369 Likewise.
25370 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25371 Likewise.
25372 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25373 (setpayloadsigf128): Likewise.
25374 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25375 Likewise.
25376 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25377 Likewise.
25378
9ae6d171
JM
25379 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25380 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25381 -mfloat128 to CFLAGS.
25382 ($(foreach
25383 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25384 Likewise.
25385 (CFLAGS-libm-test-support-float64x.c): New variable.
25386 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25387 $(f128-loader-link) to gnulib-tests.
25388
6e70d156
JM
25389 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25390 (libm_alias_float128_other_r): If
25391 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25392 alias.
25393 (libm_alias_float128_r): Add semicolon after weak_alias call.
25394 * sysdeps/generic/libm-alias-ldouble.h
25395 (libm_alias_ldouble_other_r_f128): New macro.
25396 (libm_alias_ldouble_other_r_f64x): Likewise.
25397 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25398 and libm_alias_ldouble_other_r_f64x.
25399 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25400 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25401 (libm_alias_ldouble_other_r_f128): New macro.
25402 (libm_alias_ldouble_other_r_f64x): Likewise.
25403 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25404 and libm_alias_ldouble_other_r_f64x.
25405
df2806cd
JM
25406 * stdlib/strfroml.c: Always include <stdlib.h>.
25407 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25408 undefine as macro and define as weak alias.
25409 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25410 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25411 <stdlib.h>.
25412 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25413 Define and later undefine as macro and define as weak alias.
25414
0df4fe35
JM
25415 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25416 Define and later undefine as macro. Define as weak alias if
25417 [!USE_WIDE_CHAR].
25418 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25419 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25420 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25421 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25422 Define and later undefine as macro. Define as weak alias if
25423 [!USE_WIDE_CHAR].
25424 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25425 Define and later undefine as macro. Define as weak alias if
25426 [USE_WIDE_CHAR].
25427 * sysdeps/ieee754/float128/strtof128_l.c
25428 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25429 Define and later undefine as macro. Define as weak alias if
25430 [!USE_WIDE_CHAR].
25431 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25432 Define and later undefine as macro. Define as weak alias if
25433 [USE_WIDE_CHAR].
25434 * sysdeps/ieee754/ldbl-128/strtold_l.c
25435 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25436 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25437 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25438 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25439 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25440 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25441 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25442 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25443 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25444 * sysdeps/ieee754/ldbl-96/strtold_l.c
25445 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25446 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25447 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25448 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25449
ae7207d0
JM
25450 * math/test-float64x.h: New file.
25451 * math/Makefile (type-float64x-yes): New variable.
25452 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25453
9596fc69
JM
25454 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25455 function-like macro.
25456 (min_of_type_): Likewise.
25457 (min_of_type_l): Likewise.
25458 (min_of_type_f128): Likewise.
25459 (min_of_type): Pass () as last argument of __MATH_TG.
25460
46453c3c
JM
25461 * stdlib/tst-strtod-round-skeleton.c
25462 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25463 headers.
25464
01e659e7
JM
25465 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25466 for combinations of long double with _Float64 and _Float64x.
25467
5c60afdd
JM
25468 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25469 (__DECL_SIMD_cosf32): Likewise.
25470 (__DECL_SIMD_cosf64): Likewise.
25471 (__DECL_SIMD_cosf32x): Likewise.
25472 (__DECL_SIMD_cosf64x): Likewise.
25473 (__DECL_SIMD_cosf128x): Likewise.
25474 (__DECL_SIMD_sinf16): Likewise.
25475 (__DECL_SIMD_sinf32): Likewise.
25476 (__DECL_SIMD_sinf64): Likewise.
25477 (__DECL_SIMD_sinf32x): Likewise.
25478 (__DECL_SIMD_sinf64x): Likewise.
25479 (__DECL_SIMD_sinf128x): Likewise.
25480 (__DECL_SIMD_sincosf16): Likewise.
25481 (__DECL_SIMD_sincosf32): Likewise.
25482 (__DECL_SIMD_sincosf64): Likewise.
25483 (__DECL_SIMD_sincosf32x): Likewise.
25484 (__DECL_SIMD_sincosf64x): Likewise.
25485 (__DECL_SIMD_sincosf128x): Likewise.
25486 (__DECL_SIMD_logf16): Likewise.
25487 (__DECL_SIMD_logf32): Likewise.
25488 (__DECL_SIMD_logf64): Likewise.
25489 (__DECL_SIMD_logf32x): Likewise.
25490 (__DECL_SIMD_logf64x): Likewise.
25491 (__DECL_SIMD_logf128x): Likewise.
25492 (__DECL_SIMD_expf16): Likewise.
25493 (__DECL_SIMD_expf32): Likewise.
25494 (__DECL_SIMD_expf64): Likewise.
25495 (__DECL_SIMD_expf32x): Likewise.
25496 (__DECL_SIMD_expf64x): Likewise.
25497 (__DECL_SIMD_expf128x): Likewise.
25498 (__DECL_SIMD_powf16): Likewise.
25499 (__DECL_SIMD_powf32): Likewise.
25500 (__DECL_SIMD_powf64): Likewise.
25501 (__DECL_SIMD_powf32x): Likewise.
25502 (__DECL_SIMD_powf64x): Likewise.
25503 (__DECL_SIMD_powf128x): Likewise.
25504
9d4b0117
JM
25505 * stdlib/Versions (libc): Move entries for wcstof128 and
25506 wcstof128_l to ....
25507 * wcsmbs/Versions (libc): ... here.
25508 Include <float128-abi.h>.
25509
7911dd47
FW
255102017-11-24 Florian Weimer <fweimer@redhat.com>
25511
25512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25513 bits/mman-shared.h.
25514 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25515 <bits/mman-shared.h>.
25516 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25517 to ...
25518 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25519 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25520 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25521 <bits/mman-shared.h>.
25522
c45d78aa
AZ
255232017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25524
25525 [BZ #22457]
25526 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25527 posix_memalign/free.
25528 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25529
3ffc4cc1
MF
255302017-11-22 Mike FABIAN <mfabian@redhat.com>
25531
25532 [BZ #22469]
25533 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25534 and implement the collation rules for pl from CLDR on top of that.
25535 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25536 of locales to be built for testing.
25537 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25538
3a327316
JM
255392017-11-23 Joseph Myers <joseph@codesourcery.com>
25540
25541 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25542 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25543 libm_alias_ldouble_other.
25544 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25545 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25546 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25547 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25548 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25549 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25550 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25551 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25552 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25553 libm_alias_ldouble_r.
25554 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25555 libm_alias_ldouble_other.
25556 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25557 (log10l): Likewise.
25558 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25559 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25560 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25561 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25562 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25563 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25564 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25565 (atan2l): Likewise.
25566 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25567 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25568 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25569 libm_alias_ldouble.
25570 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25571 (cosl): Likewise.
25572 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25573 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25574 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25575 (expl): Likewise.
25576 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25577 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25578 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25579 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25580 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25581 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25582 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25583 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25584 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25585 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25586 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25587 libm_alias_ldouble.
25588 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25589 libm_alias_ldouble_other.
25590 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25591 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25592 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25593 libm_alias_ldouble.
25594 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25595 libm_alias_ldouble_other.
25596 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25597 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25598 * sysdeps/ia64/fpu/w_lgammal_main.c
25599 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25600 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25601
0a947e06
FW
256022017-11-23 Florian Weimer <fweimer@redhat.com>
25603
25604 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25605 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25606 alike. Remove freeres marker.
25607 * malloc/arena.c (arena_thread_freeres): Call
25608 tcache_thread_shutdown.
25609
67f36c79
FW
256102017-11-23 Florian Weimer <fweimer@redhat.com>
25611
25612 [BZ #22459]
25613 Export nscd hash function as __nss_hash.
25614 * include/nss.h (__nss_hash): Declare.
25615 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25616 symbol.
25617 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25618 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25619 of __nscd_hash.
25620 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25621 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25622 * nss/Makefiles (routines): Add nss_hash.
25623 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25624 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25625 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25626 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25627
cccb6d4e
FW
256282017-11-23 Florian Weimer <fweimer@redhat.com>
25629
25630 [BZ #22478]
25631 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25632 Return error code, not -1.
25633 * signal/tst-sigwait-eintr.c: New file.
25634 * signal/Makefile (tests): Add tst-sigwait-eintr.
25635
59d2cbb1
FW
256362017-11-23 Florian Weimer <fweimer@redhat.com>
25637
25638 Linux: Add memfd_create system call wrapper
25639 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25640 tst-memfd_create.
25641 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25642 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25643 [__USE_GNU] (memfd_create): Declare.
25644 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25645 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25646 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25647 * sysdeps/unix/sysv/linux/**.abilist: Update.
25648 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25649
a90d1ac2
JM
256502017-11-22 Joseph Myers <joseph@codesourcery.com>
25651
0a9d1d62
JM
25652 * localedata/gen-locale.sh: Fix typo in variable name.
25653
754034c4
JM
25654 * resolv/res_debug.c (p_secstodate): Condition definition on
25655 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25656 directly as __p_secstodate, and as a compat symbol. Do not use
25657 libresolv_hidden_def.
25658 * resolv/resolv.h (p_secstodate): Remove macro and function
25659 declaration.
25660 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25661 using p_secstodate.
25662 * include/resolv.h (__p_secstodate): Do not use
25663 libresolv_hidden_proto.
25664 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25665 (tests-internal): ... here.
25666 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25667 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25668 and declare and use __p_secstodate and use compat_symbol_reference
25669 in that case.
25670 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25671 implementation returning 77.
25672
f120cda6
JM
25673 [BZ #22463]
25674 * resolv/res_debug.c: Include <libc-diag.h>.
25675 (p_secstodate): Assert time_t at least as wide as u_long. On
25676 overflow, use integer seconds since the epoch as output, or use
25677 "<overflow>" as output and set errno to EOVERFLOW if integer
25678 seconds since the epoch would be 14 or more characters.
25679 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25680 for sprintf call.
25681 * resolv/tst-p_secstodate.c: New file.
25682 * resolv/Makefile (tests): Add tst-p_secstodate.
25683 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25684
a90d1ac2
JM
25685 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25686 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25687 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25688
0285e6bd
PE
256892017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25690
25691 * posix/regcomp.c (init_word_char): Add comments.
25692
4bae6150
JM
256932017-11-22 Joseph Myers <joseph@codesourcery.com>
25694
25695 [BZ #22447]
25696 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25697 strlen to compute length of ut_user and set trailing NUL byte of
25698 result explicitly.
25699
4b7af5fc
MF
257002017-11-21 Mike FABIAN <mfabian@redhat.com>
25701
25702 [BZ #15537]
25703 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25704 using “copy "iso14651_t1"” and then implementing the
25705 collation rules for lv from CLDR on top of that.
25706 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25707 of locales to be built for testing.
25708 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25709 sorting.
25710
922bb78c
JM
257112017-11-21 Joseph Myers <joseph@codesourcery.com>
25712
25713 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25714 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25715 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25716 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25717 [__USE_MISC] (MADV_HWPOISON): New macro.
25718 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25719
a3aaa598
AZ
257202017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25721
25722 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25723 -Wmissing-braces on GCC 4.9.
25724
8beba15d
SL
257252017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25726
25727 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25728 * sysdeps/s390/s390-32/start.S (_start): Likewise
25729 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25730 (thread_start): Likewise.
25731 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25732 (thread_start): Likewise.
25733 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25734 (__makecontext_ret): Likewise.
25735 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25736 (__makecontext_ret): Likewise.
25737
80eb52e3
SL
257382017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25739
25740 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25741 __wcschrnul): Remove attribute_hidden.
25742
567d8c1f
PE
257432017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25744
25745 regex: don't assume uint64_t or uint32_t
25746 This avoids -Werror=overflow errors for 32-bit systems in
25747 the 64-bit case. Problem reported by Joseph Myers in:
25748 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25749 Also, when this code is used in Gnulib it ports to platforms
25750 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25751 them, and on some 32-bit compilers there is no uint64_t.
25752 Problem reported by Gianluigi Tiesi in:
25753 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25754 * posix/regcomp.c (init_word_char): Don't assume that the types
25755 uint64_t and uint32_t exist. Adapted from Gnulib patch
25756 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25757 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25758
4d7632ff
SP
257592017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25760
5a67c4fa
SP
25761 * sysdeps/aarch64/memset-reg.h: New file.
25762 * sysdeps/aarch64/memset.S: Use it.
25763 (__memset): Rename to MEMSET macro.
25764 [ZVA_MACRO]: Use zva_macro.
25765 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25766 Add memset_generic and memset_falkor.
25767 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25768 (__libc_ifunc_impl_list): Add memset ifuncs.
25769 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25770 local variable zva_size.
25771 * sysdeps/aarch64/multiarch/memset.c: New file.
25772 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25773 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25774 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25775 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25776 (DCZID_DZP_MASK): New macro.
25777 (DCZID_BS_MASK): Likewise.
25778 (init_cpu_features): Read and set zva_size.
25779 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25780 (struct cpu_features): New member zva_size.
25781
eb332f9f
SP
25782 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25783 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25784 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25785
4d7632ff
SP
25786 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25787 backwards. Fix timing computation.
25788 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25789 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25790 on memset by N at a time. Fix timing computation.
25791
a465b89e
FW
257922017-11-20 Florian Weimer <fweimer@redhat.com>
25793
25794 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25795 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25796
0f74bbf5
FW
257972017-11-19 Florian Weimer <fweimer@redhat.com>
25798
25799 manual: Document mprotect
25800 * manual/memory.texi (Memory Protection): New section.
25801 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25802 documentation of PROT_* flags and reference the Memory Protection
25803 section instead.
25804
f6e965ee
FW
258052017-11-19 Florian Weimer <fweimer@redhat.com>
25806
25807 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25808 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25809 (Scatter-Gather): ... to here. Remove misleading comment.
25810
363e4519 258112017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 25812
5f9d1949
CB
25813 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25814 style.
25815
ea69a5c8
CB
25816 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25817 when /proc/<pid>/setgroups does not exist.
25818
8db7f48c
FW
258192017-11-18 Florian Weimer <fweimer@redhat.com>
25820
25821 * sysdeps/unix/sysv/linux/tst-ttyname.c
25822 (become_root_in_mount_ns): Remove.
25823 (do_in_chroot_1): Call support_enter_mount_namespace.
25824 (do_in_chroot_2): Likewise.
25825 (do_test): Call support_become_root early.
25826
273a0c49
FW
258272017-11-18 Florian Weimer <fweimer@redhat.com>
25828
25829 * support/namespace.h (support_enter_mount_namespace): Declare.
25830 * support/support_enter_mount_namespace.c: New file.
25831 * support/Makefile (libsupport-routines): Add
25832 support_enter_mount_namespace.
25833
8adfb0ee
FW
258342017-11-18 Florian Weimer <fweimer@redhat.com>
25835
25836 * support/temp_file.c (support_create_temp_directory): Use
25837 test_dir and do not rely on the presence of the XXXXXX suffix.
25838 * support/temp_file.h (support_create_temp_directory): Update
25839 comment.
25840 * support/tst-xreadlink.c (do_test): Adjust.
25841 * support/support_chroot.c (support_chroot_create): Likewise.
25842
df0c40ee
TMQMF
258432017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25844
25845 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25846 macro.
25847 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25848 htm-no-suspend.
25849
015c6dc2
JM
258502017-11-17 Joseph Myers <joseph@codesourcery.com>
25851
f58e5f48
JM
25852 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25853 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25854 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25855 (ceill): Define using libm_alias_ldouble.
25856 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25857 <libm-alias-ldouble.h>.
25858 (copysignl): Define using libm_alias_ldouble.
25859 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25860 (fabsl): Define using libm_alias_ldouble.
25861 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25862 (floorl): Define using libm_alias_ldouble.
25863 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25864 (fmaxl): Define using libm_alias_ldouble.
25865 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25866 (fminl): Define using libm_alias_ldouble.
25867 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25868 (llrintl): Define using libm_alias_ldouble.
25869 (lrintl): Likewise.
25870 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25871 <libm-alias-ldouble.h>.
25872 (nearbyintl): Define using libm_alias_ldouble.
25873 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25874 (truncl): Define using libm_alias_ldouble.
25875 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25876 <libm-alias-ldouble.h>.
25877 (lrintl): Define using libm_alias_ldouble.
25878
2ce30701
JM
25879 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25880 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25881 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25882 (asinhl): Define using libm_alias_ldouble.
25883 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25884 (atanl): Define using libm_alias_ldouble.
25885 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25886 (cbrtl): Define using libm_alias_ldouble.
25887 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25888 (ceill): Define using libm_alias_ldouble.
25889 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25890 (copysignl): Define using libm_alias_ldouble.
25891 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25892 (fabsl): Define using libm_alias_ldouble.
25893 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25894 (floorl): Define using libm_alias_ldouble.
25895 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25896 (fmaxl): Define using libm_alias_ldouble.
25897 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25898 (fminl): Define using libm_alias_ldouble.
25899 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25900 (frexpl): Define using libm_alias_ldouble.
25901 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25902 (llrintl): Define using libm_alias_ldouble.
25903 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25904 (logbl): Define using libm_alias_ldouble.
25905 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25906 (lrintl): Define using libm_alias_ldouble.
25907 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25908 (nearbyintl): Define using libm_alias_ldouble.
25909 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25910 (nextafterl): Define using libm_alias_ldouble.
25911 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25912 (remquol): Define using libm_alias_ldouble.
25913 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25914 (rintl): Define using libm_alias_ldouble.
25915 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25916 (truncl): Define using libm_alias_ldouble.
25917 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25918 (fmaxl): Define using libm_alias_ldouble.
25919 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25920 (fminl): Define using libm_alias_ldouble.
25921
015c6dc2
JM
25922 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25923 to C syntax instead of availability and properties of types.
25924 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25925 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25926 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25927 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25928 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25929 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25930
ce003e5d
FW
259312017-11-17 Florian Weimer <fweimer@redhat.com>
25932
25933 support_become_root: Enable file creation in namespaces.
25934 * support/support_become_root.c (setup_mapping): New function.
25935 (support_become_root): Call it.
25936
e7df6c5c
JM
259372017-11-17 Joseph Myers <joseph@codesourcery.com>
25938
25939 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25940 macro.
25941
58a813bf
AZ
259422017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25943
25944 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25945 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25946
f97773d1
JM
259472017-11-16 Joseph Myers <joseph@codesourcery.com>
25948
6a6aa1f3
JM
25949 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25950
f97773d1
JM
25951 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25952 version to 4.14.
25953
a306c790
SP
259542017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25955
7b0fb870
SP
25956 * INSTALL: Fix botched up regeneration.
25957
25958 * NEWS: Update sourceare link to https.
a306c790
SP
25959 * configure.ac: Likewise.
25960 * crypt/md5test-giant.c: Likewise.
25961 * dlfcn/bug-atexit1.c: Likewise.
25962 * dlfcn/bug-atexit2.c: Likewise.
25963 * localedata/README: Likewise.
25964 * malloc/tst-mallocfork.c: Likewise.
25965 * manual/install.texi: Likewise.
25966 * nptl/tst-pthread-getattr.c: Likewise.
25967 * stdio-common/tst-fgets.c: Likewise.
25968 * stdio-common/tst-fwrite.c: Likewise.
25969 * sunrpc/Makefile: Likewise.
25970 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25971 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
25972 * configure: Regenerate.
25973 * INSTALL: Regenerate.
a306c790 25974
7532837d
MS
259752017-11-15 Martin Sebor <msebor@redhat.com>
25976
25977 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25978 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25979 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25980
495a56fd
LS
259812017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25982
d9611e30
LS
25983 [BZ #22145]
25984 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25985 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25986
a09dfc19
LS
25987 [BZ #22145]
25988 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25989 Defer is_pty check until end of the function.
25990 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25991
2fbce9c2
LS
25992 [BZ #22145]
25993 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25994 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25995 (ttyname): Likewise.
25996 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25997 (__ttyname_r): Likewise.
25998
d10d6cab
LS
25999 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26000 int to bool.
26001
9b5a8750
LS
26002 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26003
495a56fd
LS
26004 * manual/terminal.texi (Is It a Terminal):
26005 Mention ENODEV for ttyname and ttyname_r.
26006
fa680dc6
JM
260072017-11-15 Joseph Myers <joseph@codesourcery.com>
26008
78cde19f
JM
26009 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26010 constant and macro.
26011
fa680dc6
JM
26012 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26013 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26014 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26015 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26016 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26017 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26018
ad4f43a2
AZ
260192017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26020
1ba1d8a4
AZ
26021 * signal/sigrelse.c (sigrelse): Optimize implementation.
26022
ad4f43a2
AZ
26023 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26024 (__sigpause): Rely on __sigsuspend to implement single thread
26025 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26026
d0212d42
JM
260272017-11-15 Joseph Myers <joseph@codesourcery.com>
26028
26029 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26030 kernel version to 4.14.
26031
2180fee1
SE
260322017-11-15 Steve Ellcey <sellcey@cavium.com>
26033
26034 [BZ #22442]
26035 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26036 Check if ifname is too long.
26037
cad7ca39
LS
260382017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26039
26040 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26041
58c9f659
MF
260422017-11-15 Mike FABIAN <mfabian@redhat.com>
26043
26044 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26045 was accidentally lost.
26046
0fa87c01
MF
260472017-11-15 Mike FABIAN <mfabian@redhat.com>
26048
26049 * localedata/locales/az_IR: Add standard copyright header.
26050
34eb4157
FW
260512017-11-15 Florian Weimer <fweimer@redhat.com>
26052
26053 [BZ #22439]
26054 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26055 not just the top one. Output a new "subheaps" statistic.
26056
7a9368a1
FW
260572017-11-15 Florian Weimer <fweimer@redhat.com>
26058
26059 [BZ #22408]
26060 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26061 under the per-arena lock.
26062 * malloc/Makefile (tests): Add tst-malloc_info.
26063 (tst-malloc_info): Link with libpthread.
26064 * malloc/tst-malloc_info.c: New file.
26065
be3a79a3
JM
260662017-11-15 Joseph Myers <joseph@codesourcery.com>
26067
26068 [BZ #21660]
26069 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26070 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26071 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26072 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26073 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26074 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26075 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26076 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26082 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26083 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26084 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26085 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26086 (__floating_type): Likewise.
26087 (__real_integer_type): Likewise.
26088 (__complex_integer_type): Likewise.
26089 (__expr_is_real): Likewise.
26090 (__tgmath_real_type_sub): Likewise.
26091 (__tgmath_real_type): Likewise.
26092 (__tgmath_complex_type_sub): Likewise.
26093 (__tgmath_complex_type): Likewise.
26094 (__TGMATH_F128): Likewise.
26095 (__TGMATH_CF128): Likewise.
26096 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26097 new macros.
26098 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26099 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26100 Likewise.
26101 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26102 Likewise.
26103 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26104 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26105 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26106 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26107 Likewise.
26108 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26110 Likewise.
26111 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26112 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26113 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26114 Likewise.
26115 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26116 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26117 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26118 (cimag): Likewise.
26119 (creal): Likewise.
26120
ec72135e
JM
261212017-11-14 Joseph Myers <joseph@codesourcery.com>
26122
2e64ec9c
JM
26123 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26124 for stpncpy calls for GCC 8.
26125 (test_strncat): Disable -Wstringop-truncation warning for strncat
26126 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26127 strncat call for GCC 7.
26128 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26129 calls for GCC 8.
26130 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26131 trailing NUL.
26132
ec72135e
JM
26133 * string/bug-strncat1.c: Include <libc-diag.h>.
26134 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26135
363e4519 261362017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
26137
26138 [BZ #22387]
26139 * localedata/locales/aa_DJ: Improved readibility by replacing
26140 <Uxxxx> sequences in the ASCII printable range by their ASCII
26141 character equivalents.
26142 * localedata/locales/aa_ER: Likewise.
26143 * localedata/locales/aa_ER@saaho: Likewise.
26144 * localedata/locales/aa_ET: Likewise.
26145 * localedata/locales/af_ZA: Likewise.
26146 * localedata/locales/agr_PE: Likewise.
26147 * localedata/locales/ak_GH: Likewise.
26148 * localedata/locales/am_ET: Likewise.
26149 * localedata/locales/anp_IN: Likewise.
26150 * localedata/locales/ar_AE: Likewise.
26151 * localedata/locales/ar_BH: Likewise.
26152 * localedata/locales/ar_DZ: Likewise.
26153 * localedata/locales/ar_EG: Likewise.
26154 * localedata/locales/ar_IN: Likewise.
26155 * localedata/locales/ar_IQ: Likewise.
26156 * localedata/locales/ar_JO: Likewise.
26157 * localedata/locales/ar_KW: Likewise.
26158 * localedata/locales/ar_LB: Likewise.
26159 * localedata/locales/ar_LY: Likewise.
26160 * localedata/locales/ar_MA: Likewise.
26161 * localedata/locales/ar_OM: Likewise.
26162 * localedata/locales/ar_QA: Likewise.
26163 * localedata/locales/ar_SA: Likewise.
26164 * localedata/locales/ar_SD: Likewise.
26165 * localedata/locales/ar_SS: Likewise.
26166 * localedata/locales/ar_SY: Likewise.
26167 * localedata/locales/ar_TN: Likewise.
26168 * localedata/locales/ar_YE: Likewise.
26169 * localedata/locales/as_IN: Likewise.
26170 * localedata/locales/ast_ES: Likewise.
26171 * localedata/locales/ayc_PE: Likewise.
26172 * localedata/locales/az_AZ: Likewise.
26173 * localedata/locales/az_IR: Likewise.
26174 * localedata/locales/be_BY: Likewise.
26175 * localedata/locales/be_BY@latin: Likewise.
26176 * localedata/locales/bem_ZM: Likewise.
26177 * localedata/locales/ber_DZ: Likewise.
26178 * localedata/locales/ber_MA: Likewise.
26179 * localedata/locales/bg_BG: Likewise.
26180 * localedata/locales/bhb_IN: Likewise.
26181 * localedata/locales/bho_IN: Likewise.
26182 * localedata/locales/bi_VU: Likewise.
26183 * localedata/locales/bn_BD: Likewise.
26184 * localedata/locales/bn_IN: Likewise.
26185 * localedata/locales/bo_CN: Likewise.
26186 * localedata/locales/bo_IN: Likewise.
26187 * localedata/locales/br_FR: Likewise.
26188 * localedata/locales/brx_IN: Likewise.
26189 * localedata/locales/bs_BA: Likewise.
26190 * localedata/locales/byn_ER: Likewise.
26191 * localedata/locales/ca_AD: Likewise.
26192 * localedata/locales/ca_ES: Likewise.
26193 * localedata/locales/ca_FR: Likewise.
26194 * localedata/locales/ca_IT: Likewise.
26195 * localedata/locales/ce_RU: Likewise.
26196 * localedata/locales/chr_US: Likewise.
26197 * localedata/locales/cmn_TW: Likewise.
26198 * localedata/locales/crh_UA: Likewise.
26199 * localedata/locales/cs_CZ: Likewise.
26200 * localedata/locales/csb_PL: Likewise.
26201 * localedata/locales/cv_RU: Likewise.
26202 * localedata/locales/cy_GB: Likewise.
26203 * localedata/locales/da_DK: Likewise.
26204 * localedata/locales/de_AT: Likewise.
26205 * localedata/locales/de_BE: Likewise.
26206 * localedata/locales/de_CH: Likewise.
26207 * localedata/locales/de_DE: Likewise.
26208 * localedata/locales/de_IT: Likewise.
26209 * localedata/locales/de_LI: Likewise.
26210 * localedata/locales/de_LU: Likewise.
26211 * localedata/locales/doi_IN: Likewise.
26212 * localedata/locales/dv_MV: Likewise.
26213 * localedata/locales/dz_BT: Likewise.
26214 * localedata/locales/el_CY: Likewise.
26215 * localedata/locales/el_GR: Likewise.
26216 * localedata/locales/en_AG: Likewise.
26217 * localedata/locales/en_AU: Likewise.
26218 * localedata/locales/en_BW: Likewise.
26219 * localedata/locales/en_CA: Likewise.
26220 * localedata/locales/en_DK: Likewise.
26221 * localedata/locales/en_GB: Likewise.
26222 * localedata/locales/en_HK: Likewise.
26223 * localedata/locales/en_IE: Likewise.
26224 * localedata/locales/en_IL: Likewise.
26225 * localedata/locales/en_IN: Likewise.
26226 * localedata/locales/en_NG: Likewise.
26227 * localedata/locales/en_NZ: Likewise.
26228 * localedata/locales/en_PH: Likewise.
26229 * localedata/locales/en_SG: Likewise.
26230 * localedata/locales/en_US: Likewise.
26231 * localedata/locales/en_ZA: Likewise.
26232 * localedata/locales/en_ZM: Likewise.
26233 * localedata/locales/en_ZW: Likewise.
26234 * localedata/locales/eo: Likewise.
26235 * localedata/locales/es_AR: Likewise.
26236 * localedata/locales/es_BO: Likewise.
26237 * localedata/locales/es_CL: Likewise.
26238 * localedata/locales/es_CO: Likewise.
26239 * localedata/locales/es_CR: Likewise.
26240 * localedata/locales/es_CU: Likewise.
26241 * localedata/locales/es_DO: Likewise.
26242 * localedata/locales/es_EC: Likewise.
26243 * localedata/locales/es_ES: Likewise.
26244 * localedata/locales/es_GT: Likewise.
26245 * localedata/locales/es_HN: Likewise.
26246 * localedata/locales/es_MX: Likewise.
26247 * localedata/locales/es_NI: Likewise.
26248 * localedata/locales/es_PA: Likewise.
26249 * localedata/locales/es_PE: Likewise.
26250 * localedata/locales/es_PR: Likewise.
26251 * localedata/locales/es_PY: Likewise.
26252 * localedata/locales/es_SV: Likewise.
26253 * localedata/locales/es_US: Likewise.
26254 * localedata/locales/es_UY: Likewise.
26255 * localedata/locales/es_VE: Likewise.
26256 * localedata/locales/et_EE: Likewise.
26257 * localedata/locales/eu_ES: Likewise.
26258 * localedata/locales/eu_ES@euro: Likewise.
26259 * localedata/locales/fa_IR: Likewise.
26260 * localedata/locales/ff_SN: Likewise.
26261 * localedata/locales/fi_FI: Likewise.
26262 * localedata/locales/fil_PH: Likewise.
26263 * localedata/locales/fo_FO: Likewise.
26264 * localedata/locales/fr_BE: Likewise.
26265 * localedata/locales/fr_CA: Likewise.
26266 * localedata/locales/fr_CH: Likewise.
26267 * localedata/locales/fr_FR: Likewise.
26268 * localedata/locales/fr_LU: Likewise.
26269 * localedata/locales/fur_IT: Likewise.
26270 * localedata/locales/fy_DE: Likewise.
26271 * localedata/locales/fy_NL: Likewise.
26272 * localedata/locales/ga_IE: Likewise.
26273 * localedata/locales/gd_GB: Likewise.
26274 * localedata/locales/gez_ER: Likewise.
26275 * localedata/locales/gez_ET: Likewise.
26276 * localedata/locales/gl_ES: Likewise.
26277 * localedata/locales/gu_IN: Likewise.
26278 * localedata/locales/gv_GB: Likewise.
26279 * localedata/locales/ha_NG: Likewise.
26280 * localedata/locales/hak_TW: Likewise.
26281 * localedata/locales/he_IL: Likewise.
26282 * localedata/locales/hi_IN: Likewise.
26283 * localedata/locales/hif_FJ: Likewise.
26284 * localedata/locales/hne_IN: Likewise.
26285 * localedata/locales/hr_HR: Likewise.
26286 * localedata/locales/hsb_DE: Likewise.
26287 * localedata/locales/ht_HT: Likewise.
26288 * localedata/locales/hu_HU: Likewise.
26289 * localedata/locales/hy_AM: Likewise.
26290 * localedata/locales/i18n: Likewise.
26291 * localedata/locales/ia_FR: Likewise.
26292 * localedata/locales/id_ID: Likewise.
26293 * localedata/locales/ig_NG: Likewise.
26294 * localedata/locales/ik_CA: Likewise.
26295 * localedata/locales/is_IS: Likewise.
26296 * localedata/locales/it_CH: Likewise.
26297 * localedata/locales/it_IT: Likewise.
26298 * localedata/locales/iu_CA: Likewise.
26299 * localedata/locales/ja_JP: Likewise.
26300 * localedata/locales/ka_GE: Likewise.
26301 * localedata/locales/kk_KZ: Likewise.
26302 * localedata/locales/kl_GL: Likewise.
26303 * localedata/locales/kn_IN: Likewise.
26304 * localedata/locales/ko_KR: Likewise.
26305 * localedata/locales/kok_IN: Likewise.
26306 * localedata/locales/ks_IN: Likewise.
26307 * localedata/locales/ks_IN@devanagari: Likewise.
26308 * localedata/locales/ku_TR: Likewise.
26309 * localedata/locales/kw_GB: Likewise.
26310 * localedata/locales/ky_KG: Likewise.
26311 * localedata/locales/lb_LU: Likewise.
26312 * localedata/locales/lg_UG: Likewise.
26313 * localedata/locales/li_BE: Likewise.
26314 * localedata/locales/li_NL: Likewise.
26315 * localedata/locales/lij_IT: Likewise.
26316 * localedata/locales/ln_CD: Likewise.
26317 * localedata/locales/lo_LA: Likewise.
26318 * localedata/locales/lt_LT: Likewise.
26319 * localedata/locales/lv_LV: Likewise.
26320 * localedata/locales/lzh_TW: Likewise.
26321 * localedata/locales/mag_IN: Likewise.
26322 * localedata/locales/mai_IN: Likewise.
26323 * localedata/locales/mg_MG: Likewise.
26324 * localedata/locales/mhr_RU: Likewise.
26325 * localedata/locales/mi_NZ: Likewise.
26326 * localedata/locales/mk_MK: Likewise.
26327 * localedata/locales/ml_IN: Likewise.
26328 * localedata/locales/mn_MN: Likewise.
26329 * localedata/locales/mni_IN: Likewise.
26330 * localedata/locales/mr_IN: Likewise.
26331 * localedata/locales/ms_MY: Likewise.
26332 * localedata/locales/mt_MT: Likewise.
26333 * localedata/locales/my_MM: Likewise.
26334 * localedata/locales/nan_TW: Likewise.
26335 * localedata/locales/nan_TW@latin: Likewise.
26336 * localedata/locales/nb_NO: Likewise.
26337 * localedata/locales/nds_DE: Likewise.
26338 * localedata/locales/nds_NL: Likewise.
26339 * localedata/locales/ne_NP: Likewise.
26340 * localedata/locales/nhn_MX: Likewise.
26341 * localedata/locales/niu_NU: Likewise.
26342 * localedata/locales/niu_NZ: Likewise.
26343 * localedata/locales/nl_AW: Likewise.
26344 * localedata/locales/nl_BE: Likewise.
26345 * localedata/locales/nl_NL: Likewise.
26346 * localedata/locales/nn_NO: Likewise.
26347 * localedata/locales/nr_ZA: Likewise.
26348 * localedata/locales/nso_ZA: Likewise.
26349 * localedata/locales/oc_FR: Likewise.
26350 * localedata/locales/om_ET: Likewise.
26351 * localedata/locales/om_KE: Likewise.
26352 * localedata/locales/or_IN: Likewise.
26353 * localedata/locales/os_RU: Likewise.
26354 * localedata/locales/pa_IN: Likewise.
26355 * localedata/locales/pa_PK: Likewise.
26356 * localedata/locales/pap_AW: Likewise.
26357 * localedata/locales/pap_CW: Likewise.
26358 * localedata/locales/pl_PL: Likewise.
26359 * localedata/locales/ps_AF: Likewise.
26360 * localedata/locales/pt_BR: Likewise.
26361 * localedata/locales/pt_PT: Likewise.
26362 * localedata/locales/quz_PE: Likewise.
26363 * localedata/locales/raj_IN: Likewise.
26364 * localedata/locales/ro_RO: Likewise.
26365 * localedata/locales/ru_RU: Likewise.
26366 * localedata/locales/ru_UA: Likewise.
26367 * localedata/locales/rw_RW: Likewise.
26368 * localedata/locales/sa_IN: Likewise.
26369 * localedata/locales/sat_IN: Likewise.
26370 * localedata/locales/sc_IT: Likewise.
26371 * localedata/locales/sd_IN: Likewise.
26372 * localedata/locales/sd_IN@devanagari: Likewise.
26373 * localedata/locales/se_NO: Likewise.
26374 * localedata/locales/sgs_LT: Likewise.
26375 * localedata/locales/shs_CA: Likewise.
26376 * localedata/locales/si_LK: Likewise.
26377 * localedata/locales/sid_ET: Likewise.
26378 * localedata/locales/sk_SK: Likewise.
26379 * localedata/locales/sl_SI: Likewise.
26380 * localedata/locales/sm_WS: Likewise.
26381 * localedata/locales/so_DJ: Likewise.
26382 * localedata/locales/so_ET: Likewise.
26383 * localedata/locales/so_KE: Likewise.
26384 * localedata/locales/so_SO: Likewise.
26385 * localedata/locales/sq_AL: Likewise.
26386 * localedata/locales/sq_MK: Likewise.
26387 * localedata/locales/sr_ME: Likewise.
26388 * localedata/locales/sr_RS: Likewise.
26389 * localedata/locales/sr_RS@latin: Likewise.
26390 * localedata/locales/ss_ZA: Likewise.
26391 * localedata/locales/st_ZA: Likewise.
26392 * localedata/locales/sv_FI: Likewise.
26393 * localedata/locales/sv_SE: Likewise.
26394 * localedata/locales/sw_KE: Likewise.
26395 * localedata/locales/sw_TZ: Likewise.
26396 * localedata/locales/szl_PL: Likewise.
26397 * localedata/locales/ta_IN: Likewise.
26398 * localedata/locales/ta_LK: Likewise.
26399 * localedata/locales/tcy_IN: Likewise.
26400 * localedata/locales/te_IN: Likewise.
26401 * localedata/locales/tg_TJ: Likewise.
26402 * localedata/locales/th_TH: Likewise.
26403 * localedata/locales/the_NP: Likewise.
26404 * localedata/locales/ti_ER: Likewise.
26405 * localedata/locales/ti_ET: Likewise.
26406 * localedata/locales/tig_ER: Likewise.
26407 * localedata/locales/tk_TM: Likewise.
26408 * localedata/locales/tl_PH: Likewise.
26409 * localedata/locales/tn_ZA: Likewise.
26410 * localedata/locales/to_TO: Likewise.
26411 * localedata/locales/tpi_PG: Likewise.
26412 * localedata/locales/tr_CY: Likewise.
26413 * localedata/locales/tr_TR: Likewise.
26414 * localedata/locales/ts_ZA: Likewise.
26415 * localedata/locales/tt_RU: Likewise.
26416 * localedata/locales/tt_RU@iqtelif: Likewise.
26417 * localedata/locales/ug_CN: Likewise.
26418 * localedata/locales/uk_UA: Likewise.
26419 * localedata/locales/unm_US: Likewise.
26420 * localedata/locales/ur_IN: Likewise.
26421 * localedata/locales/ur_PK: Likewise.
26422 * localedata/locales/uz_UZ: Likewise.
26423 * localedata/locales/uz_UZ@cyrillic: Likewise.
26424 * localedata/locales/ve_ZA: Likewise.
26425 * localedata/locales/vi_VN: Likewise.
26426 * localedata/locales/wa_BE: Likewise.
26427 * localedata/locales/wae_CH: Likewise.
26428 * localedata/locales/wal_ET: Likewise.
26429 * localedata/locales/wo_SN: Likewise.
26430 * localedata/locales/xh_ZA: Likewise.
26431 * localedata/locales/yi_US: Likewise.
26432 * localedata/locales/yo_NG: Likewise.
26433 * localedata/locales/yue_HK: Likewise.
26434 * localedata/locales/yuw_PG: Likewise.
26435 * localedata/locales/zh_CN: Likewise.
26436 * localedata/locales/zh_HK: Likewise.
26437 * localedata/locales/zh_SG: Likewise.
26438 * localedata/locales/zh_TW: Likewise.
26439 * localedata/locales/zu_ZA: Likewise.
26440
cae87e64
FW
264412017-11-13 Florian Weimer <fweimer@redhat.com>
26442
26443 * support/next_to_fault.h, support/next_to_fault.c: New files.
26444 * support/Makefile (libsupport-routines): Add next_to_fault.
26445 * resolv/tst-inet_pton.c (struct next_to_fault)
26446 (next_to_fault_allocate, next_to_fault_free): Remove.
26447 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26448
4a306ef1
L
264492017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26450
26451 * elf/dl-support.c: Include <dl-procruntime.c>.
26452 * include/link.h: Include <link_map.h>.
26453 * sysdeps/generic/dl-procruntime.c: New file.
26454 * sysdeps/generic/link_map.h: Likewise.
26455 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26456 the writable ld.so namespace.
26457
e69897bf
PE
264582017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26459
26460 timezone: pacify GCC -Wstringop-truncation
26461 Problem reported by Martin Sebor in:
26462 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26463 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26464
1ffe1ccb
FW
264652017-11-12 Florian Weimer <fweimer@redhat.com>
26466
eceed671
FW
26467 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26468 tst-xreadlink.
26469 (tests): Add tst-xreadlink.
1ffe1ccb
FW
26470 * support/support.h (xstrndup): Declare.
26471 * support/xunistd.h (xunlink, xreadlink): Declare.
26472 * support/temp_file.h (support_create_temp_directory): Declare.
26473 * support/temp_file.c (support_create_temp_directory): New function.
26474 * support/support_chroot.c (support_chroot_create): Use it.
26475 * support/xreadlink.c: New file.
26476 * support/xstrndup.c: Likewise.
26477 * support/xunlink.c: Likewise.
26478 * support/tst-xreadlink.c: Likewise.
26479
456b40a9
JDA
264802017-11-11 John David Anglin <danglin@gcc.gnu.org>
26481
26482 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26483
c0a25aa9
FW
264842017-11-11 Florian Weimer <fweimer@redhat.com>
26485
26486 [BZ #22409]
26487 [BZ #22412]
26488 * resolv/res_comp.c (printable_string, binary_hnok)
26489 (binary_leading_dash): New functions.
26490 (res_hnok): Reimplement using these functions and ns_name_pton.
26491 (res_ownok): Likewise.
26492 (res_mailok): Reimplement using printable_string, ns_name_pton and
26493 binary_hnok.
26494 (res_dnok): Reimplement using printable_string and ns_name_pton.
26495 * resolv/tst-res_hnok.c (tests): Add additional tests.
26496 (LETTERDIGITS, PRINTABLE): Define.
26497 (do_test): Adjust one_char results.
26498
9e0ad304
FW
264992017-11-11 Florian Weimer <fweimer@redhat.com>
26500
26501 [BZ #22413]
26502 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26503 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26504
e2a9fca8
FW
265052017-11-11 Florian Weimer <fweimer@redhat.com>
26506
26507 * resolv/tst-ns_name_pton.c: New file.
26508 * resolv/Makefile (tests): Add tst-ns_name_pton.
26509 (tst-ns_name_pton): Link against libresolv.
26510
5c1a6923
FW
265112017-11-11 Florian Weimer <fweimer@redhat.com>
26512
26513 * resolv/tst-res_hnok.c: New file.
26514 * resolv/Makefile (tests): Add tst-res_hnok.
26515 (tst-res_hnok): Link against libresolv.
26516
a19c0a1d
FW
265172017-11-11 Florian Weimer <fweimer@redhat.com>
26518
26519 * resolv/tst-resolv-network.c: Use test framework instead explicit
26520 main function.
26521
8cb5295d
L
265222017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26523
26524 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26525 <jmp_buf-macros.h>.
26526 [!_ISOMAC] (STR_HELPER): New.
26527 [!_ISOMAC] (STR): Likewise.
26528 [!_ISOMAC] (TEST_SIZE): Likewise.
26529 [!_ISOMAC] (TEST_ALIGN): Likewise.
26530 [!_ISOMAC] (TEST_OFFSET): Likewise.
26531 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26532 field offsets of jmp_buf as well as sigjmp_buf.
26533 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26534 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26535 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26536 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26537 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26538 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26539 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26540 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26541 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26542 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26543 Likewise.
26544 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26545 Likewise.
26546 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26548 Likewise.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26550 Likewise.
26551 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26552 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26553 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26554 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26555 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26557 Likewise.
26558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26559 Likewise.
26560 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26561 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26562 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26563
58c4a161
JM
265642017-11-07 Joseph Myers <joseph@codesourcery.com>
26565
3683b423
JM
26566 * include/float.h
26567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26568 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26570 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26572 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26574 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26576 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26578 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26580 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26582 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26584 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26586 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26588 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26590 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26592 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26594 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26596 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26598 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26600 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26602 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26604 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26606 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26608 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26610 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26612 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26614 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26616 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26618 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26620 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26622 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26624 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26626 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26628 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26630 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26632 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26634 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26636 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26638 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26640 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26642 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26644 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26646 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26648 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26650 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26652 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26654 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26655
58c4a161
JM
26656 * stdlib/tst-strtod.h (F16): New macro.
26657 (F32): Likewise.
26658 (F64): Likewise.
26659 (F32X): Likewise.
26660 (F64X): Likewise.
26661 (F128X): Likewise.
26662 (IF_FLOAT16): Likewise.
26663 (IF_FLOAT32): Likewise.
26664 (IF_FLOAT64): Likewise.
26665 (IF_FLOAT32X): Likewise.
26666 (IF_FLOAT64X): Likewise.
26667 (IF_FLOAT128X): Likewise.
26668 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26669 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26670 (STRTOD_TEST_FOREACH): Likewise.
26671 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26672 (CHOOSE_f64): Likewise.
26673 (CHOOSE_f32x): Likewise.
26674 (CHOOSE_f64x): Likewise.
26675
feda96a1
AS
266762017-11-07 Andreas Schwab <schwab@suse.de>
26677
26678 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26679
1bd0cbb8
MF
266802017-11-07 Mike FABIAN <mfabian@redhat.com>
26681
26682 [BZ #22403]
26683 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26684 to be escaped.
26685 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26686 to be escaped.
26687
363e4519 266882017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
26689
26690 [BZ #22403]
26691 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26692 to be escaped.
26693 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26694 to be escaped.
26695 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26696 to be escaped.
26697
dff91cd4
AZ
266982017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26699
06be6368
AZ
26700 [BZ #22298]
26701 * nptl/allocatestack.c (allocate_stack): Check if
26702 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26703 __PTHREAD_MUTEX_HAVE_PREV is defined.
26704 * nptl/descr.h (pthread): Likewise.
26705 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26706 Likewise.
26707 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26708 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26709 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26710 * sysdeps/nptl/bits/thread-shared-types.h
26711 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26712 defines.
26713 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26714 of __WORDSIZE for internal layout.
26715 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26716 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26717 instead of __WORDSIZE whether to use an union for __spins and __list
26718 fields.
26719 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26720 case.
26721 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26723 defines.
26724 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26725 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26726 Likewise.
26727 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26728 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26729 Likewise.
26730 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26731 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26732 Likewise.
26733 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26735 Likewise.
26736 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26738 Likewise.
26739 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26740 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26741 Likewise.
26742 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26743 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26744 Likewise.
26745 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26746 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26747 Likewise.
26748 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26749 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26750 Likewise.
26751 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26752 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26753 Likewise.
26754 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26755 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26756 Likewise.
26757 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26758 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26759 Likewise.
26760 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26761 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26762 Likewise.
26763 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26764 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26765 Likewise.
26766
72b3c6ee
AZ
26767 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26768 New macros.
26769 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26770 checks for expected input type size.
26771 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26772 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26773 Likewise.
26774 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26775 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26776 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26777 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26778 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26779 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26780 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26781 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26782 superflous runtime assert check.
26783 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26784 Likewise.
26785 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26786 Likewise.
26787 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26788 Likewise.
26789 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26790 Likewise.
26791 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26792 Likewise.
26793 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26794 Likewise.
26795 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26796 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26797 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26798 Likewise.
26799 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26800 Likewise.
26801 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26802 Likewise.
26803 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26804 Likewise.
26805 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26806 Likewise.
26807 * nptl/pthread_attr_setinheritsched.c
26808 (__pthread_attr_setinheritsched): Likewise.
26809 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26810 Likewise.
26811 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26812 Likewise.
26813 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26814 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26815 __old_pthread_attr_setstack): Likewise.
26816 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26817 Likewise.
26818 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26819 Likewise.
26820 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26821 Likewise.
26822 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26823 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26824 Likewise.
26825 * nptl/tst-typesizes.c: Remove file.
26826
dff91cd4
AZ
26827 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26828 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26829 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26830 checks for internal pthread_mutex_t offsets.
26831 * sysdeps/aarch64/nptl/pthread-offsets.h
26832 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26833 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26834 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26835 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26836 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26837 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26838 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26839 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26840 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26841 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26842 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26843 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26844 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26845 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26846 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26847 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26848 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26849 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26850
b7fc95f8
FW
268512017-11-07 Florian Weimer <fweimer@redhat.com>
26852
26853 * bits/mman-linux.h: Move ...
26854 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26855 comment.
26856 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26857 outdated comment.
26858
6b860364
RS
268592017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26860
26861 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26862 Redefine STRNLEN as __strnlen_power8.
26863
802c1f16
AZ
268642017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26865
d83da3a4
AZ
26866 * signal/sighold.c (sighold): Optimize implementation.
26867
6a4235f1
AZ
26868 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26869 __NR_rt_sigqueueinfo.
26870
8b0e795a
AZ
26871 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26872 __sigtimedwait.
26873 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26874 assume __NR_rt_sigtimedwait.
26875 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26876 and add LIBC_CANCEL_HANDLED for cancellation marking.
26877 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26878
a1a638dd
AZ
26879 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26880 (sysdeps_routines): Add memchr_noneon.
26881 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26882 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26883 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26884 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26885 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26886 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26887 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26888
802c1f16
AZ
26889 * sysdeps/arm/arm-ifunc.h: New file.
26890 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26891 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26892 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26893 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26894 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26895 (__memcpy_neon): Avoid create hidden alias.
26896 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26897 (__memcpy_vfp): Likewise.
26898 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26899 (sysdep_routines): Add memcpy_arm.
26900 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26901
abcb584d
L
269022017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26903
26904 [BZ #22362]
26905 * Makerules (make-link-multidir): New.
26906 * config.make.in (multidir): New.
26907 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26908 * configure: Regenerated.
26909 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26910 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26911 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26912 New target.
26913
4e2dff67
JM
269142017-11-06 Joseph Myers <joseph@codesourcery.com>
26915
26916 [BZ #22402]
26917 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26918 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26919
a1c7cd3c
MF
269202017-11-04 Mike FABIAN <mfabian@redhat.com>
26921
26922 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26923 to be escaped.
26924
b9af29c0
FW
269252017-11-04 Florian Weimer <fweimer@redhat.com>
26926
26927 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26928
4ca70e1a
JM
269292017-11-03 Joseph Myers <joseph@codesourcery.com>
26930
26931 * math/math.h [__HAVE_DISTINCT_FLOAT16
26932 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26933 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26934 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26935 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26936 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26937 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26938 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26939 (__MATH_TG_F32): New macro.
26940 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26941 (__MATH_TG_F64X): Likewise.
26942 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26943 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26944
ba0e6668
DL
269452017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26946
26947 * po/de.po: Update translations.
26948 * po/ru.po: Likewise.
26949
bc18a6d3
FW
269502017-11-03 Florian Weimer <fweimer@redhat.com>
26951
26952 * manual/filesys.texi (Hard Links): Document linkat.
26953
97255170
JM
269542017-11-03 Joseph Myers <joseph@codesourcery.com>
26955
86ec4865
JM
26956 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26957 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26958 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26959 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26960 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26961 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26962 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26963 the same as _Float128.
26964 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26965 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26966 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26967
97255170
JM
26968 * stdlib/stdlib.h
26969 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26970 Declare.
26971 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26972 Likewise.
26973 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26974 Likewise.
26975 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26976 (strtof32x): Likewise.
26977 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26978 (strtof64x): Likewise.
26979 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26980 (strtof128x): Likewise.
26981 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26982 (strfromf16): Likewise.
26983 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26984 (strfromf32): Likewise.
26985 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26986 (strfromf64): Likewise.
26987 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26988 (strfromf32x): Likewise.
26989 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26990 (strfromf64x): Likewise.
26991 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26992 (strfromf128x): Likewise.
26993 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26994 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26995 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26996 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26997 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26998 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26999
6d58ce5e
RH
270002017-11-03 Richard Henderson <rth@twiddle.net>
27001
27002 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27003
659ca267
SN
270042017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27005
27006 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27007
94d2f0af
SN
270082017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27009
27010 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27011 DT_TLSDESC_GOT initialization.
27012 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27013 (_dl_tlsdesc_resolve_hold): Likewise.
27014 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27015 (_dl_tlsdesc_resolve_hold): Likewise.
27016 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27017 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27018
28e1ddf3
SN
270192017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27020
27021 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27022
0ca3d1d6
SN
270232017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27024
27025 [BZ #18572]
27026 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27027 non-lazily for R_ARM_TLS_DESC.
27028
2c1d4e5f
SN
270292017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27030
27031 [BZ #17078]
27032 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27033 R_ARM_TLS_DESC case.
27034 (elf_machine_lazy_rel): Remove the prelink check.
27035
91c5a366
SN
270362017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27037
27038 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27039 DT_TLSDESC_GOT initialization.
27040 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27041 (_dl_tlsdesc_resolve_rela): Likewise.
27042 (_dl_tlsdesc_resolve_hold): Likewise.
27043 (_dl_tlsdesc_undefweak): Remove ldar.
27044 (_dl_tlsdesc_dynamic): Likewise.
27045 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27046 (_dl_tlsdesc_resolve_rela): Likewise.
27047 (_dl_tlsdesc_resolve_hold): Likewise.
27048 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27049 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27050 (_dl_tlsdesc_resolve_rela): Likewise.
27051 (_dl_tlsdesc_resolve_hold): Likewise.
27052
b7cf203b
SN
270532017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27054
27055 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27056 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27057
0cc5b022
SN
270582017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27059
27060 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27061 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27062
43ddff2e
JM
270632017-11-02 Joseph Myers <joseph@codesourcery.com>
27064
27065 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27066 Declare.
27067 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27068 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27069 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27070 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27071 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27072 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27073 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27074 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27075 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27076 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27077 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27078
5baac970
MF
270792017-11-02 Mike FABIAN <mfabian@redhat.com>
27080
27081 [BZ #22382]
27082 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27083 * localedata/locales/tpi_PG: Add standard header.
27084
ef11081f
FW
270852017-11-02 Florian Weimer <fweimer@redhat.com>
27086
27087 test-errno-linux: quotactl can fail with EPERM in containers.
27088 * sysdeps/unix/sysv/linux/test-errno-linux.c
27089 (LIST, LIST_FORWARD): New macros.
27090 (check_error_in_list): New function.
27091 (test_wrp_rv): Accept list of permitted error codes.
27092 (test_wrp_rv2): Remove.
27093 (test_wrp): Call test_wrp_rv with list of error codes.
27094 (test_wrp2): Accept list of error codes.
27095 (do_test): Adjust. Allow EPERM for quotactl.
27096
d10b132b
FW
270972017-11-02 Florian Weimer <fweimer@redhat.com>
27098
27099 * stdio-common/bug16.c (do_test): Use array_length.
27100 * stdio-common/errlist.c (_sys_nerr): Likewise.
27101 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27102 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27103 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27104 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27105 (do_test): Use array_length.
27106 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27107 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27108 * stdio-common/tst-printf-round.c (do_test): Likewise.
27109 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27110 (CHECK): Use array_length.
27111 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27112 * stdio-common/tstscanf.c (main): Likewise.
27113 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27114
c94a5688
FW
271152017-11-02 Florian Weimer <fweimer@redhat.com>
27116
27117 Add array_length and array_end macros.
27118 * include/array_length.h: New file.
27119
2fac6a6c
FW
271202017-11-02 Florian Weimer <fweimer@redhat.com>
27121
27122 [BZ #22332]
27123 * posix/tst-glob-tilde.c (do_noescape): New variable.
27124 (one_test): Process it.
27125 (do_test): Set do_noescape. Add unescaping test case.
27126
2f1b212e
JM
271272017-11-01 Joseph Myers <joseph@codesourcery.com>
27128
260fbd0a
JM
27129 * math/complex.h
27130 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27131 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27132 with appropriate macros defined and undefined.
27133 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27134 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27135 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27136 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27137 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27138 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27139 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27140 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27141 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27142 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27143
2f1b212e
JM
27144 * math/complex.h
27145 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27146 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27147 that for long double. Do not condition define and undefine of
27148 _Mdouble_complex_ on [__CFLOAT128].
27149
95b93c6e
L
271502017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27151
27152 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27153 of <sysdeps/generic/sysdep.h>.
27154 (ALIGNARG): Removed.
27155 (ASM_SIZE_DIRECTIVE): Likewise.
27156 (ENTRY): Likewise.
27157 (END): Likewise.
27158 (ENTRY_CHK): Likewise.
27159 (END_CHK): Likewise.
27160 (syscall_error): Likewise.
27161 (mcount): Likewise.
27162 (PSEUDO_END): Likewise.
27163 (L): Likewise.
27164 (atom_text_section): Likewise.
27165 * sysdeps/x86/sysdep.h: New file.
27166 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27167 of <sysdeps/generic/sysdep.h>.
27168 (ALIGNARG): Removed.
27169 (ASM_SIZE_DIRECTIVE): Likewise.
27170 (ENTRY): Likewise.
27171 (END): Likewise.
27172 (ENTRY_CHK): Likewise.
27173 (END_CHK): Likewise.
27174 (syscall_error): Likewise.
27175 (mcount): Likewise.
27176 (PSEUDO_END): Likewise.
27177 (L): Likewise.
27178 (atom_text_section): Likewise.
27179
1bb36539
RL
271802017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27181
27182 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27183 category of LC_CTYPE set to "i18n:2012".
27184 * localedata/locales/i18n_ctype: Regenerate.
27185
067f5d97 271862017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 27187
87bbc4cf
YN
27188 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27189 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27190 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27191 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27192
e8681faa
YN
27193 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27194 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27195 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27196 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27197
540af6e2
JM
271982017-10-31 Joseph Myers <joseph@codesourcery.com>
27199
43e66283
JM
27200 * math/complex.h
27201 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27202 New macro.
27203 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27204 Likewise.
27205 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27206 Likewise.
27207 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27208 (CMPLXF32X): Likewise.
27209 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27210 (CMPLXF64X): Likewise.
27211 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27212 (CMPLXF128X): Likewise.
27213
540af6e2
JM
27214 * math/math.h
27215 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27216 (__MATH_EVAL_FMT2): Define to add 0.0f.
27217
58af72b4
AM
272182017-10-31 Alan Modra <amodra@gmail.com>
27219
27220 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27221 include sysdep.h.
27222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27236 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27237 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27238 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27239 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27240 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27247 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27248 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27250 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27251 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27252 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27253 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27254 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27255 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27257 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27258 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27260 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27261 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27262 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27263 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27265 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27267 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27268 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27269 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27270 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27271 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27272 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27280 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27287 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27288 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27291
27292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27293 include sysdep.h and math_ldbl_opt.h.
27294
27295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27296 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27321
112f30b3
AM
273222017-10-31 Alan Modra <amodra@gmail.com>
27323
27324 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27325 string/strncase_l.c, not string/strncase.c.
27326 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27327 (libc_hidden_def): Redefine.
27328
e9e7eced
AM
273292017-10-31 Alan Modra <amodra@gmail.com>
27330
27331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27332 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27333 (__strcasecmp): Don't define.
27334
f7b465cf
AM
273352017-10-31 Alan Modra <amodra@gmail.com>
27336
27337 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27338 IS_IN (libc).
27339 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27342
d46b09f9
AM
273432017-10-31 Alan Modra <amodra@gmail.com>
27344
27345 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27346 USE_AS_STPNCPY.
27347
e9b8e194
AM
273482017-10-31 Alan Modra <amodra@gmail.com>
27349
27350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27351 Redefine only when SHARED.
27352
eda162dd
JM
273532017-10-30 Joseph Myers <joseph@codesourcery.com>
27354
b61afe8c
JM
27355 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27356 Include <bits/math-finite.h> with appropriate macros defined and
27357 undefined.
27358 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27359 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27360 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27361 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27362 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27363
eda162dd
JM
27364 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27365 [!_Mlong_double_] (_Mlong_double_): Likewise.
27366 [!_Mfloat16_] (_Mfloat16_): Likewise.
27367 [!_Mfloat32_] (_Mfloat32_): Likewise.
27368 [!_Mfloat64_] (_Mfloat64_): Likewise.
27369 [!_Mfloat128_] (_Mfloat128_): Likewise.
27370 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27371 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27372 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27373 (_Mdouble_): Define without indirection through those macros.
27374 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27375 [!_Mfloat128_] (_Mfloat128_): Likewise.
27376 [_Mlong_double_] (_Mlong_double_): Likewise.
27377 (_Mdouble_): Define without indirection through those macros.
27378 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27379 not add -D_Mlong_double_=double.
27380 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27381 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27382
4ad5106e
L
273832017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27384
27385 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27386
fe326df7
L
273872017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27388
27389 * sysdeps/x86/libc-start.c: Reformat.
27390
c5cc4514
L
273912017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27392
27393 [BZ #22353]
27394 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27395 (1): Renamed to ...
27396 (L(Src0)): This.
27397 (L(Src1)): New.
27398 (L(Src2)): Likewise.
27399 (L(1)): Renamed to ...
27400 (L(Src3)): This.
27401
ce12269f
JM
274022017-10-30 Joseph Myers <joseph@codesourcery.com>
27403
27404 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27405 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27406 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27407 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27408 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27409 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27410 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27411 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27412 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27413 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27414 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27415 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27416 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27417 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27418 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27419 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27420 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27421 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27422 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27423 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27424 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27425 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27426 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27427 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27428 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27429 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27430 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27431 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27432 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27433 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27434 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27435 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27436 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27437 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27438 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27439 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27440 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27441 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27442 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27443 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27444 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27445 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27446 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27447 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27448 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27449 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27450 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27451 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27452 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27453 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27454 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27455 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27456 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27457 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27458 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27459 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27460 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27461 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27462 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27463 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27464 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27465 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27466 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27467 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27468 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27469 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27470
4484b9e2
FW
274712017-10-30 Florian Weimer <fweimer@redhat.com>
27472
27473 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27474 always defined.
27475 * io/tst-mkdirat.c (do_test): Likewise.
27476 * io/tst-mkfifoat.c (do_test): Likewise.
27477 * io/tst-mknodat.c (do_test): Likewise.
27478 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27479 * locale/programs/locale.c (select_dirs): Likewise.
27480 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27481 * posix/bug-glob2.c (my_readdir): Likewise.
27482 * posix/tst-dir.c (main): Likewise.
27483 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27484 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27485
68fe16dd
FW
274862017-10-30 Florian Weimer <fweimer@redhat.com>
27487
27488 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27489 just __USE_GNU.
27490
dadf23f0
FW
274912017-10-30 Florian Weimer <fweimer@redhat.com>
27492
27493 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27494 Convert to support/test-driver.c.
27495 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27496 New macro parameters.
27497 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27498 * posix/tst-gnuglob.c: New file.
27499 * posix/tst-gnuglob64.c: Likewise.
27500 * posix/Makefile (tests): Add tst-gnuglob64.
27501
363e4519 275022017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
27503
27504 [BZ #19485]
27505 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27506 and use a better translation for March in “mon”.
27507 * localedata/locales/csb_PL: Use more ASCII to improve the
27508 readability of the source.
27509
b110af82
MF
275102017-10-30 Mike FABIAN <mfabian@redhat.com>
27511
27512 [BZ #13953]
27513 * localedata/locales/km_KH: Use ASCII as much
27514 as possible for better readability of the source and
27515 remove useless comments.
27516 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27517 was commented out and apparently wrong anyway because it was
27518 using Lao characters. If Buddhist era should be used
27519 for km_KH, a native speaker should write the correct formaat
27520 for Khmer.
27521 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27522 (According to CLDR, the first weekday for Cambodia is Sunday).
27523 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27524 (These were using Lao characters which must be wrong. If we get
27525 the correct data from a native speaker, we could add it back, until
27526 then it is better not to have name_mr and name_mrs at all than
27527 having it wrong).
27528
f301e533
RL
275292017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27530
27531 * locale/loadlocale.c: Correct size of
27532 _nl_value_type_LC_<category> arrays.
27533
7e9d7073
JM
275342017-10-27 Joseph Myers <joseph@codesourcery.com>
27535
27536 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27537 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27538 with appropriate macros defined and undefined.
27539 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27540 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27541 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27542 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27543 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27544
63d3b468
L
275452017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27546
27547 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27548 "-O2 -march=i586".
27549
a4cc02c7
MF
275502017-10-27 Mike FABIAN <mfabian@redhat.com>
27551
27552 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27553 with lowercase letters to make it agree with CLDR.
27554
1e5971ec
MF
275552017-10-27 Mike FABIAN <mfabian@redhat.com>
27556
27557 [BZ #15260]
27558 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27559 first letters of yesstr and nostr in yesexpr and noexpr,
27560 not for the full words.
27561 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27562 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27563 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27564 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27565 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27566 first letters of yesstr and nostr in yesexpr and noexpr,
27567 until now only English was matched in yesexpr and noexpr.
27568 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27569 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27570 fil but not for tl. As tl and fil are very similar, using fil
27571 is probably better than using English.
27572
363e4519 275732017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
27574
27575 [BZ #21706]
27576 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27577 in yesstr and nostr.
27578
5d220788
JM
275792017-10-26 Joseph Myers <joseph@codesourcery.com>
27580
ecc7da5b
JM
27581 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27582 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27583 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27584 Likewise.
27585 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27586 Likewise.
27587 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27588 Likewise.
27589 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27590 Likewise.
27591 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27592 (SNANF128X): Likewise.
27593
5d220788
JM
27594 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27595 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27596 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27597 (HUGE_VAL_F32): Likewise.
27598 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27599 (HUGE_VAL_F64): Likewise.
27600 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27601 (HUGE_VAL_F32X): Likewise.
27602 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27603 (HUGE_VAL_F64X): Likewise.
27604 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27605 (HUGE_VAL_F128X): Likewise.
27606
363e4519 276072017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
27608
27609 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27610 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27611 for the br_FR locale.
27612
363e4519 276132017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
27614
27615 [BZ #21706]
27616 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27617
337ff3c5
CD
276182017-10-25 Carlos O'Donell <carlos@redhat.com>
27619
02eec681
CD
27620 * locale/programs/record-status.h: Define globals, and function
27621 prototypes. Move function bodies...
27622 * locale/programs/record-status.c: ... to here. New file.
27623 * iconv/Makefile (iconv_prog-modules): Add record-status.
27624 * locale/Makefile (lib-modules): Likewise.
27625 * iconv/iconv_prog.c: Remove verbose.
27626 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27627 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27628 record a warning about ASCII compatibility.
27629 * locale/programs/ld-monetary.c (monetary_finish): If
27630 warn_int_curr_symbol is true then record a warning about the symbol
27631 not being in our ISO 4217 list.
27632 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27633 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27634 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27635 (OPT_NO_WARN): Define.
27636 (OPT_WARN): Define.
27637 (options): Add entry for --no-warnings, and --warnings.
27638 (set_warnings): New function to enable/disable warnings.
27639 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27640 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27641 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27642 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27643 Pass flags to generate_locale.
27644 (generate_locale): Accept new flag argument and pass it to localedef
27645 invocation.
27646 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27647 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27648
56fa555a
CD
27649 * localedata/Makefile (test-input-data): Use full file name.
27650 * localedata/da_DK.in: Rename to...
27651 * localedata/da_DK.ISO-8859-1.in: ...this.
27652 * localedata/de_DE.in: Rename to...
27653 * localedata/de_DE.ISO-8859-1.in: ...this.
27654 * localedata/en_US.in: Rename to...
27655 * localedata/en_US.ISO-8859-1.in: ...this.
27656 * localedata/fr_FR.in: Rename to...
27657 * localedata/fr_FR.UTF-8.in: ... this.
27658 * localedata/hr_HR.in: Rename to...
27659 * localedata/hr_HR.ISO-8859-2.in: ...this.
27660 * localedata/hu_HU.in: Rename to...
27661 * localedata/hu_HU.UTF-8.in: ...this.
27662 * localedata/si_LK.in: Rename to...
27663 * localedata/si_LK.UTF-8.in: ...this.
27664 * localedata/sv_SE.in: Rename to...
27665 * localedata/sv_SE.ISO-8859-1.in: ...this.
27666 * localedata/tr_TR.in: Rename to...
27667 * localedata/tr_TR.UTF-8.in: ...this.
27668 * localedata/uk_UA.in: Rename to...
27669 * localedata/uk_UA.UTF-8.in: ...this.
27670 * localedata/sort-test.sh: Test file is locale name with the
27671 suffix.
27672
337ff3c5
CD
27673 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27674 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27675 file.
27676 * localedata/locales/i18n_ctype: Regenerate.
27677 * localedata/locales/tr_TR: Likewise.
27678 * localedata/locales/translit_circle: Likewise.
27679 * localedata/locales/translit_cjk_compat: Likewise.
27680 * localedata/locales/translit_combining: Likewise.
27681 * localedata/locales/translit_compat: Likewise.
27682 * localedata/locales/translit_font: Likewise.
27683 * localedata/locales/translit_fraction: Likewise.
27684
63da5cd4
RS
276852017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27686
27687 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27688 lxvd2x/stxvd2x with lvx/stvx.
27689 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27690
a122dbfb
L
276912017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27692
27693 * include/alloc_buffer.h: Replace "if if " with "if " in
27694 comments.
27695 * sysdeps/mips/memcpy.S: Likkewise.
27696 * sysdeps/mips/memset.S: Likewise.
27697 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27698 Likewise.
27699 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27700 Likewise.
27701 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27702 Likewise.
27703
9be7530c
MF
277042017-10-25 Mike FABIAN <mfabian@redhat.com>
27705
27706 [BZ #15261]
27707 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27708 yesexpr and noexpr.
27709 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27710 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27711 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27712 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27713 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27714 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27715 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27716
6ccbf6ff
MF
277172017-10-25 Mike FABIAN <mfabian@redhat.com>
27718
27719 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27720 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27721 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27722 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27723 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27724 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27725 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27726 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27727 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27728 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27729 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27730 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27731
58b1a7ea
MF
277322017-10-25 Mike FABIAN <mfabian@redhat.com>
27733
27734 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27735 as possible for better readability of the source.
27736 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27737 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27738 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27739 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27740 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27741 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27742 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27743 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27744 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27745 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27746 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27747 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27748 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27749 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27750 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27751 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27752 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27753 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27754 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27755 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27756 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27757 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27758 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27759 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27760 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27761 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27762 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27763 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27764 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27765 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27766 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27767 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27768 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27769 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27770 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27771 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27772 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27773 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27774 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27775 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27776 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27777 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27778 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27779 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27780 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27781 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27782 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27783 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27784 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27785 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27786 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27787 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27788 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27789 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27790 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27791 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27792 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27793 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27794 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27795 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27796 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27797 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27798 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27799 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27800 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27801 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27802 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27803 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27804 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27805 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27806 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27807 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27808 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27809 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27810 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27811 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27812 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27813 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27814 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27815 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27816 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27817 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27818 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27819 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27820 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27821 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27822 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27823 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27824 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27825 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27826 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27827 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27828 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27829 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27830 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27831 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27832 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27833 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27834 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27835 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27836 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27837 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27838 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27839 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27840 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27841 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27842 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27843 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27844 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27845 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27846 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27847 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27848 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27849 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27850 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27851 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27852 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27853 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27854 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27855 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27856 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27857 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27858 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27859 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27860 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27861 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27862 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27863 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27864 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27865 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27866 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27867 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27868 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27869 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27870 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27871 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27872 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27873 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27874 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27875 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27876 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27877 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27878 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27879 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27880 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27881 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27882 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27883 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27884 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27885 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27886 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27887 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27888 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27889 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27890 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27891 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27892 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27893 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27894 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27895 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27896 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27897 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27898 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27899 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27900 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27901 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27902 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27903 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27904 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27905 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27906 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27907 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27908 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27909 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27910
17e78edb
MF
279112017-10-25 Mike FABIAN <mfabian@redhat.com>
27912
27913 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27914 (Use first letters of yesstr and nostr correctly instead of using
27915 full words).
27916
74e7284f
MF
279172017-10-25 Mike FABIAN <mfabian@redhat.com>
27918
27919 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27920 (Use first letters of yesstr and nostr correctly).
27921
b41a0ff1
MF
279222017-10-25 Mike FABIAN <mfabian@redhat.com>
27923
27924 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27925 also check for the first characters of yesstr and nostr.
27926 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27927 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27928
d971f380
MF
279292017-10-25 Mike FABIAN <mfabian@redhat.com>
27930
27931 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27932 also check for Chinese characters.
27933
effc9e1d
MF
279342017-10-25 Mike FABIAN <mfabian@redhat.com>
27935
27936 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27937 match also for the contents of yesstr and nostr. As the first letter
27938 of yesstr and nostr is equal, checking only for the first letter
27939 is not enough.
27940
10320881
MF
279412017-10-25 Mike FABIAN <mfabian@redhat.com>
27942
27943 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27944 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27945
d8682a15
MF
279462017-10-25 Mike FABIAN <mfabian@redhat.com>
27947
27948 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27949 of main contributor.
27950
1bfb86ae
MF
279512017-10-25 Mike FABIAN <mfabian@redhat.com>
27952
27953 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27954 instead of using English.
27955
da33d60b
MF
279562017-10-25 Mike FABIAN <mfabian@redhat.com>
27957
27958 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27959 by including the first letters of nostr and yesexpr in the regexp.
27960 Also make it more readable by using ASCII where possible.
27961
725bbb3e
MF
279622017-10-25 Mike FABIAN <mfabian@redhat.com>
27963
27964 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27965 the first letter of nostr in the regexp. It agrees with CLDR now.
27966 Also make it more readable by using ASCII where possible.
27967
fe043d8a
MF
279682017-10-24 Mike FABIAN <mfabian@redhat.com>
27969
27970 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27971 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27972 these strings contain a U+17D6 (which somewhat looks like a colon)
27973 instead of a real colon to separate the full words for “yes”
27974 and “no” from the single letter responses.
27975
360a8df3
MF
279762017-10-24 Mike FABIAN <mfabian@redhat.com>
27977
27978 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27979 it agree with CLDR (include the first letter of yesstr).
27980 Also make it more readable by using ASCII where possible.
27981
bab7b6b0
MF
279822017-10-24 Mike FABIAN <mfabian@redhat.com>
27983
27984 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27985 and improve yesexpr and noexpr. The yesstr and nostr apparently
27986 came from CLDR. And CLDR has a bug there: these strings contain
27987 a U+0903 (which looks like a colon) instead of a real colon
27988 to separate the full words for “yes” and “no” from the single
27989 letter responses.
27990
3e79f758
MF
279912017-10-24 Mike FABIAN <mfabian@redhat.com>
27992
27993 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27994 letters of the full yesstr and nostr in yesexpr and noexpr.
27995
4960c879
MF
279962017-10-24 Mike FABIAN <mfabian@redhat.com>
27997
27998 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27999 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28000 * localedata/locales/an_ES: Make source more readable by using ASCII
28001 where possible.
28002
b06a054f
MF
280032017-10-24 Mike FABIAN <mfabian@redhat.com>
28004
28005 [BZ #20952]
28006 * localedata/locales/yuw_PG: New file.
28007 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28008 * locale/iso-639.def: Add Yau (Uruwa).
28009
905a7725
WD
280102017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28011
28012 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28013
3f6bb8a3
WD
280142017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28015
28016 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28017 (__libc_realloc): Likewise.
28018 (_mid_memalign): Likewise.
28019 (__libc_calloc): Likewise.
28020
1d479c8c
MF
280212017-10-23 Mike FABIAN <mfabian@redhat.com>
28022
28023 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28024 by adding the generic +1 and -0 as in all other locales.
28025 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28026 day names and make it more readable by using ASCII where possible.
28027
91c3985c
JM
280282017-10-24 Joseph Myers <joseph@codesourcery.com>
28029
28030 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28031 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28032
aa95a241
AZ
280332017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28034
28035 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28036 WNOHANG in waitpid call.
28037
db9bab09
SP
280382017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28039
a2e0a7f1
SP
28040 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28041 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28042
db9bab09
SP
28043 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28044 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28045 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28046 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28047 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28048 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28049 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28050 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28051 variables.
28052
5062680c
MC
280532017-10-23 Michael Collison <michael.collison@arm.com>
28054
28055 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28056 with __builtin_sqrt.
28057 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28058 with __builtin_sqrtf.
28059 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28060 with __builtin_ceil.
28061 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28062 with __builtin_ceilf.
28063 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28064 with __builtin_floor.
28065 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28066 with __builtin_floorf.
28067 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28068 with __builtin_fma.
28069 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28070 with __builtin_fmaf.
28071 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28072 with __builtin_fmax.
28073 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28074 with __builtin_fmaxf.
28075 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28076 with __builtin_fmin.
28077 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28078 with __builtin_fminf.
28079 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28080 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28081 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28082 with builtin_rint and conversion to int.
28083 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28084 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28085 with builtin_llround.
28086 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28087 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28088 with builtin_rint and conversion to long int.
28089 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28090 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28091 with builtin_lround.
28092 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28093 with builtin_lroundf.
28094 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28095 statements with __builtin_nearbyint.
28096 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28097 statements with __builtin_nearbyintf.
28098 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28099 with __builtin_rint.
28100 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28101 with __builtin_rintf.
28102 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28103 with __builtin_round.
28104 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28105 with __builtin_roundf.
28106 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28107 with __builtin_trunc.
28108 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28109 with __builtin_truncf.
be080b6c
SN
28110 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28111 and s_l[l]round[f].c too.
5062680c 28112
174935af
AM
281132017-10-23 Alan Modra <amodra@gmail.com>
28114
28115 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28116 Adjust stack after restoring regs. Add missing LR cfi_restore.
28117
750a0e49
AM
281182017-10-23 Alan Modra <amodra@gmail.com>
28119
28120 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28121 Move LR save and frame setup/teardown and LR restore to
28122 immediately around memset call. Provide cfi.
28123
5313581c
L
281242017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28125
28126 * sysdeps/i386/fpu/e_powf.S: Removed.
28127 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28128 * sysdeps/i386/fpu/w_powf.c: Likewise.
28129 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28130 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28131 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28132 Add e_powf-sse2.
28133 (CFLAGS-e_powf-sse2.c): New.
28134 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28135 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28136
6089a3ee
L
281372017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28138
28139 * sysdeps/i386/fpu/e_log2f.S: Removed.
28140 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28141 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28142 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28143 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28144 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28145 Add e_log2f-sse2.
28146 (CFLAGS-e_log2f-sse2.c): New.
28147 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28148 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28149
80bb5935
L
281502017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28153 Add e_powf-fma.
28154 (CFLAGS-e_powf-fma.c): New.
28155 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28156 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28157
5c7adbd8
L
281582017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28159
28160 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28161 Add e_log2f-fma.
28162 (CFLAGS-e_log2f-fma.c): New.
28163 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28164 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28165
0ccc7153
L
281662017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28167
28168 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28169 Add e_logf-fma.
28170 (CFLAGS-e_logf-fma.c): New.
28171 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28172 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28173
fe596486
L
281742017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28175
28176 * sysdeps/i386/fpu/e_logf.S: Removed.
28177 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28178 * sysdeps/i386/fpu/w_logf.c: Likewise.
28179 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28180 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28181 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28182 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28183 Add e_logf-sse2.
28184 (CFLAGS-e_logf-sse2.c): New.
28185 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28186 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28187
7eda65f6
L
281882017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28189
28190 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28191 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28192 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28194 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28195 Add e_exp2f-sse2.
28196 (CFLAGS-e_exp2f-sse2.c): New.
28197 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28198 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28199
5d15c969
L
282002017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28201
28202 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28203 Add e_exp2f-fma.
28204 (CFLAGS-e_exp2f-fma.c): New.
28205 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28206 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28207
b2f6137e
L
282082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28209
28210 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28211 * sysdeps/i386/fpu/e_expf.S: Likewise.
28212 * sysdeps/i386/fpu/math_errf.c: Likewise.
28213 * sysdeps/i386/fpu/w_expf.c: Likewise.
28214 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28215 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28216 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28217 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28218 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28219 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28220 Remove e_expf-ia32.
28221 (CFLAGS-e_expf-sse2.c): New.
28222 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28223 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28224
e1f59beb
L
282252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28226
28227 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28228 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28229 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28230 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28231 e_expf.c.
28232 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28233 New.
28234 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28235 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28236 Renamed to ...
28237 (__redirect_expf): This.
28238 (SYMBOL_NAME): Changed to expf.
28239 (__ieee754_expf): Renamed to ...
28240 (__expf): This.
28241 (__GI___expf): This.
28242 (__ieee754_expf): Add strong_alias.
28243 (__expf_finite): Likewise.
28244 (__expf): New.
28245 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28246
363e4519 282472017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
28248
28249 [BZ #22332]
28250 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28251 unescaping.
28252
e80fc1fc
FW
282532017-10-21 Florian Weimer <fweimer@redhat.com>
28254
28255 * posix/Makefile (tests): Add tst-glob-tilde.
28256 (tests-special): Add tst-glob-tilde-mem.out
28257 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28258 (tst-glob-tilde-mem.out): Add mtrace check.
28259 * posix/tst-glob-tilde.c: New file.
28260
797ba44b
JM
282612017-10-20 Joseph Myers <joseph@codesourcery.com>
28262
28263 * bits/floatn-common.h: New file.
28264 * math/Makefile (headers): Add bits/floatn-common.h.
28265 * bits/floatn.h: Include <bits/floatn-common.h>.
28266 * sysdeps/ia64/bits/floatn.h: Likewise.
28267 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28268 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28269 * sysdeps/powerpc/bits/floatn.h: Likewise.
28270 * sysdeps/x86/bits/floatn.h: Likewise.
28271
fe05e1cb
AZ
282722017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28273
8f6f5362
AZ
28274 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28275 indicates whether compiler emits an warning for alias for
28276 functions with incompatible types.
28277
fe05e1cb
AZ
28278 [BZ #22273]
28279 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28280 the auxiliary process is terminated by a signal before calling _exit
28281 or execve.
28282
b52b0d79
L
282832017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 [BZ #21265]
28286 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28287 New.
28288 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28289 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28290 and bit_arch_XSAVEC_Usable if needed.
28291 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28292 and bit_arch_Use_dl_runtime_resolve_opt.
28293 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28294 Removed.
28295 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28296 (bit_arch_Prefer_No_AVX512): Updated.
28297 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28298 (bit_arch_XSAVEC_Usable): New.
28299 (STATE_SAVE_OFFSET): Likewise.
28300 (STATE_SAVE_MASK): Likewise.
28301 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28302 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28303 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28304 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28305 (index_arch_XSAVEC_Usable): New.
28306 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28307 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28308 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28309 is enabled.
28310 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28311 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28312 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28313 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28314 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28315 _dl_runtime_resolve_xsavec.
28316 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28317 Removed.
28318 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28319 instead of VEC_SIZE.
28320 (REGISTER_SAVE_BND0): Removed.
28321 (REGISTER_SAVE_BND1): Likewise.
28322 (REGISTER_SAVE_BND3): Likewise.
28323 (REGISTER_SAVE_RAX): Always defined to 0.
28324 (VMOV): Removed.
28325 (_dl_runtime_resolve_avx): Likewise.
28326 (_dl_runtime_resolve_avx_slow): Likewise.
28327 (_dl_runtime_resolve_avx_opt): Likewise.
28328 (_dl_runtime_resolve_avx512): Likewise.
28329 (_dl_runtime_resolve_avx512_opt): Likewise.
28330 (_dl_runtime_resolve_sse): Likewise.
28331 (_dl_runtime_resolve_sse_vex): Likewise.
28332 (USE_FXSAVE): New.
28333 (_dl_runtime_resolve_fxsave): Likewise.
28334 (USE_XSAVE): Likewise.
28335 (_dl_runtime_resolve_xsave): Likewise.
28336 (USE_XSAVEC): Likewise.
28337 (_dl_runtime_resolve_xsavec): Likewise.
28338 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28339 Removed.
28340 (_dl_runtime_resolve_avx512_opt): Likewise.
28341 (_dl_runtime_resolve_avx): Likewise.
28342 (_dl_runtime_resolve_avx_opt): Likewise.
28343 (_dl_runtime_resolve_sse): Likewise.
28344 (_dl_runtime_resolve_sse_vex): Likewise.
28345 (_dl_runtime_resolve_fxsave): New.
28346 (_dl_runtime_resolve_xsave): Likewise.
28347 (_dl_runtime_resolve_xsavec): Likewise.
28348
363e4519 283492017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
28350
28351 [BZ #22320]
28352 CVE-2017-15670
28353 * posix/glob.c (__glob): Fix one-byte overflow.
28354
6d43de4b
WD
283552017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28356
28357 * malloc/malloc.c (sysdep-cancel.h): Add include.
28358
a15d53e2
WD
283592017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28360
28361 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28362
b9a558e7
WH
283632017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28364
28365 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28366 (tests): Remove $(objpfx)ga_test depdendency.
28367 * resolv/ga_test.c: Remove file.
28368
b6b08b8e
MF
283692017-10-20 Mike FABIAN <mfabian@redhat.com>
28370
28371 [BZ #18812]
28372 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28373 * localedata/locales/kab_DZ: New file.
28374
9ba7e810
L
283752017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28376
28377 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28378 _dl_relocate_static_pie instead of _dl_start to compute load
28379 address in static PIE.
28380
4027a4fd
L
283812017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28384
2f9314b4
MF
283852017-10-20 Mike FABIAN <mfabian@redhat.com>
28386
28387 [BZ #13605]
28388 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28389 * localedata/locales/shn_MM: New file.
28390
63b4baa4
FW
283912017-10-20 Florian Weimer <fweimer@redhat.com>
28392
28393 [BZ #22321]
28394 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28395 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28396 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28397 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28398 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28399 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28400
95ccb619
L
284012017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28402
28403 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28404
37bb78cb
JM
284052017-10-19 Joseph Myers <joseph@codesourcery.com>
28406
76f2ed92
JM
28407 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28408
37bb78cb
JM
28409 [BZ #22322]
28410 * sysdeps/mips/bits/long-double.h: Move to ....
28411 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28412
d74e6f6c
WD
284132017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28414
28415 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28416
363e4519 284172017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
28418 H.J. Lu <hongjiu.lu@intel.com>
28419
28420 [BZ #22299]
28421 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28422 GLRO(dl_platform) to NULL.
28423 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28424 (modules-names): Add tst-platformmod-1 and
28425 x86_64/tst-platformmod-2.
28426 (CFLAGS-tst-platform-1.c): New.
28427 (CFLAGS-tst-platformmod-1.c): Likewise.
28428 (CFLAGS-tst-platformmod-2.c): Likewise.
28429 (LDFLAGS-tst-platformmod-2.so): Likewise.
28430 ($(objpfx)tst-platform-1): Likewise.
28431 ($(objpfx)tst-platform-1.out): Likewise.
28432 (tst-platform-1-ENV): Likewise.
28433 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28434 * sysdeps/x86_64/tst-platform-1.c: New file.
28435 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28436 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28437
4b0fa403
MF
284382017-10-19 Mike FABIAN <mfabian@redhat.com>
28439
28440 [BZ #13994]
28441 * locale/iso-639.def: Add Karbi.
28442 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28443 * localedata/locales/mjw_IN: New file.
28444
81325b12
JM
284452017-10-18 Joseph Myers <joseph@codesourcery.com>
28446
28447 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28448 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28449 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28450 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28451 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28452 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28453 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28454 <bits/floatn.h>.
28455 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28456 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28457 * manual/math.texi (Mathematics): Document additional architecture
28458 support for _Float128.
28459 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28460 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28461 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28462 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28463 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28464 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28465 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28466 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28467 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28468 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28469 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28470 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28471 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28473 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28474
a68ba2f3
SN
284752017-10-18 Renlin Li <renlin.li@arm.com>
28476
28477 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28478 _DYNAMIC symbol to calculate load address.
28479
346729f6
PC
284802017-10-18 Paul A. Clarke <pc@us.ibm.com>
28481
28482 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28483 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28484 summary bits.
28485 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28486 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28487
508b1e71
MF
284882017-10-18 Mike FABIAN <mfabian@redhat.com>
28489
28490 [BZ #16777]
28491 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28492 and improve readability by using more ASCII.
28493 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28494 and improve readability by using more ASCII.
28495
2c2245b9
WD
284962017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28497
28498 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28499 not all targets support atomics on bool.
28500
13c92696
JM
285012017-10-17 Joseph Myers <joseph@codesourcery.com>
28502
28503 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28504 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28505 __f128.
28506 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28507 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28508 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28509 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28510 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28511 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28512
71d85045
AZ
285132017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28514
28515 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28516 defines.
28517
3381be5c
WD
285182017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28519
28520 [BZ #22159]
28521 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28522 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28523 (do_check_remalloced_chunk): Fix build bug.
28524 (do_check_malloc_state): Add assert that checks arena->top.
28525 (malloc_consolidate): Remove initialization.
28526 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 28527 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 28528
e956075a
WD
285292017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28530
28531 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28532 (have_fastchunks): Remove.
28533 (clear_fastchunks): Remove.
28534 (set_fastchunks): Remove.
28535 (malloc_state): Add have_fastchunks.
28536 (malloc_init_state): Use have_fastchunks.
28537 (do_check_malloc_state): Remove incorrect invariant checks.
28538 (_int_malloc): Use have_fastchunks.
28539 (_int_free): Likewise.
28540 (malloc_consolidate): Likewise.
28541
e4dd4ace
WD
285422017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28543
28544 * malloc/malloc.c (tcache_put): Inline.
28545 (tcache_get): Inline.
28546
5bf58bc7
AJ
285472017-10-17 Jordi Mallach <jordi@gnu.org>
28548
28549 Aurelien Jarno <aurelien@aurel32.net>
28550 [BZ #2522]
28551 * localedata/locales/ca_ES@valencia: New file.
28552 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28553
386e1c26
RN
285542017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28555
28556 [BZ #22296]
28557 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28558 < 6.x
28559
4e17c78e
AZ
285602017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28561
3d265601
AZ
28562 * scripts/build-many-glibcs.py (Context.add_all_configs):
28563 Add arm-linux-gnueabihf multiarch extra_glibcs.
28564
4e17c78e
AZ
28565 * sysdeps/generic/ifunc-init.h: New file.
28566 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28567
56a752ab
MF
285682017-10-17 Mike FABIAN <mfabian@redhat.com>
28569
28570 [BZ #22019]
28571 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28572 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28573 * stdlib/tst-strfmon_l.c: adapt test case.
28574
c38a4bfd
JM
285752017-10-16 Joseph Myers <joseph@codesourcery.com>
28576
28577 * sysdeps/generic/float128-abi.h: New file.
28578 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28579 non-__prefixed symbols to ....
28580 * math/Versions: ... here. Include <float128-abi.h>.
28581 * stdlib/Versions ... and here. Include <float128-abi.h>
28582
76009b26
FW
285832017-10-16 Florian Weimer <fweimer@redhat.com>
28584
28585 * version.h (VERSION): Switch to ".9000" as the development
28586 version suffix.
28587
7ece6cd5
FW
285882017-10-16 Florian Weimer <fweimer@redhat.com>
28589
28590 [BZ #22050]
28591 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28592 compat_symbol_reference to access non-default version.
28593
d8287b36
FW
285942017-10-16 Florian Weimer <fweimer@redhat.com>
28595
28596 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28597
3480ddc4
CD
285982017-10-16 Carlos O'Donell <carlos@redhat.com>
28599
28600 * include/shlib-compat.h (compat_symbol_reference): Update
28601 comment.
28602
02010e79
JM
286032017-10-16 Joseph Myers <joseph@codesourcery.com>
28604
596f7013
JM
28605 * math/Makefile (test-types): Add
28606 $(type-float128-$(float128-alias-fcts)).
28607 * math/test-float128.h (TYPE_STR): Define conditional on
28608 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28609 (ULP_IDX): Likewise.
28610 (ULP_I_IDX): Likewise.
28611
02010e79
JM
28612 * stdlib/strtold.c: Include <bits/floatn.h>
28613 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28614 and later undefine as macro. Define as weak alias if
28615 [!USE_WIDE_CHAR].
28616 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28617 and later undefine as macro. Define as weak alias if
28618 [USE_WIDE_CHAR].
28619 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28620 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28621 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28622 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28623 Define and later undefine as macro. Define as weak alias if
28624 [USE_WIDE_CHAR].
28625 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28626 <bits/floatn.h>.
28627 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28628 Define and later undefine as macro. Define as weak alias if
28629 [!USE_WIDE_CHAR].
28630 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28631 Define and later undefine as macro. Define as weak alias if
28632 [USE_WIDE_CHAR].
28633
ea91c315
CD
286342017-10-15 Carlos O'Donell <carlos@redhat.com>
28635
28636 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28637 record_verbose messages.
28638
8e57c943
L
286392017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28640
28641 [BZ #22052]
28642 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28643 to silence -O3 -Wall warning with GCC 7.
28644
a4777c46
L
286452017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28646
28647 * Makeconfig (+link-static-before-libc): Use the first of
28648 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28649 * gmon/Makefile (tests): Add tst-gmon-static.
28650 (tests-static): Likewise.
28651 (CFLAGS-tst-gmon-static.c): New.
28652 (CRT-tst-gmon-static): Likewise.
28653 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28654 (tst-gmon-static-ENV): Likewise.
28655 (tests-special): Likewise.
28656 ($(objpfx)tst-gmon-static.out): Likewise.
28657 (clean-tst-gmon-static-data): Likewise.
28658 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28659 * gmon/tst-gmon-static-gprof.sh: New file.
28660 * gmon/tst-gmon-static.c: Likewise.
28661
bc3821bb
CD
286622017-10-13 Carlos O'Donell <carlos@redhat.com>
28663
28664 [BZ #22295]
28665 * locale/programs/linereader.c (get_string): Don't warn on
28666 non-symbolic character.
28667
a3e23a2c
CD
28668 [BZ #22294]
28669 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28670 int_curr_symbol.
28671
f16491eb
CD
28672 [BZ #22292]
28673 * locale/programs/record-status.h: New file
28674 * locale/programs/locale.c: Add comment.
28675 * locale/programs/charmap-dir.c: Don't include error.h.
28676 (charmap_opendir): Use record_error.
28677 * locale/programs/charmap.c: Don't include error.h.
28678 (charmap_read): Use record_error, and record_warning.
28679 (parse_charmap): Likewise.
28680 * locale/programs/ld-address.c: Don't include error.h.
28681 (address_finish): Use record_error, and record_warning.
28682 * locale/programs/ld-collate.c: Don't include error.h.
28683 (collate_finish): Use record_error, and record_error_at_line.
28684 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28685 (ctype_class_new): Likewise.
28686 (ctype_map_new): Likewise.
28687 (set_one_default): Likewise.
28688 (set_class_defaults): Likewise.
28689 (translit_flatten): Likewise.
28690 (allocate_arrays): Use record_error, and record_verbose.
28691 * locale/programs/ld-identification.c: Don't include error.h.
28692 (indentation_finish): Use record_error and record_warning.
28693 * locale/programs/ld-measurement.c: Don't include error.h.
28694 (measurement_finish): Use record_error.
28695 * locale/programs/ld-messages.c
28696 (message_finish): Likewise.
28697 * locale/programs/ld-monetary.c
28698 (monetary_finish): Likewise.
28699 * locale/programs/ld-name.c (name_finish): Use record_error
28700 and record_warning.
28701 * locale/programs/ld-numeric.c
28702 (numeric_finish): Use record_error.
28703 * locale/programs/ld-paper.c: Don't include error.h.
28704 (paper_finish): Use record_error.
28705 * locale/programs/ld-telephone.c: Don't include error.h.
28706 (telephone_finish): Use record_error.
28707 * locale/programs/ld-time.c (time_finish): Likewise.
28708 * locale/programs/linereader.h (lr_error): Make inline func.
28709 * locale/programs/localedef.c: Define recorded_warning_count,
28710 and recorded_error_count.
28711 (main): Use record_error. Use recorded_error_count and
28712 recorded_warning_count to issue correct error returns.
28713 (add_to_readlist): Use record_error.
28714 (find_locale): Likewise.
28715 (load_locale): Likewise.
28716 * locale/programs/localedef.h: Remove be_quiet
28717 and WITH_CUR_LOCALE.
28718 * locale/programs/locarchive.c (compare_from_file): Use
28719 record_error.
28720 * locale/programs/locfile.c (write_locale_data): Use
28721 record_error.
28722 * locale/programs/repertoire.c: Dont include error.h.
28723 (repertoire_complain): Use record_error.
28724 * localedata/tst-fmon.sh: Expect failures from localedef.
28725 * localedata/tst-locale.sh: Likewise.
28726 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28727
8dc8be75
CD
28728 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28729 (REPORTS): Likewise.
28730 (check): Likewise.
28731 (i18n): Rename to...
28732 (i18n_ctype): ...this.
28733 (i18n-report): Rename to...
28734 (i18n_ctype-report): ...this.
28735 * localedata/locales/i18n_ctype: Regenerate.
28736 * localedata/locales/i18n: copy i18n_ctype.
28737
f8718a9e
JM
287382017-10-13 Joseph Myers <joseph@codesourcery.com>
28739
18c08b96
JM
28740 * stdlib/strfroml.c: Include <bits/floatn.h>.
28741 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28742 Define before include of <stdlib.h> and undefine afterwards, then
28743 define as weak alias.
28744
f8718a9e
JM
28745 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28746 Undefine and restore default definition. Use
28747 libm_alias_ldouble_other.
28748
e4f530da
PZ
287492017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28750
28751 [BZ #22153]
28752 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28753 in coredumps.
28754
86445888
JC
287552017-10-13 James Clarke <jrtc27@jrtc27.com>
28756
28757 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28758 Assign sym_map to be map for local symbols, as TLS relocations
28759 use sym_map to determine whether the symbol is defined and to
28760 extract the TLS information.
28761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28763
179dcdb7
TMQMF
287642017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28765
e8dbd6a3
TMQMF
28766 [BZ #22189]
28767 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28768 (math_force_eval): Add powerpc version.
28769
179dcdb7
TMQMF
28770 [BZ #22142]
28771 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28772 -DBL_MAX.
28773 (do_test): Likewise.
28774 * stdio-common/tst-printf.sh: Likewise.
28775 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28776 ifdef clause in order to set the carry bit right. Replace r0 by
28777 0 without changing the behavior.
28778
7d25d410
JM
287792017-10-13 Joseph Myers <joseph@codesourcery.com>
28780
006e7664
JM
28781 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28782 <libm-alias-ldouble.h>.
28783 (fabsl): Define using libm_alias_ldouble.
28784 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28785 <libm-alias-ldouble.h>.
28786 (fabsl): Define using libm_alias_ldouble.
28787
1def91b3
JM
28788 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28789 Remove conditional code.
28790
7d25d410
JM
28791 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28792 Rename to __clog10_internal_l.
28793 (__clog10_internal_l): Define aliases using
28794 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28795 with __clog10.
28796
077ee129
RS
287972017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28798
28799 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28800 * benchtests/sincosf-inputs: New file.
28801 * benchtests/cosf-inputs: New file.
28802 * benchtests/sinf-inputs: New file.
28803
5ba41de9
SN
288042017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28805
28806 * posix/tst-spawn.c (do_test): Wait for both children.
28807
d165ca64
L
288082017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28809
28810 [BZ #22284]
28811 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28812 tests-pie): Add tst-gmon-pie.
28813 (CFLAGS-tst-gmon-pie.c): New.
28814 (CRT-tst-gmon-pie): Likewise.
28815 (tst-gmon-pie-ENV): Likewise.
28816 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28817 ($(objpfx)tst-gmon-pie.out): Likewise.
28818 (clean-tst-gmon-pie-data): Likewise.
28819 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28820 * gmon/gmon.c [PIC]: Include <link.h>.
28821 [PIC] (callback): New function.
28822 (write_hist): Add an argument for load address. Subtract load
28823 address from PCs.
28824 (write_call_graph): Likewise.
28825 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28826 it to write_hist and write_call_graph.
7bacdcfc 28827 * gmon/tst-gmon-pie.c: New file.
d165ca64 28828
bc9620d0
JM
288292017-10-11 Joseph Myers <joseph@codesourcery.com>
28830
28831 * math/Makefile (test-types-basic): New variable.
28832 (test-types): Likewise.
28833 (libm-test-support): Use $(test-types) instead of $(types).
28834 (libm-tests-base-normal): Likewise.
28835 (libm-tests-base-finite): Likewise.
28836 (libm-tests-base-inline): Likewise.
28837 (generated): Likewise.
28838 ($(objpfx)libm-test-support-$(t).c): Likewise.
28839 (libm-tests-for-type iterator): Likewise.
28840 (libm-test-support iterator): Likewise.
28841 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28842 (ulp_idx): Use ULP_IDX.
28843 * math/test-ldouble.h: Include <float.h>.
28844 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28845 (ULP_IDX): New macro.
28846 (ULP_I_IDX): Likewise.
28847 * math/test-double.h (ULP_IDX): Likewise.
28848 (ULP_I_IDX): Likewise.
28849 * math/test-float.h (ULP_IDX): Likewise.
28850 (ULP_I_IDX): Likewise.
28851 * math/test-float128.h (ULP_IDX): Likewise.
28852 (ULP_I_IDX): Likewise.
28853
09c76a74
AZ
288542017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28855
28856 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28857 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28858 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28859 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28860 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28861 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28862 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28864 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28865 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28866 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28867 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28868 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28870 (SINGLE_THREAD_BY_GLOBAL): Define.
28871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28872 Likewise.
28873 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28874 Likewise.
28875 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28876 Likewise.
28877 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28878 Likewise.
28879 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28880 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28882 Likewise.
28883
2faa42da
AS
288842017-10-11 Andreas Schwab <schwab@suse.de>
28885
28886 * nis/Makefile (aux): Remove.
28887 * nscd/Makefile (aux): Add nscd_hash.
28888 (nscd-modules): Likewise.
28889 ($(objpfx)nscd): Don't depend on libnsl.
28890 * nscd/nscd_hash.c: New file.
28891 * nscd/nscd_hash.h: Likewise.
28892 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28893 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28894 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28895 instead of <nis/rpcsvc/nis.h>.
28896 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28897
d8425e11
FW
288982017-10-11 Florian Weimer <fweimer@redhat.com>
28899
28900 [BZ #22078]
28901 Avoid large NSS buffers with many addresses, aliases.
28902 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28903 using dynarrays and struct alloc_buffer.
28904 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28905 (tst-nss-files-hosts-multi): Link with -ldl.
28906 * nss/tst-nss-files-hosts-multi.c: New file.
28907
78e806fd
FW
289082017-10-11 Florian Weimer <fweimer@redhat.com>
28909
28910 [BZ #18023]
28911 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28912 scratch_buffer. Eliminate gotos.
28913
541f19ba
JM
289142017-10-11 Joseph Myers <joseph@codesourcery.com>
28915
0ff64d3a
JM
28916 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28917 libm_alias_ldouble_other.
28918 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28919 undefine and redefine.
28920 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28921 (exp10l): Do not define here.
28922 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28923 (weak_alias): Undefine and redefine.
28924 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28925 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28926 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28927 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28928
541f19ba
JM
28929 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28930 [!__fma] (fma): Define using libm_alias_double.
28931 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28932 [!__fmaf] (fmaf): Define using libm_alias_float.
28933 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28934 (fmal): Define using libm_alias_ldouble.
28935
24b6515d
JM
289362017-10-10 Joseph Myers <joseph@codesourcery.com>
28937
28938 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28939 New macro.
28940 (libm_alias_double_other): Likewise.
28941 (libm_alias_double_r): Use libm_alias_double_other_r.
28942 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28943 New macro.
28944 (libm_alias_float_other): Likewise.
28945 (libm_alias_float_r): Use libm_alias_float_other_r.
28946 * sysdeps/generic/libm-alias-float128.h
28947 (libm_alias_float128_other_r): New macro.
28948 (libm_alias_float128_other): Likewise.
28949 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28950 * sysdeps/generic/libm-alias-ldouble.h
28951 (libm_alias_ldouble_other_r): New macro.
28952 (libm_alias_ldouble_other): Likewise.
28953 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28954 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28955 (libm_alias_double_other_r): New macro.
28956 (libm_alias_double_other): Likewise.
28957 (libm_alias_double_r): Use libm_alias_double_other_r.
28958 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28959 (libm_alias_ldouble_other_r): New macro.
28960 (libm_alias_ldouble_other): Likewise.
28961 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28962 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28963 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28964 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28965 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28966 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28967 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28968 * math/w_exp2f.c: Use libm_alias_float_other.
28969 * math/w_expf.c: Likewise.
28970 * math/w_log2f.c: Likewise.
28971 * math/w_logf.c: Likewise.
28972 * math/w_powf.c: Likewise.
28973 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28974 [!__exp2f]: Use libm_alias_float_other.
28975 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28976 [!__expf]: Use libm_alias_float_other.
28977 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28978 [!__log2f]: Use libm_alias_float_other.
28979 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28980 [!__logf]: Use libm_alias_float_other.
28981 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28982 [!__powf]: Use libm_alias_float_other.
28983
8ed70de2
FW
289842017-10-10 Florian Weimer <fweimer@redhat.com>
28985
28986 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28987 function.
28988 (_nss_files_gethostbyname3_r): Call it.
28989
a8dce619
JM
289902017-10-09 Joseph Myers <joseph@codesourcery.com>
28991
28992 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28993 error. Remove default definition of declare_mgen_alias.
28994 [!declare_mgen_alias_r]: Likewise.
28995 * sysdeps/generic/math-type-macros-double.h
28996 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28997 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28998 (declare_mgen_alias_r): Likewise.
28999 * sysdeps/generic/math-type-macros-float128.h
29000 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29001 * sysdeps/generic/math-type-macros-ldouble.h
29002 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29003 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29004 macro.
29005 (declare_mgen_alias_r_s): Likewise.
29006 (declare_mgen_alias_r): Likewise.
29007 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29008 (lgamma_r): Define using libm_alias_double_r.
29009 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29010 (lgammaf_r): Define using libm_alias_float_r.
29011 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29012 (lgammal_r): Define using libm_alias_ldouble_r.
29013 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29014 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29015
bedac136
AZ
290162017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29017
29018 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29019 extern declaration.
29020
c7509db2
JM
290212017-10-09 Joseph Myers <joseph@codesourcery.com>
29022
29023 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29024
d6c064e9
JW
290252017-10-09 Jonathan Wakely <jwakely@redhat.com>
29026
29027 [BZ #21326]
29028 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29029 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29030 * math/Makefile (test-math-cxx11): New test.
29031 * math/test-math-cxx11.cc: New file.
29032
98e07420
CB
290332017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29034
29035 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29036
645ac9aa
CB
29037 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29038 call to allocate the slave pty file descriptor.
29039
fd3b4e7c
JM
290402017-10-06 Joseph Myers <joseph@codesourcery.com>
29041
f85a176f
JM
29042 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29043 [!__fma] (fma): Define using libm_alias_double.
29044 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29045 [!__fma] (fma): Define using libm_alias_double.
29046
fd3b4e7c
JM
29047 * sysdeps/ieee754/float128/float128_private.h: Include
29048 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29049 (libm_alias_ldouble_r): Undefine and redefine.
29050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29051 <libm-alias-ldouble.h>.
29052 (asinhl): Define using libm_alias_ldouble.
29053 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29054 <libm-alias-ldouble.h>.
29055 (atanl): Define using libm_alias_ldouble.
29056 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29057 <libm-alias-ldouble.h>.
29058 (cbrtl): Define using libm_alias_ldouble.
29059 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29060 <libm-alias-ldouble.h>.
29061 (ceill): Define using libm_alias_ldouble.
29062 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29063 <libm-alias-ldouble.h>.
29064 (copysignl): Define using libm_alias_ldouble.
29065 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29066 <libm-alias-ldouble.h>.
29067 (cosl): Define using libm_alias_ldouble.
29068 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29069 <libm-alias-ldouble.h>.
29070 (erfl): Define using libm_alias_ldouble.
29071 (erfcl): Likewise.
29072 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29073 <libm-alias-ldouble.h>.
29074 (expm1l): Define using libm_alias_ldouble.
29075 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29076 <libm-alias-ldouble.h>.
29077 (fabsl): Define using libm_alias_ldouble.
29078 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29079 <libm-alias-ldouble.h>.
29080 (floorl): Define using libm_alias_ldouble.
29081 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29082 <libm-alias-ldouble.h>.
29083 (fmal): Define using libm_alias_ldouble.
29084 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29085 <libm-alias-ldouble.h>.
29086 (frexpl): Define using libm_alias_ldouble.
29087 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29088 libm_alias_ldouble.
29089 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29090 <libm-alias-ldouble.h>.
29091 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29092 libm_alias_ldouble.
29093 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29094 <libm-alias-ldouble.h>.
29095 (getpayloadl): Define using libm_alias_ldouble.
29096 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29097 <libm-alias-ldouble.h>.
29098 (llrintl): Define using libm_alias_ldouble.
29099 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29100 <libm-alias-ldouble.h>.
29101 (llroundl): Define using libm_alias_ldouble.
29102 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29103 <libm-alias-ldouble.h>.
29104 (logbl): Define using libm_alias_ldouble.
29105 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29106 <libm-alias-ldouble.h>.
29107 (lrintl): Define using libm_alias_ldouble.
29108 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29109 <libm-alias-ldouble.h>.
29110 (lroundl): Define using libm_alias_ldouble.
29111 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29112 <libm-alias-ldouble.h>.
29113 (modfl): Define using libm_alias_ldouble.
29114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29115 <libm-alias-ldouble.h>.
29116 (nearbyintl): Define using libm_alias_ldouble.
29117 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29118 <libm-alias-ldouble.h>.
29119 (nextafterl): Define using libm_alias_ldouble.
29120 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29121 <libm-alias-ldouble.h>.
29122 (nextupl): Define using libm_alias_ldouble.
29123 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29124 <libm-alias-ldouble.h>.
29125 (remquol): Define using libm_alias_ldouble.
29126 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29127 <libm-alias-ldouble.h>.
29128 (rintl): Define using libm_alias_ldouble.
29129 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29130 <libm-alias-ldouble.h>.
29131 (roundevenl): Define using libm_alias_ldouble.
29132 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29133 <libm-alias-ldouble.h>.
29134 (roundl): Define using libm_alias_ldouble.
29135 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29136 using libm_alias_ldouble.
29137 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29138 <libm-alias-ldouble.h>.
29139 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29140 Define using libm_alias_ldouble.
29141 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29142 <libm-alias-ldouble.h>.
29143 (sincosl): Define using libm_alias_ldouble.
29144 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29145 <libm-alias-ldouble.h>.
29146 (sinl): Define using libm_alias_ldouble.
29147 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29148 <libm-alias-ldouble.h>.
29149 (tanhl): Define using libm_alias_ldouble.
29150 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29151 <libm-alias-ldouble.h>.
29152 (tanl): Define using libm_alias_ldouble.
29153 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29154 <libm-alias-ldouble.h>.
29155 (totalorderl): Define using libm_alias_ldouble.
29156 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29157 <libm-alias-ldouble.h>.
29158 (totalordermagl): Define using libm_alias_ldouble.
29159 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29160 <libm-alias-ldouble.h>.
29161 (truncl): Define using libm_alias_ldouble.
29162 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29163 libm_alias_ldouble.
29164 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29165 libm_alias_ldouble.
29166 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29167 <libm-alias-ldouble.h>.
29168 (weak_alias): Do not undefine and redefine.
29169 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29170 (copysignl): Define with long_double_symbol only if [IS_IN
29171 (libc)].
29172 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29173 <libm-alias-ldouble.h>.
29174 (weak_alias): Do not undefine and redefine.
29175 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29176 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29177 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29178 <libm-alias-ldouble.h>.
29179 (weak_alias): Do not undefine and redefine.
29180 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29181 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29182 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29183 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29186 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29189 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29192 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29199 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29206
1e26d351
CD
292072017-10-06 Carlos O'Donell <carlos@redhat.com>
29208
29209 [BZ #22111]
29210 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29211 (tcache_thread_freeres): Set tcache_shutting_down before
29212 freeing the tcache.
29213 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29214 * malloc/tst-malloc-tcache-leak.c: New file.
29215
d1386762
RS
292162017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29217
29218 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29219 back to powerpc32 file.
29220 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29221 (memrchr): Add __memrchr_power8 to ifunc list.
29222 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29223 extra bytes for unaligned inputs.
29224
6dff1983
JM
292252017-10-06 Joseph Myers <joseph@codesourcery.com>
29226
29227 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29228 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29232
86f9568a
JM
292332017-10-05 Joseph Myers <joseph@codesourcery.com>
29234
0db0b931
JM
29235 * sysdeps/arm/libm-test-ulps: Update.
29236
86f9568a
JM
29237 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29238 <libm-alias-ldouble.h>.
29239 (asinhl): Define using libm_alias_ldouble.
29240 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29241 <libm-alias-ldouble.h>.
29242 (cbrtl): Define using libm_alias_ldouble.
29243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29244 <libm-alias-ldouble.h>.
29245 (copysignl): Define using libm_alias_ldouble.
29246 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29247 <libm-alias-ldouble.h>.
29248 (cosl): Define using libm_alias_ldouble.
29249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29250 <libm-alias-ldouble.h>.
29251 (erfl): Define using libm_alias_ldouble.
29252 (erfcl): Likewise.
29253 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29254 <libm-alias-ldouble.h>.
29255 (fmal): Define using libm_alias_ldouble.
29256 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29257 <libm-alias-ldouble.h>.
29258 (frexpl): Define using libm_alias_ldouble.
29259 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29260 libm_alias_ldouble.
29261 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29262 <libm-alias-ldouble.h>.
29263 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29264 libm_alias_ldouble.
29265 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29266 <libm-alias-ldouble.h>.
29267 (getpayloadl): Define using libm_alias_ldouble.
29268 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29269 <libm-alias-ldouble.h>.
29270 (llrintl): Define using libm_alias_ldouble.
29271 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29272 <libm-alias-ldouble.h>.
29273 (llroundl): Define using libm_alias_ldouble.
29274 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29275 <libm-alias-ldouble.h>.
29276 (lrintl): Define using libm_alias_ldouble.
29277 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29278 <libm-alias-ldouble.h>.
29279 (lroundl): Define using libm_alias_ldouble.
29280 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29281 <libm-alias-ldouble.h>.
29282 (modfl): Define using libm_alias_ldouble.
29283 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29284 <libm-alias-ldouble.h>.
29285 (nextupl): Define using libm_alias_ldouble.
29286 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29287 <libm-alias-ldouble.h>.
29288 (remquol): Define using libm_alias_ldouble.
29289 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29290 <libm-alias-ldouble.h>.
29291 (roundevenl): Define using libm_alias_ldouble.
29292 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29293 <libm-alias-ldouble.h>.
29294 (roundl): Define using libm_alias_ldouble.
29295 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29296 using libm_alias_ldouble.
29297 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29298 <libm-alias-ldouble.h>.
29299 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29300 <libm-alias-ldouble.h>.
29301 (setpayloadsigl): Define using libm_alias_ldouble.
29302 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29303 <libm-alias-ldouble.h>.
29304 (sincosl): Define using libm_alias_ldouble.
29305 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29306 <libm-alias-ldouble.h>.
29307 (sinl): Define using libm_alias_ldouble.
29308 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29309 <libm-alias-ldouble.h>.
29310 (tanhl): Define using libm_alias_ldouble.
29311 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29312 <libm-alias-ldouble.h>.
29313 (tanl): Define using libm_alias_ldouble.
29314 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29315 <libm-alias-ldouble.h>.
29316 (totalorderl): Define using libm_alias_ldouble.
29317 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29318 <libm-alias-ldouble.h>.
29319 (totalordermagl): Define using libm_alias_ldouble.
29320 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29321 libm_alias_ldouble.
29322 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29323 libm_alias_ldouble.
29324
9ec87fd2
SP
293252017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29326
dd5bc7f1
SP
29327 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29328 memmove_falkor.
29329 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29330 (__libc_ifunc_impl_list): Likewise.
29331 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29332 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29333
5bfb0404
SP
29334 * benchtests/bench-memmove-walk.c: New file.
29335 * benchtests/Makefile (string-benchset): Add it.
29336
36bb8edf
SP
29337 * benchtests/bench-memset-walk.c: New file.
29338 * benchtests/Makefile (string-benchset): Add it.
29339
9ec87fd2
SP
29340 * benchtests/bench-memcpy-walk.c: New file.
29341 * benchtests/Makefile (string-benchset): Add it.
29342
1e9522c6
FW
293432017-10-05 Florian Weimer <fweimer@redhat.com>
29344
29345 nscd: Eliminate compilation time dependency in the build output.
29346 * nscd/nscd_stat.c (STATDATA_VERSION)
29347 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29348 (STATDATA_VERSION_FULL): New macro definitions.
29349 (compilation): Remove.
29350 (struct statdata): Adjust version member.
29351 (send_stats): Set version from STATDATA_VERSION_FULL.
29352 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29353
644d3857
JM
293542017-10-05 Joseph Myers <joseph@codesourcery.com>
29355
29356 * configure.ac (--enable-add-ons): Remove option.
29357 (machine): Do not mention add-ons in comment.
29358 (LIBC_PRECONFIGURE): Likewise.
29359 (add_ons): Remove variable and sanity checks and logic to locate
29360 add-ons.
29361 (add_ons_automatic): Remove variable.
29362 (configured_add_ons): Likewise.
29363 (add_ons_sfx): Likewise.
29364 (add_ons_pfx): Likewise.
29365 (add_on_subdirs): Likewise.
29366 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29367 consideration of add-ons in Implies handling.
29368 (sysdeps_add_ons): Likewise.
29369 * configure: Regenerated.
29370 * libidn/configure.ac: Remove.
29371 * libidn/configure: Likewise.
29372 * sysdeps/unix/inet/configure.ac: New file.
29373 * sysdeps/unix/inet/configure: New generated file.
29374 * sysdeps/unix/inet/Subdirs: Add libidn.
29375 * Makeconfig (sysdeps-srcdirs): Remove variable.
29376 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29377 ($(common-objpfx)config.status): Do not depend on add-on files.
29378 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29379 comment.
29380 (all-subdirs): Do not include $(add-on-subdirs).
29381 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29382 * config.make.in (add-ons): Remove variable.
29383 (add-on-subdirs): Likewise.
29384 (sysdeps-add-ons): Likewise.
29385 * manual/Makefile (add-chapters): Remove.
29386 ($(objpfx)texis): Do not depend on $(add-chapters).
29387 (nonexamples): Do not handle $(add-chapters).
29388 (examples): Do not handle $(add-ons).
29389 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29390 libc-texinfo.sh.
29391 * manual/install.texi (Installation): Do not mention add-ons.
29392 (--enable-add-ons): Do not document configure option.
29393 * INSTALL: Regenerated.
29394 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29395 * manual/maint.texi (Hierarchy Conventions): Do not mention
29396 add-ons.
29397 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29398 --enable-add-ons.
29399 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29400 add-ons.
29401 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29402 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29403
19f82f35
AS
294042017-10-05 Andreas Schwab <schwab@suse.de>
29405
29406 [BZ #15142]
29407 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29408 (_IO_flush_all_lockp): Always lock list_all_lock.
29409 (_IO_flush_all_linebuffered): Likewise.
29410 (_IO_unbuffer_all): Likewise.
29411
91e7cf98
FW
294122017-10-05 Florian Weimer <fweimer@redhat.com>
29413
29414 [BZ #15436]
29415 Do not flush stdio streams on abort.
29416 * stdlib/abort.c (fflush): Remove macro definition.
29417 (abort): Remove stages related to stdio flushing.
29418
0c251257
FW
294192017-10-05 Florian Weimer <fweimer@redhat.com>
29420
29421 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29422
7ea59e3e
SL
294232017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29424
29425 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29426
84d0e6f0
FW
294272017-10-05 Florian Weimer <fweimer@redhat.com>
29428
29429 * support/support_format_hostent.c (support_format_hostent): Add
29430 more error information for NETDB_INTERNAL.
29431
ee417882
L
294322017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29433
29434 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29435 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29436 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29437 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29438 AC_DEFINE if multi-arch is enabled.
29439 * sysdeps/i386/configure: Regenerated.
29440
a67029ff
L
294412017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29442
29443 * Makeconfig (+link-static-before-libc): Use
29444 $(DEFAULT-LDFLAGS-$(@F)).
29445 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29446 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29447 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29448
5dba84b3
L
294492017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29450
29451 * elf/Makefile (tests): Add tst-main1.
29452 (modules-names): Add tst-main1mod.
29453 ($(objpfx)tst-main1): New.
29454 (CRT-tst-main1): Likewise.
29455 (LDFLAGS-tst-main1): Likewise.
29456 (LDLIBS-tst-main1): Likewise.
29457 (tst-main1mod.so-no-z-defs): Likewise.
29458 * elf/tst-main1.c: New file.
29459 * elf/tst-main1mod.c: Likewise.
29460
758f1bfa
L
294612017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29462
29463 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29464
7e16a5d1
JM
294652017-10-04 Joseph Myers <joseph@codesourcery.com>
29466
29467 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29468 (fma): Define using libm_alias_double.
29469 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29470 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29471 <math_ldbl_opt.h>.
29472 (fmal): Do not define as compat symbol here.
29473 * sysdeps/alpha/fpu/s_fma.c: New file.
29474
db4f87ba
SN
294752017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29476
29477 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29478
72d13ed1
JM
294792017-10-04 Joseph Myers <joseph@codesourcery.com>
29480
32d372d5
JM
29481 [BZ #22229]
29482 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29483 <math_ldbl_opt.h>
29484 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29485 and libc.
29486 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29487 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29488 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29489 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29491 Include <math_ldbl_opt.h>
29492 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29493 and libc.
29494 (compat_symbol): Undefine and redefine.
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29496 <math_ldbl_opt.h>
29497 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29498 (compat_symbol): Undefine and redefine.
29499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29500 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29501 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29502 GLIBC_2_1 for libm.
29503 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29504 GLIBC_2.0 copysignl symbol.
29505 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29506 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29507
72d13ed1
JM
29508 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29509
11c4f501
FW
295102017-10-04 Florian Weimer <fweimer@redhat.com>
29511
29512 * scripts/check-local-headers.sh: Ignore nspr4 header file
29513 directory in addition to nspr.
29514
57b4af19
GT
295152017-10-04 Guido Trentalancia <guido@trentalancia.net>
29516
29517 [BZ #17956]
29518 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29519 * configure: Regenerate.
29520 * crypt/Makefile (nss-cpp-flags): New variable.
29521 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29522 (CPPFLAGS-md5-crypt.c): Use it.
29523 * scripts/check-local-headers.sh: Ignore nspr header file
29524 directory.
29525
64d1e08e
AS
295262017-10-04 Andreas Schwab <schwab@suse.de>
29527
29528 * nis/Makefile (services): Remove compat.
29529 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29530 ($(objpfx)libnss_compat.so): Remove rule.
29531 * nis/Versions (libnss_compat): Remove.
29532 * nss/Makefile (services): Add compat.
29533 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29534 * nss/Versions (libnss_compat): Define.
29535 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29536 Don't include <rpc/types.h>. Replace bool_t by bool.
29537 * nss/nss_compat/compat-initgroups.c: Likewise.
29538 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29539 instead of <rpcsrv/ypclnt.h>.
29540 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29541 yp_get_default_domain.
29542 * nss/nss_compat/compat-pwd.c: Likewise.
29543 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29544 yp_get_default_domain.
29545 * nss/nss_compat/nisdomain.c: New file.
29546 * nss/nss_compat/nisdomain.h: Likewise.
29547
86c27ade
SN
295482017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29549
29550 [BZ #22244]
29551 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29552 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29553
8f8f8ef7
SN
295542017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29555
29556 [BZ #22243]
29557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29558 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29559
95577475
L
295602017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29561
29562 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29563 "movl main@GOTOFF(%ebx), %eax".
29564
02d2d892
L
295652017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29566
29567 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29568 allow undefined _DYNAMIC in PIE libc.a.
29569 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29570 Likewse.
29571
0c609d19
L
295722017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29573
29574 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29575 check _DYNAMIC.
29576
c34a19ed
L
295772017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29578
29579 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29580 check _DYNAMIC.
29581
cdd4155d
L
295822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29583
29584 * math/test-math-iscanonical.cc (error): Replace bool with int.
29585
4699cb8b
JM
295862017-10-03 Joseph Myers <joseph@codesourcery.com>
29587
d8f619b3
JM
29588 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29589 (modf): Define using libm_alias_double, only if [!__modf].
29590 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29591 <libm-alias-double.h>.
29592 (modf): Define using libm_alias_double, only if [!__modf].
29593 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29594 compat symbol here.
29595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29596 (weak_alias): Do not undefine and redefine.
29597 (strong_alias): Likewise.
29598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29599 (weak_alias): Likewise.
29600 (strong_alias): Likewise.
29601
4699cb8b
JM
29602 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29603 (logb): Define using libm_alias_double, only if [!__logb].
29604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29605 <libm-alias-double.h>.
29606 (logb): Define using libm_alias_double, only if [!__logb].
29607 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29609 (weak_alias): Do not undefine and redefine.
29610 (strong_alias): Likewise.
29611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29612 (weak_alias): Likewise.
29613 (strong_alias): Likewise.
29614
bcc4e4bb
L
296152017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29616
29617 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29618 Check SHARED instead PIC.
29619
39793865
JM
296202017-10-03 Joseph Myers <joseph@codesourcery.com>
29621
7f1cbdf8
JM
29622 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29623 [!__fmaf] (fmaf): Define using libm_alias_float.
29624
39793865
JM
29625 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29626 (frexp): Define using libm_alias_double.
29627 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29628 <libm-alias-double.h>.
29629 (frexp): Define using libm_alias_double.
29630 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29631 compat symbol here.
29632
aa0235df
GG
296332017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29634
29635 [BZ #22235]
29636 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29637 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29638 (CFLAGS-test-math-iscanonical.cc): New variable.
29639 * math/test-math-iscanonical.cc: New file.
29640 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29641 Provide a C++ implementation based on function overloading,
29642 rather than using __MATH_TG, which uses C-only builtins.
29643 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29644 Likewise.
29645 * sysdeps/powerpc/powerpc64le/Makefile
29646 (CFLAGS-test-math-iscanonical.cc): New variable.
29647
a1132b5e
JM
296482017-10-03 Joseph Myers <joseph@codesourcery.com>
29649
29650 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29651 (ceil): Define using libm_alias_double.
29652 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29653 (floor): Define using libm_alias_double.
29654 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29655 <libm-alias-double.h>.
29656 (llround): Define using libm_alias_double.
29657 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29658 <libm-alias-double.h>.
29659 (lround): Define using libm_alias_double.
29660 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29661 <libm-alias-double.h>.
29662 (nearbyint): Define using libm_alias_double.
29663 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29664 <libm-alias-double.h>.
29665 (remquo): Define using libm_alias_double.
29666 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29667 (rint): Define using libm_alias_double.
29668 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29669 (round): Define using libm_alias_double.
29670 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29671 (trunc): Define using libm_alias_double.
29672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29673 <libm-alias-double.h>.
29674 (ceil): Define using libm_alias_double.
29675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29676 <libm-alias-double.h>.
29677 (floor): Define using libm_alias_double.
29678 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29679 <libm-alias-double.h>.
29680 (llround): Define using libm_alias_double.
29681 [_LP64] (lround): Likewise.
29682 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29683 <libm-alias-double.h>.
29684 [!_LP64] (lround): Define using libm_alias_double.
29685 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29686 <libm-alias-double.h>.
29687 (nearbyint): Define using libm_alias_double.
29688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29689 <libm-alias-double.h>.
29690 (remquo): Define using libm_alias_double.
29691 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29692 <libm-alias-double.h>.
29693 (rint): Define using libm_alias_double.
29694 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29695 <libm-alias-double.h>.
29696 (round): Define using libm_alias_double.
29697 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29698 <libm-alias-double.h>.
29699 (trunc): Define using libm_alias_double.
29700 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29701 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29702 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29703 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29704 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29705 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29706 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29707 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29708 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29709
f275f64e
SN
297102017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29711
29712 * math/w_remainder.c: New file.
29713 * math/w_remainderf.c: New file.
29714 * math/w_remainderl.c: New file.
29715
b8818ab5
L
297162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29717
29718 * elf/rtld.c (BOOTSTRAP_MAP): New.
29719 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29720 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29721 Likewise.
29722 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29723 Likewise.
29724 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29725 Likewise.
29726
3d1870fa
ST
297272017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29728
29729 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29730 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29731 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29732 rtld_hidden_data_ver): Define to empty.
29733 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29734 __assert_perror_fail): Likewise.
29735 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29736 (__rewinddir): Likewise.
29737 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29738 (__profile_frequency): Likewise.
29739 * include/setjmp.h (__sigsetjmp): Likewise.
29740 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29741 __libc_sigaction): Likewise.
29742 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29743 not set hidden attribute.
29744 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29745 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29746 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29747 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29748 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29749 __fxstatat64): Likewise.
29750 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29751 (__uname): Likewise.
29752 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29753 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29754 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29755 (NO_RTLD_HIDDEN): Set.
29756 * sysdeps/mach/hurd/configure: Refresh.
29757 * config.h.in: Refresh.
29758
527cd19c
JM
297592017-10-02 Joseph Myers <joseph@codesourcery.com>
29760
38722448
JM
29761 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29762 (atan): Define using libm_alias_double.
29763 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29764 (tan): Define using libm_alias_double.
29765 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29766 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29767
527cd19c
JM
29768 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29769 define as weak alias of __atan. Do not define any aliases if
29770 [__atan].
29771 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29772 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29774 as weak alias of __tan. Do not define any aliases if [__tan].
29775 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29776 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29777 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29778 __atan.
29779 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29780 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29781 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29782 and define as weak alias of __atan.
29783 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29784 __atan.
29785 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29787 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29788 define as weak alias of __tan.
29789
bdc5c592
SN
297902017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29791
29792 * math/w_lgamma.c: New file.
29793 * math/w_lgammaf.c: New file.
29794 * math/w_lgammal.c: New file.
29795
bd4430c2
SN
297962017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29797
29798 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29799 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29800 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29801 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29802 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29803 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29804 * sysdeps/i386/fpu/w_log2f.c: New file.
29805 * sysdeps/i386/fpu/w_logf.c: New file.
29806 * sysdeps/i386/fpu/w_powf.c: New file.
29807 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29808 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29809 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29810
f7a0b063
SN
298112017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29812 H.J. Lu <hongjiu.lu@intel.com>
29813
29814 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29815 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29816 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29817 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29819 the new expf code.
29820 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29821 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29822 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29823 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29824 * sysdeps/i386/fpu/w_exp2f.c: New file.
29825 * sysdeps/i386/fpu/w_expf.c: New file.
29826 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29827 * sysdeps/x86_64/fpu/w_expf.c: New file.
29828
72d3d281
SN
298292017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29830
29831 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29832 (log2f): Likewise.
29833 (powf): Likewise.
29834 * math/w_log2f.c: New file.
29835 * math/w_logf.c: New file.
29836 * math/w_powf.c: New file.
29837 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29838 * math/w_logf_compat.c (__logf_compat): Likewise.
29839 * math/w_powf_compat.c (__powf_compat): Likewise.
29840 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29841 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29842 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29843 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29844 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29845 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29846 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29847 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29848 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29849 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29850 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29851 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29852 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29853 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29854 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29856 Likewise.
29857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29858 Likewise.
29859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29860 Likewise.
29861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29862 Likewise.
29863 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29864 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29865 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29866 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29867 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29869 Likewise.
29870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29871 Likewise.
29872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29873 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29874 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29875
59ba2d2b
RS
298762017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29877
29878 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29879 (sysdep_routines): Add memrchr_power8.
29880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29881 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29882 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29883 New file.
29884 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29885 (memrchr): Add __memrchr_power8 to ifunc list.
29886 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29887
397286ea
L
298882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29889
29890 [BZ #18822]
29891 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29892 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29893 libc_hidden_def.
29894 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29895 (__posix_fallocate64_l64): Likewise.
29896
d0a4512b
L
298972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29898
29899 [BZ #18822]
29900 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29901 (__sched_setaffinity_new): Add libc_hidden_proto and
29902 libc_hidden_def.
29903
c0769f70
L
299042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29905
29906 [BZ #18822]
29907 * include/glob.h (__glob64): Add libc_hidden_proto.
29908 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29909 libc_hidden_def.
29910
0e7d5b6e
L
299112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29912
29913 [BZ #18822]
29914 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29915 attribute_hidden.
29916
bde06c87
L
299172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29918
29919 [BZ #18822]
29920 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29921
fa426590
L
299222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29923
29924 [BZ #18822]
29925 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29926 libc_hidden_def.
29927
2f8a05d8
L
299282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29929
29930 [BZ #18822]
29931 * csu/version.c (__libc_print_version): Add attribute_hidden.
29932
7bfd08ac
L
299332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29934
29935 [BZ #18822]
29936 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29937
0e1fd06c
L
299382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29939
29940 [BZ #18822]
29941 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29942
36e7ae1e
L
299432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29944
29945 [BZ #18822]
29946 * nscd/nscd_helper.c (__nis_hash): New prototype.
29947
87078544
L
299482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29949
29950 [BZ #18822]
29951 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29952 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29953 libc_hidden_def.
29954 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29955 * termios/tcgetattr.c (__tcgetattr): Likewise.
29956
dd3121df
L
299572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29958
29959 [BZ #18822]
29960 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29961 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29962 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29963 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29964 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29965
047d1a81
L
299662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29967
29968 [BZ #18822]
29969 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29970
fd331b11
L
299712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29972
29973 [BZ #18822]
29974 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29975 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29976
57f859bd
L
299772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29978
29979 [BZ #18822]
29980 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29981
d1903329
L
299822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29983
29984 [BZ #18822]
29985 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29986 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29987
b4744101
L
299882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29989
29990 [BZ #18822]
29991 * include/ifreq.h: New file.
29992 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29993 (__ifreq): Likewise.
29994 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29995 (__ifreq): Likewise.
29996
43b7dfd1
L
299972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29998
29999 [BZ #18822]
30000 * include/idna.h: New file.
30001 * inet/getnameinfo.c: Include <idna.h> instead of
30002 <libidn/idna.h>.
30003 (__idna_to_unicode_lzlz): Removed.
30004 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30005 <libidn/idna.h>.
30006 (__idna_to_ascii_lz): Removed.
30007 (__idna_to_unicode_lzlz): Likewise.
30008
2c0cd8f8
L
300092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30010
30011 [BZ #18822]
30012 * include/plural-exp.h: New file.
30013 * intl/plural-exp.c: Include <plural-exp.h> instead of
30014 "plural-exp.h".
30015
8369d216
L
300162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30017
30018 [BZ #18822]
30019 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30020 "getsourcefilter.h".
30021 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30022 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30023 "getsourcefilter.h".
30024 (__get_sol): Removed.
30025
a0aef783
L
300262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30027
30028 [BZ #18822]
30029 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30030 to ...
30031 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30032
3ee8209b
L
300332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30034
30035 [BZ #18822]
30036 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30037 attribute_hidden.
30038
6036fc38
L
300392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30040
30041 [BZ #18822]
30042 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30043
fe84fed0
L
300442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30045
30046 [BZ #18822]
30047 * include/search.h (__tdestroy): Add libc_hidden_proto.
30048 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30049
048dd681
L
300502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30051
30052 [BZ #18822]
30053 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30054
6e342af6
L
300552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30056
30057 [BZ #18822]
30058 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30059 attribute_hidden.
30060
6a088436
L
300612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30062
30063 [BZ #18822]
30064 * include/signal.h (__kill): Add libc_hidden_proto.
30065 (__sigblock): Likewise.
30066 (__sigprocmask): Likewise.
30067 (__sigaltstack): Likewise.
30068 * signal/kill.c (__kill): Add libc_hidden_def.
30069 * signal/sigblock.c (__sigblock): Likewise.
30070 * signal/sigprocmask.c (__sigprocmask): Likewise.
30071 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30072 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30073 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30074 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30075 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30076 Likewise.
30077 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30078 Likewise.
30079 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30080 (__sigprocmask): Likewise.
30081 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30082 Likewise.
30083 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30084 (__sigprocmask): Likewise.
30085 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30086 Likewise.
30087
78cf1d74
L
300882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30089
30090 [BZ #18822]
30091 * include/string.h (__strsep): Add libc_hidden_proto.
30092 * string/strsep.c (__strsep): Add libc_hidden_def.
30093
85b35894
L
300942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30095
30096 [BZ #18822]
30097 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30098 attribute_hidden.
30099 (__spawni): Likewise.
30100
225f7eec
L
301012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30102
30103 [BZ #18822]
30104 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30105 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30106 libc_hidden_def.
30107
372fe247
L
301082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30109
30110 [BZ #18822]
30111 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30112
9e5ee8b8
L
301132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30114
30115 [BZ #18822]
30116 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30117 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30118 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30119 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30120 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30121 Likewise.
30122 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30123 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30124
2ff16592
L
301252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30126
30127 [BZ #18822]
30128 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30129 (__dcigettext): Likewise.
30130
b5648377
L
301312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30132
30133 [BZ #18822]
30134 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30135 libc_hidden_proto.
30136 (__get_nprocs): Likewise.
30137 (__get_phys_pages): Likewise.
30138 (__get_avphys_pages): Likewise.
30139 (__get_child_max): Add attribute_hidden.
30140 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30141 (__get_nprocs): Likewise.
30142 (__get_phys_pages): Likewise.
30143 (__get_avphys_pages): Likewise.
30144 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30145 libc_hidden_def.
30146 (__get_nprocs): Likewise.
30147 (__get_phys_pages): Likewise.
30148 (__get_avphys_pages): Likewise.
30149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30150 libc_hidden_def.
30151 (__get_nprocs_conf): Likewise.
30152 (__get_phys_pages): Likewise.
30153 (__get_avphys_pages): Likewise.
30154
0389a6aa
L
301552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30156
30157 [BZ #18822]
30158 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30159 attribute_hidden.
30160 (__netlink_close): Likewise.
30161 (__netlink_free_handle): Likewise.
30162 (__netlink_request): Likewise.
30163
d48354d8
L
301642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30165
30166 [BZ #18822]
30167 * include/rpc/rpc.h (__rpc_thread_variables): Add
30168 attribute_hidden.
30169 (__rpc_thread_svc_cleanup): Likewise.
30170 (__rpc_thread_clnt_cleanup): Likewise.
30171 (__rpc_thread_key_cleanup): Likewise.
30172
d6daff12
L
301732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30174
30175 [BZ #18822]
30176 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30177 (__writev): Likewise.
30178 * misc/readv.c (__readv): Add libc_hidden_def.
30179 * misc/writev.c (__writev): Likewise.
30180 * sysdeps/posix/readv.c (__readv): Likewise.
30181 * sysdeps/posix/writev.c (__writev): Likewise.
30182 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30183 (__readv): Likewise.
30184 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30185 (__writev): Likewise.
30186
b68f8620
L
301872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30188
30189 [BZ #18822]
30190 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30191 (__regcomp): Add libc_hidden_proto.
30192 (__regexec): Likewise.
30193 (__regfree): Likewise.
30194 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30195 (__regfree): Likewise.
30196 * posix/regexec.c (__regexec): Likewise.
30197
59c04e67
L
301982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30199
30200 [BZ #18822]
30201 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30202 (__getutent): Likewise.
30203 (__getutid): Likewise.
30204 (__getutline): Likewise.
30205 (__pututline): Likewise.
30206 (__getutent_r): Likewise.
30207 (__getutid_r): Likewise.
30208 (__getutline_r): Likewise.
30209 (__utmpname): Add attribute_hidden.
30210 (__setutent): Likewise.
30211 (__endutent): Likewise.
30212 * login/getutent.c (__getutent): Add libc_hidden_def.
30213 * login/getutent_r.c (__getutent_r): Likewise.
30214 (__pututline): Likewise.
30215 * login/getutid.c (__getutid): Likewise.
30216 * login/getutid_r.c (__getutid_r): Likewise.
30217 * login/getutline.c (__getutline): Likewise.
30218 * login/getutline_r.c (__getutline_r): Likewise.
30219 * login/updwtmp.c (__updwtmp): Likewise.
30220
4587a421
L
302212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30222
30223 [BZ #18822]
30224 * include/dirent.h (__opendir): Always add attribute_hidden.
30225 (__fdopendir): Likewise.
30226 (__closedir): Likewise.
30227 (__readdir): Likewise.
30228 (__readdir64): Add libc_hidden_proto.
30229 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30230 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30231 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30232 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30233 New alias.
30234
9635ce69
L
302352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30236
30237 [BZ #18822]
30238 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30239 * include/netdb.h (__gethostbyaddr_r): Likewise.
30240 (__gethostbyname_r): Likewise.
30241 (__gethostbyname2_r): Likewise.
30242 (__getnetbyaddr_r): Likewise.
30243 (__getnetbyname_r): Likewise.
30244 (__getservbyname_r): Likewise.
30245 (__getservbyport_r): Likewise.
30246 (__getprotobyname_r): Likewise.
30247 (__getprotobynumber_r): Likewise.
30248 (__getnetgrent_r): Likewise.
30249 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30250 (__getrpcbynumber_r): Likewise.
30251 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30252
2e0a6909
L
302532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 [BZ #18822]
30256 * include/stdio.h (__fcloseall): Add attribute_hidden.
30257 (__getline): Likewise.
30258 (__path_search): Likewise.
30259 (__gen_tempname): Likewise.
30260 (__libc_message): Likewise.
30261 (__flockfile): Likewise.
30262 (__funlockfile): Likewise.
30263 (__fxprintf): Likewise.
30264 (__fxprintf_nocancel): Likewise.
30265
94fd682c
L
302662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30267
30268 [BZ #18822]
30269 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30270 (__sgetsgent_r): Likewise.
30271
e1b33bba
L
302722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30273
30274 [BZ #18822]
30275 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30276 (__statfs64): Likewise.
30277 (__fstatfs64): Likewise.
30278 * include/sys/statvfs.h (__statvfs64): Likewise.
30279 (__fstatvfs64): Likewise.
30280 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30281 (__statfs_filesize_max): Likewise.
30282 (__statfs_symlinks): Likewise.
30283 (__statfs_chown_restricted): Likewise.
30284
b0f56784
L
302852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30286
30287 [BZ #18822]
30288 * include/time.h (__tzstring): Add attribute_hidden.
30289 (__tzfile_read): Likewise.
30290 (__tzfile_compute): Likewise.
30291 (__tzfile_default): Likewise.
30292 (__tzset_parse_tz): Likewise.
30293 (__offtime): Likewise.
30294 (__asctime_r): Likewise.
30295 (__tzset): Likewise.
30296 (__tz_convert): Likewise.
30297 (__getdate_r): Likewise.
30298 (__getclktck): Likewise.
30299
a4338d99
L
303002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30301
30302 [BZ #18822]
30303 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30304 (__nscd_unmap): Likewise.
30305 (__nscd_cache_search): Likewise.
30306 (__nscd_get_nl_timestamp): Likewise.
30307 (__nscd_getpwnam_r): Likewise.
30308 (__nscd_getpwuid_r): Likewise.
30309 (__nscd_getgrnam_r): Likewise.
30310 (__nscd_getgrgid_r): Likewise.
30311 (__nscd_gethostbyname_r): Likewise.
30312 (__nscd_gethostbyname2_r): Likewise.
30313 (__nscd_gethostbyaddr_r): Likewise.
30314 (__nscd_getai): Likewise.
30315 (__nscd_getgrouplist): Likewise.
30316 (__nscd_getservbyname_r): Likewise.
30317 (__nscd_getservbyport_r): Likewise.
30318 (__nscd_innetgr): Likewise.
30319 (__nscd_setnetgrent): Likewise.
30320
a2ca1652
L
303212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30322
30323 [BZ #18822]
30324 * include/gmp.h: Declare internal functions only if _ISOMAC is
30325 undefined.
30326 (__mpn_extract_double): Add attribute_hidden.
30327 (__mpn_extract_long_double): Likewise.
30328 (__mpn_extract_float128): Likewise.
30329 (__mpn_construct_float): Likewise.
30330 (__mpn_construct_double): Likewise.
30331 (__mpn_construct_long_double): Likewise.
30332 (__mpn_construct_float128): Likewise.
30333 (mpn_add_1): Likewise.
30334 (mpn_addmul_1): Likewise.
30335 (mpn_add_n): Likewise.
30336 (mpn_cmp): Likewise.
30337 (mpn_divrem): Likewise.
30338 (mpn_lshift): Likewise.
30339 (mpn_mul): Likewise.
30340 (mpn_mul_1): Likewise.
30341 (mpn_rshift): Likewise.
30342 (mpn_sub_1): Likewise.
30343 (mpn_submul_1): Likewise.
30344 (mpn_sub_n): Likewise.
30345
44af8a32
L
303462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30347
30348 [BZ #18822]
30349 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30350 (__wcscat): Likewise.
30351 (__btowc): Likewise.
30352 (__wcrtomb): Likewise.
30353 (__mbsrtowcs): Likewise.
30354 (__wcsrtombs): Likewise.
30355 (__mbsnrtowcs): Likewise.
30356 (__wcsnrtombs): Likewise.
30357 (__wcsncpy): Likewise.
30358 (__wcpncpy): Likewise.
30359 (__wmemcpy): Likewise.
30360 (__wmempcpy): Likewise.
30361 (__wmemmove): Likewise.
30362 (__wcschrnul): Likewise.
30363 (__vfwscanf): Likewise.
30364 (__vswprintf): Likewise.
30365 (__fwprintf): Likewise.
30366 (__vfwprintf): Likewise.
30367
783cd767
L
303682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30369
30370 [BZ #18822]
30371 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30372 (__getgrgid_r): Likewise.
30373 (__getgrnam_r): Likewise.
30374 * include/pwd.h (__getpwuid_r): Likewise.
30375 (__getpwnam_r): Likewise.
30376 (__fgetpwent_r): Likewise.
30377 * include/shadow.h (__getspnam_r): Likewise.
30378 (__sgetspent_r): Likewise.
30379 (__fgetspent_r): Likewise.
30380
7ec4b39a
L
303812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30382
30383 [BZ #18822]
30384 * include/unistd.h (__access): Add attribute_hidden.
30385 (__lseek64): Likewise.
30386 (__libc_pread64): Likewise.
30387 (__pipe2): Likewise.
30388 (__sleep): Likewise.
30389 (__chdir): Likewise.
30390 (__fchdir): Likewise.
30391 (__getcwd): Likewise.
30392 (__rmdir): Likewise.
30393 (__execvpe): Likewise.
30394 (__execve): Likewise.
30395 (__setsid): Likewise.
30396 (__getuid): Likewise.
30397 (__geteuid): Likewise.
30398 (__getgid): Likewise.
30399 (__getegid): Likewise.
30400 (__getgroups): Likewise.
30401 (__group_member): Likewise.
30402 (__ttyname_r): Likewise.
30403 (__isatty): Likewise.
30404 (__readlink): Likewise.
30405 (__unlink): Likewise.
30406 (__gethostname): Likewise.
30407 (__profil): Likewise.
30408 (__getdtablesize): Likewise.
30409 (__brk): Likewise.
30410 (__ftruncate): Likewise.
30411 (__ftruncate64): Likewise.
30412
8345a760
L
304132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30414
30415 [BZ #18822]
30416 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30417 * argp/argp-fs-xinl.c: Likewise.
30418 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30419 * argp/argp-parse.c: Include <argp.h>.
30420 * argp/argp-xinl.c: Likewise.
30421 * include/argp-fmtstream.h: New file.
30422 * include/argp.h (__argp_error): Add attribute_hidden.
30423 (__argp_failure): Likewise.
30424 (__argp_input): Likewise.
30425 (__argp_state_help): Likewise.
30426
c26dd7c6
L
304272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30428
30429 [BZ #18822]
30430 * include/wchar.h (____wcstof_l_internal): New prototype.
30431 (____wcstod_l_internal): Likewise.
30432 (____wcstold_l_internal): Likewise.
30433 (____wcstol_l_internal): Likewise.
30434 (____wcstoul_l_internal): Likewise.
30435 (____wcstoll_l_internal): Likewise.
30436 (____wcstoull_l_internal): Likewise.
30437 (____wcstof128_l_internal): Likewise.
30438 * sysdeps/ieee754/float128/wcstof128.c
30439 (____wcstof128_l_internal): Removed.
30440 * sysdeps/ieee754/float128/wcstof128_l.c
30441 (____wcstof128_l_internal): Likewise.
30442 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30443 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30444 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30445 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30446 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30447 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30448 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30449 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30450 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30451 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30452
3aff5644
L
304532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30454
30455 [BZ #18822]
30456 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30457 instead of <sys/statvfs.h>.
30458 (__internal_statvfs): Removed.
30459 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30460 instead of <sys/statvfs.h>.
30461 (__internal_statvfs64): Removed.
30462 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30463 "internal_statvfs.h" instead of <sys/statvfs.h>.
30464 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30465 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30466 instead of <sys/statvfs.h>.
30467 (__internal_statvfs): Removed.
30468 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30469 instead of <sys/statvfs.h>.
30470 (__internal_statvfs64): Removed.
30471
8bcdb7e0
L
304722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30473
30474 [BZ #18822]
30475 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30476 (__gconv_close): Likewise.
30477 (__gconv): Likewise.
30478 (__gconv_find_transform): Likewise.
30479 (__gconv_lookup_cache): Likewise.
30480 (__gconv_compare_alias_cache): Likewise.
30481 (__gconv_load_cache): Likewise.
30482 (__gconv_get_path): Likewise.
30483 (__gconv_close_transform): Likewise.
30484 (__gconv_release_cache): Likewise.
30485 (__gconv_find_shlib): Likewise.
30486 (__gconv_release_shlib): Likewise.
30487 (__gconv_get_builtin_trans): Likewise.
30488 (__gconv_compare_alias): Likewise.
30489 * include/dlfcn.h (_dlerror_run): Likewise.
30490 * include/stdio.h (__fortify_fail_abort): Likewise.
30491 * include/time.h (__tz_compute): Likewise.
30492 (__strptime_internal): Likewise.
30493 * intl/gettextP.h (_nl_find_domain): Likewise.
30494 (_nl_load_domain): Likewise.
30495 (_nl_find_msg): Likewise.
30496 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30497 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30498 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30499 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30500 (__gai_find_request): Likewise.
30501 (__gai_remove_request): Likewise.
30502 (__gai_notify): Likewise.
30503 (__gai_notify_only): Likewise.
30504 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30505 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30506 (_dl_non_dynamic_init): Likewise.
30507 (_dl_aux_init): Likewise.
30508 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30509 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30510 Likewise.
30511 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30512 (__wcsmbs_clone_conv): Likewise.
30513 (__wcsmbs_named_conv): Likewise.
30514
8ed3b643
L
305152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30516
30517 [BZ #18822]
30518 * include/stdlib.h (__random): Add attribute_hidden.
30519 (__random_r): Likewise.
30520 (__srandom_r): Likewise.
30521 (__initstate_r): Likewise.
30522 (__setstate_r): Likewise.
30523 (__erand48_r): Likewise.
30524 (__nrand48_r): Likewise.
30525 (__jrand48_r): Likewise.
30526 (__srand48_r): Likewise.
30527 (__seed48_r): Likewise.
30528 (__lcong48_r): Likewise.
30529 (__drand48_iterate): Likewise.
30530 (__setenv): Likewise.
30531 (__unsetenv): Likewise.
30532 (__clearenv): Likewise.
30533 (__ptsname_r): Likewise.
30534 (__posix_openpt): Likewise.
30535 (__add_to_environ): Likewise.
30536 (__realpath): Add libc_hidden_proto.
30537 (__ecvt_r): Likewise.
30538 (__fcvt_r): Likewise.
30539 (__qecvt_r): Likewise.
30540 (__qfcvt_r): Likewise.
30541 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30542 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30543
ef9b6f73
L
305442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30545
30546 [BZ #18822]
30547 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30548 * include/time.h (__mktime_internal): Likewise.
30549 * libio/iolibio.h (__fopen_internal): Likewise.
30550
8da92e72
JDA
305512017-10-01 John David Anglin <danglin@gcc.gnu.org>
30552
30553 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30554 pointer in frame.
30555 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30556 Correct offset used to restore PIC register.
30557
388784cf
JDA
305582017-09-30 John David Anglin <danglin@gcc.gnu.org>
30559
30560 [BZ libc/22165]
30561 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30562 code to load address of __getcontext_ret when generating PIC code.
30563
2000067a
L
305642017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30565
30566 * elf/Makefile (tests-static-internal): Add
30567 tst-tls1-static-non-pie.
30568 (LDFLAGS-tst-tls1-static-non-pie): New.
30569 * elf/tst-tls1-static-non-pie.c: New file.
30570
1e2bffd0
JM
305712017-09-29 Joseph Myers <joseph@codesourcery.com>
30572
30573 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30574 (asinh): Define using libm_alias_double.
30575 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30576 (cbrt): Define using libm_alias_double.
30577 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30578 <libm-alias-double.h>.
30579 (copysign): Define using libm_alias_double.
30580 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30581 (erf): Define using libm_alias_double.
30582 (erfc): Likewise.
30583 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30584 (expm1): Define using libm_alias_double.
30585 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30586 (fabs): Define using libm_alias_double.
30587 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30588 libm_alias_double.
30589 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30590 <libm-alias-double.h>.
30591 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30592 libm_alias_double.
30593 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30594 <libm-alias-double.h>.
30595 (getpayload): Define using libm_alias_double.
30596 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30597 <libm-alias-double.h>.
30598 (llrint): Define using libm_alias_double.
30599 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30600 (lrint): Define using libm_alias_double.
30601 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30602 <libm-alias-double.h>.
30603 (nextup): Define using libm_alias_double.
30604 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30605 <libm-alias-double.h>.
30606 (roundeven): Define using libm_alias_double.
30607 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30608 libm_alias_double.
30609 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30610 <libm-alias-double.h>.
30611 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30612 using libm_alias_double.
30613 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30614 (cos): Define using libm_alias_double.
30615 (sin): Likewise.
30616 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30617 <libm-alias-double.h>.
30618 (sincos): Define using libm_alias_double.
30619 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30620 (tanh): Define using libm_alias_double.
30621 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30622 <libm-alias-double.h>.
30623 (totalorder): Define using libm_alias_double.
30624 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30625 <libm-alias-double.h>.
30626 (totalordermag): Define using libm_alias_double.
30627 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30628 libm_alias_double.
30629 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30630 libm_alias_double.
30631 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30632 <libm-alias-double.h>.
30633 (getpayload): Define using libm_alias_double.
30634 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30635 <libm-alias-double.h>.
30636 (roundeven): Define using libm_alias_double.
30637 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30638 <libm-alias-double.h>.
30639 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30640 <libm-alias-double.h>.
30641 (totalorder): Define using libm_alias_double.
30642 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30643 <libm-alias-double.h>.
30644 (totalordermag): Define using libm_alias_double.
30645 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30646 libc compat symbol here.
30647 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30648 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30649 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30650 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30651 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30652 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30653 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30654 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30655 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30656 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30657
8172aad9
L
306582017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30659
30660 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30661 _dl_relocate_static_pie instead of _dl_start to compute load
30662 address in static PIE. Return 0 if _DYNAMIC is undefined for
30663 static executable.
30664
54464e74
L
306652017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30666
30667 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30668 _DYNAMIC is undefined for static executable.
30669
f6c5e5bc
L
306702017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30671
30672 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30673
2f92505d
JM
306742017-09-29 Joseph Myers <joseph@codesourcery.com>
30675
30676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30677
bd8d53bb
WD
306782017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30679
30680 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30681 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30682 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30683 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30685 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30686 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30687 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30688 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30689 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30690 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30691 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30692 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30693 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30694 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30695 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30696 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30697
fffb1507
WD
306982017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30699
30700 * math/bits/cmathcalls.h (cimag): Remove inline.
30701 (creal): Remove inline.
30702 (conj): Remove inline.
30703
4ea49f4c
SN
307042017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30705
30706 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30707 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30708 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30709 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30710 (issignalingf_inline): Likewise.
30711 (POWF_LOG2_TABLE_BITS): Likewise.
30712 (POWF_LOG2_POLY_ORDER): Likewise.
30713 (POWF_SCALE_BITS): Likewise.
30714 (POWF_SCALE): Likewise.
30715 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30716 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30717 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30718
875c76c7
SN
307192017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30720
30721 * math/Makefile (type-float-routines): Add e_log2f_data.
30722 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30723 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30724 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30725 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30726 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30727 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30728 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30729
90c42e40
SN
307302017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30731
30732 * math/Makefile (type-float-routines): Add e_logf_data.
30733 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30734 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30735 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30736 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30737 * sysdeps/i386/fpu/e_logf_data.c: New file.
30738 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30739 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30740
4088d8dd
L
307412017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30742
30743 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30744 undefined _DYNAMIC in PIE libc.a.
30745 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30746 Likewse.
30747
4d3693ec
WD
307482017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30749
30750 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30751 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30752 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30753 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30754 (__signbit): Remove.
30755 (__signbitl): Remove.
30756 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30757 (__signbit): Remove.
30758 (__signbitl): Remove.
30759 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30760 (__signbit): Remove.
30761 (__signbitl): Remove.
30762 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30763 (__signbit): Remove.
30764 (__signbitl): Remove.
30765 * sysdeps/tile/bits/mathinline.h: Delete file.
30766 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30767 (__signbit): Remove.
30768 (__signbitl): Remove.
30769
1e6d0723
WD
307702017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30771
30772 * math/math.h: Improve handling of C99 isgreater macros.
30773 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30774 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30775 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30776 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30777 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30778
b2f03cf3
SN
307792017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30780
30781 * sysdeps/aarch64/libm-test-ulps: Update.
30782
f124cb38
JM
307832017-09-28 Joseph Myers <joseph@codesourcery.com>
30784
30785 [BZ #22225]
30786 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30787 math_opt_barrier on argument when doing arithmetic on it.
30788 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30789 Likewise. Use math_force_eval not math_opt_barrier after
30790 arithmetic.
30791 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30792 math_opt_barrier on argument when doing arithmetic on it.
30793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30794 Likewise.
30795
7edd0691
L
307962017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30797
30798 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30799 libc_hidden_def.
30800 (__freeifaddrs): Likewise.
30801
2c7bbfaf
ST
308022017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30803
30804 * include/dirent.h (__dirfd): New declaration.
30805 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30806 alias.
30807 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30808 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30809 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
30810 * include/unistd.h (__revoke): New declaration.
30811 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30812 alias.
30813 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30814 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30815 revoke.
64a4af28
ST
30816 * include/dirent.h (__seekdir): New declaration.
30817 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30818 redefine as weak alias.
30819 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30820 of seekdir.
4009ddc6
ST
30821 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30822 and use libc_hidden_def on them.
30823 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30824 them.
30825 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30826 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30827 instead of getifaddrs and freeifaddrs.
2c7bbfaf 30828
825adeee
L
308292017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30830
30831 [BZ #18822]
30832 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30833 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30834 (__dso_handle): Remove declaration.
30835 * dlfcn/tstatexit.c (__dso_handle): Removed.
30836 (main): Don't check __dso_handle.
30837 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30838 (main): Don't check __dso_handle.
30839 * include/dso_handle.h: New file.
30840 * malloc/mtrace.c: Include <dso_handle.h>.
30841 (mtrace): Pass __dso_handle directly.
30842 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30843 (__dso_handle): Remove declaration.
30844 (__pthread_atfork): Pass __dso_handle directly.
30845 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30846 (__dso_handle): Removed.
30847 * posix/wordexp-test.c: Include <dso_handle.h>.
30848 (__dso_handle): Remove declaration.
30849 (__app_register_atfork): Pass __dso_handle directly.
30850 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30851 (__dso_handle): Remove declaration.
30852 (at_quick_exit): Pass __dso_handle directly.
30853 * stdlib/atexit.c: Include <dso_handle.h>.
30854 (__dso_handle): Remove declaration.
30855 (atexit): Pass __dso_handle directly.
30856 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30857 (__dso_handle): Removed.
30858
bfb0deb3
JM
308592017-09-26 Joseph Myers <joseph@codesourcery.com>
30860
30861 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30862 using VDSO.
30863
cebcb9f8
AM
308642017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30865
30866 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30867 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30868 values to correct default value for given type.
30869
592d5c75
L
308702017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30871
30872 [BZ #22101]
30873 * elf/Makefile (tests): Add tst-debug1.
30874 ($(objpfx)tst-debug1): New.
30875 ($(objpfx)tst-debug1.out): Likewise.
30876 ($(objpfx)tst-debug1mod1.so): Likewise.
30877 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30878 with p_filesz == 0.
30879 * elf/tst-debug1.c: New file.
30880
2d9193f2
JM
308812017-09-26 Joseph Myers <joseph@codesourcery.com>
30882
30883 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30884 Define using __ifunc.
30885
4c5a7a02
TMQMF
308862017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30887
30888 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30889 exp2f() values.
30890
12ef66c4
JM
308912017-09-26 Joseph Myers <joseph@codesourcery.com>
30892
30893 [BZ #22156]
30894 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30895
44dade71
FW
308962017-09-26 Florian Weimer <fweimer@redhat.com>
30897
30898 * resolv/Makefile (tests-internal): Fix typo in comment.
30899
eaca16f1
FW
309002017-09-26 Florian Weimer <fweimer@redhat.com>
30901
30902 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30903
ccf970c7
AZ
309042017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30905
5f9f31ad
AZ
30906 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30907 Use an union instead of a max_align_t array for __space,
30908 so that __space is the same size on all platforms.
30909 * malloc/scratch_buffer_grow_preserve.c
30910 (__libc_scratch_buffer_grow_preserve): Likewise.
30911
ccf970c7
AZ
30912 [BZ #22183]
30913 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30914 version to 2.
30915 * posix/Makefile (routines): Add glob-lstat-compat and
30916 glob64-lstat-compat.
30917 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30918 * posix/glob-lstat-compat.c: New file.
30919 * posix/glob64-lstat-compat.c: Likewise.
30920 * posix/tst-glob_lstat_compat.c: Likewise.
30921 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30922 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30923 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30924 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30925 Likewise.
30926 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30927 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30928 * posix/glob.c (glob_lstat): New function.
30929 (glob): Rename to __glob and add versioned symbol to 2.27.
30930 (glob_in_dir): Use glob_lstat.
30931 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30932 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30933 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30934 2.27.
30935 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30936 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30937 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30938 gl_lstat on glob call.
30939 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30940 and glob64 symbols.
30941 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30942 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30943 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30944 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30945 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30946 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30947 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30948 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30949 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30950 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30951 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30952 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30954 Likewise.
30955 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30957 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30958 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30959 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30960 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30961 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30964 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30965 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30966 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30967
b4396163
L
309682017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30969
30970 * configure.ac (AS): Require binutils 2.25 or later.
30971 * configure: Regenerated.
30972
8f834987
PP
309732017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30974
30975 [BZ #22207]
30976 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30977 VM size.
30978
3de93d19
DD
309792017-09-25 DJ Delorie <dj@redhat.com>
30980
30981 [BZ #22161]
30982 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30983 resetting timeout.
30984
9947638d
SL
309852017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30986
30987 * sysdeps/ieee754/dbl-64/sincos32.h
30988 [SINCCOS32_H]: Remove define.
30989 [SINCOS32_H]: Define.
30990
f5f0f526
SN
309912017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30992
30993 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30994 (exp2f): Likewise.
30995 * math/w_exp2f.c: New file.
30996 * math/w_expf.c: New file.
30997 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30998 * math/w_expf_compat.c (__expf_compat): Likewise.
30999 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31000 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31001 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31002 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31003 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31004 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31005 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31006 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31007 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31008 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31009 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31010 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31011 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31012 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31014 Likewise.
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31016 Likewise.
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31018 Likewise.
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31020 Likewise.
31021 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31022 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31023 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31025 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31027 Likewise.
31028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31029 Likewise.
31030 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31031 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31032 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31033
72aa6233
SN
310342017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31035
31036 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31037 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31038 (roundtoint, converttoint): Likewise.
31039 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31040 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31041 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31042 * sysdeps/ieee754/flt-32/math_config.h: New file.
31043 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31044 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31045 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31046 * sysdeps/i386/fpu/math_errf.c: New file.
31047 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31048 * sysdeps/ia64/fpu/math_errf.c: New file.
31049 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31050 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31051
5e6f3253
ST
310522017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31053
31054 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31055 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31056 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31057 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31058 to make sure that these symbols are defined.
b38a42a0
ST
31059 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31060 of <limits.h>
31061 (__need_NULL): Do not define.
31062 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31063 alignment.
31064 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31065 CMGROUP_MAX, cmsgcred): Do not define.
31066 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31067 NULL.
31068 * bits/socket.h: Likewise.
fcafcd16
ST
31069 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31070 __gettimeofday instead of gettimeofday.
31071 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31072 instead of settimeofday.
5e6f3253 31073
2f49ce7d
JM
310742017-09-22 Joseph Myers <joseph@codesourcery.com>
31075
31076 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31077 (asinhf): Define using libm_alias_float.
31078 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31079 (atanf): Define using libm_alias_float.
31080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31081 (cbrtf): Define using libm_alias_float.
31082 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31083 (ceilf): Define using libm_alias_float.
31084 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31085 <libm-alias-float.h>.
31086 (copysignf): Define using libm_alias_float.
31087 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31088 (cosf): Define using libm_alias_float.
31089 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31090 (erff): Define using libm_alias_float.
31091 (erfcf): Likewise.
31092 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31093 (expm1f): Define using libm_alias_float.
31094 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31095 (fabsf): Define using libm_alias_float.
31096 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31097 (floorf): Define using libm_alias_float.
31098 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31099 (frexpf): Define using libm_alias_float.
31100 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31101 libm_alias_float.
31102 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31103 <libm-alias-float.h>.
31104 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31105 libm_alias_float.
31106 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31107 <libm-alias-float.h>.
31108 (getpayloadf): Define using libm_alias_float.
31109 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31110 <libm-alias-float.h>.
31111 (llrintf): Define using libm_alias_float.
31112 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31113 <libm-alias-float.h>.
31114 (llroundf): Define using libm_alias_float.
31115 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31116 (logbf): Define using libm_alias_float.
31117 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31118 (lrintf): Define using libm_alias_float.
31119 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31120 (lroundf): Define using libm_alias_float.
31121 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31122 (modff): Define using libm_alias_float.
31123 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31124 <libm-alias-float.h>.
31125 (nearbyintf): Define using libm_alias_float.
31126 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31127 <libm-alias-float.h>.
31128 (nextafterf): Define using libm_alias_float.
31129 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31130 <libm-alias-float.h>.
31131 (nextupf): Define using libm_alias_float.
31132 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31133 <libm-alias-float.h>.
31134 (remquof): Define using libm_alias_float.
31135 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31136 (rintf): Define using libm_alias_float.
31137 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31138 <libm-alias-float.h>.
31139 (roundevenf): Define using libm_alias_float.
31140 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31141 (roundf): Define using libm_alias_float.
31142 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31143 using libm_alias_float.
31144 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31145 <libm-alias-float.h>.
31146 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31147 Define using libm_alias_float.
31148 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31149 <libm-alias-float.h>.
31150 (sincosf): Define using libm_alias_float.
31151 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31152 (sinf): Define using libm_alias_float.
31153 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31154 (tanf): Define using libm_alias_float.
31155 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31156 (tanhf): Define using libm_alias_float.
31157 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31158 <libm-alias-float.h>.
31159 (totalorderf): Define using libm_alias_float.
31160 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31161 <libm-alias-float.h>.
31162 (totalordermagf): Define using libm_alias_float.
31163 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31164 (truncf): Define using libm_alias_float.
31165 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31166 libm_alias_float.
31167 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31168 libm_alias_float.
31169
c5c4a626
GG
311702017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31171
31172 [BZ #22146]
31173 math/math.h: Let fpclassify use the builtin in C++ mode, even
31174 when optimazing for size.
31175
23947846
JM
311762017-09-22 Joseph Myers <joseph@codesourcery.com>
31177
31178 * csu/Makefile (generated): Do not add version-info.h.
31179 (before-compile): Likewise.
31180 (all-Banner-files): Remove variable.
31181 ($(objpfx)version-info.h): Remove rule.
31182 * csu/version.c (banner): Do not include "version-info.h".
31183 * libidn/Banner: Remove.
31184 * manual/contrib.texi (Simon Josefsson): New entry.
31185
9ac3c682
GG
311862017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31187
31188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31189 Remove conditionals on LDBL_MANT_DIG.
31190 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31191 (__ieee754_lgammal_r): Likewise.
31192
d2f0ed09
GG
311932017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31194
31195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31196 _Float128 and L().
31197 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31198 _Float128 and L(). Replace _Float128 with long double and L(x)
31199 with xL, throughout the file.
31200 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31201 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31202 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31204
c5c2e667
GG
312052017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31206
31207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31208 sysdeps/ieee754/ldbl-128ibm.
31209 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31210 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31211 of including it. Keep _Float128 and L() intact. These will be
31212 reviewed by a separate patch.
31213 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31217
e010deb2
GG
312182017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31219
31220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31221 (__finitef128): Define to __redirect___finitef128.
31222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31223 (__isinff128): Define to __redirect___isinff128.
31224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31225 (__isnanf128): Define to __redirect___isnanf128.
31226
ffa44804
GG
312272017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31228
31229 * sysdeps/powerpc/powerpc64le/Makefile
31230 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31231 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31232
e5e4d7cc
PP
312332017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31234 Carlos O'Donell <carlos@redhat.com>
31235
31236 [BZ #22180]
31237 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31238 * stdlib/test-dlclose-exit-race.c: New file.
31239 * stdlib/test-dlclose-exit-race-helper.c: New file.
31240 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31241
c10c5267
JM
312422017-09-21 Joseph Myers <joseph@codesourcery.com>
31243
31244 * crypt/Banner: Remove file.
31245 * nptl/Banner: Likewise.
31246 * resolv/Banner: Likewise.
31247 * soft-fp/Banner: Likewise.
31248 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31249 ($(objpfx)version.d): Remove dependency on banner.h.
31250 ($(objpfx)version.os): Likewise.
31251 * nptl/version.c (banner): Do not include banner.h.
31252 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31253 Jelinek and BIND code.
31254
1cc9e59a
PP
312552017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31256 Carlos O'Donell <carlos@redhat.com>
31257
31258 * support/xdlfcn.h: New file.
31259 * support/xdlfcn.c: New file.
31260 * support/Makefile (libsupport-routines): Add xdlfcn.
31261 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31262
ae8372d7
JM
312632017-09-20 Joseph Myers <joseph@codesourcery.com>
31264
31265 [BZ #20142]
31266 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31267 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31268 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31269 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31270 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31271 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31273 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31274
26e70aec 312752017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
31276 Ricky Zhou <rickyz@google.com>
31277 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
31278
31279 [BZ #14333]
31280 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31281 Remove atomics.
31282 (__new_exitfn): Fail registration when we finished at_exit processing.
31283 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31284 * stdlib/on_exit.c (__on_exit): Likewise.
31285 * stdlib/exit.c (__exit_funcs_done): New variable.
31286 (__run_exit_handlers): Use __exit_funcs_lock.
31287 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31288 declarations.
31289 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31290 (test-cxa_atexit-race, test-on_exit-race): New tests.
31291 * stdlib/test-atexit-race-common.c: New file.
31292 * stdlib/test-atexit-race.c: New file.
31293 * stdlib/test-at_quick_exit-race.c: New file.
31294 * stdlib/test-cxa_atexit-race.c: New file.
31295 * stdlib/test-on_exit-race.c: New file.
31296
0525ce48
SN
312972017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31298
31299 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31300 * benchtests/exp2f-inputs: Copy of expf-inputs.
31301 * benchtests/log2f-inputs: Copy of logf-inputs.
31302
d82468d1
JM
313032017-09-19 Joseph Myers <joseph@codesourcery.com>
31304
31305 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31306 Explicitly take address of first element of array arguments in
31307 call to INLINE_SYSCALL.
31308
43ffc53a
AS
313092017-09-19 Andreas Schwab <schwab@suse.de>
31310
31311 [BZ #22134]
31312 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31313 execveat first.
31314 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31315 unimplemented.
31316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31317 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31318 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31319 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31320 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31321 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31323 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31324 * posix/Makefile (tests): Add tst-fexecve.
31325 * posix/tst-fexecve.c: New file.
31326
a5dcc87e
WD
313272017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31328
31329 * benchtests/Makefile: Add logf benchmark.
31330 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31331
7024d544
WD
313322017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31333
31334 * benchtests/Makefile: Add expf benchmark.
31335 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31336
ca3a382e
WD
313372017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31338
31339 * csu/Makefile: Add -funwind-tables to libc-start.c.
31340 * debug/Makefile: Add -funwind-tables to backtrace.c.
31341 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31342 * sysdeps/arm/Makefile: Likewise.
31343 * sysdeps/i386/Makefile: Likewise.
31344 * sysdeps/m68k/Makefile: Likewise.
31345 * sysdeps/mips/Makefile: Likewise.
31346 * sysdeps/nios2/Makefile: Likewise.
31347 * sysdeps/sh/Makefile: Likewise.
31348 * sysdeps/sparc/Makefile: Likewise.
31349
eb375def
JM
313502017-09-19 Joseph Myers <joseph@codesourcery.com>
31351
31352 * benchtests/Makefile (bench-math): Add trunc and truncf.
31353 (CFLAGS-bench-trunc.c): New variable.
31354 (CFLAGS-bench-truncf.c): Likewise.
31355 * benchtests/trunc-inputs: New file.
31356 * benchtests/truncf-inputs: Likewise.
31357
bd17ba29
RS
313582017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31359
31360 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31361
92892fdb
JM
313622017-09-18 Joseph Myers <joseph@codesourcery.com>
31363
6d9b0b5a
JM
31364 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31365 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31366 redefine.
31367 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31368 (exp10l): Define as weak alias.
31369 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31370 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31371 and redefine.
31372 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31373 (remainderl): Define as weak alias.
31374
92892fdb
JM
31375 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31376 (fmal): Define using libm_alias_ldouble.
31377 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31378 (acoshl): Define using libm_alias_ldouble.
31379 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31380 (acosl): Define using libm_alias_ldouble.
31381 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31382 (asinl): Define using libm_alias_ldouble.
31383 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31384 (atan2l): Define using libm_alias_ldouble.
31385 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31386 (atanhl): Define using libm_alias_ldouble.
31387 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31388 (coshl): Define using libm_alias_ldouble.
31389 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31390 (exp10l): Define using libm_alias_ldouble.
31391 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31392 (exp2l): Define using libm_alias_ldouble.
31393 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31394 (expl): Define using libm_alias_ldouble.
31395 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31396 (fmodl): Define using libm_alias_ldouble.
31397 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31398 (hypotl): Define using libm_alias_ldouble.
31399 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31400 (j0l): Define using libm_alias_ldouble.
31401 (y0l): Likewise.
31402 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31403 (j1l): Define using libm_alias_ldouble.
31404 (y1l): Likewise.
31405 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31406 (jnl): Define using libm_alias_ldouble.
31407 (ynl): Likewise.
31408 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31409 (log10l): Define using libm_alias_ldouble.
31410 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31411 (log2l): Define using libm_alias_ldouble.
31412 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31413 (logl): Define using libm_alias_ldouble.
31414 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31415 (powl): Define using libm_alias_ldouble.
31416 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31417 (remainderl): Define using libm_alias_ldouble.
31418 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31419 (sinhl): Define using libm_alias_ldouble.
31420 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31421 (sqrtl): Define using libm_alias_ldouble.
31422 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31423 (tgammal): Define using libm_alias_ldouble.
31424 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31425 (exp10l): Do not use long_double_symbol here.
31426 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31427 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31428 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31429 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31430 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31431 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31432 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31433 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31434 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31435 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31436 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31437 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31438 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31439 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31440 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31441 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31442 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31443 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31444 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31445 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31446 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31447 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31448
6cd380dd
WB
314492017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31450
31451 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31452 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31453
1c6d89e9
ST
314542017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31455
31456 * io/read.c (read): Add libc_hidden_weak.
31457 * sysdeps/mach/hurd/read.c (read): Likewise.
31458 * io/write.c (write): Likewise.
31459 * sysdeps/mach/hurd/write.c (write): Likewise.
31460 * io/pread64.c (__pread64): Likewise.
31461 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31462 * posix/pread64.c (__pread64): Add libc_hidden_def.
31463
06b1de23
SP
314642017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31465
140647ea
SP
31466 * benchtests/scripts/compare_strings.py: New option -g.
31467 (draw_graph): Print a message that a graph is being generated.
31468 (process_results): Generate graph only if -g is passed.
31469 (main): Process option -g.
31470
5a6547b7
SP
31471 * benchtests/scripts/compare_strings.py (process_results):
31472 Better spacing for output.
31473
06b1de23
SP
31474 * benchtests/scripts/compare_strings.py: Use argparse.
31475 * benchtests/README: Document existence of compare_strings.py.
31476
c67a2328
JM
314772017-09-15 Joseph Myers <joseph@codesourcery.com>
31478
9ac44708
JM
31479 * math/s_fma.c: Include <libm-alias-double.h>.
31480 (fma): Define using libm_alias_double.
31481 * math/s_nextafter.c: Include <libm-alias-double.h>.
31482 (nextafter): Define using libm_alias_double.
31483 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31484 (acos): Define using libm_alias_double.
31485 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31486 (aocsh): Define using libm_alias_double.
31487 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31488 (asin): Define using libm_alias_double.
31489 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31490 (atan2): Define using libm_alias_double.
31491 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31492 (atanh): Define using libm_alias_double.
31493 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31494 (cosh): Define using libm_alias_double.
31495 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31496 (exp10): Define using libm_alias_double.
31497 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31498 (exp2): Define using libm_alias_double.
31499 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31500 (exp): Define using libm_alias_double.
31501 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31502 (fmod): Define using libm_alias_double.
31503 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31504 (hypot): Define using libm_alias_double.
31505 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31506 (j0): Define using libm_alias_double.
31507 (y0): Likewise.
31508 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31509 (j1): Define using libm_alias_double.
31510 (y1): Likewise.
31511 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31512 (jn): Define using libm_alias_double.
31513 (yn): Likewise.
31514 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31515 (log10): Define using libm_alias_double.
31516 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31517 (log2): Define using libm_alias_double.
31518 * math/w_log_compat.c: Include <libm-alias-double.h>.
31519 (log): Define using libm_alias_double.
31520 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31521 (pow): Define using libm_alias_double.
31522 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31523 (remainder): Define using libm_alias_double.
31524 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31525 (sinh): Define using libm_alias_double.
31526 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31527 (sqrt): Define using libm_alias_double.
31528 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31529 (tgamma): Define using libm_alias_double.
31530 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31531 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31532 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31533 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31534 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31535 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31536 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31537 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31538 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31539 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31540 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31541 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31542 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31543 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31544 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31545 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31546 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31547 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31548 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31549 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31550 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31551 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31552 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31553 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31554 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31555
c67a2328
JM
31556 * math/e_acoshl.c: Remove.
31557 * math/e_acosl.c: Likewise.
31558 * math/e_asinl.c: Likewise.
31559 * math/e_atan2l.c: Likewise.
31560 * math/e_atanhl.c: Likewise.
31561 * math/e_coshl.c: Likewise.
31562 * math/e_expl.c: Likewise.
31563 * math/e_fmodl.c: Likewise.
31564 * math/e_gammal_r.c: Likewise.
31565 * math/e_hypotl.c: Likewise.
31566 * math/e_j0l.c: Likewise.
31567 * math/e_j1l.c: Likewise.
31568 * math/e_jnl.c: Likewise.
31569 * math/e_lgammal_r.c: Likewise.
31570 * math/e_log10l.c: Likewise.
31571 * math/e_log2l.c: Likewise.
31572 * math/e_logl.c: Likewise.
31573 * math/e_powl.c: Likewise.
31574 * math/e_rem_pio2l.c: Likewise.
31575 * math/e_sinhl.c: Likewise.
31576 * math/e_sqrtf128.c: Likewise.
31577 * math/e_sqrtl.c: Likewise.
31578 * math/k_cosl.c: Likewise.
31579 * math/k_sinl.c: Likewise.
31580 * math/k_tanl.c: Likewise.
31581 * math/s_asinhl.c: Likewise.
31582 * math/s_atanl.c: Likewise.
31583 * math/s_cbrtl.c: Likewise.
31584 * math/s_erfl.c: Likewise.
31585 * math/s_expm1l.c: Likewise.
31586 * math/s_log1pl.c: Likewise.
31587 * math/s_tanhl.c: Likewise.
31588
61c45f25
TMQMF
315892017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31590
31591 [BZ #21745]
31592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31593 [$(subdir) = math] (sysdep_calls): New variable. Has the
31594 previous contents of sysdep_routines, but re-sorted..
31595 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31596 sysdep_calls.
31597 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31598 defined in sysdep_calls and replace by the respective m_* names.
31599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31600 (compat_symbol): Undefine to avoid duplicated compat symbols in
31601 libc.
31602
5bcdb315
JM
316032017-09-15 Joseph Myers <joseph@codesourcery.com>
31604
31605 * math/s_fmaf.c: Include <libm-alias-float.h>.
31606 (fmaf): Define using libm_alias_float.
31607 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31608 (acosf): Define using libm_alias_float.
31609 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31610 (acoshf): Define using libm_alias_float.
31611 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31612 (asinf): Define using libm_alias_float.
31613 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31614 (atan2f): Define using libm_alias_float.
31615 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31616 (atanhf): Define using libm_alias_float.
31617 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31618 (coshf): Define using libm_alias_float.
31619 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31620 (exp10f): Define using libm_alias_float.
31621 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31622 (fmodf): Define using libm_alias_float.
31623 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31624 (hypotf): Define using libm_alias_float.
31625 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31626 (j0f): Define using libm_alias_float.
31627 (y0f): Likewise.
31628 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31629 (j1f): Define using libm_alias_float.
31630 (y1f): Likewise.
31631 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31632 (jnf): Define using libm_alias_float.
31633 (ynf): Likewise.
31634 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31635 (log10f): Define using libm_alias_float.
31636 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31637 (log2f): Define using libm_alias_float.
31638 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31639 (logf): Define using libm_alias_float.
31640 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31641 (powf): Define using libm_alias_float.
31642 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31643 (remainderf): Define using libm_alias_float.
31644 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31645 (sinhf): Define using libm_alias_float.
31646 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31647 (sqrtf): Define using libm_alias_float.
31648 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31649 (tgammaf): Define using libm_alias_float.
31650
01f28812
JM
316512017-09-14 Joseph Myers <joseph@codesourcery.com>
31652
31653 * include/math.h (roundeven): Change hidden_proto call to
31654 __roundeven.
31655 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31656 alias.
31657 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31658 (y0): Rename to __y0 and define as weak alias.
31659 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31660 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31661 alias.
31662 (y0f): Rename to __y0f and define as weak alias.
31663 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31664 alias.
31665 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31666 (y1): Rename to __y1 and define as weak alias.
31667 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31668 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31669 alias.
31670 (y1f): Rename to __y1f and define as weak alias.
31671 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31672 alias.
31673 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31674 (yn): Rename to __yn and define as weak alias.
31675 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31676 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31677 alias.
31678 (ynf): Rename to __ynf and define as weak alias.
31679 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31680 (fromfp): Define as weak alias.
31681 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31682 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31683 (fromfpx): Define as weak alias.
31684 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31685 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31686 __getpayload and define as weak alias.
31687 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31688 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31689 __roundeven and define as weak alias.
31690 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31691 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31692 __setpayload.
31693 (setpayload): Define as weak alias.
31694 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31695 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31696 __setpayloadsig.
31697 (setpayloadsig): Define as weak alias.
31698 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31699 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31700 __totalorder and define as weak alias.
31701 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31702 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31703 to __totalordermag and define as weak alias.
31704 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31705 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31706 (ufromfp): Define as weak alias.
31707 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31708 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31709 __ufromfpx.
31710 (ufromfpx): Define as weak alias.
31711 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31712 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31713 Rename to __getpayload and define as weak alias.
31714 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31715 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31716 Rename to __roundeven and define as weak alias.
31717 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31718 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31719 Rename to __totalorder and define as weak alias.
31720 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31721 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31722 (totalordermag): Rename to __totalordermag and define as weak
31723 alias.
31724 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31725 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31726 macro.
31727 (__roundevenl): Likewise.
31728 (__totalorderl): Likewise.
31729 (__totalordermagl): Likewise
31730 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31731 __fromfpf128.
31732 (fromfpf128): Define as weak alias.
31733 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31734 __fromfpxf128.
31735 (fromfpxf128): Define as weak alias.
31736 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31737 __setpayloadf128.
31738 (setpayloadf128): Define as weak alias.
31739 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31740 __setpayloadsigf128.
31741 (setpayloadsigf128): Define as weak alias.
31742 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31743 __ufromfpf128.
31744 (ufromfpf128): Define as weak alias.
31745 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31746 __ufromfpxf128.
31747 (ufromfpxf128): Define as weak alias.
31748 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31749 (fromfpf): Define as weak alias.
31750 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31751 __fromfpxf.
31752 (fromfpxf): Define as weak alias.
31753 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31754 __getpayloadf and define as weak alias.
31755 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31756 __roundevenf and define as weak alias.
31757 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31758 __setpayloadf.
31759 (setpayloadf): Define as weak alias.
31760 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31761 __setpayloadsigf.
31762 (setpayloadsigf): Define as weak alias.
31763 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31764 __totalorderf and define as weak alias.
31765 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31766 Rename to __totalordermagf and define as weak alias.
31767 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31768 __ufromfpf.
31769 (ufromfpf): Define as weak alias.
31770 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31771 __ufromfpxf.
31772 (ufromfpxf): Define as weak alias.
31773 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31774 __fromfpl.
31775 (fromfpl): Define as weak alias.
31776 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31777 __fromfpxl.
31778 (fromfpxl): Define as weak alias.
31779 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31780 to __getpayloadl and define as weak alias.
31781 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31782 __roundevenl and define as weak alias.
31783 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31784 __setpayloadl.
31785 (setpayloadl): Define as weak alias.
31786 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31787 __setpayloadsigl.
31788 (setpayloadsigl): Define as weak alias.
31789 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31790 to __totalorderl and define as weak alias.
31791 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31792 Rename to __totalordermagl and define as weak alias.
31793 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31794 __ufromfpl.
31795 (ufromfpl): Define as weak alias.
31796 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31797 __ufromfpxl.
31798 (ufromfpxl): Define as weak alias.
31799 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31800 __fromfpl.
31801 (fromfpl): Define as weak alias.
31802 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31803 __fromfpxl.
31804 (fromfpxl): Define as weak alias.
31805 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31806 Rename to __getpayloadl and define as weak alias.
31807 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31808 to __roundevenl and define as weak alias. Call __roundeven
31809 instead of roundeven.
31810 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31811 __setpayloadl.
31812 (setpayloadl): Define as weak alias.
31813 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31814 __setpayloadsigl.
31815 (setpayloadsigl): Define as weak alias.
31816 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31817 Rename to __totalorderl and define as weak alias.
31818 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31819 Rename to __totalordermagl and define as weak alias.
31820 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31821 __ufromfpl.
31822 (ufromfpl): Define as weak alias.
31823 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31824 __ufromfpxl.
31825 (ufromfpxl): Define as weak alias.
31826 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31827 __fromfpl.
31828 (fromfpl): Define as weak alias.
31829 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31830 __fromfpxl.
31831 (fromfpxl): Define as weak alias.
31832 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31833 __getpayloadl and define as weak alias.
31834 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31835 __roundevenl and define as weak alias.
31836 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31837 __setpayloadl.
31838 (setpayloadl): Define as weak alias.
31839 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31840 __setpayloadsigl.
31841 (setpayloadsigl): Define as weak alias.
31842 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31843 __totalorderl and define as weak alias.
31844 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31845 Rename to __totalordermagl and define as weak alias.
31846 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31847 __ufromfpl.
31848 (ufromfpl): Define as weak alias.
31849 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31850 __ufromfpxl.
31851 (ufromfpxl): Define as weak alias.
31852
29c933fb
SP
318532017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31854
503c92c3
SP
31855 * benchtests/bench-string.h (realloc_bufs): New function.
31856 (test_init): Call it.
31857 * benchtests/bench-memset-large.c (do_test): Likewise.
31858 * benchtests/bench-memset.c (do_test): Likewise.
31859
29c933fb
SP
31860 * benchtests/bench-memset-large.c: Print output in JSON
31861 format.
31862 * benchtests/bench-memset.c: Likewise.
31863
799c8d69
MF
318642017-09-14 Mike FABIAN <mfabian@redhat.com>
31865
31866 [BZ #21084]
31867 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31868 * iconvdata/Makefile: Add IBM858.
31869 * iconvdata/gconv-modules: Likewise.
31870 * iconvdata/tst-tables.sh: Likewise.
31871 * iconvdata/ibm858.c: New file.
31872 * localedata/charmaps/IBM858: Likewise.
31873
c207f7ce 318742017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
31875
31876 [BZ #22023]
31877 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31878 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31879
f28a0926
AK
318802017-09-14 Mike FABIAN <mfabian@redhat.com>
31881
31882 [BZ #22112]
31883 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31884 and add tel_int_fmt.
31885
02093e62
JM
318862017-09-14 Joseph Myers <joseph@codesourcery.com>
31887
31888 * sysdeps/generic/libm-alias-float128.h: New file.
31889 * sysdeps/generic/math-type-macros-float128.h: Include
31890 <libm-alias-float128.h>.
31891 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31892
1aae75ef
JM
318932017-09-13 Joseph Myers <joseph@codesourcery.com>
31894
31895 * sysdeps/generic/libm-alias-ldouble.h: New file.
31896 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31897 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31898 * sysdeps/generic/math-type-macros-ldouble.h: Include
31899 <libm-alias-ldouble.h>.
31900 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31901 libm_alias_ldouble.
31902
bcea7ad6
SN
319032017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31904
31905 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31906 * math/w_exp_compat.c: ... here.
31907 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31908 * math/w_expf_compat.c: ... here.
31909 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31910 * math/w_expl_compat.c: ... here.
31911 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31912 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31913 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31914 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31915
0fc56478
JM
319162017-09-13 Joseph Myers <joseph@codesourcery.com>
31917
31918 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31919 redefine.
31920 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31921 macro.
31922 (ldexpl): Only define as compat symbol for libc, not libm.
31923 (scalbnl): Define as compat symbol for libc here.
31924 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31925 define for [IS_IN (libc)].
31926 (__ldexpl_2): Remove alias.
31927 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31928 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31929 name in long_double_symbol call.
31930 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31931 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31932 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31933 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31934 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31935 Remove macro.
31936 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31937 Define as compat symbol.
31938
3ca622e4
AZ
319392017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31940
31941 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31942 * sysdeps/unix/sysv/linux/alpha/Makefile
31943 [$(subdir) = csu] (sysdep_routines): Remove rule.
31944
620ff9ee
JM
319452017-09-13 Joseph Myers <joseph@codesourcery.com>
31946
31947 * sysdeps/generic/libm-alias-double.h: New file.
31948 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31949 * sysdeps/generic/math-type-macros-double.h: Include
31950 <libm-alias-double.h>.
31951 [declare_mgen_alias] (declare_mgen_alias): Define to use
31952 libm_alias_double.
31953 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31954 (M_LIBM_NEED_COMPAT): Remove macro.
31955 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31956 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31957 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31958 code.
31959 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31960 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31961 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31962 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31963 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31964 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31965 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31966 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31967 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31968 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31969 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31970 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31971 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31972 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31973 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31974 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31975 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31976 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31977 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31978 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31979 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31980 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31981 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31982 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31983 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31984 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31985 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31986 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31987 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31988 macro.
31989 (declare_mgen_alias): New macro.
31990 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31991 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31993 (M_LIBM_NEED_COMPAT): Remove macro.
31994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31995 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31996 <first-versions.h>.
31997 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31998 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31999
a891caff
JM
320002017-09-12 Joseph Myers <joseph@codesourcery.com>
32001
32002 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32003 (declare_mgen_alias_2): Remove.
32004 * sysdeps/generic/math-type-macros-double.h
32005 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32006 Likewise.
32007 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32008 alias.
32009 (ldexp): Define with declare_mgen_alias.
32010 (scalbn): Likewise.
32011
a1a78204
SE
320122017-09-12 Steve Ellcey <sellcey@cavium.com>
32013
32014 * grp/initgroups.c: Include config.h.
32015 (DEFAULT_CONFIG): New macro.
32016 (internal_getgrouplist): Use DEFAULT_CONFIG.
32017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32018 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32019 (DEFAULT_DEFCONFIG): New macro.
32020 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32021 * nss/grp-lookup.c: Include config.h
32022 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32023 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32024 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32025 * manual/nss.texi: Update default values section.
32026
ef8adeb0
L
320272017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32028
32029 [BZ #21967]
32030 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32031 New.
32032 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32033 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32034 Handle MathVec_Prefer_No_AVX512.
32035 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32036 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32037 is set.
32038
a166531f
ST
320392017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32040
32041 * posix/sched_primax.c (__sched_get_priority_max): Add
32042 libc_hidden_def.
32043 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32044 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32045 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32046 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32047 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32048 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32049 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32050 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32051 Add aliases.
32052
4b7d1efb
JM
320532017-09-11 Joseph Myers <joseph@codesourcery.com>
32054
32055 * sysdeps/generic/libm-alias-float.h: New file.
32056 * sysdeps/generic/math-type-macros-float.h: Include
32057 <libm-alias-float.h>.
32058 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32059
45ff3463
L
320602017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32061
32062 [BZ #22093]
32063 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32064 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32065 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32066 (HWCAP_IMPORTANT): Likewise.
32067 (HWCAP_X86_64): New enum.
32068 (HWCAP_X86_AVX512_1): Updated.
32069 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32070 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32071 (modules-names): Add x86_64/tst-x86_64mod-1.
32072 (LDFLAGS-tst-x86_64mod-1.so): New.
32073 ($(objpfx)tst-x86_64-1): Likewise.
32074 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32075 (tst-x86_64-1-clean): Likewise.
32076 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32077 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32078
891abfd3
SP
320792017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32080
32081 * po/sv.po: Update translations.
32082 * po/fr.po: Likewise.
32083
00c3da43
ST
320842017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32085
32086 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32087 seconds.
3bdfd9fb
ST
32088 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32089 seconds.
65b22ebc 32090 * elf/rtld-Rules: Fix $(error) use.
00c3da43 32091
96480903
MF
320922017-09-09 Mike FABIAN <mfabian@redhat.com>
32093
32094 [BZ #14925]
32095 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32096 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32097 * localedata/locales/bn_BD: “Bengali” was still used in some
32098 comments. Change it to “Bangla”.
32099
4c03a696
MT
321002017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32101
32102 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32103
9c9ec581
SE
321042017-09-08 Steve Ellcey <sellcey@cavium.com>
32105
32106 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32107 thunderx2t99p1 to list of cpu names.
32108 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32109 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32110
f00bce74
SE
321112017-09-08 Steve Ellcey <sellcey@cavium.com>
32112
32113 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32114 Use strcmp instead of tunable_is_name.
32115
27342d17
JM
321162017-09-08 Joseph Myers <joseph@codesourcery.com>
32117
af1b7c8c
JM
32118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32119 (F_GET_RW_HINT): New macro.
32120 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32121 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32122 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32123 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32124 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32125 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32126 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32127 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32128 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32129
27342d17
JM
32130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32131 (F_ADD_SEALS): New macro.
32132 [__USE_GNU] (F_GET_SEALS): Likewise.
32133 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32134 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32135 [__USE_GNU] (F_SEAL_GROW): Likewise.
32136 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32137
c66c9082
AZ
321382017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32139
07b4f49d
AZ
32140 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32141 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32142 * posix/glob_internal.h (__glob_pattern_type):
32143 * posix/glob.c (glob):
32144 * posix/glob_pattern_p.c (__glob_pattern_p):
32145 Use them.
32146
116f1c64
AZ
32147 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32148 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32149 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32150 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32151 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32153 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32154 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32155 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32156 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32157 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32158 * sysdeps/wordsize-64/glob.c: Likewise.
32159 * sysdeps/wordsize-64/glob64.c: Likewise.
32160 * sysdeps/wordsize-64/globfree.c: Likewise.
32161 * sysdeps/wordsize-64/globfree64.c: Likewise.
32162 * sysdeps/unix/sysv/linux/glob.c: New file.
32163 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32164 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32165 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32166 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32167 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32168 adds !GLOB_NO_OLD_VERSION as an extra condition.
32169 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32170 using relative path instead of absolute one.
32171 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32172 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32173 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32174 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32175 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32176 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32177
ffca8901
AZ
32178 [BZ #1062]
32179 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32180 (glob): Use the same scratch buffer for both getlogin_r and
32181 getpwnam_r. Don’t require preallocation of the login name. This
32182 simplifies storage allocation, and corrects the handling of
32183 long login names.
32184
5a79f975
AZ
32185 [BZ #1062]
32186 * posix/glob.c (glob): Port recent patches to platforms
32187 lacking getpwnam_r.
32188 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32189 returns an error number rather than setting errno.
32190
e00f2425
AZ
32191 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32192 instead of GCC extension.
32193 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32194 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32195 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32196
5554304f
AZ
32197 [BZ #866]
32198 [BZ #1062]
32199 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32200 * posix/bug-glob1.c: Remove file.
32201 * posix/tst-glob_symlinks.c: New file.
32202 * posix/glob.c (__lstat64): New macro.
32203 (is_dir): New function.
32204 (glob, glob_in_dir): Match symlinks even if they are dangling.
32205 (link_stat, link_exists_p): Remove. All uses removed.
32206
686f2ea1
AZ
32207 [BZ #1062]
32208 [BZ #19971]
32209 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32210 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32211 All uses removed.
32212
c66c9082 32213 [BZ #1062]
914c9994 32214 CVE-2017-15671
c66c9082
AZ
32215 * posix/Makefile (routines): Add globfree, globfree64, and
32216 glob_pattern_p.
32217 * posix/flexmember.h: New file.
32218 * posix/glob_internal.h: Likewise.
32219 * posix/glob_pattern_p.c: Likewise.
32220 * posix/globfree.c: Likewise.
32221 * posix/globfree64.c: Likewise.
32222 * sysdeps/gnu/globfree64.c: Likewise.
32223 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32224 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32225 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32226 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32227 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32228 * sysdeps/wordsize-64/globfree.c: Likewise.
32229 * sysdeps/wordsize-64/globfree64.c: Likewise.
32230 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32231 [NDEBUG): Remove comments.
32232 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32233 (dirent_type): New type. Use uint_fast8_t not
32234 uint8_t, as C99 does not require uint8_t.
32235 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32236 (struct readdir_result): Use dirent_type. Do not define skip_entry
32237 unless it is needed; this saves a byte on platforms lacking d_ino.
32238 (readdir_result_type, readdir_result_skip_entry):
32239 New functions, replacing ...
32240 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 32241 these functions, which were removed. This makes the callers
c66c9082
AZ
32242 easier to read. All callers changed.
32243 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32244 (size_add_wrapv, glob_use_alloca): New static functions.
32245 (glob, glob_in_dir): Check for size_t overflow in several places,
32246 and fix some size_t checks that were not quite right.
32247 Remove old code using SHELL since Bash no longer
32248 uses this.
32249 (glob, prefix_array): Separate MS code better.
32250 (glob_in_dir): Remove old Amiga and VMS code.
32251 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32252 separate files.
32253 (glob_in_dir): Do not rely on undefined behavior in accessing
32254 struct members beyond their bounds. Use a flexible array member
32255 instead
32256 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32257 0/1. Caller changed.
32258 (glob): Fix memory leaks.
32259 * posix/glob64 (globfree64): Move to separate file.
32260 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32261 (globfree64): Remove hidden alias.
32262 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32263 oldglob.
32264 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32265 separate file.
32266 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32267 define.
32268 Move compat code to separate file.
32269 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32270 separate file.
32271
78bfa877
L
322722017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32273
32274 * resolv/tst-resolv-qtypes.c (domain): Changed to
32275 "const char domain[] =".
32276
05f0011f
JM
322772017-09-07 Joseph Myers <joseph@codesourcery.com>
32278
85bec0f2
JM
32279 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32280 version to 3.1.6.
32281
5c23ee6e
JM
32282 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32283 (TCP_MD5SIG_EXT): Likewise.
32284 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32285 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32286 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32287
05f0011f
JM
32288 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32289
7c9c5be9
MF
322902017-09-07 Mike FABIAN <mfabian@redhat.com>
32291
32292 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32293
c207f7ce 322942017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
32295
32296 [BZ #22100]
32297 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32298
507fe027
ST
322992017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32300
32301 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32302 before assuming that the file is empty. Avoid testing buffer content
32303 when nread == 0.
32304
65687ac7
AZ
323052017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32306
7bbbb4b9 32307 [BZ #18858]
65687ac7
AZ
32308 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32309 Remove define.
32310 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32311 Likewise.
32312 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32313 Likewise.
32314 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32315 Likewise.
32316 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32317 Likewise.
32318 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32319 Likewise.
32320 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32321 Likewise.
32322
ab5ac271
FW
323232017-09-06 Florian Weimer <fweimer@redhat.com>
32324
32325 * malloc/dynarray_emplace_enlarge.c
32326 (__libc_dynarray_emplace_enlarge): Add missing else.
32327
a8304730
FW
323282017-09-06 Florian Weimer <fweimer@redhat.com>
32329
32330 [BZ #22096]
32331 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32332 case of failure to obtain the global conf object.
32333
5670c4ab
FW
323342017-09-06 Florian Weimer <fweimer@redhat.com>
32335
32336 [BZ #22095]
32337 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32338 dynarray allocation failure.
32339
c77eb969
FW
323402017-09-06 Florian Weimer <fweimer@redhat.com>
32341
32342 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32343 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32344 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32345 New functions.
32346 (response): Call them. Add 'p', '6' flag processing.
32347 (test_reverse): New function.
32348 (test_get2_any): Call it.
32349 (test_no_inet6): Add 'p' test.
32350 (test_inet6): Likewise.
32351
5e9c4d17
FW
323522017-09-06 Florian Weimer <fweimer@redhat.com>
32353
32354 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32355 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32356 the QNAME.
32357 (test_gai): Adjust query names. Add additional tests.
32358 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32359 test_get2. Adjust query names. Add additional tests.
32360 (test_no_inet6): New function, extracted from threadfunc.
32361 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32362 Add additional tests.
32363
2ae5be04
MF
323642017-09-06 Mike FABIAN <mfabian@redhat.com>
32365
32366 [BZ #22070]
32367 * localedata/unicode-gen/utf8_gen.py: Set the width for
32368 characters with Prepended_Concatenation_Mark property to 1
32369 * localedata/charmaps/UTF-8: Updated using the improved script.
32370
af83ed5c
MF
323712017-09-06 Mike FABIAN <mfabian@redhat.com>
32372
32373 [BZ #21750]
32374 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32375 use the range notation for all ranges of neighbouring characters
32376 with the same width.
32377
4f3647e4
JM
323782017-09-05 Joseph Myers <joseph@codesourcery.com>
32379
32380 * sysdeps/generic/math-type-macros-double.h: Include
32381 <math-svid-compat.h>.
32382 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32383 * sysdeps/generic/math-type-macros-float.h: Include
32384 <math-svid-compat.h>.
32385 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32386 * sysdeps/generic/math-type-macros-ldouble.h: Include
32387 <math-svid-compat.h>.
32388 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32389 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32390 condition.
32391 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32392 * math/w_acosf_compat.c: Likewise.
32393 * math/w_acosh_compat.c: Likewise.
32394 * math/w_acoshf_compat.c: Likewise.
32395 * math/w_acoshl_compat.c: Likewise.
32396 * math/w_acosl_compat.c: Likewise.
32397 * math/w_asin_compat.c: Likewise.
32398 * math/w_asinf_compat.c: Likewise.
32399 * math/w_asinl_compat.c: Likewise.
32400 * math/w_atan2_compat.c: Likewise.
32401 * math/w_atan2f_compat.c: Likewise.
32402 * math/w_atan2l_compat.c: Likewise.
32403 * math/w_atanh_compat.c: Likewise.
32404 * math/w_atanhf_compat.c: Likewise.
32405 * math/w_atanhl_compat.c: Likewise.
32406 * math/w_cosh_compat.c: Likewise.
32407 * math/w_coshf_compat.c: Likewise.
32408 * math/w_coshl_compat.c: Likewise.
32409 * math/w_exp10_compat.c: Likewise.
32410 * math/w_exp10f_compat.c: Likewise.
32411 * math/w_exp10l_compat.c: Likewise.
32412 * math/w_exp2_compat.c: Likewise.
32413 * math/w_exp2f_compat.c: Likewise.
32414 * math/w_exp2l_compat.c: Likewise.
32415 * math/w_fmod_compat.c: Likewise.
32416 * math/w_fmodf_compat.c: Likewise.
32417 * math/w_fmodl_compat.c: Likewise.
32418 * math/w_hypot_compat.c: Likewise.
32419 * math/w_hypotf_compat.c: Likewise.
32420 * math/w_hypotl_compat.c: Likewise.
32421 * math/w_j0_compat.c: Likewise.
32422 * math/w_j0f_compat.c: Likewise.
32423 * math/w_j0l_compat.c: Likewise.
32424 * math/w_j1_compat.c: Likewise.
32425 * math/w_j1f_compat.c: Likewise.
32426 * math/w_j1l_compat.c: Likewise.
32427 * math/w_jn_compat.c: Likewise.
32428 * math/w_jnf_compat.c: Likewise.
32429 * math/w_jnl_compat.c: Likewise.
32430 * math/w_lgamma_r_compat.c: Likewise.
32431 * math/w_lgammaf_r_compat.c: Likewise.
32432 * math/w_lgammal_r_compat.c: Likewise.
32433 * math/w_log10_compat.c: Likewise.
32434 * math/w_log10f_compat.c: Likewise.
32435 * math/w_log10l_compat.c: Likewise.
32436 * math/w_log2_compat.c: Likewise.
32437 * math/w_log2f_compat.c: Likewise.
32438 * math/w_log2l_compat.c: Likewise.
32439 * math/w_log_compat.c: Likewise.
32440 * math/w_logf_compat.c: Likewise.
32441 * math/w_logl_compat.c: Likewise.
32442 * math/w_pow_compat.c: Likewise.
32443 * math/w_powf_compat.c: Likewise.
32444 * math/w_powl_compat.c: Likewise.
32445 * math/w_remainder_compat.c: Likewise.
32446 * math/w_remainderf_compat.c: Likewise.
32447 * math/w_remainderl_compat.c: Likewise.
32448 * math/w_sinh_compat.c: Likewise.
32449 * math/w_sinhf_compat.c: Likewise.
32450 * math/w_sinhl_compat.c: Likewise.
32451 * math/w_sqrt_compat.c: Likewise.
32452 * math/w_sqrtf_compat.c: Likewise.
32453 * math/w_sqrtl_compat.c: Likewise.
32454 * math/w_tgamma_compat.c: Likewise.
32455 * math/w_tgammaf_compat.c: Likewise.
32456 * math/w_tgammal_compat.c: Likewise.
32457 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32458 [LIBM_SVID_COMPAT].
32459 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32460 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32461 [LIBM_SVID_COMPAT].
32462 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32463 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32464 [LIBM_SVID_COMPAT].
32465 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32466 * sysdeps/i386/fpu/w_sqrt.c: New file.
32467 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32468 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32469 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32470 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32471 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32472 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32473 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32474 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32475 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32476 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32477 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32478 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32479 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32480 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32481 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32482 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32483 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32484 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32485 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32486 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32487 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32488 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32489 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32490 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32491 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32492 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32493 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32494 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32495 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32496 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32497 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32498 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32499 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32500 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32501 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32502 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32503 * sysdeps/ia64/fpu/w_log.c: Likewise.
32504 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32505 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32506 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32507 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32508 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32509 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32510 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32511 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32512 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32513 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32514 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32515 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32516 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32517 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32518 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32519 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32520 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32521 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32522 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32523 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32524 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32525 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32526 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32528 [LIBM_SVID_COMPAT].
32529 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32530 * sysdeps/ieee754/k_standard.c: Likewise.
32531 * sysdeps/ieee754/k_standardf.c: Likewise.
32532 * sysdeps/ieee754/k_standardl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32535 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32536 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32537 long_double_symbol call on [LIBM_SVID_COMPAT].
32538 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32539 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32540 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32541 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32542 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32543 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32544 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32545 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32546 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32547 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32548 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32549 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32550 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32551 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32552 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32553 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32554 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32555 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32556 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32557 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32558 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32559 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32560
05b38d64
SE
325612017-09-05 Steve Ellcey <sellcey@cavium.com>
32562
32563 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32564 * malloc/tst-mallocstate.c: Convert from test-skeleton
32565 to test-driver. Ifdef code using TEST_COMPAT macro.
32566 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32567 * math/test-matherr.c: Likewise.
32568
99d67918
JM
325692017-09-05 Joseph Myers <joseph@codesourcery.com>
32570
32571 [BZ #22086]
32572 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32573 comparing word with byte-swapped constant.
32574
c207f7ce 325752017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
32576
32577 [BZ #20498]
32578 * locale/iso-639.def: add Miskito.
32579 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32580 * localedata/locales/miq_NI: New file.
32581
0a587a8a
L
325822017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32583
32584 [BZ #18822]
32585 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32586 (__mkdir): Likewise.
32587 * io/chmod.c (__chmod): Add libc_hidden_def.
32588 * io/mkdir.c (__mkdir): Likewise.
32589 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32590 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32591 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32592 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32593
f3a129b8
JM
325942017-09-04 Joseph Myers <joseph@codesourcery.com>
32595
1650e192
JM
32596 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32597 version to 4.13.
32598
f3a129b8
JM
32599 [BZ #22082]
32600 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32601 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32602
b38042f5
FW
326032017-09-04 Florian Weimer <fweimer@redhat.com>
32604
32605 * math/math.h: Issue warning if log is defined.
32606
059b6404
JM
326072017-09-04 Joseph Myers <joseph@codesourcery.com>
32608
32609 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32610 kernel version to 4.13.
32611
b794e16b
ST
326122017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32613
32614 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
32615 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32616 parameter.
01969395
ST
32617 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32618 just <bits/types.h>.
dd2b31de 32619 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 32620 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 32621 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 32622 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
32623 * misc/preadv2.c: Include <errno.h>.
32624 * misc/preadv64v2.c: Include <errno.h>.
32625 * misc/pwritev2.c: Include <errno.h>.
32626 * misc/pwritev64v2.c: Include <errno.h>.
32627 * sysdeps/posix/preadv2.c: Include <errno.h>.
32628 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32629 Fix <unistd.h> inclusion.
32630 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32631 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
32632 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32633 __strtoul_internal): New functions.
127e7773
ST
32634 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32635 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
32636 * sysdeps/mach/hurd/i386/Makefile
32637 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32638 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32639 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
32640 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32641 __feraiseexcept_renamed to feraiseexcept instead of
32642 __GI_feraiseexcept.
56bf5497 32643 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 32644 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
32645 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32646 RWF_NOWAIT): Define to 0 if undefined already.
32647 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32648 boils down to 0.
6547ec0a
ST
32649 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32650 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 32651
5a80d39d
JM
326522017-09-01 Joseph Myers <joseph@codesourcery.com>
32653
32654 * manual/math.texi (pow10): Do not document.
32655 (pow10f): Likewise.
32656 (pow10l): Likewise.
32657 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32658 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32659 * math/libm-test-exp10.inc (pow10_test): Remove.
32660 (do_test): Do not call pow10.
32661 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32662 [NO_LONG_DOUBLE] (pow10l): Likewise.
32663 * math/w_exp10f_compat.c (pow10f): Likewise.
32664 * math/w_exp10l_compat.c (pow10l): Likewise.
32665 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32666 (pow10): Make into compat symbol.
32667 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32668 (pow10f): Make into compat symbol.
32669 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32670 (pow10l): Make into compat symbol.
32671 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32672 pow10.
32673 (CFLAGS-nldbl-pow10.c): Remove variable..
32674 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32675 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32676 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32677 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32678 Undefine and redefine.
32679 (pow10l): Make into compat symbol.
32680 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32681 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32682 * sysdeps/arm/libm-test-ulps: Likewise.
32683 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32684 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32685 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32686 * sysdeps/microblaze/libm-test-ulps: Likewise.
32687 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32688 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32689 * sysdeps/nios2/libm-test-ulps: Likewise.
32690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32691 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32693 * sysdeps/sh/libm-test-ulps: Likewise.
32694 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32695 * sysdeps/tile/libm-test-ulps: Likewise.
32696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32697
3824fc38
PP
326982017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32699
32700 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32701
b3008279
L
327022017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32703
32704 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32705 "../ChangeLog.old/ChangeLog.8".
32706 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32707 "../ChangeLog.old/ChangeLog.14".
32708
136fa185
L
327092017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32710
32711 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32712 Threads Library.
32713
c18d50a2
JM
327142017-09-01 Joseph Myers <joseph@codesourcery.com>
32715
32716 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32717
bedbd859
L
327182017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32719
32720 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32721 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32722
50c66c7a
PP
327232017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32724
32725 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32726 32 atexit handlers.
32727
a617bd11
ZW
327282017-09-01 Zack Weinberg <zackw@panix.com>
32729
32730 * math/math.h (HUGE_VAL): Improve commentary.
32731
e0d2eb5a
AZ
327322017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32733 Andreas Schwab <schwab@suse.de>
32734
32735 [BZ #21530]
32736 * include/stdio.h (__gen_tempfd): New function.
32737 * stdio-common/Makefile (routines): Add gentempfd.
32738 * stdio-common/gentempfd.c: New file.
32739 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32740 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32741 unnamed file first.
32742
f4a6be25
FW
327432017-09-01 Florian Weimer <fweimer@redhat.com>
32744
32745 [BZ #21915]
32746 [BZ #21922]
32747 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32748 result to determine success or failure, not the errno value.
32749 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32750 (tst-nss-files-hosts-erange): Link with -ldl.
32751 * nss/tst-nss-files-hosts-erange.c: New file.
32752 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32753 (do_test): Add NO_DATA tests.
32754 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32755 (do_test): Call it.
32756
5f8340f5
FW
327572017-09-01 Florian Weimer <fweimer@redhat.com>
32758
32759 [BZ #21922]
32760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32761 coming from gethostbyname2_r.
32762
65329bd2
FW
327632017-09-01 Florian Weimer <fweimer@redhat.com>
32764
32765 * support/namespace.h (struct support_chroot_configuration): Add
32766 hosts, host_conf.
32767 (struct support_chroot): Add path_hosts, path_host_conf.
32768 * support/support_chroot.c (write_file): New function.
32769 (support_chroot_create): Call it to process /etc/resolv.conf,
32770 /etc/hosts, /etc/host.conf.
32771 (support_chroot_free): Update.
32772
a2881ef0
FW
327732017-09-01 Florian Weimer <fweimer@redhat.com>
32774
32775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32776 status indicates it is set.
32777
ad816a5e
FW
327782017-09-01 Florian Weimer <fweimer@redhat.com>
32779
63b52889 32780 [BZ #20532]
ad816a5e
FW
32781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32782 function lookup failures more reliable.
32783
53250a21
FW
327842017-09-01 Florian Weimer <fweimer@redhat.com>
32785
32786 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32787 (getcanonname): Likewise.
32788 (gaih_inet): Likewise.
32789
924b121c
FW
327902017-09-01 Florian Weimer <fweimer@redhat.com>
32791
32792 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32793 (getcanonname): Likewise.
32794 (gaih_inet): Likewise.
32795
d9ff799a 327962017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 32797 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
32798
32799 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32800 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32801 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32802 (IREG_SIZE, OREG_SIZE): New macros.
32803 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32804 (IREG_SIZE, OREG_SIZE): New macros.
32805 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32806 (IREG_SIZE): New macro.
32807 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32808 (IREG_SIZE): New macro.
32809 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32810 New includes.
32811 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32812 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32813 (__CONCATX): Handle exceptions correctly on large values that may
32814 set FE_INVALID.
32815 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32816 Initialize if not already set.
b39d961c 32817 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 32818
102dde84
AZ
328192017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32820
32821 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32822 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32823 Likewise.
32824 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32825 Likewise.
32826 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32827 Likewise.
32828 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32829 Likewise.
32830 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32831 Likewise.
32832 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32833 Likewise.
32834 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32835 Likewise.
32836 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32837 (NO_CANCELLATION): Likewise.
32838 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32839 Likewise.
32840 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32841 Likewise.
32842 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32843 Likewise.
32844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32845 (NO_CANCELLATION): Likewise.
32846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32847 (NO_CANCELLATION): Likewise.
32848 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32849 Likewise
32850 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32851 Likewise.
32852 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32853 Likewise.
32854 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32855 Likewise.
32856 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32857 hidden prototype.
32858 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32859 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32860
9eee633b
SE
328612017-08-31 Steve Ellcey <sellcey@cavium.com>
32862
32863 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32864 in resolver call.
32865
65284eb7
FW
328662017-08-31 Florian Weimer <fweimer@redhat.com>
32867
32868 * include/libc-symbols.h (internal_function): Remove.
32869
41ad5ca6
FW
328702017-08-31 Florian Weimer <fweimer@redhat.com>
32871
32872 * stdlib/fmtmsg.c (internal_addseverity): Remove
32873 internal_function.
32874
2fa6d086
FW
328752017-08-31 Florian Weimer <fweimer@redhat.com>
32876
32877 * stdio-common/printf_fp.c (group_number): Remove
32878 internal_function.
32879 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32880
b41bd5bc
FW
328812017-08-31 Florian Weimer <fweimer@redhat.com>
32882
32883 * posix/fnmatch.c (internal_function): Remove definition.
32884 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32885 * posix/regcomp.c (peek_token, init_word_char)
32886 (duplicate_node_closure, fetch_token, peek_token)
32887 (peek_token_bracket, build_range_exp, build_collating_symbol):
32888 Likewise.
32889 * posix/regex_internal.c (re_string_construct_common)
32890 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32891 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32892 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32893 (re_string_translate_buffer, re_string_reconstruct)
32894 (re_string_peek_byte_case, re_string_fetch_byte_case)
32895 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32896 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32897 (re_node_set_add_intersect, re_node_set_init_union)
32898 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32899 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32900 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32901 (re_acquire_state_context): Likewise.
32902 * posix/regex_internal.h (internal_function): Remove definition.
32903 (re_string_realloc_buffers, build_wcs_buffer)
32904 (build_wcs_upper_buffer, build_upper_buffer)
32905 (re_string_translate_buffer, re_string_context_at)
32906 (re_string_char_size_at, re_string_wchar_at)
32907 (re_string_elem_size_at): Likewise.
32908 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32909 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32910 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32911 (re_search_internal, re_search_2_stub, re_search_stub)
32912 (re_copy_regs, prune_impossible_nodes, check_matching)
32913 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32914 (free_fail_stack_return, sift_states_iter_mb)
32915 (sift_states_backward, build_sifted_states)
32916 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32917 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32918 (check_subexp_limits, sift_states_bkref, merge_state_array)
32919 (find_recover_state, transit_state, merge_state_with_log)
32920 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32921 (transit_state_mb, transit_state_bkref, get_subexp)
32922 (get_subexp_sub, find_subexp_node, check_arrival)
32923 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32924 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32925 (check_node_accept_bytes, find_collation_sequence_value)
32926 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32927 (acquire_init_state_context, check_halt_node_context)
32928 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32929 (sub_epsilon_src_nodes): Likewise.
32930 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32931 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32932 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32933 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32934 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32935 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32936 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32937 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32938 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32939 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32940 (PREADV): Likewise.
32941 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32942 (PREADV): Likewise.
32943 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32944 (PWRITEV): Likewise.
32945 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32946 (PWRITEV): Likewise.
32947 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32948 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32949
83b09837
FW
329502017-08-31 Florian Weimer <fweimer@redhat.com>
32951
32952 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32953 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32954 Remove internal_function.
32955 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32956 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32957 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32958 (__deallocate_stack, __libc_pthread_init)
32959 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32960 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32961 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32962 Likewise.
32963 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32964 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32965 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32966 Likewise.
32967 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32968 (__pthread_mutex_unlock_usercnt): Likewise.
32969
116ac301
FW
329702017-08-31 Florian Weimer <fweimer@redhat.com>
32971
32972 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32973 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32974 (fts_safe_changedir): Remove internal_function.
32975 * io/ftw.c (internal_function): Remove definition.
32976 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32977
9da93bd7
FW
329782017-08-31 Florian Weimer <fweimer@redhat.com>
32979
32980 * inet/deadline.c (__deadline_current_time)
32981 (__deadline_from_timeval, __deadline_to_ms): Remove
32982 internal_function.
32983 * inet/getnameinfo.c (nrl_domainname): Likewise.
32984 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32985 * inet/inet6_option.c (add_pad): Likewise.
32986 * inet/net-internal.h (__deadline_current_time)
32987 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32988 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32989 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32990 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32991
a60eca2e
JM
329922017-08-31 Joseph Myers <joseph@codesourcery.com>
32993
c0c49d60
JM
32994 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32995 include <bits/nan.h>.
32996 * math/Makefile (headers): Remove bits/nan.h.
32997 * bits/nan.h: Remove.
32998 * sysdeps/ieee754/bits/nan.h: Likewise.
32999 * sysdeps/mips/bits/nan.h: Likewise.
33000
5ef1b213
JM
33001 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33002 not include <bits/inf.h>.
33003 * math/Makefile (headers): Remove bits/inf.h.
33004 * bits/inf.h: Remove.
33005 * sysdeps/ieee754/bits/inf.h: Likewise.
33006
a60eca2e
JM
33007 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33008 bits/huge_vall.h or bits/huge_val_flt128.h.
33009 (HUGE_VAL): Define directly here.
33010 [__USE_ISOC99] (HUGE_VALF): Likewise.
33011 [__USE_ISOC99] (HUGE_VALL): Likewise.
33012 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33013 (HUGE_VAL_F128): Likewise.
33014 * math/Makefile (headers): Remove bits/huge_val.h,
33015 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33016 * bits/huge_val.h: Remove.
33017 * bits/huge_val_flt128.h: Likewise.
33018 * bits/huge_valf.h: Likewise.
33019 * bits/huge_vall.h: Likewise.
33020 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33021 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33022 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33023 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33024 * sysdeps/sh/bits/huge_val.h: Likewise.
33025 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33026 * sysdeps/x86/bits/huge_vall.h: Likewise.
33027
17e00cc6
FW
330282017-08-31 Florian Weimer <fweimer@redhat.com>
33029
33030 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33031 internal_function.
33032 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33033 Likewise.
33034 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33035 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33036 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33037 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33038 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33039 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33040 * elf/dl-libc.c (dlerror_run): Likewise.
33041 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33042 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33043 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33044 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33045 Likewise.
33046 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33047 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33048 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33049 * elf/dl-profile.c (_dl_start_profile): Likewise.
33050 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33051 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33052 Likewise.
33053 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33054 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33055 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33056 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33057 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33058 (_dl_allocate_tls_storage): Likewise.
33059 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33060 (_dl_check_all_versions): Likewise.
33061 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33062 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33063 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33064 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33065 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33066 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33067 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33068 internal_function from __dl_start.
33069 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33070 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33071 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33072 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33073 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33074 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33075 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33076 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33077 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33078 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33079 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33080 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33081 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33082 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33083 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33084 Likewise.
33085 (struct rtld_global_ro): Remove internal_function from the
33086 _dl_lookup_symbol_x member.
33087 (_dl_symbol_value): Remove. No longer defined anywhere.
33088 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33089 internal_function.
33090 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33091 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33092 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33093 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33094 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33095 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33096 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33097 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33098 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33099 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33100 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33101 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33102
8d2f9410
FW
331032017-08-31 Florian Weimer <fweimer@redhat.com>
33104
33105 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33106 Remove internal_function.
33107 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33108 Likewise.
33109 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33110 Likewise.
33111
86e4919f
FW
331122017-08-31 Florian Weimer <fweimer@redhat.com>
33113
33114 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33115 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33116 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33117
59bd52b0
FW
331182017-08-31 Florian Weimer <fweimer@redhat.com>
33119
33120 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33121 (__gai_enqueue_request): Remove internal_function.
33122 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33123 (__gai_remove_request, __gai_notify, __gai_notify_only)
33124 (__gai_sigqueue): Likewise.
33125 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33126 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33127 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33128 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33129 Likewise.
33130
fc3d9497
FW
331312017-08-31 Florian Weimer <fweimer@redhat.com>
33132
33133 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33134 * include/dirent.h (__opendirat, __getdents, __getdents64)
33135 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33136 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33137 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33138 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33139 Likewise.
33140 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33141
18c54fac
FW
331422017-08-31 Florian Weimer <fweimer@redhat.com>
33143
33144 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33145 internal_function.
33146 (GETCWD_RETURN_TYPE): Likewise.
33147
7e01f080
FW
331482017-08-31 Florian Weimer <fweimer@redhat.com>
33149
33150 * include/time.h (__tz_compute, __strptime_internal): Remove
33151 internal_function.
33152 * time/strptime_l.c (__strptime_internal): Likewise.
33153 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33154
d7ccc6c9
FW
331552017-08-31 Florian Weimer <fweimer@redhat.com>
33156
33157 * iconv/gconv.c (__gconv): Remove internal_function.
33158 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33159 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33160 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33161 (__gconv_release_cache): Likewise.
33162 * iconv/gconv_close.c (__gconv_close): Likewise.
33163 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33164 (read_conf_file, __gconv_get_path): Likewise.
33165 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33166 (__gconv_release_step, gen_steps, increment_counter)
33167 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33168 (__gconv_close_transform, free_modules_db): Likewise.
33169 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33170 Likewise.
33171 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33172 (__gconv_find_transform, __gconv_lookup_cache)
33173 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33174 (__gconv_close_transform, __gconv_release_cache)
33175 (__gconv_loaded_object, __gconv_release_shlib)
33176 (__gconv_compare_alias): Likewise.
33177 * iconv/gconv_open.c (__gconv_open): Likewise.
33178 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33179 * iconv/iconvconfig.c (add_module): Likewise.
33180 * intl/dcigettext.c (plural_lookup, guess_category_value)
33181 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33182 * intl/eval-plural.h (plural_eval): Likewise.
33183 * intl/finddomain.c (_nl_find_domain): Likewise.
33184 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33185 (_nl_load_domain, _nl_find_msg): Likewise.
33186 (internal_function): Remove definition.
33187 * intl/loadinfo.h (internal_function): Likewise.
33188 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33189 internal_function.
33190 * intl/localealias.c (internal_function): Remove definition.
33191 (read_alias_file): Remove internal_function.
33192 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33193 * intl/plural-exp.h (internal_function): Remove definition.
33194 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33195 internal_function.
33196 * intl/plural.c: Regenerate.
33197 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33198 * locale/coll-lookup.c (__collidx_table_lookup)
33199 (__collseq_table_lookup): Likewise.
33200 * locale/coll-lookup.h (__collidx_table_lookup)
33201 (__collseq_table_lookup): Likewise.
33202 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33203 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33204 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33205 (_nl_unload_locale): Likewise.
33206 * locale/localeinfo.h (struct __locale_data): Remove
33207 internal_function from cleanup member.
33208 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33209 (_nl_remove_locale, _nl_load_locale_from_archive)
33210 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33211 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33212 (_nl_cleanup_time): Remove internal_function.
33213 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33214 (_nl_parse_alt_digit): Likewise.
33215 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33216 (_nl_select_era_entry): Likewise.
33217 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33218 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33219 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
33220 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33221 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 33222
dab0eece
FW
332232017-08-31 Florian Weimer <fweimer@redhat.com>
33224
33225 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33226 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33227 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33228 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33229 Likewise.
33230 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33231 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33232 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33233 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33234 Likewise.
33235 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33236
ab5bf7cf
FW
332372017-08-31 Florian Weimer <fweimer@redhat.com>
33238
33239 * misc/getttyent.c (skip, value): Remove internal_function.
33240 * misc/syslog.c (openlog_internal): Likewise.
33241 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33242
75b3047e
FW
332432017-08-31 Florian Weimer <fweimer@redhat.com>
33244
33245 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33246 (__nss_rewrite_field): Remove internal_function.
33247 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33248 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33249 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33250 * nss/nsswitch.c (nss_parse_file, nss_getline)
33251 (nss_parse_service_list, nss_new_service): Likewise.
33252 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33253 * nss/valid_field.c (__nss_valid_field): Likewise.
33254 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33255
0c71122c
FW
332562017-08-31 Florian Weimer <fweimer@redhat.com>
33257
33258 * malloc/arena.c (__malloc_fork_lock_parent)
33259 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33260 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33261 internal_function from defintions.
33262 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33263 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33264 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33265 internal_function from declarations.
33266 * malloc/malloc.c (internal_function): Do not define.
33267 (mem2mem_check): Remove internal_function from declaration.
33268 (munmap_chunk, mremap_chunk): Remove internal_function.
33269 * malloc/mtrace.c (tr_where): Likewise.
33270
ca4ec803
FW
332712017-08-31 Florian Weimer <fweimer@redhat.com>
33272
33273 * include/rpc/pmap_clnt.h (__get_socket): Remove
33274 internal_function.
33275 * sunrpc/auth_des.c (synchronize): Likewise.
33276 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33277 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33278 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33279 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33280 (key_call): Likewise.
33281 * sunrpc/pm_getport.c (__get_socket): Likewise.
33282 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33283 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33284 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33285 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33286 (invalidate): Likewise.
33287 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33288 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33289 (set_input_fragment, get_input_bytes): Likewise.
33290
24cffce7
FW
332912017-08-31 Florian Weimer <fweimer@redhat.com>
33292
33293 * malloc/malloc.c (_int_free): Remove locked variable and related
33294 asserts.
33295
ecd0747d
L
332962017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33297
33298 [BZ #22051]
33299 * Makerules (build-module-helper-objlist): Filter out
33300 $(elf-objpfx)sofini.os.
33301 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33302 needed.
33303
5f0704b6
FW
333042017-08-31 Florian Weimer <fweimer@redhat.com>
33305
33306 * libio/fcloseall.c: Assume weak_alias is defined.
33307 * libio/feof.c: Likewise.
33308 * libio/fileno.c: Likewise.
33309 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33310 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33311 definitions.
33312 (_IO_file_open): Call __open directly.
33313 (_IO_new_file_sync): Assume ESPIPE is defined.
33314 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33315 (_IO_new_file_write): Call __write directly.
33316 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33317 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33318 * libio/genops.c: Assume _LIBC is defined.
33319 (save_for_backup): Remove internal_function.
33320 * libio/getc.c: Assume weak_alias is defined.
33321 * libio/getwc.c: Likewise.
33322 * libio/iofclose.c: Assume _LIBC is defined.
33323 * libio/iofdopen.c: Likewise.
33324 (_IO_fcntl): Remove macro definition.
33325 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33326 Call __fcntl directly.
33327 * libio/iofflush.c: Assume weak_alias is defined.
33328 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33329 defined.
33330 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33331 * libio/iofgets.c: Likewise.
33332 * libio/iofopen.c: Assume _LIBC is defined.
33333 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33334 * libio/iofputs.c: Assume weak_alias is defined.
33335 * libio/iofread.c: Likewise.
33336 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33337 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33338 * libio/ioftell.c: Assume weak_alias is defined.
33339 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33340 * libio/iofwide.c: Assume _LIBC is defined.
33341 (_IO_fwide): Drop SHARED conditional because it is implied by
33342 SHLIB_COMPAT.
33343 * libio/iofwrite.c: Assume weak_alias is defined.
33344 * libio/iogetdelim.c: Likewise.
33345 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33346 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33347 (_IO_getwline): Call __wmemcpy directly.
33348 * libio/iopopen.c: Assume _LIBC is defined.
33349 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33350 (_IO_close): Remove macro definitions.
33351 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33352 _exit directly.
33353 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33354 directly.
33355 * libio/ioputs.c: Assume weak_alias is defined.
33356 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33357 * libio/iosetbuffer.c: Assume weak_alias is defined.
33358 * libio/iosetvbuf.c: Likewise.
33359 * libio/ioungetc.c: Likewise.
33360 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33361 libc_hidden_def, libc_hidden_weak, NULL are defined.
33362 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33363 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33364 defined.
33365 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33366 definitions.
33367 (_IO_old_file_init_internal): Drop SHARED conditional because it
33368 is implied by SHLIB_COMPAT.
33369 (_IO_old_file_fopen): Call __open directly.
33370 (_IO_old_file_sync): Assume ESPIPE is defined.
33371 (_IO_old_file_write): Call __write directly.
33372 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33373 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33374 Call __fcntl directly.
33375 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33376 (_IO_old_fgetpos): Assume EIO is defined.
33377 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33378 (_IO_old_fgetpos64): Assume EIO is defined.
33379 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33380 (_IO_old_fsetpos): Assume EIO is defined.
33381 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33382 (_IO_old_fsetpos64): Assume EIO is defined.
33383 * libio/oldiopopen.c: Assume _LIBC is defined.
33384 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33385 (_IO_close): Remove macro definitions.
33386 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33387 directly.
33388 (_IO_old_proc_close): Call __close, __waitpid directly.
33389 * libio/put.c: Assume weak_alias is defined.
33390 * libio/stdfiles.c: Assume _LIBC is defined.
33391 * libio/stdio.c: Likewise.
33392 * libio/wfileops.c: Likewise.
33393 (_IO_wfile_sync): Assume ESPIPE is defined.
33394 * libio/wgenops.c: Assume _LIBC is defined.
33395 (save_for_wbackup): Remove internal_function.
33396
5129873a
FW
333972017-08-31 Florian Weimer <fweimer@redhat.com>
33398
33399 * malloc/malloc.c (top_check): Change return type to void. Remove
33400 internal_function.
33401 * malloc/hooks.c (top_check): Likewise.
33402 (malloc_check, realloc_check, memalign_check): Adjust.
33403
4fa9b3bf
JM
334042017-08-30 Joseph Myers <joseph@codesourcery.com>
33405
33406 [BZ #21457]
33407 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33408 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33409 sigcontext and namespace requirements.
33410 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33411 * sysdeps/m68k/sys/ucontext.h: Likewise.
33412 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33413 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33414 <bits/sigcontext.h>.
33415 (__ctx): Define earlier.
33416 (mcontext_t): Define structure contents rather than using struct
33417 sigcontext.
33418 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33419 __glibc_reserved1 instead of __reserved.
33420 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33421 <bits/sigcontext.h>.
33422 (__ctx): Define earlier.
33423 (mcontext_t): Define structure contents rather than using struct
33424 sigcontext.
33425 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33426 mcontext_t instead of struct sigcontext.
33427 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33428 <bits/sigcontext.h>.
33429 (__ctx): Define earlier.
33430 (mcontext_t): Define structure contents rather than using struct
33431 sigcontext.
33432 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33433 <bits/sigcontext.h>.
33434 (__ctx): Define earlier.
33435 (mcontext_t): Define structure contents rather than using struct
33436 sigcontext.
33437 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33438 mcontext_t instead of struct sigcontext.
33439 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33440 mcontext_t instead of struct sigcontext.
33441 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33442 <bits/sigcontext.h>.
33443 (__ctx): New macro.
33444 (struct __ia64_fpreg_mcontext): New type.
33445 (mcontext_t): Define structure contents rather than using struct
33446 sigcontext.
33447 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33448 (uc_sigmask): Define using __ctx.
33449 (uc_stack): Likewise.
33450 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33451 <bits/sigcontext.h>.
33452 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33453 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33454 <bits/sigcontext.h>.
33455 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33456 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33457 <bits/sigcontext.h>.
33458 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33459 <bits/sigcontext.h>.
33460 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33461 <bits/sigcontext.h>.
33462 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33463 <bits/sigcontext.h>.
33464 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33465 <bits/sigcontext.h>.
33466 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33467 <bits/sigcontext.h>.
33468 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33469 <bits/sigcontext.h>.
33470 (__ctx): Define earlier.
33471 (mcontext_t): Define structure contents rather than using struct
33472 sigcontext.
33473 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33474 <bits/sigcontext.h>. Include <bits/types.h>.
33475 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33476 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33477 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33478 (test-xfail-UNIX98/signal.h/conform): Likewise.
33479 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33480 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33481 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33482 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33483 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33484 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33485 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33486 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33487 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33488
5898f454
FW
334892017-08-30 Florian Weimer <fweimer@redhat.com>
33490
33491 * malloc/dynarray_emplace_enlarge.c
33492 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33493 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33494 * malloc/tst-dynarray.c (test_long_overflow): New function.
33495 (do_test): Call it.
33496
a9da0bb2
FW
334972017-08-30 Florian Weimer <fweimer@redhat.com>
33498
33499 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33500 (set_arena_corrupt): Remove definitions.
33501 (mtrim): Do not check for corrupt arena.
33502 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33503 Likewise.
33504
ac3ed168
FW
335052017-08-30 Florian Weimer <fweimer@redhat.com>
33506
33507 [BZ #21754]
33508 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33509 check_action.
33510 (ptmalloc_init): Do not set or use check_action.
33511 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33512 call to malloc_printerr. Remove return statement.
33513 (free_check): Likewise. Remove arena unlock.
33514 (top_check): Update comment. Adjust call to malloc_printerr.
33515 Remove heap repair code.
33516 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33517 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33518 (sysmalloc): Adjust call to malloc_printerr.
33519 (munmap_chunk, __libc_realloc): Likewise. Remove return
33520 statement.
33521 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33522 Remove errout label and corresponding gotos.
33523 (_int_free): Likewise. Remove arena unlock.
33524 (do_set_mallopt_check): Do not set check_action.
33525 (malloc_printerr): Adjust parameter list. Do not mark arena as
33526 corrupt.
33527 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33528 comment.
33529 * manual/probes.texi (Memory Allocation Probes): Remove
33530 memory_mallopt_check_action.
33531
44bcba80
SE
335322017-08-30 Steve Ellcey <sellcey@cavium.com>
33533
33534 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33535 Use pointer to uint64_t instead of long int for sp.
33536
ec2c1fce
FW
335372017-08-30 Florian Weimer <fweimer@redhat.com>
33538
33539 [BZ #21754]
33540 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33541 without printing a backtrace. Do not leak any information in the
33542 error message.
33543 * manual/memory.texi (Heap Consistency Checking): Update.
33544 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33545
9ce673b6
FW
335462017-08-30 Florian Weimer <fweimer@redhat.com>
33547
33548 Do not scale NPTL tests with available number of CPUs.
33549 * nptl/tst-cond16.c (count): Set to constant value of 8.
33550 * nptl/tst-cond18.c (count): Likewise.
33551
2f1aef19
JM
335522017-08-29 Joseph Myers <joseph@codesourcery.com>
33553
33554 [BZ #22035]
33555 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33556 Define to take a second argument that is a macro that
33557 concatentates a suffix, not the suffix itself.
33558 (__CONCAT_d): New macro.
33559 (__CONCAT_f): Likewise.
33560 (__CONCAT_l): Likewise.
33561
8325b477
PP
335622017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33563
33564 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33565 by child.
33566
319cbbf6
AZ
335672017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33568 Aurelien Jarno <aurelien@aurel32.net>
33569 Maciej W. Rozycki <macro@imgtec.com>
33570
33571 [BZ #21956]
33572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33573 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33574 `mips16-syscall6' and `mips16-syscall7'.
33575 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33576 (CFLAGS-mips16-syscall7.c): Remove.
33577 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33578 Remove `__mips16_syscall5', `__mips16_syscall6' and
33579 `__mips16_syscall7'.
33580 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33581 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33582 `__mips_syscall_return'.
33583 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33584 (__mips16_syscall1): Likewise.
33585 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33586 (__mips16_syscall2): Likewise.
33587 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33588 (__mips16_syscall3): Likewise.
33589 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33590 (__mips16_syscall4): Likewise.
33591 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33592 Remove.
33593 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33594 Remove.
33595 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33596 Remove.
33597 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33598 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33599 `__mips16_syscall5'. Remove prototype.
33600 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33601 `__mips16_syscall6'. Remove prototype.
33602 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33603 `__mips16_syscall7'. Remove prototype.
33604 (__nomips16, __mips16_syscall_return): Move to...
33605 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33606 (__nomips16, __mips_syscall_return): ... here.
33607 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33608 `__mips16_syscall_return' to `__mips_syscall_return'.
33609 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33610 `internal_syscall##nr'.
33611 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33612 `internal_syscall##nr'.
33613 (FORCE_FRAME_POINTER): Remove.
33614 (__mips_syscall5): New prototype.
33615 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33616 (__mips_syscall6): New prototype.
33617 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33618 (__mips_syscall7): New prototype.
33619 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33620 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33621 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33622 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33623 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33624 (sysdep_routines): Add libc-do-syscall.
33625 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33626 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33627
01b87c65
AZ
336282017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33629
33630 [BZ #21672]
33631 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33632 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33633 (advise_stack_range): New function.
33634 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33635 stack non required to advise_stack_range at allocatestack.c
33636
16f138a4
SN
336372017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33638
33639 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33640
251bccfa
FW
336412017-08-29 Florian Weimer <fweimer@redhat.com>
33642
33643 [BZ #22026]
33644 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33645 __end_fct. Mangle __end_fct after setting it to NULL.
33646 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33647 (modules-names, modules-names-tests): Add
33648 tst-gconv-init-failure-mod.
33649 (gconv-modules): New target.
33650 (tst-gconv-init-failure-mod.so): Link against libsupport.
33651 (tst-gconv-init-failure): Depend on gconv-modules,
33652 tst-gconv-init-failure-mod.so.
33653 * iconv/tst-gconv-init-failure-mod.c: New file.
33654 * iconv/tst-gconv-init-failure.c: Likewise.
33655 * iconv/test-gconv-modules: Likewise.
33656
e7c18b9d
FW
336572017-08-29 Florian Weimer <fweimer@redhat.com>
33658
33659 [BZ #22025]
33660 * iconv/gconv_db.c (free_derivation): Remove redundant
33661 parentheses.
33662 (gen_steps): Unconditionally mangle __btowc_fct after
33663 initialization.
33664 (increment_counter): Likewise. Do not call init_fct for internal
33665 modules.
33666
7daada03
JM
336672017-08-29 Joseph Myers <joseph@codesourcery.com>
33668
33669 [BZ #22028]
33670 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33671 (_MSUF_): Remove macro.
33672 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33673 Likewise.
33674 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33675 (__REDIRFROM_X): New macro.
33676 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33677 Likewise.
33678 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33679 (__REDIRTO_X): Likewise.
33680 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33681 arguments.
33682 (__MATH_REDIRCALL_2): Likewise.
33683 (__MATH_REDIRCALL_INTERNAL): Likewise.
33684 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33685 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33686 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33687 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33688 * math/test-finite-macros.c: New file.
33689 * math/Makefile (tests): Add test-finite-macros.
33690 (CFLAGS-test-finite-macros.c): New variable.
33691
1cf1232c
PF
336922017-08-29 Patsy Franklin <pfrankli@redhat.com>
33693 Jeff Law <law@redhat.com>
33694
33695 [BZ #22025]
33696 Mangle NULL pointers in iconv/gconv.
33697 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33698 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33699 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33700 is non-NULL before demangling the end_fct. Check for NULL
33701 end_fct after demangling.
33702 (__gconv_release_step): Demangle the end_fct before checking
33703 it for NULL. Remove assert on __shlibc_handle != NULL.
33704 (gen_steps): Don't check btowc_fct for NULL before mangling.
33705 Demangle init_fct before checking for NULL.
33706 (increment_counter): Likewise.
33707 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33708 end_fct for NULL before mangling.
33709 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33710 for NULL.
33711
c207f7ce 337122017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
33713
33714 [BZ #21971]
33715 * locale/iso-639.def: add Morisyen.
33716
42496114
GG
337172017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33718
33719 [BZ #21930]
33720 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33721 (iszero): New C++ implementation that does not use
33722 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33723 signaling nans are enabled, since __builtin_types_compatible_p
33724 is a C-only feature.
33725 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33726 defined, include ieee754_float128.h for access to the union and
33727 member ieee854_float128.ieee.
33728 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33729 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33730 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33731 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33732 options of test-math-zero on powerpc64le.
33733
5e2bc4ff
L
337342017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33735
33736 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33737 Change double to float.
33738
a48c0fb4
JM
337392017-08-28 Joseph Myers <joseph@codesourcery.com>
33740
33741 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33742 unconditional.
33743 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33744 conditional code; define contents only for [LIBM_SVID_COMPAT].
33745
ee17d4e9
FW
337462017-08-28 Florian Weimer <fweimer@redhat.com>
33747
33748 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33749 (abi-lp64_be-options): Remove.
33750 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33751 (abi-hard-options): Likewise.
33752 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33753 (abi-o32_hard-options, abi-o32_soft_2008-options)
33754 (abi-o32_hard_2008-options, abi-n32_soft-options)
33755 (abi-n32_hard-options, abi-n32_soft_2008-options)
33756 (abi-n32_hard_2008-options, abi-n64_soft-options)
33757 (abi-n64_hard-options, abi-n64_soft_2008-options)
33758 (abi-n64_hard_2008-options): Likewise.
33759 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33760 (abi-64-v1-options, abi-64-v2-options): Likewise.
33761 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33762 (abi-64-options): Likewise.
33763 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33764 (abi-64-options): Likewise.
33765 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33766 (abi-64-options): Likewise.
33767 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33768 (abi-64-options, abi-x32-options): Likewise.
33769
2dba5ce7
FW
337702017-08-28 Florian Weimer <fweimer@redhat.com>
33771
33772 Store supported list of SYS_* system calls in the source tree.
33773 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33774 (bits/syscall.h): Generate from list file.
33775 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33776 [$(subdir) = misc] (tests): Add tst-syscall-list.
33777 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33778 [$(subdir) = misc] (tst-syscall-list-macros.list)
33779 [$(subdir) = misc] (tst-syscall-list-nr.list)
33780 (tst-syscall-list-sys.list): Helper targets for new
33781 tst-syscall-list test.
33782 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33783 tst-syscall-list.sh.
33784 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33785 target. Do not include bits/syscall.d.
33786 [$(subdir) = misc] (generated): Do not update.
33787 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33788 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33789 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33790 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33791
5f3b183d
PP
337922017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33793
33794 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33795 (tst-cxa_atexit, tst-on_exit): Likewise.
33796 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33797 tst-cxa_atexit, and tst-on_exit.
33798 * stdlib/tst-atexit-common.c: New file.
33799 * stdlib/tst-atexit.c: New file.
33800 * stdlib/tst-at_quick_exit.c: New file.
33801 * stdlib/tst-cxa_atexit.c: New file.
33802 * stdlib/tst-on_exit.c: New file.
33803
2ef8d469
ST
338042017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33805
33806 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
33807 * mach/stack_chk_fail_local.c: New file.
33808 * hurd/stack_chk_fail_local.c: New file.
33809 * mach/Machrules ($(interface-library)-routines): Add
33810 stack_chk_fail_local.
99ee4d26
ST
33811 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33812 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33813 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33814 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33815 * hurd/Makefile (CFLAGS-hurdstartup.o,
33816 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 33817
7ab70c98
L
338182017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33819
33820 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33821 (index_cpu_*, index_arch_*): Removed.
33822
39e7a5a6
SN
338232017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33824
33825 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33826 Use uint64_t instead of unsigned long.
33827
bba5c930
JM
338282017-08-25 Joseph Myers <joseph@codesourcery.com>
33829
a6ccdb08
JM
33830 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33831 [__HAVE_DISTINCT_FLOAT128].
33832
23761119
JM
33833 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33834 of <bits/math-finite.h>.
33835 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33836 inclusion of <bits/math-finite.h>.
33837 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33838 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33839 __NO_LONG_DOUBLE_MATH].
33840 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33841 (__MATH_REDIRCALL_2): Likewise.
33842 (__MATH_REDIRCALL_INTERNAL): Likewise.
33843 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33844 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33845 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33846
bba5c930
JM
33847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33848 Remove file.
33849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33850 Likewise.
33851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33852 Likewise.
33853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33854 Likewise.
33855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33856 Likewise.
33857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33858 Likewise.
33859 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33860 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33862 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33864 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33865 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33866 w_sqrtf_compat-ppc32.
33867
3d7b66f6
GG
338682017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33869
33870 * math/math.h [defined __cplusplus] (issignaling): In the long
33871 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33872 is not defined. Call __issignaling, otherwise.
33873
ebd6f007
AZ
338742017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33875
33876 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33877 syscall definitions and replace __builtin_expect with __glibc_likely.
33878 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33879 syscall.
6b5c8607 33880 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
33881 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33882 definition.
33883 (PSEUDO_END): Likewise.
33884 [IS_IN (libpthread)] (CENABLE): Likewise.
33885 [IS_IN (libpthread)] (CDISABLE): Likewise.
33886 [IS_IN (libc)] (CENABLE): Likewise.
33887 [IS_IN (libc)] (CENABLE): Likewise.
33888 [IS_IN (librt)] (CDISABLE): Likewise.
33889 [IS_IN (librt)] (CDISABLE): Likewise.
33890 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33891 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33892 definition.
33893 (PSEUDO_END): Likewise.
33894 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33895 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33896 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33897 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33898 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33899 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33900 (CENABLE): Likewise.
33901 (CDISABLE): Likewise.
33902 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33903 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33904 defintion.
33905 (PSEUDO_END): Likewise.
33906 [IS_IN (libpthread)] (CENABLE): Likewise.
33907 [IS_IN (libpthread)] (CDISABLE): Likewise.
33908 [IS_IN (libc)] (CENABLE): Likewise.
33909 [IS_IN (libc)] (CENABLE): Likewise.
33910 [IS_IN (librt)] (CDISABLE): Likewise.
33911 [IS_IN (librt)] (CDISABLE): Likewise.
33912 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33913 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33914 definition.
33915 (PSEUDO_END): Likewise.
33916 [IS_IN (libpthread)] (CENABLE): Likewise.
33917 [IS_IN (libpthread)] (CDISABLE): Likewise.
33918 [IS_IN (libc)] (CENABLE): Likewise.
33919 [IS_IN (libc)] (CENABLE): Likewise.
33920 [IS_IN (librt)] (CDISABLE): Likewise.
33921 [IS_IN (librt)] (CDISABLE): Likewise.
33922 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33923 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33924 definition.
33925 (PSEUDO_END): Likewise.
33926 [IS_IN (libpthread)] (CENABLE): Likewise.
33927 [IS_IN (libpthread)] (CDISABLE): Likewise.
33928 [IS_IN (libc)] (CENABLE): Likewise.
33929 [IS_IN (libc)] (CENABLE): Likewise.
33930 [IS_IN (librt)] (CDISABLE): Likewise.
33931 [IS_IN (librt)] (CDISABLE): Likewise.
33932 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33933 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33934 definition.
33935 (PSEUDO_END): Likewise.
33936 [IS_IN (libpthread)] (CENABLE): Likewise.
33937 [IS_IN (libpthread)] (CDISABLE): Likewise.
33938 [IS_IN (libc)] (CENABLE): Likewise.
33939 [IS_IN (libc)] (CENABLE): Likewise.
33940 [IS_IN (librt)] (CDISABLE): Likewise.
33941 [IS_IN (librt)] (CDISABLE): Likewise.
33942 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33943 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33944 definition.
33945 (PSEUDO_END): Likewise.
33946 [IS_IN (libpthread)] (CENABLE): Likewise.
33947 [IS_IN (libpthread)] (CDISABLE): Likewise.
33948 [IS_IN (libc)] (CENABLE): Likewise.
33949 [IS_IN (libc)] (CENABLE): Likewise.
33950 [IS_IN (librt)] (CDISABLE): Likewise.
33951 [IS_IN (librt)] (CDISABLE): Likewise.
33952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33953 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33954 definition.
33955 (PSEUDO_END): Likewise.
33956 [IS_IN (libpthread)] (CENABLE): Likewise.
33957 [IS_IN (libpthread)] (CDISABLE): Likewise.
33958 [IS_IN (libc)] (CENABLE): Likewise.
33959 [IS_IN (libc)] (CENABLE): Likewise.
33960 [IS_IN (librt)] (CDISABLE): Likewise.
33961 [IS_IN (librt)] (CDISABLE): Likewise.
33962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33963 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33964 Remove definition.
33965 (PSEUDO_END): Likewise.
33966 [IS_IN (libpthread)] (CENABLE): Likewise.
33967 [IS_IN (libpthread)] (CDISABLE): Likewise.
33968 [IS_IN (libc)] (CENABLE): Likewise.
33969 [IS_IN (libc)] (CENABLE): Likewise.
33970 [IS_IN (librt)] (CDISABLE): Likewise.
33971 [IS_IN (librt)] (CDISABLE): Likewise.
33972 (SINGLE_THREAD_P): Likewise.
33973 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33974 definition.
33975 (PSEUDO_END): Likewise.
33976 [IS_IN (libpthread)] (CENABLE): Likewise.
33977 [IS_IN (libpthread)] (CDISABLE): Likewise.
33978 [IS_IN (libc)] (CENABLE): Likewise.
33979 [IS_IN (libc)] (CENABLE): Likewise.
33980 [IS_IN (librt)] (CDISABLE): Likewise.
33981 [IS_IN (librt)] (CDISABLE): Likewise.
33982 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33983 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33984 definition.
33985 (PSEUDO_END): Likewise.
33986 [IS_IN (libpthread)] (CENABLE): Likewise.
33987 [IS_IN (libpthread)] (CDISABLE): Likewise.
33988 [IS_IN (libc)] (CENABLE): Likewise.
33989 [IS_IN (libc)] (CENABLE): Likewise.
33990 [IS_IN (librt)] (CDISABLE): Likewise.
33991 [IS_IN (librt)] (CDISABLE): Likewise.
33992 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33993 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33994 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33995 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33996 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33997 definition.
33998 (PSEUDO_END): Likewise.
33999 [IS_IN (libpthread)] (CENABLE): Likewise.
34000 [IS_IN (libpthread)] (CDISABLE): Likewise.
34001 [IS_IN (libc)] (CENABLE): Likewise.
34002 [IS_IN (libc)] (CENABLE): Likewise.
34003 [IS_IN (librt)] (CDISABLE): Likewise.
34004 [IS_IN (librt)] (CDISABLE): Likewise.
34005 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34007 definition.
34008 (PSEUDO_END): Likewise.
34009 [IS_IN (libpthread)] (CENABLE): Likewise.
34010 [IS_IN (libpthread)] (CDISABLE): Likewise.
34011 [IS_IN (libc)] (CENABLE): Likewise.
34012 [IS_IN (libc)] (CENABLE): Likewise.
34013 [IS_IN (librt)] (CDISABLE): Likewise.
34014 [IS_IN (librt)] (CDISABLE): Likewise.
34015 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34016 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34017 definition.
34018 (PSEUDO_END): Likewise.
34019 [IS_IN (libpthread)] (CENABLE): Likewise.
34020 [IS_IN (libpthread)] (CDISABLE): Likewise.
34021 [IS_IN (libc)] (CENABLE): Likewise.
34022 [IS_IN (libc)] (CENABLE): Likewise.
34023 [IS_IN (librt)] (CDISABLE): Likewise.
34024 [IS_IN (librt)] (CDISABLE): Likewise.
34025 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34028 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34029 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34030 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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34039 * sysdeps/unix/sysv/linux/x86_64/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
8aa48656
SN
340502017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34051
34052 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34053
fcaaca41
L
340542017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34055
34056 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34057
376b40a2
L
340582017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34059
34060 [BZ #21982]
34061 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34062 middle and outer with size_t instead of int. Repleace %d and
34063 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34064 "MAX (outer, nchars - 64)" to support unsigned outer and
34065 nchars. Also exit loop when outer == 0.
34066
2b0b9a1c
AZ
340672017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34068
34069 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34070 * include/signal.h (__sigsuspend_nocancel): Likewise.
34071 * include/time.h (__nanosleep_nocancel): Likewise.
34072 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34073 * login/utmp_file.c: Include non cancellable syscall header.
34074 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34075 prototype.
34076
b9eaca8f
L
340772017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34078
34079 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34080 .byte sequences with AVX512F instructions.
34081 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34082 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34083 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34085 Likewise.
34086 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34087 Likewise.
34088
5a706f64
SE
340892017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34090 Steve Ellcey <sellcey@cavium.com>
34091
34092 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34093 Use PTR_REG macro in cmp instruction.
34094
b513da7e
GG
340952017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34096
34097 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34098 Change the return type of the ifunc resolver to match the return
34099 type of the target function.
34100
78ca091c
AZ
341012017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34102
b70b6026
AZ
34103 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34104 (preadv64): Likewise.
34105 (pwrite64(: Likewise.
34106 (pwritev64): Likewise.
34107
78ca091c
AZ
34108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34109 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34110 (LOAD_ARGS_0): Likewise.
34111 (LOAD_ARGS_1): Likewise.
34112 (LOAD_ARGS_2): Likewise.
34113 (LOAD_ARGS_3): Likewise.
34114 (LOAD_ARGS_4): Likewise.
34115 (LOAD_ARGS_5): Likewise.
34116 (LOAD_ARGS_6): Likewise.
34117 (LOAD_REGS_0): Likewise.
34118 (LOAD_REGS_1): Likewise.
34119 (LOAD_REGS_2): Likewise.
34120 (LOAD_REGS_3): Likewise.
34121 (LOAD_REGS_4): Likewise.
34122 (LOAD_REGS_5): Likewise.
34123 (LOAD_REGS_6): Likewise.
34124 (ASM_ARGS_0): Likewise.
34125 (ASM_ARGS_1): Likewise.
34126 (ASM_ARGS_2): Likewise.
34127 (ASM_ARGS_3): Likewise.
34128 (ASM_ARGS_4): Likewise.
34129 (ASM_ARGS_5): Likewise.
34130 (ASM_ARGS_6): Likewise.
34131 (LOAD_ARGS_TYPES_1): Likewise.
34132 (LOAD_ARGS_TYPES_2): Likewise.
34133 (LOAD_ARGS_TYPES_3): Likewise.
34134 (LOAD_ARGS_TYPES_4): Likewise.
34135 (LOAD_ARGS_TYPES_5): Likewise.
34136 (LOAD_ARGS_TYPES_6): Likewise.
34137 (LOAD_REGS_TYPES_1): Likewise.
34138 (LOAD_REGS_TYPES_2): Likewise.
34139 (LOAD_REGS_TYPES_3): Likewise.
34140 (LOAD_REGS_TYPES_4): Likewise.
34141 (LOAD_REGS_TYPES_5): Likewise.
34142 (LOAD_REGS_TYPES_6): Likewise.
34143 (TYPEFY): New define.
34144 (ARGIFY): Likewise.
34145 (internal_syscall0): Likewise.
34146 (internal_syscall1): Likewise.
34147 (internal_syscall2): Likewise.
34148 (internal_syscall3): Likewise.
34149 (internal_syscall4): Likewise.
34150 (internal_syscall5): Likewise.
34151 (internal_syscall6): Likewise.
34152 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34153 (INTERNAL_SYSCALL_NCS): Remove define.
34154 (internal_syscall1): Add define.
34155
453a493d
GG
341562017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34157
34158 * math/w_remainder_compat.c: Remove duplicate inclusion of
34159 math-svid-compat.h.
34160 * math/w_remainderf_compat.c: Likewise.
34161 * math/w_remainderl_compat.c: Likewise.
34162
f2f048a5
GG
341632017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34164
34165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34166
d9bef9c0
JM
341672017-08-22 Joseph Myers <joseph@codesourcery.com>
34168
34169 [BZ #21684]
34170 * math/tgmath.h (__floating_type): Simplify definitions.
34171 (__real_integer_type): New macro.
34172 (__complex_integer_type): Likewise.
34173 (__expr_is_real): Likewise.
34174 (__tgmath_real_type_sub): Update comment to describe handling of
34175 complex types.
34176 (__tgmath_complex_type_sub): New macro.
34177 (__tgmath_complex_type): Likewise.
34178 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34179 (__TGMATH_CF128): Use __expr_is_real.
34180 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34181 __expr_is_real.
34182 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34183 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34184 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34185 integer types.
34186
08d6eb46
AZ
341872017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34188
988f991b
AZ
34189 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34190 macro.
34191 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34192 alias.
34193 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34194 Likewise.
34195
6f33fd04
AZ
34196 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34197 nanosleep_not_cancel with __nanosleep_nocancel.
34198 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34199 (__nanosleep_nocancel): New macro.
34200 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34201 function.
34202 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34203 macro.
34204 (__nanosleep_nocancel): New prototype.
34205
08d6eb46
AZ
34206 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34207 pause_not_cancel with __pause_nocancel.
34208 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34209 (__pause_nocancel): New macro.
34210 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34211 macro.
34212 (__pause_nocancel): New prototype.
34213 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34214
ee4e992e
MS
342152017-08-22 Martin Sebor <msebor@redhat.com>
34216
34217 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34218 to return a pointer to the same type as the target function.
34219
20962acb
L
342202017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34221
34222 [BZ #18822]
34223 [BZ #21986]
34224 * include/printf.h (__printf_fphex): Add attribute_hidden.
34225 (__guess_grouping): New prototype.
34226 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34227 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34228 libc_hidden_proto and libc_hidden_def.
34229 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34230 (__vstrfmon_l): Remove the third argument passed to
34231 __guess_grouping.
34232
a16e8bc0
GG
342332017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34234
34235 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34236 definition for issignaling that does not rely on __MATH_TG,
34237 since __MATH_TG uses __builtin_types_compatible_p, which is only
34238 available in C mode.
34239 (CFLAGS-test-math-issignaling.cc): New variable.
34240 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34241 * math/test-math-issignaling.cc: New test for C++ implementation
34242 of type-generic issignaling.
34243 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34244 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34245 options of test-math-issignaling on powerpc64le.
34246
8d2ec553
L
342472017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34248
34249 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34250 building libc.a.
34251 (hidden_proto): Likewise.
34252 (hidden_tls_proto): Likewise.
34253 (__hidden_proto): Likewise.
34254
a4d57b79
FW
342552017-08-22 Florian Weimer <fweimer@redhat.com>
34256
34257 math: Statically link tests of internal functionality.
34258 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34259 atest-exp2.
34260 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34261 (gmp-objs): Remove assignment.
34262 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34263
75dfe623
JM
342642017-08-22 Joseph Myers <joseph@codesourcery.com>
34265
80f91666
JM
34266 [BZ #21987]
34267 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34268 and copy to ...
34269 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34270 ... here.
34271 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34272 ... and here.
34273
75dfe623
JM
34274 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34275 variable definitions above inclusion of ../Rules.
34276
ea99fcd0
JM
342772017-08-21 Joseph Myers <joseph@codesourcery.com>
34278
34279 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34280 case calling __builtin_unreachable.
34281
19926de9
AZ
342822017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34283
a8410a5f
AZ
34284 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34285 __waitpid_nocancel.
34286 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34287 (__waitpid_nocancel): New macro.
34288 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34289 macro.
34290 (__waitpid_nocancel): Replace macro with a function.
34291 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34292 function.
34293
7369800c
AZ
34294 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34295 __fcntl_nocancel.
34296 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34297 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34298
19926de9
AZ
34299 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34300 __writev_nocancel_nostatus.
34301 (write_call_graph): Likewise.
34302 (write_bb_counts): Likewise.
34303 * resolv/herror.c (herror): Likewise.
34304 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34305 macro.
34306 (__writev_nocancel_nostatus): New macro.
34307 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34308 Remove macro.
34309 (__writev_nocancel_nostatus): New function.
34310
813378e9
JM
343112017-08-21 Joseph Myers <joseph@codesourcery.com>
34312
df1deda6
JM
34313 Revert:
34314 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34315
34316 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34317 building libc.a.
34318 (hidden_proto): Likewise.
34319 (hidden_tls_proto): Likewise.
34320 (__hidden_proto): Likewise.
34321
831bbd55
JM
34322 [BZ #21973]
34323 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34324 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34326 Likewise.
34327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34328 Likewise.
34329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34330 Likewise.
34331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34332 Likewise.
34333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34335 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34336 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34337 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34338 GLIBC_2.0 sqrtl symbol.
34339
813378e9
JM
34340 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34341 [__USE_MISC] (_LIB_VERSION): Likewise.
34342 [__USE_MISC] (struct exception): Likewise.
34343 [__USE_MISC] (matherr): Likewise.
34344 [__USE_MISC] (DOMAIN): Likewise.
34345 [__USE_MISC] (SING): Likewise.
34346 [__USE_MISC] (OVERFLOW): Likewise.
34347 [__USE_MISC] (UNDERFLOW): Likewise.
34348 [__USE_MISC] (TLOSS): Likewise.
34349 [__USE_MISC] (PLOSS): Likewise.
34350 [__USE_MISC] (HUGE): Likewise.
34351 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34352 * math/math-svid-compat.h: New file.
34353 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34354 and matherrl.
34355 * include/math.h [!_ISOMAC] (__matherr): Remove.
34356 * manual/arith.texi (FP Exceptions): Do not document matherr.
34357 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34358 (tests-internal): New variable.
34359 (install-lib): Do not add libieee.a.
34360 (non-lib.a): Likewise.
34361 (extra-objs): Do not add libieee.a and ieee-math.o.
34362 (CPPFLAGS-s_lib_version.c): Remove variable.
34363 ($(objpfx)libieee.a): Remove rule.
34364 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34365 * math/ieee-math.c: Remove.
34366 * math/libm-test-support.c (matherr): Remove.
34367 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34368 and license notices. Include <math-svid-compat.h> and
34369 <shlib-compat.h>.
34370 (matherr): Undefine as macro. Use compat_symbol_reference.
34371 (_LIB_VERSION): Likewise.
34372 * math/test-matherr-2.c: New file.
34373 * math/test-matherr-3.c: Likewise.
34374 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34375 declaration.
34376 (__kernel_standard_f): Likewise.
34377 (__kernel_standard_l): Likewise.
34378 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34379 <math_private.h>. Include <math-svid-compat.h>.
34380 (_LIB_VERSION): Undefine as macro.
34381 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34382 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34383 [LIBM_SVID_COMPAT], use compat_symbol.
34384 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34385 <math_private.h>. Include <math-svid-compat.h>.
34386 (matherr): Undefine as macro.
34387 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34388 compat_symbol.
34389 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34390 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34391 compat_symbol_reference.
34392 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34393 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34394 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34395 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34396 (MATHERR_D): Remove declaration.
34397 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34398 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34399 [LIBM_BUILD] (pmatherrf): Likewise.
34400 [LIBM_BUILD] (pmatherr): Likewise.
34401 [LIBM_BUILD] (pmatherrl): Likewise.
34402 (DOMAIN): Likewise.
34403 (SING): Likewise.
34404 (OVERFLOW): Likewise.
34405 (UNDERFLOW): Likewise.
34406 (TLOSS): Likewise.
34407 (PLOSS): Likewise.
34408 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34409 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34410 compat_symbol.
34411 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34412 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34413 compat_symbol.
34414 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34415 * math/w_acos_compat.c: Likewise.
34416 * math/w_acosf_compat.c: Likewise.
34417 * math/w_acosh_compat.c: Likewise.
34418 * math/w_acoshf_compat.c: Likewise.
34419 * math/w_acoshl_compat.c: Likewise.
34420 * math/w_acosl_compat.c: Likewise.
34421 * math/w_asin_compat.c: Likewise.
34422 * math/w_asinf_compat.c: Likewise.
34423 * math/w_asinl_compat.c: Likewise.
34424 * math/w_atan2_compat.c: Likewise.
34425 * math/w_atan2f_compat.c: Likewise.
34426 * math/w_atan2l_compat.c: Likewise.
34427 * math/w_atanh_compat.c: Likewise.
34428 * math/w_atanhf_compat.c: Likewise.
34429 * math/w_atanhl_compat.c: Likewise.
34430 * math/w_cosh_compat.c: Likewise.
34431 * math/w_coshf_compat.c: Likewise.
34432 * math/w_coshl_compat.c: Likewise.
34433 * math/w_exp10_compat.c: Likewise.
34434 * math/w_exp10f_compat.c: Likewise.
34435 * math/w_exp10l_compat.c: Likewise.
34436 * math/w_exp2_compat.c: Likewise.
34437 * math/w_exp2f_compat.c: Likewise.
34438 * math/w_exp2l_compat.c: Likewise.
34439 * math/w_fmod_compat.c: Likewise.
34440 * math/w_fmodf_compat.c: Likewise.
34441 * math/w_fmodl_compat.c: Likewise.
34442 * math/w_hypot_compat.c: Likewise.
34443 * math/w_hypotf_compat.c: Likewise.
34444 * math/w_hypotl_compat.c: Likewise.
34445 * math/w_j0_compat.c: Likewise.
34446 * math/w_j0f_compat.c: Likewise.
34447 * math/w_j0l_compat.c: Likewise.
34448 * math/w_j1_compat.c: Likewise.
34449 * math/w_j1f_compat.c: Likewise.
34450 * math/w_j1l_compat.c: Likewise.
34451 * math/w_jn_compat.c: Likewise.
34452 * math/w_jnf_compat.c: Likewise.
34453 * math/w_jnl_compat.c: Likewise.
34454 * math/w_lgamma_main.c: Likewise.
34455 * math/w_lgamma_r_compat.c: Likewise.
34456 * math/w_lgammaf_main.c: Likewise.
34457 * math/w_lgammaf_r_compat.c: Likewise.
34458 * math/w_lgammal_main.c: Likewise.
34459 * math/w_lgammal_r_compat.c: Likewise.
34460 * math/w_log10_compat.c: Likewise.
34461 * math/w_log10f_compat.c: Likewise.
34462 * math/w_log10l_compat.c: Likewise.
34463 * math/w_log2_compat.c: Likewise.
34464 * math/w_log2f_compat.c: Likewise.
34465 * math/w_log2l_compat.c: Likewise.
34466 * math/w_log_compat.c: Likewise.
34467 * math/w_logf_compat.c: Likewise.
34468 * math/w_logl_compat.c: Likewise.
34469 * math/w_pow_compat.c: Likewise.
34470 * math/w_powf_compat.c: Likewise.
34471 * math/w_powl_compat.c: Likewise.
34472 * math/w_remainder_compat.c: Likewise.
34473 * math/w_remainderf_compat.c: Likewise.
34474 * math/w_remainderl_compat.c: Likewise.
34475 * math/w_scalb_compat.c: Likewise.
34476 * math/w_scalbf_compat.c: Likewise.
34477 * math/w_scalbl_compat.c: Likewise.
34478 * math/w_sinh_compat.c: Likewise.
34479 * math/w_sinhf_compat.c: Likewise.
34480 * math/w_sinhl_compat.c: Likewise.
34481 * math/w_sqrt_compat.c: Likewise.
34482 * math/w_sqrtf_compat.c: Likewise.
34483 * math/w_sqrtl_compat.c: Likewise.
34484 * math/w_tgamma_compat.c: Likewise.
34485 * math/w_tgammaf_compat.c: Likewise.
34486 * math/w_tgammal_compat.c: Likewise.
34487 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34488 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34489 * sysdeps/ieee754/k_standard.c: Likewise.
34490 * sysdeps/ieee754/k_standardf.c: Likewise.
34491 * sysdeps/ieee754/k_standardl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34494 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34496 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34499 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34500 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34502 Likewise.
34503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34504 Likewise.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34507 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34508 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34509
4504783c
FW
345102017-08-21 Florian Weimer <fweimer@redhat.com>
34511
34512 [BZ #21864]
34513 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34514 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34515 Move before inclusion of ../Rules.
34516
b5889d25
FW
345172017-08-21 Florian Weimer <fweimer@redhat.com>
34518
34519 [BZ #21972]
34520 * assert/assert.h (assert): Use static_cast (bool) for C++.
34521 Use the ternary operator in the warning branch for GNU C.
34522 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34523 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34524 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34525 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34526 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34527
41e673c1
L
345282017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34529
34530 [BZ #18822]
34531 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34532 (__syscall_clock_gettime): Add attribute_hidden.
34533 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34534 (__start_context): Likewise.
34535
568ff429
L
345362017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34537
34538 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34539 building libc.a.
34540 (hidden_proto): Likewise.
34541 (hidden_tls_proto): Likewise.
34542 (__hidden_proto): Likewise.
34543
7c41b4a1
L
345442017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34545
34546 * include/libc-symbols.h (attribute_hidden): Enable hidden
34547 visibility in libc.a compiled with PIE.
34548
483d7068
L
345492017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34550
34551 [BZ #18822]
34552 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34553 Add attribute_hidden.
34554
345552017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34556
34557 [BZ #21864]
34558 * Makerules (all-nonlib): Add $(others-extras).
34559 * catgets/Makefile (others-extras): New.
34560 * elf/Makefile (others-extras): Likewise.
34561 * nss/Makefile (others-extras): Likewise.
34562
54e4b8f2
L
345632017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34564
34565 [BZ #18822]
34566 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34567 * elf/dl-open.c: Include <libc-internal.h>.
34568 (__libc_multiple_libcs): Removed.
34569 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34570 <hp-timing.h>.
34571 * include/libc-internal.h (__libc_multiple_libcs): New.
34572 * misc/sbrk.c: Include <libc-internal.h>.
34573 (__libc_multiple_libcs): Removed.
34574
1dbbb1ec
L
345752017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34576
34577 [BZ #18822]
34578 * grp/initgroups.c (__nss_group_database): Removed.
34579 (__nss_initgroups_database): Likewise.
34580 * nscd/gai.c (__nss_hosts_database): Likewise.
34581 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34582 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34583 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34584 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34585 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34586 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34587 attribute_hidden.
34588 * nss/nsswitch.c (__nss_database_custom): Define only if
34589 USE_NSCD is defined.
34590 (__nss_configure_lookup): Use __nss_database_custom only if
34591 USE_NSCD is defined.
34592 * nss/nsswitch.h (__nss_database_custom): Declare only if
34593 USE_NSCD is defined. Add attribute_hidden.
34594 (__nss_setent): Add attribute_hidden.
34595 (__nss_endent): Likewise.
34596 (__nss_getent_r): Likewise.
34597 (__nss_getent): Likewise.
34598 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34599
2585d7b8
L
346002017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34601
34602 [BZ #18822]
34603 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34604 libc_hidden_proto and libc_hidden_def.
34605
c8dfa99c
L
346062017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34607
34608 [BZ #18822]
34609 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34610 Add libc_hidden_proto.
34611 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34612 Add libc_hidden_def.
34613
7ed87317
L
346142017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34615
34616 [BZ #21974]
34617 * gmon/Makefile (routines): Remove bb_init_func and
34618 bb_exit_func.
34619 (elide-routines.os): Removed.
9476b904
L
34620 * gmon/bb_exit_func.c: Likewise.
34621 * gmon/bb_init_func.c: Likewise.
7ed87317
L
34622 * include/sys/gmon.h (__bb): Likewise.
34623 (__bb_init_func): Likewise.
34624 (__bb_exit_func): Likewise.
91695eb1 34625 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 34626
94e6ba15
L
346272017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34628
34629 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34630 * include/setjmp.h (____longjmp_chk): Here. Add
34631 attribute_hidden.
34632
7550717e
L
346332017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34634
34635 [BZ #18822]
34636 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34637 attribute_hidden.
34638 (__strspn_sse2): Likewise.
34639
0bb2fabc
AZ
346402017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34641
c181840c
AZ
34642 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34643 (close_not_cancel_no_status): Likewise.
34644 (__close_nocancel): New macro.
34645 (__close_nocancel_nostatus): Likewise.
34646 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34647 macro.
34648 (close_not_cancel): Likewise.
34649 (close_not_cancel_no_status): Likewise.
34650 (__close_nocancel): New prototype.
34651 (__close_nocancel_nostatus): New function.
34652 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34653 * catgets/open_catalog.c (__open_catalog): Replace
34654 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34655 * gmon/gmon.c (write_gmon): Likewise.
34656 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34657 * intl/loadmsgcat.c (close): Likewise.
34658 * io/ftw.c (open_dir_stream): Likewise.
34659 (ftw_startup): Likewise.
34660 * libio/fileops.c (_IO_file_open): Likewise.
34661 (_IO_file_close_mmap): Likewise.
34662 (_IO_file_close): Likewise.
34663 * libio/iopopen.c (_IO_dup2): Likewise.
34664 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34665 * locale/loadlocale.c (_nl_load_locale): Likewise.
34666 * login/utmp_file.c (pututline_file): Likewise.
34667 (endutent_file): Likewise.
34668 * misc/daemon.c (daemon): Likewise.
34669 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34670 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34671 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34672 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34673 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34674 * nscd/nscd_helper.c (open_socket): Likewise.
34675 (__nscd_open_socket): Likewise.
34676 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34677 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34678 (__nscd_innetgr): Likewise.
34679 * nss/nss_db/db-open.c (internal_setent): Likewise.
34680 * resolv/res-close.c (__res_iclose): Likewise.
34681 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34682 * sysdeps/posix/closedir.c (__closedir): Likewise.
34683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34684 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34685 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34686 (opendir_tail): Likewise.
34687 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34688 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34689 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34690 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34691 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34692 (gethostid): Likewise.
34693 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34695 Likewise.
34696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34697 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34698 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34699 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34700 Likewise.
34701 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34702 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34703 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34704 Likewise.
34705 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34706 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34707 Likewise.
34708 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34709 Likewise.
34710 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34711 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34712 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34713 __close_nocancel.
34714
0bb2fabc
AZ
34715 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34716 (openat_not_cancel_3): Likewise.
34717 (openat64_not_cancel_3): Likewise).
34718 (openat_not_cancel_3): Likewise).
34719 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34720 macro.
34721 (openat_not_cancel_3): Likewise.
34722 (openat64_not_cancel): Likewise.
34723 (openat64_not_cancel_3): Likewise.
34724 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34725 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34726 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34727 __open{64}_nocancel.
34728 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34729 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34730 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34731
65a086db
L
347322017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34733
34734 [BZ #18822]
34735 * include/argz.h (__argz_create_sep): New function prototype.
34736 (__argz_append): Likewise.
34737 (__argz_add): Likewise.
34738 (__argz_add_sep): Likewise.
34739 (__argz_delete): Likewise.
34740 (__argz_insert): Likewise.
34741 (__argz_replace): Likewise.
34742 * string/argz.h (__argz_create_sep): Removed.
34743 (__argz_append): Likewise.
34744 (__argz_add): Likewise.
34745 (__argz_add_sep): Likewise.
34746 (__argz_delete): Likewise.
34747 (__argz_insert): Likewise.
34748 (__argz_replace): Likewise.
34749
62753d2c
L
347502017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34751
34752 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34753 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34754 (GNU_PROPERTY_STACK_SIZE): Likewie.
34755 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34756 (GNU_PROPERTY_LOPROC): Likewise.
34757 (GNU_PROPERTY_HIPROC): Likewise.
34758 (GNU_PROPERTY_LOUSER): Likewise.
34759 (GNU_PROPERTY_HIUSER): Likewise.
34760 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34761 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34762 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34763 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34764 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34765 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34766 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34767 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34768 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34769 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34770 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34771 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34772 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34773 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34774 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34775 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34776 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34777 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34778 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34779 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34780 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34781 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34782 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34783
6913ad65
GG
347842017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34785
34786 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34787 in C++ mode.
34788
47a67213
GG
347892017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34790
34791 [BZ #21930]
34792 * math/math.h (isinf): Check if in C or C++ mode before using
34793 __builtin_types_compatible_p, since this is a C mode feature.
34794
a748eb31
AZ
347952017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34796
c647fb88
AZ
34797 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34798 (__write_nocancel): New macro.
34799 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34800 Rewrite as a function prototype.
34801 (write_not_cancel): Remove macro.
34802 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34803 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34804 (write_gmon): Likewise.
34805 * libio/fileops.c (_IO_new_file_write): Likewise.
34806 * login/utmp_file.c (pututline_file): Likewise.
34807 (updwtmp_file): Likewise.
34808 * stdio-common/psiginfo.c (psiginfo): Likewise.
34809 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34810 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34811 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34812 Likewise.
34813 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34814 Likewise.
34815
a748eb31
AZ
34816 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34817 (__read_nocancel): New macro.
34818 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34819 __read_nocancel.
34820 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34821 macro.
34822 (__read_nocancel): New prototype.
34823 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34824 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34825 with __read_nocancel.
34826 * intl/loadmsgcat.c (read): Likewise.
34827 * libio/fileops.c (_IO_file_read): Likewise.
34828 * locale/loadlocale.c (_nl_load_locale): Likewise.
34829 * login/utmp_file.c (getutent_r_file): Likewise.
34830 (internal_getut_r): Likewise.
34831 (getutline_r_file): Likewise.
34832 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34833 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34834 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34836 Likewise.
34837 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34838 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34839 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34840 Likewise.
34841 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34842 Likewise.
34843 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34844 Likewise.
34845 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34846 Likewise.
34847 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34848
098b9dd4
L
348492017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34850
34851 [BZ #21966]
34852 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34853 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34854 usable.
34855
a3fe6a20
DD
348562017-08-17 DJ Delorie <dj@redhat.com>
34857
34858 * bug17079.c: Update to new test harness.
34859 * test-digits-dots.c: Likewise.
34860 * test-netdb.c: Likewise.
34861 * tst-field.c: Likewise.
34862 * tst-nss-getpwent.c: Likewise.
34863 * tst-nss-static.c: Likewise.
34864 * tst-nss-test1.c: Likewise.
34865 * tst-nss-test2.c: Likewise.
34866 * tst-nss-test3.c: Likewise.
34867 * tst-nss-test4.c: Likewise.
34868 * tst-nss-test5.c: Likewise.
34869
c2284574
AZ
348702017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34871
34872 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34873 (open_not_cancel_2): Likewise.
34874 (open_nocancel): New macro.
34875 (open64_nocancel): Likewise.
34876 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34877 (open_not_cancel_2): Likewise.
34878 (__open_nocancel): New prototype.
34879 (__open64_nocancel): Likewise.
34880 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34881 __open_nocancel.
34882 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34883 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34884 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34885 with __open_nocancel.
34886 * csu/check_fds.c (check_one_fd): Likewise.
34887 * gmon/gmon.c (write_gmon): Likewise.
34888 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34889 * intl/loadmsgcat.c (open): Likewise.
34890 * libio/fileops.c (_IO_file_open): Likewise.
34891 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34892 * locale/loadlocale.c (_nl_load_locale): Likewise.
34893 * login/utmp_file.c (setutent_file): Likewise.
34894 * misc/daemon.c (daemon): Likewise.
34895 * nss/nss_db/db-open.c (internal_setent): Likewise.
34896 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34897 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34898 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34899 (__opendir): Likewise.
34900 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34901 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34902 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34903 (gethostid): Likewise.
34904 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34906 Likewise.
34907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34908 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34909 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34910 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34911 Likewise.
34912 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34913 Likewise.
34914 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34915 Likewise.
34916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34917 Likewise.
34918 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34919 Likewise.
34920 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34921 Likewise.
34922 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34923 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34924
d4505b89
WD
349252017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34926
34927 * benchtests/bench-skeleton.c (main): Add support for
34928 latency benchmarking.
34929 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34930
34d6a3cb
L
349312017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34932
34933 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34934 the startup object.
34935
038d1caf
FW
349362017-08-17 Florian Weimer <fweimer@redhat.com>
34937
34938 * include/sys/socket.h (__opensock): Remove internal_function.
34939 * socket/opensock.c (__opensock): Likewise.
34940 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34941
67f0aff0
JM
349422017-08-16 Joseph Myers <joseph@codesourcery.com>
34943
34944 [BZ #21944]
34945 * signal/bits/types/__sigval_t.h: New file.
34946 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34947 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34948 and define sigval_t using __sigval_t.
34949 * include/bits/types/__sigval_t.h: New file.
34950 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34951 instead of <bits/types/__sigval_t.h>.
34952 (struct sigevent): Use __sigval_t instead of sigval_t.
34953 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34954 instead of <bits/types/__sigval_t.h>.
34955 (siginfo_t): Use __sigval_t instead of sigval_t.
34956 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34957 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34958 (struct sigevent): Use __sigval_t instead of sigval_t.
34959 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34960 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34961 (siginfo_t): Use __sigval_t instead of sigval_t.
34962 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34963
87e7bf4d
L
349642017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34965
34966 * NEWS: Remove "[Add new features here]" for 2.27.
34967
5047057f
JM
349682017-08-16 Joseph Myers <joseph@codesourcery.com>
34969
34970 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34971 libc.so.
34972
20c7b195
L
349732017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34974
34975 * NEWS: Mention x86-64 FMA optimization.
34976
24a2e658
L
349772017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34978
34979 [BZ #21912]
34980 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34981 Add e_expf-fma.
34982 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34983 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34984 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34985
eedca977
AS
349862017-08-16 Andreas Schwab <schwab@suse.de>
34987
403143e1
FW
34988 [BZ #16750]
34989 CVE-2009-5064
eedca977
AS
34990 * elf/ldd.bash.in: Never run file directly.
34991
f59f7adb
L
349922017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34993
34994 [BZ #21955]
34995 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34996 (L(SP_INF_0)): Likewise.
34997
6b11a6ad
FW
349982017-08-15 Florian Weimer <fweimer@redhat.com>
34999
35000 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35001 run-built-tests.
35002
bbf5c438
FW
350032017-08-15 Florian Weimer <fweimer@redhat.com>
35004
35005 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35006 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35007 BROKEN_THREAD_SIGNALS code.
35008 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35009 request_list): Remove caller_pid member used for
35010 BROKEN_THREAD_SIGNALS.
35011 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35012 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35013 Remove BROKEN_THREAD_SIGNALS support.
35014 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35015 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35016
6014c65d
FW
350172017-08-15 Florian Weimer <fweimer@redhat.com>
35018
35019 * gmon/Makefile (tests): Add tst-gmon.
35020 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35021 Set.
35022 (tests-special): Add tst-gmon-prof.out.
35023 (tst-gmon.out): Depend on clean-tst-gmon-data.
35024 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35025 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35026 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35027 startup object.
35028 * aclocal.m4 (GPROF): Set and substitute.
35029 * config.amke.in (GPROF): Set.
35030 * configure: Regenerate.
35031
ee72219a
GR
350322017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35033
35034 * elf/elf.h A (NT_PPC_TAR): New macro.
35035 (NT_PPC_PPR): Likewise.
35036 (NT_PPC_DSCR): Likewise.
35037 (NT_PPC_EBB): Likewise.
35038 (NT_PPC_PMU): Likewise.
35039 (NT_PPC_TM_CGPR): Likewise.
35040 (NT_PPC_TM_CFPR): Likewise.
35041 (NT_PPC_TM_CVMX): Likewise.
35042 (NT_PPC_TM_CVSX): Likewise.
35043 (NT_PPC_TM_SPR): Likewise.
35044 (NT_PPC_TM_CTAR): Likewise.
35045 (NT_PPC_TM_CPPR): Likewise.
35046 (NT_PPC_TM_CDSCR): Likewise.
35047
4ebf934e
FW
350482017-08-15 Florian Weimer <fweimer@redhat.com>
35049
35050 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35051 regparm (2) instead of internal_function.
35052 (_MCOUNT_DECL): Adjust.
35053
e9f57484
SL
350542017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35055
35056 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35057 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35058
88ff4d55
JM
350592017-08-14 Joseph Myers <joseph@codesourcery.com>
35060
35061 * conform/data/sys/wait.h-data (si_value): Do not expect for
35062 XPG42.
35063
c88ffc23
FW
350642017-08-14 Florian Weimer <fweimer@redhat.com>
35065
35066 [BZ #21962]
35067 NSS: Create stubs for accidentally exported lookup functions.
35068 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35069 Remove declaration.
35070 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35071 (ether_hostton): Call __nss_ethers_lookup2 instead.
35072 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35073 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35074 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35075 (setup): Call __nss_netgroup_lookup2 instead.
35076 * nss/Makefile (routines): Add compat-lookup.
35077 * nss/Versions (GLIBC_2.27): Add symbol version.
35078 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35079 (DB_COMPAT_FCT): Remove.
35080 * nss/compat-lookup.c: New file.
35081 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35082 from databases.def.
35083 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35084 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35085 (netname2user): Call __nss_publickey_lookup2 instead.
35086 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35087 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35088 instead.
35089
35a29136 350902017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
35091 Sergei Trofimovich <slyfox@inbox.ru>
35092
35093 [BZ #21908]
35094 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35095 Rename to MMAP2_PAGE_UNIT.
35096 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35097 __OFF_T_MATCHES_OFF64_T is not defined.
35098 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35099 uint64_t.
35100 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35101 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35102
fbdc1e3e
FW
351032017-08-14 Florian Weimer <fweimer@redhat.com>
35104
35105 i386: Do not set internal_function.
35106 * config.h.in (USE_REGPARMS, internal_function): Remove.
35107 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35108 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35109
b3f85fd2
FW
351102017-08-14 Florian Weimer <fweimer@redhat.com>
35111
35112 * elf/dl-init.c (_dl_init): Remove internal_function.
35113 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35114 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35115
630bf491
FW
351162017-08-14 Florian Weimer <fweimer@redhat.com>
35117
35118 * elf/rtld.c (_dl_start): Remove internal_function.
35119 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35120 _dl_start.
35121
9fa7449b
FW
351222017-08-14 Florian Weimer <fweimer@redhat.com>
35123
35124 * elf/dl-fini.c (_dl_fini): Remove internal_function
35125 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35126
73322d5f
L
351272017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35128
d863cd71 35129 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
35130 (bit_cpu_SHSTK): Likewise.
35131 (index_cpu_IBT): Likewise.
35132 (index_cpu_SHSTK): Likewise.
35133 (reg_IBT): Likewise.
35134 (reg_SHSTK): Likewise.
35135 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35136 Handle index_cpu_IBT and index_cpu_SHSTK.
35137
dbc303ef
MF
351382017-08-14 Mike FABIAN <mfabian@redhat.com>
35139
35140 [BZ #19982]
35141 * po/fr.po: Fix spelling mistake.
35142
3012cfb0
FW
351432017-08-13 Florian Weimer <fweimer@redhat.com>
35144
35145 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35146 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35147 (_dl_catch_error, _dl_receive_error): Likewise.
35148 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35149 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35150 (_dl_deallocate_tls): Likewise.
35151 * include/dlfcn.h (_dl_addr): Likewise.
35152 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35153 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35154 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35155 Likewise.
35156
52bcdf26
FW
351572017-08-13 Florian Weimer <fweimer@redhat.com>
35158
35159 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35160 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35161 internal_function.
35162 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35163
e1d2ae8d
FW
351642017-08-13 Florian Weimer <fweimer@redhat.com>
35165
35166 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35167 internal_function.
35168 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35169 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35170 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35171 internal_function from _dl_make_stack_executable_hook member.
35172 (_dl_make_stack_executable): Remove internal_function.
35173 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35174 Likewise.
35175 * sysdeps/unix/sysv/linux/dl-execstack.c
35176 (_dl_make_stack_executable): Likewise.
35177
c4ce0382
FW
351782017-08-13 Florian Weimer <fweimer@redhat.com>
35179
35180 * sysdeps/unix/sysv/linux/netlinkaccess.h
35181 (__netlink_assert_response): Remove internal_function.
35182 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35183 (__netlink_assert_response): Likewise.
35184
c4d767f7
FW
351852017-08-13 Florian Weimer <fweimer@redhat.com>
35186
35187 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35188 internal_function.
35189 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35190
b2297409
FW
351912017-08-13 Florian Weimer <fweimer@redhat.com>
35192
35193 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35194 internal_function.
35195 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35196 * inet/netgroup.h (__internal_setnetgrent)
35197 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35198 * inet/getnetgrent_r.c (__internal_setnetgrent)
35199 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35200 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35201 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35202 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35203 * nss/nsswitch.h (db_lookup_function): Likewise.
35204
1b0bfc69
FW
352052017-08-13 Florian Weimer <fweimer@redhat.com>
35206
35207 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35208 Remove internal_function.
35209 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35210 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35211 message argument on the stack.
35212 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35213 Likeweise.
35214
a6bd8722
MF
352152017-08-12 Mike FABIAN <mfabian@redhat.com>
35216
35217 Adapt test case data to the changes in the thousands
35218 separators.
35219
35220 [BZ #20756]
35221 * localedata/tst-langinfo.sh: Adapt test case data.
35222 * stdlib/tst-strfmon_l.c: Likewise.
35223 * stdlib/tst-strtod4.c: Likewise.
35224 * stdlib/tst-strtod5i.c: Likewise.
35225
8b2c63e4
FW
352262017-08-11 Florian Weimer <fweimer@redhat.com>
35227
35228 [BZ #21242]
35229 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35230 Suppress pedantic warning resulting from statement expression.
35231 (__ASSERT_FUNCTION): Add missing __extension__.
35232
61c98291
SP
352332017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35234
86c6519e
SP
35235 * benchtests/bench-memmove-large.c: Print output in JSON
35236 format.
35237 * benchtests/bench-memmove.c: Likewise.
35238
61c98291
SP
35239 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35240 * benchtests/bench-memchr.c (do_one_test): Likewise.
35241 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35242 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35243 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35244 * benchtests/bench-memmove.c (do_one_test): Likewise.
35245 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35246 * benchtests/bench-memset.c (do_one_test): Likewise.
35247 * benchtests/bench-string.h (test_init): Remove memsets.
35248
925733a9
RJ
352492017-08-10 Rical Jasan <ricaljasan@pacific.net>
35250
35251 * manual/lang.texi
35252 (Computing the Width of an Integer Data Type): Rename section to
35253 "Width of an Integer Type". Remove inaccurate statement regarding
35254 lack of C language facilities for determining width of integer
35255 types, and reorder content to improve flow and context of
35256 discussion.
35257
4fcdfbfc
RJ
352582017-08-10 Rical Jasan <ricaljasan@pacific.net>
35259
35260 * lang.texi (va_copy): Change standard from ISO to C99.
35261 (__va_copy): Add standard and header annotation.
35262 Update description for clarity of origins and current use.
35263
4d98ace9
GG
352642017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35265
35266 [BZ #21941]
35267 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35268 xssqrtqp requires operands to be in Vector Registers
35269 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35270 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35271 (__ieee754_sqrtf128): Likewise.
35272
92236903
WD
352732017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35274
35275 * sysdeps/aarch64/memcmp.S (memcmp):
35276 Rewrite of optimized memcmp.
35277
2449ae7b
FW
352782017-08-10 Florian Weimer <fweimer@redhat.com>
35279
35280 Introduce ld.so exceptions.
35281 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35282 (_dl_exception_create, _dl_exception_create_format)
35283 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35284 (_dl_catch_exception): Declare.
35285 (_dl_catch_error): Update comment.
35286 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35287 errstring, malloced members with exception member.
35288 (_dl_out_of_memory): Remove.
35289 (fatal_error): New function, extracted from _dl_signal_error.
35290 (_dl_signal_exception, _dl_signal_cexception): New functions.
35291 (_dl_signal_error): Call _dl_exception_create to allocate an
35292 exception object.
35293 (_dl_catch_exception): New function, based on _dl_catch_error.
35294 (_dl_catch_error): Implement using _dl_catch_exception.
35295 * elf/dl-exception.c: New file.
35296 * elf/Makefile (dl-routines): Add dl-exception.
35297 (elide-routines.os): Likewise.
35298 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35299 _dl_exception_create_format, _dl_exception_free.
35300 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35301 _dl_signal_exception.
35302 * elf/dl-lookup.c (make_string): Remove.
35303 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35304 _dl_signal_cexception, _dl_exception_free.
35305 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35306 _dl_signal_exception.
35307 * elf/dl-sym.c (do_sym): Likewise.
35308 * elf/dl-version.c (make_string): Remove.
35309 (match_symbol): Use _dl_exception_create_format,
35310 _dl_signal_cexception, _dl_exception_free.
35311 (_dl_check_map_versions): Likewise.
35312 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35313 _dl_catch_exception.
35314 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35315 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35316 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35317 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35318 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35319 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35320 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35321 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35322 Likewise.
35323 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35325 (ld.so): Likewise.
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35327 (ld.so): Likewise.
35328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35329 Likewise.
35330 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35331 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35332 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35333 Likewise.
35334 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35335 Likewise.
35336 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35337
f87cc2bf
FW
353382017-08-10 Florian Weimer <fweimer@redhat.com>
35339
35340 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35341 attribute_hidden, internal_function.
35342 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35343 internal_function.
35344
eac43cbb
FW
353452017-08-10 Florian Weimer <fweimer@redhat.com>
35346
35347 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35348 function which calls __builtin_unreachable.
35349
bd80111e
MF
353502017-08-10 Mike FABIAN <mfabian@redhat.com>
35351
35352 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35353 Indian monetary formatting
35354 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35355 test cases.
35356
60e2846e
DL
353572017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35358
68dc02d1
DL
35359 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35360 Fix typo in comment.
35361
60e2846e
DL
35362 [BZ #21928]
35363 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35364 PTRACE_SEIZE_DEVEL): Remove.
35365 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35366 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35370
3d452dab
JM
353712017-08-09 Joseph Myers <joseph@codesourcery.com>
35372
24d9f53a
JM
35373 * posix/bits/types.h (__qaddr_t): Remove.
35374
3d452dab
JM
35375 [BZ #21457]
35376 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35377 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35378 __glibc_reserved1.
35379 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35380 (ucontext_t): Use __ctx with uc_flags.
35381 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35382 (__ctxt): Likewise.
35383 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35384 __glibc_reserved1.
35385 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35386 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35387 __glibc_reserved1.
35388 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35389 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35390 __glibc_reserved1.
35391 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35392 macro.
35393 (ucontext_t): Use __ctx with uc_flags.
35394 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35395 (ucontext_t): Use __ctx with uc_flags.
35396 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35397 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35398 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35399 (ucontext_t): Use __ctx with uc_flags.
35400 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35401 undefine further down.
35402 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35403 __glibc_reserved1.
35404 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35405 undefine further down.
35406 (ucontext_t): Use __ctx with uc_flags.
35407 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35408 undefine further down.
35409 (ucontext_t): Use __ctx with uc_flags.
35410 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35411 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35412 Rename uc_pad to __glibc_reserved1.
35413 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35414 undefine further down.
35415 (ucontext_t): Use __ctx with uc_flags.
35416 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35417 further down.
35418 (ucontext_t): Use __ctx with uc_flags.
35419 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35420 __ctx with uc_flags.
35421 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35422 (ucontext_t): Use __ctx with uc_flags.
35423 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35424 __ctx with uc_flags.
35425
30161498
FW
354262017-08-09 Florian Weimer <fweimer@redhat.com>
35427
35428 [BZ #21932]
35429 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35430 before early return.
35431
5797b410
AS
354322017-08-09 Andreas Schwab <schwab@suse.de>
35433
139237a4 35434 [BZ #21041]
5797b410
AS
35435 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35436 renamed alias.
35437
139237a4 35438 [BZ #21041]
40c06a3d
AS
35439 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35440 tst-compat-forwarder.
35441 (modules-names): Add tst-compat-forwarder-mod.
35442 ($(objpfx)tst-compat-forwarder): Depend on
35443 $(objpfx)tst-compat-forwarder-mod.so.
35444 * nptl/tst-compat-forwarder.c: New file.
35445 * nptl/tst-compat-forwarder-mod.c: New file.
35446
36ada5f6
SP
354472017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35448
0e02b510
SP
35449 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35450 comments.
35451
36ada5f6
SP
35452 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35453 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35454 memcpy_falkor.
35455 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35456 Bump.
35457 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35458 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35459 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35460 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35461 Add falkor.
35462 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35463 New macro.
35464
9995c839
AZ
354652017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35466
35467 [BZ #759]
35468 * manual/setjmp.texi (getcontex): Document uc_stack value
35469 compatibility differences.
35470
f17a4233
JM
354712017-08-08 Joseph Myers <joseph@codesourcery.com>
35472
35473 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35474 (old_malloc_hook): Likewise.
35475 (old_memalign_hook): Likewise.
35476 (old_realloc_hook): Likewise.
35477 (struct hdr): Likewise.
35478 (flood): Likewise.
35479 (freehook): Likewise.
35480 (mallochook): Likewise.
35481 (memalignhook): Likewise.
35482 (reallochook): Likewise.
35483 (mprobe): Likewise.
35484 * malloc/mtrace.c (mallwatch): Likewise.
35485 (tr_old_free_hook): Likewise.
35486 (tr_old_malloc_hook): Likewise.
35487 (tr_old_realloc_hook): Likewise.
35488 (tr_old_memalign_hook): Likewise.
35489 (tr_where): Likewise.
35490 (lock_and_info): Likewise.
35491 (tr_freehook): Likewise.
35492 (tr_mallochook): Likewise.
35493 (tr_reallochook): Likewise.
35494 (tr_memalignhook): Likewise.
35495 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35496 * misc/mmap.c (__mmap): Likewise.
35497 * misc/mmap64.c (__mmap64): Likewise.
35498 * misc/mprotect.c (__mprotect): Likewise.
35499 * misc/msync.c (msync): Likewise.
35500 * misc/munmap.c (__munmap): Likewise.
35501 * posix/posix_madvise.c (posix_madvise): Likewise.
35502 * socket/send.c (__send): Likewise.
35503 * socket/sendto.c (__sendto): Likewise.
35504 * socket/setsockopt.c (__setsockopt): Likewise.
35505 * string/memcmp.c (__ptr_t): Remove macro.
35506 (MEMCMP): Use void * instead of ptr_t.
35507 * string/memrchr.c (__ptr_t): Remove macro.
35508 (__memrchr): Use void * instead of ptr_t.
35509 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35510 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35511 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35512 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35513 * sysdeps/mach/msync.c (msync): Likewise.
35514 * sysdeps/mach/munmap.c (__munmap): Likewise.
35515 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35516 Likewise.
35517 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35518 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35519 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35520 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35521 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35522 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35523 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35524 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35525 Likewise.
35526 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35527 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35528 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35529 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35530 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35531 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35532 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35533 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35534 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35535 Likewise.
35536 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35537 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35538 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35539 (MEMCMP): Use void * instead of ptr_t.
35540 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35541 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35542
0df595b2
FW
355432017-08-08 Florian Weimer <fweimer@redhat.com>
35544
35545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35546 return statement.
35547
086df229
L
355482017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35549
35550 [BZ #21913]
35551 * csu/libc-tls.c: Include <startup.h> first.
35552 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35553 * elf/dl-tunables.c: Include <startup.h> first.
35554 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35555 * sysdeps/generic/startup.h: New file.
35556 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35557 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35558 (I386_USE_SYSENTER): New. Defined to 0.
35559
fc5ad702
AS
355602017-08-08 Andreas Schwab <schwab@suse.de>
35561
35562 [BZ #21041]
35563 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35564 * nptl/pt-system.c (system): Likewise.
35565
852d6312
AZ
355662017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35567
35568 [BZ #21780]
35569 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35570 EOPNOTSUPP.
35571 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35572 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35573 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35574 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35575 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35576 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35577 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35578
8b164787
JM
355792017-08-07 Joseph Myers <joseph@codesourcery.com>
35580
cd65836b
JM
35581 [BZ #21899]
35582 * bits/sigaction.h (struct sigaction): Define sa_handler and
35583 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35584 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35585 [__USE_XOPEN_EXTENDED].
35586 (SA_RESTART): Likewise.
35587 (SA_NODEFER): Likewise.
35588 (SA_RESETHAND): Likewise.
35589 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35590 (struct sigaction): Define sa_handler and sa_sigaction using union
35591 also for [__USE_XOPEN_EXTENDED].
35592 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35593 [__USE_XOPEN_EXTENDED].
35594 (SA_RESTART): Likewise.
35595 (SA_NODEFER): Likewise.
35596 (SA_RESETHAND): Likewise.
35597 * sysdeps/unix/sysv/linux/bits/sigaction.h
35598 (struct sigaction): Define sa_handler and sa_sigaction using union
35599 also for [__USE_XOPEN_EXTENDED].
35600 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35601 [__USE_XOPEN_EXTENDED].
35602 (SA_RESTART): Likewise.
35603 (SA_NODEFER): Likewise.
35604 (SA_RESETHAND): Likewise.
35605 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35606 (struct sigaction): Define sa_handler and sa_sigaction using union
35607 also for [__USE_XOPEN_EXTENDED].
35608 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35609 [__USE_XOPEN_EXTENDED].
35610 (SA_RESTART): Likewise.
35611 (SA_NODEFER): Likewise.
35612 (SA_RESETHAND): Likewise.
35613 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35614 (struct sigaction): Define sa_handler and sa_sigaction using union
35615 also for [__USE_XOPEN_EXTENDED].
35616 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35617 [__USE_XOPEN_EXTENDED].
35618 (SA_RESTART): Likewise.
35619 (SA_NODEFER): Likewise.
35620 (SA_RESETHAND): Likewise.
35621 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35622 (struct sigaction): Define sa_handler and sa_sigaction using union
35623 also for [__USE_XOPEN_EXTENDED].
35624 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35625 [__USE_XOPEN_EXTENDED].
35626 (SA_RESTART): Likewise.
35627 (SA_NODEFER): Likewise.
35628 (SA_RESETHAND): Likewise.
35629 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35630 (struct sigaction): Define sa_handler and sa_sigaction using union
35631 also for [__USE_XOPEN_EXTENDED].
35632 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35633 [__USE_XOPEN_EXTENDED].
35634 (SA_RESTART): Likewise.
35635 (SA_NODEFER): Likewise.
35636 (SA_RESETHAND): Likewise.
35637 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35638 (struct sigaction): Define sa_handler and sa_sigaction using union
35639 also for [__USE_XOPEN_EXTENDED].
35640 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35641 [__USE_XOPEN_EXTENDED].
35642 (SA_RESTART): Likewise.
35643 (SA_NODEFER): Likewise. Define directly rather than as alias.
35644 (SA_RESETHAND): Likewise.
35645 (SA_INTERRUPT): Define only for [__USE_MISC].
35646 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35647 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35648 [__USE_MISC].
35649 (SA_STACK): Define only for [__USE_MISC].
35650 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35651 (struct sigaction): Define sa_handler and sa_sigaction using union
35652 also for [__USE_XOPEN_EXTENDED].
35653 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35654 [__USE_XOPEN_EXTENDED].
35655 (SA_RESTART): Likewise.
35656 (SA_NODEFER): Likewise.
35657 (SA_RESETHAND): Likewise.
35658 (SA_NOPTRACE): Define only for [__USE_MISC].
35659
d9fee042
JM
35660 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35661 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35662 (struct catalog_info): Likewise.
35663 * inet/htontest.c (lo): Likewise.
35664 (foo): Likewise.
35665 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35666 * inet/inet_net.c (inet_network): Likewise.
35667 * inet/inet_netof.c (inet_netof): Likewise.
35668 * inet/rcmd.c (__ivaliduser): Likewise.
35669 (iruserok): Likewise.
35670 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35671 * locale/programs/locale-spec.c (locale_special): Likewise.
35672 * nis/nis_findserv.c (struct findserv_req): Likewise.
35673 (__nis_findfastest_with_timeout): Likewise.
35674 * nss/test-netdb.c (test_network): Likewise.
35675 * resolv/inet_neta.c (inet_neta): Likewise.
35676 * resolv/ns_date.c (ns_datetosecs): Likewise.
35677 (SECS_PER_DAY): Likewise.
35678 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35679 Likewise.
35680 * resolv/res_comp.c (__putlong): Likewise.
35681 (__putshort): Likewise.
35682 (_getlong): Likewise.
35683 (_getshort): Likewise.
35684 * resolv/res_debug.c (p_time): Likewise.
35685 (precsize_ntoa): Likewise.
35686 (precsize_aton): Likewise.
35687 (latlon2ul): Likewise.
35688 (loc_aton): Likewise.
35689 (loc_ntoa): Likewise.
35690 * resolv/res_hconf.c (struct netaddr): Likewise.
35691 (_res_hconf_reorder_addrs): Likewise.
35692 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35693 (clnttcp_control): Likewise.
35694 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35695 (clntudp_control): Likewise.
35696 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35697 (clntunix_control): Likewise.
35698 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35699 * sunrpc/rpc/auth.h (union des_block): Likewise.
35700 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35701 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35702 (xdrrec_create): Likewise.
35703 (xdrrec_endofrecord): Likewise.
35704 (flush_out): Likewise.
35705 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35706 (xdrstdio_putlong): Likewise.
35707 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35708 Likewise.
35709
8b164787
JM
35710 * misc/sys/cdefs.h (__long_double_t): Remove.
35711 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35712 instead of __long_double_t,
35713 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35714
7ee38e60
SP
357152017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35716
dd3e86ad
SP
35717 * benchtests/scripts/compare_strings.py: Avoid display error when
35718 running on a text terminal.
35719
b115e819
SP
35720 * benchtests/scripts/compare_strings.py (main): Add an
35721 optional -base option.
35722 (process_results): New argument base_func.
35723
7ee38e60
SP
35724 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35725 hardcoding memcpy.
35726 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35727 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35728
d5afb385
AS
357292017-08-07 Andreas Schwab <schwab@suse.de>
35730
35731 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35732 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35733 * intl/Makefile ($(objpfx)tst-gettext.out)
35734 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35735 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35736 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35737 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35738 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35739 * posix/Makefile ($(objpfx)globtest.out)
35740 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35741 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35742 ($(objpfx)tst-printf.out): Likewise.
35743 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35744 ($(objpfx)tst-setcontext3.out): Likewise.
35745
57a72fa3
L
357462017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35747
35748 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35749 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35750 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35751 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35752 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35753 and mptan-fma.
35754 (CFLAGS-doasin-fma.c): New.
35755 (CFLAGS-dosincos-fma.c): Likewise.
35756 (CFLAGS-e_asin-fma.c): Likewise.
35757 (CFLAGS-e_atan2-fma.c): Likewise.
35758 (CFLAGS-e_exp-fma.c): Likewise.
35759 (CFLAGS-e_log-fma.c): Likewise.
35760 (CFLAGS-e_pow-fma.c): Likewise.
35761 (CFLAGS-halfulp-fma.c): Likewise.
35762 (CFLAGS-mpa-fma.c): Likewise.
35763 (CFLAGS-mpatan-fma.c): Likewise.
35764 (CFLAGS-mpatan2-fma.c): Likewise.
35765 (CFLAGS-mpexp-fma.c): Likewise.
35766 (CFLAGS-mplog-fma.c): Likewise.
35767 (CFLAGS-mpsqrt-fma.c): Likewise.
35768 (CFLAGS-mptan-fma.c): Likewise.
35769 (CFLAGS-s_atan-fma.c): Likewise.
35770 (CFLAGS-sincos32-fma.c): Likewise.
35771 (CFLAGS-slowexp-fma.c): Likewise.
35772 (CFLAGS-slowpow-fma.c): Likewise.
35773 (CFLAGS-s_sin-fma.c): Likewise.
35774 (CFLAGS-s_tan-fma.c): Likewise.
35775 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35776 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35777 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35778 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35779 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35780 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35781 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35782 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35783 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35784 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35785 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35786 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35787 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35788 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35789 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35790 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35791 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35792 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35793 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35794 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35795 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35796 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35797 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35798 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35799 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35800 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35801 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35802 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35803 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35804 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35805 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35806
219dd320
JM
358072017-08-04 Joseph Myers <joseph@codesourcery.com>
35808
35809 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35810 (min_of_type_f): New macro.
35811 (min_of_type_): Likewise.
35812 (min_of_type_l): Likewise.
35813 (min_of_type_f128): Likewise.
35814 (min_of_type): Define using __MATH_TG and taking an expression
35815 argument.
35816 (math_check_force_underflow): Pass expression instead of type to
35817 min_of_type.
35818 (math_check_force_underflow_nonneg): Likewise.
35819
64d4dea6
L
358202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35821
35822 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35823 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35824 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35825
973da22a
L
358262017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35827
35828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35829 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35830 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35831 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35832 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35833 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35834 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35835 memmove_chk-nonshared and memset_chk-nonshared
35836 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35837 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35838 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35840 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35841 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35842 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35843 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35844 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35845 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35846 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35847 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35849 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35850 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35851 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35853 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35855 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35857 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35859 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35861 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35863 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35864 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35865 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35866 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35867 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35868 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35869 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35870 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35871 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35872 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35873 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35874 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35875 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35876 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35877 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35878 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35879 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35880 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35881 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35882 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35883 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35884 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35885 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35886 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35887 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35888 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35889 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35890 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35891 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35892 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35893 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35894 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35895 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35896 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35898 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35900 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35901 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35902 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35903 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35904 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35905 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35906 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35907 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35932 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35933 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35938 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35944
8537e0f6
L
359452017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35946
35947 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35948 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35949 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35950 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35951 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35952 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35953 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35954 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35955 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35956 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35957 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35958 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35959 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35960 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35961 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35962 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35963 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35964 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35965 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35966 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35967 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35968 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35969 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35970 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35971 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35972 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35973 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35974 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35975 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35976 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35977 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35978 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35979 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35980 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35981 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35983 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35984 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35986 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35987 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35988 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35989 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35990 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35991 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35992 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35993 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35994 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35995 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35996 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35997 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35998 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35999 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36000 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36001 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36002 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36003 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36004 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36005 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36006 ...
36007 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36008 Don't include <sysdep.h> nor <init-arch.h>.
36009 (_ZGVbN2v_cos): Removed.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36011 ...
36012 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36013 Don't include <sysdep.h> nor <init-arch.h>.
36014 (_ZGVdN4v_cos): Removed.
36015 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36016 ...
36017 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36018 Don't include <sysdep.h> nor <init-arch.h>.
36019 (_ZGVeN8v_cos): Removed.
36020 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36021 ...
36022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36023 Don't include <sysdep.h> nor <init-arch.h>.
36024 (_ZGVbN2v_exp): Removed.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36026 ...
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36028 Don't include <sysdep.h> nor <init-arch.h>.
36029 (_ZGVdN4v_exp): Removed.
36030 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36031 ...
36032 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36033 Don't include <sysdep.h> nor <init-arch.h>.
36034 (_ZGVeN8v_exp): Removed.
36035 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36036 ...
36037 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36038 Don't include <sysdep.h> nor <init-arch.h>.
36039 (_ZGVbN2v_log): Removed.
36040 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36041 ...
36042 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36043 Don't include <sysdep.h> nor <init-arch.h>.
36044 (_ZGVdN4v_log): Removed.
36045 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36046 ...
36047 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36048 Don't include <sysdep.h> nor <init-arch.h>.
36049 (_ZGVeN8v_log): Removed.
36050 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36051 ...
36052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36053 Don't include <sysdep.h> nor <init-arch.h>.
36054 (_ZGVbN2vv_pow): Removed.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36056 ...
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36058 Don't include <sysdep.h> nor <init-arch.h>.
36059 (_ZGVdN4vv_pow): Removed.
36060 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36061 ...
36062 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36063 Don't include <sysdep.h> nor <init-arch.h>.
36064 (_ZGVeN8vv_pow): Removed.
36065 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36066 ...
36067 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36068 Don't include <sysdep.h> nor <init-arch.h>.
36069 (_ZGVbN2v_sin): Removed.
36070 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36071 ...
36072 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36073 Don't include <sysdep.h> nor <init-arch.h>.
36074 (_ZGVbN4v_sin): Removed.
36075 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36076 ...
36077 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36078 Don't include <sysdep.h> nor <init-arch.h>.
36079 (_ZGVbN8v_sin): Removed.
36080 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36081 ...
36082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36083 Don't include <sysdep.h> nor <init-arch.h>.
36084 (_ZGVbN2vvv_sincos): Removed.
36085 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36086 ...
36087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36088 Don't include <sysdep.h> nor <init-arch.h>.
36089 (_ZGVdN4vvv_sincos): Removed.
36090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36091 ...
36092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36093 Don't include <sysdep.h> nor <init-arch.h>.
36094 (_ZGVeN8vvv_sincos): Removed.
36095 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36096 ...
36097 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36098 Don't include <sysdep.h> nor <init-arch.h>.
36099 (_ZGVeN16v_cosf): Removed.
36100 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36101 ...
36102 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36103 Don't include <sysdep.h> nor <init-arch.h>.
36104 (_ZGVbN4v_cosf): Removed.
36105 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36106 ...
36107 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36108 Don't include <sysdep.h> nor <init-arch.h>.
36109 (_ZGVdN8v_cosf): Removed.
36110 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36111 ...
36112 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36113 Don't include <sysdep.h> nor <init-arch.h>.
36114 (_ZGVeN16v_expf): Removed.
36115 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36116 ...
36117 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36118 Don't include <sysdep.h> nor <init-arch.h>.
36119 (_ZGVbN4v_expf): Removed.
36120 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36121 ...
36122 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36123 Don't include <sysdep.h> nor <init-arch.h>.
36124 (_ZGVdN8v_expf): Removed.
36125 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36126 ...
36127 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36128 Don't include <sysdep.h> nor <init-arch.h>.
36129 (_ZGVeN16v_logf): Removed.
36130 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36131 ...
36132 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36133 Don't include <sysdep.h> nor <init-arch.h>.
36134 (_ZGVbN4v_logf): Removed.
36135 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36136 ...
36137 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36138 Don't include <sysdep.h> nor <init-arch.h>.
36139 (_ZGVdN8v_logf): Removed.
36140 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36141 ...
36142 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36143 Don't include <sysdep.h> nor <init-arch.h>.
36144 (_ZGVeN16vv_powf): Removed.
36145 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36146 ...
36147 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36148 Don't include <sysdep.h> nor <init-arch.h>.
36149 (_ZGVbN4vv_powf): Removed.
36150 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36151 ...
36152 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36153 Don't include <sysdep.h> nor <init-arch.h>.
36154 (_ZGVdN8vv_powf): Removed.
36155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36156 ...
36157 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36158 Don't include <sysdep.h> nor <init-arch.h>.
36159 (_ZGVeN16vvv_sincosf): Removed.
36160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36161 ...
36162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36163 Don't include <sysdep.h> nor <init-arch.h>.
36164 (_ZGVbN4vvv_sincosf): Removed.
36165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36166 ...
36167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36168 Don't include <sysdep.h> nor <init-arch.h>.
36169 (_ZGVdN8vvv_sincosf): Removed.
36170 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36171 ...
36172 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36173 Don't include <sysdep.h> nor <init-arch.h>.
36174 (_ZGVeN16v_sinf): Removed.
36175 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36176 ...
36177 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36178 Don't include <sysdep.h> nor <init-arch.h>.
36179 (_ZGVbN4v_sinf): Removed.
36180 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36181 ...
36182 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36183 Don't include <sysdep.h> nor <init-arch.h>.
36184 (_ZGVdN8v_sinf): Removed.
36185
10a87ca4
L
361862017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36187
36188 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36189 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36190 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36191 s_rint-sse4_1 and s_rintf-sse4_1.
36192 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36193 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36194 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36195 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36196 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36199 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36200 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36201 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36202 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36203 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36204 (__ceil): Removed.
36205 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36206 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36207 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36208 (__ceilf): Removed.
36209 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36210 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36211 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36212 (__floor): Removed.
36213 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36214 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36215 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36216 (__floorf): Removed.
36217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36218 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36219 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36220 (__nearbyint): Removed.
36221 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36222 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36223 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36224 (__nearbyintf): Removed.
36225 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36226 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36227 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36228 (__rint): Removed.
36229 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36230 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36231 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36232 (__rintf): Removed.
36233
1e8e527d
L
362342017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36235
36236 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36237 SHARED. Avoid dynamic relocation against main in static PIE.
36238
e13daad7
L
362392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36240
36241 [BZ #21815]
36242 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36243 (LDFLAGS-tst-prelink): Likewise.
36244
627c69c8
L
362452017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36246
36247 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36248 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36249 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36250 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36251 (INTERNAL_SYSCALL_NCS): Likewise.
36252 (LOADARGS_1): Likewise.
36253 (LOADARGS_5): Likewise.
36254 (RESTOREARGS_1): Likewise.
36255 (RESTOREARGS_5): Likewise.
36256
fc11ff8d
L
362572017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36258
36259 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36260 (MEMPCPY_SYMBOL): Likewise.
36261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36262 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36264 in libc.a.
36265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36266 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36267 Likewise.
36268 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36269 (__hidden_ver1): Don't use in libc.a.
36270 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36271 (__mempcpy): Don't create a weak alias in libc.a.
36272 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36273 libc.a.
36274 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36275 (__hidden_ver1): Don't use in libc.a.
36276
19f1a11e
L
362772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36278
36279 * config.make.in (have-insert): New.
36280 * configure.ac (libc_cv_insert): New. Set to yes if linker
36281 supports INSERT in linker script.
36282 (AC_SUBST(libc_cv_insert): New.
36283 * configure: Regenerated.
36284 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36285 if $(have-insert) == yes.
36286
3093fd5e
L
362872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36288
36289 * elf/Makefile (tests): Add vismain only if
36290 $(have-protected-data) == yes.
36291 (tests-pie): Likewise.
36292
d2cf37c0
L
362932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36294
36295 [BZ #21871]
36296 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36297 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36298
c8a0e6ec
L
362992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36300
36301 [BZ #21790]
36302 * sysdeps/i386/i586/memset.S
36303 (__memset_zero_constant_len_parameter): Removed.
36304 * sysdeps/i386/i686/memset.S
36305 (__memset_zero_constant_len_parameter): Likewise.
36306 * sysdeps/i386/i686/multiarch/memset_chk.S
36307 (__memset_zero_constant_len_parameter): Likewise.
36308 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36309 Likewise.
36310
2b34e271
AJ
363112017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36312
36313 * stdlib/getentropy.c (getentropy): Change return type to int.
36314
144bdab0
AJ
363152017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36316
36317 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36318
24ab7723
JM
363192017-08-03 Joseph Myers <joseph@codesourcery.com>
36320
36321 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36322 u_intN_t.
36323 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36324 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36325 Likewise.
36326 (ieee_float_shape_type): Likewise.
36327 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36328 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36329 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36330 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36331 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36332 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36333 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36334 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36335 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36336 Likewise.
36337 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36338 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36339 (__ieee754_yn): Likewise.
36340 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36341 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36342 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36343 Likewise.
36344 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36345 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36346 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36347 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36348 (__erfc): Likewise.
36349 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36350 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36351 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36352 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36353 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36354 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36355 Likewise.
36356 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36357 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36358 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36359 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36360 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36361 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36362 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36363 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36364 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36365 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36366 (__issignaling): Likewise.
36367 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36368 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36369 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36370 Likewise.
36371 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36372 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36373 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36374 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36375 Likewise.
36376 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36377 Likewise.
36378 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36379 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36380 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36381 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36382 (__erfcf): Likewise.
36383 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36384 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36385 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36386 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36387 Likewise.
36388 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36389 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36390 Likewise.
36391 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36392 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36393 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36394 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36395 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36396 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36397 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36398 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36399 Likewise.
36400 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36401 Likewise.
36402 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36403 Likewise.
36404 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36405 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36406 Likewise.
36407 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36408 Likewise.
36409 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36410 (__ieee754_ynl): Likewise.
36411 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36412 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36413 Likewise.
36414 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36415 Likewise.
36416 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36417 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36418 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36419 Likewise.
36420 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36421 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36422 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36423 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36424 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36425 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36426 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36428 Likewise.
36429 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36430 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36431 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36432 Likewise.
36433 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36434 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36435 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36436 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36437 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36439 Likewise.
36440 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36441 Likewise.
36442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36443 Likewise.
36444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36445 Likewise.
36446 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36447 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36448 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36449 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36450 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36451 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36453 Likewise.
36454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36455 Likewise.
36456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36458 Likewise.
36459 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36460 (__ieee754_remainderl): Likewise.
36461 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36463 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36464 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36465 Likewise.
36466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36467 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36468 Likewise.
36469 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36470 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36471 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36472 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36473 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36474 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36475 Likewise.
36476 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36477 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36478 (__ieee754_y0l): Likewise.
36479 (pzero): Likewise.
36480 (qzero): Likewise.
36481 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36482 (__ieee754_y1l): Likewise.
36483 (pone): Likewise.
36484 (qone): Likewise.
36485 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36486 (__ieee754_ynl): Likewise.
36487 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36488 (__ieee754_lgammal_r): Likewise.
36489 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36490 Likewise.
36491 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36492 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36493 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36494 (__erfcl): Likewise.
36495 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36496 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36497 Likewise.
36498 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36499 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36500 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36501 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36502 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36503 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36504 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36505 Likewise.
36506 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36507 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36508 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36509 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36510 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36511 Likewise.
36512 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36513 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36514 Likewise.
36515 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36516 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36517 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36518 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36519 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36520
964263bb
FW
365212017-08-03 Florian Weimer <fweimer@redhat.com>
36522
36523 [BZ #21885]
36524 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36525 on memory allocation failure.
36526
e98c925f
AM
365272017-08-03 Alan Modra <amodra@gmail.com>
36528
36529 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36530 tst-tlsopt-powerpc.c with function name change and no test harness.
36531 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36532 Call tls_get_addr_opt_test.
36533 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36534 (modules-names): Add mod-tlsopt-powerpc.
36535 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36536 (tst-tlsopt-powerpc): Depend on .so.
36537 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36538 define. Expand use in TLS_GD and TLS_LD.
36539
8ee1abdb
ST
365402017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36541
36542 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36543 function.
3da5756e 36544 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 36545
42df8d59
JM
365462017-08-02 Joseph Myers <joseph@codesourcery.com>
36547
36548 [BZ #21686]
36549 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36550 comparing size with that of double.
36551 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36552 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36553 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36554 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36555 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36556 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36557 unsigned __int128 types.
36558
b7f95f49
SE
365592017-08-02 Steve Ellcey <sellcey@cavium.com>
36560
36561 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36562 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36563 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36564 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36565 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36566
5b736bc9
L
365672017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36568
36569 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36570
dfc93c41
L
365712017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36572
36573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36574 of SHARED.
36575 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36576 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36578 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36579 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36580 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36581 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36582
2fee621d
JM
365832017-08-02 Joseph Myers <joseph@codesourcery.com>
36584
36585 [BZ #21685]
36586 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36587 bit-field expressions passed to sizeof or typeof.
36588 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36589 (__TGMATH_F128): Likewise.
36590 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36591 (__TGMATH_CF128): Likewise.
36592 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36593 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36594 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36595 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36596 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36597 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36598 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36599 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36600 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36601 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36602 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36603 (__TGMATH_UNARY_IMAG): Likewise.
36604 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36605 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36606 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36607 type.
36608 (define_vars_for_type): Handle bit_field type specially.
36609 (Tests.__init__): Declare structure with bit-field element.
36610
b358255f
L
366112017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36612
36613 [BZ #21791]
36614 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36615 (MEMCPY_CHK): Define only if SHARED is defined.
36616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36617 Likewise.
36618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36619 Likewise.
edf66db1
SP
36620
36621See ChangeLog.18 for earlier changes.