]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Regenerate po/libc.pot for 2.30 release.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3556658c
CD
12019-07-18 Carlos O'Donell <carlos@redhat.com>
2
3 * po/libc.pot: Regenerate.
4
4a8f6d31
MC
52019-07-18 Mike Crowe <mac@mcrowe.com>
6
2ab9ad57
AZ
7 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
8 functions recently added to sysdeps/nptl/pthread.h:
9 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
10 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
11
4a8f6d31
MC
12 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
13 pthread_cond_clockwait forwarding functions. There are no internal
14 users, so it is unnecessary to expose these functions in libc.so.
15 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
16 unnecessary ptr___pthread_cond_clockwait member.
17 * nptl/nptl-init.c (pthread_functions): Remove assignment of
18 removed member.
19
9208c3b8
RL
202019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
21
22 [BZ #21897]
23 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
24 begin with an uppercase letter now.
25 (abmon): Likewise.
26 (mon): Update from CLDR, reword February from "Kudo" to
27 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
28 and August from "Liiqen" to "Leqeeni".
29 * localedata/locales/aa_ER (mon): Update from CLDR, reword
30 April from "Agda Baxisso" to "Agda Baxis" and August from
31 "Leqeeni" to "Liiqen".
32 * localedata/locales/aa_ER@saaho (mon): Likewise.
33 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
34 abbreviated February from "Kud" to "Nah".
35 (mon): Update from CLDR, reword February from "Kudo" to
36 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
37
fba6d4bb
RL
382019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
39
40 [BZ #23996]
41 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
42
3cc7c9c5
P
432019-07-17 PanderMusubi <pander@users.sourceforge.net>
44
45 [BZ #23996]
46 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
47 name_mrs, name_miss, and name_ms.
48 * localedata/locales/nl_NL (LC_NAME): Likewise.
49
cce7b6a5
DZ
502019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
51
52 [BZ #24200]
53 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
54 * localedata/locales/en_IE (first_weekday): Likewise.
55
99d01ffc
MC
562019-07-12 Mike Crowe <mac@mcrowe.com>
57
1ff1373b
MC
58 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
59 that is only useful if futex_supports_exact_relative_timeouts ()
60 returns false.
61 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
62 Likewise.
63 * sysdeps/nptl/futex-internal.h: Remove comment about relative
64 timeouts potentially being imprecise since it's no longer true.
65 Remove declaration of futex_supports_exact_relative_timeouts.
66 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
67 of futex_supports_exact_relative_timeouts.
68
65dd7e9c
MC
69 * NEWS: Mention recently-added pthread_cond_clockwait,
70 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
71 sem_clockwait functions.
72
9d20e22e
MC
73 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
74 works like pthread_mutex_timedlock but takes a clockid parameter to
75 measure the abstime parameter against.
76 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
77 * nptl/DESIGN-systemtap-probes.txt: Likewise.
78 * nptl/pthread_mutex_timedlock.c
79 (__pthread_mutex_clocklock_common): Rename from
80 __pthread_mutex_timedlock and add clockid parameter. Pass this
81 parameter to lll_clocklock and lll_clocklock_elision in place of
82 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
83 LIBC_PROBE and validate clockid parameter before calling
84 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
85 implementation to add LIBC_PROBE and calls
86 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
87 clockid.
88 * nptl/Makefile: Add tst-mutex11.c.
89 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
90 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
91 clockid parameters to pthread_mutex_clocklock.
92 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
93 clockid parameter to indicate which clock to be used. Call
94 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
95 (do_test): Call do_test_clock to separately test
96 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
97 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
98 * nptl/tst-mutex9.c: Likewise.
99 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
100 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
101 Likewise.
102 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
103 Likewise.
104 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
105 Likewise.
106 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
107 Likewise.
108 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
109 Likewise.
110 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
111 Likewise.
112 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
113 Likewise.
114 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
115 (GLIBC_2.30): Likewise.
116 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
117 (GLIBC_2.30): Likewise.
118 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
119 (GLIBC_2.30): Likewise.
120 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
121 (GLIBC_2.30): Likewise.
122 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
123 (GLIBC_2.30): Likewise.
124 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
125 Likewise.
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
127 (GLIBC_2.30): Likewise.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
129 (GLIBC_2.30): Likewise.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
131 (GLIBC_2.30): Likewise.
132 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
133 (GLIBC_2.30): Likewise.
134 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
135 (GLIBC_2.30): Likewise.
136 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
137 (GLIBC_2.30): Likewise.
138 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
139 Likewise.
140 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
141 (GLIBC_2.30): Likewise.
142 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
143 (GLIBC_2.30): Likewise.
144 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
145 (GLIBC_2.30): Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
147 (GLIBC_2.30): Likewise.
148
59213094
MC
149 nptl: Rename lll_timedlock to lll_clocklock and add clockid
150 parameter to indicate the clock that the abstime parameter should
151 be measured against in preparation for adding
152 pthread_mutex_clocklock.
153 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
154 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
155 from __lll_timedlock and add clockid parameter.
156 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
157 Likewise.
158 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
159 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
160 rather than __gettimeofday so that clockid can be used. This means
161 that conversion from struct timeval is no longer required.
162 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
163 Likewise.
164 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
165 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
166 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
167 from lll_timedlock_elision, add clockid parameter and use
168 meaningful names for other parameters. (__pthread_mutex_timedlock):
169 Pass CLOCK_REALTIME where necessary to lll_clocklock and
170 lll_clocklock_elision.
171 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
172 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
173 clockid parameter. (__lll_clocklock_elision): Rename from
174 __lll_timedlock_elision and add clockid parameter.
175 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
176 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
177 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
178 (__lll_lock_elision): Call __lll_clocklock_elision rather than
179 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
180 (LLL_LOCK): Likewise.
181 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
182 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
183
e996fa72
MC
184 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
185 pthread_rwlock_clockwrlock which behave like
186 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
187 respectively, except they always measure abstime against the
188 supplied clockid. The functions currently support CLOCK_REALTIME
189 and CLOCK_MONOTONIC and return EINVAL if any other clock is
190 specified.
191 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
192 pthread_wrlock_clockwrlock.
193 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
194 pthread_rwlock_clockwrlock.c.
195 * nptl/pthread_rwlock_clockrdlock.c: Implement
196 pthread_rwlock_clockrdlock.
197 * nptl/pthread_rwlock_clockwrlock.c: Implement
198 pthread_rwlock_clockwrlock.
199 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
200 clockid parameter and verify that it indicates a supported clock on
201 entry so that we fail even if it doesn't end up being used. Pass
202 that clock on to futex_abstimed_wait when necessary.
203 (__pthread_rwlock_wrlock_full): Likewise.
204 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
205 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
206 be used because there's no timeout.
207 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
208 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
209 be used because there is no timeout.
210 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
211 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
212 uses that clock.
213 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
214 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
215 uses that clock.
216 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
217 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
218 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
219 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
220 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
221 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
222 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
223 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
224 (GLIBC_2.30): Likewise.
225 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
226 (GLIBC_2.30): Likewise.
227 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
228 (GLIBC_2.30): Likewise.
229 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
230 (GLIBC_2.30): Likewise.
231 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
232 (GLIBC_2.30): Likewise.
233 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
235 (GLIBC_2.30): Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
237 (GLIBC_2.30): Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
239 (GLIBC_2.30): Likewise.
240 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
241 (GLIBC_2.30): Likewise.
242 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
243 (GLIBC_2.30): Likewise.
244 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
245 (GLIBC_2.30): Likewise.
246 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
247 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
248 (GLIBC_2.30): Likewise.
249 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
250 (GLIBC_2.30): Likewise.
251 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
252 (GLIBC_2.30): Likewise.
253 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
254 (GLIBC_2.30): Likewise.
255 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
256 pthread_rwlock_clockwrlock timeout tests to match the existing
257 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
258 * nptl/tst-rwlock14.c (do_test): Likewise.
259 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
260 ancillary output throughout. (tf): Accept thread_args structure so
261 that rwlock, a clockid and function name can be passed to the
262 thread. (do_test_clock): Rename from do_test. Accept clockid
263 parameter to specify test clock. Use the magic clockid value of
264 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
265 pthread_rwlock_timedwrlock should be tested, otherwise pass the
266 specified clockid to pthread_rwlock_clockrdlock and
267 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
268 (do_test): Call do_test_clock to test each clockid in turn.
269 * nptl/tst-rwlock7.c: Likewise.
270 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
271 thread_args structure so that the (now int) thread number, the
272 clockid and the function name can be passed to the thread.
273 (do_test_clock): Renamed from do_test. Pass the necessary
274 thread_args when creating the reader and writer threads. Use
275 xpthread_create and xpthread_join.
276 (do_test): Call do_test_clock to test each clockid in turn.
277 * manual/threads.texi: Add documentation for
278 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
279
600b4be4
MC
280 nptl: pthread_rwlock: Move timeout validation into _full functions
281 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
282 Check validity of abstime parameter.
283 (__pthread_rwlock_rwlock_full): Likewise.
284 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
285 Remove check for validity of abstime parameter.
286 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
287 Likewise.
288
afe4de7d
MC
289 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
290 like pthread_cond_timedwait except it always measures abstime
291 against the supplied clockid.
292 * nptl/Makefile: Add tst-cond26 and tst-cond27
293 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
294 * sysdeps/nptl/pthread.h: Likewise
295 * nptl/forward.c: Add __pthread_cond_clockwait
296 * nptl/forward.c: Likewise
297 * nptl/pthreadP.h: Likewise
298 * sysdeps/nptl/pthread-functions.h: Likewise
299 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
300 clockid parameter and comment describing why we don't need to check
301 its value. Use that value when calling
302 futex_abstimed_wait_cancelable rather than reading the clock from
303 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
304 (__pthread_cond_timedwait): Read clock from flags and pass it to
305 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
306 function with weak alias from pthread_cond_clockwait.
307 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
308 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
310 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
312 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
313 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
314 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
315 (GLIBC_2.30): Likewise.
316 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
317 (GLIBC_2.30): Likewise.
318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
319 (GLIBC_2.30): Likewise.
320 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
321 (GLIBC_2.30): Likewise.
322 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
323 (GLIBC_2.30): Likewise.
324 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
326 (GLIBC_2.30): Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
328 (GLIBC_2.30): Likewise.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
330 (GLIBC_2.30): Likewise.
331 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
332 (GLIBC_2.30): Likewise.
333 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
334 (GLIBC_2.30): Likewise.
335 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
336 (GLIBC_2.30): Likewise.
337 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
339 (GLIBC_2.30): Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
341 (GLIBC_2.30): Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
343 (GLIBC_2.30): Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
345 (GLIBC_2.30): Likewise.
346 * nptl/tst-cond11.c (run_test): Support testing
347 pthread_cond_clockwait too by using a special magic
348 CLOCK_USE_ATTR_CLOCK value to determine whether to call
349 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
350 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
351 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
352 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
353 clocks to pthread_cond_clockwait.
354 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
355 struct timespec and pthread_cond_clockwait.
356 * manual/threads.texi: Document pthread_cond_clockwait.
357
6615f779
MC
358 nptl: Add POSIX-proposed sem_clockwait which behaves just like
359 sem_timedwait, but measures abstime against the specified clock.
360 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
361 clockid parameters to indicate the clock which abstime should be
362 measured against.
363 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
364 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
365 __new_sem_wait_slow.
366 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
367 on sem_timedwait.c.
368 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
369 sem_clockwait.c to match those used for sem_timedwait.c.
370 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
371 * nptl/Versions (GLIBC_2.30): Likewise.
372 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
373 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
374 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
375 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
376 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
377 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
378 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
379 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
380 (GLIBC_2.30): Likewise.
381 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
382 (GLIBC_2.30): Likewise.
383 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
384 (GLIBC_2.30): Likewise.
385 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
386 (GLIBC_2.30): Likewise.
387 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
388 (GLIBC_2.30): Likewise.
389 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
391 (GLIBC_2.30): Likewise.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
393 (GLIBC_2.30): Likewise.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
395 (GLIBC_2.30): Likewise.
396 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
397 (GLIBC_2.30): Likewise.
398 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
399 (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
401 (GLIBC_2.30): Likewise.
402 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
403 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
404 (GLIBC_2.30): Likewise.
405 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
406 (GLIBC_2.30): Likewise.
407 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
408 (GLIBC_2.30): Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
410 (GLIBC_2.30): Likewise.
411 * nptl/tst-sem17.c: Add new test for passing invalid clock to
412 sem_clockwait.
413 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
414 tests to also test sem_clockwait.
415 * manual/threads.texi: Document sem_clockwait.
416
99d01ffc
MC
417 nptl: Add clockid parameter to futex timed wait calls
418 * sysdeps/nptl/lowlevellock-futex.h,
419 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
420 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
421 takes a clockid rather than a special clockbit.
422 * sysdeps/nptl/lowlevellock-futex.h: Add
423 lll_futex_supported_clockid so that client functions can check
424 whether their clockid parameter is valid even if they don't
425 ultimately end up calling lll_futex_clock_wait_bitset.
426 * sysdeps/nptl/futex-internal.h,
427 sysdeps/unix/sysv/linux/futex-internal.h
428 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
429 clockid_t parameter to indicate which clock the absolute time
430 passed should be measured against. Pass that clockid onto
431 lll_futex_clock_wait_bitset. Add invalid clock as reason for
432 returning -EINVAL.
433 * sysdeps/nptl/futex-internal.h,
434 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
435 futex_abstimed_supported_clockid so that client functions can check
436 whether their clockid parameter is valid even if they don't
437 ultimately end up calling futex_abstimed_wait.
438 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
439 code to calculate relative timeout for
440 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
441 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
442 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
443 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
444 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
445 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
446 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
447
a008c76b
AZ
4482019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
449
450 [BZ #24699]
451 * posix/tst-mmap-offset.c: Mention BZ #24699.
452 (do_test_bz21270): Rename to do_test_large_offset and use
453 mmap64_maximum_offset to check for maximum expected offset value.
454 * sysdeps/generic/mmap_info.h: New file.
455 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
456 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
457 __NR_mmap2 is used.
458
99135114
DD
4592019-07-10 DJ Delorie <dj@redhat.com>
460 Sergei Trofimovich <slyfox@inbox.ru>
461
462 [BZ #24696]
463 [BZ #24695]
464 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
465 mappings.
466 * nss/tst-nss-db-endgrent.c: New.
467 * nss/tst-nss-db-endgrent.root: New.
468 * nss/tst-nss-db-endpwent.c: New.
469 * nss/tst-nss-db-endpwent.root: New.
470 * nss/Makefile: Add new tests.
471 * support/links-dso-program-c.c: Add selinux dependency.
472 * support/links-dso-program.cc: Add selinux dependency.
473 * support/Makefile: Build those with -lselinux if enabled.
474
30ba0375
SN
4752019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
476
477 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
478 DT_AARCH64_VARIANT_PCS check.
479 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
480 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
481 variant_pcs.
482
32b8188a
AS
4832019-07-10 Andreas Schwab <schwab@suse.de>
484
485 [BZ #23352]
486 * malloc/malloc.h (__malloc_check_init): Don't declare.
487 * include/malloc.h (__malloc_check_init): Likewise.
488 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
489 * manual/memory.texi (__malloc_check_init): Don't mention it.
490
7901d4ee
MH
4912019-07-10 Mao Han <han_mao@c-sky.com>
492
493 * locale/Makefile: Fix tst-locale-locpath arguments passing.
494
b5232c9f 4952019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 496
b5232c9f
PC
497 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
498 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
499
6ba205b2
DD
5002019-07-08 DJ Delorie <dj@redhat.com>
501
502 [BZ #23501]
503 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
504 * io/tst-ftw-lnk.c: New test.
505 * io/Makefile: Run it.
506
f215dbbd
AZ
5072019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
508
6ea21bfe
AZ
509 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
510 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
511 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
512 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
513 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
514 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
516 Adjust implementation path.
517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
518 Adjust implementation path.
519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
520 Adjust implementation path.
521 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
522 (libm-sysdep_routines): Add s_log* objects.
523 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
524 CFLAGS-s_logb-power7.c): New fule.
525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
526 to ...
527 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
528 ... here.
529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
530 to ...
531 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
532 ... here.
533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
534 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
536 to ...
537 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
538 ... here.
539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
540 to ...
541 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
542 ... here.
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
544 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
546 to ...
547 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
548 ... here.
549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
550 to ...
551 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
552 ... here.
553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
554 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
556 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
557 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
558 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
559
105f2ed3
AZ
560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
561 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
562 powerpc32 integer 0 converting to -0.
563
0cccd37f
AZ
564 * benchtests/Makefile (bench-math): Add logb.
565 * benchtests/logb-inputs: New file.
566 * benchtests/logbf-inputs: New file.
567
931c616e
AZ
568 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
569 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
570 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
571 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
573 Adjust include.
574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
575 Likewise.
576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
577 sysdep_routines): Add s_modf* objects.
578 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
579 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
581 to ...
582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
583 ... here.
584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
585 to ...
586 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
587 ... here.
588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
589 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
591 to ...
592 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
593 ... here.
594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
596 ... here.
597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
598 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
599
69461d98
AZ
600 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
601 twoM500, twoM600, two60factor, pdnum): Remove.
602 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
603 (__ieee754_hypot): Replace static variables with inline definition,
604 remove ununsed branches.
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
606 (libm-sysdep_routines): Remove e_hypot-* objects.
607 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
608 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
609 file.
610 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
611 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
612 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
613 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
614 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
615
f215dbbd
AZ
616 * benchtests/Makefile (bench-math): Add hypot.
617 * benchtests/hypot-inputs: New file.
618
97274b18
VC
6192019-07-08 Vincent Chen <vincentc@andestech.com>
620
621 * sysdeps/unix/sysv/linux/dl-vdso.h
622 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
623
484b7af3
AS
6242019-07-04 Andreas Schwab <schwab@suse.de>
625
626 [BZ #24484]
627 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
628
2b8a3c86
SN
6292019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
630
631 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
632 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
633 * sysdeps/aarch64/sys/ifunc.h: New file.
634 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
635 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
636
41d6f74e
FW
6372019-07-01 Florian Weimer <fweimer@redhat.com>
638
639 [BZ #20188]
640 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
641 Replace __vfork with __libpthread_version_placeholder for
642 GLIBC_2.1.2.
643 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
644 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
645 libpthread-compat.
646 * nptl/pt-vfork.c: Remove file.
647 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
648 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
649 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
650 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
651 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
652 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
653 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
654 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
655 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
656 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
657 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
658 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
659 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
660 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
661 Remove vfork, __vfork.
662 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
663 Remove vfork.
664 (GLIBC_2.1.2): Replace __vfork with
665 __libpthread_version_placeholder.
666 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
667 Remove vfork, __vfork.
668 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
669 Likewise.
670 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
671 Remove vfork.
672 (GLIBC_2.1.2): Replace __vfork with
673 __libpthread_version_placeholder.
674 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
675 Remove vfork.
676 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
677 (GLIBC_2.4): Remove vfork, __vfork.
678 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
679 (GLIBC_2.0): Remove vfork.
680 (GLIBC_2.1.2): Replace __vfork with
681 __libpthread_version_placeholder.
682 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
683 (GLIBC_2.18): Remove vfork, __vfork.
684 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
685 (GLIBC_2.0): Remove vfork.
686 (GLIBC_2.2): Remove __vfork.
687 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
688 (GLIBC_2.2): Remove vfork, __vfork.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
690 (GLIBC_2.0): Remove vfork.
691 (GLIBC_2.1.2): Replace __vfork with
692 __libpthread_version_placeholder.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
694 (GLIBC_2.3): Remove vfork, __vfork.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
696 (GLIBC_2.17): Likewise.
697 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
698 (GLIBC_2.0): Remove vfork.
699 (GLIBC_2.1.2): Replace __vfork with
700 __libpthread_version_placeholder.
701 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
702 (GLIBC_2.2): Remove vfork, __vfork.
703 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
704 Likewise.
705 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
706 (GLIBC_2.0): Remove vfork.
707 (GLIBC_2.1.2): Replace __vfork with
708 __libpthread_version_placeholder.
709 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
710 (GLIBC_2.2): Remove vfork, __vfork.
711 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
712 (GLIBC_2.2.5): Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
714 (GLIBC_2.16): Likewise.
715 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
716 Remove __errno_location.
717
27cec9ae
FW
7182019-07-02 Florian Weimer <fweimer@redhat.com>
719
720 [BZ #24757]
721 * malloc/Depend: Add nptl and htl, due to potential indirect
722 libpthread dependency of memusagestat.
723
d1bc2cbb
SL
7242019-07-02 Stefan Liebler <stli@linux.ibm.com>
725
726 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
727 warning.
728
72edea80
FW
7292019-07-01 Florian Weimer <fweimer@redhat.com>
730
731 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
732 variant for arm-linux-gnueabi.
733
d0093c5c
L
7342019-07-01 H.J. Lu <hongjiu.lu@intel.com>
735
736 [BZ #24259]
737 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
738 relocation.
739 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
740 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
741 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
742 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
743 and tst-cet-legacy-mod-6c.
744 (CFLAGS-tst-cet-legacy-5a.c): New.
745 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
746 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
747 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
748 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
749 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
750 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
751 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
752 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
753 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
754 ($(objpfx)tst-cet-legacy-5a): Likewise.
755 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
756 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
757 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
758 ($(objpfx)tst-cet-legacy-5b): Likewise.
759 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
760 (tst-cet-legacy-5b-ENV): Likewise.
761 ($(objpfx)tst-cet-legacy-6a): Likewise.
762 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
763 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
764 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
765 ($(objpfx)tst-cet-legacy-6b): Likewise.
766 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
767 (tst-cet-legacy-6b-ENV): Likewise.
768 * sysdeps/x86/tst-cet-legacy-5.c: New file.
769 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
770 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
771 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
772 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
773 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
774 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
775 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
776 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
777 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
778 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
779 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
780 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
781 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
782
3db85a98
PC
7832019-06-30 Paul A. Clarke <pc@us.ibm.com>
784
785 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
786 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
787 (__fegetround_ISA300) New.
788 (__fegetround_ISA2) New.
789 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
790 (_FPU_MFFS): Move implementation...
791 (_FPU_GETCW): Here.
792 (_FPU_MFFSL): Move implementation....
793 (_FPU_GET_RC_ISA300): Here. New.
794 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
795 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
796 (fegetenv_status): New.
797 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
798 instead of fegetenv_register().
799 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
800
d0645912
WD
8012019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
802
803 * benchtests/bench-math-inlines.c: Increase iterations.
804 * benchtests/bench-memcmp.c: Likewise.
805 * benchtests/bench-rawmemchr.c: Likewise.
806 * benchtests/bench-strcmp.c: Likewise.
807 * benchtests/bench-strcpy_chk.c: Likewise.
808 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
809 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
810 (INNER_LOOP_ITERS_SMALL): Likewise.
811 * benchtests/bench-strncat.c: Increase iterations.
812 * benchtests/bench-strncmp.c: Increase iterations.
813 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
814 * benchtests/bench-strrchr.c: Increase iterations.
815 * benchtests/bench-strstr.c: Keep iterations unchanged.
816 * benchtests/bench-strtod.c: Increase iterations.
817
afe23eb0
AY
8182019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
819
820 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
821 with INNER_LOOP_ITERS_LARGE.
822 * benchtests/bench-memchr.c: Likewise.
823 * benchtests/bench-rawmemchr.c: Likewise.
824 * benchtests/bench-strcat.c: Likewise.
825 * benchtests/bench-strchr.c: Likewise.
826 * benchtests/bench-string.h: Likewise.
827 * benchtests/bench-strlen.c: Likewise.
828 * benchtests/bench-strncpy.c: Likewise.
829 * benchtests/bench-strnlen.c: Likewise.
830
507f55c0
FW
8312019-06-28 Florian Weimer <fweimer@redhat.com>
832
833 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
834 Use mmap instead of malloc. malloc with M_PERTURB writes to the
835 entire allocated memory range.
836
589787f8
TK
8372019-06-28 Tobias Klauser <tklauser@distanz.ch>
838
839 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
840 (prepare_version_base): New helper inline function.
841 (prepare_version): New macro replacing PREPARE_VERSION.
842 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
843
f0b2132b
FW
8442019-06-28 Florian Weimer <fweimer@redhat.com>
845
846 [BZ #24741]
847 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
848 mismatch in a versioned symbol reference.
849 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
850 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
851 tst-sonamemove-dlopen.
852 (module-names): Add tst-sonamemove-linkmod1,
853 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
854 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
855 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
856 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
857 (tst-sonamemove-runmod1.so): Link against
858 tst-sonamemove-runmod2.so.
859 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
860 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
861 tst-sonamemove-runmod2.so.
862 (tst-sonamemove-dlopen): Link with -ldl.
863 (tst-sonamemove-dlopen.out): Likewise.
864 * elf/tst-sonamemove-link.c: New file.
865 * elf/tst-sonamemove-dlopen.c: Likewise.
866 * elf/tst-sonamemove-linkmod1.c: Likewise.
867 * elf/tst-sonamemove-linkmod1.map: Likewise.
868 * elf/tst-sonamemove-runmod1.c: Likewise.
869 * elf/tst-sonamemove-runmod1.map: Likewise.
870 * elf/tst-sonamemove-runmod2.c: Likewise.
871 * elf/tst-sonamemove-runmod2.map: Likewise.
872
17432d71
FW
8732019-06-28 Florian Weimer <fweimer@redhat.com>
874
875 * support/xdlfcn.h (xdlvsym): Declare function.
876 * support/xdlfcn.c (xdlvsym): Define funciton.
877
5a659ccc
FW
8782019-06-28 Florian Weimer <fweimer@redhat.com>
879
880 [BZ #24744]
881 io: Remove the copy_file_range emulation.
882 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
883 not define and call copy_file_range_compat.
884 * io/Makefile (tests-static, tests-internal): Do not add
885 tst-copy_file_range-compat.
886 * io/copy_file_range-compat.c: Remove file.
887 * io/copy_file_range.c (copy_file_range): Define as stub.
888 * io/tst-copy_file_range-compat.c: Remove file.
889 * io/tst-copy_file_range.c (xdevfile): Remove variable.
890 (typical_sizes): Update comment. Remove 16K sizes.
891 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
892 Remove variables.
893 (find_maximum_offset, pipe_as_source, pipe_as_destination)
894 (delayed_write_failure_beginning, delayed_write_failure_end)
895 (cross_device_failure, enospc_failure_1, enospc_failure)
896 (oappend_failure): Remove functions.
897 (tests): Adjust test case list.
898 (do_test): Remove file system search code. Check for ENOSYS from
899 copy_file_range. Do not free xdevfile.
900 * manual/llio.texi (Copying File Data): Document ENOSYS error from
901 copy_file_range. Do not document the EXDEV error, which future
902 kernels may not report. Update the wording to reflect that
903 further errors are possible.
904 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
905 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
906 not undefine.
907 * sysdeps/unix/sysv/linux/arm/kernel-features.h
908 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
909 Likewise.
910 * sysdeps/unix/sysv/linux/kernel-features.h
911 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
912 Remove definition.
913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
914 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
915 not undefine.
916 * sysdeps/unix/sysv/linux/sh/kernel-features.h
917 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
918 Likewise.
919
1626f499
GG
9202019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
921
922 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
923 used as a mask for the mode argument of __vfprintf_internal.
924 * stdio-common/printf-parse.h (printf_arg): New union member:
925 pa_float128.
926 * stdio-common/vfprintf-internal.c
927 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
928 (PARSE_FLOAT_VA_ARG): Likewise.
929 (SETUP_FLOAT128_INFO): Likewise.
930 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
931 SETUP_FLOAT128_INFO.
932 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
933 floating-point value to the new union member, pa_float128.
934 (printf_positional): Zero-initialize args_value[cnt] with memset.
935
a620bd79
FW
9362019-06-27 Florian Weimer <fweimer@redhat.com>
937
938 [BZ #24740]
939 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
940 buffer size if necessary.
941 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
942 Likewise.
943 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
944 New function.
945 (large_buffer_checks): Likewise.
946 (do_test): Call large_buffer_checks.
947
d039da1c
L
9482019-06-26 H.J. Lu <hongjiu.lu@intel.com>
949
950 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
951 * sysdeps/x86/dl-lookupcfg.h: Here.
952 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
953
9d5d214e
AZ
9542019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
955
aa32f5bf
AZ
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
957 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
958 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
959 file.
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
963 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
964 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
965
9d5d214e
AZ
966 * sysdeps/powerpc/powerpc32/fpu/Makefile
967 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
968 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
969 and fctidz optimization.
970 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
971 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
973 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
974 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
975 CFLAGS-s_lround-power5+.c): New rule.
976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
977 New file.
978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
979 Likewise.
980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
981 Likewise.
982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
983 Likewise.
984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
985 Likewise.
986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
987 Remove file.
988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
989 Likewise.
990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
991 Likewise.
992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
993 Likewise.
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
995 Likewise.
996 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
997 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
998 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
999 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1000 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1001 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1003
a63b96fb
VC
10042019-06-26 Vincent Chen <vincentc@andestech.com>
1005
1006 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1007 specific system calls, fp_udfiex_crtl and udftrap.
1008
c78b3f55
SL
10092019-06-26 Stefan Liebler <stli@linux.ibm.com>
1010
1011 * nptl/tst-eintr1.c (tf1): Add return statement.
1012 (do_test): Remove unused th variable.
1013
9e6a7d9c
SL
10142019-06-26 Stefan Liebler <stli@linux.ibm.com>
1015
1016 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1017 Return error if get_character fails.
1018
c89e669a
SL
10192019-06-25 Stefan Liebler <stli@linux.ibm.com>
1020
1021 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1022
a55541fd
RL
10232019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1024
1025 [BZ #24652]
1026 * localedata/locales/szl_PL (day): Use the correct Unicode
1027 sequences instead of non-ASCII characters.
1028
2bd81b60
GK
10292019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1030
1031 [BZ #24652]
1032 * localedata/locales/szl_PL (abday): Spelling corrections.
1033 (day): Likewise.
1034 (abmon): Likewise.
1035 (mon): Rename to...
1036 (alt_mon): This, then apply spelling corrections.
1037 (mon): New entry, month names in the genitive case.
1038
fefa2179
RL
10392019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1040
1041 [BZ #23831]
1042 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1043 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1044 (thousands_sep): Likewise.
1045 (grouping): Set to 3;3.
1046
85c748f9
TK
10472019-06-21 Tobias Klauser <tklauser@distanz.ch>
1048
1049 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1050 PREPARE_VERSION_KNOWN.
1051 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1052 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1053 define.
1054 (VDSO_HASH_LINUX_2_6_39): Likewise.
1055 (VDSO_NAME_LINUX_4_9): Likewise.
1056 (VDSO_HASH_LINUX_4_9): Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1059 (_libc_vdso_platform_setup): Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1061 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1062 Likewise.
1063 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1064 Likewise.
1065
db13e32c
MC
10662019-06-20 Mike Crowe <mac@mcrowe.com>
1067
ce5b73a7
MC
1068 * nptl/eintr.c: Use libsupport.
1069 * nptl/tst-eintr1.c: Likewise.
1070 * nptl/tst-eintr2.c: Likewise.
1071 * nptl/tst-eintr3.c: Likewise.
1072 * nptl/tst-eintr4.c: Likewise.
1073 * nptl/tst-eintr5.c: Likewise.
1074 * nptl/tst-mutex-errorcheck.c: Likewise.
1075 * nptl/tst-mutex5.c: Likewise.
1076
8bf225d5
MC
1077 * support/test-driver.h: Add verbose_printf macro.
1078
db13e32c
MC
1079 * support/xtime.h: Add xclock_now() helper function.
1080
21cc130b
DL
10812019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1082 Florian Weimer <fweimer@redhat.com>
1083
1084 [BZ #24228]
1085 * libio/genops.c (_IO_unbuffer_all)
1086 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1087 buffers and access _IO_FILE_complete members of legacy libio streams.
1088 * libio/tst-bz24228.c: New file.
1089 * libio/tst-bz24228.map: Likewise.
1090 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1091 [build-shared] (generated): Add tst-bz24228.mtrace and
1092 tst-bz24228.check.
1093 [run-built-tests && build-shared] (tests-special): Add
1094 $(objpfx)tst-bz24228-mem.out.
1095 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1096 ($(objpfx)tst-bz24228-mem.out): New rule.
1097
49bc41b6
PC
10982019-06-19 Paul A. Clarke <pc@us.ibm.com>
1099
1100 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1101 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1102 (__FPU_MFFSL): Likewise.
1103 (_FPU_SETCW): Likewise.
1104
335c1007
SS
11052019-06-19 Stan Shebs <stanshebs@google.com>
1106 Raoni Fassina Firmino <raoni@linux.ibm.com>
1107
1108 [BZ #24640]
1109 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1110 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1111 static-linking version.
1112 * sysdeps/unix/sysv/linux/powerpc/Makefile
1113 (tests-static): Add test-gettimebasefreq-static.
1114 (tests): Likewise.
1115 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1116 New file.
1117
f59a54ab
RL
11182019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1119
1120 [BZ #24614]
1121 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1122 between the currency symbol and the minus sign).
1123 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1124
f0c5a803
SL
11252019-06-19 Stefan Liebler <stli@linux.ibm.com>
1126
1127 [BZ #24556]
1128 * string/test-strcasestr.c (check_result): Add NULL check.
1129 * nss/tst-field.c (check_rewrite): Likewise.
1130 * benchtests/bench-strstr.c (do_one_test): Likewise.
1131 * string/test-strstr.c (check_result): Likewise.
1132 * argp/argp-test.c (popt): Increase size of buf to 12.
1133 * benchtests/bench-malloc-simple.c (bench):
1134 Do not initialize tests array out of bounds.
1135
fabf5e49
FW
11362019-06-19 Florian Weimer <fweimer@redhat.com>
1137
1138 [BZ #24166]
1139 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1140 dls_serpath field.
1141
2c75b545
FW
11422019-06-18 Florian Weimer <fweimer@redhat.com>
1143
1144 [BZ #24323]
1145 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1146 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1147 fail when called from dlopen.
1148 * elf/Makefile [have-fpie && build-shared] (tests): Add
1149 tst-dlopen-pie.
1150 (tst-dlopen-pie): Link with -ldl.
1151 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1152 * elf/tst-dlopen-pie.c (do_test): New file.
1153
02d8b5ab
RL
11542019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1155
1156 [BZ #24614]
1157 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1158 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1159 between the currency symbol and the minus sign).
1160 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1161 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1162
78049de0
AZ
11632019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1164
112a0ae1
AZ
1165 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1166 sysdep-rtld-routines): Remove rules.
1167 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1168 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1169 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1170 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1171 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1172 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1173 vDSO path for SHARED.
1174 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1175 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1176 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1177 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1178 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1179 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1180
dee07df1
AZ
1181 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1182 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1183 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1184 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1185 CFLAGS-s_llround-power5+.c): New rule.
1186 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1187 New file.
1188 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1189 Likewise.
1190 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1191 Likewise.
1192 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1193 Likewise.
1194 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1195 Likewise.
1196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1197 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1199 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1201 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1202 * sysdeps/powerpc/powerpc64/fpu/Makefile
1203 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1205 (libm-sysdep_routines): Remove s_llround-* objects.
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1207 file.
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1209 Likewise.
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1211 Likewise.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1213 Likewise.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1215 Likewise.
1216 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1221 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1222 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1223 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1224 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1225 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1226 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1228 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1229 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1230
2166283f
AZ
1231 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1232 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1233 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1234 * sysdeps/powerpc/powerpc32/fpu/Makefile
1235 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1236 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1237 optimization.
1238 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1239 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1240 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1242 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1243 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1244 CFLAGS-s_lrint-ppc32.c): New rule.
1245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1246 Remove file.
1247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1248 Likewise.
1249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1250 Likewise.
1251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1252 Likewise.
1253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1254 Likewise.
1255 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1256 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1260 New file.
1261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1262 Likewise.
1263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1264 Likewise.
1265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1266 Likewise.
1267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1268 Likewise.
1269
78049de0
AZ
1270 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1271 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1272 s_llrint-ppc64.
1273 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1274 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1275 file.
1276 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1277 Likewise.
1278 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1279 Likewise.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1281 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1283 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1285 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1286 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1287 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1289 (libm-sysdep_routines): Remove s_llrint-* objects.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1291 file.
1292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1293 Likewise.
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1296 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1297 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1298 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1299 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1300 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1301 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1302 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1303 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1304
48c3c123
FW
13052019-06-14 Florian Weimer <fweimer@redhat.com>
1306
1307 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1308 argument to __glibc_has_include to inhibit macro expansion.
1309
8d141877
FW
13102019-06-14 Florian Weimer <fweimer@redhat.com>
1311
1312 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1313 function-like macro, so that __has_include can inhibit expansion
1314 of its argument.
1315
a26e2e9f
JM
13162019-06-13 Joseph Myers <joseph@codesourcery.com>
1317
cf274686
JM
1318 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1319 New macro.
1320
a26e2e9f
JM
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1322 Allow memset in libc.so.
1323
82bc69c0
SN
13242019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1325
1326 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1327 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1328 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1329 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1330 symbols at load time.
1331 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1332
55f82d32
SN
13332019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1334
1335 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1336 (DT_AARCH64_VARIANT_PCS): Define.
1337
21bd039b
AZ
13382019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1339
11926960
AZ
1340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1341 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1342 objects.
1343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1344 Remove file.
1345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1346 Likewise.
1347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1349 Likewise.
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1351 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1352 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1354 Remove s_finite* objects.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1361 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1364 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1365
a7218676
AZ
1366 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1367 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1368
6427a6ac
AZ
1369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1370 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1371 objects.
1372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1373 Remove file.
1374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1375 Likewise.
1376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1378 Likewise.
1379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1380 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1381 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1383 Remove s_isinf* and s_isinf* objects.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1390 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1391 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1394
a8c590f7
AZ
1395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1396 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1397
2666f963
AZ
1398 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1399 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1400 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1402 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1403 s_isnanf-* objects.
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1405 Remove file
1406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1407 Likewise.
1408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1409 Likewise.
1410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1411 Likewise.
1412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1414 Likewise.
1415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1416 Likewise.
1417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1418 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1420 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1422 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1423 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1425 Remove s_isnan-* and s_isnanf-* objects.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1429 Likewise.
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1435 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1437 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1438 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1439 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1440 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1441 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1443
197dbda1
AZ
1444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1445 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1446
2731a326
AZ
1447 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1448 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1449 CFLAGS-bench-isfinite.c): New rule.
1450 * benchtests/isnan-input: New file.
1451 * benchtests/isinf-input: New file.
1452 * benchtests/isfinite-input: New file.
1453
e41d66e4
AZ
1454 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1455 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1456 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1457 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1459 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1460 s_copysign-ppc32.
1461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1462 Remove file.
1463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1464 Likewise.
1465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1466 Likewise.
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1468 Likewise.
1469 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1470 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1472 Remove s_copysign-power6 s_copysign-ppc64.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1474 Remove file.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1476 Likewise.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1479 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1480 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1483
21bd039b
AZ
1484 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1485 round_to_integer_float, round_mode): Add RINT handling.
1486 (reset_fenv_mode): New symbol.
1487 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1488 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1489 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1490 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1491 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1492 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1493
cfa61144
FW
14942019-06-12 Florian Weimer <fweimer@redhat.com>
1495
1496 [BZ #24632]
1497 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1498 * libio/freopen.c (freopen): Use it.
1499
744e8296
FW
15002019-06-12 Florian Weimer <fweimer@redhat.com>
1501
1502 Linux: Deprecate sysctl.
1503 * include/sysctl.h (__sysctl): Remove declaration.
1504 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1505 check.
1506 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1507 (sysctl): Add deprecation attribute.
1508 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1509 directly, to avoid the deprecation warning. Do not include
1510 <string.h>.
1511 (__sysctl): Remove hidden alias.
1512
5dad6ffb
FW
15132019-06-12 Florian Weimer <fweimer@redhat.com>
1514
1515 Linux: Use kernel headers for statx definitions if available.
1516 * include/bits/statx-generic.h: New file.
1517 * include/bits/types/struct_statx.h: Likewise.
1518 * include/bits/types/struct_statx_timestamp.h: Likewise.
1519 * io/Makefile (headers): Add bits/statx-generic.h.
1520 * io/bits/statx-generic.h: New file. Partly copied from
1521 io/bits/statx.h.
1522 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1523 define original_statx.
1524 * io/bits/types/struct_statx.h: Likewise.
1525 * io/bits/types/struct_statx_timestamp.h: Likewise.
1526 (statx_generic): Use original_statx.
1527 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1528 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1529
4e75c2a4
FW
15302019-06-12 Florian Weimer <fweimer@redhat.com>
1531
1532 * misc/sys/cdefs.h (__glibc_has_include): Define.
1533
680942b0
WD
15342019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1535
1536 * string/memmem.c (__memmem): Rewrite to improve performance.
1537
5e0a7ecb
WD
15382019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1539
1540 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1541 warning.
1542 (two_way_long_needle): Block inlining.
1543 * string/strstr.c (strstr2): Add new function.
1544 (strstr3): Likewise.
1545 (STRSTR): Completely rewrite strstr to improve performance.
1546
80b2bfb5
WD
15472019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1548
1549 * benchtests/bench-strstr.c (test_hard_needle): New function.
1550
e6e24243
JM
15512019-06-10 Joseph Myers <joseph@codesourcery.com>
1552
1553 * malloc/tst-calloc.c: Include <libc-diag.h>.
1554 (null_test): Ignore -Wunused-result around calls to calloc.
1555 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1556 (do_test): Ignore -Wunused-result around call to malloc.
1557
51ea67d5
FW
15582019-06-07 Florian Weimer <fweimer@redhat.com>
1559
1560 Linux: Add getdents64 system call.
1561 * include/dirnent.h (getdents): Add comment and change buffer
1562 argument type to void *.
1563 (getdents64): Likewise. Add hidden prototype.
1564 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1565 getdents64.
1566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1567 Add tst-getdents64.
1568 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1569 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1570 argument type to void *.
1571 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1572 Add hidden definition and getdents64 alias.
1573 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1574 Likewise.
1575 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1576 * manual/filesys.texi (Accessing Directories): Add Low-level
1577 Directory Access node reference.
1578 (Opening a Directory): Cross-reference it.
1579 (Low-level Directory Access): New node.
1580 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1581 getdents64.
1582 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1583 Likewise.
1584 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1585 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1586 Likewise.
1587 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1588 Likewise.
1589 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1590 Likewise.
1591 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1592 Likewise.
1593 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1594 Likewise.
1595 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1596 Likewise.
1597 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1598 Likewise.
1599 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1600 (GLIBC_2.30): Likewise.
1601 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1602 (GLIBC_2.30): Likewise.
1603 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1604 (GLIBC_2.30): Likewise.
1605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1606 (GLIBC_2.30): Likewise.
1607 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1608 Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1610 (GLIBC_2.30): Likewise.
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1612 (GLIBC_2.30): Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1614 (GLIBC_2.30): Likewise.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1616 (GLIBC_2.30): Likewise.
1617 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1618 Likewise.
1619 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1620 Likewise.
1621 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1622 Likewise.
1623 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1625 Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1627 Likewise.
1628 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1629 Likewise.
1630 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1631 Likewise.
1632
de751ebc
PC
16332019-06-06 Paul A. Clarke <pc@us.ibm.com>
1634
1635 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1636 (__FPU_MFFS): New.
1637 (__FPU_MFFSL): New.
1638 (_FPU_GET_RC): New.
1639 (_FPU_GETCW): Use __FPU_MFFS().
1640 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1641
28dd3939
FW
16422019-06-06 Florian Weimer <fweimer@redhat.com>
1643
1644 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1645 internal GCC preprocessor identifier __has_include__.
1646
0158473d
PC
16472019-06-05 Paul A. Clarke <pc@us.ibm.com>
1648
1649 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1650 with call to equivalent function.
1651
e863dbf6
FW
16522019-06-04 Florian Weimer <fweimer@redhat.com>
1653
1654 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1655 (do_release_shlib): Adjust for __twalk_r.
1656 (__gconv_release_shlib): Call __twalk_r.
1657
4802be92
AS
16582019-06-04 Andreas Schwab <schwab@suse.de>
1659
1660 [BZ #18830]
1661 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1662 no irreversible characters occurred.
1663 * iconv/gconv_simple.c (internal_ucs4_loop)
1664 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1665 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1666 (ucs4_internal_loop_single, internal_ucs4le_loop)
1667 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1668 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1669 (ucs4le_internal_loop_single): Add const to outend.
1670 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1671 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1672 * iconv/Makefile (tests): Add tst-iconv7.
1673 * iconv/tst-iconv7.c: New file.
1674
dc91a19e
JM
16752019-06-03 Joseph Myers <joseph@codesourcery.com>
1676
1677 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1678
6a1a9a49 16792019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
1680
1681 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1682 * sysdeps/unix/sysv/linux/arm/Makefile
1683 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1684 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1685 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1686 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1687 compatibility symbols.
1688
0bb8f8c7
FW
16892019-05-31 Florian Weimer <fweimer@redhat.com>
1690
1691 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1692 system calls for the arm architecture: breakpoint, get_tls,
1693 set_tls, usr26, usr32.
1694
9250e661
GG
16952019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1696
1697 * sysdeps/powerpc/Makefile
1698 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1699 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1700 Declare '.machine power7' to get support for ldbrx.
1701 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1702 directive based on the directory of the file.
1703 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1704 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1705 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1706 '.machine' directive.
1707 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1708 (VADDUQM_V7_V8): Remove.
1709 (__STRCASECMP): Replace macros with actual instructions.
1710 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1711 '.machine' directive.
1712 (VCLZD_V8_v7): Remove.
1713 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1714
fbd6c928
AZ
17152019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1716
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1718 Remove file.
1719 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1720
e47308c9
AZ
17212019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1722
1723 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1724 NEARBYINT handling.
1725 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1726 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1731
157cda1f 17322019-05-28 mansayk <6688000@gmail.com>
1733
1734 [BZ #24370]
1735 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1736
182a3746 17372019-05-28 mansayk <6688000@gmail.com>
1738
1739 [BZ #24369]
1740 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1741 (abmon): Likewise, but remove the trailing dots.
1742
c6df1ce3
JM
17432019-05-28 Joseph Myers <joseph@codesourcery.com>
1744
1745 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1746
85188d82
FW
17472019-05-27 Florian Weimer <fweimer@redhat.com>
1748
1749 * nptl/nptl-init.c: Add comment.
1750
5c23c821
FW
17512019-05-24 Florian Weimer <fweimer@redhat.com>
1752
1753 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1754 struct in_addr/struct in6_addr alignment.
1755
bee1f2c4
JM
17562019-05-23 Joseph Myers <joseph@codesourcery.com>
1757
1758 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1759 (F_SEAL_FUTURE_WRITE): New macro.
1760
481c30cb
AH
17612019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1762
1763 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1764 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1765 * elf/tst-ldconfig_aux-cache.root: New directory.
1766 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1767 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1768 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1769
cb755eed
ZW
17702019-05-22 Zack Weinberg <zackw@panix.com>
1771
1772 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1773 host type.
1774 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1775 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1776
1777 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1780 Delete.
1781
1782 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1783 Issue an #error if used with a compiler in SPE-float mode.
1784 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1785 * sysdeps/powerpc/powerpc32/setjmp_common.S
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1792 Remove code to preserve SPE register state.
1793
1794 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1795 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1796 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1797 Remove __SPE__ ifndefs.
1798
46ae0732
WD
17992019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1800
1801 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1802 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1803 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1804 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1805 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1806 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1807 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1808 (INNER_LOOP_ITERS_MEDIUM): New define.
1809 (INNER_LOOP_ITERS_SMALL): New define.
1810 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1811 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1812 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1813 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1814 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1815
004e52fe
AZ
18162019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1817
1818 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1819 New define.
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1821 (SEMTIMEDOP_IPC_ARGS): Likewise.
1822
c9c15ac3
FW
18232019-05-21 Florian Weimer <fweimer@redhat.com>
1824
1825 [BZ #24584]
1826 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1827 before updating __counter field and release it afterwards. Add
1828 overflow check.
1829 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1830 requirement for __counter member.
1831
7e740ab2
FW
18322019-05-21 Florian Weimer <fweimer@redhat.com>
1833
1834 [BZ #24583]
1835 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1836 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1837 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1838 instead of __gconv_release_step.
1839 * libio/Makefile (tests): Add tst-wfile-gconv.
1840 (tests-container): Add tst-wfile-ascii.
1841 (tst-wfile-gconv-ENV): Enable mtrace.
1842 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1843 (tests-special): Add tst-wfile-gconv-mem.out.
1844 (tst-wfile-gconv.out): Depend on locales.
1845 (tst-wfile-gconv-mem.out): Add mtrace rule.
1846 * libio/tst-wfile-ascii.c: New file.
1847 * libio/tst-wfile-gconv.c: Likewise.
1848
09e1b0e3
FW
18492019-05-20 Florian Weimer <fweimer@redhat.com>
1850
1851 [BZ #24588]
1852 libio: Remove codecvt vtable.
1853 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1854 __libio_codecvt.
1855 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1856 __libio_codecvt_encoding.
1857 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1858 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1859 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1860 * libio/iofwide.c (__libio_codecvt): Remove variable.
1861 (_IO_fwide): Do not copy __libio_codecvt.
1862 (__libio_codecvt_out): Rename from do_out and export.
1863 (do_unshift): Remove function.
1864 (__libio_codecvt_in): Rename from do_in and export.
1865 (__libio_codecvt_encoding): Rename from do_encoding and export.
1866 (do_always_noconv): Remove function.
1867 (__libio_codecvt_length): Rename from do_length and export.
1868 (do_max_length): Remove function.
1869 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1870 to libioP.h.
1871 (struct _IO_codecvt): Remove fields __codecvt_destr,
1872 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1873 __codecvt_do_encoding, __codecvt_do_always_noconv,
1874 __codecvt_do_length, __codecvt_do_max_length.
1875 * libio/libioP.h (enum __codecvt_result): Define; moved from
1876 libio.h.
1877 (__libio_codecvt_out, __libio_codecvt_in)
1878 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1879 functions.
1880 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1881 (_IO_wfile_underflow): Call __libio_codecvt_in.
1882 (_IO_wfile_underflow): Likewise.
1883 (_IO_wfile_underflow_mmap): Likewise.
1884 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1885 __libio_codecvt_length.
1886 (adjust_wide_data): Call __libio_codecvt_encoding,
1887 __libio_codecvt_in.
1888 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1889 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1890 __libio_codecvt_length.
1891
75c51570
FW
18922019-05-20 Florian Weimer <fweimer@redhat.com>
1893
1894 * support/support.h (support_sbindir_prefix): Declare.
1895 (support_install_rootsbindir): Update comment.
1896 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1897 * support/support_paths.c (support_sbindir_prefix): Define.
1898
ff6bec7d
MC
18992019-05-20 Mike Crowe <mac@mcrowe.com>
1900
b62bb3bc
MC
1901 * support/timespec.c: Add backslash to correct newline in failure
1902 message.
1903
ff6bec7d
MC
1904 * support/timespec.h: Correct confusing comment.
1905
dfba907f
AZ
19062019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1907
236c18e5
AZ
1908 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1909 define.
1910 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1911 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1912 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1913 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1914
dfba907f
AZ
1915 [BZ #24570]
1916 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1917 usage.
1918
13886008
JM
19192019-05-20 Joseph Myers <joseph@codesourcery.com>
1920
1921 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1922 (NT_ARM_PACG_KEYS): Likewise.
1923
1f50f2ad
WD
19242019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1925
1926 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1927 (tcache_put): Remove redundant assert.
1928 (tcache_get): Remove redundant asserts.
1929 (__libc_malloc): Check tcache count is not zero.
1930 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1931
fef7c63c
FW
19322019-05-17 Florian Weimer <fweimer@redhat.com>
1933
1934 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1935
5f161b23
JM
19362019-05-16 Joseph Myers <joseph@codesourcery.com>
1937
1938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1939 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1940 0x050100].
1941 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1942 Likewise.
1943 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1944 (__ASSUME_STATX): Likewise.
1945
ec255a97
FW
19462019-05-16 Florian Weimer <fweimer@redhat.com>
1947
1948 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1949 flags argument.
1950 (LINE_PARSER): Do not map IPv4 addresses.
1951 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1952 to parse_line.
1953 (_nss_nis_gethostent_r): Always pass AF_INET to
1954 internal_nis_gethostent_r.
1955 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1956 to parse_line.
1957 (_nss_nis_gethostbyname2_r): Adjust call to
1958 internal_nis_gethostent_r.
1959 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1960 call to internal_nis_gethostent_r.
1961 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1962 from parse_line.
1963 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1964 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1965 Remove flags argument. Do not map IPv4 addresses.
1966 (internal_nisplus_gethostent_r): Adjust call to
1967 _nss_nisplus_parse_hostent.
1968 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1969 to _nss_nisplus_parse_hostent.
1970 (_nss_nisplus_gethostbyname2_r): Adjust call to
1971 internal_gethostbyname2_r.
1972 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1973 Adjust call to internal_gethostbyname2_r.
1974 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1975 _nss_nisplus_parse_hostent.
1976 (_nss_nisplus_gethostbyname4_r): Adjust call to
1977 internal_gethostbyname2_r.
1978
9c02d078
FW
19792019-05-16 Florian Weimer <fweimer@redhat.com>
1980
1981 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1982 Remove flags.
1983 (LINE_PARSER): Remove address mapping.
1984 (EXTRA_ARGS_VALUE): Remove flags argument.
1985 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1986 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1987 gethostbyname3_multi.
1988 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1989 _nss_files_gethostbyname3_r.
1990 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1991
85b0e1e8
FW
19922019-05-16 Florian Weimer <fweimer@redhat.com>
1993
1994 * support/support_test_compare_blob.c (report_blob): Report
1995 incorrect NULL blobs.
1996
11b451c8
MW
19972019-05-15 Mark Wielaard <mark@klomp.org>
1998
1999 [BZ# 24476]
2000 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2001 __libc_once_get (once) and static_buf == NULL.
2002 (__dlerror): Check we have a valid key, set result to static_buf
2003 otherwise.
2004
32ff3975
AS
20052019-05-15 Andreas Schwab <schwab@suse.de>
2006
2007 [BZ #20568]
2008 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2009 __codecvt_do_length.
2010 * libio/Makefile (tests): Add tst-wfile-sync.
2011 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2012 * libio/tst-wfile-sync.c: New file.
2013 * libio/tst-wfile-sync.input: New file.
2014
a9368c34
FW
20152019-05-15 Florian Weimer <fweimer@redhat.com>
2016
2017 nss: Turn __nss_database_lookup into a compatibility symbol.
2018 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2019 __nss_database_lookup.
2020 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2021 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2022 __nss_database_lookup.
2023 (__nss_next): Move to …
2024 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2025 unconditionally.
2026 (__nss_database_lookup): New function.
2027 * nss/Versions (GLIBC_2.0): Update comment.
2028 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2029 * grp/initgroups.c (internal_getgrouplist): Call
2030 __nss_database_lookup2 instead of __nss_database_lookup.
2031 * nscd/aicache.c (addhstaiX): Likewise.
2032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2033 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2034 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2035 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2036 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2037 Likewise.
2038 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2039 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2041
d50f0918 20422019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 2043
d50f0918
AH
2044 * support/support.h (support_install_rootsbindir): New variable.
2045 * support/support_paths.c: Likewise.
2046 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2047
7ac6fad9
FW
20482019-05-15 Florian Weimer <fweimer@redhat.com>
2049
2050 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2051 * iconv/gconv_int.h (__gconv_transliterate): … here.
2052 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2053 * iconv/skeleton.c: Likewise.
2054
04b261bd
FW
20552019-05-14 Florian Weimer <fweimer@redhat.com>
2056
2057 Linux: Add the tgkill function.
2058 * bits/signal_ext.h: New file.
2059 * manual/signal.texi (Signaling Another Process): Document tgkill.
2060 * signal/Makefile (headers): Add bits/signal_ext.h.
2061 * signal/signal.h: Include <bits/signal_ext.h>.
2062 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2063 (tst-tgkill): Link with libpthread.
2064 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2065 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2066 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2067 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2068 tgkill.
2069 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2070 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2071 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2072 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2073 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2074 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2075 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2077 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2080 Likewise.
2081 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2082 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2083 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2085 Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2087 Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2089 Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2091 Likewise.
2092 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2093 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2094 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2095 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2098 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2099 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2100
6807f47b
CD
21012019-05-14 Carlos O'Donell <carlos@redhat.com>
2102
2103 * manual/search.texi (Tree Search Function): Adjust twalk_r
2104 documentation.
2105
fdb8a0be
AZ
21062019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2107
da2b83ef
AZ
2108 [BZ #24544]
2109 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2110 pre-defined value.
2111
c7ac9caa
AZ
2112 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2113 * support/support.h (support_bindir_prefix): New variable.
2114 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2115
91f043ae
AZ
2116 * config.make.in (bindir): New variable.
2117
c50e1c26
AZ
2118 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2119 (lll_trylock): Call __lll_trylock.
2120 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2121 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2122 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2123 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2124 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2125 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2126 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2128 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2129 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2130 lowlevellock-futex.h.
2131
959aff9f
AZ
2132 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2133 initialization for LLL_LOCK_INITIALIZER different than 0.
2134 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2135 Assume LLL_LOCK_INITIALIZER being 0.
2136 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2137 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2138 Likewise.
2139 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2140 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2141
d7e4c642
AZ
2142 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2143 Optimize futex call and add systemtap probe.
2144
fdb8a0be
AZ
2145 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2146 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2147 __libc_disable_asynccancel, __librt_enable_asynccancel,
2148 __libc_disable_asynccancel, __librt_enable_asynccancel,
2149 __librt_disable_asynccancel): Move to ...
2150 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2151 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2152 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2153 * sysdeps/generic/single-thread.h: New file.
2154 * sysdeps/unix/sysdep.h: Include single-thread.h.
2155 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2156 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2157
f6efec90
MF
21582019-05-08 Mike FABIAN <mfabian@redhat.com>
2159
2160 [BZ #24535]
2161 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2162 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2163 Unicode 12.1.0.
2164 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2165 * localedata/unicode-gen/PropList.txt: Likewise.
2166 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2167 * localedata/charmaps/UTF-8: Regenerate.
2168 * localedata/locales/i18n_ctype: Likewise.
2169 * localedata/locales/tr_TR: Likewise.
2170 * localedata/locales/translit_circle: Likewise.
2171 * localedata/locales/translit_cjk_compat: Likewise.
2172 * localedata/locales/translit_combining: Likewise.
2173 * localedata/locales/translit_compat: Likewise.
2174 * localedata/locales/translit_font: Likewise.
2175 * localedata/locales/translit_fraction: Likewise.
2176
5ad533e8
WD
21772019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2178
2179 [BZ #24531]
2180 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2181 (do_set_tcache_count): Only update if count is small enough.
2182 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2183
4aee85f9
FW
21842019-05-10 Florian Weimer <fweimer@redhat.com>
2185
2186 * nptl/sem_close.c (struct walk_closure): Define.
2187 (walker): Adjust for __twalk_r.
2188 (sem_close): Call __twalk_r.
2189
eb669ff5
AZ
21902019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2191
2192 * support/timespec.c (test_timespec_before_impl,
2193 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2194 insted of long int.
2195
51983996
MC
21962019-05-09 Mike Crowe <mac@mcrowe.com>
2197
44ac6ee9
MC
2198 * nptl/tst-abstime.c: Use libsupport.
2199
495514ee
MC
2200 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2201 small bug where only tv.tv_usec was checked which could cause an
2202 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2203 than a second.
2204
2205 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2206 libsupport.
2207
40d0816f
MC
2208 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2209 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2210
d8e0b901
MC
2211 * nptl/tst-cond11.c: Use libsupport.
2212
51983996
MC
2213 * support/timespec.h: New file. Provide timespec helper functions
2214 along with macros in the style of those in check.h.
2215 * support/timespec.c: New file. Implement check functions declared
2216 in support/timespec.h.
2217 * support/timespec-add.c: New file from gnulib containing
2218 timespec_add implementation that handles overflow.
2219 * support/timespec-sub.c: New file from gnulib containing
2220 timespec_sub implementation that handles overflow.
2221 * support/README: Mention timespec.h.
2222
18aa51ee
SN
22232019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2224
2225 [BZ #24537]
2226 * nptl/Makefile: Move tst-eintr1 to xtests.
2227
252296c6
AZ
22282019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2229
ae45cf84
AZ
2230 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2231 TRUNC handling.
2232 (round_mode): Add definition for TRUNC.
2233 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2234 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2235 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2236 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2237 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2238 Likewise.
2239 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2240 Likewise.
2241 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2242 Likewise.
2243 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2244 Likewise.
2245 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2246 file.
2247 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2248 Likewise.
2249 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2250 Likewise.
2251 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2252 Likewise.
2253 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2254 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2255 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2256 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2257 s_truncf-power5+, and s_truncf-ppc64.
2258 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2259 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2260 file.
2261 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2263 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2264 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2265 file.
2266 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2267 Likewise.
2268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2271 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2272 s_truncf-power5+, and s_truncf-ppc64.
2273 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2274 file.
2275 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2276 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2277 Likewise.
2278 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2279 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2280 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2281 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2282 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2283
a1cb1888
AZ
2284 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2285 ROUND handling.
2286 (round_mode): Add definition for ROUND.
2287 (round_to_integer_float): Likewise.
2288 * sysdeps/powerpc/fpu/s_round.c: New file.
2289 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2290 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2291 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2292 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2293 Likewise.
2294 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2295 Likewise.
2296 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2297 Likewise.
2298 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2299 Likewise.
2300 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2301 file.
2302 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2303 Likewise.
2304 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2305 Likewise.
2306 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2307 Likewise.
2308 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2309 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2310 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2311 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2312 s_roundf-power5+, and s_roundf-ppc64.
2313 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2314 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2315 file.
2316 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2318 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2319 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2320 file.
2321 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2322 Likewise.
2323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2324 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2326 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2327 s_roundf-power5+, and s_roundf-ppc64.
2328 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2329 file.
2330 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2331 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2332 Likewise.
2333 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2335 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2336 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2337 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2338
252296c6
AZ
2339 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2340 Add FLOOR option.
2341 (round_mode): Add definition for FLOOR.
2342 * sysdeps/powerpc/fpu/s_floor.c: New file.
2343 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2344 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2345 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2347 Remove file.
2348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2349 Likewise
2350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2351 Likewise.
2352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2353 Likewise.
2354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2355 New file.
2356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2357 Likewise.
2358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2359 Likewise.
2360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2361 Likewise.
2362 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2364 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2365 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2366 s_floorf-power5+, and s_floorf-ppc64.
2367 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2368 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2369 file.
2370 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2372 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2373 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2374 file.
2375 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2376 Likewise.
2377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2378 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2380 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2381 s_floorf-power5+, and s_floorf-ppc64.
2382 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2383 file.
2384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2385 file.
2386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2387 Likewise.
2388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2389 Likewise.
2390 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2394
33647a72
MC
23952019-05-08 Mike Crowe <mac@mcrowe.com>
2396
2397 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2398 clock_gettime wrapper for use in tests that fails the test rather
2399 than returning failure.
2400
2401 * support/xtime.h: New file to declare xclock_gettime.
2402
2403 * support/Makefile: Add xclock_gettime.c.
2404
2405 * support/README: Mention xtime.h.
2406
b2f601ba
FW
24072019-05-08 Florian Weimer <fweimer@redhat.com>
2408
2409 malloc/tst-mallocfork2: Use process-shared barriers.
2410 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2411 (signal_count, sigusr1_sender_pid): Remove.
2412 (iterations): Define constant.
2413 (shared): New variable.
2414 (sigusr1_received): Update comment.
2415 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2416 (signal_sender): Optional use barriers to avoid sending signals
2417 during irrelevant times.
2418 (do_it): Initialize variable shared. Use xfork for error
2419 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2420 the iteration count, independent of signal delivery. Check for
2421 deadlocks in fork. Introduce barriers for reducing signal
2422 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2423 replaced by the barriers. Count signals during fork/free/malloc
2424 and report them.
2425 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2426
c4a392cf
JM
24272019-05-07 Joseph Myers <joseph@codesourcery.com>
2428
7621676f
JM
2429 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2430 version to 5.1.
2431 (clock_adjtime64) New syscall.
2432 (clock_getres_time64) Likewise.
2433 (clock_gettime64) Likewise.
2434 (clock_nanosleep_time64) Likewise.
2435 (clock_settime64) Likewise.
2436 (futex_time64) Likewise.
2437 (io_pgetevents_time64) Likewise.
2438 (io_uring_enter) Likewise.
2439 (io_uring_register) Likewise.
2440 (io_uring_setup) Likewise.
2441 (mq_timedreceive_time64) Likewise.
2442 (mq_timedsend_time64) Likewise.
2443 (pidfd_send_signal) Likewise.
2444 (ppoll_time64) Likewise.
2445 (pselect6_time64) Likewise.
2446 (recvmmsg_time64) Likewise.
2447 (rt_sigtimedwait_time64) Likewise.
2448 (sched_rr_get_interval_time64) Likewise.
2449 (semtimedop_time64) Likewise.
2450 (timer_gettime64) Likewise.
2451 (timer_settime64) Likewise.
2452 (timerfd_gettime64) Likewise.
2453 (timerfd_settime64) Likewise.
2454 (utimensat_time64) Likewise.
2455
c4a392cf
JM
2456 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2457 version to 9 branch.
2458
32e902a9
AY
24592019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2460
2461 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2462 __memmove_thunderx2 to the list of implementations
2463 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2464 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2465 (__memmove_thunderx2): Rewritten using SIMD ld/st
2466 (__memcpy_thunderx2): Fixed handling overlapping cases.
2467 Used ldp/stp instead of ldr/str if possible. Made loops
2468 tails branchless.
2469
ac3da35d
FW
24702019-05-03 Florian Weimer <fweimer@redhat.com>
2471
2472 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2473
b2af6fb2
AZ
24742019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2475
7dfde28a 2476 [BZ #24506]
b2af6fb2
AZ
2477 * elf/tst-pldd.c (in_str_list): New function.
2478 (do_test): Add default names for ld and libc as one option.
2479
7b807a35
FW
24802019-05-02 Florian Weimer <fweimer@redhat.com>
2481
2482 misc: Add twalk_r function.
2483 * include/search.h (__twalk_r): Declare.
2484 * manual/examples/twalk.c: New file.
2485 * manual/search.texi (Tree Search Function): Document twalk_r.
2486 * misc/Versions (2.30): Export twalk_r.
2487 (GLIBC_PRIVATE): Export __twalk_r.
2488 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2489 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2490 (twalk_r): Add weak alias.
2491 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2492 (walk_trace): New variable.
2493 (struct twalk_with_twalk_r_closure): Define.
2494 (twalk_with_twalk_r_action): New function.
2495 (twalk_with_twalk_r): Likewise.
2496 (walk_action): Call walk_trace_add.
2497 (walk_tree_with): Rename from walk_tree. Add walk argument.
2498 (walk_tree): New function.
2499 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2500 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2501 Likewise.
2502 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2503 Likewise.
2504 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2505 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2506 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2507 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2508 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2509 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2510 Likewise.
2511 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2512 Likewise.
2513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2514 Likewise.
2515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2516 (GLIBC_2.30): Likewise.
2517 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2518 (GLIBC_2.30): Likewise.
2519 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2520 (GLIBC_2.30): Likewise.
2521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2522 (GLIBC_2.30): Likewise.
2523 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2524 Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2526 (GLIBC_2.30): Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2528 (GLIBC_2.30): Likewise.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2530 (GLIBC_2.30): Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2532 (GLIBC_2.30): Likewise.
2533 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2534 Likewise.
2535 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2536 Likewise.
2537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2538 Likewise.
2539 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2540 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2541 Likewise.
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2543 Likewise.
2544 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2545 Likewise.
2546 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2547 Likewise.
2548
20aa5819
PE
25492019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2550
2551 Make mktime etc. compatible with __time64_t
2552 Keep these functions compatible with Gnulib while adding
2553 __time64_t support. The basic idea is to move private API
2554 declarations from include/time.h to time/mktime-internal.h, since
2555 the former file cannot easily be shared with Gnulib whereas the
2556 latter can.
2557 Also, do some other minor cleanup while in the neighborhood.
2558 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2559 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2560 since Gnulib needs it.
2561 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2562 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2563 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2564 (in_time_t_range): New static function.
2565 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2566 so that glibc users are not tempted to use __time64_t.
2567 * time/mktime-internal.h: Rewrite so that it does both glibc
2568 and Gnulib work. Include time.h if not _LIBC.
2569 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2570 (__time64_t): New type or macro, moved here from
2571 posix/bits/types.h.
2572 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2573 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2574 from include/time.h.
2575 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2576 New macros, taken from GNulib.
2577 (__mktime_internal): New prototype, moved here from include/time.h.
2578 * time/mktime.c (mktime_min, mktime_max, convert_time)
2579 (ranged_convert, __mktime_internal, __mktime64):
2580 * time/timegm.c (__timegm64):
2581 Use __time64_t, not time_t.
2582 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2583 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2584 Rename from mktime.
2585 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2586 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2587 for libc_hidden_def.
2588 Include errno.h.
2589 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2590 Rename from timegm.
2591 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2592
87c266d7
MR
25932019-04-30 Maciej W. Rozycki <macro@wdc.com>
2594
2595 [BZ #19444]
2596 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2597 from `-Wmaybe-uninitialized'.
2598 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2599
c4c0848b
AZ
26002019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2601
6cac323c
AZ
2602 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2603 function.
2604 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2605 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2606 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2607 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2608 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2610 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2612 Remove file.
2613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2614 Likewise.
2615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2616 Likewise.
2617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2618 Likewise.
2619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2620 New file.
2621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2622 Likewise.
2623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2624 Likewise.
2625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2626 Likewise.
2627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2630 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2631 Likewise.
2632 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2633 Likewise.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2635 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2637 file.
2638 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2639 Likewise.
2640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2641 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2642 * here.
2643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2644 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2645 s_ceilf-power5+, and s_ceilf-ppc64.
2646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2647 file.
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2651 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2655
c4c0848b
AZ
2656 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2657 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2658 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2659
f492fc99
YD
26602019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2661
2662 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2663 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2664 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2665 (sem_getvalue): Likewise.
2666
c57afec0
FW
26672019-04-26 Florian Weimer <fweimer@redhat.com>
2668
2669 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2670 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2671
a8ff215e
FW
26722019-04-26 Florian Weimer <fweimer@redhat.com>
2673
2674 Makeconfig: Move -Wl,-rpath-link options before library references.
2675 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2676 (link-libc): Remove $(link-libc-rpath-link).
2677
26782019-04-25 Florian Weimer <fweimer@redhat.com>
2679
2680 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2681 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2682 (+link-static-before-libc): Remove $(CC).
2683 (+link-static, +link-static-tests): Add $(CC).
2684 (+link-before-libc): Remove $(CC).
2685 (+link, +link-pie, +link-pie-printers): Add $(CC).
2686
e30fb31c
FW
26872019-04-26 Florian Weimer <fweimer@redhat.com>
2688
2689 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2690 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2691 (+link-static-before-libc): Remove $(CC).
2692 (+link-static, +link-static-tests): Add $(CC).
2693 (+link-before-libc): Remove $(CC).
2694 (+link, +link-pie, +link-pie-printers): Add $(CC).
2695
deacca00
DA
26962019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2697
2698 [BZ#24484]
2699 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2700
b5ffdc48
FW
27012019-04-25 Florian Weimer <fweimer@redhat.com>
2702
2703 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2704 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2705 (bench-link-targets): New variable.
2706 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2707
94a4e9e4
FW
27082019-04-25 Florian Weimer <fweimer@redhat.com>
2709
2710 Also enable BIND_NOW for programs if --enable-bind-now.
2711 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2712 (+link-pie): Use $(link-extra-flags).
2713 (+link-static): Likewise.
2714 [! $(build-pie-default)] (+link): Likewise.
2715 * manual/install.texi (Configuring and compiling): Update
2716 --enable-bind-now description.
2717 * INSTALL: Regenerated.
2718
fe92a91f
WD
27192019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2720
2721 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2722 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2723
f9b645b4
MF
27242019-04-24 Mike Frysinger <vapier@gentoo.org>
2725
2726 [BZ #18465]
2727 * malloc/Makefile (others): Add memusagestat.
2728 ($(objpfx)memusagestat): Delete rule.
2729 (LDLIBS-memusagestat): New variable.
2730
439bf534
FW
27312019-04-24 Florian Weimer <fweimer@redhat.com>
2732
2733 * locale/Makefile (tests-special): Guard setting by
2734 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2735 to run while cross-compiling.
2736
1a4c2735
AZ
27372019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2738
2739 [BZ #18035]
2740 * elf/Makefile (tests-container): Add tst-pldd.
2741 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2742 (E(find_maps)): Avoid use alloca, use default read file operations
2743 instead of explicit LFS names, and fix infinite loop.
2744 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2745 (get_process_info): Use _Static_assert instead of assert, use default
2746 directory operations instead of explicit LFS names, and free some
2747 leadek pointers.
2748 * elf/tst-pldd.c: New file.
2749
2d398aa2
L
27502019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2751
2752 * malloc/arena.c (do_set_mallopt_check): Removed.
2753
e485b2b6
FW
27542019-04-23 Florian Weimer <fweimer@redhat.com>
2755
2756 locale: Add LOCPATH diagnostics to the locale program.
2757 * locale/programs/locale.c (setlocale_failed): New variable.
2758 (try_setlocale): New function.
2759 (quote_string): Likewise.
2760 (setlocale_diagnostics): Likewise.
2761 (main): Call try_setlocale instead of setlocale. Call
2762 setlocale_diagnostics.
2763 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2764 (tst-locale-locpath.out): New target.
2765 * locale/tst-locale-locpath.sh: New file.
2766
25f7a3c9
AZ
27672019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2768
2769 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2770 to 2.30 notes.
2771
9bf8e29c
AZ
27722019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2773
2774 [BZ #23741]
2775 * malloc/hooks.c (malloc_check, realloc_check): Use
2776 __builtin_add_overflow on overflow check and adapt to
2777 checked_request2size change.
2778 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2779 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2780 allocation size to PTRDIFF_MAX.
2781 (REQUEST_OUT_OF_RANGE): Remove macro.
2782 (checked_request2size): Change to inline function and limit maximum
2783 requested size to PTRDIFF_MAX.
2784 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2785 maximum allocation size to PTRDIFF_MAX.
2786 (_mid_memalign): Use _int_memalign call for overflow check.
2787 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2788 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2789 limit maximum requested size to PTRDIFF_MAX.
2790 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2791 valloc, pvalloc): Add __attribute_alloc_size__.
2792 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2793 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2794 larger than PTRDIFF_MAX.
2795 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2796 around tests of malloc with negative sizes.
2797 * malloc/tst-posix_memalign.c (do_test): Likewise.
2798 * malloc/tst-pvalloc.c (do_test): Likewise.
2799 * malloc/tst-valloc.c (do_test): Likewise.
2800 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2801 with resulting size allocation larger than PTRDIFF_MAX with
2802 reallocarray_nowarn.
2803 (reallocarray_nowarn): New function.
2804 * NEWS: Mention the malloc function semantic change.
2805
0e169691
AZ
28062019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2807
52faba65
AZ
2808 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2809 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2810
3a16dd78
AZ
2811 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2812 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2813 * sysdeps/powerpc/fpu/s_fma.c: New file.
2814 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2815
1dac8bd6
AZ
2816 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2817 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2818
a3ae315a
AZ
2819 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2820 the magic flag store.
2821 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2824 Likewise.
2825 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2826 Remove rt_sigreturn call.
2827
ffe8a9a8
AZ
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2829 Remove rt_sigreturn call.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2831 Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2834
0e169691
AZ
2835 * support/Makefile (libsupport-routines): Add support_subprocess,
2836 xposix_spawn, xposix_spawn_file_actions_addclose, and
2837 xposix_spawn_file_actions_adddup2.
2838 (tst-support_capture_subprocess-ARGS): New rule.
2839 * support/capture_subprocess.h (support_capture_subprogram): New
2840 prototype.
2841 * support/support_capture_subprocess.c (support_capture_subprocess):
2842 Refactor to use support_subprocess and support_capture_poll.
2843 (support_capture_subprogram): New function.
2844 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2845 str_to_write_mode, test_common, parse_int, handle_restart,
2846 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2847 (do_test): Add support_capture_subprogram tests.
2848 * support/subprocess.h: New file.
2849 * support/support_subprocess.c: Likewise.
2850 * support/xposix_spawn.c: Likewise.
2851 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2852 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2853 * support/xspawn.h: Likewise.
2854
bae8cf0e
MG
28552019-04-17 Mike Gerow <gerow@google.com>
2856
2857 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2858 groups limit.
2859
e3f454ba
FW
28602019-04-11 Florian Weimer <fweimer@redhat.com>
2861
2862 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2863 domain with empty string.
2864 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2865
32d85c11
FW
28662019-04-11 Florian Weimer <fweimer@redhat.com>
2867
2868 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2869 comment.
2870 (alloc_buffer_next): Change return type to non-const. Update
2871 comment.
2872
221710af
FW
28732019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2874
2875 * manual/time.texi (Formatting Calendar Time): Add missing percent
2876 sign to conversion specifier.
2877
e621246e
CD
28782019-04-09 Carlos O'Donell <carlos@redhat.com>
2879 Kwok Cheung Yeung <kcy@codesourcery.com>
2880
2881 [BZ #16573]
2882 * malloc/mtrace.c: Define prototypes for all hooks.
2883 (set_default_hooks): New function.
2884 (set_trace_hooks): Likewise.
2885 (save_default_hooks): Likewise.
2886 (tr_freehook): Use new s*_hooks functions.
2887 (tr_mallochook): Likewise.
2888 (tr_reallochook): Likewise.
2889 (tr_memalignhook): Likewise.
2890 (mtrace): Likewise.
2891 (muntrace): Likewise.
2892
648279f4
WD
28932019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2894
2895 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2896 (generic_stpcpy): New function.
2897 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2898 (generic_stpncpy): New function.
2899 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2900 (generic_strcat): New function.
2901 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2902 (generic_strcpy): New function.
2903 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2904 (STUPID_STRNCAT): Remove function.
2905 (generic_strncat): New function.
2906 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2907 (STUPID_STRNCPY): Remove function.
2908 (generic_strncpy): New function.
2909 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2910 (generic_strnlen): New function.
2911 (memchr_strnlen): New function.
2912 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2913 (memchr_strlen): Likewise.
2914
93eebae5
WD
29152019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2916
2917 * benchtests/bench-strstr.c (input): Add realistic input text.
2918 (stupid_strstr): Remove function.
2919 (basic_strstr): Add function.
2920 (twoway_strstr): Add function.
2921 (do_one_test): Add result checking.
2922 (do_test): Use new input text. Remove accidental early matches.
2923 (test_main): Improve range of tests, reduce unaligned cases.
2924
a173d09f
WD
29252019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2926
2927 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2928 (basic_memmem): Add function.
2929 (twoway_memmem): Add function.
2930
6103c0a8
WD
29312019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2932
2933 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2934 * benchtests/bench-malloc-thread.c: Likewise.
2935 * benchtests/bench-skeleton.c: Likewise.
2936 * benchtests/bench-strtod.c: Likewise.
2937 * benchtests/bench-timing.h: Likewise.
2938
33322186
FW
29392019-04-08 Florian Weimer <fweimer@redhat.com>
2940
2941 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2942 definitions.
2943 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2944 RES_INSECURE2 security checks.
2945 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2946 RES_INSECURE2 handling.
2947
3f8b44be
FW
29482019-04-08 Florian Weimer <fweimer@redhat.com>
2949
2950 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2951 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2952 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2953 GETHOSTBYNAME.
2954 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2955 (tests-internal): Update justification for tst-resolv-res_init,
2956 tst-resolv-res_init-thread.
2957 (tst-res_use_inet6): Remove target.
2958 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2959 * resolv/res_debug.c (p_option): Remove "inet6" support.
2960 * resolv/res_init.c (res_setoptions): Likewise.
2961 * resolv/res_use_inet6.h: Remove file.
2962 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2963 definition.
2964 (res_use_inet6): Always return false.
2965 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2966 * resolv/resolv_context.h: Adjust file comment.
2967 (struct resolv_context): Update comment on __next field.
2968 (__resolv_context_put): Update comment.
2969 * resolv/tst-res_use_inet6.c: Remove file.
2970 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2971 "inet6" support.
2972 (test_cases): Adjust test case.
2973 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2974 (thread_byname2_af_inet6): Use old byname_inet6 code.
2975 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2976 (gai): Remove do_inet6 argument.
2977 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2978 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2979 (thread_gai_unspec_inet6): Remove functions.
2980 (do_test): Adjust thread_funcs.
2981 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2982 RES_USE_INET6 flag.
2983 (gaih_inet): Do not disable RES_USE_INET6 flag.
2984
6b5c8607 29852019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
2986
2987 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2988 and remove redundant code.
2989
e3fd0b0e
AZ
29902019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2991
f82ed45d
AZ
2992 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2993 New rule.
2994 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2996 Likewise.
2997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2998 Likewise.
2999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3000 Likewise.
3001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3002 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3003 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3004 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3005 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3006 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3008 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3009 wcsrchr-power7.
3010 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3013 Remove wcsrchr optimizations.
3014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3015
662c2cc4
AZ
3016 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3017 the loop unroll.
3018
421e3005
AZ
3019 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3020 New rule.
3021 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3023 Likewise.
3024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3025 Likewise.
3026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3027 Likewise.
3028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3029 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3030 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3031 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3032 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3033 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3035 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3036 wcschr-power7.
3037 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3040 Remove wcschr optimizations.
3041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3042
7ba0100c
AZ
3043 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3044 the loop unroll.
3045
447a1306
AZ
3046 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3047 New rule.
3048 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3050 Likewise.
3051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3052 Likewise.
3053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3054 Likewise.
3055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3056 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3059 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3062 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3063 wcscpy-power7.
3064 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3067 Remove wcscpy optimizations.
3068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3069
e3fd0b0e
AZ
3070 * include/loop_unroll.h: New file.
3071 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3072 besides generic implementation.
3073
8260f236
DD
30742019-04-03 DJ Delorie <dj@redhat.com>
3075
3076 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3077 snprintf truncating output.
3078
0bd545ee
DD
30792019-04-02 DJ Delorie <dj@redhat.com>
3080
3081 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3082 warning.
3083
466afec3
TS
30842019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3085
3086 [BZ #22964]
3087 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3088 era.
3089 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3090 (mkreftable): Add rules for the new Japanese era and the new dates.
3091
2f1d6155
TS
30922019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3093 Rafal Luzynski <digitalfreak@lingonborough.com>
3094
3095 * time/tst-strftime2.c (date_t): Explicitly define the type.
3096 (dates): Use natural month and year numbers to express a date.
3097 (is_before): New function to compare dates.
3098 (mkreftable): Minor improvements to simplify maintenance.
3099 (do_test): Reflect the changes in dates array.
3100
84aea169
TS
3101 [BZ #24293]
3102 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3103 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3104 * time/tst-strftime2.c (locales): Likewise.
3105 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3106 2010-04-01, and 2011-04-01.
3107 (mkreftable): Add rules for the new locales and the new dates.
3108
62449176
CD
31092019-04-01 Carlos O'Donell <carlos@redhat.com>
3110
3111 * localedata/locales/ja_JP: Add comments to era entries.
3112
e0e4c321
DD
31132019-04-01 DJ Delorie <dj@redhat.com>
3114
3115 [BZ #24394]
3116 * time/strptime_l.c (%Ey): Fix fencepost error.
3117 * time/tst-strftime3.c: New.
3118 * time/Makefile (tests): Add tst-strftime3.
3119
6b5c8607 31202019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
3121
3122 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3123 conditional branch to DIVBYZERO. Fix unwind info.
3124 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3125 excb after conditional branch to $powerof2. Add missing unop
3126 instructions and .align directives and reorder instructions to
3127 match __divqu.
3128
d5ecee82
RH
31292019-04-01 Richard Henderson <rth@twiddle.net>
3130
3131 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3132 Do not redefine.
3133 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3134 Do not redefine.
3135
656dd306
MR
31362019-03-30 Maciej W. Rozycki <macro@wdc.com>
3137
3138 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3139 $libc_cv_riscv_float_abi in `test' invocation.
3140 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3141
10cce669
PC
31422019-03-29 Paul A. Clarke <pc@us.ibm.com>
3143
3144 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3145 asm with builtin.
3146 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3147 Likewise.
3148 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3149 (_GET_SI_FPSCR): Likewise.
3150 (_SET_SI_FPSCR): Likewise.
3151
5e67e4bf 31522019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
3153
3154 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3155 clang 2.8.
3156 (signbit): Use builtin for clang 3.3.
3157 (isinf): Use builtin for clang 3.7.
3158
01963891
AZ
31592019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3160
3161 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3162
67112f7a
AH
31632019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3164
3165 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3166 quote in printf.
3167
7a773abf
MC
31682019-03-25 Mike Crowe <mac@mcrowe.com>
3169
82849fde
MC
3170 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3171 pthread_rwlock_timedrdlock with calls to
3172 pthread_rwlock_timedwrlock to ensure that the latter is tested
3173 too. Use new function name in diagnostic messages too.
3174
7a773abf
MC
3175 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3176 (do_test) Use libsupport test macros rather than hand-coded
3177 conditionals and error messages. Ensure that sem_init returns zero
3178 rather than not -1. Use <support/test-driver.c> rather than
3179 test-skeleton.c.
3180
3181 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3182 test macros rather than hand-coded conditionals and error messages.
3183 Use <support/test-driver.c> rather than test-skeleton.c.
3184
9ac2de69
JM
31852019-03-25 Joseph Myers <joseph@codesourcery.com>
3186
d7563e62
JM
3187 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3188
9ac2de69
JM
3189 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3190 (NT_MIPS_MSA): Likewise.
3191
38cc11da
AZ
31922019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3193
7621e38b
WD
3194 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3195 * benchtests/README: Update description.
3196 * benchtests/bench-timing.h: Default to hp-timing.
3197 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3198 HP_TIMING_PRINT): Remove.
3199 (HP_TIMING_NOW): Add generic implementation.
3200 (hp_timing_t): Change to uint64_t.
3201
1e372ded
AZ
3202 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3203 HP_TIMING_INLINE.
3204 * nptl/descr.h: Likewise.
3205 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3206 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3207 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3208 Abstract hp-timing usage with RTLD_* macros.
3209 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3210 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3211 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3212 HP_TIMING_NONAVAIL): Likewise.
3213 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3214 Likewise.
3215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3216 HP_SMALL_TIMING_AVAIL): Likewise.
3217 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3218 HP_SMALL_TIMING_AVAIL): Likewise.
3219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3220 HP_SMALL_TIMING_AVAIL): Likewise.
3221 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3222 HP_SMALL_TIMING_AVAIL): Likewise.
3223 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3224 Likewise.
3225 * sysdeps/generic/hp-timing-common.h: Update comment with
3226 HP_TIMING_AVAIL removal.
3227
359653aa
AZ
3228 * include/random-bits.h: New file.
3229 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3230 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3231 random_bits.
3232 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3233 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3234 Likewise.
3235
6e8ba7fd
AZ
3236 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3237 * rt/Makefile (clock-routines): Remove get_clockfreq.
3238 * rt/get_clockfreq.c: Remove file.
3239 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3240 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3243 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3244
77b6f553
AZ
3245 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3246 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3247 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3248 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3249 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3250
38cc11da
AZ
3251 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3252 pthread_clock_settime.
3253 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3254 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3255 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3256 * elf/rtld.c (_dl_start_final): Likewise.
3257 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3258 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3259 Remove.
3260 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3261 (_dl_cpuclock_offset): Remove.
3262 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3263 cpuclock_offset_ununsed.
3264 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3265 cpuclock_offset set.
3266 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3267 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3268 * nptl/pthread_clock_gettime.c: Remove file.
3269 * nptl/pthread_clock_settime.c: Likewise.
3270 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3271 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3272 and CLOCK_PROCESS_CPUTIME_ID support.
3273 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3274 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3275 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3276 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3277 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3278 Likewise.
3279 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3280
421749d6
SL
32812019-03-22 Stefan Liebler <stli@linux.ibm.com>
3282
3283 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3284 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3285 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3286 New defines.
3287 * sysdeps/s390/memmem-arch13.S: New file.
3288 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3289 if it is only used as fallback.
3290 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3291 * sysdeps/s390/multiarch/ifunc-impl-list.c
3292 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3293
6f47401b
SL
32942019-03-22 Stefan Liebler <stli@linux.ibm.com>
3295
3296 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3297 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3298 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3299 New defines.
3300 * sysdeps/s390/multiarch/ifunc-impl-list.c
3301 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3302 * sysdeps/s390/strstr-arch13.S: New file.
3303 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3304 if it is only used as fallback.
3305 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3306
96fbb9a3
SL
33072019-03-22 Stefan Liebler <stli@linux.ibm.com>
3308
3309 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3310 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3311 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3312 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3313 ifunc selector.
3314 * sysdeps/s390/multiarch/ifunc-impl-list.c
3315 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3316 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3317 S390_IS_ARCH13_MIE3): New defines.
3318
a899a551
SL
33192019-03-22 Stefan Liebler <stli@linux.ibm.com>
3320
3321 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3322 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3323 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3324 * sysdeps/s390/configure: Regenerated.
3325
1a7df49c
SL
33262019-03-22 Stefan Liebler <stli@linux.ibm.com>
3327
3328 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3329 Add vxe2, vxp, dflt, sort flags.
3330 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3331 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3332 capabilities.
3333 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3334 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3335 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3336 HWCAP_S390_DFLT): Define.
3337
5e67e4bf 33382019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
3339
3340 [BZ #24372]
3341 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3342 of compiler warning.
3343 * locale/programs/ld-collate.c (collate_output): Likewise.
3344
ac64195c
DD
33452019-03-21 DJ Delorie <dj@redhat.com>
3346
3347 [BZ #24372]
3348 * iconv/iconvconfig.c (write_output): Replace floating point math
3349 with integer math to avoid imprecise results.
3350 * locale/programs/ld-collate.c (collate_output): Likewise.
3351
61f5e947
SL
33522019-03-21 Stefan Liebler <stli@linux.ibm.com>
3353
3354 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3355 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3356
57ada43c 33572019-03-20 mansayk <6688000@gmail.com>
3358
3359 [BZ #24296]
3360 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3361 (abday): Likewise, but remove the trailing dots.
3362
a2e57f89
JM
33632019-03-19 Joseph Myers <joseph@codesourcery.com>
3364
3365 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3366 macro.
3367 (HWCAP_PACA): Likewise.
3368 (HWCAP_PACG): Likewise.
3369 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3370 Increase to 32.
3371 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3372
e87d8ada
ST
33732019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3374
3375 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3376 should be handled.
3377
477e739b
JM
33782019-03-15 Joseph Myers <joseph@codesourcery.com>
3379
3380 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3381 version to 5.0.
3382 (old_getpagesize): New syscall.
3383
238d60a1
FY
33842019-03-15 Felix Yan <felixonmars@archlinux.org>
3385
3386 [BZ #24293]
3387 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3388 * localedata/locales/cmn_TW (era): Likewise.
3389 * localedata/locales/hak_TW (era): Likewise.
3390 * localedata/locales/lzh_TW (era): Likewise.
3391 * localedata/locales/nan_TW (era): Likewise.
3392
5dde9ef7
DD
33932019-03-14 Adam Maris <amaris@redhat.com>
3394
3395 * malloc/malloc.c (_int_malloc): Check for large bin list
3396 corruption when inserting unsorted chunk.
3397
a0a0dc83
FW
33982019-03-14 Florian Weimer <fweimer@redhat.com>
3399
3400 Remove obsolete, never-implemented XSI STREAMS declarations.
3401 * manual/terminal.texi (Allocation): Remove portability note and
3402 adjust example.
3403 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3404 _SC_STREAMS.
3405 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3406 * sysdeps/unix/inet/Subdirs (streams): Remove.
3407 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3408 (conformtest-headers-UNIX98): Likewise.
3409 (conformtest-headers-XOPEN2K): Likewise.
3410 (conformtest-headers-POSIX2008): Likewise.
3411 * posix/compat-streams.c: New file.
3412 * posix/Makefile (routines): Add it.
3413 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3414 getpmsg, isastream, putmsg, putpmsg.
3415 (GLIBC_2.30): New section.
3416 * bits/stropts.h: Remove file.
3417 * bits/xtitypes.h: Likewise.
3418 * conform/data/stropts.h-data: Likewise.
3419 * include/stropts.h: Likewise.
3420 * include/sys/stropts.h: Likewise.
3421 * include/xtitypes.h: Likewise.
3422 * streams/Makefile: Likewise.
3423 * streams/fattach.c: Likewise.
3424 * streams/fdetach.c: Likewise.
3425 * streams/getmsg.c: Likewise.
3426 * streams/getpmsg.c: Likewise.
3427 * streams/isastream.c: Likewise.
3428 * streams/putmsg.c: Likewise.
3429 * streams/putpmsg.c: Likewise.
3430 * streams/stropts.h: Likewise.
3431 * streams/sys/stropts.h: Likewise.
3432 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3433 * sysdeps/s390/bits/xtitypes.h: Likewise.
3434 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3435 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3436 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3437 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3438 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3439 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3440 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3441 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3442 * sysdeps/x86/bits/xtitypes.h: Likewise.
3443
081bdf94
FW
34442019-03-14 Florian Weimer <fweimer@redhat.com>
3445
3446 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3447 libnss_files.
3448 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3449 but not with libnss_files.
3450 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3451
97f8225d
ZW
34522019-03-14 Zack Weinberg <zackw@panix.com>
3453
3454 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3455 Specify encoding="utf-8" when opening headers to check.
3456
0c1041ee
JM
34572019-03-13 Joseph Myers <joseph@codesourcery.com>
3458
3459 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3460 version to 5.0.
3461 (Context.checkout_tar): Handle variable major version for Linux
3462 kernel.
3463
043440e7
FW
34642019-03-13 Florian Weimer <fweimer@redhat.com>
3465
3466 [BZ #24047]
3467 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3468
29218b26
ZW
34692019-03-13 Zack Weinberg <zackw@panix.com>
3470
3471 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3472 Move to stdlib.
3473 * include/inttypes.h: Adjust to match.
3474 * include/stdint.h: New wrapper.
3475
711a322a
ZW
34762019-03-13 Zack Weinberg <zackw@panix.com>
3477
3478 * scripts/check-obsolete-constructs.py: New test script.
3479 * scripts/check-installed-headers.sh: Remove tests for
3480 obsolete typedefs, superseded by check-obsolete-constructs.py.
3481 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3482 as a special test. Update commentary.
3483 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3484 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3485 Update commentary.
3486 * posix/sys/types.h (__u_intN_t): Remove.
3487 (u_int8_t): Typedef using __uint8_t.
3488 (u_int16_t): Typedef using __uint16_t.
3489 (u_int32_t): Typedef using __uint32_t.
3490 (u_int64_t): Typedef using __uint64_t.
3491
7c651308
SL
34922019-03-13 Stefan Liebler <stli@linux.ibm.com>
3493
3494 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3495 call _dl_procinfo.
3496 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3497 Ignore types other than AT_HWCAP.
3498 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3499 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3500 Likewise.
3501 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3502 in the case of falling back to generic output mechanism.
3503 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3504 Likewise.
3505
38b52865
FW
35062019-03-12 Florian Weimer <fweimer@redhat.com>
3507
3508 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3509
08504de7
FW
35102019-03-12 Florian Weimer <fweimer@redhat.com>
3511
3512 [BZ #24047]
3513 resolv: Enable full ICMP errors for UDP DNS sockets
3514 * resolv/res_enable_icmp.c: New file.
3515 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3516 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3517 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3518 socket.
3519
5fbcd763
MH
35202019-03-11 Mao Han <han_mao@c-sky.com>
3521
3522 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3523 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3524
c4e5f34b
MH
35252019-03-11 Mao Han <han_mao@c-sky.com>
3526
3527 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3528 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3529 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3530
827e30f3
MH
35312019-03-11 Mao Han <han_mao@c-sky.com>
3532
3533 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3534 directly.
3535 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3536 definition.
3537
6229c9bf
MH
35382019-03-11 Mao Han <han_mao@c-sky.com>
3539
3540 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3541 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3542 in mcontext_t
3543
86bdd49d
MF
35442019-03-08 Mike FABIAN <mfabian@redhat.com>
3545
3546 [BZ #24307]
3547 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3548 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3549 Unicode 12.0.0.
3550 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3551 * localedata/unicode-gen/PropList.txt: Likewise.
3552 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3553 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3554 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3555 * localedata/charmaps/UTF-8: Regenerate.
3556 * localedata/locales/i18n_ctype: Likewise.
3557 * localedata/locales/tr_TR: Likewise.
3558 * localedata/locales/translit_circle: Likewise.
3559 * localedata/locales/translit_cjk_compat: Likewise.
3560 * localedata/locales/translit_combining: Likewise.
3561 * localedata/locales/translit_compat: Likewise.
3562 * localedata/locales/translit_font: Likewise.
3563 * localedata/locales/translit_fraction: Likewise.
3564
c5f65462
JM
35652019-03-07 Joseph Myers <joseph@codesourcery.com>
3566
3567 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3568 than after operators.
3569 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3570 (setitimer_locked): Likewise.
3571 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3572 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3573 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3574 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3575 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3576 (PPC_CPU_SUPPORTED): Likewise.
3577 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3578 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3579 (stat_overflow): Likewise.
3580 (statfs_overflow): Likewise.
3581 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3582 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3583 (eq_ttyname_r): Likewise.
3584 (run_chroot_tests): Likewise.
3585
27a2f2f3
FW
35862019-03-07 Florian Weimer <fweimer@redhat.com>
3587
3588 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3589 header check.
3590
ae514971 35912019-03-07 Martin Liska <mliska@suse.cz>
3592
3593 * math/Makefile: Change location where math-vector-fortran.h is
3594 installed.
3595 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3596 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3597 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3598 * scripts/check-installed-headers.sh: Skip Fortran header files.
3599 * scripts/check-wrapper-headers.py: Likewise.
3600
0ddb7ea8
AZ
36012019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3602
3603 * nptl/nptl-init.c (__have_futex_clock_realtime,
3604 __have_futex_clock_realtime): Remove definition.
3605 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3606 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3607 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3608 __ASSUME_FUTEX_CLOCK_REALTIME support.
3609 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3610 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3611 * sysdeps/unix/sysv/linux/kernel-features.h
3612 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3613 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3614 Adjust comment.
3615
590675c0
GG
36162019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3617
3618 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3619 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3620 __GI___wcscpy and wcscpy.
3621
de71ee7b
FW
36222019-03-04 Florian Weimer <fweimer@redhat.com>
3623
3624 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3625 declaration.
3626 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3627 defined.
3628
ce6ddae0
SL
36292019-03-04 Stefan Liebler <stli@linux.ibm.com>
3630
3631 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3633
31efface
TS
36342019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3635
3636 [BZ #24162]
3637 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3638 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3639
f0eaf862
GG
36402019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3641
3642 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3643 tests.
3644 (do_test): Likewise.
3645 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3646 (do_test_call_varg): Likewise.
3647 (do_test_call_rarg): Likewise.
3648 * sysdeps/ieee754/ldbl-opt/Makefile
3649 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3650 tst-nldbl-error.
3651 ($(objpfx)tst-nldbl-warn.c): New rule.
3652 ($(objpfx)tst-nldbl-error.c): Likewise.
3653 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3654 New variables.
3655
d11086a9
GG
36562019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3657
3658 [BZ #23984]
3659 * include/bits/error-ldbl.h: New file.
3660 * include/error.h: Include stdarg.h. Declare internal functions
3661 __error_internal and __error_at_line_internal.
3662 * misc/Makefile (headers): Add bits/error-ldbl.h.
3663 * misc/bits/error-ldbl.h: New file.
3664 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3665 avoid the inclusion of bits/error.h.
3666 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3667 and __nldbl_error_at_line.
3668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3669 (__nldbl_error, __ndlbl_error_at_line): New functions.
3670 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3671 Redirect error and error_at_line.
3672 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3676 Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3678 Likewise.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3680 Likewise.
3681 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3682 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3683 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3684
90188e7d
GG
36852019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3686
3687 [BZ #23984]
3688 * include/bits/err-ldbl.h: New file.
3689 * include/err.h: Add prototypes for the internal functions:
3690 __vwarnx_internal and __vwarn_internal.
3691 * misc/Makefile (headers): Add bits/err-ldbl.h.
3692 * misc/bits/err-ldbl.h: New file.
3693 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3694 defined, i.e.: when -mlong-double-64 is in use.
3695 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3696 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3697 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3698 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3699 (VA_CALL): New macro.
3700 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3701 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3702 functions.
3703 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3704 declare prototypes for the new functions.
3705 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3707 Likewise.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3709 Likewise.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3711 Likewise.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3713 Likewise.
3714 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3715 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3716 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3717
ea2d89d0
GG
37182019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3719
3720 * sysdeps/ieee754/ldbl-opt/Makefile
3721 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3722 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3723 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3724
6e1f6440
GG
37252019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3726
3727 [BZ #23983]
3728 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3729 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3730 * argp/bits/argp-ldbl.h: New file.
3731 * include/argp.h: Include stdarg.h. Add prototypes for internal
3732 functions: __argp_error_internal and __argp_failure_internal.
3733 * include/bits/argp-ldbl.h: New file.
3734 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3735 __nldbl_argp_error and __nldbl_argp_failure.
3736 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3737 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3738 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3739 Redirect argp_error and argp_failure calls.
3740 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3742 Likewise.
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3746 Likewise.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3750 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3752
c259196b
FW
37532019-03-01 Florian Weimer <fweimer@redhat.com>
3754
3755 [BZ #20419]
3756 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3757 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3758 code, to avoid creating an ABI tag note.
3759 (modules-names-nobuild): Add tst-big-note-lib.
3760
928b305d
SL
37612019-03-01 Stefan Liebler <stli@linux.ibm.com>
3762
3763 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3764 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3765
36f30c10
FW
37662019-03-01 Florian Weimer <fweimer@redhat.com>
3767
3768 [BZ #20271]
3769 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3770 (__netlink_assert_response): Add additional missing newlines.
3771
462e83a4
JM
37722019-02-28 Joseph Myers <joseph@codesourcery.com>
3773
3774 * sysdeps/powerpc/powerpc32/dl-machine.c
3775 (__elf_machine_fixup_plt): Use space before '('.
3776 (__process_machine_rela): Likewise.
3777 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3778 Likewise.
3779 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3780 Likewise.
3781 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3782 Likewise.
3783 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3784 (pattern): Likewise.
3785 (delta): Likewise.
3786 (check_result): Likewise.
3787 (check_excepts): Likewise.
3788 (check_op): Likewise.
3789 (fail_xr): Likewise.
3790 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3791 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3792 (SCNHSZ): Likewise.
3793 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3794 Likewise.
3795 (ARGS): Likewise.
3796 (__makecontext): Likewise.
3797 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3798 Likewise.
3799
cc3e573c
FW
38002019-02-28 Florian Weimer <fweimer@redhat.com>
3801
3802 [BZ #23937]
3803 elf: Add test with a local IFUNC resolver.
3804 * elf/ifuncmain9.c: New file.
3805 * elf/ifuncmain9pic.c: Likewise.
3806 * elf/ifuncmain9picstatic.c: Likewise.
3807 * elf/ifuncmain9pie.c: Likewise.
3808 * elf/ifuncmain9static.c: Likewise.
3809 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3810 ifuncmain9static, ifuncmain9picstatic.
3811 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3812 Add ifuncmain9, ifuncmain9pic.
3813 * elf/Makefile [multi-arch && build-shared && have-fpie]
3814 (ifunc-pie-tests): Add ifuncmain9pie.
3815 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3816 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3817 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3818
92ad88fe
L
38192019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3820
3821 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3822 * configure: Regenerated.
3823 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3824
6bd4d02e
AZ
38252019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3826
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3828 symbol as __wcspcy instead of wcscpy.
3829
1b218417
ST
38302019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3831
3832 * include/stdio.h (__renameat2): New hidden prototype.
3833 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3834 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3835 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3836 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3837
c4f50205
JM
38382019-02-27 Joseph Myers <joseph@codesourcery.com>
3839
f627dd4d
JM
3840 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3841 if statement.
3842
c4f50205
JM
3843 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3844 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3845 * benchtests/bench-strlen.c (do_test): Likewise.
3846 (test_main): Likewise.
3847 * catgets/gencat.c (read_old): Likewise.
3848 * elf/cache.c (load_aux_cache): Likewise.
3849 * iconvdata/bug-iconv8.c (do_test): Likewise.
3850 * math/test-tgmath-ret.c (do_test): Likewise.
3851 * nis/nis_call.c (rec_dirsearch): Likewise.
3852 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3853 * nptl/tst-audit-threads.c (do_test): Likewise.
3854 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3855 * nss/nss_test1.c (init): Likewise.
3856 * nss/test-netdb.c (test_hosts): Likewise.
3857 * posix/execvpe.c (maybe_script_execute): Likewise.
3858 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3859 * stdio-common/tst-printf.c (do_test): Likewise.
3860 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3861 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3862 * stdlib/qsort.c (STACK_SIZE): Likewise.
3863 * stdlib/test-canon.c (do_test): Likewise.
3864 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3865 * string/memcmp.c (OPSIZ): Likewise.
3866 * string/test-strcpy.c (do_test): Likewise.
3867 (do_random_tests): Likewise.
3868 * string/test-strlen.c (do_test): Likewise.
3869 (test_main): Likewise.
3870 * string/test-strrchr.c (do_test): Likewise.
3871 (do_random_tests): Likewise.
3872 * string/tester.c (test_memrchr): Likewise.
3873 (test_memchr): Likewise.
3874 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3875 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3876 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3877 (read_encoded_value_with_base): Likewise.
3878 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3879 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3880 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3881 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3882 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3883 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3884 Likewise.
3885 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3886 Likewise.
3887 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3888 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3889 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3890 Likewise.
3891 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3892 Likewise.
3893 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3894 Likewise.
3895 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3896 Likewise.
3897 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3898 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3899 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3900 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3901 * time/test_time.c (main): Likewise.
3902
7b3fb620
AZ
39032019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3904
457208b1
AZ
3905 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3906
30a7e208
AZ
3907 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3908 wmemcpy.
3909
ddf21ec7
AZ
3910 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3911 wmemcpy.
3912
4d801563
AZ
3913 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3914
81a14439
AZ
3915 * include/wchar.h (__wcscpy): New prototype.
3916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3917 (__wcscpy): Route internal symbol to generic implementation.
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3919 Add internal __wcscpy alias.
3920 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3921 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3922 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3923 * wcsmbs/wcscpy.c (wcscpy): Add
3924 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3925 use generic implementation.
3926 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3927
39ef0744
AZ
3928 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3929 wmemset.
3930
7b3fb620
AZ
3931 * sysdeps/m68k/wcpcpy.c: Remove file.
3932 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3933
e0cb7b61
JM
39342019-02-26 Joseph Myers <joseph@codesourcery.com>
3935
aa0e4663
JM
3936 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3937 than after operators.
3938 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3939 * sysdeps/mach/hurd/getcwd.c
3940 (__hurd_canonicalize_directory_name_internal): Likewise.
3941 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3942 (pthread_mutex_consistent): Likewise.
3943 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3944 Likewise.
3945 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3946 (__pthread_mutex_transfer_np): Likewise.
3947 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3948 (__pthread_mutex_unlock): Likewise.
3949 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3950 (mtx_owned_p): Likewise.
3951 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3952 (pthread_mutexattr_getrobust): Likewise.
3953 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3954 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3955 Likewise.
3956 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3957 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3958 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3959 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3960 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3962 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3963 Likewise.
3964 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3965 Likewise.
3966 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3967 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3968 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3969 (____longjmp_chk): Likewise.
3970 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3971 Likewise.
3972 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3973 (INTERNAL_SYSCALL): Likewise.
3974 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3975 (INTERNAL_SYSCALL): Likewise.
3976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3977 (__get_clockfreq_via_cpuinfo): Likewise.
3978
e0cb7b61
JM
3979 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3980 comments.
3981 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3982 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3983 (WORD_COPY_BWD): Likewise.
3984 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3986 Likewise.
3987 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3988 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3989 comment.
3990 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3991
a04549c1
JM
39922019-02-25 Joseph Myers <joseph@codesourcery.com>
3993
3994 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3995 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3996 rather than after operators.
3997 * elf/cache.c (print_cache): Likewise.
3998 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3999 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4000 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4001 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4002 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4003 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4004 (reauth_proc): Likewise.
4005 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4006 (__file_name_split_at): Likewise.
4007 (__directory_name_split_at): Likewise.
4008 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4009 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4010 * iconv/gconv_dl.c (do_print): Likewise.
4011 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4012 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4013 * locale/setlocale.c (new_composite_name): Likewise.
4014 * malloc/memusagestat.c (main): Likewise.
4015 * misc/fstab.c (fstab_convert): Likewise.
4016 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4017 Likewise.
4018 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4019 (getgrent_next_file): Likewise.
4020 (internal_getgrnam_r): Likewise.
4021 (internal_getgrgid_r): Likewise.
4022 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4023 Likewise.
4024 (internal_getgrent_r): Likewise.
4025 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4026 (getpwent_next_nss): Likewise.
4027 (getpwent_next_file): Likewise.
4028 (internal_getpwnam_r): Likewise.
4029 (internal_getpwuid_r): Likewise.
4030 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4031 Likewise.
4032 (getspent_next_nss): Likewise.
4033 (internal_getspnam_r): Likewise.
4034 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4035 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4036 * string/strchr.c (STRCHR): Likewise.
4037 * string/strchrnul.c (STRCHRNUL): Likewise.
4038 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4039 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4040 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4041 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4042 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4043 Likewise.
4044 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4045 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4046 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4047 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4048 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4049 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4050 (open_file): Likewise.
4051 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4052 (pthread_mutexattr_setprotocol): Likewise.
4053 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4054 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4055 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4056 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4057 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4058 Likewise.
4059 (elf_machine_rela): Likewise.
4060 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4061 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4062 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4063 * sysdeps/posix/rename.c (rename): Likewise.
4064 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4065 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4066 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4067 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4068 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4069 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4070 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4071 Likewise.
4072 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4073 Likewise.
4074 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4075 * time/tzfile.c (__tzfile_compute): Likewise.
4076
34a5a146
JM
40772019-02-22 Joseph Myers <joseph@codesourcery.com>
4078
4079 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4080 rather than after operators.
4081 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4082 * crypt/md5.c (md5_finish_ctx): Likewise.
4083 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4084 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4085 * elf/cache.c (load_aux_cache): Likewise.
4086 * elf/dl-load.c (open_verify): Likewise.
4087 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4088 * elf/readelflib.c (process_elf_file): Likewise.
4089 * elf/rtld.c (dl_main): Likewise.
4090 * elf/sprof.c (generate_call_graph): Likewise.
4091 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4092 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4093 * hurd/dtable.c (reauth_dtable): Likewise.
4094 * hurd/getdport.c (__getdport): Likewise.
4095 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4096 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4097 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4098 Likewise.
4099 * hurd/hurdioctl.c (fioctl): Likewise.
4100 * hurd/hurdselect.c (_hurd_select): Likewise.
4101 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4102 (STOPSIGS): Likewise.
4103 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4104 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4106 * hurd/msgportdemux.c (msgport_server): Likewise.
4107 * hurd/setauth.c (_hurd_setauth): Likewise.
4108 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4109 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4110 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4111 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4112 * login/tst-utmp.c (do_check): Likewise.
4113 (simulate_login): Likewise.
4114 * mach/lowlevellock.h (lll_lock): Likewise.
4115 (lll_trylock): Likewise.
4116 * math/test-fenv.c (ALL_EXC): Likewise.
4117 * math/test-fenvinline.c (ALL_EXC): Likewise.
4118 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4119 * nis/nis_call.c (__do_niscall3): Likewise.
4120 * nis/nis_callback.c (cb_prog_1): Likewise.
4121 * nis/nis_defaults.c (searchaccess): Likewise.
4122 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4123 * nis/nis_ismember.c (internal_ismember): Likewise.
4124 * nis/nis_local_names.c (nis_local_principal): Likewise.
4125 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4126 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4127 Likewise.
4128 * nis/ypclnt.c (yp_match): Likewise.
4129 (yp_first): Likewise.
4130 (yp_next): Likewise.
4131 (yp_master): Likewise.
4132 (yp_order): Likewise.
4133 * nscd/hstcache.c (cache_addhst): Likewise.
4134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4135 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4136 (internal_getpwuid_r): Likewise.
4137 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4138 * posix/glob.h (__GLOB_FLAGS): Likewise.
4139 * posix/regcomp.c (peek_token): Likewise.
4140 (peek_token_bracket): Likewise.
4141 (parse_expression): Likewise.
4142 * posix/regexec.c (sift_states_iter_mb): Likewise.
4143 (check_node_accept_bytes): Likewise.
4144 * posix/tst-spawn3.c (do_test): Likewise.
4145 * posix/wordexp-test.c (testit): Likewise.
4146 * posix/wordexp.c (parse_tilde): Likewise.
4147 (exec_comm): Likewise.
4148 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4149 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4150 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4151 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4152 * stdio-common/tst-fileno.c (do_test): Likewise.
4153 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4154 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4155 * stdlib/strtod_l.c (round_and_return): Likewise.
4156 (____STRTOF_INTERNAL): Likewise.
4157 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4158 * string/strcspn.c (STRCSPN): Likewise.
4159 * string/test-memmem.c (simple_memmem): Likewise.
4160 * termios/tcsetattr.c (tcsetattr): Likewise.
4161 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4162 * time/asctime.c (asctime_internal): Likewise.
4163 * time/strptime_l.c (__strptime_internal): Likewise.
4164 * time/sys/time.h (timercmp): Likewise.
4165 * time/tzfile.c (__tzfile_compute): Likewise.
4166
b0b50fe0
PF
41672019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4168
b39d961c
TS
4169 [BZ #21915]
4170 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 4171
f43b8dd5
GG
41722019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4173
4174 * argp/argp-help.c (__argp_error_internal): New function,
4175 renamed from __argp_error, but that takes a 'mode_flags'
4176 parameter to control the format of long double parameters.
4177 (__argp_error): Converted into a call __argp_error_internal.
4178 (__argp_failure_internal): New function, renamed from
4179 __argp_failure, but that takes a 'mode_flags' parameter.
4180 (__argp_failure): Converted into a call __argp_failure_internal.
4181 * misc/err.c (__vwarnx_internal): New function, renamed from
4182 vwarnx, but that takes a 'mode_flags' parameter.
4183 (vwarnx): Converted into a call to __vwarnx_internal.
4184 (__vwarn_internal): New function, renamed from vwarn, but that
4185 takes a 'mode_flags' parameter.
4186 (vwarn): Converted into a call to __vwarn_internal.
4187 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4188 call to __vfxprintf with 'mode_flags'.
4189 (__error_internal): New function, renamed from error, but that
4190 takes a 'mode_flags' parameter.
4191 (error): Converted into a call to __error_internal.
4192 (__error_at_line_internal): New function, renamed from
4193 error_at_line, but that takes a 'mode_flags' parameter.
4194 (error_at_line): Converted into a call to
4195 __error_at_line_internal.
4196 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4197 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4198 Likewise.
4199
dc0afac3 42002019-02-20 Martin Liska <mliska@suse.cz>
4201
4202 * math/Makefile: Install math-vector-fortran.h.
4203 * bits/math-vector-fortran.h: New file.
4204 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4205
4a2dd41c
GG
42062019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4207
4208 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4209 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4210
04de9302
WS
42112019-02-19 Wolfram Sang <wsa@the-dreams.de>
4212
4213 * nptl/pthread_mutex_trylock.c: Fix comment.
4214
b026ce1e
CD
42152019-02-19 Carlos O'Donell <carlos@redhat.com>
4216
4217 * nptl/pthread_tryjoin.c: Fix comment.
4218
8c9289b6
JM
42192019-02-18 Joseph Myers <joseph@codesourcery.com>
4220
4221 [BZ #24231]
4222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4223 after R_SPARC_H34 case.
4224
308e022f
FW
42252019-02-18 Florian Weimer <fweimer@redhat.com>
4226
4227 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4228 (getanswer): Do not call Dprintf.
4229 (res_gethostbyname2_context): Likewise.
4230 (res_gethostbyaddr_context): Likewise.
4231
a5406364
FW
42322019-02-18 Florian Weimer <fweimer@redhat.com>
4233
4234 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4235 declaration.
4236 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4237 Remove definitions.
4238 * libio/stdfiles.c: Update comment.
4239 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4240 set _IO_stdin, _IO_stdout, _IO_stderr.
4241 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4242 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4243 inline function.
4244 (_IO_deallocate_file): New inline function.
4245 * libio/iolibio.h (_IO_vprintf): Remove definition.
4246 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4247 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4248 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4249 _IO_legacy_file.
4250 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4251 __builtin_expect. Use _IO_legacy_file.
4252
6c29942c
SL
42532019-02-18 Stefan Liebler <stli@linux.ibm.com>
4254
4255 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4256 Initialize ctid with a known value and remove update of ctid
4257 after clone.
4258 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4259 as assumed current value of ctid_ptr.
4260
225d9445 42612019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
4262
4263 Check that non-sysdeps headers have wrapper headers.
4264 * scripts/check-wrapper-headers.py: New file.
4265 * Makefile (tests-special): Add check-wrapper-headers.out.
4266 (check-wrapper-headers.out): New target.
4267 * Rules (tests-special): Add check-wrapper-headers.out.
4268 (check-wrapper-headers.out): New target.
4269
225d9445 42702019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
4271
4272 Add missing header wrappers under include/.
4273 * include/ar.h: New file.
4274 * include/bits/mqueue2.h: Likewise.
4275 * include/bits/stdio.h: Likewise.
4276 * include/bits/stdio2.h: Likewise.
4277 * include/fstab.h: Likewise.
4278 * include/fts.h: Likewise.
4279 * include/lastlog.h: Likewise.
4280 * include/netinet/icmp6.h: Likewise.
4281 * include/netinet/igmp.h: Likewise.
4282 * include/netinet/ip6.h: Likewise.
4283 * include/re_comp.h: Likewise.
4284 * include/regexp.h: Likewise.
4285 * include/rpcsvc/bootparam.h: Likewise.
4286 * include/rpcsvc/yp_prot.h: Likewise.
4287 * include/sys/random.h: Likewise.
4288 * include/sys/stropts.h: Likewise.
4289 * include/sys/ttychars.h: Likewise.
4290 * include/sys/vfs.h: Likewise.
4291 * include/wait.h: Likewise.
4292
225d9445 42932019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
4294
4295 * nptl_db/proc_service.h: Move to ...
4296 * sysdeps/nptl/proc_service.h: ... here.
4297 * nptl_db/thread_db.h: Move to ...
4298 * sysdeps/nptl/thread_db.h: ... here.
4299 * nptl/descr.h: Include <thread_db.h>.
4300
e442e40d
AZ
43012019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4302
4303 * io/Makefile (tests): Add tst-lockf.
4304 * io/lockf.c (lockf): Use __fcntl and only define for
4305 !__OFF_T_MATCHES_OFF64_T.
4306 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4307 __OFF_T_MATCHES_OFF64_T case.
4308 * io/tst-lockf.c: New file.
4309 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4310 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4311 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4312 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4313 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4315 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4316 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4317 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4318
bc10e22c
FW
43192019-02-15 Florian Weimer <fweimer@redhat.com>
4320
4321 [BZ #24211]
4322 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4323 pd->result after the thread descriptor has been freed.
4324
365f05c7
JM
43252019-02-15 Joseph Myers <joseph@codesourcery.com>
4326
8a11f970
JM
4327 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4328 from function return type.
4329
365f05c7
JM
4330 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4331
6b5c8607 43322019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
4333
4334 * scripts/test_printers_common.py: Set TERM to a known harmless
4335 value.
4336
712182c8
JM
43372019-02-14 Joseph Myers <joseph@codesourcery.com>
4338
4339 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4340 (xdr_u_int): Likewise.
4341 (xdr_enum): Likewise.
4342 (xdr_bytes): Reword fall-through comment.
4343 (xdr_string): Likewise.
4344
eb76e5b4
AZ
43452019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4346
4347 [BZ #2421]
4348 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4349 (tests): Add tst-join8 tst-join9.
4350 * nptl/lll_timedwait_tid.c: Remove file.
4351 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4352 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4353 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4354 * nptl/pthread_join_common.c (timedwait_tid): New function.
4355 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4356 is set.
4357 * nptl/tst-join5.c (thread_join): New function.
4358 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4359 check.
4360 * nptl/tst-join8.c: New file.
4361 * nptl/tst-join9.c: Likewise.
4362 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4363 lll_futex_timed_wait_cancel): Add generic macros.
4364 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4365 Remove definitions.
4366 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4368 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4369 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4370 Remove function.
4371 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4372 Likewise.
4373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4374 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4375 (lll_futex_timed_wait_cancel): New macro.
4376
3904fd85
WD
43772019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4378
4379 * benchtests/Makefile: Add malloc-simple benchmark.
4380 * benchtests/bench-malloc-simple.c: New benchmark.
4381
24ca04fe
SP
43822019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4383
4384 * benchtests/bench-memmove.c (do_one_test): Remove unused
4385 ORIG_SRC.
4386 (do_test): Adjust.
4387 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4388 ORIG_SRC.
4389 (do_test): Adjust.
4390
85bd1ddb
JW
43912019-01-13 Jim Wilson <jimw@sifive.com>
4392
4393 [BZ #24040]
4394 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4395 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4396 (func): New.
4397 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4398 call func directly.
4399 * nptl/Makefile (tests): Add tst-unwind-thread.
4400 (CFLAGS-tst-unwind-thread.c): Define.
4401 * nptl/tst-unwind-thread.c: New file.
4402 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4403 as undefined.
4404
86140c62
JM
44052019-02-13 Joseph Myers <joseph@codesourcery.com>
4406
10756268
JM
4407 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4408 comment wording.
4409 * nis/nis_call.c (__do_niscall3): Likewise.
4410
05383720
JM
4411 * catgets/gencat.c (normalize_line): Use braces around empty
4412 'else' body.
4413 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4414 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4415 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4416 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4417 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4418 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4419 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4420 definition.
4421
86140c62
JM
4422 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4423 execlp returns.
4424
16f87cfd
WD
44252019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4426
4427 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4428 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4429 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4430 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4431 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4432 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4433 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4434 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4435 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4436 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4437 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4438 * benchtests/bench-bcopy.c: Delete file.
4439 * benchtests/bench-bzero.c: Likewise.
4440 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4441 (simple_memccpy): Remove.
4442 (generic_memccpy): Add function.
4443 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4444 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4445 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4446 (generic_mempcpy): Add new function.
4447 * benchtests/bench-memset.c (simple_bzero): Remove.
4448 (builtin_bzero): Remove.
4449 (builtin_memset): Remove.
4450 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4451 (generic_rawmemchr): Add new function.
4452
0c6d82e9
FW
44532019-02-12 Florian Weimer <fweimer@redhat.com>
4454
4455 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4456
b3fbfe81
AZ
44572019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4458
4459 [BZ #24122]
4460 * elf/Makefile (tests): Add tst-audit13.
4461 (modules-names): Add tst-audit13mod1.
4462 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4463 rule.
4464 * elf/tst-audit13.c: New file.
4465 * elf/tst-audit13mod1.c: Likewise.
4466
3b856d09
FW
44672019-02-12 Florian Weimer <fweimer@redhat.com>
4468
4469 [BZ #24122]
4470 * elf/rtld.c (unload_audit_module): New function.
4471 (report_audit_module_load_error): Likewise.
4472 (load_audit_module): Likewise. Extracted from dl_main. Call
4473 _dl_close if the laversion symbol cannot be found. Use early
4474 returns for error handling. Add malloc error check. Check for a
4475 zero return value from la_version. Remove spurious comment about
4476 static TLS initialization. Remove useless casts.
4477 (notify_audit_modules_of_loaded_object): New function. Extracted
4478 from dl_main.
4479 (load_audit_module): Likewise.
4480 (dl_main): Call load_audit_modules.
4481
32db86d5
JM
44822019-02-12 Joseph Myers <joseph@codesourcery.com>
4483
4484 * elf/dl-exception.c (_dl_exception_create_format): Add
4485 fall-through comments.
4486 * elf/ldconfig.c (parse_conf_include): Likewise.
4487 * elf/rtld.c (print_statistics): Likewise.
4488 * locale/programs/charmap.c (parse_charmap): Likewise.
4489 * misc/mntent_r.c (__getmntent_r): Likewise.
4490 * posix/wordexp.c (parse_arith): Likewise.
4491 (parse_backtick): Likewise.
4492 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4493 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4495
a51bc4fe
PC
44962019-02-11 Paul A. Clarke <pc@us.ibm.com>
4497
4498 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4499 Use float instead of double.
4500
fb25b135
TS
45012019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4502
4503 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4504
32ea7299
JM
45052019-02-08 Joseph Myers <joseph@codesourcery.com>
4506
4507 * sysdeps/powerpc/bits/mathinline.h: Remove.
4508
eef4d4f8
FW
45092019-02-08 Florian Weimer <fweimer@redhat.com>
4510
4511 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4512 * math/bits/math-finite.h: Move to ...
4513 * bits/math-finite.h: ... here.
4514
fdfbd47d
FW
45152019-02-08 Florian Weimer <fweimer@redhat.com>
4516
4517 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4518 * bits/unistd_ext.h: here.
4519
11eb21c4
PF
45202019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4521
4522 [BZ #21915]
4523 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4524 * nss/tst-nss-files-hosts-long.c: New file.
4525 * nss/tst-nss-files-hosts-long.root: New directory.
4526 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4527 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4528
e47d82c9
FW
45292019-02-08 Florian Weimer <fweimer@redhat.com>
4530
4531 * include/bits/unistd_ext.h: Remove file.
4532 * posix/bits/unistd_ext.h: Move to ...
4533 * sysdeps/generic/bits/unistd_ext.h: ... here.
4534
8f89ab21
FW
45352019-02-08 Florian Weimer <fweimer@redhat.com>
4536
4537 * include/bits/unistd_ext.h: New file.
4538
144a794e
TS
45392019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4540
4541 * time/tst-strftime2.c: Use array_length macros instead of magic
4542 numbers.
4543
669ff911
FW
45442019-02-08 Florian Weimer <fweimer@redhat.com>
4545
4546 [BZ #24161]
4547 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4548 argument.
4549 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4550 locking if the new do_locking argument is true.
4551 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4552 __run_fork_handlers.
4553
d0bd87d4 45542019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
4555
4556 [BZ #6399]
4557 Linux: Add gettid system call wrapper.
4558 * posix/Makefile (headers): Add bits/unistd_ext.h.
4559 * posix/bits/unistd_ext.h: New file.
4560 * posix/unistd.h: Include it.
4561 * manual/process.texi (Process Identification): Document gettid.
4562 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4563 tst-gettid, tst-gettid-kill.
4564 (tst-gettid): Link with $(shared-thread-library).
4565 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4566 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4567 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4568 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4569 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4570 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4571 Add gettid.
4572 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4573 Likewise.
4574 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4575 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4576 Likewise.
4577 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4578 Likewise.
4579 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4580 Likewise.
4581 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4582 Likewise.
4583 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4584 Likewise.
4585 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4586 Likewise.
4587 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4588 Likewise.
4589 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4590 (GLIBC_2.30): Likewise.
4591 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4592 (GLIBC_2.30): Likewise.
4593 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4594 (GLIBC_2.30): Likewise.
4595 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4596 (GLIBC_2.30): Likewise.
4597 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4598 Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4600 (GLIBC_2.30): Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4602 (GLIBC_2.30): Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4604 (GLIBC_2.30): Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4606 (GLIBC_2.30): Likewise.
4607 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4608 Likewise.
4609 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4610 Likewise.
4611 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4612 Likewise.
4613 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4615 Likewise.
4616 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4619 Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4621 Likewise.
4622 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4623
225d9445 46242019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
4625
4626 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4627 compatibility symbols.
4628
823624bd
SL
46292019-02-07 Stefan Liebler <stli@linux.ibm.com>
4630
4631 [BZ #24180]
4632 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4633 Add compiler barriers and comments.
4634
8311c83f
FW
46352019-02-07 Florian Weimer <fweimer@redhat.com>
4636
4637 * include/array_length.h (array_length): Do not use a statement
4638 expression and _Static_assert, so that array_length can be used at
4639 file scope and as a constant expression.
4640
94b63e66
FW
46412019-02-07 Florian Weimer <fweimer@redhat.com>
4642
4643 * support/xdlfcn.h (xdlmopen): Declare.
4644 * support/xdlmopen.c: New file.
4645 * support/Makefile (libsupport-routines): Add xdlmopen.
4646
c2d8f0b7
JM
46472019-02-06 Joseph Myers <joseph@codesourcery.com>
4648
4649 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4650 before return type, without separate inline.
4651 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4652 * elf/dl-tunables.h (tunable_is_name): Likewise.
4653 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4654 (do_set_top_pad): Likewise.
4655 (do_set_mmap_threshold): Likewise.
4656 (do_set_mmaps_max): Likewise.
4657 (do_set_mallopt_check): Likewise.
4658 (do_set_perturb_byte): Likewise.
4659 (do_set_arena_test): Likewise.
4660 (do_set_arena_max): Likewise.
4661 (do_set_tcache_max): Likewise.
4662 (do_set_tcache_count): Likewise.
4663 (do_set_tcache_unsorted_limit): Likewise.
4664 * nis/nis_subr.c (count_dots): Likewise.
4665 * nptl/allocatestack.c (advise_stack_range): Likewise.
4666 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4667 (do_sin): Likewise.
4668 (reduce_sincos): Likewise.
4669 (do_sincos): Likewise.
4670 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4671 (do_set_elision_enable): Likewise.
4672 (TUNABLE_CALLBACK_FNDECL): Likewise.
4673
3b935595
FW
46742019-02-06 Florian Weimer <fweimer@redhat.com>
4675
4676 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4677 (xdlsym): Use dlerror to detect a NULL symbol.
4678
b4333340
FW
46792019-02-06 Florian Weimer <fweimer@redhat.com>
4680
4681 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4682 <stap-probe.h>.
4683 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4684
b6d8a999
SL
46852019-02-06 Stefan Liebler <stli@linux.ibm.com>
4686
4687 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4688
94eeeec0
SL
46892019-02-06 Stefan Liebler <stli@linux.ibm.com>
4690
4691 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4692 __wmemcmp and weak alias to wmemcmp.
4693
bc79db3f
SL
46942019-02-06 Stefan Liebler <stli@linux.ibm.com>
4695
4696 [BZ #23403]
4697 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4698 TLS_TCB_AT_TP tls variant.
4699 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4700 Add alignment checks.
4701 * support/Makefile (libsupport-routines): Add xposix_memalign and
4702 xpthread_setstack.
4703 * support/support.h: Add xposix_memalign.
4704 * support/xthread.h: Add xpthread_attr_setstack.
4705 * support/xposix_memalign.c: New File.
4706 * support/xpthread_attr_setstack.c: Likewise.
4707
f1ac7455
FW
47082019-02-05 Florian Weimer <fweimer@redhat.com>
4709
4710 [BZ #24164]
4711 arm: Use "nr" constraint for Systemtap probes, to avoid the
4712 compiler using memory operands for constants, due to the "o"
4713 alternative in the default "nor" constraint.
4714 * include/stap-probe.h [USE_STAP_PROBE]: Include
4715 <stap-probe-machine.h>
4716 * sysdeps/generic/stap-probe-machine.h: New file.
4717 * sysdeps/arm/stap-probe-machine.h: Likewise.
4718
7a0dcfc6
JM
47192019-02-04 Joseph Myers <joseph@codesourcery.com>
4720
77dc0d86
JM
4721 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4722 with 0, not tcache->entries[tc_idx].
4723
7a0dcfc6
JM
4724 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4725 once.
4726
65f7767a
AS
47272019-02-04 Andreas Schwab <schwab@suse.de>
4728
4729 [BZ #16976]
4730 [BZ #17396]
4731 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4732 looking up collating elements match against (wide) character
4733 sequence instead of name. Correct alignment adjustment.
4734 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4735 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4736 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4737 (LOCALES): Add cs_CZ.ISO-8859-2.
4738 * posix/tst-fnmatch4.c: New file.
4739 * posix/tst-fnmatch5.c: New file.
4740 * include/wchar.h (__wmemcmp): Declare.
4741 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4742 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4743 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4744 * sysdeps/s390/wmemcmp.c: Likewise.
4745
3f635fb4
L
47462019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 [BZ #24155]
4749 CVE-2019-7309
4750 * NEWS: Updated for CVE-2019-7309.
4751 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4752 upper 32 bits of RDX register for x32. Use unsigned Jcc
4753 instructions, instead of signed.
4754 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4755 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4756
2ab5741b
FW
47572019-02-04 Florian Weimer <fweimer@redhat.com>
4758
4759 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4760 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4761 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4762 Likewise.
4763 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4764 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4765 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4766 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4767 Likewise.
4768 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4769 Likewise.
4770 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4771 Likewise.
4772 (posix_spawn_file_actions_addopen): Likewise.
4773 (posix_spawn_file_actions_addclose): Likewise.
4774 (posix_spawn_file_actions_adddup2): Likewise.
4775 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4776 qualifiers.
4777 (posix_spawn_file_actions_addfchdir_np): Likewise.
4778
8692ebdb
DN
47792019-02-04 David Newall <glibc@davidnewall.com>
4780
4781 elf: Implement --preload option for the dynamic linker.
4782 * elf/rtld.c (preloadarg): New variable.
4783 (handle_preload_list): Pass through “where” argument to
4784 do_preload.
4785 (dl_main): Handle "--preload" and add second call to
4786 handle_preload_list.
4787 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4788 (tst-rtld-preload-OBJS): Set variable.
4789 (tst-rtld-preload.out): New target.
4790 * elf/tst-rtld-preload.sh: New file.
4791
5e10136b
MM
47922019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4793
4794 * Makefile (testrun.sh): Exit in case of incorrect argument.
4795
221baae0
FW
47962019-02-04 Florian Weimer <fweimer@redhat.com>
4797
4798 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4799 alignment gaps.
4800
b8c72381
FW
48012019-02-03 Florian Weimer <fweimer@redhat.com>
4802
4803 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4804 implicit overflow checks.
4805
11f382ee
AJ
48062019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4807
4808 * stdlib/isomac.c: Include <unistd.h>.
4809
77c7d55e
FW
48102019-02-03 Florian Weimer <fweimer@redhat.com>
4811
4812 * include/time.h (__tzfile_default): Use int, not long int, for
4813 the GMT offsets.
4814 * time/tzfile.c (struct ttinfo): Change type of the offset member
4815 to int.
4816 (__tzfile_read): Remove useless cast.
4817 (__tzfile_default): Adjust prototype.
4818 * time/tzset.c (tz_rule): Change type of the offset member to int.
4819 (parse_offset): Change the type of the sign variable to int.
4820
ee9941f9
FW
48212019-02-03 Florian Weimer <fweimer@redhat.com>
4822
4823 [BZ #24153]
4824 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4825 * libio/getchar.c (getchar): Likewise.
4826 * libio/getchar_u.c (getchar_unlocked): Likewise.
4827 * libio/getwchar.c (getwchar): Likewise.
4828 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4829 * libio/iogets.c (_IO_gets): Likewise.
4830 * libio/vscanf.c (_IO_vscanf): Likewise.
4831 * libio/vwscanf.c (__vwscanf): Likewise.
4832 * libio/tst-bz24153.c: New file.
4833 * libio/Makefile (tests): Add it.
4834
c70824b9
FW
48352019-02-02 Florian Weimer <fweimer@redhat.com>
4836
4837 [BZ #14829]
4838 * manual/resource.texi (Basic Scheduling Functions): Add
4839 portability note. Change process to task throughout the section.
4840 Remove incorrect comment about sched_yield as it affects
4841 tasks/threads, not entire processes.
4842 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4843 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4844
4dcbbc3b
JM
48452019-02-01 Joseph Myers <joseph@codesourcery.com>
4846
4847 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4848 * configure: Regenerated.
4849 * manual/install.texi (Tools for Compilation): Update minimum GCC
4850 version.
4851 * INSTALL: Regenerated.
4852
6175507c
FW
48532019-02-01 Florian Weimer <fweimer@redhat.com>
4854
4855 * support/support_test_compare_string.c
4856 (support_test_compare_string): Use "string" in error message.
4857 * support/tst-test_compare_string.c (do_test): Adjust.
4858
baef1943
FW
48592019-02-01 Florian Weimer <fweimer@redhat.com>
4860
4861 * support/support_format_address_family.c
4862 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4863
395599f0
FW
48642019-02-01 Florian Weimer <fweimer@redhat.com>
4865
4866 * manual/socket.texi (Internet Address Formats): Clarify the byte
4867 order of struct sockaddr_in, struct sockaddr_in6. Document
4868 sin6_flowinfo and sin6_scope_id.
4869
b06f4c00
WD
48702019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4871
4872 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4873 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4874 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4875 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4876 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4877 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4878
83d1cc42
FX
48792019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4880
4881 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4882 [!MEMCHR](MEMCHR): Set to __memchr.
4883 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4884 Add memchr_generic and memchr_nosimd.
4885 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4886 (__libc_ifunc_impl_list): Add memchr ifuncs.
4887 * sysdeps/aarch64/multiarch/memchr.c: New file.
4888 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4889 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4890
c7d3890f
FX
48912019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4892
4893 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4894 Add memset_emag.
4895 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4896 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4897 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4898 Add IS_EMAG check for ifunc dispatch.
4899 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4900 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4901
07c3d1ec
FX
49022019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4903
4904 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4905 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4906 Add emag.
4907 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4908 New macro.
4909
114f792e
SL
49102019-02-01 Stefan Liebler <stli@linux.ibm.com>
4911
4912 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4913
d5627550
VG
49142019-01-31 Vineet Gupta <vgupta@synopsys.com>
4915
4916 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4917 syscall-template file.
4918
5fc9ed4c
CD
49192019-01-31 Carlos O'Donell <carlos@redhat.com>
4920 Torvald Riegel <triegel@redhat.com>
4921 Rik Prohaska <prohaska7@gmail.com>
4922
4923 [BZ# 23844]
4924 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4925 tst-rwlock-trywrlock-stall.
4926 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4927 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4928 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4929 Set __wrphase_fute to 1 only if we started the write phase.
4930 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4931 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4932 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4933 * support/xpthread_rwlock_destroy.c: New file.
4934 * support/xthread.h: Declare xpthread_rwlock_destroy.
4935
932329a5
JM
49362019-02-01 Joseph Myers <joseph@codesourcery.com>
4937
4938 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4939 version to 4.0.2.
4940
5f10701f
PP
49412019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4942
4943 [BZ #24051]
4944 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4945 * libio/fileops.c (_IO_new_file_underflow): Likewise
4946 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4947 * libio/putchar.c (putchar): Likewise.
4948 * libio/putchar_u.c (putchar_unlocked): Likewise.
4949 * libio/putwchar.c (putchar): Likewise.
4950 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4951 * libio/tst-bz24051.c: New test.
4952 * libio/Makefile (tests): Add tst-bz24051
4953
583dd860
PE
49542019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4955
b626c5aa 4956 CVE-2019-9169
583dd860
PE
4957 regex: fix read overrun [BZ #24114]
4958 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4959 https://debbugs.gnu.org/34140
4960 * posix/regexec.c (proceed_next_node):
4961 Do not read past end of input buffer.
4962
2bac7daa
FW
49632019-01-31 Florian Weimer <fweimer@redhat.com>
4964
4965 [BZ #24059]
4966 * nss/nss_files/files-alias.c (get_next_alias): Handle
4967 continuation line without newline at the end.
4968 * nss/tst-nss-files-alias-truncated.c: New file.
4969 * nss/Makefile [$(build-shared)] (tests): Add
4970 tst-nss-files-alias-truncated.
4971 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4972 * support/namespace.h (struct support_chroot_configuration): Add
4973 aliases member.
4974 (struct support_chroot): Add path_aliases member.
4975 * support/support_chroot.c (support_chroot_create): Handle
4976 aliases.
4977 (support_chroot_free): Free path_aliases.
4978
330c9d0d
SP
49792019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4980
de44ab67
SP
4981 * version.h (RELEASE): Set to "development".
4982 (VERSION): Set to "2.29.9000".
4983 * NEWS: Add section for 2.30.
4984
56c86f5d
SP
4985 * version.h (RELEASE): Set to "stable".
4986 (VERSION): Set to "2.29".
4987 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4988
330c9d0d
SP
4989 * NEWS: Add the list of bugs fixed in 2.29.
4990 * manual/contrib.texi: Update contributors list with some more
4991 names.
4992 * manual/install.texi: Update latest versions of packages
4993 tested.
4994 * INSTALL: Regenerated.
4995
e1e47c91
SP
49962019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4997
4998 * po/be.po: Update translations.
4999 * po/bg.po: Likewise.
5000 * po/ca.po: Likewise.
5001 * po/cs.po: Likewise.
5002 * po/da.po: Likewise.
5003 * po/de.po: Likewise.
5004 * po/el.po: Likewise.
5005 * po/eo.po: Likewise.
5006 * po/es.po: Likewise.
5007 * po/fi.po: Likewise.
5008 * po/fr.po: Likewise.
5009 * po/gl.po: Likewise.
5010 * po/hr.po: Likewise.
5011 * po/hu.po: Likewise.
5012 * po/ia.po: Likewise.
5013 * po/id.po: Likewise.
5014 * po/it.po: Likewise.
5015 * po/ja.po: Likewise.
5016 * po/ko.po: Likewise.
5017 * po/lt.po: Likewise.
5018 * po/nb.po: Likewise.
5019 * po/nl.po: Likewise.
5020 * po/pl.po: Likewise.
5021 * po/pt_BR.po: Likewise.
5022 * po/ru.po: Likewise.
5023 * po/rw.po: Likewise.
5024 * po/sk.po: Likewise.
5025 * po/sl.po: Likewise.
5026 * po/sv.po: Likewise.
5027 * po/tr.po: Likewise.
5028 * po/uk.po: Likewise.
5029 * po/vi.po: Likewise.
5030 * po/zh_CN.po: Likewise.
5031 * po/zh_TW.po: Likewise.
5032
8d016826
UB
50332019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5034
5035 [BZ #24130]
5036 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5037 of $f3 register on $y_is_neg path.
5038
a0bb5abd
ST
50392019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5040
b96e22d0 5041 [BZ #24110]
a0bb5abd
ST
5042 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5043 sigaltstack.ss_flags.
5044
b22eed37
TS
50452019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5046
5047 [BZ #23758]
5048 * manual/time.texi (strftime): Document "%Ey".
5049 * time/strftime_l.c (__strftime_internal): Set the default width
5050 padding with zero of "%Ey" to 2.
5051
32f600a2
TS
5052 [BZ #24096]
5053 * manual/time.texi (strftime): Document "%EC" and "%EY".
5054 * time/Makefile (tests): Add tst-strftime2.
5055 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5056 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5057 override padding for "%Ey".
5058 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5059 "%Ey" in the subformat as if decorated with that flag.
5060 * time/tst-strftime2.c: New file.
5061
8e889c5d
AZ
50622019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5063
3367acdb
AZ
5064 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5065 are not defined.
5066
8e889c5d
AZ
5067 [BZ #24122]
5068 * elf/Makefile (tests): Add tst-audit13.
5069 (modules-names): Add tst-audit13mod1.
5070 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5071 rule.
5072 * elf/rtld.c (dl_main): Handle invalid audit module version.
5073 * elf/tst-audit13.c: New file.
5074 * elf/tst-audit13mod1.c: Likewise.
5075
a95dc01c
ST
50762019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5077
5078 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5079 returned by __hurd_at_flags.
ee4d7902
ST
5080 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5081 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5082 directly instead of __hurd_file_name_lookup.
a95dc01c 5083
712f1167
JM
50842019-01-21 Joseph Myers <joseph@codesourcery.com>
5085
5086 * scripts/build-many-glibcs.py (Context.checkout): Default
5087 binutils version to 2.32 branch.
5088
108bc404
FW
50892019-01-21 Florian Weimer <fweimer@redhat.com>
5090
5091 [BZ #20018]
5092 CVE-2016-10739
5093 resolv: Reject trailing characters in host names
5094 * include/arpa/inet.h (__inet_aton_exact): Declare.
5095 (inet_aton): Remove hidden prototype. No longer used internally.
5096 * nscd/gai.c (__inet_aton): Do not define.
5097 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5098 * nss/digits_dots.c (__inet_aton): Likewise.
5099 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5100 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5101 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5102 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5103 (tst-resolv-trailing): Likewise.
5104 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5105 libc.
5106 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5107 Make static. Add endp parameter.
5108 (__inet_aton_exact): New function.
5109 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5110 (__inet_addr): Call inet_aton_end.
5111 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5112 not just IPv6. Call __inet_aton_exact.
5113 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5114 (tests): Make const. Add additional test cases with trailing
5115 characters.
5116 (do_test): Use array_length.
5117 * resolv/tst-inet_aton_exact.c: New file.
5118 * resolv/tst-resolv-trailing.c: Likewise.
5119 * resolv/tst-resolv-nondecimal.c: Likewise.
5120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5121
5165de69
L
51222019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5123
5124 [BZ# 24097]
5125 CVE-2019-6488
5126 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5127 Clear the upper 32 bits of RSI register.
5128 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5129 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5130 and tst-size_t-wcsnlen.
5131 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5132 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5133
c7c54f65
L
51342019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5135
5136 [BZ# 24097]
5137 CVE-2019-6488
5138 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5141 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5142 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5143
ee915088
L
51442019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5145
5146 [BZ# 24097]
5147 CVE-2019-6488
5148 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5150 * sysdeps/x86_64/strcmp.S: Likewise.
5151 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5152 tst-size_t-strncmp and tst-size_t-wcsncmp.
5153 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5154 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5155 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5156
82d0b4a4
L
51572019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5158
5159 [BZ# 24097]
5160 CVE-2019-6488
5161 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5162 RDX_LP for length. Clear the upper 32 bits of RDX register.
5163 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5164 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5165 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5166 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5167
ecd8b842
L
51682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5169
5170 [BZ# 24097]
5171 CVE-2019-6488
5172 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5173 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5174 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5175 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5176
231c5676
L
51772019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 [BZ# 24097]
5180 CVE-2019-6488
5181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5182 length. Clear the upper 32 bits of RDX register.
5183 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5184 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5185 Likewise.
5186 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5187 Likewise.
5188 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5189 tst-size_t-wmemchr.
5190 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5191
b304fc20
L
51922019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5193
5194 [BZ# 24097]
5195 CVE-2019-6488
5196 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5197 length. Clear the upper 32 bits of RDX register.
5198 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5199 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5200 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5201 tst-size_t-wmemcmp.
5202 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5203 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5204
97700a34
L
52052019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5206
5207 [BZ# 24097]
5208 CVE-2019-6488
5209 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5210 upper 32 bits of RDX register.
5211 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5212 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5213 tst-size_t-wmemchr.
5214 * sysdeps/x86_64/x32/test-size_t.h: New file.
5215 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5216 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5217
6ca53a24
FW
52182019-01-18 Florian Weimer <fweimer@redhat.com>
5219
5220 [BZ #24112]
5221 resolv: Do not send queries for non-host-names in nss_dns.
5222 * resolv/nss_dns/dns-host.c (check_name): New function.
5223 (_nss_dns_gethostbyname2_r): Use it.
5224 (_nss_dns_gethostbyname_r): Likewise.
5225 (_nss_dns_gethostbyname4_r): Likewise.
5226
5e30b8ef
FW
52272019-01-21 Florian Weimer <fweimer@redhat.com>
5228
5229 * resolv/inet_addr.c: Reformat to GNU style.
5230 (__inet_addr, __inet_aton): Update comment.
5231
71effcea
FW
52322019-01-18 Florian Weimer <fweimer@redhat.com>
5233
5234 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5235 ("malloc: Use current (C11-style) atomics for fastbin access").
5236 This commit introduces a substantial performance regression on
5237 POWER and Aarch64.
5238 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5239 (REMOVE_FB): Define.
5240 (_int_malloc): Use it and reindent.
5241 (_int_free): Use CAS loop with
5242 catomic_compare_and_exchange_val_rel.
5243 (malloc_consolidate): Use atomic_exchange_acq.
5244
5245
562f4362
L
52462019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5247
5248 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5249 -Wl,-z,now.
5250 (LDFLAGS-tst-minsigstksz-2): Likewise.
5251 (LDFLAGS-tst-minsigstksz-3): Likewise.
5252 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5253 (LDFLAGS-tst-minsigstksz-4): Likewise.
5254
80dfa298
TS
52552019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5256
5257 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5258 than "alternate".
5259
008b598e
PC
52602019-01-16 Paul A. Clarke <pc@us.ibm.com>
5261
5262 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5263
fbbc9a4e
ZW
52642019-01-16 Zack Weinberg <zackw@panix.com>
5265
6b5c8607
TS
5266 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5267 (xget_sigstack_location): New test support functions.
5268 * support/xsigstack.c: New file, implementing them.
5269 * support/tst-xsigstack.c: New test for them.
5270 * support/Makefile: Update.
fbbc9a4e 5271
6b5c8607
TS
5272 * signal/tst-minsigstksz-1.c
5273 * signal/tst-minsigstksz-2.c
5274 * signal/tst-minsigstksz-3.c
5275 * signal/tst-minsigstksz-3a.c
5276 * signal/tst-minsigstksz-4.c: New tests.
5277 * signal/Makefile: Run them.
fbbc9a4e 5278
5f1135e4
SP
52792019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5280
5281 * po/libc.pot: Regenerate.
5282
ecdacd34
TMQMF
52832019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5284
5285 * math/libm-test-fma.inc (fma_test_data): Set
5286 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5287
56054664
RA
52882019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5289
5290 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5291 (do_test): Changed __vector __int128_t to __vector unsigned int.
5292
1a153e47
LS
52932019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5294
5295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5296 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5297 stpcpy-avx2 and stpncpy-avx2.
5298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5299 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5300 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5301 and __stpncpy_avx2.
5302 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5303 ifunc-strcpy.h}: rename header for a more generic name.
5304 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5305 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5306 AVX unaligned load is fast and vzeroupper is preferred.
5307 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5308 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5309 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5310 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5311 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5312 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5313
a1b02ae7
DL
53142019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5315
5316 * argp/argp-help.c: Fix typo in comment.
5317 * misc/sys/cdefs.h: Likewise.
5318 * posix/regexec.c (sift_states_iter_mb): Likewise.
5319 * socket/sockatmark.c: Likewise.
5320 * socket/sys/socket.h: Likewise.
5321 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5322 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5323 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5325 * sysdeps/unix/sockatmark.c: Likewise.
5326 * time/strptime_l.c: Likewise.
5327
5cbbf01e
TS
53282019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5329
5330 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5331 missing space after the cast of "_NL_CURRENT".
5332
0bc9bdf1
RA
53332019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5334
5335 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5336 ifdef to fix read of VSCR.
5337 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5338 tst-ucontext-ppc64-vscr.c to test list.
5339 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5340
5494af04
AH
53412019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5342
5343 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5344 fall-through.
5345
e17f63ff
JW
53462019-01-09 Jim Wilson <jimw@sifive.com>
5347
5348 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5349
02f440c1
WD
53502019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5351
5352 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5353 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5354 __memcpy_falkor for ares.
5355 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5356 Add new define.
5357 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5358 Add ares cpu.
5359
69da3c9e
L
53602019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5361
5362 [BZ #24066]
5363 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5364 4_FP_W_TYPEs are used for IEEE quad precision.
5365 * soft-fp/extendhftf2.c: Likewise.
5366 * soft-fp/extendsftf2.c: Likewise.
5367 * soft-fp/extendxftf2.c: Likewise.
5368 * soft-fp/trunctfdf2.c: Likewise.
5369 * soft-fp/trunctfhf2.c: Likewise.
5370 * soft-fp/trunctfsf2.c: Likewise.
5371 * soft-fp/trunctfxf2.c: Likewise.
5372 * sysdeps/alpha/ots_cvttx.c: Likewise.
5373 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5374 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5375 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5376 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5377 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5378 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5379 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5380 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5381 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5382 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5383 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5384 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5385 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5386 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5387 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5388 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5389 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5390
2ef42716
AJ
53912019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5392
5393 [BZ #24024]
5394 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5395 code with -fmath-errno.
5396 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5397 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5398 * string/test-strerror-errno.c: New file.
5399
7395f3a0
AJ
54002019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5401
5402 [BZ #24046]
5403 * localedata/locales/en_US (date_fmt): Add, set to
5404 "%a %d %b %Y %r %Z".
5405
010fe231
FW
54062019-01-07 Florian Weimer <fweimer@redhat.com>
5407
5408 [BZ #24063]
5409 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5410 instead of @var{errno}.
5411 (Parsing of Integers): Likewise.
5412 (Parsing of Floats): Likewise.
5413 * manual/filesys.texi (Working with Directory Trees): Likewise.
5414 (Temporary Files): Likewise.
5415 * manual/job.texi (Terminal Access Functions): Likewise.
5416 * manual/llio.texi (Synchronizing I/O): Likewise.
5417 * manual/math.texi (SVID Random): Likewise.
5418 * manual/message.texi (The catgets Functions): Likewise.
5419 (Translation with gettext): Likewise.
5420 (Locating gettext catalog): Likewise.
5421 (Charset conversion in gettext): Likewise.
5422 * manual/nss.texi (NSS Module Function Internals): Likewise.
5423 * manual/search.texi (Hash Search Function): Likewise.
5424 * manual/setjmp.texi (System V contexts): Likewise.
5425 * manual/time.texi (Sleeping): Likewise.
5426 * manual/users.texi (Lookup User): Likewise.
5427 (Lookup Group): Likewise.
5428
b79dc8d0
AZ
54292019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5430
5431 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5432 fix typo.
5433
890461fe 54342019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
5435
5436 [BZ #19444]
5437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5438 __builtin_unreachable for default case in switch.
5439 (__ieee754_yn): Likewise.
5440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5441 (__ieee754_ynl): Likewise.
5442 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5443 (__ieee754_ynl): Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5445 (__ieee754_ynl): Likewise.
5446
8b18d418
SN
54472019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5448
5449 * manual/maint.texi: Use @{ and @}.
5450
4392898d
FW
54512019-01-04 Florian Weimer <fweimer@redhat.com>
5452
5453 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5454 function.
5455 (do_in_chroot_1): Call it.
5456 (run_chroot_tests):
5457 Improve error reporting in case it is not possible to create a
5458 collision for the PTY name required by the test.
5459
17cc27d5
AZ
54602019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5461
ce7eb0e9
AZ
5462 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5463 lll_wait_tid with timeout.
5464 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5465 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5466 futex_reltimed_wait_cancelable for cancelabla mode.
5467 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5468 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5469 macros.
5470 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5471 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5472 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5473 SYSCALL_CANCEL_NCS): New macro.
5474 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5475 (lll_timedwait_tid): Remove macro.
5476 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5477 Likewise.
5478 (lll_timedwait_tid): Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5480 Likewise.
5481 (lll_timedwait_tid): Likewise.
5482 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5483 Likewise.
5484 (lll_timedwait_tid): Likewise.
5485 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5486 Use INTERNAL_SYSCALL_CANCEL.
5487 * sysdeps/unix/sysv/linux/futex-internal.h
5488 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5489 instead of __pthread_{enable,disable}_asynccancel.
5490 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5491 (lll_futex_wait_cancel): New macro.
5492
0b13e255
AZ
5493 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5494 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5495
85c828a4
AZ
5496 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5497 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5498
d0d7f85f
AZ
5499 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5500 in backtrace analysis.
5501 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5502 side-effects.
5503 (tf_send): Likewise.
5504
17cc27d5
AZ
5505 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5506 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5507 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5508 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5509 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5510 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5511 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5512 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5513 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5514 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5515 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5516 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5517 Likewise.
5518 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5519 tst-cancel-wrappers.sh.
5520 (generated): Remove tst-cancel-wrappers.out.
5521 (tst-cancel-wrappers.out): Remove rule.
5522 * nptl/tst-cancel-wrappers.sh: Remove file.
5523
7d7af8f1
SN
55242019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5525
5526 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5527 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5528 Update.
5529
805334b2
AZ
55302019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5531
5532 [BZ #23640]
5533 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5534 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5535 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5536 close-on-exec reset for adddup2 file action.
5537 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5538
03992356
ZW
55392019-01-03 Zack Weinberg <zackw@panix.com>
5540
5541 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5542 parameter. Only use deprecated scanf when __USE_GNU is defined
5543 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5544 than 201103L, whichever is relevant for the language being compiled.
5545
5546 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5547 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5548 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5549 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5550 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5551
5552 * libio/iovsscanf.c
5553 * libio/fwscanf.c
5554 * libio/iovswscanf.c
5555 * libio/swscanf.c
5556 * libio/vscanf.c
5557 * libio/vwscanf.c
5558 * libio/wscanf.c
5559 * stdio-common/fscanf.c
5560 * stdio-common/scanf.c
5561 * stdio-common/vfscanf.c
5562 * stdio-common/vfwscanf.c
5563 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5564 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5565 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5566 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5567 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5568 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5569 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5570 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5571 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5572 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5573 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5574 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5575 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5576 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5577 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5578
5579 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5580 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5581 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5582 not sscanf.
5583 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5584 with a preprocessor macro.
5585
5586 * stdio-common/bug21.c, stdio-common/scanf14.c:
5587 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5588 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5589 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5590 to xscanf, xfscanf, xsscanf.
5591
5592 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5593 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5594 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5595 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5596 xfscanf, xsscanf.
5597 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5598 override feature selection macros or provide definitions of u_char etc.
5599 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5600 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5601 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5602 with -std=gnu89.
5603
8083afa5
AZ
56042019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5605
6f343c1f
AZ
5606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5607 bits/termios-misc.h.
5608 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5609 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5610 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5611 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5612 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5613 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5614
51f4beb0
AZ
5615 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5617 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5618 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5619 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5620 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5621 termios-misc.h.
5622 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5623 (sysdep_headers): Add termios-misc.h.
5624
f69c5cb2
AZ
5625 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5626 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5627 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5628
3aa4a07e
AZ
5629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5630 termios-tcflow.h.
5631 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5632 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5633 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5634 TCSAFLUSH): Move to termios-tcflow.h.
5635 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5636 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5639
22679ddf
AZ
5640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5641 termios-c_lflag.h.
5642 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5643 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5644 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5645 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5646 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5647 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5648 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5649 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5650 Likewise.
5651 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5652 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5654 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5655
72eb6ecc
AZ
5656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5657 termios-c_cflag.h.
5658 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5659 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5661 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5662 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5663 termios-c_cflag.h.
5664 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5665 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5666 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5668
9c5d0d02
AZ
5669 [BZ #23783]
5670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5671 termios-baud.h.
5672 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5673 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5676 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5677 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5678 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5679 __MAX_BAUD): Move to termios-baud.h.
5680 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5681 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5682 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5683 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5684 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5685
7b832018
AZ
5686 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5687 termios-c_oflag.h.
5688 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5689 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5690 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5692 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5693 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5694 termios-c_oflag.h.
5695 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5696 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5697 FFR1): Likewise.
5698 [USE_MISC] (XTABS): Likewise.
5699 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5700 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5703
3127003e
AZ
5704 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5705 termios-c_iflag.h.
5706 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5707 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5709 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5710 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5711 IUTF8): Move to termios-c_iflag.h.
5712 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5713 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5716
48c1dd96
AZ
5717 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5718 termios-cc.h.
5719 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5720 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5721 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5722 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5724 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5725 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5726 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5727 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5728 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5731
e5a50db3
AZ
5732 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5733 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5734 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5735 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5737 termios-struct.h.
5738 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5739 termios-struct.h.
5740 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5741 Likewise.
5742 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5743 Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5745 Likewise.
5746 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5747 Likewise.
5748 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5749 _HAVE_C_OSPEED): Define.
5750 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5751 _HAVE_C_OSPEED): Likewise.
5752 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5753 _HAVE_C_OSPEED): Likewise.
5754 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5755 (cfsetospeed): Check for define value instead of existence.
5756 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5757 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5758 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5759 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5760 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5761
8083afa5
AZ
5762 [BZ #17783]
5763 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5764 Define.
5765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5766 (TIOCSER_TEMT): Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5768 (TEOCSER_TEMT): Likewise.
5769
4d7d7dc6
P
57702019-01-02 PanderMusubi <pander@users.sourceforge.net>
5771
5772 [BZ #24011]
5773 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5774
8e291a29
JM
57752019-01-02 Joseph Myers <joseph@codesourcery.com>
5776
5777 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5778
55137f7d
ST
57792019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5780
5781 * sysdeps/htl/pt-barrierattr-setpshared.c
5782 (pthread_barrierattr_setpshared): Add stub warning.
5783 * sysdeps/htl/pt-condattr-setpshared.c
5784 (pthread_condattr_setpshared): Likewise.
5785 * sysdeps/htl/pt-mutexattr-setpshared.c
5786 (pthread_mutexattr_setpshared): Likewise.
5787 * sysdeps/htl/pt-rwlockattr-setpshared.c
5788 (pthread_rwlockattr_setpshared): Likewise.
5789 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5790 (pthread_mutexattr_setpshared): Likewise.
5791
2ce09e01
JM
57922019-01-02 Joseph Myers <joseph@codesourcery.com>
5793
acb55dcb
JM
5794 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5795 constants to match with Linux 4.20.
5796
2ce09e01
JM
5797 * sysdeps/mips/mips32/libm-test-ulps: Update.
5798 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5799
fe20bb1d
AJ
58002019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5801
5802 [BZ #24034]
5803 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5804 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5805 than __typeof (...) for the a_ptr variable.
5806
2d9837c1
GG
58072019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5808
5809 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5810 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5811 * libio/Makefile (tests): Add tst-sprintf-ub and
5812 tst-sprintf-chk-ub.
5813 (CFLAGS-tst-sprintf-ub.c): New variable.
5814 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5815 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5816 destination buffer and check for overflows in fortified mode.
5817 * libio/libioP.h (PRINTF_CHK): New macro.
5818 * libio/tst-sprintf-chk-ub.c: New file.
5819 * libio/tst-sprintf-ub.c: Likewise.
5820
d5c6df0b 58212019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
5822
5823 [BZ #24018]
5824 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5825 failure.
5826
66081e38
FW
58272019-01-02 Florian Weimer <fweimer@redhat.com>
5828
5829 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5830
04277e02
JM
58312019-01-01 Joseph Myers <joseph@codesourcery.com>
5832
6ef3d225
JM
5833 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5834 macro.
5835
e3d4e292
JM
5836 * sysdeps/unix/sysv/linux/netpacket/packet.h
5837 (PACKET_IGNORE_OUTGOING): New macro.
5838
f4507797
JM
5839 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5840 macro.
5841
47ad5e1a
JM
5842 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5843 version to 4.20.
5844 (riscv_flush_icache): New syscall.
5845
7628a1b0
JM
5846 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5847 trailing whitespace removed.
5848 * scripts/config.guess: Update to version 2019-01-01.
5849 * scripts/config.sub: Update to version 2019-01-01.
5850 * scripts/move-if-change: Update from gnulib.
5851
c9123888
JM
5852 * NEWS: Update copyright dates.
5853 * catgets/gencat.c (print_version): Likewise.
5854 * csu/version.c (banner): Likewise.
5855 * debug/catchsegv.sh: Likewise.
5856 * debug/pcprofiledump.c (print_version): Likewise.
5857 * debug/xtrace.sh (do_version): Likewise.
5858 * elf/ldconfig.c (print_version): Likewise.
5859 * elf/ldd.bash.in: Likewise.
5860 * elf/pldd.c (print_version): Likewise.
5861 * elf/sotruss.sh: Likewise.
5862 * elf/sprof.c (print_version): Likewise.
5863 * iconv/iconv_prog.c (print_version): Likewise.
5864 * iconv/iconvconfig.c (print_version): Likewise.
5865 * locale/programs/locale.c (print_version): Likewise.
5866 * locale/programs/localedef.c (print_version): Likewise.
5867 * login/programs/pt_chown.c (print_version): Likewise.
5868 * malloc/memusage.sh (do_version): Likewise.
5869 * malloc/memusagestat.c (print_version): Likewise.
5870 * malloc/mtrace.pl: Likewise.
5871 * manual/libc.texinfo: Likewise.
5872 * nptl/version.c (banner): Likewise.
5873 * nscd/nscd.c (print_version): Likewise.
5874 * nss/getent.c (print_version): Likewise.
5875 * nss/makedb.c (print_version): Likewise.
5876 * posix/getconf.c (main): Likewise.
5877 * scripts/test-installation.pl: Likewise.
5878 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5879
04277e02
JM
5880 * All files with FSF copyright notices: Update copyright dates
5881 using scripts/update-copyrights.
5882 * locale/programs/charmap-kw.h: Regenerated.
5883 * locale/programs/locfile-kw.h: Likewise.
5884
e740e5b1
JM
58852018-12-31 Joseph Myers <joseph@codesourcery.com>
5886
5887 * timezone/zdump.c: Update from tzcode 2018i.
5888 * timezone/zic.c: Likewise.
5889
9b7f98b3
PE
58902018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5891
5892 regex: improve Gnulib port to AIX
5893 From the glibc point of view, this removes duplicate macro
5894 definitions and is obviously safe.
5895 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5896 * posix/regex_internal.h:
5897 (__attribute__, __attribute_warn_unused_result__):
5898 Remove; already defined elsewhere.
5899
b50dd3bc
FW
59002018-12-31 Florian Weimer <fw@deneb.enyo.de>
5901
5902 [BZ #24027]
5903 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5904 copying operation. (ncopies had the wrong type, resulting in an
5905 integer wraparound and too few elements being copied.)
5906
0b9c8490
L
59072018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5908
5909 [BZ #24022]
5910 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5911 <asm/syscalls.h> exists with __has_include__ before including it.
5912
01047fa6
JM
59132018-12-31 Joseph Myers <joseph@codesourcery.com>
5914
5915 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5916 version to 4.20.
5917
6b5c8607 59182018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
5919
5920 * hurd/lookup-retry: Include <unistd.h>.
5921 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5922 Release it on return. Handle "pid" magical lookup retry.
5923
989182c4
RL
59242018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5925
5926 [BZ #10496]
5927 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5928 (t_fmt_ampm): Likewise.
5929 * localedata/locales/aa_ER (t_fmt): Likewise.
5930 (t_fmt_ampm): Likewise.
5931 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5932 (t_fmt_ampm): Likewise.
5933 * localedata/locales/aa_ET (t_fmt): Likewise.
5934 (t_fmt_ampm): Likewise.
5935 * localedata/locales/am_ET (t_fmt): Likewise.
5936 (t_fmt_ampm): Likewise.
5937 * localedata/locales/byn_ER (t_fmt): Likewise.
5938 (t_fmt_ampm): Likewise.
5939 * localedata/locales/om_ET (t_fmt): Likewise.
5940 (t_fmt_ampm): Likewise.
5941 * localedata/locales/sid_ET (t_fmt): Likewise.
5942 (t_fmt_ampm): Likewise.
5943 * localedata/locales/so_DJ (t_fmt): Likewise.
5944 (t_fmt_ampm): Likewise.
5945 * localedata/locales/so_ET (t_fmt): Likewise.
5946 (t_fmt_ampm): Likewise.
5947 * localedata/locales/so_SO (t_fmt): Likewise.
5948 (t_fmt_ampm): Likewise.
5949 * localedata/locales/ti_ER (t_fmt): Likewise.
5950 (t_fmt_ampm): Likewise.
5951 * localedata/locales/ti_ET (t_fmt): Likewise.
5952 (t_fmt_ampm): Likewise.
5953 * localedata/locales/tig_ER (t_fmt): Likewise.
5954 (t_fmt_ampm): Likewise.
5955 * localedata/locales/wal_ET (t_fmt): Likewise.
5956 (t_fmt_ampm): Likewise.
5957
5958 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5959 * localedata/locales/ar_IN (t_fmt): Likewise.
5960 * localedata/locales/bhb_IN (t_fmt): Likewise.
5961 * localedata/locales/bho_IN (t_fmt): Likewise.
5962 * localedata/locales/bi_VU (t_fmt): Likewise.
5963 * localedata/locales/bn_BD (t_fmt): Likewise.
5964 * localedata/locales/bn_IN (t_fmt): Likewise.
5965 * localedata/locales/brx_IN (t_fmt): Likewise.
5966 * localedata/locales/doi_IN (t_fmt): Likewise.
5967 * localedata/locales/en_HK (t_fmt): Likewise.
5968 (t_fmt_ampm): Likewise.
5969 * localedata/locales/en_IN (t_fmt): Likewise.
5970 * localedata/locales/en_PH (t_fmt): Likewise.
5971 * localedata/locales/gu_IN (t_fmt): Likewise.
5972 * localedata/locales/hi_IN (t_fmt): Likewise.
5973 * localedata/locales/hif_FJ (t_fmt): Likewise.
5974 * localedata/locales/hne_IN (t_fmt): Likewise.
5975 * localedata/locales/kn_IN (t_fmt): Likewise.
5976 * localedata/locales/kok_IN (t_fmt): Likewise.
5977 * localedata/locales/ks_IN (t_fmt): Likewise.
5978 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5979 * localedata/locales/mag_IN (t_fmt): Likewise.
5980 * localedata/locales/mai_IN (t_fmt): Likewise.
5981 * localedata/locales/mjw_IN (t_fmt): Likewise.
5982 * localedata/locales/ml_IN (t_fmt): Likewise.
5983 * localedata/locales/mni_IN (t_fmt): Likewise.
5984 * localedata/locales/mr_IN (t_fmt): Likewise.
5985 * localedata/locales/ms_MY (t_fmt): Likewise.
5986 * localedata/locales/pa_IN (t_fmt): Likewise.
5987 * localedata/locales/raj_IN (t_fmt): Likewise.
5988 * localedata/locales/sa_IN (t_fmt): Likewise.
5989 * localedata/locales/sat_IN (t_fmt): Likewise.
5990 * localedata/locales/sd_IN (t_fmt): Likewise.
5991 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5992 * localedata/locales/tcy_IN (t_fmt): Likewise.
5993 * localedata/locales/the_NP (t_fmt): Likewise.
5994 * localedata/locales/to_TO (t_fmt): Likewise.
5995 * localedata/locales/ur_IN (t_fmt): Likewise.
5996
5997 * localedata/locales/hif_FJ (d_t_fmt): Set to
5998 "%A %d %b %Y %I:%M:%S %p".
5999 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6000
6001 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6002 * localedata/locales/ar_BH (t_fmt): Likewise.
6003 * localedata/locales/ar_DZ (t_fmt): Likewise.
6004 * localedata/locales/ar_EG (t_fmt): Likewise.
6005 * localedata/locales/ar_IQ (t_fmt): Likewise.
6006 * localedata/locales/ar_JO (t_fmt): Likewise.
6007 * localedata/locales/ar_KW (t_fmt): Likewise.
6008 * localedata/locales/ar_LB (t_fmt): Likewise.
6009 * localedata/locales/ar_LY (t_fmt): Likewise.
6010 * localedata/locales/ar_OM (t_fmt): Likewise.
6011 * localedata/locales/ar_QA (t_fmt): Likewise.
6012 * localedata/locales/ar_SD (t_fmt): Likewise.
6013 * localedata/locales/ar_SS (t_fmt): Likewise.
6014 * localedata/locales/ar_SY (t_fmt): Likewise.
6015 * localedata/locales/ar_TN (t_fmt): Likewise.
6016 * localedata/locales/ar_YE (t_fmt): Likewise.
6017
6018 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6019 (t_fmt_ampm): Likewise.
6020 * localedata/locales/gez_ET (t_fmt): Likewise.
6021 (t_fmt_ampm): Likewise.
6022
6023 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6024 (t_fmt_ampm): Likewise.
6025 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6026
6027 * localedata/locales/zh_HK (t_fmt):
6028 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6029
6030 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6031 because this locale does not use the 12-hour clock.
6032 (t_fmt): Set to "%Z %H:%M:%S".
6033 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6034
6035 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6036 because this locale does not use the 12-hour clock.
6037 (t_fmt): Set to "%H:%M:%S %Z".
6038 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6039
6040 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6041 because this locale does not use the 12-hour clock.
6042 (t_fmt): Set to "%T".
6043 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6044 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6045
6046 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6047 because this locale does not use the 12-hour clock.
6048 (t_fmt): Set to "%H:%M:%S %Z".
6049 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6050
6051 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6052 because this locale does not use the 12-hour clock.
6053 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6054 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6055
27841a7d
RL
60562018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6057
6058 [BZ #10496]
6059 [BZ #23724]
6060 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6061 (t_fmt_ampm): Likewise.
6062 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6063 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6064 (d_fmt): Set to "%-d.%-m.%y".
6065
0253580a
AZ
60662018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6067
6068 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6069 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6070 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6071 Likewise.
6072 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6073 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6074 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6075 function.
6076 * support/blob_repeat.c (check_mul_overflow_size_t,
6077 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6078
09104e5b
AJ
60792018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6080
6081 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6082
c0feb731
PE
60832018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6084
6085 regex: simplify Gnulib port
6086 This simplifies the code, by removing stuff intended for porting
6087 to Gnulib but no longer needed there.
6088 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6089 uses of libc_hidden_def, weak_alias.
6090 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6091 _Restrict_ except for public-facing headers.
6092 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6093 Remove; already defined elsewhere.
6094 * posix/regex.c, posix/regex_internal.h:
6095 Use __GNUC_PREREQ instead of rolling our own.
6096 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6097
5289f1f5
WD
60982018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6099
6100 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 6101 (memchr_strlen): New function.
5289f1f5 6102
ba4b8fab
L
61032018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6104
6105 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6106 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6107 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6108
9412979a
L
61092018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6110
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6112
8700a785
L
61132018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6114
6115 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6116 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6117 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6118 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6119 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6120 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6121 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6122
57b3ff8e
JM
61232018-12-21 Joseph Myers <joseph@codesourcery.com>
6124
6125 [BZ #24023]
6126 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6127 PLT reference in libc.so.
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6129 _Q_lltoq and _Q_qtod PLT references in libc.so.
6130
90d3320d
WD
61312018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6132
6133 * benchtests/bench-memchr.c: Cleanup defines.
6134 * benchtests/bench-memcmp.c: Likewise.
6135 * benchtests/bench-memset.c: Likewise.
6136 * benchtests/bench-memset-large.c: Likewise.
6137 * benchtests/bench-memset-walk.c: Likewise.
6138 * benchtests/bench-stpcpy.c: Likewise.
6139 * benchtests/bench-stpncpy.c: Likewise.
6140 * benchtests/bench-strcat.c: Likewise.
6141 * benchtests/bench-strchr.c: Likewise.
6142 * benchtests/bench-strcmp.c: Likewise.
6143 * benchtests/bench-strcpy.c: Likewise.
6144 * benchtests/bench-strcspn.c: Likewise.
6145 * benchtests/bench-string.h: Likewise.
6146 * benchtests/bench-strlen.c: Likewise.
6147 * benchtests/bench-strncat.c: Likewise.
6148 * benchtests/bench-strncmp.c: Likewise.
6149 * benchtests/bench-strncpy.c: Likewise.
6150 * benchtests/bench-strnlen.c: Likewise.
6151 * benchtests/bench-strpbrk.c: Likewise.
6152 * benchtests/bench-strrchr.c: Likewise.
6153 * benchtests/bench-strspn.c: Likewise.
6154
192963be
JM
61552018-12-21 Joseph Myers <joseph@codesourcery.com>
6156
5d025ea6
JM
6157 * stdlib/longlong.h: Update from GCC.
6158
192963be
JM
6159 [BZ #23993]
6160 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6161 * configure: Regenerated.
6162 * manual/install.texi (Tools for Compilation): Update minimum GCC
6163 version.
6164 * INSTALL: Regenerated.
6165
6b5c8607 61662018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
6167
6168 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6169
6b5c8607 61702018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
6171
6172 * malloc/malloc.c (mremap_chunk): Additional checks.
6173
5f72b005
MH
61742018-12-21 Mao Han <han_mao@c-sky.com>
6175
6176 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6177 * scripts/build-many-glibcs.py: Add C-SKY targets.
6178 * sysdeps/csky/Implies: New file.
6179 * sysdeps/csky/Makefile: Likewise.
6180 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6181 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6182 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6183 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6184 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6185 * sysdeps/csky/abiv2/memmove.S: Likewise.
6186 * sysdeps/csky/abiv2/memset.S: Likewise.
6187 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6188 * sysdeps/csky/abiv2/start.S: Likewise.
6189 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6190 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6191 * sysdeps/csky/abiv2/strlen.S: Likewise.
6192 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6193 * sysdeps/csky/abort-instr.h: Likewise.
6194 * sysdeps/csky/atomic-machine.h: Likewise.
6195 * sysdeps/csky/bits/endian.h: Likewise.
6196 * sysdeps/csky/bits/fenv.h: Likewise.
6197 * sysdeps/csky/bits/link.h: Likewise.
6198 * sysdeps/csky/bits/setjmp.h: Likewise.
6199 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6200 * sysdeps/csky/bsd-setjmp.S: Likewise.
6201 * sysdeps/csky/configure: Likewise.
6202 * sysdeps/csky/configure.ac: Likewise.
6203 * sysdeps/csky/dl-machine.h: Likewise.
6204 * sysdeps/csky/dl-procinfo.c: Likewise.
6205 * sysdeps/csky/dl-procinfo.h: Likewise.
6206 * sysdeps/csky/dl-sysdep.h: Likewise.
6207 * sysdeps/csky/dl-tls.h: Likewise.
6208 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6209 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6210 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6211 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6212 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6213 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6214 * sysdeps/csky/fpu/fegetround.c: Likewise.
6215 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6216 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6217 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6218 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6219 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6220 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6221 * sysdeps/csky/fpu/fesetround.c: Likewise.
6222 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6223 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6224 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6225 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6226 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6227 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6228 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6229 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6230 * sysdeps/csky/fpu_control.h: Likewise.
6231 * sysdeps/csky/gccframe.h: Likewise.
6232 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6233 * sysdeps/csky/ldsodefs.h: Likewise.
6234 * sysdeps/csky/libc-tls.c: Likewise.
6235 * sysdeps/csky/linkmap.h: Likewise.
6236 * sysdeps/csky/machine-gmon.h: Likewise.
6237 * sysdeps/csky/memusage.h: Likewise.
6238 * sysdeps/csky/nofpu/Implies: Likewise.
6239 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6240 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6241 * sysdeps/csky/nptl/Makefile: Likewise.
6242 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6243 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6244 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6245 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6246 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6247 * sysdeps/csky/nptl/tls.h: Likewise.
6248 * sysdeps/csky/preconfigure: Likewise.
6249 * sysdeps/csky/sfp-machine.h: Likewise.
6250 * sysdeps/csky/sotruss-lib.c: Likewise.
6251 * sysdeps/csky/stackinfo.h: Likewise.
6252 * sysdeps/csky/sysdep.h: Likewise.
6253 * sysdeps/csky/tininess.h: Likewise.
6254 * sysdeps/csky/tst-audit.h: Likewise.
6255 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6256 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6257 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6258 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6259 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6260 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6261 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6262 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6263 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6264 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6265 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6266 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6267 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6268 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6269 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6270 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6271 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6272 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6273 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6274 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6275 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6276 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6277 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6278 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6279 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6280 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6281 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6282 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6283 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6284 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6285 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6286 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6287 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6288 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6289 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6290 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6291 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6292 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6293 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6294 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6295 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6296 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6297 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6298 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6299
6b5c8607 63002018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
6301
6302 * include/time.h (__difftime64): Add.
6303 * time/difftime.c (subtract): convert to 64-bit time.
6304 * time/difftime.c (__difftime64): Add.
6305 * time/difftime.c (__difftime): Wrap around __difftime64.
6306
ab416931
L
63072018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6308
6309 * manual/examples/add.c: Remove redundant "if not".
6310 * manual/examples/argp-ex1.c: Likewise.
6311 * manual/examples/argp-ex2.c: Likewise.
6312 * manual/examples/argp-ex3.c: Likewise.
6313 * manual/examples/argp-ex4.c: Likewise.
6314 * manual/examples/atexit.c: Likewise.
6315 * manual/examples/db.c: Likewise.
6316 * manual/examples/dir.c: Likewise.
6317 * manual/examples/dir2.c: Likewise.
6318 * manual/examples/execinfo.c: Likewise.
6319 * manual/examples/filecli.c: Likewise.
6320 * manual/examples/filesrv.c: Likewise.
6321 * manual/examples/fmtmsgexpl.c: Likewise.
6322 * manual/examples/genpass.c: Likewise.
6323 * manual/examples/inetcli.c: Likewise.
6324 * manual/examples/inetsrv.c: Likewise.
6325 * manual/examples/isockad.c: Likewise.
6326 * manual/examples/longopt.c: Likewise.
6327 * manual/examples/memopen.c: Likewise.
6328 * manual/examples/memstrm.c: Likewise.
6329 * manual/examples/mkdirent.c: Likewise.
6330 * manual/examples/mkfsock.c: Likewise.
6331 * manual/examples/mkisock.c: Likewise.
6332 * manual/examples/mygetpass.c: Likewise.
6333 * manual/examples/pipe.c: Likewise.
6334 * manual/examples/popen.c: Likewise.
6335 * manual/examples/rprintf.c: Likewise.
6336 * manual/examples/search.c: Likewise.
6337 * manual/examples/select.c: Likewise.
6338 * manual/examples/setjmp.c: Likewise.
6339 * manual/examples/sigh1.c: Likewise.
6340 * manual/examples/sigusr.c: Likewise.
6341 * manual/examples/stpcpy.c: Likewise.
6342 * manual/examples/strdupa.c: Likewise.
6343 * manual/examples/strftim.c: Likewise.
6344 * manual/examples/subopt.c: Likewise.
6345 * manual/examples/swapcontext.c: Likewise.
6346 * manual/examples/termios.c: Likewise.
6347 * manual/examples/testopt.c: Likewise.
6348 * manual/examples/testpass.c: Likewise.
6349 * manual/examples/timeval_subtract.c: Likewise.
6350
515f463f
JM
63512018-12-19 Joseph Myers <joseph@codesourcery.com>
6352
da75c1b1
JM
6353 * sysdeps/x86/fpu/math_private.h: New file.
6354 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6355
515f463f
JM
6356 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6357 definition.
6358 (cosh): Likewise.
6359 (tanh): Likewise.
6360
1616d034
TMQMF
63612018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6362
6363 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6364 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6365 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6366 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6367 fields.
6368 (_dl_show_auxv): Give a special treatment to
6369 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6370 and AT_L3_CACHEGEOMETRY.
6371 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6372 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6373 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6374 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6375
61595e3d
AS
63762018-12-19 Andreas Schwab <schwab@suse.de>
6377
6378 * nscd/connections.c (check_use): Don't abort on invalid len.
6379
bbb7dc84
ST
63802018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6381
6382 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6383 values in the 64bit value cases.
6384
6b5c8607 63852018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 6386
c4c2836a
AA
6387 * include/time.h
6388 (__ctime64_r): Add.
6389 * time/ctime_r.c
6390 (__ctime64_r): Add.
6391 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6392
7755e504
AA
6393 * include/time.h
6394 (__ctime64): Add.
6395 * time/gmtime.c
6396 (__ctime64): Add.
6397 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6398
a1d346ce
AA
6399 * include/time.h
6400 (__gmtime64_r): Add.
6401 * time/gmtime.c
6402 (__gmtime64_r): Add.
6403 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6404
131db8b0
AA
6405 * include/time.h
6406 (__gmtime64): Add.
6407 * time/gmtime.c
6408 (__gmtime64): Add.
6409 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6410
64c2277d
AA
6411 * include/time.h
6412 (__localtime64_r): Add.
6413 * time/localtime.c
6414 (__localtime64_r): Add.
6415 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6416
56b98bf1
AZ
64172018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6418
64dd7a16
AZ
6419 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6420 kernel_sigction definition.
6421
8b1d5da5
AZ
6422 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6423
f9eabb19
AZ
6424 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6425
56b98bf1
AZ
6426 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6427 __syscall_rt_sigaction.
6428 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6429 (kernel_sigaction): Use Linux generic defintion.
6430 (STUB): Define.
6431 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6432 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6433 (__syscall_rt_sigaction): Remove implementation.
6434 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6435 hidden.
6436 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6437 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6438 INTERNAL_SYSCALL): Remove definitions.
6439 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6440 action and signal set size.
6441 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6442 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6443
43a45c2d
AZ
64442018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6445 James Clarke <jrtc27@jrtc27.com>
6446
dfa6216f 6447 [BZ #23967]
43a45c2d
AZ
6448 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6449 Define if SA_RESTORER is defined.
6450 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6451 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6452 already defined.
6453 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6454 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6455 definitions.
6456 (HAS_SA_RESTORER): Define.
6457 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6458 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6459 (HAS_SA_RESTORER): Define.
6460 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6461 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6462 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6463 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6464 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6465
646ce7e0
JM
64662018-12-18 Joseph Myers <joseph@codesourcery.com>
6467
6468 * sysdeps/unix/sysv/linux/kernel-features.h
6469 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6471 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6472 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6473 (__ASSUME_ST_INO_64_BIT): Likewise.
6474 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6475 <kernel-features.h>.
6476 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6477 Remove conditional code.
6478 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6479 <kernel-features.h>.
6480 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6481 Remove conditional code.
6482 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6483 <kernel-features.h>.
6484 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6485 Remove conditional code.
6486 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6487 <kernel-features.h>.
6488 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6489 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6490
80190d2b
SL
64912018-12-18 Stefan Liebler <stli@linux.ibm.com>
6492
6493 * sysdeps/s390/multiarch/ifunc-resolve.h
6494 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6495 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6496 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6497 Delete macro definition.
6498 (s390_libc_ifunc_init): Rename to
6499 s390_libc_ifunc_expr_stfle_init.
6500 * sysdeps/s390/bzero: Use
6501 s390_libc_ifunc_expr_stfle_init instead of
6502 s390_libc_ifunc_init.
6503 * sysdeps/s390/memcmp.c: Likewise.
6504 * sysdeps/s390/memcpy.c: Likewise.
6505 * sysdeps/s390/mempcpy.c: Likewise.
6506 * sysdeps/s390/memset.c: Likewise.
6507
12f0dcb8
SL
65082018-12-18 Stefan Liebler <stli@linux.ibm.com>
6509
6510 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6511 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6512
25654a8c
SL
65132018-12-18 Stefan Liebler <stli@linux.ibm.com>
6514
6515 * sysdeps/s390/multiarch/Makefile
6516 (sysdep_routines): Remove wmemcmp variants.
6517 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6518 * sysdeps/s390/multiarch/ifunc-impl-list.c
6519 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6520 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6521 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6522 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6523 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6524 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6525 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6526 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6527
d2a7436c
SL
65282018-12-18 Stefan Liebler <stli@linux.ibm.com>
6529
6530 * sysdeps/s390/multiarch/Makefile
6531 (sysdep_routines): Remove wmemset variants.
6532 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6533 * sysdeps/s390/multiarch/ifunc-impl-list.c
6534 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6535 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6536 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6537 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6538 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6539 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6540 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6541 * sysdeps/s390/ifunc-wmemset.h: New file.
6542
c62534ae
SL
65432018-12-18 Stefan Liebler <stli@linux.ibm.com>
6544
6545 * sysdeps/s390/multiarch/Makefile
6546 (sysdep_routines): Remove wmemchr variants.
6547 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6548 * sysdeps/s390/multiarch/ifunc-impl-list.c
6549 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6550 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6551 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6552 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6553 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6554 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6555 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6556 * sysdeps/s390/ifunc-wmemchr.h: New file.
6557
79b44cf6
SL
65582018-12-18 Stefan Liebler <stli@linux.ibm.com>
6559
6560 * sysdeps/s390/multiarch/Makefile
6561 (sysdep_routines): Remove wcscspn variants.
6562 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6563 * sysdeps/s390/multiarch/ifunc-impl-list.c
6564 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6565 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6566 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6567 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6568 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6569 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6570 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6571 * sysdeps/s390/ifunc-wcscspn.h: New file.
6572
8e87c1f6
SL
65732018-12-18 Stefan Liebler <stli@linux.ibm.com>
6574
6575 * sysdeps/s390/multiarch/Makefile
6576 (sysdep_routines): Remove wcspbrk variants.
6577 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6578 * sysdeps/s390/multiarch/ifunc-impl-list.c
6579 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6580 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6581 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6582 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6583 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6584 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6585 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6586 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6587
8507e831
SL
65882018-12-18 Stefan Liebler <stli@linux.ibm.com>
6589
6590 * sysdeps/s390/multiarch/Makefile
6591 (sysdep_routines): Remove wcsspn variants.
6592 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6593 * sysdeps/s390/multiarch/ifunc-impl-list.c
6594 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6595 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6596 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6597 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6598 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6599 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6600 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6601 * sysdeps/s390/ifunc-wcsspn.h: New file.
6602
4753713a
SL
66032018-12-18 Stefan Liebler <stli@linux.ibm.com>
6604
6605 * sysdeps/s390/multiarch/Makefile
6606 (sysdep_routines): Remove wcsrchr variants.
6607 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6608 * sysdeps/s390/multiarch/ifunc-impl-list.c
6609 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6610 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6611 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6612 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6613 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6614 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6615 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6616 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6617
c09c1b6f
SL
66182018-12-18 Stefan Liebler <stli@linux.ibm.com>
6619
6620 * sysdeps/s390/multiarch/Makefile
6621 (sysdep_routines): Remove wcschrnul variants.
6622 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6623 * sysdeps/s390/multiarch/ifunc-impl-list.c
6624 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6625 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6626 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6627 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6628 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6629 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6630 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6631 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6632
cf3ccc31
SL
66332018-12-18 Stefan Liebler <stli@linux.ibm.com>
6634
6635 * sysdeps/s390/multiarch/Makefile
6636 (sysdep_routines): Remove wcschr variants.
6637 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6638 * sysdeps/s390/multiarch/ifunc-impl-list.c
6639 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6640 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6641 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6642 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6643 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6644 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6645 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6646 * sysdeps/s390/ifunc-wcschr.h: New file.
6647
e9873e1d
SL
66482018-12-18 Stefan Liebler <stli@linux.ibm.com>
6649
6650 * sysdeps/s390/multiarch/Makefile
6651 (sysdep_routines): Remove wcsncmp variants.
6652 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6653 * sysdeps/s390/multiarch/ifunc-impl-list.c
6654 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6655 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6656 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6657 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6658 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6659 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6660 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6661 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6662
3459e23d
SL
66632018-12-18 Stefan Liebler <stli@linux.ibm.com>
6664
6665 * sysdeps/s390/multiarch/Makefile
6666 (sysdep_routines): Remove wcscmp variants.
6667 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6668 * sysdeps/s390/multiarch/ifunc-impl-list.c
6669 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6670 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6671 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6672 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6673 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6674 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6675 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6676 * sysdeps/s390/ifunc-wcscmp.h: New file.
6677
814a76e1
SL
66782018-12-18 Stefan Liebler <stli@linux.ibm.com>
6679
6680 * sysdeps/s390/multiarch/Makefile
6681 (sysdep_routines): Remove wcsncat variants.
6682 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6683 * sysdeps/s390/multiarch/ifunc-impl-list.c
6684 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6685 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6686 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6687 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6688 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6689 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6690 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6691 * sysdeps/s390/ifunc-wcsncat.h: New file.
6692
3389cae4
SL
66932018-12-18 Stefan Liebler <stli@linux.ibm.com>
6694
6695 * sysdeps/s390/multiarch/Makefile
6696 (sysdep_routines): Remove wcscat variants.
6697 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6698 * sysdeps/s390/multiarch/ifunc-impl-list.c
6699 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6700 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6701 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6702 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6703 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6704 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6705 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6706 * sysdeps/s390/ifunc-wcscat.h: New file.
6707
c3081bcb
SL
67082018-12-18 Stefan Liebler <stli@linux.ibm.com>
6709
6710 * sysdeps/s390/multiarch/Makefile
6711 (sysdep_routines): Remove wcpncpy variants.
6712 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6713 * sysdeps/s390/multiarch/ifunc-impl-list.c
6714 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6715 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6716 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6717 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6718 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6719 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6720 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6721 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6722
0966dd86
SL
67232018-12-18 Stefan Liebler <stli@linux.ibm.com>
6724
6725 * sysdeps/s390/multiarch/Makefile
6726 (sysdep_routines): Remove wcsncpy variants.
6727 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6728 * sysdeps/s390/multiarch/ifunc-impl-list.c
6729 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6730 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6731 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6732 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6733 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6734 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6735 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6736 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6737
0582e428
SL
67382018-12-18 Stefan Liebler <stli@linux.ibm.com>
6739
6740 * sysdeps/s390/multiarch/Makefile
6741 (sysdep_routines): Remove wcpcpy variants.
6742 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6743 * sysdeps/s390/multiarch/ifunc-impl-list.c
6744 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6745 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6746 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6747 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6748 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6749 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6750 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6751 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6752
804f2e5c
SL
67532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6754
6755 * sysdeps/s390/multiarch/Makefile
6756 (sysdep_routines): Remove wcscpy variants.
6757 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6758 * sysdeps/s390/multiarch/ifunc-impl-list.c
6759 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6760 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6761 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6762 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6763 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6764 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6765 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6766 * sysdeps/s390/ifunc-wcscpy.h: New file.
6767
c7e7cd26
SL
67682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6769
6770 * sysdeps/s390/multiarch/Makefile
6771 (sysdep_routines): Remove wcsnlen variants.
6772 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6773 * sysdeps/s390/multiarch/ifunc-impl-list.c
6774 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6775 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6776 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6777 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6778 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6779 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6780 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6781 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6782
2e02d0b7
SL
67832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6784
6785 * sysdeps/s390/multiarch/Makefile
6786 (sysdep_routines): Remove wcslen variants.
6787 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6788 * sysdeps/s390/multiarch/ifunc-impl-list.c
6789 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6790 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6791 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6792 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6793 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6794 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6795 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6796 * sysdeps/s390/ifunc-wcslen.h: New file.
6797
89bfcbdf
SL
67982018-12-18 Stefan Liebler <stli@linux.ibm.com>
6799
6800 * sysdeps/s390/multiarch/Makefile
6801 (sysdep_routines): Remove memrchr variants.
6802 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6803 * sysdeps/s390/multiarch/ifunc-impl-list.c
6804 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6805 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6806 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6807 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6808 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6809 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6810 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6811 * sysdeps/s390/ifunc-memrchr.h: New file.
6812
196655ba
SL
68132018-12-18 Stefan Liebler <stli@linux.ibm.com>
6814
6815 * sysdeps/s390/multiarch/Makefile
6816 (sysdep_routines): Remove memccpy variants.
6817 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6818 * sysdeps/s390/multiarch/ifunc-impl-list.c
6819 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6820 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6821 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6822 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6823 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6824 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6825 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6826 * sysdeps/s390/ifunc-memccpy.h: New file.
6827
4c7b3cec
SL
68282018-12-18 Stefan Liebler <stli@linux.ibm.com>
6829
6830 * sysdeps/s390/multiarch/Makefile
6831 (sysdep_routines): Remove rawmemchr variants.
6832 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6833 * sysdeps/s390/multiarch/ifunc-impl-list.c
6834 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6835 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6836 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6837 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6838 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6839 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6840 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6841 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6842
581a051c
SL
68432018-12-18 Stefan Liebler <stli@linux.ibm.com>
6844
6845 * sysdeps/s390/multiarch/Makefile
6846 (sysdep_routines): Remove memchr variants.
6847 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6848 * sysdeps/s390/multiarch/ifunc-impl-list.c
6849 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6850 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6851 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6852 * sysdeps/s390/multiarch/memchr.c: Move to ...
6853 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6854 * sysdeps/s390/ifunc-memchr.h: New file.
6855 * sysdeps/s390/s390-64/memchr.S: Move to ...
6856 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6857 for 31/64bit and ifunc handling.
6858 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6859 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6860 * sysdeps/s390/s390-32/memchr.S: Likewise.
6861
5d2ec20a
SL
68622018-12-18 Stefan Liebler <stli@linux.ibm.com>
6863
6864 * sysdeps/s390/multiarch/Makefile
6865 (sysdep_routines): Remove strcspn variants.
6866 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6867 * sysdeps/s390/multiarch/ifunc-impl-list.c
6868 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6869 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6870 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6871 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6872 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6873 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6874 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6875 * sysdeps/s390/ifunc-strcspn.h: New file.
6876
572cca93
SL
68772018-12-18 Stefan Liebler <stli@linux.ibm.com>
6878
6879 * sysdeps/s390/multiarch/Makefile
6880 (sysdep_routines): Remove strpbrk variants.
6881 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6882 * sysdeps/s390/multiarch/ifunc-impl-list.c
6883 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6884 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6885 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6886 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6887 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6888 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6889 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6890 * sysdeps/s390/ifunc-strpbrk.h: New file.
6891
483fc569
SL
68922018-12-18 Stefan Liebler <stli@linux.ibm.com>
6893
6894 * sysdeps/s390/multiarch/Makefile
6895 (sysdep_routines): Remove strspn variants.
6896 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6897 * sysdeps/s390/multiarch/ifunc-impl-list.c
6898 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6899 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6900 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6901 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6902 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6903 * sysdeps/s390/multiarch/strspn.c: Move to ...
6904 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6905 * sysdeps/s390/ifunc-strspn.h: New file.
6906
26ea8760
SL
69072018-12-18 Stefan Liebler <stli@linux.ibm.com>
6908
6909 * sysdeps/s390/multiarch/Makefile
6910 (sysdep_routines): Remove strrchr variants.
6911 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6912 * sysdeps/s390/multiarch/ifunc-impl-list.c
6913 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6914 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6915 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6916 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6917 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6918 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6919 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6920 * sysdeps/s390/ifunc-strrchr.h: New file.
6921
a1361e65
SL
69222018-12-18 Stefan Liebler <stli@linux.ibm.com>
6923
6924 * sysdeps/s390/multiarch/Makefile
6925 (sysdep_routines): Remove strchrnul variants.
6926 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6927 * sysdeps/s390/multiarch/ifunc-impl-list.c
6928 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6929 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6930 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6931 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6932 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6933 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6934 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6935 * sysdeps/s390/ifunc-strchrnul.h: New file.
6936
32f12653
SL
69372018-12-18 Stefan Liebler <stli@linux.ibm.com>
6938
6939 * sysdeps/s390/multiarch/Makefile
6940 (sysdep_routines): Remove strchr variants.
6941 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6942 * sysdeps/s390/multiarch/ifunc-impl-list.c
6943 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6944 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6945 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6946 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6947 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6948 * sysdeps/s390/multiarch/strchr.c: Move to ...
6949 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6950 * sysdeps/s390/ifunc-strchr.h: New file.
6951
316b8842
SL
69522018-12-18 Stefan Liebler <stli@linux.ibm.com>
6953
6954 * sysdeps/s390/multiarch/Makefile
6955 (sysdep_routines): Remove strncmp variants.
6956 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6957 * sysdeps/s390/multiarch/ifunc-impl-list.c
6958 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6959 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6960 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6961 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6962 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6963 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6964 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6965 * sysdeps/s390/ifunc-strncmp.h: New file.
6966
cdab85fe
SL
69672018-12-18 Stefan Liebler <stli@linux.ibm.com>
6968
6969 * sysdeps/s390/multiarch/Makefile
6970 (sysdep_routines): Remove strcmp variants.
6971 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6972 * sysdeps/s390/multiarch/ifunc-impl-list.c
6973 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6974 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6975 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6976 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6977 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6978 * sysdeps/s390/ifunc-strcmp.h: New file.
6979 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6980 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6981 for 31/64bit and ifunc handling.
6982 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6983 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6984 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6985
b9353351
SL
69862018-12-18 Stefan Liebler <stli@linux.ibm.com>
6987
6988 * sysdeps/s390/multiarch/Makefile
6989 (sysdep_routines): Remove strncat variants.
6990 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6991 * sysdeps/s390/multiarch/ifunc-impl-list.c
6992 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6993 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6994 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6995 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6996 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6997 * sysdeps/s390/multiarch/strncat.c: Move to ...
6998 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6999 * sysdeps/s390/ifunc-strncat.h: New file.
7000
8e5a0afb
SL
70012018-12-18 Stefan Liebler <stli@linux.ibm.com>
7002
7003 * sysdeps/s390/multiarch/Makefile
7004 (sysdep_routines): Remove strcat variants.
7005 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7006 * sysdeps/s390/multiarch/ifunc-impl-list.c
7007 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7008 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7009 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7010 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7011 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7012 * sysdeps/s390/multiarch/strcat.c: Move to ...
7013 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7014 * sysdeps/s390/ifunc-strcat.h: New file.
7015
25218822
SL
70162018-12-18 Stefan Liebler <stli@linux.ibm.com>
7017
7018 * sysdeps/s390/multiarch/Makefile
7019 (sysdep_routines): Remove stpncpy variants.
7020 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7021 * sysdeps/s390/multiarch/ifunc-impl-list.c
7022 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7023 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7024 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7025 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7026 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7027 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7028 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7029 * sysdeps/s390/ifunc-stpncpy.h: New file.
7030
d1bdbf38
SL
70312018-12-18 Stefan Liebler <stli@linux.ibm.com>
7032
7033 * sysdeps/s390/multiarch/Makefile
7034 (sysdep_routines): Remove strncpy variants.
7035 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7036 * sysdeps/s390/multiarch/ifunc-impl-list.c
7037 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7038 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7039 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7040 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7041 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7042 * sysdeps/s390/ifunc-strncpy.h: New file.
7043 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7044 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7045 and adjust ifunc handling.
7046 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7047 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7048 and adjust ifunc handling.
7049 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7050 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7051
97044931
SL
70522018-12-18 Stefan Liebler <stli@linux.ibm.com>
7053
7054 * sysdeps/s390/multiarch/Makefile
7055 (sysdep_routines): Remove stpcpy variants.
7056 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7057 * sysdeps/s390/multiarch/ifunc-impl-list.c
7058 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7059 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7060 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7061 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7062 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7063 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7064 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7065 * sysdeps/s390/ifunc-stpcpy.h: New file.
7066
914a4e05
SL
70672018-12-18 Stefan Liebler <stli@linux.ibm.com>
7068
7069 * sysdeps/s390/multiarch/Makefile
7070 (sysdep_routines): Remove strcpy variants.
7071 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7072 * sysdeps/s390/multiarch/ifunc-impl-list.c
7073 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7074 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7075 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7076 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7077 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7078 * sysdeps/s390/ifunc-strcpy.h: New file.
7079 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7080 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7081 for 31/64bit and ifunc handling.
7082 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7083 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7084 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7085
de10e44d
SL
70862018-12-18 Stefan Liebler <stli@linux.ibm.com>
7087
7088 * sysdeps/s390/multiarch/Makefile
7089 (sysdep_routines): Remove strnlen variants.
7090 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7091 * sysdeps/s390/multiarch/ifunc-impl-list.c
7092 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7093 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7094 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7095 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7096 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7097 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7098 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7099 * sysdeps/s390/ifunc-strnlen.h: New file.
7100
ff3ca374
SL
71012018-12-18 Stefan Liebler <stli@linux.ibm.com>
7102
7103 * sysdeps/s390/multiarch/Makefile
7104 (sysdep_routines): Remove strlen variants.
7105 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7106 * sysdeps/s390/multiarch/ifunc-impl-list.c
7107 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7108 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7109 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7110 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7111 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7112 * sysdeps/s390/multiarch/strlen.c: Move to ...
7113 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7114 * sysdeps/s390/ifunc-strlen.h: New file.
7115
d2c4c403
SL
71162018-12-18 Stefan Liebler <stli@linux.ibm.com>
7117
7118 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7119 * sysdeps/s390/multiarch/ifunc-impl-list.c
7120 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7121 * sysdeps/s390/ifunc-memmem.h: New file.
7122 * sysdeps/s390/memmem.c: Likewise.
7123 * sysdeps/s390/memmem-c.c: Likewise.
7124 * sysdeps/s390/memmem-vx.c: Likewise.
7125
8c25dddd
SL
71262018-12-18 Stefan Liebler <stli@linux.ibm.com>
7127
7128 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7129 * sysdeps/s390/multiarch/ifunc-impl-list.c
7130 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7131 * sysdeps/s390/ifunc-strstr.h: New file.
7132 * sysdeps/s390/strstr.c: Likewise.
7133 * sysdeps/s390/strstr-c.c: Likewise.
7134 * sysdeps/s390/strstr-vx.c: Likewise.
7135
cdd927d9
SL
71362018-12-18 Stefan Liebler <stli@linux.ibm.com>
7137
7138 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7139 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7140 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7141 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7142 New defines.
7143 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7144 * sysdeps/s390/memmove-c.c: New file.
7145 * sysdeps/s390/memmove.c: Likewise.
7146 * sysdeps/s390/multiarch/ifunc-impl-list.c
7147 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7148
2ee1bc57
SL
71492018-12-18 Stefan Liebler <stli@linux.ibm.com>
7150
7151 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7152 * sysdeps/s390/configure.ac: Add check for z13 support.
7153 * sysdeps/s390/configure: Regenerated.
7154
d097d976
SL
71552018-12-18 Stefan Liebler <stli@linux.ibm.com>
7156
7157 * sysdeps/s390/memcopy.h: New file.
7158
e099aab0
SL
71592018-12-18 Stefan Liebler <stli@linux.ibm.com>
7160
7161 * sysdeps/s390/s390-32/bcopy.S: Remove.
7162 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7163
18eb862d
SL
71642018-12-18 Stefan Liebler <stli@linux.ibm.com>
7165
7166 * sysdeps/s390/ifunc-memcpy.h: New File.
7167 * sysdeps/s390/memcpy.S: Move to ...
7168 * sysdeps/s390/memcpy-z900.S ... here.
7169 Move implementations from memcpy-s390x.s to here.
7170 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7171 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7172 Remove memcpy/mempcpy variants.
7173 * sysdeps/s390/Makefile (sysdep_routines):
7174 Add memcpy/mempcpy variants.
7175 * sysdeps/s390/multiarch/ifunc-impl-list.c
7176 (__libc_ifunc_impl_list): Adjust ifunc variants for
7177 memcpy and mempcpy.
7178 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7179 to ...
7180 * sysdeps/s390/memcpy.c: ... here.
7181 Adjust ifunc variants for memcpy.
7182 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7183 * sysdeps/s390/mempcpy.c: ... here.
7184 Adjust ifunc variants for mempcpy.
7185 * sysdeps/s390/mempcpy.S: Delete file.
7186
df3eb8de
SL
71872018-12-18 Stefan Liebler <stli@linux.ibm.com>
7188
7189 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7190 * sysdeps/s390/memcpy.S: ... here.
7191 Adjust to be usable for 31/64bit.
7192 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7193 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7194 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7195 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7196 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7197 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7198 Adjust to be usable for 31/64bit.
7199 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7200 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7201 * sysdeps/s390/multiarch/memcpy.c: ... here.
7202 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7203
b7e024a8
SL
72042018-12-18 Stefan Liebler <stli@linux.ibm.com>
7205
7206 * sysdeps/s390/ifunc-memcmp.h: New File.
7207 * sysdeps/s390/memcmp.S: Move to ...
7208 * sysdeps/s390/memcmp-z900.S ... here.
7209 Move implementations from memcmp-s390x.s to here.
7210 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7211 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7212 Remove memcmp variants.
7213 * sysdeps/s390/Makefile (sysdep_routines):
7214 Add memcmp variants.
7215 * sysdeps/s390/multiarch/ifunc-impl-list.c
7216 (__libc_ifunc_impl_list): Adjust ifunc variants for
7217 memcmp.
7218 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7219 to ...
7220 * sysdeps/s390/memcmp.c: ... here.
7221 Adjust ifunc variants for memcmp.
7222
6c6b8c74
SL
72232018-12-18 Stefan Liebler <stli@linux.ibm.com>
7224
7225 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7226 * sysdeps/s390/memcmp.S: ... here.
7227 Adjust to be usable for 31/64bit.
7228 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7229 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7230 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7231 Remove memcmp.
7232 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7233 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7234 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7235 Adjust to be usable for 31/64bit.
7236 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7237 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7238 * sysdeps/s390/multiarch/memcmp.c: ... here.
7239 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7240
07be3928
SL
72412018-12-18 Stefan Liebler <stli@linux.ibm.com>
7242
7243 * sysdeps/s390/s390-32/bzero.S: Delete file.
7244 * sysdeps/s390/s390-64/bzero.S: Likewise.
7245 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7246 * sysdeps/s390/bzero.c: New file.
7247 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7248 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7249 * sysdeps/s390/multiarch/ifunc-impl-list.c
7250 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7251
712a254a
SL
72522018-12-18 Stefan Liebler <stli@linux.ibm.com>
7253
7254 * sysdeps/s390/ifunc-memset.h: New File.
7255 * sysdeps/s390/memset.S: Move to ...
7256 * sysdeps/s390/memset-z900.S ... here.
7257 Move implementations from memset-s390x.s to here.
7258 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7259 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7260 Remove memset variants.
7261 * sysdeps/s390/Makefile (sysdep_routines):
7262 Add memset variants.
7263 * sysdeps/s390/multiarch/ifunc-impl-list.c
7264 (__libc_ifunc_impl_list): Adjust ifunc variants for
7265 memset.
7266 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7267 to ...
7268 * sysdeps/s390/memset.c: ... here.
7269 Adjust ifunc variants for memset.
7270
5f1743d1
SL
72712018-12-18 Stefan Liebler <stli@linux.ibm.com>
7272
7273 * sysdeps/s390/s390-64/memset.S: Move to ...
7274 * sysdeps/s390/memset.S: ... here.
7275 Adjust to be usable for 31/64bit.
7276 * sysdeps/s390/s390-32/memset.S: Delete File.
7277 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7278 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7279 Remove memset.
7280 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7281 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7282 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7283 Adjust to be usable for 31/64bit.
7284 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7285 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7286 * sysdeps/s390/multiarch/memset.c: ... here.
7287 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7288
e8023f26
SL
72892018-12-18 Stefan Liebler <stli@linux.ibm.com>
7290
7291 * sysdeps/s390/multiarch/ifunc-resolve.h
7292 (s390_libc_ifunc_init, s390_libc_ifunc,
7293 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7294
b8686c0d
SL
72952018-12-18 Stefan Liebler <stli@linux.ibm.com>
7296
7297 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7298 * sysdeps/s390/configure.ac: Add check for z10 support.
7299 * sysdeps/s390/configure: Regenerated.
7300
cd815050
L
73012018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7302
7303 * sysdeps/i386/atomic-machine.h: Merged with ...
7304 * sysdeps/x86_64/atomic-machine.h: To ...
7305 * sysdeps/x86/atomic-machine.h: This. New file.
7306
053c52b1
FW
73072018-12-18 Florian Weimer <fweimer@redhat.com>
7308
7309 Rewrite locale/gen-translit.pl in Python.
7310 * locale/Makefile (generated): Add C-translit.h.
7311 (before-compile): Add $(objpfx)C-translit.h.
7312 (C-translit.h): Move to $(objpfx). Create target directory.
7313 Build using Python script.
7314 * locale/gen-translit.py: New file.
7315 * locale/gen-translit.pl: Remove file.
7316 * locale/C-translit.h.in: Change comment character to '#' for
7317 easier parsing without a C preprocessor.
7318 * locale/C-translit.h: Remove generated file.
7319 * manual/install.texi (Tools for Compilation): Do not mention
7320 C-translit.h.
7321 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7322 Remove locale/C-translit.h.
7323 * scripts/update-copyrights: Likewise.
7324 * INSTALL: Regenerate.
7325
40e6c1ec
FW
73262018-12-18 Florian Weimer <fweimer@redhat.com>
7327
7328 [BZ #23995]
7329 * localedata/locales/bi_VU: Remove executable bit from file.
7330
6b5c8607 73312018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
7332
7333 * include/time.h
7334 (__localtime64): Add.
7335 * manual/maint.texi: Document Y2038 symbol handling.
7336 * time/localtime.c
7337 (__localtime64): Add.
bfb79db4 7338 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 7339
df648905
JM
73402018-12-17 Joseph Myers <joseph@codesourcery.com>
7341
551e81d9
JM
7342 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7343 Do not clobber r12.
7344
df648905
JM
7345 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7346 to allow extra macros from first or second sources.
7347 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7348 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7349 (tests-special): Add $(objpfx)tst-mman-consts.out.
7350 ($(objpfx)tst-mman-consts.out): New makefile target.
7351
6bbfc5c0
MH
73522018-12-17 Mao Han <han_mao@c-sky.com>
7353
7354 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7355 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7356 without stat64 system call support.
7357 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7358 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7359 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7360 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7361 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7362 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7363 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7364 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7365 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7366 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7367 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7368
ef202e53
PE
73692018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7370
7371 regex: fix storage-exhaustion error
7372 [BZ #18040]
7373 * posix/regexec.c (get_subexp):
7374 Do not continue if storage is exhausted.
7375
077caf61
AG
73762018-12-15 Assaf Gordon <assafgordon@gmail.com>
7377
7378 regex: fix heap-use-after-free error
7379 [BZ #18040]
7380 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7381 https://debbugs.gnu.org/32592
7382 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7383 call extend_buffers which reallocates the re_string_t internal buffer.
7384 Local variable 'buf' was not updated in such case, resulting in
7385 use-after-free.
7386 * posix/regexec.c (get_subexp): Update 'buf' after call to
7387 get_subexp_sub.
7388
0c1719e6
FW
73892018-12-15 Florian Weimer <fweimer@redhat.com>
7390
7391 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7392 (minimum_stride_size): Use it.
7393 (support_blob_repeat_allocate): Likewise.
7394
033a2c0a
JM
73952018-12-14 Joseph Myers <joseph@codesourcery.com>
7396
7397 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7398 definition.
7399 (acosh): Likewise.
7400 (atanh): Likewise.
7401
e361dc04
FW
74022018-12-14 Florian Weimer <fweimer@redhat.com>
7403
7404 * manual/process.texi (Process Creation Concepts): Remove
7405 documentation of process (ID) lifetime. List more process
7406 creation functions. Reference Process Identification section.
7407 (Process Identification): Add information about process ID
7408 lifetime. Describe Linux thread/task IDs.
7409 * manual/signal.texi (Signaling Another Process): Mention that the
7410 signal is always sent to the process.
7411
bd51ff5e
GG
74122018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7413
7414 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7415 and tst-ldbl-efgcvt.
7416 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7417 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7418 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7419 (fcvt_tests, output_error, output_r_error, do_test): Use the
7420 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7421 select the type of floating-point variables and arguments; to
7422 produce extra tests for double and conversion specifiers for
7423 printf; and to set the names of called functions.
7424 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7425 in tst-efgcvt-template.c.
7426 * misc/tst-ldbl-efgcvt.c: Likewise.
7427
268bb71e
SL
74282018-12-14 Stefan Liebler <stli@linux.ibm.com>
7429
7430 * nss/Makefile (tst-nss-test3.out): New rule.
7431
db6df070
JM
74322018-12-13 Joseph Myers <joseph@codesourcery.com>
7433
7434 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7435 clobber sp.
7436
ade8b817
CD
74372018-12-13 fanjinke <fanjinke@hygon.cn>
7438
7439 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7440 "HygonGenuine".
7441
3d265911
AS
74422018-12-13 Andreas Schwab <schwab@suse.de>
7443
f21e8f8c 7444 [BZ #23861]
3d265911 7445 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
7446 (__pthread_rwlock_rdlock_full): Update expected value for
7447 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7448 * nptl/tst-rwlock-pwn.c: New file.
7449 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 7450
bf8ae8c0
JM
74512018-12-12 Joseph Myers <joseph@codesourcery.com>
7452
7453 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7454 definition.
7455
de099757
LS
74562018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7457
7458 * benchtests/scripts/compare_bench.py (do_compare): write to
7459 stderr in casestat is not present.
7460 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7461 stderr in case timings field is not present. Also string showing
7462 the output filename goes into the stderr.
7463
1990185f
LS
74642018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7465
7466 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7467 and ZeroDivisorError exceptions.
7468 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7469 argument to loop through user provided statistics.
7470 * benchtests/scripts/compare_bench.py (main): Include the --stats
7471 argument.
7472
587426d4
LS
74732018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7474
7475 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7476 instead of return.
7477
46703efa
FW
74782018-12-12 Florian Weimer <fweimer@redhat.com>
7479
7480 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7481 clause to copyright header.
7482
1d880d4a
TMQMF
74832018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7484
7485 [BZ #23614]
7486 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7487 registers saved in the stack frame.
7488 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7489 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7490
1a502f52
GG
74912018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7492
7493 * include/bits/monetary-ldbl.h: New file.
7494 * include/bits/printf-ldbl.h: Likewise.
7495 * include/bits/stdio-ldbl.h: Likewise.
7496 * include/bits/stdlib-ldbl.h: Likewise.
7497 * include/bits/syslog-ldbl.h: Likewise.
7498 * include/bits/wchar-ldbl.h: Likewise.
7499
df682d1d
GG
75002018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7501
7502 * libio/libio.h: Remove redirection for _IO_vfprintf.
7503
c2c082c1
AS
75042018-12-11 Andreas Schwab <schwab@suse.de>
7505
7506 * Makerules: Remove all references to abilist-pattern.
7507 (update-all-abi): Simplify find expression.
7508
505b5b29
SN
75092018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7510
7511 [BZ #23961]
7512 * math/auto-libm-test-in: Add new test case.
7513 * math/auto-libm-test-out-pow: Regenerated.
7514 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7515
304c61a2
DD
75162018-12-10 DJ Delorie <dj@redhat.com>
7517
7518 [BZ #23948]
7519 * support/test-container.c: Move postclean step to before we
7520 change namespaces.
7521
a8110b72
JM
75222018-12-10 Joseph Myers <joseph@codesourcery.com>
7523
cb7be159
JM
7524 * scripts/gen-as-const.py (main): Handle --python option.
7525 * scripts/gen-py-const.awk: Remove.
7526 * Makerules (py-const-script): Use gen-as-const.py.
7527 ($(py-const)): Likewise.
7528 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7529 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7530 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7531 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7532 ~PTHREAD_MUTEX_NO_ELISION_NP.
7533 * manual/README.pretty-printers: Update reference to
7534 gen-py-const.awk.
7535
a8110b72
JM
7536 * scripts/glibcextract.py: New file.
7537 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7538 or tempfile. Import glibcexctract.
7539 (compute_c_consts): Remove. Moved to glibcextract.py.
7540 (gen_test): Update reference to compute_c_consts.
7541 (main): Likewise.
7542 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7543 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7544 * sysdeps/unix/sysv/linux/Makefile
7545 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7546 Redirect stderr as well as stdout.
7547
f9ba9eb8
RÁE
75482018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7549
7550 [BZ #19767]
7551 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
7552 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7553 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 7554 ALWAYS_USE_VSYSCALL.
b39d961c 7555 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
7556 ALWAYS_USE_VSYSCALL.
7557 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7558 ALWAYS_USE_VSYSCALL.
7559
8d20a2f4
FW
75602018-12-10 Florian Weimer <fweimer@redhat.com>
7561
7562 [BZ #23972]
7563 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7564 offset instead of count for clarity. Fix typo in comment.
7565 (__old_getdents64): Keep track of previous offset. Use it to call
7566 handle_overflow.
7567 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7568 that d_off is never zero.
7569
80472e2f
AS
75702018-12-10 Andreas Schwab <schwab@suse.de>
7571
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7573 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7575 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7576 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7577
0afcb29d
JM
75782018-12-10 Joseph Myers <joseph@codesourcery.com>
7579
7580 * timezone/private.h: Update from tzcode 2018g.
7581 * timezone/tzfile.h: Likewise.
7582 * timezone/tzselect.ksh: Likewise.
7583 * timezone/zdump.c: Likewise.
7584 * timezone/zic.c: Likewise.
7585
b93f4052
PP
75862018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7587
7588 [BZ #23490]
7589 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7590 (do_test): Adjust buffer size and fix format.
7591
7c9a7c68
DD
75922018-12-07 DJ Delorie <dj@redhat.com>
7593
7594 [BZ #23907]
7595 * malloc/tst-tcfree3.c: New.
7596 * malloc/Makefile: Add it.
7597
37caec3a
L
75982018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7601
10446f5d
GG
76022018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7603
7604 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7605 used as a mask for the mode argument of __vfscanf_internal and
7606 __vfwscanf_internal.
7607 * stdio-common/vfscanf-internal.c
7608 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7609 (__strtof128_internal): Define to __wcstof128_internal.
7610 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7611 __strtof128_internal or __wcstof128_internal when the format of
7612 long double is the same as _Float128.
7613
45f33aac
ST
76142018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7615
7616 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7617 * posix/confstr.c (confstr): Rename to __confstr.
7618 (__confstr): Add hidden def.
7619 (confstr): Add weak alias for __confstr.
7620 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7621 confstr.
7622
a092ca94
L
76232018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7624
7625 * NEWS: Mention getcpu.
7626 * include/sched.h (__getcpu): New libc_hidden_proto.
7627 * manual/resource.texi: Document getcpu.
7628 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7629 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7630 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7631 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7632 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7633 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7634 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7635 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7637 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7638 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7639 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7640 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7641 Likewise.
7642 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7643 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7644 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7646 Likewise.
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7648 Likewise.
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7650 Likewise.
7651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7652 Likewise.
7653 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7654 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7655 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7656 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7658 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7659 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7660 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7661 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7662 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7663 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7664 Also check getcpu.
7665
7c857b6f
ST
76662018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7667
7668 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7669 functions.
7670 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7671
3a3fb755
FW
76722018-12-07 Florian Weimer <fweimer@redhat.com>
7673
7674 [BZ #17405]
7675 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7676 * posix/Versions (GLIBC_2.29): Export
7677 posix_spawn_file_actions_addfchdir_np.
7678 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7679 * posix/spawn_faction_destroy.c
7680 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7681 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7682 and the field action.fchdir_action.
7683 * posix/tst-spawn-chdir.c (add_chdir): New function.
7684 (do_test): Add do_fchdir loop. Call add_chdir.
7685 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7686 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7687 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7688 posix_spawn_file_actions_addfchdir_np.
7689 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7690 Likewise.
7691 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7692 Likewise.
7693 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7694 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7695 Likewise.
7696 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7697 Likewise.
7698 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7699 Likewise.
7700 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7701 Likewise.
7702 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7703 Likewise.
7704 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7705 Likewise.
7706 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7707 (GLIBC_2.29): Likewise.
7708 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7709 (GLIBC_2.29): Likewise.
7710 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7711 (GLIBC_2.29): Likewise.
7712 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7713 (GLIBC_2.29): Likewise.
7714 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7715 Likewise.
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7717 (GLIBC_2.29): Likewise.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7719 (GLIBC_2.29): Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7721 (GLIBC_2.29): Likewise.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7723 (GLIBC_2.29): Likewise.
7724 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7725 Likewise.
7726 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7727 Likewise.
7728 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7729 Likewise.
7730 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7731 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7732 Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7734 Likewise.
7735 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7736 Likewise.
7737 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7738 Likewise.
7739
c37cd439
JM
77402018-12-06 Joseph Myers <joseph@codesourcery.com>
7741
7742 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7743 trailing whitespace removed.
7744 * scripts/config.guess: Update to version 2018-11-28.
7745 * scripts/config.sub: Update to version 2018-11-28.
7746 * scripts/install-sh: Update to version 2018-03-11.20.
7747 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7748 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7749
899478c2
FW
77502018-12-07 Florian Weimer <fweimer@redhat.com>
7751
7752 [BZ #23927]
7753 CVE-2018-19591
7754 * inet/tst-if_index-long.c: New file.
7755 * inet/Makefile (tests): Add tst-if_index-long.
7756
f255336a
FW
77572018-12-07 Florian Weimer <fweimer@redhat.com>
7758
7759 * support/check.h (support_record_failure_is_failed): Declare.
7760 * support/descriptors.h: New file.
7761 * support/support_descriptors.c: Likewise.
7762 * support/tst-support_descriptors.c: Likewise.
7763 * support/support_record_failure.c
7764 (support_record_failure_is_failed): New function.
7765 * support/Makefile (libsupport-routines): Add support_descriptors.
7766 (tests): Add tst-support_descriptors.
7767
35caceb1
ZW
77682018-12-05 Zack Weinberg <zackw@panix.com>
7769 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7770
7771 * stdio-common/vfprintf-internal.c
7772 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7773 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7775 and __no_long_double.
7776 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7777 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7778 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7779 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7780 and __nldbl_*syslog* functions.
7781 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7782 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7783 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7784 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7785 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7786 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7787 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7788 (__nldbl_vwprintf, __nldbl_wprintf):
7789 Directly call the appropriate __v*printf_internal routine, passing
7790 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7791 variable names.
7792 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7793 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7794 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7795 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7796 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7797 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7798 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7799 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7800 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7801 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7802 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7803 (__nldbl_syslog, __nldbl_vsyslog):
7804 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7805 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7806 appropriate.
7807 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7808 appropriate.
7809
4e2f43f8
ZW
78102018-12-05 Zack Weinberg <zackw@panix.com>
7811 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7812
7813 [BZ #11319]
7814 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7815 Moved here from debug/vsprintf_chk.c.
7816 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7817 and completion logic for the strfile to match exactly what
7818 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7819 _IO_str_init_static_internal instead of maxlen-1.
7820 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7821 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7822 __vsprintf_internal.
7823
7824 * debug/vsprintf_chk.c (__vsprintf_chk)
7825 * debug/sprintf_chk.c (__sprintf_chk):
7826 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7827 'flags' argument is positive, and slen as maxlen. No need to lock
7828 the FILE and/or construct a temporary FILE. Minimize and normalize
7829 header inclusions and variable names. Do not libc_hidden_def anything.
7830
7831 * debug/asprintf_chk.c (__asprintf_chk)
7832 * debug/dprintf_chk.c (__dprintf_chk)
7833 * debug/fprintf_chk.c (__fprintf_chk)
7834 * debug/fwprintf_chk.c (__fwprintf_chk)
7835 * debug/printf_chk.c (__printf_chk)
7836 * debug/snprintf_chk.c (__snprintf_chk)
7837 * debug/swprintf_chk.c (__swprintf_chk)
7838 * debug/vasprintf_chk.c (__vasprintf_chk)
7839 * debug/vdprintf_chk.c (__vdprintf_chk)
7840 * debug/vfprintf_chk.c (__vfprintf_chk)
7841 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7842 * debug/vprintf_chk.c (__vprintf_chk)
7843 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7844 * debug/vswprintf_chk.c (__vswprintf_chk)
7845 * debug/vwprintf_chk.c (__vwprintf_chk)
7846 * debug/wprintf_chk.c (__wprintf_chk):
7847 Directly call the corresponding vxxprintf_internal function, passing
7848 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7849 the FILE and/or construct a temporary FILE. Minimize and normalize
7850 header inclusions and variable names. Do not libc_hidden_def anything.
7851
7852 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7853 __obstack_vprintf_internal.
7854 (__obstack_vprintf_chk): Convert into a wrapper that calls
7855 __obstack_vprintf_internal (these two functions already had the
7856 same code) and move to new file...
7857 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7858 file.
7859 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7860 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7861 * debug/Makefile (routines): Add vobprintf_chk.
7862
7863 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7864 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7865 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7866 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7867 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7868 (__nldbl___obstack_vfprintf_chk):
7869 Directly call the corresponding vxxprintf_internal function,
7870 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7871 duplicate comparison of slen with 0 or maxlen from the corresponding
7872 non-__nldbl function.
7873
7874 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7875 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7876 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7877 Remove libc_hidden_proto.
7878
7879 * stdio-common/vfprintf-internal.c
7880 (__vfprintf_internal, __vfwprintf_internal):
7881 Do not check _IO_FLAGS2_FORTIFY.
7882 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7883 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7884 a comment explaining why it has the maxlen argument.
7885 (_IO_acquire_lock_clear_flags2_fct): Remove.
7886 (_IO_acquire_lock_clear_flags2): Remove.
7887 (_IO_release_lock): Remove conditional statement which will
7888 now never execute.
7889 (_IO_acquire_lock): Remove variable which is now unused.
7890 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7891 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7892
7893 * stdio-common/Makefile (tests): Add tst-bz11319 and
7894 tst-bz11319-fortify2.
7895 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7896 * stdio-common/tst-bz11319-fortify2.c: New file.
7897 * stdio-common/tst-bz11319.c: Likewise.
7898
124fc732
ZW
78992018-12-05 Zack Weinberg <zackw@panix.com>
7900 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7901
7902 * misc/syslog.c: Include libioP.h, not iolibio.h.
7903 (__vsyslog_internal): New function with the former body of
7904 __vsyslog_chk; takes mode_flags argument same as
7905 __v*printf_internal. Call __vfprintf_internal directly.
7906
7907 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7908 Remove libc_hidden_def.
7909 (__syslog, __syslog_chk): Use __vsyslog_internal.
7910 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7911
7912 * include/sys/syslog.h: Add multiple inclusion guard.
7913 Add prototype for __vsyslog_internal.
7914 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7915
7916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7917 Use __vsyslog_internal.
7918
698fb75b
ZW
79192018-12-05 Zack Weinberg <zackw@panix.com>
7920 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7921
7922 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7923 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7924 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7925 New functions.
7926 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7927 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7928
7929 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7930 Include wctype.h here if COMPILE_WPRINTF is defined.
7931 Define __vfprintf_internal or __vfwprintf_internal, depending
7932 on COMPILE_WPRINTF.
7933 Temporarily, on entry to this function, update mode_flags
7934 according to the environmental settings corresponding to
7935 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7936 Throughout, check mode_flags instead of __ldbl_is_dbl and
7937 _IO_FLAGS2_FORTIFY on the destination FILE.
7938 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7939 Include vfprintf-internal.c. Don't include wctype.h.
7940 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7941 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7942 and vfprintf.
7943 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7944 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7945 and vfwprintf.
7946 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7947
7948 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7949 and add mode_flags argument; use __vfprintf_internal.
7950 (__vdprintf): New function. Alias vdprintf to this.
7951 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7952 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7953 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7954 (__obstack_printf): Use __obstack_printf_internal.
7955 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7956 public aliases __vsnprintf and vsnprintf.
7957 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7958 called internally.
7959 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7960 public aliases _IO_vsprintf and vsprintf.
7961 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7962 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7963 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7964 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7965 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7966
7967 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7968 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7969 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7970 * stdio-common/printf.c: Use __vfprintf_internal.
7971
7972 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7973 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7974 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7975
7976 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7977 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7978 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7979 __vfwprintf_internal.
7980
7981 * libio/libio.h: Remove libc_hidden_proto and declaration for
7982 _IO_vfprintf.
7983 Remove declaration of _IO_vfwprintf.
7984 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7985 _IO_vsprintf.
7986 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7987 _IO_obstack_printf.
7988 * include/stdio.h: Add prototype for __vasprintf.
7989 (__vsnprintf): Remove declaration, because there are no more
7990 internal calls.
7991 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7992 declaration, because there are no more internal calls.
7993
7994 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7995 __vsnprintf_internal, instead of _IO_vsnprintf.
7996 * argp/argp-help.c (__argp_error, __argp_failure): Use
7997 __vasprintf_internal, instead of _IO_vasprintf.
7998 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7999 redefine, because there are no more internal calls.
8000
d91798b3
ZW
80012018-12-05 Zack Weinberg <zackw@panix.com>
8002 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8003
8004 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8005 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8006 Include libio/strfile.h instead of libioP.h.
8007 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8008 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8009 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8010 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8011 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8012 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8013 necessary. Do not set __no_long_double. Normalize variable names.
8014 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8015 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8016 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8017 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8018 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8019 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8020 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8021 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8022 Do not set __no_long_double. Normalize variable names.
8023
b87eb3f8
ZW
80242018-12-05 Zack Weinberg <zackw@panix.com>
8025 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8026
8027 * stdio-common/isoc99_scanf.c
8028 * stdio-common/isoc99_fscanf.c
8029 * stdio-common/isoc99_sscanf.c
8030 * stdio-common/isoc99_vscanf.c
8031 * stdio-common/isoc99_vfscanf.c
8032 * stdio-common/isoc99_vsscanf.c
8033 * wcsmbs/isoc99_wscanf.c
8034 * wcsmbs/isoc99_fwscanf.c
8035 * wcsmbs/isoc99_swscanf.c
8036 * wcsmbs/isoc99_vwscanf.c
8037 * wcsmbs/isoc99_vfwscanf.c
8038 * wcsmbs/isoc99_vswscanf.c:
8039 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8040 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8041 No need to lock and unlock the FILE passed to that function.
8042
8043 * stdio-common/vfscanf-internal.c
8044 (__vfscanf_internal, __vfwscanf_internal):
8045 Don't look at _IO_FLAGS2_SCANF_STD.
8046 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8047 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8048 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8049
349718d4
ZW
80502018-12-05 Zack Weinberg <zackw@panix.com>
8051 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8052
8053 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8054 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8055 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8056 * libio/strfile.h: Add multiple inclusion guard.
8057 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8058
8059 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8060 consistency with the other version of this file.
8061 (ldbl_compat_symbol): New macro.
8062 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8063 New macro.
8064
8065 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8066 Define __vfscanf_internal or __vfwscanf_internal, depending on
8067 COMPILE_WSCANF; don't define any other public symbols.
8068 Remove errval and code to set errp.
8069 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8070 as the mode_flags argument.
8071 (encode_error, conv_error, input_error): Don't set errval.
8072 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8073 Include vfscanf-internal.c.
8074 * stdio-common/vfscanf.c: New file defining the public entry
8075 point vfscanf, which calls __vfscanf_internal.
8076 * stdio-common/vfwscanf.c: New file defining the public entry
8077 point vfwscanf, which calls __vfwscanf_internal.
8078
8079 * stdio-common/iovfscanf.c: New file.
8080 * stdio-common/iovfwscanf.c: Likewise.
8081
8082 * stdio-common/Makefile (routines): Add vfscanf-internal,
8083 vfwscanf-internal, iovfscanf, iovfwscanf.
8084 * stdio-common/Versions: Mention GLIBC_2.29, so that
8085 it can be used in SHLIB_COMPAT expressions.
8086 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8087 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8088 Call __vfscanf_internal, instead of _IO_vfscanf.
8089 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8090 _IO_vfscanf.
8091 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8092 _IO_vfwscanf.
8093
8094 * libio/iovsscanf.c: Clean up includes, when possible. Use
8095 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8096 __vfscanf_internal or __vfwscanf_internal directly.
8097 * libio/iovswscanf.c: Likewise.
8098 * libio/swscanf.c: Likewise.
8099 * libio/vscanf.c: Likewise.
8100 * libio/vwscanf.c: Likewise.
8101 * libio/wscanf.c: Likewise.
8102 * stdio-common/isoc99_fscanf.c: Likewise.
8103 * stdio-common/isoc99_scanf.c: Likewise.
8104 * stdio-common/isoc99_sscanf.c: Likewise.
8105 * stdio-common/isoc99_vfscanf.c: Likewise.
8106 * stdio-common/isoc99_vscanf.c: Likewise.
8107 * stdio-common/isoc99_vsscanf.c: Likewise.
8108 * stdio-common/scanf.c: Likewise.
8109 * stdio-common/sscanf.c: Likewise.
8110 * wcsmbs/isoc99_fwscanf.c: Likewise.
8111 * wcsmbs/isoc99_swscanf.c: Likewise.
8112 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8113 * wcsmbs/isoc99_vswscanf.c: Likewise.
8114 * wcsmbs/isoc99_vwscanf.c: Likewise.
8115 * wcsmbs/isoc99_wscanf.c: Likewise.
8116
6b5c8607 81172018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
8118
8119 * include/time.h
8120 (__tz_compute): Replace time_t with __time64_t.
8121 (__tz_convert): Replace time_t* with __time64_t.
8122 (__offtime): Replace time_t* with __time64_t.
8123 * time/gmtime.c
8124 (__gmtime_r): Adjust call to __tz_convert.
8125 (gmtime): Likewise.
8126 * time/localtime.c
8127 (__localtime_r): Likewise.
8128 (localtime): Likewise.
8129 * time/offtime.c: Replace time_t with __time64_t.
8130 * time/tzset.c: Likewise.
8131
bd598da9
JM
81322018-12-04 Joseph Myers <joseph@codesourcery.com>
8133
8134 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8135 dynamic linker unless [$(run-built-tests) = yes].
8136
b2e93de0
DD
81372018-12-03 DJ Delorie <dj@delorie.com>
8138
8139 * support/test-container.c (check_for_unshare_hints): New.
8140 (main): Call it if unshare fails. Add support for "su" scriptlet
8141 command.
8142
477a02f6
JM
81432018-12-03 Joseph Myers <joseph@codesourcery.com>
8144
8145 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8146 'START' to indicate that start text should be output.
8147 (gen_test): Likewise.
8148 (main): Generate 'START' for first symbol or '--' line, or at end
8149 of input if not previously generated.
8150
6af956e5
RÁE
81512018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8152
8153 [BZ #19767]
8154 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8155 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8156 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8157 ALWAYS_USE_VSYSCALL.
8158
f5ec0ea9
AZ
81592018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8160
8161 [BZ #23913]
8162 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8163 new_argv by one.
8164
8cebd4ff
CD
81652018-12-03 Carlos O'Donell <carlos@redhat.com>
8166
8167 [BZ #23923]
8168 * locale/programs/localedef.c: Declare boolean hard_links default true.
8169 (options): Add --no-hard-links option.
8170 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8171 * locale/programs/localedef.h: Declare prototype for hard_links.
8172 * locale/programs/locfile.c (write_locale_data): Don't use hard
8173 links if hard_links is false.
8174
c22e4c2a
L
81752018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8176
8177 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8178 cpu_features_basic.
8179 (__cache_sysconf): Likewise.
8180 (init_cacheinfo): Likewise.
8181 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8182 populate COMMON_CPUID_INDEX_80000007 and
8183 COMMON_CPUID_INDEX_80000008.
8184 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8185 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8186 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8187 (init_cpu_features): Use _Static_assert on
8188 index_arch_Fast_Unaligned_Load.
8189 __get_cpuid_registers and __get_arch_feature. Updated for
8190 cpu_features_basic. Set stepping in cpu_features.
8191 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8192 (FEATURE_INDEX_2): New.
8193 (FEATURE_INDEX_MAX): Changed to enum.
8194 (COMMON_CPUID_INDEX_D_ECX_1): New.
8195 (COMMON_CPUID_INDEX_80000007): Likewise.
8196 (COMMON_CPUID_INDEX_80000008): Likewise.
8197 (cpuid_registers): Likewise.
8198 (cpu_features_basic): Likewise.
8199 (CPU_FEATURE_USABLE): Likewise.
8200 (bit_arch_XXX_Usable): Likewise.
8201 (cpu_features): Use cpuid_registers and cpu_features_basic.
8202 (bit_arch_XXX): Reweritten.
8203 (bit_cpu_XXX): Likewise.
8204 (index_cpu_XXX): Likewise.
8205 (reg_XXX): Likewise.
8206 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8207 <support/check.h>.
8208 (CHECK_CPU_FEATURE): New.
8209 (CHECK_CPU_FEATURE_USABLE): Likewise.
8210 (cpu_kinds): Likewise.
8211 (do_test): Print vendor, family, model and stepping. Check
8212 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8213 (TEST_FUNCTION): Removed.
8214 Include <support/test-driver.c> instead of
8215 "../../test-skeleton.c".
8216 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8217 Check POPCNT instead of POPCOUNT.
8218 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8219
7b36d26b
ST
82202018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8221
8222 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8223 there is no element in `consts'.
8224
02cd5c1a
FW
82252018-12-01 Florian Weimer <fweimer@redhat.com>
8226
8227 * support/support_capture_subprocess.c
8228 (support_capture_subprocess): Check that pipe descriptors have
8229 expected values. Close original pipe descriptors in subprocess.
8230
fc493bc9
ST
82312018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8232
8233 [BZ #23032]
8234 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8235 attr with __pthread_default_barrierattr.
8236 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8237 attr with __pthread_default_condattr.
8238 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8239 attr with __pthread_default_mutexattr.
8240 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8241 attr with __pthread_default_rwlockattr.
8242
6310e6be
KW
82432018-12-01 Kemi Wang <kemi.wang@intel.com>
8244
8245 * manual/tunables.texi (POSIX Thread Tunables): New node.
8246 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8247 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8248 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8249 __pthread_tunables_init.
8250 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8251 (max_adaptive_count): Define.
8252 * nptl/pthread_mutex_conf.c: New file.
8253 * nptl/pthread_mutex_conf.h: New file.
8254 * sysdeps/generic/adaptive_spin_count.h: New file.
8255 * sysdeps/nptl/dl-tunables.list: New file.
8256 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8257 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8258 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8259 Likewise.
8260
8e67b39e
PP
82612018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8262
8263 [BZ #20544]
8264 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8265 * stdlib/on_exit.c (__on_exit): Likewise.
8266 * stdlib/Makefile (tests): Add tst-bz20544.
8267 * stdlib/tst-bz20544.c: New test.
8268
15b8d67e
RÁE
82692018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8270
8271 [BZ #19767]
8272 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8273 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8274 New.
8275
5e63c240
FW
82762018-11-30 Florian Weimer <fweimer@redhat.com>
8277
8278 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8279 Extend error logging.
8280 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8281 symbol.
8282
71058602 82832018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 8284
5fb7fc96
AZ
8285 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8286 __sigismember instead of sigismember.
8287 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8288 cancel_handler): New definitions.
8289 (do_system): Use posix_spawn instead of fork and execl and remove
8290 reentracy code.
8291 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8292 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8293 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8294 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8295 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8296 * sysdeps/unix/sysv/linux/system.c: Likewise.
8297
14d0e87d
AZ
8298 [BZ #22834]
8299 [BZ #17490]
8300 * NEWS: Add new semantic for atfork with popen and system.
8301 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8302 fork and execl.
8303
e5d262ef
TMQMF
83042018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8305
8306 [BZ #23690]
8307 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8308 modification order when accessing reloc_result->addr.
8309 * include/link.h (reloc_result): Add field init.
8310 * nptl/Makefile (tests): Add tst-audit-threads.
8311 (modules-names): Add tst-audit-threads-mod1 and
8312 tst-audit-threads-mod2.
8313 Add rules to build tst-audit-threads.
8314 * nptl/tst-audit-threads-mod1.c: New file.
8315 * nptl/tst-audit-threads-mod2.c: Likewise.
8316 * nptl/tst-audit-threads.c: Likewise.
8317 * nptl/tst-audit-threads.h: Likewise.
8318
7e1d4240
JM
83192018-11-30 Joseph Myers <joseph@codesourcery.com>
8320
8321 * scripts/gen-as-const.py: New file.
8322 * scripts/gen-as-const.awk: Remove.
8323 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8324 gen-as-const.py.
8325 ($(objpfx)test-as-const-%.c): Likewise.
8326
ce7387cc
L
83272018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8328
8329 * elf/dl-exception.c: Include <_itoa.h>.
8330
c6a5bdc1
ST
83312018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8332
8333 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8334 returned by __f_setlk.
8335
a5275ba5
L
83362018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8337 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8338
8339 * elf/Makefile (tests-internal): Add tst-create_format1.
8340 * elf/dl-exception.c (_dl_exception_create_format): Support
8341 %x, %lx and %zx.
8342 * elf/tst-create_format1.c: New file.
8343
3a67e81d
CAC
83442018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8345
8346 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8347 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8348 gnulib.)
8349 * argp/argp-help.c (__argp_failure): Likewise.
8350
4975f0c3
MH
83512018-11-29 Mao Han <han_mao@c-sky.com>
8352
8353 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8354 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8355 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8356 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8357 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8358 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8359 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8360 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8361 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8362 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8363 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8364 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8365 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8366 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8367 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8368 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8369 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8370 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8371 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8372 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8373 (R_CKCORE_TLS_TPOFF32): New defines.
8374
250102c8
FW
83752018-11-29 Florian Weimer <fweimer@redhat.com>
8376
8377 * posix/Makefile (before-compile): Remove testcases.h and
8378 ptestcases.h.
8379 (generated): Add testcases.h and ptestcases.h.
8380 (testcases.h, ptestcases.h): Move to $(objpfx).
8381 (runtests.o): Add dependency on testcases.h.
8382 (runptests.o): Add dependency on ptestcases.h.
8383 * posix/testcases.h, posix/ptestcases.h: Remove files.
8384 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8385 not touch posix/testcases.h and posix/ptestcases.h.
8386
96cd0558
FW
83872018-11-28 Florian Weimer <fweimer@redhat.com>
8388
8389 support: Add signal support to support_capture_subprocess_check.
8390 * support/capture_subprocess.h (support_capture_subprocess_check):
8391 Adjust comment and rename parameter.
8392 * support/support_capture_subprocess_check.c
8393 (print_actual_status): New function.
8394 (support_capture_subprocess_check): Support negative
8395 status_or_signal. Call print_actual_status.
8396 * support/tst-support_capture_subprocess.c (do_test): Call
8397 support_capture_subprocess_check.
8398 * libio/tst-vtables-common.c (termination_status)
8399 (init_termination_status): Remove.
8400 (check_for_termination): Adjust support_capture_subprocess_check
8401 call.
8402 (do_test): Remove call to init_termination_status.
8403
530504e3
JM
84042018-11-28 Joseph Myers <joseph@codesourcery.com>
8405
8406 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8407 source directory instead of a copy.
8408 (CommandList.create_copy_dir): Remove.
8409
9a0b6970
SL
84102018-11-28 Stefan Liebler <stli@linux.ibm.com>
8411
8412 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8413
47d8d9a2
FW
84142018-11-28 Florian Weimer <fweimer@redhat.com>
8415
8416 * support/support.h (support_quote_string): Do not use str
8417 parameter name.
8418
b473b7d8
JM
84192018-11-27 Joseph Myers <joseph@codesourcery.com>
8420
8421 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8422 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8423
c74a91de
FW
84242018-11-27 Florian Weimer <fweimer@redhat.com>
8425
8426 * support/support.h (support_quote_string): Declare.
8427 * support/support_quote_string.c: New file.
8428 * support/tst-support_quote_string.c: Likewise.
8429 * support/Makefile (libsupport-routines): Add
8430 support_quote_string.
8431 (tests): Add tst-support_quote_string.
8432
d527c860
FW
84332018-11-27 Florian Weimer <fweimer@redhat.com>
8434
8435 [BZ #23927]
8436 CVE-2018-19591
8437 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8438 descriptor leak in case of ENODEV error.
8439
979cfed0
RÁE
84402018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8441
8442 [BZ #19767]
8443 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8444 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8446
ce035c6e
CD
84472018-11-26 Carlos O'Donell <carlos@redhat.com>
8448
8449 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8450 Error for unknown lines.
8451
2bd0bfcc
JM
84522018-11-26 Joseph Myers <joseph@codesourcery.com>
8453
8454 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8455 Touch additional files.
8456
affec03b
FW
84572018-11-26 Florian Weimer <fweimer@redhat.com>
8458
8459 [BZ #23907]
8460 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8461 double-frees.
8462
8ae74ead
RÁE
84632018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8464
8465 [BZ #19767]
8466 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8467 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8468 SHARED. Include sysdep.h.
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8470 ALWAYS_USE_VSYSCALL.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8472 ALWAYS_USE_VSYSCALL.
8473
1e8bdc3a
RÁE
84742018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8475
8476 [BZ #19767]
8477 * nptl/Makefile (tests-static): Add tst-cond11-static.
8478 (tests): Likewise.
8479 * nptl/tst-cond11-static.c: New File.
8480 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8481 tst-affinity-static.
8482 (tests): Likewise.
8483 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8484 instead of SHARED.
8485 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8486 (USE_VSYSCALL): Likewise.
8487 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8488 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8489 instead of SHARED.
8490 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8491 SHARED.
8492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8493 New.
8494
1283c478
JM
84952018-11-23 Joseph Myers <joseph@codesourcery.com>
8496
8497 [BZ #23915]
8498 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8499 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8500 Undefine.
8501
c089fd80
L
85022018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8505 (tst-cet-legacy-1a-ARGS): New.
8506 ($(objpfx)tst-cet-legacy-1a): New target.
8507 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8508
cc6c89fa
JM
85092018-11-22 Joseph Myers <joseph@codesourcery.com>
8510
95edd05c
JM
8511 * conform/conformtest.py (CompileSubTest.__init__): Set
8512 self.run_early to False.
8513 (ExecuteSubTest.__init__): Likewise.
8514 (HeaderTests.run): Try running all non-optional, non-XFAILed
8515 compilation tests in a single execution of the compiler.
8516
cc6c89fa
JM
8517 * conform/conformtest.py (CompileSubTest): New class.
8518 (ExecuteSubTest): Likewise.
8519 (ElementTest.run): Rename to gen_subtests. Append tests to
8520 self.subtests instead of running them.
8521 (ConstantTest.run): Likewise.
8522 (SymbolTest.run): Likewise.
8523 (TypeTest.run): Likewise.
8524 (TagTest.run): Likewise.
8525 (FunctionTest.run): Likewise.
8526 (VariableTest.run): Likewise.
8527 (MacroFunctionTest.run): Likewise.
8528 (MacroStrTest.run): Likewise.
8529 (HeaderTests.handle_test_line): Generate subtests for tests.
8530 (HeaderTests.run): Run subtests for tests.
8531
a502c529
SN
85322018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8533
8534 * math/Versions (GLIBC_2.29): Add pow.
8535 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8536 symbol.
8537 * math/w_pow.c: New file.
8538 * sysdeps/i386/fpu/w_pow.c: New file.
8539 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8541 and add necessary aliases.
8542 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8543 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8544 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8545 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8546 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8547 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8548 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8549 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8550 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8551 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8552 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8553 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8554 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8555 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8556 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8561 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8562 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8563 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8564 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8565 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8566 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8567 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8569 __pow.
8570 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8571 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8572 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8573
718d6542
SN
85742018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8575
8576 * math/Versions (GLIBC_2.29): Add log2.
8577 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8578 symbol.
8579 * math/w_log2.c: New file.
8580 * sysdeps/i386/fpu/w_log2.c: New file.
8581 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8582 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8583 and add necessary aliases.
8584 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8585 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8586 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8587 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8588 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8589 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8590 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8591 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8592 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8593 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8594 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8595 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8596 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8597 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8598 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8603 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8604 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8605 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8606 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8607 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8608 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8609 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8610
f29b7c49
SN
86112018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8612
8613 * math/Versions (GLIBC_2.29): Add log.
8614 * math/w_log_compat.c (__log_compat): Change to versioned compat
8615 symbol.
8616 * math/w_log.c: New file.
8617 * sysdeps/i386/fpu/w_log.c: New file.
8618 * sysdeps/ia64/fpu/e_log.S: Update.
8619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8620 and add necessary aliases.
8621 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8622 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8623 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8624 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8625 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8626 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8627 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8628 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8631 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8633 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8634 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8635 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8640 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8641 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8642 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8643 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8644 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8645 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8646 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8648 __log.
8649 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8650 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8651 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8652 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8653
c20a1056
SN
86542018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8655
8656 * math/Versions (GLIBC_2.29): Add exp and exp2.
8657 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8658 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8659 * math/w_exp_compat.c (__exp_compat): Likewise.
8660 * math/w_exp.c: New file.
8661 * math/w_exp2.c: New file.
8662 * sysdeps/i386/fpu/w_exp.c: New file.
8663 * sysdeps/i386/fpu/w_exp2.c: New file.
8664 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8665 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8667 and add necessary aliases.
8668 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8669 and add necessary aliases.
8670 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8671 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8672 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8673 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8674 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8675 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8676 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8677 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8678 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8679 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8680 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8681 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8682 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8683 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8684 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8685 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8686 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8691 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8693 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8695 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8698 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8699 (__ieee754_exp): Rename to __exp.
8700 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8701 (__ieee754_exp): Rename to __exp.
8702 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8703 (__ieee754_exp): Rename to __exp.
8704 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8705 __exp.
8706 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8707
bcdaad21
DD
87082018-11-20 DJ Delorie <dj@redhat.com>
8709
8710 * malloc/malloc.c (tcache_entry): Add key field.
8711 (tcache_put): Set it.
8712 (tcache_get): Likewise.
8713 (_int_free): Check for double free in tcache.
8714 * malloc/tst-tcfree1.c: New.
8715 * malloc/tst-tcfree2.c: New.
8716 * malloc/Makefile: Run the new tests.
8717 * manual/probes.texi: Document memory_tcache_double_free probe.
8718
8719 * dlfcn/dlerror.c (check_free): Prevent double frees.
8720
5770c0ad
WD
87212018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8722
8723 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8724
9a62a939
JM
87252018-11-20 Joseph Myers <joseph@codesourcery.com>
8726
8727 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8728 in tests. Use names for format arguments.
8729 (ConstantTest.run): Likewise.
8730 (SymbolTest.run): Likewise.
8731 (TypeTest.run): Likewise.
8732 (TagTest.run): Likewise.
8733 (FunctionTest.run): Likewise.
8734 (VariableTest.run): Likewise.
8735 (MacroFunctionTest.run): Likewise.
8736 (MacroStrTest.run): Likewise.
8737 (HeaderTests.__init__): Set self.num_tests.
8738 (HeaderTests.handle_test_line): Set test.num. Increment
8739 self.num_tests.
8740
b15b1a95
ST
87412018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8742
8743 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8744 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8745 SEEK_SET.
8746
0c7f97ae
MH
87472018-11-19 Mao Han <han_mao@c-sky.com>
8748
8749 * scripts/config.guess: Update to version 2018-08-29.
8750 * scripts/config.sub: Update to version 2018-08-29.
8751
35e3fbc4
FW
87522018-11-19 Florian Weimer <fweimer@redhat.com>
8753
8754 support: Print timestamps in timeout handler.
8755 * support/support_test_main.c (print_timestamp): New function.
8756 (signal_handler): Use it to print the termination time and the
8757 time of the last write to standard output.
8758
c75772e3
ZW
87592018-11-16 Zack Weinberg <zackw@panix.com>
8760 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8761
8762 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8763 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8764 argument.
8765 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8766 and add flags argument. Check flags instead of __ldbl_is_dbl when
8767 deciding whether to set is_long_double.
8768 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8769 passing zero for flags argument.
8770 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8771
8772 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8773 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8774 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8775 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8776 variable names. Remove libc_hidden_def/libc_hidden_proto from
8777 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8778 longer called from within the library.
8779 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8780 for __nldbl___vstrfmon_l, declare it explicitly.
8781
8782 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8783
346ef23f
ST
87842018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8785
8786 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8787 macros
8788 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8789 F_SETLK64, F_SETLKW64, respectively.
8790 * sysdeps/mach/hurd/f_setlk.c: New file.
8791 * sysdeps/mach/hurd/f_setlk.h: New file.
8792 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8793 f_setlk.
8794 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8795 (__libc_fcntl): Move non-flock operations to...
8796 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8797 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8798
de20b81a
PE
87992018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8800
5d8af156
PE
8801 mktime: DEBUG_MKTIME cleanup
8802 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8803 And it’s no longer needed now that glibc and Gnulib both have
8804 their own testing mechanisms for mktime.
8805 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8806
86aece3b
PE
8807 mktime: fix non-EOVERFLOW errno handling
8808 [BZ#23789]
8809 mktime was not properly reporting failures when the underlying
8810 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8811 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8812 The problem could happen on non-glibc platforms, with Gnulib.
8813 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8814 (tm_diff): ... this simpler function, which does not change errno.
8815 All callers changed to deal with errno themselves.
8816 (ranged_convert, __mktime_internal): Return failure immediately if
8817 the underlying function reports any failure other than EOVERFLOW.
8818 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8819 gap code fails.
8820
f6b3331b
PE
8821 mktime: fix bug with Y2038 DST transition
8822 [BZ#23789]
8823 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8824 mishandle a DST transition that jumps over the Y2038 boundary.
8825 No such DST transitions are known so this is only a theoretical
8826 bug, but we might as well do things right.
8827
efbdddc3
PE
8828 mktime: make more room for overflow
8829 [BZ#23789]
8830 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8831 This is so that we can add tm_diff results to a previous guess,
8832 which will be useful in a later patch.
8833
6c90d759
PE
8834 mktime: simplify offset guess
8835 [BZ#23789]
8836 * time/mktime.c (__mktime_internal): Omit excess precision.
8837
32c12f3f
PE
8838 mktime: new test for mktime failure
8839 [BZ#23789]
8840 Based on a test suggested by Albert Aribaud in:
8841 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8842 * time/Makefile (tests): Add bug-mktime4.
8843 * time/bug-mktime4.c: New file.
8844
de20b81a
PE
8845 mktime: fix EOVERFLOW bug
8846 [BZ#23789]
8847 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8848 Include libc-config.h, not config.h, for __set_errno.
8849 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8850
8c6c3fb0
ST
88512018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8852
8853 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8854 __attribute_copy__ to copy attributes from name. Drop static qualifier
8855 to avoid warnings about leaf attribute not having effect on static
8856 functions.
8857
6923f6db
FW
88582018-11-13 Florian Weimer <fweimer@redhat.com>
8859
8860 * malloc/malloc.c (fastbin_push_entry): New function.
8861 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8862 (REMOVE_FB): Remove macro.
8863 (_int_malloc): Use fastbin_pop_entry and reindent.
8864 (_int_free): Use fastbin_push_entry.
8865 (malloc_consolidate): Use atomic_exchange_acquire.
8866
53f5c659
JM
88672018-11-13 Joseph Myers <joseph@codesourcery.com>
8868
0c096dcf
JM
8869 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8870 alias attribute, not with strong_alias.
8871
9c4b457e
JM
8872 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8873 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8874 with additional parameter thread.
8875 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8876 in terms of __hidden_ver2.
8877 (hidden_tls_def): New macro.
8878 (libc_hidden_tls_def): Likewise.
8879 (rtld_hidden_tls_def): Likewise.
8880 (libm_hidden_tls_def): Likewise.
8881 (libmvec_hidden_tls_def): Likewise.
8882 (libresolv_hidden_tls_def): Likewise.
8883 (librt_hidden_tls_def): Likewise.
8884 (libdl_hidden_tls_def): Likewise.
8885 (libnss_files_hidden_tls_def): Likewise.
8886 (libnsl_hidden_tls_def): Likewise.
8887 (libnss_nisplus_hidden_tls_def): Likewise.
8888 (libutil_hidden_tls_def): Likewise.
8889 (libutil_hidden_tls_def): Likweise.
8890 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8891 libc_hidden_tls_def.
8892 (__sim_disabled_exceptions_thread): Likewise.
8893 (__sim_round_mode_thread): Likewise.
8894
53f5c659
JM
8895 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8896 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8897 copy attributes from name.
8898
092dfde6
JM
88992018-11-12 Joseph Myers <joseph@codesourcery.com>
8900
f578f97b
JM
8901 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8902 Use __attribute_copy__ to copy attributes from name.
8903
9a7c643a
JM
8904 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8905 with __hidden_ver1 call.
8906 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8907 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8908 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8909 (__cosf): Do not declare here.
8910 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8911 (__sincosf): Do not declare here.
8912 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8913 (__sinf): Do not declare here.
8914
092dfde6
JM
8915 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8916 (__BIG_ENDIAN): Likewise.
8917 (__BYTE_ORDER): Likewise.
8918 (strong_alias): Likewise.
8919 (_strong_alias): Likewise.
8920
1ecba1fa
FW
89212018-11-12 Florian Weimer <fweimer@redhat.com>
8922
8923 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8924 function. Move after the definition of in_smallbin_range. Do not
8925 use __builtin_expect for paths that lead to a noreturn function.
8926 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8927 because it is unclear whether this is in fact an unlikely
8928 condition.
8929 (_int_malloc, _int_free): Adjust.
8930 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8931 variables.
8932 * malloc/arena.c (heap_trim): Likewise.
8933
434c34bd
ST
89342018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8935
8936 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8937 it, free it if needed.
8938 (reauthenticate): Test and use ccwdir.
8939 (child_init_port): In non-resetids case, test and use ccwdir.
8940 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
8941 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8942 * hurd/hurd/port.h (_hurd_port_move): New function.
8943 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8944 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
8945 * hurd/Versions (_hurd_port_move): Export function.
8946 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8947 symbol.
58bb655a
ST
8948 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8949 of dtablesize for allocating dtable_cloexec.
434c34bd 8950
1626a1cf
MS
89512018-11-09 Martin Sebor <msebor@redhat.com>
8952
8953 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8954 it's already defined.
8955 (_strong_alias): Use __attribute_copy__.
8956 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8957 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8958 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8959 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8960 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8961 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8962 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8963 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8964 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8965 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8966 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8967 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8968 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8969 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8970 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8971 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8972 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8973 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8974 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8975
968ed530
GG
89762018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8977
8978 * misc/tst-efgcvt.c: Include support/check.h and
8979 support/test-driver.c. Do not include test-skeleton.c.
8980 (error_count): Remove.
8981 (output_error): Replace increments to error_count with calls to
8982 support_record_failure.
8983 (output_r_error): Likewise.
8984 (special): Likewise.
8985 (do_test): Unconditionally return zero.
8986 (TEST_FUNCTION): Remove.
8987
c3ec0972
JM
89882018-11-09 Joseph Myers <joseph@codesourcery.com>
8989
91faaa93
JM
8990 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8991 not $(@D)/scratch.
8992 ($(linknamespace-header-tests)): Likewise.
8993
c3ec0972
JM
8994 * conform/conformtest.py: New file.
8995 * conform/conformtest.pl: Remove.
8996 * conform/GlibcConform.pm: Likewise.
8997 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8998 (KEYWORDS_C99): Likewise.
8999 (KEYWORDS): Likewise.
9000 * conform/Makefile ($(conformtest-header-tests)): Use
9001 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9002 option. Use --header instead of --headers.
9003 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9004 function entries.
9005 * conform/data/spawn.h-data: Likewise.
9006 * conform/data/fcntl.h-data (openat): Add space after function
9007 name.
9008 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9009 (wcscasecmp_l): Likewise.
9010 * conform/data/termios.h-data (c_cc): Add space after element
9011 name.
9012
43257c33
GG
90132018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9014
9015 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9016 instead of manually comparing and reporting mismatching strings.
9017 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9018 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9019
e5de3b5b
JM
90202018-11-08 Joseph Myers <joseph@codesourcery.com>
9021
9022 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9023 __ASSUME_SOCKETCALL.
9024 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9025 (__ASSUME_SOCKETCALL): Remove.
9026 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9027 (__ASSUME_SOCKETCALL): Likewise.
9028 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9029 (__ASSUME_SOCKETCALL): Likewise.
9030 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9031 (__ASSUME_SOCKETCALL): Likewise.
9032 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9033 (__ASSUME_SOCKETCALL): Likewise.
9034 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9035 (__ASSUME_SOCKETCALL): Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9037 (__ASSUME_SOCKETCALL): Likewise.
9038
d524fa6c
L
90392018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 [BZ #23509]
9042 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9043 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9044 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9045 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9046 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9047 lc_unknown.
9048
ac806026
AH
90492018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9050
9051 [BZ #17630]
9052 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9053
596cc360
JM
90542018-11-07 Joseph Myers <joseph@codesourcery.com>
9055
9056 [BZ #23867]
9057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9058 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9060 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9061
00c86a37
AZ
90622018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9063
9064 * support/support_test_compare_string.c
9065 (support_test_compare_string): Fix printf format.
9066
1df872fd
FW
90672018-11-07 Florian Weimer <fweimer@redhat.com>
9068
9069 Implement TEST_COMPARE_STRING.
9070 * support/check.h (TEST_COMPARE_STRING): Define.
9071 (support_test_compare_string): Declare.
9072 * support/Makefile (libsupport-routines): Add
9073 support_test_compare_string.
9074 (tests): Add tst-test_compare_string.
9075 * support/support_test_compare_string.c: New file.
9076 * support/tst-test_compare_string.c: Likewise.
9077
295132ff
AS
90782018-11-07 Andreas Schwab <schwab@suse.de>
9079
9080 [BZ #23864]
9081 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9082 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9083 Undef.
9084
e143ceba
JM
90852018-11-06 Joseph Myers <joseph@codesourcery.com>
9086
9087 [BZ #23862]
9088 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9089 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9090 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9091 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9092 Likewise.
9093
4a938cb2
FW
90942018-11-06 Florian Weimer <fweimer@redhat.com>
9095
9096 [BZ #17405]
9097 * posix/Makefile (routines): Add spawn_faction_addchdir.
9098 (tests): Add tst-spawn-chdir.
9099 * posix/Versions (GLIBC_2.29): Add
9100 posix_spawn_file_actions_addchdir_np.
9101 * posix/spawn_faction_addchdir.c: New file.
9102 * posix/spawn_faction_destroy.c
9103 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9104 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9105 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9106 chdir_action.
9107 * posix/tst-spawn-chdir.c: New file.
9108 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9109 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9110 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9111 posix_spawn_file_actions_addchdir_np.
9112 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9113 Likewise.
9114 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9115 Likewise.
9116 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9117 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9118 Likewise.
9119 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9120 Likewise.
9121 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9122 Likewise.
9123 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9124 Likewise.
9125 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9126 Likewise.
9127 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9128 Likewise.
9129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9130 (GLIBC_2.29): Likewise.
9131 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9132 (GLIBC_2.29): Likewise.
9133 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9134 (GLIBC_2.29): Likewise.
9135 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9136 (GLIBC_2.29): Likewise.
9137 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9138 Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9140 (GLIBC_2.29): Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9142 (GLIBC_2.29): Likewise.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9144 (GLIBC_2.29): Likewise.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9146 (GLIBC_2.29): Likewise.
9147 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9148 Likewise.
9149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9150 Likewise.
9151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9152 Likewise.
9153 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9155 Likewise.
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9157 Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9159 Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9161 Likewise.
9162
7597b0c7
GG
91632018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9164
9165 * misc/Makefile (tests): Add tst-ldbl-error.
9166 * misc/tst-ldbl-error.c: New file.
9167
9771e6cb
GG
91682018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9169
9170 * misc/Makefile (tests): Add tst-ldbl-warn.
9171 * misc/tst-ldbl-warn.c: New file.
9172
2c03961f
GG
91732018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9174
9175 * argp/Makefile (tests): Add tst-ldbl-argp.
9176 * argp/tst-ldbl-argp.c: New file.
9177
6d6ee046
AS
91782018-11-05 Arjun Shankar <arjun@redhat.com>
9179
9180 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9181 __gconv_path_elem and call __gconv_get_path unconditionally.
9182
bd3b0fba
AS
91832018-11-05 Andreas Schwab <schwab@suse.de>
9184
9185 [BZ #22927]
9186 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9187 creating the first helper thread failed.
9188
2e96e980
ST
91892018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9190
9191 * sysdeps/mach/hurd/msync.c: New file.
9192
6e36266c
FW
91932018-11-02 Florian Weimer <fweimer@redhat.com>
9194
9195 * support/shell-container.c (copy_func): Call
9196 support_copy_file_range instead of copy_file_range to support
9197 cross-device copies.
9198
599f7bee
FW
91992018-11-02 Florian Weimer <fweimer@redhat.com>
9200
9201 * support/test-container.c: Include <libc-pointer-arith.h> for
9202 ALIGN_UP.
9203
ff48ea67
ZL
92042018-11-01 Zong Li <zong@andestech.com>
9205
af1d5782
ZL
9206 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9207 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9208 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9209 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9210
ff48ea67
ZL
9211 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9212 variable to avoid overlap arguments.
9213
daea71c2
JM
92142018-11-01 Joseph Myers <joseph@codesourcery.com>
9215
eac4405a
JM
9216 * posix/bug-regex22.c (main): Use puts with distinct error
9217 messages for unexpected success of re_compile_pattern, not printf
9218 with NULL argument to %s.
9219
6f30e59f
JM
9220 * stdio-common/bug22.c: Include <libc-diag.h>.
9221 (do_test): Disable -Wformat-overflow= warnings around fprintf
9222 calls outputting more than INT_MAX characters.
9223 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9224 around printf call with NULL %s argument.
9225
daea71c2
JM
9226 [BZ #23848]
9227 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9228 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9229 Undefine.
9230 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9231 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9232 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9233 (__ASSUME_SENDTO_SYSCALL): Likewise.
9234 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9235 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9236 [!__arch64__].
9237 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9238 (__ASSUME_CONNECT_SYSCALL): Likewise.
9239 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9240 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9241 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9242 Define.
9243 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9244 Likewise.
9245 [__LINUX_KERNEL_VERSION >= 0x040400]
9246 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9248 Remove.
9249 (listen): Likewise.
9250 (setsockopt): Likewise.
9251
8e3c00db
FN
92522018-11-01 Fredrik Noring <noring@nocrew.org>
9253
9254 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9255 with the ISA override.
9256
9c3dbdbe
RAE
92572018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9258
9259 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9260 #endif.
9261
e3a88b3e
ST
92622018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9263
a67377e7 9264 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 9265 translate the error message.
a67377e7
ST
9266 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9267 printing trailing whitespaces refused by git.
9268 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9269 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 9270 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 9271
3ca235ed
JM
92722018-10-30 Joseph Myers <joseph@codesourcery.com>
9273
9274 * conform/linknamespace.py: New file.
9275 * conform/linknamespace.pl: Remove file.
9276 * conform/Makefile ($(linknamespace-header-tests)): Use
9277 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9278 option.
9279
60708030
FW
92802018-10-30 Florian Weimer <fweimer@redhat.com>
9281
9282 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9283 memory leaks.
9284
a91e9301
FW
92852018-10-30 Florian Weimer <fweimer@redhat.com>
9286
9287 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9288
07da99aa
FW
92892018-10-30 Florian Weimer <fweimer@redhat.com>
9290
9291 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9292 support_blob_repeat.
9293
f5e7e959
FW
92942018-10-30 Florian Weimer <fweimer@redhat.com>
9295
9296 Avoid spurious test failures in stdlib/test-bz22786.
9297 * support/Makefile (libsupport-routines): Add blob_repeat.
9298 (tests): Add tst-support_blob_repeat.
9299 * support/blob_repeat.h: New file.
9300 * support/blob_repeat.c: Likewise.
9301 * support/tst-support_blob_repeat.c: Likewise.
9302 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9303 support_blob_repeat_allocate.
9304
2dd12baa
AS
93052018-10-30 Andreas Schwab <schwab@suse.de>
9306
9307 [BZ #23125]
9308 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9309 Don't use tail call.
9310 * elf/tst-unwind-main.c: New file.
9311 * elf/Makefile (tests): Add tst-unwind-main.
9312 (CFLAGS-tst-unwind-main.c): Define.
9313
6b5c8607 93142018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
9315
9316 [BZ #23791]
9317 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9318 n_cs_precedes to 0.
9319 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9320
c6982f7e
JM
93212018-10-29 Joseph Myers <joseph@codesourcery.com>
9322
954cf3c2
JM
9323 * conform/glibcconform.py: Do not import shutil.
9324 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9325 of mkdtemp.
9326
c6982f7e
JM
9327 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9328 critic_missing for versions before 3.4.
9329 * configure: Regenerated.
9330 * manual/install.texi (Tools for Compilation): Document
9331 requirement for Python to build glibc.
9332 * INSTALL: Regenerated.
9333 * Rules [PYTHON]: Make code unconditional.
9334 * benchtests/Makefile [PYTHON]: Likewise.
9335 * conform/Makefile [PYTHON]: Likewise.
9336 * manual/Makefile [PYTHON]: Likewise.
9337 * math/Makefile [PYTHON]: Likewise.
9338
46a7f24c
ST
93392018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9340
9341 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 9342 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 9343 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
9344 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9345 _hurd_intr_rpc_msg_about_to global point to start of controlled
9346 assembly snippet. Make it check canceled flag.
9347 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9348 the _hurd_intr_rpc_msg_about_to point.
9349 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9350 issue, remove cancel flag check.
46a7f24c 9351
e5b8756d
JM
93522018-10-26 Joseph Myers <joseph@codesourcery.com>
9353
9354 * scripts/build-many-glibcs.py: Remove compatibility for missing
9355 os.cpu_count and re.fullmatch.
9356
ba5b14c7
SN
93572018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9358
9359 [BZ #23822]
9360 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9361 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9362 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9363
fe61f17c
JM
93642018-10-25 Joseph Myers <joseph@codesourcery.com>
9365
9366 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9367 macro.
9368
7c5e34d7
FW
93692018-10-25 Florian Weimer <fweimer@redhat.com>
9370
9371 [BZ #23562]
9372 [BZ #23821]
9373 XFAIL siginfo_t si_band conform test on sparc64.
9374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9375 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9376 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9377 (conformtest-xfail-conds): Add sparc64-linux.
9378 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9379 sparc64.
9380 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9381
5b784e88
JM
93822018-10-25 Joseph Myers <joseph@codesourcery.com>
9383
9384 * elf/elf.h (NT_MIPS_DSP): New macro.
9385 (NT_MIPS_FP_MODE): Likewise.
9386
41432ebe
ZL
93872018-10-25 Zong Li <zong@andestech.com>
9388
9389 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9390 name by adding the file extension (.so).
9391
d026efea
ST
93922018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9393
9394 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9395 (test-xfail-ISO11/threads.h/linknamespace,
9396 test-xfail-ISO11/threads.h/conform): Add.
9397
b71ac2b9
JM
93982018-10-24 Joseph Myers <joseph@codesourcery.com>
9399
9400 * math/gen-libm-test.py: Import os.
9401 (ALL_FLOATS_MANUAL): New constant.
9402 (ALL_FLOATS_SUFFIX): Likewise.
9403 (Ulps.all_functions): New function.
9404 (real_all_ulps): Likewise.
9405 (generate_err_table_sub): Likewise.
9406 (generate_err_table): Likewise.
9407 (main): Handle -s and -m options.
9408 * manual/libm-err-tab.pl: Remove.
9409 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9410 instead of libm-err-tab.pl.
9411 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9412 != no].
9413 * manual/install.texi (Tools for Compilation): Document
9414 requirement for Python to build manual.
9415 * INSTALL: Regenerated.
9416
6b5c8607 94172018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
9418
9419 * bits/time64.h: New file.
9420 * include/time.h: Replace internal_time_t with __time64_t.
9421 * posix/bits/types (__time64_t): Add.
9422 * stdlib/Makefile: Add bits/time64.h to includes.
9423 * time/tzfile.c: Replace internal_time_t with __time64_t.
9424
97d91fcc 94252018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
9426
9427 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9428 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9429 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9430 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9431 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9432 prototype.
9433 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9434 * posix/spawn_faction_addclose.c
9435 (__posix_spawn_file_actions_addclose): Add hidden definition.
9436 * posix/spawn_faction_adddup2.c
9437 (__posix_spawn_file_actions_adddup2): Likewise.
9438 * posix/spawn_faction_destroy.c
9439 (__posix_spawn_file_actions_destroy): Likewise.
9440 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9441 Likewise.
9442 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9443 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9444 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9445 Likewise.
9446 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9447 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9448 Likewise.
9449
2954daf0
AS
94502018-10-24 Andreas Schwab <schwab@suse.de>
9451
9452 [BZ #18093]
9453 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9454 format cache.
9455 * elf/cache.c (print_cache): Likewise.
9456
6b5c8607 94572018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
9458
9459 * bits/timesize.h: New file.
9460 * stdlib/Makefile (headers): Add bits/timesize.h.
9461 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9462 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9463 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9464 (__SEM_PAD_AFTER_TIME): Likewise.
9465 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9466 (__SHM_PAD_AFTER_TIME): Likewise.
9467 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9468 (__MSQ_PAD_BEFORE_TIME): Likewise.
9469 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9470 (__SEM_PAD_BEFORE_TIME): Likewise.
9471 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9472 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9473 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
9474 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9475 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9476 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
9477 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9478 (__SEM_PAD_BEFORE_TIME): Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9480 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9481 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9482 (__MSQ_PAD_BEFORE_TIME): Likewise.
9483 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9484 (__SEM_PAD_BEFORE_TIME): Likewise.
9485 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9486 (__SHM_PAD_BEFORE_TIME): Likewise.
9487 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9488 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9489 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9490
7cc65773
L
94912018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9492
9493 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9494 USE_RDTSCP is defined.
9495 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9496 USE_RDTSCP is defined.
9497
c3d8dc45
AZ
94982018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9499
18ad0de6
AZ
9500 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9501 defined.
9502
c3d8dc45
AZ
9503 [BZ #23709]
9504 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9505 independently of other flags.
9506
f1034472
FW
95072018-10-23 Florian Weimer <fweimer@redhat.com>
9508
9509 * time/tst-mktime2.c (N_STRINGS): Remove.
9510 (set_timezone): New function.
9511 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9512 (mktime_test1): Report localtime failure and check errno value.
9513 Use TEST_COMPARE.
9514 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9515 (do_test): Remove alarm call. Use set_timezone and array_length.
9516
367d7cc2
AS
95172018-10-23 Andreas Schwab <schwab@suse.de>
9518
9519 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9520 (__start_context): Use END instead of PSEUDO_END.
9521
be8ff03f
JM
95222018-10-22 Joseph Myers <joseph@codesourcery.com>
9523
029ad711
JM
9524 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9525 version to 4.19.
9526
8190520f
JM
9527 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9528 version to 4.19.
9529
be8ff03f
JM
9530 [BZ #23793]
9531 * wcsmbs/c32rtomb.c: New file.
9532 * wcsmbs/mbrtoc32.c: Likewise.
9533 * wcsmbs/tst-c32-state.c: Likewise.
9534 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9535 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9536 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9537 (tests): Add tst-c32-state.
9538 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9539 $(gen-locales).
9540
2dd8e58c
L
95412018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9542
9543 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9544 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9545
d0a74159
JM
95462018-10-19 Joseph Myers <joseph@codesourcery.com>
9547
9548 [BZ #23794]
9549 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9550 pair and return 0 in that case, and use saved character to
9551 interpret following character.
9552 * wcsmbs/tst-c16-surrogate.c: New file.
9553 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9554 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9555 Depend on $(gen-locales)
9556
f997b4be
IYM
95572018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9558
9559 [BZ #23562]
9560 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9561 (struct siginfo_t): Use correct type for si_band.
9562
53b2bb87
FW
95632018-10-19 Florian Weimer <fweimer@redhat.com>
9564
9565 [BZ #23689]
9566 * resource/bits/types/struct_rusage.h (struct rusage): Update
9567 comment on struct. Remove extraneous field comment.
9568
0a271c8f
DM
95692018-10-18 David S. Miller <davem@davemloft.net>
9570
94a3a27f
DM
9571 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9572 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9573 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9574 sysdep_routines in subdir elf.
9575 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9576 version for __vdso_clock_gettime.
9577 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9578 Define.
9579 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9580 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9581
0a271c8f
DM
9582 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9583
72771e53
L
95842018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9585
9586 * sysdeps/i386/init-arch.h: Removed.
9587 * sysdeps/i386/i586/init-arch.h: Likewise.
9588 * sysdeps/i386/i686/init-arch.h: Likewise.
9589 * sysdeps/i386/i686/hp-timing.h: Likewise.
9590 * sysdeps/x86_64/hp-timing.h: Likewise.
9591 * sysdeps/i386/isa.h: New file.
9592 * sysdeps/i386/i586/isa.h: Likewise.
9593 * sysdeps/i386/i686/isa.h: Likewise.
9594 * sysdeps/x86_64/isa.h: Likewise.
9595 * sysdeps/x86/hp-timing.h: New file.
9596 * sysdeps/x86/init-arch.h: Include <isa.h>.
9597
c2b7ccad
JM
95982018-10-17 Joseph Myers <joseph@codesourcery.com>
9599
9600 * math/libm-test-pow.inc (pow_test_data): Do not allow
9601 divide-by-zero exception for pow(+/- 0, -Inf).
9602
26756e57
ZW
96032018-10-17 Zack Weinberg <zackw@panix.com>
9604
9605 * manual/job.texi (Job Control is Optional): Remove node, as
9606 job control has not been optional in quite some time.
9607 (Job Control): Mention briefly that systems older than
9608 POSIX.1-2001 might not support job control.
9609 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9610 defined on systems conforming to POSIX.1-2001.
9611
c5288d37
AS
96122018-10-17 Arjun Shankar <arjun@redhat.com>
9613
9614 [BZ #22062]
9615 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9616 indentation.
9617 * (__gconv_read_conf): Mark function static.
9618 * (once): New static variable.
9619 * (__gconv_load_conf): New function.
9620 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9621 * iconv/gconv_db.c (once): Remove static variable.
9622 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9623 __gconv_read_conf.
9624 * (__gconv_find_transform): Likewise.
9625 * iconv/tst-iconv-mt.c: New test.
9626 * iconv/Makefile: Add tst-iconv_mt.
9627
8c8d2a8a
JM
96282018-10-17 Joseph Myers <joseph@codesourcery.com>
9629
9630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
9631 bits/shm-pad.h.
9632 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9633 (shmatt_t): Define as __syscall_ulong_t.
9634 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9635 and [__SHM_PAD_AFTER_TIME].
9636 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9637 Define shm_segsz and associated padding based on
9638 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9639 Use __syscall_ulong_t instead of unsigned long int.
9640 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9641 unsigned long int.
9642 [__USE_MISC] (struct shm_info): Likewise.
9643 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9644 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9645 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9646 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9648 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9649 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9650 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9651 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9653 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9654
9655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
9656 bits/shmlba.h.
9657 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9658 (SHMLBA): Remove macro.
9659 (__getpagesize): Remove function declaration.
9660 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9661 <bits/shmlba.h>.
9662 (SHMLBA): Remove macro.
9663 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9664 <bits/shmlba.h>.
9665 (SHMLBA): Remove macro.
9666 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9667 <bits/shmlba.h>.
9668 (SHMLBA): Remove macro.
9669 (__getpagesize): Remove function declaration.
9670 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9671 <bits/shmlba.h>.
9672 (SHMLBA): Remove macro.
9673 (__getshmlba): Remove function declaration.
9674 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9675 (SHMLBA): Remove macro.
9676 (__getpagesize): Remove function declaration.
9677 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9678 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9679 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9680 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9681 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9682 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9683 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9684 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9685 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9686 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9687
403b4feb
SL
96882018-10-17 Stefan Liebler <stli@linux.ibm.com>
9689
9690 [BZ #23275]
9691 * nptl/tst-mutex10.c: New File.
9692 * nptl/Makefile (tests): Add tst-mutex10.
9693 (tst-mutex10-ENV): New variable.
9694 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9695 Ensure that elision path is used if elision is available.
9696 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9697 Likewise.
9698 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9699 Likewise.
9700 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9701 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9702 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9703 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9704 Likewise.
9705 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9706 (__pthread_mutex_cond_lock_adjust): Likewise.
9707 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9708 Likewise.
9709 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9710 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9711 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9712 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9713 Add comments.
9714 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9715 Use atomic_load_relaxed and atomic_store_relaxed.
9716 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9717 Use atomic_store_relaxed.
9718
ce5a7de6
AS
97192018-10-17 Andreas Schwab <schwab@suse.de>
9720
9721 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9722 * crypt/badsalttest.c (TIMEOUT): Likewise.
9723 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9724 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9725 * io/test-lfs.c (TIMEOUT): Likewise.
9726 * libio/tst-atime.c (TIMEOUT): Likewise.
9727 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9728 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9729 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9730 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9731 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9732 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9733 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9734 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9735 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9736 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9737 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9738 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9739 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9740 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9741 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9742 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9743 * nptl/tst-once2.c (TIMEOUT): Likewise.
9744 * nptl/tst-once3.c (TIMEOUT): Likewise.
9745 * nptl/tst-once4.c (TIMEOUT): Likewise.
9746 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9747 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9748 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9749 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9750 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9751 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9752 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9753 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9754 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9755 * posix/tst-chmod.c (TIMEOUT): Likewise.
9756 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9757 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9758 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9759 * posix/tst-regex2.c (TIMEOUT): Likewise.
9760 * posix/tst-waitid.c (TIMEOUT): Likewise.
9761 * rt/tst-aio.c (TIMEOUT): Likewise.
9762 * rt/tst-aio10.c (TIMEOUT): Likewise.
9763 * rt/tst-aio4.c (TIMEOUT): Likewise.
9764 * rt/tst-aio5.c (TIMEOUT): Likewise.
9765 * rt/tst-aio6.c (TIMEOUT): Likewise.
9766 * rt/tst-aio64.c (TIMEOUT): Likewise.
9767 * rt/tst-aio7.c (TIMEOUT): Likewise.
9768 * rt/tst-aio9.c (TIMEOUT): Likewise.
9769 * rt/tst-clock.c (TIMEOUT): Likewise.
9770 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9771 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9772 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9773 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9774 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9775 * rt/tst-timer4.c (TIMEOUT): Likewise.
9776 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9777 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9778 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9779 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9780 * time/tst-ftime.c (TIMEOUT): Likewise.
9781 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9782
6b5c8607 97832018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
9784
9785 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9786 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9787 for thunderX2.
9788
bcdb1bfa
JM
97892018-10-15 Joseph Myers <joseph@codesourcery.com>
9790
9791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9792 bits/sem-pad.h.
9793 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9794 instead of <bits/wordsize.h>.
9795 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9796 and [__SEM_PAD_AFTER_TIME].
9797 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9798 __syscall_ulong_t instead of unsigned long int.
9799 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9800 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9801 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9803 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9804 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9805 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9806 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9807 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9809 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9810
f4efbdfb
PE
98112018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9812
620a5d4c
PE
9813 regex: simplify by using intprops.h
9814 [BZ#23744]
9815 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9816 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9817 intprops.h defines them.
9818
f4efbdfb
PE
9819 regex: __builtin_expect → __glibc_unlikely
9820 [BZ#23744]
9821 This refactoring was prompted by a problem when the regex code is
9822 used as part of Gnulib and when the builder’s compiler does not grok
9823 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9824 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9825 Although this refactoring does not fix the problem directly,
9826 we might as well have Gawk use the now-preferred glibc style for when
9827 __builtin_expect is unavailable.
9828 * posix/regex_internal.h (BE): Remove.
9829 All uses replaced by __glibc_unlikely or __glibc_likely.
9830
9f9feb6d
JM
98312018-10-11 Joseph Myers <joseph@codesourcery.com>
9832
9833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9834 bits/msq-pad.h.
9835 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9836 instead of <bits/wordsize.h>.
9837 (msgqnum_t): Define as __syscall_ulong_t.
9838 (msglen_t): Likewise.
9839 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9840 and [__MSQ_PAD_AFTER_TIME].
9841 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9842 __syscall_ulong_t instead of unsigned long int.
9843 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9844 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9845 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9846 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9847 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9848 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9849 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9850 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9851 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9852 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9853 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9854
b9c0f6c1
JM
98552018-10-10 Joseph Myers <joseph@codesourcery.com>
9856
2a4b25fa
JM
9857 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9858 (struct shmid_ds): Condition padding after time fields on
9859 [__WORDSIZE == 32].
9860 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9861 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9862 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9863
19e62f26
JM
9864 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9865 (struct semid_ds): Condition padding after time fields on
9866 [__WORDSIZE == 32].
9867 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9868 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9869 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9870 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9871
b9c0f6c1
JM
9872 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9873 (struct msqid_ds): Condition padding after time fields on
9874 [__WORDSIZE == 32].
9875 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9876 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9877 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9878 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9879
97785a61
SN
98802018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9881
9882 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9883
ed643089
SN
98842018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9885
9886 * libio/tst-readline.c (TIMEOUT): Define.
9887
5a580643
PE
98882018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9889
9890 mktime fix for Gnulib + coreutils
9891 [BZ#23745]
9892 This fix affects only Gnulib. Problem discovered when
9893 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9894 * time/mktime.c:
9895 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9896 Do not define since it is not used. Defining an unused static
9897 function prompts a warning from GCC when Coreutils is configured
9898 with --enable-gcc-warnings.
9899
c892ae04
LS
99002018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9901
9902 * benchtests/scripts/compare_bench.py (main): set float type on
9903 threshold argument.
9904
a68ec8ea
RL
99052018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9906
9907 [BZ #23740]
9908 * localedata/locales/kl_GL (mon): Update, the relative case.
9909 (alt_mon): Add, fill with month names in the nominative case.
9910 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9911 (d_fmt): Set to "%b %d %Y".
9912
a1987621
JM
99132018-10-04 Joseph Myers <joseph@codesourcery.com>
9914
47c49251
JM
9915 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9916 <bits/mman-linux.h>.
9917 (PROT_READ): Don't define here.
9918 (PROT_WRITE): Likewise.
9919 (PROT_EXEC): Likewise.
9920 (PROT_NONE): Likewise.
9921 (PROT_GROWSDOWN): Likewise.
9922 (PROT_GROWSUP): Likewise.
9923 (MAP_SHARED): Likewise.
9924 (MAP_PRIVATE): Likewise.
9925 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9926 [__USE_MISC] (MAP_FILE): Likewise.
9927 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9928 [__USE_MISC] (MAP_ANON): Likewise.
9929 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9930 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9931 (MCL_CURRENT): Likewise.
9932 (MCL_FUTURE): Likewise.
9933 (MCL_ONFAULT): Likewise.
9934 [__USE_MISC] (MADV_NORMAL): Likewise.
9935 [__USE_MISC] (MADV_RANDOM): Likewise.
9936 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9937 [__USE_MISC] (MADV_WILLNEED): Likewise.
9938 [__USE_MISC] (MADV_DONTNEED): Likewise.
9939 [__USE_MISC] (MADV_FREE): Likewise.
9940 [__USE_MISC] (MADV_REMOVE): Likewise.
9941 [__USE_MISC] (MADV_DONTFORK): Likewise.
9942 [__USE_MISC] (MADV_DOFORK): Likewise.
9943 [__USE_MISC] (MADV_HWPOISON): Likewise.
9944 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9945 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9946 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9947 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9948 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9949 (__MAP_ANONYMOUS): New macro.
9950 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9951 <bits/mman-linux.h> inclusion.
9952 (MAP_FIXED): Likewise.
9953 (MS_SYNC): Likewise.
9954 (MS_ASYNC): Likewise.
9955 (MS_INVALIDATE): Likewise.
9956 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9957 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9958 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9959 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9960 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9961 [__USE_MISC] (MADV_DODUMP): Likewise.
9962 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9963 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9964
a1987621
JM
9965 [BZ #23735]
9966 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9967 Define.
9968 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9969 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9970 Add test-nldbl-redirect.
9971 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9972 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9973 $(objpfx)libnldbl_nonshared.a.
9974
e7624d70
SL
99752018-10-04 Stefan Liebler <stli@linux.ibm.com>
9976
9977 * support/support.h (support_objdir_elf_ldso): New variable.
9978 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9979 * support/Makefile (CFLAGS-support_paths.c): Add definition
9980 for OBJDIR_ELF_LDSO_PATH.
9981 * support/test-container.c (main): Search for the ld.so
9982 which is also used by the testsuite.
9983
dae3ed95
RL
99842018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9985
9986 [BZ #20209]
9987 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9988 should be "sap" rather than "sab".
9989 (day): Fix spelling of Sunday, should be "sapaat" rather than
9990 "sabaat".
9991
f346b5b3
JM
99922018-10-02 Joseph Myers <joseph@codesourcery.com>
9993
9994 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9995
4a06ceea
MJ
99962018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9997
9998 [BZ #19444]
9999 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10000 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10001 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10002
a06fc4a5
AZ
100032018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10004
10005 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10006
a1ccc065
L
100072018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10010 Add -mrtm.
10011 (CFLAGS-elision-unlock.c): Likewise.
10012 (CFLAGS-elision-timed.c): Likewise.
10013 (CFLAGS-elision-trylock.c): Likewise.
10014 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10015
0b727ed4
AZ
100162018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10017
10018 [BZ #21037]
10019 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10020 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10021 new fd_to_filename interface.
10022 * libio/freopen64.c (freopen64): Likewise.
10023 * libio/tst-memstream.h: New file.
10024 * libio/tst-memstream4.c: Likewise.
10025 * libio/tst-wmemstream4.c: Likewise.
10026 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10027 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10028 and remove internal dynamic allocation.
10029
d0e91e8c
JM
100302018-10-01 Joseph Myers <joseph@codesourcery.com>
10031
10032 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10033 (MREMAP_MAYMOVE): Do not define here.
10034 [__USE_GNU] (MREMAP_FIXED): Likewise.
10035 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10036 (MREMAP_MAYMOVE): Define here instead.
10037 [__USE_GNU] (MREMAP_FIXED): Likewise.
10038 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10039 (MREMAP_MAYMOVE): Remove.
10040 [__USE_GNU] (MREMAP_FIXED): Likewise.
10041
c52944e8
JM
100422018-09-28 Joseph Myers <joseph@codesourcery.com>
10043
10044 * math/fromfp.h: Do not include <math_private.h>.
10045 * math/s_cacosh_template.c: Likewise.
10046 * math/s_casin_template.c: Likewise.
10047 * math/s_casinh_template.c: Likewise.
10048 * math/s_ccos_template.c: Likewise.
10049 * math/s_cproj_template.c: Likewise.
10050 * math/s_fdim_template.c: Likewise.
10051 * math/s_fmaxmag_template.c: Likewise.
10052 * math/s_fminmag_template.c: Likewise.
10053 * math/s_iseqsig_template.c: Likewise.
10054 * math/s_ldexp_template.c: Likewise.
10055 * math/s_nextdown_template.c: Likewise.
10056 * math/w_log1p_template.c: Likewise.
10057 * math/w_scalbln_template.c: Likewise.
10058 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10059 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10060 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10061 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10062 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10063 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10064 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10065 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10066 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10067 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10068 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10069 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10070 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10071 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10072 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10073 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10074 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10079 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10080 * sysdeps/ieee754/k_standardf.c: Likewise.
10081 * sysdeps/ieee754/k_standardl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10084 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10087 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10090 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10091 * sysdeps/ieee754/s_signgam.c: Likewise.
10092 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10093 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10094 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10095 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10096 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10097 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10098 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10099 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10100 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10101 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10102 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10103 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10104 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10105 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10106 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10107 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10108 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10109 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10110 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10111 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10112 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10113 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10114 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10115 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10116 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10117 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10118 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10119 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10120 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10121 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10122 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10123 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10124 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10125 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10126 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10127 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10128 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10129 <math_private.h>.
10130 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10131
7b1f9406
L
101322018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10133
10134 [BZ #23716]
10135 * sysdeps/i386/dl-cet.c: Removed.
10136 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10137 prototype.
10138 (_dl_runtime_profile_shstk): Likewise.
10139 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10140 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10141
7a16bdbb
AZ
101422018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10143
10144 [BZ #23579]
10145 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10146 do_test_with_invalid_iov): New tests.
10147 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10148 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10149 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10150 errno is ENOSYS.
10151 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10152 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10153 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10154
9755bc46
JM
101552018-09-27 Joseph Myers <joseph@codesourcery.com>
10156
81dca813
JM
10157 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10158 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10159 (MATH_REDIRECT_BINARY_ARGS): New macro.
10160 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10161 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10162 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10163 header inclusion.
10164 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10166 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10172 Likewise.
10173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10174 Likewise.
10175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10177 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10178 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10180 Likewise.
10181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10182 Likewise.
10183 * sysdeps/generic/math_private_calls.h
10184 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10185 Do not declare and define as an inline function.
10186 * math/divtc3.c (__divtc3): Use copysign functions instead of
10187 __copysign variants.
10188 * math/multc3.c (__multc3): Likewise.
10189 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10190 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10191 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10192 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10193 Likewise.
10194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10195 (__ieee754_yn): Likewise.
10196 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10197 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10198 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10199 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10200 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10201 (__sin): Likewise.
10202 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10204 Likewise.
10205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10206 Likewise.
10207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10208 Likewise.
10209 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10210 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10211 Likewise.
10212 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10213 (__ieee754_ynf): Likewise.
10214 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10215 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10216 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10217 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10218 Likewise.
10219 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10220 (__ieee754_ynl): Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10223 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10224 Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10226 (__ieee754_ynl): Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10230 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10231 Likewise.
10232 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10233 (__ieee754_ynl)
10234 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10236 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10237 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10238 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10239
9755bc46
JM
10240 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10241 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10242 using MATH_REDIRECT.
10243 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10244 header inclusion.
10245 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10248 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10249 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10256 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10257 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10259 (round): Redirect to __round.
10260 (__roundl): Call round instead of __round.
10261 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10262 Remove macro.
10263 [_ARCH_PWR5X] (__roundf): Likewise.
10264 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10265 functions instead of __round variants.
10266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10267 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10268 Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10270 Likewise.
10271 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10272 Likewise.
10273 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10275 __lroundl.
10276 (__ieee754_expl): Call roundl instead of __roundl.
10277
f841c97e
AS
102782018-09-27 Andreas Schwab <schwab@suse.de>
10279
10280 [BZ #23717]
10281 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10282 (do_test): Make st1 static.
10283
6ca8284e
AS
102842018-09-26 Andreas Schwab <schwab@suse.de>
10285
10286 [BZ #23707]
10287 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10288 * elf/Makefile (tests): Add tst-unwind-ctor.
10289 (modules-names): Add tst-unwind-ctor-lib.
10290 ($(objpfx)tst-unwind-ctor): Depend on
10291 $(objpfx)tst-unwind-ctor-lib.so.
10292
61d8b5fe
JM
102932018-09-26 Joseph Myers <joseph@codesourcery.com>
10294
10295 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10296 file. Most contents moved from ....
10297 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10298 and include <bits/mman-map-flags-generic.h>.
10299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10300 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10301 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10302 <bits/mman-map-flags-generic.h>.
10303 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10304 macros defined in <bits/mman-map-flags-generic.h>.
10305 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10306 <bits/mman-map-flags-generic.h>.
10307 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10308 defined in <bits/mman-map-flags-generic.h>.
10309
46341286
AS
103102018-09-26 Andreas Schwab <schwab@suse.de>
10311
10312 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10313 output.
10314
b5c45e83
AZ
103152018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10316 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10317 Fangrui Song <maskray@google.com>
10318
10319 [BZ #20480]
10320 * config.make.in (have-textrel_ifunc): New define.
10321 * configure.ac: Add check if linker supports textrel relocation with
10322 ifunc.
10323 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10324 tst-ifunc-textrel.
10325 (CFLAGS-tst-ifunc-textrel.c): New rule.
10326 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10327 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10328 * elf/tst-ifunc-textrel.c: New file.
10329
8ea4d2b7
JM
103302018-09-25 Joseph Myers <joseph@codesourcery.com>
10331
d62f9ec0
JM
10332 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10333 <bits/procfs-prregset.h>.
10334 (prgregset_t): Define using __prgregset_t.
10335 (prfpregset_t): Define using __prfpregset_t.
10336 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10337 (sysdep_headers): Add bits/procfs-prregset.h.
10338 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10339 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10340 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10341 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10342
d0d8eb43
JM
10343 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10344 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10345 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10346 pr_uid and pr_gid.
10347 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10348 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10349 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10350 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10351 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10352 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10353 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10354 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10355 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10356 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10357 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10358 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10359 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10360 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10361 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10362 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10363 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10364 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10365 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10366 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10367 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10368 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10370 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10371
8ea4d2b7
JM
10372 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10373 AArch64 version. Include <bits/procfs.h>.
10374 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10375 (sysdep_headers): Add bits/procfs.h.
10376 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10377 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10378 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10379 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10380 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10381 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10382 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10384 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10385 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10386 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10387 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10388 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10389 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10390 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10392 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10393
c7027166
AZ
103942018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10395
10396 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10397 Use libsupport.
10398
335a3b0a
AS
103992018-09-25 Arjun Shankar <arjun@redhat.com>
10400
10401 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10402 (__gconv_max_path_elem_len): Likewise.
10403 (__gconv_nmodules): Likewise.
10404 (__gconv_get_path): Likewise.
10405 (path_elem): Move to ...
10406 * iconv/gconv_conf.c: ... here.
10407 (__gconv_get_path): Mark function static.
10408 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10409 * iconv/gconv_open.c: ... here.
10410
462d348c
AS
104112018-09-24 Andreas Schwab <schwab@suse.de>
10412
10413 * scripts/haveversions.awk: New file.
10414 * Makerules ($(common-objpfx)Versions.def)
10415 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10416 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10417 Move rules ...
10418 * Makeconfig ($(common-objpfx)Versions.def)
10419 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10420 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10421 ... here.
10422 ($(common-objpfx)Versions.mk): New rule. Include it.
10423 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10424 Emit error if build-obsolete-nsl = yes.
10425 * manual/install.texi (Configuring and compiling): Describe
10426 --enable-obsolete-nsl as unavaiable after version 2.28.
10427 * INSTALL: Regenerate.
10428
f0458cf4
AZ
104292018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10430
10431 * NEWS: Add note about new TLE support on powerpc64le.
10432 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10433 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10434 __ununsed1.
10435 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10436 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10437 * sysdeps/powerpc/powerpc32/sysdep.h,
10438 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10439 ABORT_TRANSACTION): Remove macros.
10440 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10442 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10444 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10445 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10446 usage.
10447 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10448
434d45fd
RL
104492018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10450
10451 [BZ #10425]
10452 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10453 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10454 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10455 which is the same as in it_IT.
10456 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10457 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10458
d90c9b1a
JM
104592018-09-20 Joseph Myers <joseph@codesourcery.com>
10460
7abf97be
JM
10461 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10462 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10463 using MATH_REDIRECT.
10464 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10465 header inclusion.
10466 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10468 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10470 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10476 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10477 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10478 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10480 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10481 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10482 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10484 (ceil): Redirect to __ceil.
10485 (floor): Redirect to __floor.
10486 (trunc): Redirect to __trunc.
10487 (__truncl): Call trunc instead of __trunc.
10488 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10489 Remove macro.
10490 [_ARCH_PWR5X] (__truncf): Likewise.
10491 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10492 trunc functions instead of __trunc variants.
10493 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10494 Likewise.
10495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10496 Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10498 Likewise.
10499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10500 Likewise.
10501
d90c9b1a
JM
10502 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10503 [__i586__ || __pentium__].
10504 [__i486__]: Handle explicitly.
10505 (HAS_CPUID): Define to 1 if above macros are undefined.
10506 (HAS_I586): Likewise.
10507 (HAS_I686): Likewise.
10508
db9a8ad4
FW
105092018-09-20 Florian Weimer <fweimer@redhat.com>
10510
10511 * misc/tst-gethostid.c: New file.
10512 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10513 (tst-gethostid): Link with -ldl.
10514
1214ba06
MY
105152018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10516
10517 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10518 value from gethostbyname_r.
10519
791b350d
CD
105202018-09-19 Carlos O'Donell <carlos@redhat.com>
10521
10522 * stdlib/tst-setcontext9.c (f1): Rename to...
10523 (f1a): ... this.
10524 (f1b): New function implementing lower half of f1 in alternate stack.
10525
8e6fd2bd
PE
105262018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10527
e1080e7e
PE
10528 Fix mktime localtime offset confusion
10529 [BZ #23603]
10530 * include/time.h (__mktime_internal): The localtime offset is now
10531 of type long int instead of time_t. This is the longstanding type
10532 in glibc, and it is more than enough to represent difference
10533 between localtime and gmtime even if it is 32 bits and time_t is
10534 64. Changing it now will let us avoid an unnecessary change when
10535 time_t is widened to 64 bits on 32-bit platforms.
10536 * time/mktime-internal.h (mktime_offset_t): Now long int.
10537
8e6fd2bd
PE
10538 Merge mktime, timegm from upstream Gnulib
10539 [BZ #23603][BZ #16346]
10540 This fixes some obscure problems with integer overflow.
10541 Although it looks scary, it is almost all a byte-for-byte copy
10542 from Gnulib, and the Gnulib code has been tested reasonably well.
10543 * include/intprops.h: New file, copied from Gnulib.
10544 * include/verify.h, time/mktime-internal.h:
10545 New tiny files, simplified from Gnulib.
10546 * time/mktime.c: Copy from Gnulib. This has the following changes:
10547 Do not include config.h if DEBUG_MKTIME is nonzero.
10548 Include stdbool.h, intprops.h, verify.h.
10549 Include string.h only if needed.
10550 Include stdlib.h on MS-Windows.
10551 Include mktime-internal.h.
10552 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10553 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10554 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10555 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10556 simplify later conditionals; default the others to zero. Use
10557 these conditionals to express only the code needed on the current
10558 platform. In uses of these conditionals, explicitly spell out how
10559 _LIBC affects things, so it’s easier to review from a glibc
10560 viewpoint.
10561 (WRAPV): Remove; no longer needed now that we have
10562 systematic overflow checking.
10563 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10564 compartmentalize tzset issues. Move system-dependent tzsettish
10565 code here from mktime.
10566 (verify): Remove; now done by verify.h. All uses changed.
10567 (long_int): Use a more-conservative definition, to avoid
10568 integer overflow.
10569 (SHR): Remove, replacing with ...
10570 (shr): New function, which means we needn’t worry about side
10571 effects in args, and conversion analysis is simpler.
10572 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10573 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10574 (time_t_avg, time_t_add_ok): Remove.
10575 (mktime_min, mktime_max): New constants.
10576 (leapyear, isdst_differ): Use bool for booleans.
10577 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10578 Use long_int, not time_t, for mktime differences.
10579 (long_int_avg): New function, replacing time_t_avg.
10580 INT_ADD_WRAPV replaces time_t_add_ok.
10581 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10582 All uses changed.
10583 (convert_time): New function.
10584 (ranged_convert): Use it.
10585 (__mktime_internal): Last arg now points to mktime_offset_t, not
10586 time_t. All uses changed. This is a no-op on glibc, where
10587 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10588 offset guess. Directly check for integer overflow instead of
10589 using a heuristic that works only 99.9...% of the time.
10590 Access *OFFSET only once, to avoid an unlikely race if the
10591 compiler delays a load and if this cascades into a signed integer
10592 overflow.
10593 (mktime): Move tzsettish code to my_tzset, and move
10594 localtime_offset to within mktime so that it doesn’t
10595 need a separate ifdef.
10596 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10597 instead of localtime.
10598 * time/timegm.c: Copy from Gnulib. This has the following changes:
10599 Include mktime-internal.h.
10600 [!_LIBC]: Include config.h and time.h. Do not include
10601 timegm.h or time_r.h. Make __mktime_internal a macro,
10602 and include mktime-internal.h to get its declaration.
10603 (timegm): Temporary is now mktime_offset_t, not time_t.
10604 This affects only Gnulib.
10605
83a552b0
WD
106062018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10607
10608 [BZ #23637]
10609 * string/test-strstr.c (pr23637): New function.
10610 (test_main): Add tests with longer needles.
10611 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10612 * string/strstr.c (AVAILABLE): Likewise.
10613
d7347278
SN
106142018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10615
10616 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10617
424c4f60
SN
106182018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10619
10620 * NEWS: Mention pow improvements.
10621 * math/Makefile (type-double-routines): Add e_pow_log_data.
10622 * sysdeps/generic/math_private.h (__exp1): Remove.
10623 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10624 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10625 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10626 contraction.
10627 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10628 (exp_inline): Remove.
10629 (__ieee754_exp): Only single double input is handled.
10630 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10631 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10632 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10633 (__pow_log_data): Define.
10634 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10635 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10636 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10637 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10638 contraction.
10639 (CFLAGS-e_pow-fma4.c): Likewise.
10640
e4e4fde5
PE
106412018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10642
dab9c348
PE
10643 Simplify tzfile fstat failure code
10644 [BZ #21716]
10645 * time/tzfile.c (__tzfile_read): Simplify slightly.
10646
e4e4fde5
PE
10647 Fix tzfile low-memory assertion failure
10648 [BZ #21716]
10649 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10650 when registering time zone abbreviations.
10651
50bc59ca
JM
106522018-09-18 Joseph Myers <joseph@codesourcery.com>
10653
d3a43e49
JM
10654 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10655 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10656 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10657 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10658 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10659 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10660 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10661 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10662 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10663
50bc59ca
JM
10664 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10665 __ceil.
10666 (__ceill): Call ceil instead of __ceil.
10667 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10668 __floor.
10669 (__floorl): Call floor instead of __floor.
10670
89983cb3
JM
106712018-09-17 Joseph Myers <joseph@codesourcery.com>
10672
71223ef9
JM
10673 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10674 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10675 using MATH_REDIRECT.
10676 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10677 header inclusion.
10678 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10681 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10682 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10683 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10684 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10685 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10690 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10691 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10694 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10695 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10696 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10697 Remove macro.
10698 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10699 functions instead of __ceil variants.
10700 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10701 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10702 Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10704 Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10706 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10707 Likewise.
10708 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10709 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10710
89983cb3
JM
10711 [BZ #21286]
10712 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10713 constant.
10714 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10715 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10716 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10717 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10718 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10719 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10720 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10721 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10722 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10723 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10724 (ILL_BADIADDR): Remove constant.
10725 (TRAP_BRANCH): Likewise.
10726 (TRAP_HWBKPT): Likewise.
10727
e44acb20
JM
107282018-09-14 Joseph Myers <joseph@codesourcery.com>
10729
3f7f1d18
JM
10730 [BZ #23656]
10731 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10732 Remove [_MIPS_SIM = _ABIN32] conditional case.
10733 (struct elf_prpsinfo): Likewise.
10734
d59f3e5e
JM
10735 [BZ #23649]
10736 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10737 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10738 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10739 Likewise.
10740 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10741 elf_prpsinfo): Likewise.
10742 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10743 elf_prpsinfo): Likewise.
10744 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10745 Likewise.
10746
f29b6f17
JM
10747 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10748 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10749 using MATH_REDIRECT.
10750 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10751 header inclusion.
10752 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10753 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10754 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10755 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10758 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10759 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10762 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10763 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10764 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10765 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10766 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10767 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10768 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10769 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10770 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10775 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10776 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10777 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10778 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10779 __rint variants.
10780 * math/e_scalbf.c (invalid_fn): Likewise.
10781 * math/e_scalbl.c (invalid_fn): Likewise.
10782 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10783 Likewise.
10784 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10785 Likewise.
10786 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10787 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10788 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10789 Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10791 Likewise.
10792 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10793 Likewise.
10794 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10795 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10796
e44acb20
JM
10797 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10798 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10799 New macro.
10800 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10801 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10802 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10803 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10804 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10805 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10806 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10807 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10808 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10809 && !NO_MATH_REDIRECT] (floor): Likewise.
10810 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10811 header inclusion.
10812 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10815 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10816 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10819 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10824 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10825 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10828 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10829 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10830 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10831 Remove macro.
10832 [_ARCH_PWR5X] (__floorf): Likewise.
10833 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10834 inline function.
10835 [__SSE4_1__] (__floorf): Likewise.
10836 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10837 instead of __floor variants.
10838 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10839 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10840 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10841 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10842 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10843 * math/w_tgamma_compat.c (__tgamma): Likewise.
10844 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10845 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10846 * math/w_tgammal_compat.c (__tgammal): Likewise.
10847 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10849 Likewise.
10850 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10851 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10852 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10853 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10854 Likewise.
10855 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10856 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10857 Likewise.
10858 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10860 Likewise.
10861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10862 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10863 Likewise.
10864 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10866 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10867 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10868 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10869 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10870
221e4bab
JM
108712018-09-12 Joseph Myers <joseph@codesourcery.com>
10872
10873 * elf/Makefile (modules-names-tests): New variable.
10874
3e08ff54
SN
108752018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10876
10877 * NEWS: Mention log2 improvements.
10878 * math/Makefile (type-double-routines): Add e_log2_data.
10879 * sysdeps/i386/fpu/e_log2_data.c: New file.
10880 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10881 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10882 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10883 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10884 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10885 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10886
f41b0a43
SN
108872018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10888
10889 * NEWS: Mention log improvement.
10890 * math/Makefile (type-double-routines): Add e_log_data.
10891 * sysdeps/i386/fpu/e_log_data.c: New file.
10892 * sysdeps/ia64/fpu/e_log_data.c: New file.
10893 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10894 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10895 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10896 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10897 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10898 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10899
5a274db4
L
109002018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10901 Xuepeng Guo <xuepeng.guo@intel.com>
10902
10903 [BZ #23606]
10904 * sysdeps/i386/start.S: Include <sysdep.h>
10905 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10906 enabled. Add cfi_undefined (eip).
10907
b1176270
JM
109082018-09-11 Joseph Myers <joseph@codesourcery.com>
10909
4e7fbdd7
JM
10910 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10911 (MOVQ): Likewise.
10912 (EXTRACT_WORDS64): Likewise.
10913 (INSERT_WORDS64): Likewise.
10914 (GET_FLOAT_WORD): Likewise.
10915 (SET_FLOAT_WORD): Likewise.
10916
b1176270
JM
10917 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10918 argument.
10919 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10920 build, but not for second build if --full-gcc. Use
10921 --enable-languages=all for second build if --full-gcc.
10922 (get_parser): Add --full-gcc option.
10923 (main): Update call to Context.
10924
527f355e
RL
109252018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10926
10927 [BZ #10797]
10928 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10929 Single Quotation Mark).
10930 (thousands_sep): Likewise.
10931 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10932 * localedata/locales/it_IT (thousands_sep): Use ".".
10933 (grouping): Use "3;3".
10934
7244f13d
JM
109352018-09-10 Joseph Myers <joseph@codesourcery.com>
10936
10937 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10938 x86_64 and i686 configs using --enable-obsolete-rpc
10939 --enable-obsolete-nsl.
10940
38245425
SL
109412018-09-06 Stefan Liebler <stli@linux.ibm.com>
10942
10943 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10944
28669f86
SL
109452018-09-06 Stefan Liebler <stli@linux.ibm.com>
10946
10947 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10948 Increment size of new_argv by one.
10949
a33650d1
RL
109502018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10951
10952 [BZ #17426]
10953 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10954 * localedata/locales/ar_IN (d_fmt): Likewise.
10955 * localedata/locales/bhb_IN (d_fmt): Likewise.
10956 * localedata/locales/bho_IN (d_fmt): Likewise.
10957 * localedata/locales/bn_BD (d_fmt): Likewise.
10958 * localedata/locales/bn_IN (d_fmt): Likewise.
10959 * localedata/locales/doi_IN (d_fmt): Likewise.
10960 * localedata/locales/gu_IN (d_fmt): Likewise.
10961 * localedata/locales/hi_IN (d_fmt): Likewise.
10962 * localedata/locales/hne_IN (d_fmt): Likewise.
10963 * localedata/locales/kn_IN (d_fmt): Likewise.
10964 * localedata/locales/mag_IN (d_fmt): Likewise.
10965 * localedata/locales/mai_IN (d_fmt): Likewise.
10966 * localedata/locales/mjw_IN (d_fmt): Likewise.
10967 * localedata/locales/ml_IN (d_fmt): Likewise.
10968 * localedata/locales/mni_IN (d_fmt): Likewise.
10969 * localedata/locales/mr_IN (d_fmt): Likewise.
10970 * localedata/locales/pa_IN (d_fmt): Likewise.
10971 * localedata/locales/raj_IN (d_fmt): Likewise.
10972 * localedata/locales/sat_IN (d_fmt): Likewise.
10973 * localedata/locales/sd_IN (d_fmt): Likewise.
10974 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10975 * localedata/locales/ta_IN (d_fmt): Likewise.
10976 * localedata/locales/ta_LK (d_fmt): Likewise.
10977 * localedata/locales/tcy_IN (d_fmt): Likewise.
10978 * localedata/locales/ur_IN (d_fmt): Likewise.
10979
10980 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10981 * localedata/locales/ks_IN (d_fmt): Likewise.
10982 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10983
10984 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10985 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10986 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10987 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10988
d114e6a7
SN
109892018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10990
10991 * NEWS: Mention exp and exp2 improvements.
10992 * math/Makefile (libm-support): Remove t_exp.
10993 (type-double-routines): Add math_err and e_exp_data.
10994 * sysdeps/aarch64/libm-test-ulps: Update.
10995 * sysdeps/arm/libm-test-ulps: Update.
10996 * sysdeps/i386/fpu/e_exp_data.c: New file.
10997 * sysdeps/i386/fpu/math_err.c: New file.
10998 * sysdeps/i386/fpu/t_exp.c: Remove.
10999 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11000 * sysdeps/ia64/fpu/math_err.c: New file.
11001 * sysdeps/ia64/fpu/t_exp.c: Remove.
11002 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11003 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11004 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11006 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11007 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11008 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11009 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11010 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11011 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11012 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11013 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11014 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11015 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11018
b9d8c474
JM
110192018-09-05 Joseph Myers <joseph@codesourcery.com>
11020
b7cdc2ae
JM
11021 * sysdeps/alpha/fpu/math_private.h: Remove.
11022
b9d8c474
JM
11023 * sysdeps/generic/math_private.h
11024 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11025 Move this inline function ....
11026 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11027 * include/math.h [!_ISOMAC]: To here....
11028
418d99e6
JM
110292018-09-04 Joseph Myers <joseph@codesourcery.com>
11030
11031 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11032 code ....
11033 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11034 * include/fenv.h [!_ISOMAC]: ... to here.
11035 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11036 (feraiseexcept): Likewise.
11037 * math/fromfp.h: Do not include <fenv_private.h>.
11038 * math/s_cexp_template.c: Likewise.
11039 * math/s_csin_template.c: Likewise.
11040 * math/s_csinh_template.c: Likewise.
11041 * math/s_ctan_template.c: Likewise.
11042 * math/s_ctanh_template.c: Likewise.
11043 * math/s_iseqsig_template.c: Likewise.
11044 * math/w_acos_compat.c: Likewise.
11045 * math/w_acosf_compat.c: Likewise.
11046 * math/w_acosl_compat.c: Likewise.
11047 * math/w_asin_compat.c: Likewise.
11048 * math/w_asinf_compat.c: Likewise.
11049 * math/w_asinl_compat.c: Likewise.
11050 * math/w_j0_compat.c: Likewise.
11051 * math/w_j0f_compat.c: Likewise.
11052 * math/w_j0l_compat.c: Likewise.
11053 * math/w_j1_compat.c: Likewise.
11054 * math/w_j1f_compat.c: Likewise.
11055 * math/w_j1l_compat.c: Likewise.
11056 * math/w_jn_compat.c: Likewise.
11057 * math/w_jnf_compat.c: Likewise.
11058 * math/w_log10_compat.c: Likewise.
11059 * math/w_log10f_compat.c: Likewise.
11060 * math/w_log10l_compat.c: Likewise.
11061 * math/w_log2_compat.c: Likewise.
11062 * math/w_log2f_compat.c: Likewise.
11063 * math/w_log2l_compat.c: Likewise.
11064 * math/w_log_compat.c: Likewise.
11065 * math/w_logf_compat.c: Likewise.
11066 * math/w_logl_compat.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11072 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11076 * sysdeps/ieee754/k_standardl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11089 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11090 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11094 * math/w_ilogb_template.c: Include <fenv.h> instead of
11095 <fenv_private.h>.
11096 * math/w_llogb_template.c: Likewise.
11097 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11098 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11099
70e2ba33
JM
111002018-09-03 Joseph Myers <joseph@codesourcery.com>
11101
11102 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11103 * math/fromfp.h: Include <fenv_private.h>.
11104 * math/math-narrow.h: Likewise.
11105 * math/s_cexp_template.c: Likewise.
11106 * math/s_csin_template.c: Likewise.
11107 * math/s_csinh_template.c: Likewise.
11108 * math/s_ctan_template.c: Likewise.
11109 * math/s_ctanh_template.c: Likewise.
11110 * math/s_iseqsig_template.c: Likewise.
11111 * math/w_acos_compat.c: Likewise.
11112 * math/w_acosf_compat.c: Likewise.
11113 * math/w_acosl_compat.c: Likewise.
11114 * math/w_asin_compat.c: Likewise.
11115 * math/w_asinf_compat.c: Likewise.
11116 * math/w_asinl_compat.c: Likewise.
11117 * math/w_ilogb_template.c: Likewise.
11118 * math/w_j0_compat.c: Likewise.
11119 * math/w_j0f_compat.c: Likewise.
11120 * math/w_j0l_compat.c: Likewise.
11121 * math/w_j1_compat.c: Likewise.
11122 * math/w_j1f_compat.c: Likewise.
11123 * math/w_j1l_compat.c: Likewise.
11124 * math/w_jn_compat.c: Likewise.
11125 * math/w_jnf_compat.c: Likewise.
11126 * math/w_llogb_template.c: Likewise.
11127 * math/w_log10_compat.c: Likewise.
11128 * math/w_log10f_compat.c: Likewise.
11129 * math/w_log10l_compat.c: Likewise.
11130 * math/w_log2_compat.c: Likewise.
11131 * math/w_log2f_compat.c: Likewise.
11132 * math/w_log2l_compat.c: Likewise.
11133 * math/w_log_compat.c: Likewise.
11134 * math/w_logf_compat.c: Likewise.
11135 * math/w_logl_compat.c: Likewise.
11136 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11137 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11138 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11139 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11164 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11165 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11168 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11169 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11170 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11171 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11172 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11174 * sysdeps/ieee754/k_standardl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11211 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11213 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11214 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11215 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11216 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11217 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11218 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11219 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11220 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11221 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11222 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11223 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11224 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11225 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11226 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11227 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11228 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11229 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11230 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11231 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11232 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11233 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11234 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11235 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11236 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11237 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11238 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11239 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11240 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11241 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11242 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11243 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11244 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11245 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11246
a6e8926f
PP
112472018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11248
11249 [BZ #20271]
11250 * include/stdio.h (__libc_fatal): Mention newline in comment.
11251 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11252 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11254 * nss/nsswitch.c (__nss_next2): Likewise.
11255 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11256 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11257 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11258 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11259 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11260 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11261 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11262 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11263 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11264 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11265 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11266 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11267 (__netlink_assert_response): Likewise.
11268
2bbd06bc
JM
112692018-08-31 Joseph Myers <joseph@codesourcery.com>
11270
11271 * conform/glibcconform.py: New file.
11272 * conform/list-header-symbols.py: Likewise.
11273 * conform/list-header-symbols.pl: Remove.
11274 * conform/Makefile (tests-special): Only add linknamespace tests
11275 if [PYTHON].
11276 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11277
81b9d87b
L
112782018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11279
11280 [BZ #23597]
11281 * support/Makefile (libsupport-routines): Add
11282 support_copy_file_range and xcopy_file_range.
11283 * support/support.h: Include <sys/types.h>.
11284 (support_copy_file_range): New prototype.
11285 * support/support_copy_file_range.c: New file. Copied and
11286 modified from io/copy_file_range-compat.c.
11287 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11288 instead of copy_file_range.
11289 * support/xcopy_file_range.c: New file.
11290 * support/xunistd.h (xcopy_file_range): New prototype.
11291
d330f31a
CD
112922018-08-30 Carlos O'Donell <carlos@redhat.com>
11293
11294 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11295 xpthread_create and xpthread_join.
11296
2bda273a
FW
112972018-08-30 Florian Weimer <fweimer@redhat.com>
11298
11299 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11300
3bad2358
SL
113012018-08-30 Stefan Liebler <stli@linux.ibm.com>
11302
11303 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11304 if malloc fails.
11305
09c12efc
JM
113062018-08-29 Joseph Myers <joseph@codesourcery.com>
11307
11308 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11309 and minus_oflow as non-finite.
11310
ff6b2450
JM
113112018-08-28 Joseph Myers <joseph@codesourcery.com>
11312
11313 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11314 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11315 moved to fenv_private.h except for ...
11316 (TOINT_INTRINSICS): Kept in math_private.h.
11317 (roundtoint): Likewise.
11318 (converttoint): Likewise.
11319 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11320 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11321 * sysdeps/arm/math_private.h: Remove.
11322 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11323 ....
11324 * sysdeps/generic/math_private.h: ... this file. Include
11325 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11326 Include <fenv_private.h>. Remove functions and macros moved to
11327 fenv_private.h.
11328 * sysdeps/i386/fpu/math_private.h: Remove.
11329 * sysdeps/mips/math_private.h: Move to ....
11330 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11331 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11332 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11333 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11334 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11335 * sysdeps/powerpc/fpu/math_private.h: Do not include
11336 <fenv_private.h>.
11337 * sysdeps/riscv/rvf/math_private.h: Move to ....
11338 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11339 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11340 <fenv_private.h>.
11341 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11342 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11343 * sysdeps/sparc/fpu/math_private.h: Remove.
11344 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11345 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11346 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11347 <fenv_private.h>.
11348 * sysdeps/x86_64/fpu/math_private.h: Do not include
11349 <sysdeps/i386/fpu/fenv_private.h>.
11350
761404b7
FW
113512018-08-28 Florian Weimer <fweimer@redhat.com>
11352
11353 [BZ #23578]
11354 * posix/tst-regcomp-truncated.c: New file.
11355 * posix/Makefile (tests): Add it.
11356 (tst-regcomp-truncated.out): Depend on generated locales.
11357
d6c44c3d
FW
113582018-08-28 Florian Weimer <fweimer@redhat.com>
11359
11360 * support/test-container.c (main): Treat unshare failure with
11361 EPERM as an unsupported test.
11362
745664bd
FW
113632018-08-28 Florian Weimer <fweimer@redhat.com>
11364
11365 [BZ #23520]
11366 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11367 * nscd/netgroupcache.c
11368 (addgetnetgrentX): Add tofreep parameter. Do not free
11369 heap-allocated buffer.
11370 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11371 (addgetnetgrentX_ignore): New function.
11372 (addgetnetgrent): Call it.
11373 (readdgetnetgrent): Likewise.
11374
c8dd67e7
RS
113752018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11376
11377 * string/memmem.c: Use memcmp for first match.
11378
5abedf97
RL
113792018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11380
11381 [BZ #17426]
11382 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11383
86de0499
DD
113842018-08-27 DJ Delorie <dj@redhat.com>
11385
11386 * support/Makefile (others): Don't list programs explicitly as a
11387 dependency of "others".
11388
c3ab2110
JM
113892018-08-27 Joseph Myers <joseph@codesourcery.com>
11390
11391 * sysdeps/generic/math-tests-trap-force.h: New file.
11392 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11393 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11394 * sysdeps/powerpc/math-tests.h: Remove file.
11395 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11396
6b5c8607
TS
113972018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11398 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
11399
11400 [BZ #23538]
11401 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11402 Update r to include the set wake-request flag if waiters are
11403 remaining after spinning.
11404
4061791f
JM
114052018-08-27 Joseph Myers <joseph@codesourcery.com>
11406
11407 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11408
bc680b33
PE
114092018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11410
761404b7 11411 [BZ #23578]
bc680b33
PE
11412 regex: fix uninitialized memory access
11413 I introduced this bug into gnulib in commit
11414 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11415 eventually it was merged into glibc. The bug was found by
11416 project-repo <bugs@feusi.co> and reported here:
11417 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11418 Diagnosis and draft fix reported by Assaf Gordon here:
11419 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11420 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11421 * posix/regex_internal.c (build_wcs_upper_buffer):
11422 Fix bug when mbrtowc returns 0.
11423
02458a52
CD
114242018-08-24 Carlos O'Donell <carlos@redhat.com>
11425
11426 * po/be.po: Update translation.
11427
acc2842a
DD
114282018-08-24 DJ Delorie <dj@delorie.com>
11429
11430 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11431 $(libunwind).
11432
6c3a8a9d
PP
114332018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11434
b39d961c
TS
11435 [BZ #23400]
11436 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11437 create temporary files in source tree.
6c3a8a9d 11438
895ef79e
JM
114392018-08-24 Joseph Myers <joseph@codesourcery.com>
11440
11441 * sysdeps/generic/math-tests-trap.h: New file.
11442 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11443 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11444 * sysdeps/aarch64/math-tests.h: Remove file.
11445 * sysdeps/arm/math-tests.h: Likewise.
11446 * sysdeps/riscv/math-tests.h: Likewise.
11447 * sysdeps/aarch64/math-tests-trap.h: New file.
11448 * sysdeps/arm/math-tests-trap.h: Likewise.
11449 * sysdeps/riscv/math-tests-trap.h: Likewise.
11450
ca3aac57
WD
114512018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11452
11453 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11454 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11455 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11456 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11457 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11458 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11462 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11463 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11465 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11466 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11467 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11468 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11470 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11471
60bcac09
JM
114722018-08-23 Joseph Myers <joseph@codesourcery.com>
11473
11474 * sysdeps/generic/math-tests-exceptions.h: New file.
11475 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11476 (EXCEPTION_TESTS_float): Do not define here.
11477 (EXCEPTION_TESTS_double): Likewise.
11478 (EXCEPTION_TESTS_long_double): Likewise.
11479 (EXCEPTION_TESTS_float128): Likewise.
11480 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11481 Likewise.
11482 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11483 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11484 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11485 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11486 * sysdeps/mips/math-tests.h: Likewise.
11487 * sysdeps/nios2/math-tests.h: Likewise.
11488 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11489 (EXCEPTION_TESTS_float): Do not define here.
11490 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11491 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11492 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11493
3bded567
WD
114942018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11495
11496 * NEWS: Move optimized sinf entry to 2.29.
11497
900fb446
WD
114982018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11499
11500 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11501
561b0bec
DD
115022018-08-22 DJ Delorie <dj@redhat.com>
11503
11504 * Makefile (testroot.pristine): New rules to initialize the
11505 test-in-container "testroot".
11506 * Makerules (all-testsuite): Add tests-container.
11507 * Rules (tests-expected): Add tests-container.
11508 (binaries-all-tests): Likewise.
11509 (tests-container): New, run these tests in the testroot container.
11510 * support/Makefile (others): Add *-container, support_paths.c,
11511 xmkdirp, and links-dso-program.
11512 * support/links-dso-program-c.c: New.
11513 * support/links-dso-program.cc: New.
11514 * support/test-container.c: New.
11515 * support/shell-container.c: New.
11516 * support/echo-container.c: New.
11517 * support/true-container.c: New.
11518 * support/xmkdirp.c: New.
11519 * support/xsymlink.c: New.
11520 * support/support_paths.c: New.
11521 * support/support.h: Add support paths prototypes.
11522 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11523
11524 * nss/tst-nss-test3.c: Convert to test-in-container.
11525 * nss/tst-nss-test3.root/: New.
11526
b35d3509
PE
115272018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11528
11529 regex: port Gnulib code to z/OS POSIX environment
11530 Problem reported by Arnold Robbins in:
11531 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11532 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11533 Undef.
11534
16a25138
JM
115352018-08-22 Joseph Myers <joseph@codesourcery.com>
11536
debc4c98
JM
11537 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11538 (ROUNDING_TESTS_double): Remove.
11539 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11540 (ROUNDING_TESTS_double): Remove.
11541 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11542 (ROUNDING_TESTS_double): Remove.
11543 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11544 (ROUNDING_TESTS_float): Remove.
11545 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11546 (ROUNDING_TESTS_float): Remove.
11547 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11548 (ROUNDING_TESTS_float): Remove.
11549 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11550 !TEST_MATHVEC here.
11551 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11552 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11553
16a25138
JM
11554 * sysdeps/generic/math-tests-rounding.h: New file.
11555 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11556 (ROUNDING_TESTS_float): Do not define here.
11557 (ROUNDING_TESTS_double): Likewise.
11558 (ROUNDING_TESTS_long_double): Likewise.
11559 (ROUNDING_TESTS_float128): Likewise.
11560 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11561 (ROUNDING_TESTS_double): Undefine before defining.
11562 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11563 (ROUNDING_TESTS_double): Undefine before defining.
11564 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11565 (ROUNDING_TESTS_double): Undefine before defining.
11566 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11567 (ROUNDING_TESTS_float): Undefine before defining.
11568 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11569 (ROUNDING_TESTS_float): Undefine before defining.
11570 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11571 (ROUNDING_TESTS_float): Undefine before defining.
11572 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11573 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11574 not define here.
11575 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11576 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11577 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11578 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11579 (ROUNDING_TESTS_float): Do not define here.
11580 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11581 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11582 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11583 (ROUNDING_TESTS_float): Likewise.
11584 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11585 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11586 * sysdeps/mips/math-tests.h [__mips_soft_float]
11587 (ROUNDING_TESTS_float): Likewise.
11588 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11589 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11590 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11591 (ROUNDING_TESTS_double): Likewise.
11592 (ROUNDING_TESTS_long_double): Likewise.
11593
38b0593e
TK
115942018-08-21 Tobias Klauser <tklauser@distanz.ch>
11595
11596 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11597 (PF_XDP): New macro.
11598 (AF_XDP): New macro.
11599 (SOL_XDP): New macro.
11600
5cd7dbde
JM
116012018-08-21 Joseph Myers <joseph@codesourcery.com>
11602
11603 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11604 (TCP_INQ): Likewise.
11605 (TCP_CM_INQ): Likewise.
11606 (TCP_REPAIR_ON): Likewise.
11607 (TCP_REPAIR_OFF): Likewise.
11608 (TCP_REPAIR_OFF_NO_WP): Likewise.
11609 (struct tcp_zerocopy_receive): New type.
11610
aa42b3db
FW
116112018-08-21 Florian Weimer <fweimer@redhat.com>
11612
11613 * support/support.h (support_descriptor_supports_holes): Declare.
11614 * support/Makefile (libsupport-routines): Add
11615 support_descriptor_supports_holes.
11616 * support/support_descriptor_supports_holes.c: New file.
11617 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11618 and stop testing if holes are not supported.
11619 * io/test-lfs.c (do_prepare): Likewise.
11620 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11621 Likewise.
11622 * timezone/tst-tzset.c (create_tz_file): Likewise.
11623 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11624 variable.
11625 (do_prepare): Set it.
11626 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11627
c7627f41
FW
116282018-08-21 Florian Weimer <fweimer@redhat.com>
11629
11630 [BZ #17248]
11631 * Makeconfig (+cflags): Do not sort (and deduplicate).
11632
ef939d92
FW
116332018-08-21 Florian Weimer <fweimer@redhat.com>
11634
11635 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11636 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11637
88ffb39d
FW
116382018-08-20 Florian Weimer <fweimer@redhat.com>
11639
11640 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11641 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11642
17419540
JM
116432018-08-20 Joseph Myers <joseph@codesourcery.com>
11644
e6edd40d
JM
11645 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11646 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11647 and ssi_arch members.
11648
17419540
JM
11649 * elf/elf.c (NT_VMCOREDD): New macro.
11650 (AT_MINSIGSTKSZ): Likewise.
11651
fa78896b
RS
116522018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11653
11654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11655 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11656 s_cosf-ppc64 and s_cosf-power8.
11657 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11658 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11659 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11660 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11667 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11668 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11669
86a6c75a
FW
116702018-08-17 Florian Weimer <fweimer@redhat.com>
11671
11672 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11673
35cfefd9
FW
116742018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11675
11676 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11677
6413fcde
FW
116782018-08-16 Florian Weimer <fweimer@redhat.com>
11679
11680 * configure.ac: Add --with-nonshared-cflags option.
11681 * config.make.in (extra-nonshared-cflags): Set variable.
11682 * Makeconfig (CFLAGS-.oS): Use it.
11683 * manual/install.texi (Configuring and compiling): Document
11684 --with-nonshared-cflags.
11685 * configure: Regenerate.
11686 * INSTALL: Likewise.
11687
93a2584c
FW
116882018-08-16 Florian Weimer <fweimer@redhat.com>
11689
11690 * Makeconfig (ASFLAGS): Always append required assembler flags.
11691
f6f275d2 116922018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
11693
11694 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11695 (malloc_consolidate): Likewise.
11696
30a17d8c
PC
116972018-08-16 Pochang Chen <johnchen902@gmail.com>
11698
11699 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11700
953a5a4a
SP
117012018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11702
34f86d61
SP
11703 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11704 every strlen call.
11705
953a5a4a
SP
11706 * benchtests/bench-strlen.c: Print performance numbers in json.
11707
7793ad7a
RS
117082018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11709
11710 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11711 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11712 only for little endian.
11713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11714 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11715 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11716 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11717 Add check for little endian.
11718 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11719 (__strcmp_power9): Add check for little endian.
11720 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11721 Add check for little endian.
11722 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11723 (__strncmp_power9): Add check for little endian.
11724 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11725 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11726 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11727 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11728 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11729
436e4d5b
SP
117302018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11731
11732 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11733 [!STRLEN](STRLEN): Set to __strlen.
11734 * sysdeps/aarch64/multiarch/strlen.c: New file.
11735 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11736 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11737 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11738 (__libc_ifunc_impl_list): Add strlen.
11739 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11740 strlen_generic and strlen_asimd.
11741
126c4e3f
WD
117422018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11743
11744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11745 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11746 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11747
49acec17
WD
117482018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11749
11750 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11751
fdb16de3
FW
117522018-08-14 Florian Weimer <fweimer@redhat.com>
11753
11754 [BZ #23519]
11755 * include/stdio.h (__vfxprintf): Declare.
11756 * stdio-common/fxprintf.c (__vfxprintf): New function.
11757 (__fxprintf): Call it.
11758 * misc/err.c (convert_and_print): Remove function.
11759 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11760 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11761 * misc/Makefile (tests): Add tst-warn-wide.
11762 * misc/tst-warn-wide.c: New file.
11763
599cf397
WD
117642018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11765 Szabolcs Nagy <szabolcs.nagy@arm.com>
11766
11767 * NEWS: Mention sinf, cosf, sincosf.
11768 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11769 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11770 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11771 constants rather than including generic sincosf.h.
11772 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11773 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11774 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11775 (reduced_cos): Remove.
11776 (sinf_poly): New function.
11777 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11778
e95c6f61
FW
117792018-08-14 Florian Weimer <fweimer@redhat.com>
11780
11781 [BZ #23521]
11782 [BZ #23522]
11783 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11784 processing, bail out if no room, and close the stream before
11785 returning ERANGE.
11786 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11787 (tst-nss-files-alias-leak): Link with libdl.
11788 (tst-nss-files-alias-leak.out): Depend on nss_files.
11789
11790 * nss/tst-nss-files-alias-leak.c: New file.
11791
2d7acfac
FW
117922018-08-14 Florian Weimer <fweimer@redhat.com>
11793
11794 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11795 server_user, stat_user.
11796
f3cd0904
JM
117972018-08-13 Joseph Myers <joseph@codesourcery.com>
11798
17b26500
JM
11799 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11800 version to 4.18.
11801 (io_pgetevents): New syscall.
11802 (rseq): Likewise.
11803
3c1622eb
JM
11804 * manual/install.texi (Configuring and compiling): Do not list
11805 tools used for testing pretty printers here.
11806 (Tools for Compilation): List Python, PExpect and GDB here.
11807 Update descriptions of uses of Perl and Python.
11808 * INSTALL: Regenerate.
11809
f3cd0904
JM
11810 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11811 version to 4.18.
11812
b7b52b9d
FW
118132018-08-13 Florian Weimer <fweimer@redhat.com>
11814
11815 * misc/error.c (error): Add missing va_end call.
11816 (error_at_line): Likewise.
11817
01780188
FW
118182018-08-13 Florian Weimer <fweimer@redhat.com>
11819
11820 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11821
44727aec
SP
118222018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11823
8cac1f26
SP
11824 * benchtests/scripts/benchout.schema.json (properties): Add
11825 new properties.
11826
44727aec
SP
11827 * benchtests/bench-skeleton.c (main): Add duration and
11828 iterations attributes.
11829
c77bf91b
PE
118302018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11831
11832 regex: Gnulib unibyte RRI uses bytes not chars
11833 Adjust the non-glibc code to agree with what Gawk needs for
11834 rational range interpretation (RRI) for regular expression ranges.
11835 In unibyte locales, Gawk wants ranges to use the underlying byte
11836 rather than the character code point. This change does not affect
11837 glibc proper.
11838 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11839 In unibyte locales, use the byte value rather than
11840 running it through btowc.
11841
2ce7ba7d
JM
118422018-08-10 Joseph Myers <joseph@codesourcery.com>
11843
11844 * sysdeps/generic/math-tests-snan.h: New file.
11845 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11846 (SNAN_TESTS_float): Do not define here.
11847 (SNAN_TESTS_double): Likewise.
11848 (SNAN_TESTS_long_double): Likewise.
11849 (SNAN_TESTS_float128): Likewise.
11850 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11851 * sysdeps/i386/fpu/math-tests.h: Remove file.
11852 * sysdeps/ia64/math-tests-snan.h: New file.
11853 * sysdeps/ia64/math-tests.h: Remove file.
11854 * sysdeps/x86/math-tests.h: Likewise.
11855 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11856
ea5c662c
WD
118572018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11858 Szabolcs Nagy <szabolcs.nagy@arm.com>
11859
11860 * math/Makefile: Add s_sincosf_data.c.
11861 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11862 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11863 (sincosf_poly): Likewise.
11864 (reduce_small): Likewise.
11865 (reduce_large): Likewise.
11866 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11867 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11868 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11869 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11870
43cfdf8f
SN
118712018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11872 Szabolcs Nagy <szabolcs.nagy@arm.com>
11873
11874 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11875 (converttoint): Use lround.
11876 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11877 document the semantics when TOINT_INTRINSICS is set.
11878 (converttoint): Likewise.
11879 (TOINT_RINT): Remove.
11880 (TOINT_SHIFT): Remove.
11881 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11882 path.
11883
69065288
FW
118842018-08-10 Florian Weimer <fweimer@redhat.com>
11885
11886 [BZ #23497]
11887 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11888 function.
11889 (__old_getdents64): Use getdents64. Convert entries without
11890 moving them.
11891 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11892 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11893 tst-readdir64-compat.
11894
8f135efc
IL
118952018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11896
11897 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11898 Fix unwind.
11899
71c01af5
IL
119002018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11901
11902 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11903 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11904 code to s390x-mcount.h and #include it.
11905 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11907 (__fentry__): Add.
11908
8d997d22
IL
119092018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11910
11911 * stdlib/Versions: Remove __fentry__.
11912 * sysdeps/i386/Versions: Add __fentry__.
11913 * sysdeps/x86_64/Versions: Add __fentry__.
11914
69e2444a
IL
119152018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11916
11917 * sysdeps/s390/Makefile: Register the new tests.
11918 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11919 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11920 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11921 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11922 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11923 * sysdeps/s390/tst-dl-runtime.c: New file.
11924
bde6320f
IL
119252018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11926
11927 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11928 Do not clobber R0.
11929
5755f5e4
IL
119302018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11931
11932 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11933 Do not clobber R0.
11934
c8ad8522
IL
119352018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11936
11937 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11938 Do not clobber R0.
11939
b215eee1
IL
119402018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11941
11942 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11943 Do not clobber R0.
11944
329c6fec
IL
119452018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11946
11947 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11948 Use symbolic offsets for stack variables.
11949
0fb7afa2
IL
119502018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11951
11952 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11953 Use symbolic offsets for stack variables.
11954
6954059a
IL
119552018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11956
11957 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11958 Use symbolic offsets for stack variables.
11959
c7099673
IL
119602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11961
11962 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11963 Use symbolic offsets for stack variables.
11964
2813e41e
JM
119652018-08-09 Joseph Myers <joseph@codesourcery.com>
11966
11967 * math/gen-libm-test.py: New file.
11968 * math/gen-libm-test.pl: Remove.
11969 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11970 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11971 gen-libm-test.pl.
11972 ($(libm-test-c-noauto-obj)): Likewise.
11973 ($(libm-test-c-auto-obj)): Likewise.
11974 ($(libm-test-c-narrow-obj)): Likewise.
11975 (regen-ulps): Likewise.
11976 * math/README.libm-test: Update references to gen-libm-test.pl.
11977 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11978 referencing gen-libm-test.pl.
11979 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11980 * math/libm-test-support.c: Likewise.
11981 * math/libm-test-support.h: Likewise.
11982 * sysdeps/generic/libm-test-ulps: Likewise.
11983
be64b194
SP
119842018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11985
11986 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11987 Fix value.
11988
140137fb
JM
119892018-08-08 Joseph Myers <joseph@codesourcery.com>
11990
11991 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11992 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11993
b5403eca
ST
119942018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11995
11996 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11997 symbols.
8ac0f9e6
ST
11998 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11999 __pthread_setspecific): Add hidden proto.
12000 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12001 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 12002
014efdd7
SP
120032018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12004
12005 * benchtests/bench-string.h (buf1_size, buf2_size): New
12006 variables.
12007 (init_sizes): New function.
12008 (test_init): Use it.
12009 (alloc_buf, exit_error): New functions.
12010 (alloc_bufs): Use ALLOC_BUF.
12011 (realloc_bufs): Remove.
12012 * benchtests/bench-memcmp.c (do_test): Adjust.
12013 * benchtests/bench-memset-large.c (do_test): Likewise.
12014 * benchtests/bench-memset-walk.c (do_test): Likewise.
12015 * benchtests/bench-memset.c (do_test): Likewise.
12016 * benchtests/bench-strncmp.c (do_test): Likewise.
12017
92a4cba7
AS
120182018-08-06 Andreas Schwab <schwab@suse.de>
12019
12020 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12021 of CONST_THREAD_AREA.
12022
fb4c32ae
L
120232018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12024
12025 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12026 (STATE_SAVE_MASK): Likewise.
12027 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12028 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12029 (STATE_SAVE_MASK): Likewise.
12030 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12031 instead of <cpu-features.h>.
12032
bf418187
DD
120332018-08-03 DJ Delorie <dj@redhat.com>
12034
12035 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 12036 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 12037
bb17621a
DD
12038 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12039
ea705eb5
JM
120402018-08-03 Joseph Myers <joseph@codesourcery.com>
12041
12042 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12043 after TEST_* calls.
12044 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12045 * math/libm-test-logb.inc (logb_test_data): Likewise.
12046
284f42bc
WD
120472018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12048
12049 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12050 * string/strstr.c (AVAILABLE): Likewise.
12051
430388d5
L
120522018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12053
12054 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12055 <init-arch.h>.
12056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12057 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12058 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12059
c5760aa9
CD
120602018-08-03 Carlos O'Donell <carlos@redhat.com>
12061
12062 * po/be.po: Update translation.
12063
6b535b84
CD
12064 * po/be.po: Update translation.
12065
ae67f2e5
L
120662018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12067
12068 * sysdeps/x86/cpu-features-offsets.sym
12069 (rtld_global_ro_offsetof): Removed.
12070 (CPU_FEATURES_SIZE): Likewise.
12071 (CPUID_OFFSET): Likewise.
12072 (CPUID_SIZE): Likewise.
12073 (CPUID_EAX_OFFSET): Likewise.
12074 (CPUID_EBX_OFFSET): Likewise.
12075 (CPUID_ECX_OFFSET): Likewise.
12076 (CPUID_EDX_OFFSET): Likewise.
12077 (FAMILY_OFFSET): Likewise.
12078 (MODEL_OFFSET): Likewise.
12079 (FEATURE_OFFSET): Likewise.
12080 (FEATURE_SIZ): Likewise.
12081 (COMMON_CPUID_INDEX_1): Likewise.
12082 (COMMON_CPUID_INDEX_7): Likewise.
12083 (FEATURE_INDEX_1): Likewise.
12084 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12085
6b5c8607 120862018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
12087
12088 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12089 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12090 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12091 (install-locales): Depend on install-locale-archive.
12092 (install-locale-archive): Define.
7b7adbd8 12093 (install-locale-files): Define.
08a5ee14
CD
12094 (build-one-locale): Define macro.
12095 * manual/install.texi (Running make install): Document.
12096 * manual/INSTALL: Regenerate.
12097
525691bd
SP
120982018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12099
d67d634b
SP
12100 * benchtests/scripts/compare_strings.py: Import traceback.
12101 (parse_file): Pretty-print error.
12102
525691bd
SP
12103 * NEWS: Mention the change.
12104 * elf/dl-tunables.list: Rename tune namespace to cpu.
12105 * sysdeps/powerpc/dl-tunables.list: Likewise.
12106 * sysdeps/x86/dl-tunables.list: Likewise.
12107 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12108 cpu.name.
12109 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12110 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12111 * manual/README.tunables: Likewise.
12112 * manual/tunables.texi: Likewise.
12113 * sysdeps/powerpc/cpu-features.c: Likewise.
12114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12115 (init_cpu_features): Likewise.
12116 * sysdeps/x86/cpu-features.c: Likewise.
12117 * sysdeps/x86/cpu-features.h: Likewise.
12118 * sysdeps/x86/cpu-tunables.c: Likewise.
12119 * sysdeps/x86_64/Makefile: Likewise.
12120 * sysdeps/x86/dl-cet.c: Likewise.
12121
506d7fb1
JM
121222018-08-02 Joseph Myers <joseph@codesourcery.com>
12123
12124 [BZ #23479]
12125 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12126 [__mips_hard_float].
12127 (FE_UNDERFLOW): Likewise.
12128 (FE_OVERFLOW): Likewise.
12129 (FE_DIVBYZERO): Likewise.
12130 (FE_INVALID): Likewise.
12131 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12132 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12133 (FE_UPWARD): Likewise.
12134 (FE_DOWNWARD): Likewise.
12135 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12136 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12137 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12138 [__mips_hard_float].
12139 (FP_ROUNDMODE): Likewise.
12140 (FP_RND_NEAREST): Likewise.
12141 (FP_RND_ZERO): Likewise.
12142 (FP_RND_PINF): Likewise.
12143 (FP_RND_MINF): Likewise.
12144 (FP_EX_INVALID): Likewise.
12145 (FP_EX_OVERFLOW): Likewise.
12146 (FP_EX_UNDERFLOW): Likewise.
12147 (FP_EX_DIVZERO): Likewise.
12148 (FP_EX_INEXACT): Likewise.
12149 (FP_INIT_ROUNDMODE): Likewise.
12150 * sysdeps/mips/nofpu/fesetenv.c: New file.
12151 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12152
f6dcefbe
JM
121532018-08-01 Joseph Myers <joseph@codesourcery.com>
12154
12155 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12156 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12157 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12158 conditional on [FE_UPWARD].
12159
fa67ba06
PE
121602018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12161
12162 regex: fix memory leak in Gnulib
12163 Problem and fix reported by Assaf Gordon in:
12164 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12165 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12166 range_ends members too, as they are defined in 'struct
12167 re_charset_t' even if not _LIBC. This affects only Gnulib.
12168
82c80ac2
L
121692018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12170
12171 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12172 ...
12173 (get_common_indices): This.
12174 (init_cpu_features): Updated.
12175
c0e7e2c1
JM
121762018-08-01 Joseph Myers <joseph@codesourcery.com>
12177
46f8cf57
JM
12178 * sysdeps/generic/math-tests-snan-payload.h: New file.
12179 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12180 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12181 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12182 * sysdeps/generic/math-tests.h: Include
12183 <math-tests-snan-payload.h>.
12184 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12185 * sysdeps/hppa/math-tests.h: Remove file.
12186 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12187 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12188 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12189 Likewise.
12190
c0e7e2c1
JM
12191 * sysdeps/generic/math-tests-snan-cast.h: New file.
12192 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12193 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12194 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12195 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12196
74939c83
CD
121972018-08-01 Carlos O'Donel <carlos@redhat.com>
12198
b029723b
CD
12199 * version.h (RELEASE): Set to "development".
12200 (VERSION): Set to "2.28.9000".
12201 * NEWS (2.29): New section.
12202
3c03baca
CD
12203 * version.h (RELEASE): Set to "stable".
12204 (VERSION): Set to "2.28".
12205 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12206 * NEWS: Add the list of bugs fixed in 2.28.
12207
74939c83
CD
12208 * po/ca.po: Update to latest version.
12209 * po/cs.po: Likewise
12210 * po/da.po: Likewise
12211 * po/el.po: Likewise
12212 * po/eo.po: Likewise
12213 * po/es.po: Likewise
12214 * po/fi.po: Likewise
12215 * po/fr.po: Likewise
12216 * po/gl.po: Likewise
12217 * po/hu.po: Likewise
12218 * po/ia.po: Likewise
12219 * po/id.po: Likewise
12220 * po/it.po: Likewise
12221 * po/ja.po: Likewise
12222 * po/ko.po: Likewise
12223 * po/lt.po: Likewise
12224 * po/nb.po: Likewise
12225 * po/nl.po: Likewise
12226 * po/pt_BR.po: Likewise
12227 * po/ru.po: Likewise
12228 * po/rw.po: Likewise
12229 * po/sk.po: Likewise
12230 * po/sl.po: Likewise
12231 * po/tr.po: Likewise
12232 * po/zh_CN.po: Likewise
12233 * po/zh_TW.po: Likewise
12234
d4b54bdf
ST
122352018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12236
12237 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12238 initialization...
12239 (init): ... before initializing libpthread.
12240
42fc12ef
ST
12241 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12242 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12243 (__mach_setup_tls): ... new function.
12244 (mach_setup_tls): New alias.
12245 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12246 __mach_setup_thread.
12247 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12248 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12249 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12250 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12251
6cca855e
CD
122522018-07-31 Carlos O'Donell <carlos@redhat.com>
12253
f650932b
CD
12254 * manual/install.texi: Update versions.
12255 * INSTALL: Regenerate.
12256
6cca855e
CD
12257 * manual/contrib.texi (Contributors): Update contributions.
12258
07fdea47
CD
122592018-07-31 Carlos O'Donell <carlos@redhat.com>
12260
12261 * po/be.po: Update translations.
12262
63d5fad4
AZ
122632018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12264
12265 * sysdeps/sh/libm-test-ulps: Update.
12266
1ff712a6
CD
122672018-07-30 Carlos O'Donell <carlos@redhat.com>
12268
12269 * po/bg.po: Update translations.
12270 * po/de.po: Likewise.
12271 * po/hr.po: Likewise.
12272 * po/pt_BR.po: Likewise.
12273 * po/sv.po: Likewise.
12274 * po/vi.po: Likewise.
12275
98864ed0
L
122762018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 [BZ #23467]
12279 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12280 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12281 (CFLAGS-tst-cet-property-1.o): New.
12282 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12283 ($(objpfx)tst-cet-property-2): Likewise.
12284 ($(objpfx)tst-cet-property-2.out): Likewise.
12285 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12286 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12287 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12288 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12289 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12290
c92a00d8
L
122912018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12292
12293 [BZ #23458]
12294 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12295
99bc6241
ST
122962018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12297
12298 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12299 __sbrk): Do not set attribute_hidden.
af86087f 12300 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
12301 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12302 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12303
bcb1c4af
CD
123042018-07-27 Carlos O'Donell <carlos@redhat.com>
12305
12306 * po/uk.po: Update translations.
12307 * po/cs.po: Likewise.
12308 * po/pl.po: Likewise.
12309
4591b7db
L
123102018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12313 parse beyond the note end.
12314
2c6da2f4
AZ
123152018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12316
12317 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12318 kernel does not support OFD locks.
12319 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12320
20365a31
ST
123212018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12322
12323 * sysdeps/mach/hurd/Versions (libc): Make __access and
12324 __access_noerrno external so they can override the ld symbols.
12325 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12326 __writev, __open64, __access_noerrno extern so they can be overrided.
12327 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12328 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12329
cb1a43db
CD
123302018-07-26 Carlos O'Donell <carlos@redhat.com>
12331
12332 * po/libc.pot: Regenerate.
12333
74759ae5
JM
123342018-07-26 Joseph Myers <joseph@codesourcery.com>
12335
12336 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12337
da80612d
L
123382018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12339
12340 [BZ #23459]
12341 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12342 function.
12343 (init_cpu_features): Call get_extended_indices for both Intel
12344 and AMD CPUs.
12345 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12346 Remove "for AMD" comment.
12347
65d87ade
L
123482018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12349
12350 [BZ # 23456]
12351 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12352 COMMON_CPUID_INDEX_80000001.
12353
c9dc4d51
SL
123542018-07-26 Stefan Liebler <stli@linux.ibm.com>
12355
12356 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12357 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12358
cfba5dbb
FW
123592018-07-26 Florian Weimer <fweimer@redhat.com>
12360
12361 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12362 aliases for symbols not in the implementation namespace.
12363
6b5c8607 123642018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
12365
12366 [BZ #23393]
12367 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12368 lowercase in LATIN script.
12369 * localedata/Makefile (test-input): Add en_US.UTF-8.
12370 * localedata/en_US.UTF-8.in: New file.
12371 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12372 and restore old tests.
12373 * posix/tst-regexloc.c (do_test): Add back range expression test.
12374
3fb455b3
L
123752018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12378
d6499b70
AZ
123792018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12380
12381 * nptl/threads.h: Move to ...
12382 * sysdeps/nptl/threads.h: ... here.
12383 * sysdeps/hurd/stdc-predef.h: New file.
12384
08ac6bed
L
123852018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12386
12387 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12388 tst-cet-setcontext-1 if CET is enabled.
12389 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12390 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12391
9faaf938
AZ
123922018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12393
12394 * include/threads.h: Move to ...
12395 * sysdeps/nptl/threads.h: ... here.
12396 * sysdeps/htl/threads.h: New file.
12397 * conform/Makefile (linknamespace-libs-ISO11): Use
12398 static-thread-library instead of linking libpthread.
12399 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12400
d6b8f847
FW
124012018-07-25 Florian Weimer <fweimer@redhat.com>
12402
12403 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12404 nanoseconds into seconds.
12405 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12406 (do_test): Likewise.
12407 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12408 (do_test): Likewise. Avoid nanosecond overflow and spurious
12409 timeouts due to system load.
12410 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12411 (child_wait): Increment it.
12412 (do_test): Wait as long as necessary until all expected threads
12413 have arrived.
12414
25123a1c
L
124152018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12416 H.J. Lu <hongjiu.lu@intel.com>
12417
12418 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12419 __ssp.
12420 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12421 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12422 (__push___start_context): New.
12423 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12424 <asm/prctl.h>.
12425 (__getcontext): Record the current shadow stack base. Save the
12426 caller's shadow stack pointer and base.
12427 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12428 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12429 (__push___start_context): New prototype.
12430 (__makecontext): Call __push___start_context to allocate a new
12431 shadow stack, push __start_context onto the new stack as well
12432 as the new shadow stack.
12433 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12434 <asm/prctl.h>.
12435 (__setcontext): Restore the target shadow stack.
12436 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12437 <asm/prctl.h>.
12438 (__swapcontext): Record the current shadow stack base. Save
12439 the caller's shadow stack pointer and base. Restore the target
12440 shadow stack.
12441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12442 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12443 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12444
375a4844
L
124452018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12448 tst-setcontext8 and tst-setcontext9.
12449 * stdlib/tst-setcontext6.c: New file.
12450 * stdlib/tst-setcontext7.c: Likewise.
12451 * stdlib/tst-setcontext8.c: Likewise.
12452 * stdlib/tst-setcontext9.c: Likewise.
12453
bd4f7903
L
124542018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * stdlib/Makefile ((tests): Add tst-setcontext5.
12457 * stdlib/tst-setcontext5.c: New file.
12458
7e28f203
L
124592018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12460
12461 * stdlib/Makefile (tests): Add tst-setcontext4.
12462 * stdlib/tst-setcontext4.c: New file.
12463
8516ad2d
L
124642018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12465
12466 * stdlib/Makefile (tests): Add tst-swapcontext1.
12467 * stdlib/tst-swapcontext1.c: New test.
12468
fddcd003
L
124692018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12470
12471 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12472 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12473 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12474 and tst-cet-legacy-4c.
12475 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12476 and tst-cet-legacy-mod-4.
12477 (CFLAGS-tst-cet-legacy-2.c): New.
12478 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12479 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12480 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12481 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12482 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12483 ($(objpfx)tst-cet-legacy-1): Likewise.
12484 ($(objpfx)tst-cet-legacy-2): Likewise.
12485 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12486 ($(objpfx)tst-cet-legacy-2a): Likewise.
12487 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12488 ($(objpfx)tst-cet-legacy-4): Likewise.
12489 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12490 ($(objpfx)tst-cet-legacy-4a): Likewise.
12491 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12492 (tst-cet-legacy-4a-ENV): Likewise.
12493 ($(objpfx)tst-cet-legacy-4b): Likewise.
12494 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12495 (tst-cet-legacy-4b-ENV): Likewise.
12496 ($(objpfx)tst-cet-legacy-4c): Likewise.
12497 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12498 (tst-cet-legacy-4c-ENV): Likewise.
12499 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12500 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12501 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12502 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12503 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12504 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12505 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12506 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12507 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12508 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12509 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12510
9aa3113a
L
125112018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12512
12513 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12514 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12515 with ssp_base.
12516 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12517 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12518 with ssp_base.
12519
9c79cec8
AS
125202018-07-25 Andreas Schwab <schwab@suse.de>
12521
12522 [BZ #23442]
12523 * locale/weightwc.h (findidx): Handle the case where usrc is a
12524 prefix of cp but one character too short.
12525
969c3355
AZ
125262018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12527
12528 * NEWS: Add ISO C threads addition.
12529
e0f9c462
FW
125302018-07-24 Florian Weimer <fweimer@redhat.com>
12531
12532 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12533 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12534 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12535 4.13.
12536
394df381
L
125372018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12540 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12541 <sys/prctl.h> and <asm/prctl.h>.
12542 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12543 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12544 and <asm/prctl.h>.
12545 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12546 ARCH_CET_LEGACY_BITMAP.
12547 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12548 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12549 * sysdeps/x86/libc-start.c: Include <startup.h>.
12550
46545530
FW
125512018-07-24 Florian Weimer <fweimer@redhat.com>
12552
12553 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12554 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12555
6b5c8607 125562018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 12557 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
12558 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12559
12560 [BZ #14092]
9d0a979e
RJ
12561 * manual/debug.texi: Update adjacent chapter name.
12562 * manual/probes.texi: Likewise.
12563 * manual/threads.texi (ISO C Threads): New section.
12564 (POSIX Threads): Convert to a section.
12565
125662018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12567 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12568
12569 [BZ# 14092]
0a07288b
AZ
12570 * nptl/Makefile (tests): Add new test files.
12571 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12572 * nptl/tst-cnd-basic.c: Likewise.
12573 * nptl/tst-cnd-broadcast.c: Likewise.
12574 * nptl/tst-cnd-timedwait.c: Likewise.
12575 * nptl/tst-mtx-basic.c: Likewise.
12576 * nptl/tst-mtx-recursive.c: Likewise.
12577 * nptl/tst-mtx-timedlock.c: Likewise.
12578 * nptl/tst-mtx-trylock.c: Likewise.
12579 * nptl/tst-thrd-basic.c: Likewise.
12580 * nptl/tst-thrd-detach.c: Likewise.
12581 * nptl/tst-thrd-sleep.c: Likewise.
12582 * nptl/tst-tss-basic.c: Likewise.
12583
ce7528f6
AZ
125842018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12585
c6dd669b
AZ
12586 [BZ #14092]
12587 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12588 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12589 symbols.
12590 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12603 Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12605 Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12607 Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12618 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12619 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12620 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12621 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12622 Likewise.
12623 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12635 ikewise.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12638 Likewise.
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12640 Likewise.
12641 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12649
78d40132
AZ
12650 [BZ #14092]
12651 * conform/data/threads.h-data (thread_local): New macro.
12652 (TSS_DTOR_ITERATIONS): Likewise.
12653 (tss_t): New type.
12654 (tss_dtor_t): Likewise.
12655 (tss_create): New function.
12656 (tss_get): Likewise.
12657 (tss_set): Likewise.
12658 (tss_delete): Likewise.
12659 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12660 tss_get, and tss_set objects.
12661 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12662 * nptl/tss_create.c: New file.
12663 * nptl/tss_delete.c: Likewise.
12664 * nptl/tss_get.c: Likewise.
12665 * nptl/tss_set.c: Likewise.
12666 * sysdeps/nptl/threads.h (thread_local): New define.
12667 (TSS_DTOR_ITERATIONS): Likewise.
12668 (tss_t): New typedef.
12669 (tss_dtor_t): Likewise.
12670 (tss_create): New prototype.
12671 (tss_get): Likewise.
12672 (tss_set): Likewise.
12673 (tss_delete): Likewise.
12674
918311a3
AZ
12675 [BZ #14092]
12676 * conform/data/threads.h-data (cnd_t): New type.
12677 (cnd_init): New function.
12678 (cnd_signal): Likewise.
12679 (cnd_broadcast): Likewise.
12680 (cnd_wait): Likewise.
12681 (cnd_timedwait): Likewise.
12682 (cnd_destroy): Likewise.
12683 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12684 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12685 object.
12686 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12687 * nptl/cnd_broadcast.c: New file.
12688 * nptl/cnd_destroy.c: Likewise.
12689 * nptl/cnd_init.c: Likewise.
12690 * nptl/cnd_signal.c: Likewise.
12691 * nptl/cnd_timedwait.c: Likewise.
12692 * nptl/cnd_wait.c: Likewise.
12693 * sysdeps/nptl/threads.h (cnd_t): New type.
12694 (cnd_init): New prototype.
12695 (cnd_signa): Likewise.
12696 (cnd_broadcast): Likewise.
12697 (cnd_wait): Likewise.
12698 (cnd_timedwait): Likewise.
12699 (cnd_destroy): Likewise.
12700
3c20a679
AZ
12701 [BZ #14092]
12702 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12703 (once_flag): New type.
12704 (call_once): New function.
12705 * nptl/Makefile (libpthread-routines): Add call_once object.
12706 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12707 * nptl/call_once.c: New file.
12708 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12709 (once_flag): New type.
12710 (call_once): New prototype.
12711
18d59c1b
AZ
12712 [BZ #14092]
12713 * conform/data/threads.h-data (mtx_plain): New constant.
12714 (mtx_recursive): Likewise.
12715 (mtx_timed): Likewise.
12716 (mtx_t): New type.
12717 (mtx_init): New function.
12718 (mtx_lock): Likewise.
12719 (mtx_timedlock): Likewise.
12720 (mtx_trylock): Likewise.
12721 (mtx_unlock): Likewise.
12722 (mtx_destroy): Likewise.
12723 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12724 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12725 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12726 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12727 * nptl/mtx_destroy.c: New file.
12728 * nptl/mtx_init.c: Likewise.
12729 * nptl/mtx_lock.c: Likewise.
12730 * nptl/mtx_timedlock.c: Likewise.
12731 * nptl/mtx_trylock.c: Likewise.
12732 * nptl/mtx_unlock.c: Likewise.
12733 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12734 (mtx_recursive): Likewise.
12735 (mtx_timed): Likewise.
12736 (mtx_t): New type.
12737 (mtx_init): New prototype.
12738 (mtx_lock): Likewise.
12739 (mtx_timedlock): Likewise.
12740 (mtx_trylock): Likewise.
12741 (mtx_unlock): Likewise.
12742 (mtx_destroy): Likewise.
12743
ce7528f6
AZ
12744 [BZ #14092]
12745 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12746 (linknamespace-libs-ISO11): Add libpthread.a.
12747 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12748 functions.
12749 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12750 * nptl/Makefile (headers): Add threads.h.
12751 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12752 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12753 thrd_yield.
12754 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12755 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12756 thrd_join, thrd_sleep, and thrd_yield symbols.
12757 * nptl/descr.h (struct pthread): Add c11 field.
12758 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12759 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12760 routine with expected function prototype.
12761 (__pthread_create_2_1): Add C11 threads check based on attribute
12762 value.
12763 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12764 * nptl/thrd_create.c: New file.
12765 * nptl/thrd_current.c: Likewise.
12766 * nptl/thrd_detach.c: Likewise.
12767 * nptl/thrd_equal.c: Likewise.
12768 * nptl/thrd_exit.c: Likewise.
12769 * nptl/thrd_join.c: Likewise.
12770 * nptl/thrd_priv.h: Likewise.
12771 * nptl/thrd_sleep.c: Likewise.
12772 * nptl/thrd_yield.c: Likewise.
12773 * include/threads.h: Likewise.
12774
e27f41ba
L
127752018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12776
12777 * bits/indirect-return.h: New file.
12778 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12779 * sysdeps/x86/bits/indirect-return.h: Likewise.
12780 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12781 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12782 (swapcontext): Add __INDIRECT_RETURN.
12783 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12784 (prepare_test_buffer): Use it.
12785
21526a50
AS
127862018-07-24 Andreas Schwab <schwab@suse.de>
12787
12788 [BZ #23448]
12789 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12790 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12791
3650e1d9
L
127922018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12793
12794 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12795 Redefine if shadow stack is enabled.
12796 (SYSCALL_ERROR_LABEL): Likewise.
12797 (__vfork): Pop shadow stack and jump back to to caller directly
12798 when shadow stack is in use.
12799 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12800 Redefine if shadow stack is enabled.
12801 (SYSCALL_ERROR_LABEL): Likewise.
12802 (__vfork): Pop shadow stack and jump back to to caller directly
12803 when shadow stack is in use.
12804
ca027e0f
L
128052018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12806
12807 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12808 enabled.
12809 (foo): Likewise.
12810 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12811 (foo): Likewise.
12812
b99f1c95
JM
128132018-07-20 Joseph Myers <joseph@codesourcery.com>
12814
12815 * scripts/build-many-glibcs.py (Context.checkout): Default
12816 binutils version to 2.31 branch.
12817
c8fabb84
ZL
128182018-07-20 Zong Li <zong@andestech.com>
12819
12820 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12821 URL of gcc's tarball.
12822
786658a0
FW
128232018-07-20 Florian Weimer <fweimer@redhat.com>
12824
12825 [BZ #23396]
12826 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12827 not compare an extra byte after the end of the weights.
12828
46f2474e
ST
128292018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12830
12831 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12832 to 1.
8ba1520e
ST
12833 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12834 hidden prototypes.
12835 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12836 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
12837 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12838 list of libraries whose stack executability is expected.
12839 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12840 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12841 variable.
12842 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12843 libc.so libpthread.so.
46f2474e 12844
60088242
TS
128452018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12846
12847 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12848 SOCK_NONBLOCK.
75d5e4a0
TS
12849 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12850 and SOCK_NONBLOCK.
de195be0
TS
12851 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12852 implement __pipe2.
12853 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 12854
1cf4ae7f
LS
128552018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12856
12857 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12858 library to improve command line parsing.
12859 (__main__): make schema file as optional parameter (--schema),
12860 defaulting to benchtests/scripts/benchout.schema.json.
12861 (main): move out of the parsing stuff to __main_  and leave it
12862 only as caller of main comparison functions.
12863
e84bd851
L
128642018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12865
12866 * NEWS: Add a note for Intel CET status.
12867 * manual/install.texi: Likewise.
12868 * INSTALL: Regenerated.
12869
df467d22
QP
128702018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12871
12872 [BZ #23140]
12873 * localedata/locales/oc_FR (mon): Rename to...
12874 (alt_mon): This, then update October (typo fix).
12875 (mon): New content (genitive case, month names preceded by
12876 "de" or "d’").
12877
12878 [BZ #23422]
12879 * localedata/locales/oc_FR (abday): Update all items.
12880 (day): Update Wednesday and Saturday (typo fixes).
12881 (abmon): Update all items, except May.
12882 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12883 (LC_IDENTIFICATION): Bump the revision number and date.
12884 Keep the "category" entries in alphabetic order.
12885 (LC_ADDRESS): Remove no longer needed comment.
12886 (LC_COLLATE): Use “copy "ca_ES"”.
12887 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12888 "name_mrs".
12889
5c112f1b
JM
128902018-07-18 Joseph Myers <joseph@codesourcery.com>
12891
12892 * grp/tst_fgetgrent.c: Include <unistd.h>.
12893 (main): Use mkstemp instead of tmpnam.
12894 * io/test-utime.c (main): Likewise.
12895 * posix/annexc.c (macrofile): Change to modifiable array.
12896 (main): Remove macrofile here.
12897 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12898 macrofile here.
12899 (check_header): Do not remove macrofile here.
12900 * posix/bug-getopt1.c: Include <stdlib.h>.
12901 (do_test): Use mkstemp instead of tmpnam.
12902 * posix/bug-getopt2.c: Include <stdlib.h>.
12903 (do_test): Use mkstemp instead of tmpnam.
12904 * posix/bug-getopt3.c: Include <stdlib.h>.
12905 (do_test): Use mkstemp instead of tmpnam.
12906 * posix/bug-getopt4.c: Include <stdlib.h>.
12907 (do_test): Use mkstemp instead of tmpnam.
12908 * posix/bug-getopt5.c: Include <stdlib.h>.
12909 (do_test): Use mkstemp instead of tmpnam.
12910 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12911 (main): Use mkstemp instead of tmpnam.
12912 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12913 (main): Use mkstemp instead of tmpnam.
12914 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12915 (main): use mkstemp instead of tmpnam.
12916 * stdlib/isomac.c (macrofile): Change to modifiable array.
12917 (main): Remove macrofile here.
12918 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12919 macrofile here.
12920 (check_header): Do not remove macrofile here.
12921
6d90776d
L
129222018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12925 glibc.tune.x86_shstk.
12926
e6c69509
L
129272018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12928
12929 * NEWS: Mention --enable-cet.
12930 * manual/install.texi: Document --enable-cet.
12931 * INSTALL: Regenerated.
12932
e2d40a88
L
129332018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12936 Add _CET_NOTRACK before indirect jump to jump table.
12937
77a8ae09
L
129382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12939
12940 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12941 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12942 to jump table.
12943
90d15dc5
L
129442018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12945
12946 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12947 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12948 to jump table.
12949
f1574581
L
129502018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12951
12952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12953 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12954 to jump table.
12955
7fb61336
L
129562018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12959 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12960 to jump table.
12961
0a899af0
L
129622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12965 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12966 to jump table.
12967 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12968
177824e2
L
129692018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12970
12971 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12972 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12973 to jump table.
12974
00e7b76a
L
129752018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12976
12977 * sysdeps/i386/i686/multiarch/memset-sse2.S
12978 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12979 to jump table.
12980
7e119cd5
L
129812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12984 indirect jump to jump table.
12985
03aaf49b
L
129862018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12987
12988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12989 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12990 to jump table.
12991 (MEMCPY): Likewise.
12992
811e9e52
L
129932018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12994
12995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12996 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12997 to jump table.
12998 (MEMCPY): Likewise.
12999
8817df42
L
130002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13001
13002 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13003 _CET_NOTRACK before indirect jump to jump table.
13004
921595d1
L
130052018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13006
13007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13008 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13009 to jump table.
13010
4ef60d95
L
130112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13014 indirect jump to jump table.
13015
61c4aad7
VT
130162018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13017
13018 [BZ #22241]
13019 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13020 (LOCALES): Likewise.
13021 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13022 * localedata/locales/sah_RU: New file.
13023 * localedata/sah_RU.UTF-8.in: New file.
13024
be9ccd27
L
130252018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13028 "sysdep.h".
13029 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13030 _CET_ENDBR to indirect jump targets and adjust jump destination
13031 for _CET_ENDBR.
13032 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13033 "sysdep.h".
13034 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13035 _CET_ENDBR to indirect jump targets and adjust jump destination
13036 for _CET_ENDBR.
13037 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13038 "sysdep.h".
13039 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13040 _CET_ENDBR to indirect jump targets and adjust jump destination
13041 for _CET_ENDBR.
13042
5efc6777
L
130432018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13044
13045 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13046 _CET_ENDBR.
13047
562837c0
L
130482018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13051 _CET_ENDBR.
13052 (_dl_tlsdesc_undefweak): Likewise.
13053 (_dl_tlsdesc_dynamic): Likewise.
13054 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13055 (_dl_tlsdesc_resolve_rel): Likewise.
13056 (_dl_tlsdesc_resolve_rela): Likewise.
13057 (_dl_tlsdesc_resolve_hold): Likewise.
13058 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13059 (_dl_tlsdesc_undefweak): Likewise.
13060 (_dl_tlsdesc_dynamic): Likewise.
13061 (_dl_tlsdesc_resolve_rela): Likewise.
13062 (_dl_tlsdesc_resolve_hold): Likewise.
13063
124bcde6
L
130642018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13067 (_fini): Likewise.
13068 * sysdeps/x86_64/crti.S (_init): Likewise.
13069 (_fini): Likewise.
13070
9145f033
RL
130712018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13072
13073 [BZ #23140]
13074 * localedata/locales/os_RU (mon): Rename to...
13075 (alt_mon): This.
13076 (mon): Import from CLDR (genitive case).
13077
ba2ea23d
L
130782018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13079
13080 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13081 cet-tunables.h> when CET is enabled.
13082
f753fa7d
L
130832018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13084
6b5c8607 13085 [BZ #21598]
f753fa7d
L
13086 * configure.ac: Add --enable-cet.
13087 * configure: Regenerated.
13088 * elf/Makefille (all-built-dso): Add a comment.
13089 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13090 Include <dl-prop.h>.
13091 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13092 segment.
13093 * elf/dl-open.c: Include <dl-prop.h>.
13094 (dl_open_worker): Call _dl_open_check.
13095 * elf/rtld.c: Include <dl-prop.h>.
13096 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13097 _rtld_main_check.
13098 * sysdeps/generic/dl-prop.h: New file.
13099 * sysdeps/i386/dl-cet.c: Likewise.
13100 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13101 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13102 * sysdeps/x86/cet-tunables.h: Likewise.
13103 * sysdeps/x86/check-cet.awk: Likewise.
13104 * sysdeps/x86/configure: Likewise.
13105 * sysdeps/x86/configure.ac: Likewise.
13106 * sysdeps/x86/dl-cet.c: Likewise.
13107 * sysdeps/x86/dl-procruntime.c: Likewise.
13108 * sysdeps/x86/dl-prop.h: Likewise.
13109 * sysdeps/x86/libc-start.h: Likewise.
13110 * sysdeps/x86/link_map.h: Likewise.
13111 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13112 _CET_ENDBR.
13113 (_dl_runtime_profile): Likewise.
13114 (_dl_runtime_resolve_shstk): New.
13115 (_dl_runtime_profile_shstk): Likewise.
13116 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13117 if CET is enabled.
13118 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13119 (CFLAGS-.os): Likewise.
13120 (CFLAGS-.op): Likewise.
13121 (CFLAGS-.oS): Likewise.
13122 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13123 is enabled.
13124 (tests-special): Add $(objpfx)check-cet.out.
13125 (cet-built-dso): New.
13126 (+$(cet-built-dso:=.note)): Likewise.
13127 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13128 ($(objpfx)check-cet.out): New.
13129 (generated): Add check-cet.out.
13130 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13131 <cet-tunables.h>.
13132 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13133 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13134 (init_cpu_features): Call get_cet_status to check CET status
13135 and update dl_x86_feature_1 with CET status. Call
13136 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13137 (set_x86_shstk). Disable and lock CET in libc.a.
13138 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13139 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13140 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13141 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13142 (_CET_ENDBR): Define if not defined.
13143 (ENTRY): Add _CET_ENDBR.
13144 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13145 x86_shstk.
13146 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13147 _CET_ENDBR.
13148 (_dl_runtime_profile): Likewise.
13149
52b2a80f
RA
131502018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13151
13152 [BZ #21895]
13153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13154 restore r2 on longjmp.
13155 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13156 test list.
13157 Added rules to build test tst-setjmp-bug21895-static.
13158 Added module setjmp-bug21895 and rules to build a shared object from it.
13159 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13160 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13161
3ae725df
WD
131622018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13163
13164 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13165 * benchtests/bench-strstr.c: Likewise.
13166 * string/memmem.c (FASTSEARCH): Define.
13167 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13168 Add support for FASTSEARCH.
13169 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13170 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13171 (FASTSEARCH): Define.
13172 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13173 * string/test-strstr.c: Likewise.
13174
31e422ca
L
131752018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13176
13177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13178 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13179
faaee1f0
L
131802018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13181 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13184 (__longjmp): Restore shadow stack pointer if shadow stack is
13185 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13186 isn't defined for __longjmp_cancel.
13187 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13188 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13189 and SHADOW_STACK_POINTER_OFFSET is defined.
13190 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13191 (setjmp): Save shadow stack pointer if shadow stack is enabled
13192 and SHADOW_STACK_POINTER_OFFSET is defined.
13193 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13194 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13195 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13196 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13197 <jmp_buf-ssp.h>.
13198 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13199 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13200 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13201 Remove jmp_buf-ssp.sym.
13202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13203 <jmp_buf-ssp.h>.
13204 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13205 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13206 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13207 jmp_buf-ssp.sym.
13208 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13209 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13210 (__longjmp): Restore shadow stack pointer if shadow stack is
13211 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13212 isn't defined for __longjmp_cancel.
13213 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13214 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13215 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13216
ebff9c5c
L
132172018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13218
13219 [BZ #22563]
13220 * nptl/pthread_create.c: Include <tls-setup.h>.
13221 (__pthread_create_2_1): Call tls_setup_tcbhead.
13222 * sysdeps/generic/tls-setup.h: New file.
13223 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13224 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13225 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13226 Likewise.
13227 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13228 to feature_1.
13229 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13230 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13231 (X86_FEATURE_1_SHSTK): Likewise.
13232 (CET_ENABLED): Likewise.
13233 (IBT_ENABLED): Likewise.
13234 (SHSTK_ENABLED): Likewise.
13235
0a83bad2
RL
132362018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13237
13238 [BZ #23208]
13239 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13240 (LOCALES): Likewise.
13241 * localedata/dsb_DE.UTF-8.in: New file.
13242 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13243
046bfed9
FW
132442018-07-12 Florian Weimer <fweimer@redhat.com>
13245
13246 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13247 __mprotect, not mprotect.
13248
93304f5f
FW
132492018-07-11 Florian Weimer <fweimer@redhat.com>
13250
13251 * io/Makefile (headers): Add bits/statx.h.
13252
4beefeeb
MF
132532018-07-10 Mike FABIAN <mfabian@redhat.com>
13254
13255 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13256 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13257 and headers.
13258 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13259 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13260 for utf8_gen.py
13261
fd70af45
FW
132622018-07-10 Florian Weimer <fweimer@redhat.com>
13263
13264 * io/Makefile (routines): Add statx.
13265 (tests-internal): Add tst-statx.
13266 * io/Versions (GLIBC_2.28): Export statx.
13267 * io/bits/statx.h: New file.
13268 * io/sys/stat.h [__USE_GNU]: Include it.
13269 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13270 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13271 Define.
13272 * io/statx.c: New file.
13273 * io/statx_generic.: Likewise.
13274 * io/tst-statx.: Likewise.
13275 * include/bits/statx.h: Likewise.
13276 * sysdeps/unix/sysv/linux/kernel-features.h
13277 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13278 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13279 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13280 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13281 Undefine.
13282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13283 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13284 * sysdeps/unix/sysv/linux/statx.c: New file.
13285 * manual/filesys.texi: Note that statx is undocumented.
13286 * sysdeps/**/libc*.abilist: Update.
13287
b444e8f7
AZ
132882018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13289
13290 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13291 a kernel issue which lead to test failure in some cases.
13292
7b2f4ced
FW
132932018-07-10 Florian Weimer <fweimer@redhat.com>
13294
13295 [BZ #23036]
13296 * posix/regexec.c (check_node_accept_bytes): When comparing
13297 weights, do not compare an extra byte after the end of the
13298 weights.
13299
4fa34da6
FW
133002018-07-10 Florian Weimer <fweimer@redhat.com>
13301
13302 * libio/readline.c: Fix copyright year.
13303 * libio/tst-readline.c Likewise.
13304 * nss/tst-nss-files-hosts-getent.c: Likewise.
13305
916124ed
FW
133062018-07-06 Florian Weimer <fweimer@redhat.com>
13307
13308 [BZ #18991]
13309 * nss/nss_files/files-XXX.c (internal_getent): Use
13310 __libc_readline_unlocked. Seek back to the start of the line if
13311 parsing failes with ERANGE.
13312 (get_contents_ret, get_contents): Remove.
13313 * nss/tst-nss-files-hosts-getent.c: New file.
13314 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13315 (tst-nss-files-hosts-getent): Link with -ldl.
13316
3f5e3f5d
FW
133172018-07-06 Florian Weimer <fweimer@redhat.com>
13318
13319 * include/stdio.h (__libc_readline_unlocked): Declare.
13320 (__ftello64, __fseeko64): Declare aliases.
13321 * libio/readline.c: New file.
13322 * libio/tst-readline.c: Likewise.
13323 (routines): Add readline.
13324 (tests-internal): Add tst-readlime.
13325 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13326 __libc_readline_unlocked.
13327 * libio/fseeko.c (__fseeko): Rename from fseeko.
13328 (fseeko): Add alias.
13329 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13330 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13331 (fseeko64): Add alias.
13332 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13333 * libio/ftello64.c (__ftello64): Rename from ftello64.
13334 (ftello64): Add alias.
13335
397c54c1
SN
133362018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13337
13338 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13339 HWCAP_ATOMICS.
13340
d0cd7980
SN
133412018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13342
13343 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13344 Use dl_hwcap without masking.
13345 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13346 Remove HWCAP_CPUID.
13347
ddb3c626
FW
133482018-07-06 Florian Weimer <fweimer@redhat.com>
13349
13350 * conform/conformtest.pl (checknamespace): Escape literal braces
13351 in regular expressions.
13352
bce5911b
AP
133532018-07-06 Amit Pawar <amit.pawar@amd.com>
13354
13355 * sysdeps/x86/cpu-features.c (get_common_indeces):
13356 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13357 * sysdeps/x86/cpu-features.c (init_cpu_features):
13358 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13359
3a885c1f
FW
133602018-07-05 Florian Weimer <fweimer@redhat.com>
13361
13362 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13363 protector.
13364 (CFLAGS-elf-init.oS): Likewise.
13365
38cade0c
FW
133662018-07-05 Florian Weimer <fweimer@redhat.com>
13367 Carlos O'Donell <carlos@redhat.com>
13368
13369 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13370 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13371 with stack protector enabled because there is no risk of infinite
13372 recursion.
13373
9449a295
MR
133742018-07-05 Maciej W. Rozycki <macro@mips.com>
13375
13376 [BZ #19818]
13377 [BZ #23307]
13378 * libc-abis (ABSOLUTE): New ABI.
13379 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13380 * NEWS: Mention the new ABI.
13381
d6da5cb6
FW
133822018-07-05 Florian Weimer <fweimer@redhat.com>
13383
13384 [BZ # 17662]
13385 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13386 (RENAME_WHITEOUT): Define.
13387 [__USE_GNU] (renameat2): Declare.
13388 * stdio-common/Makefile (routines): Add renameat2.
13389 (tests): Add tst-renameat2.
13390 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13391 * stdio-common/renameat2.c: New file.
13392 * stdio-common/tst-renameat2.c: Likewise.
13393 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13394 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13395 undocumented.
13396 * sysdeps/unix/sysv/linux/kernel-features.h
13397 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13399 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13401 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13402 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13403 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13404 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13405 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13406 * include/stdio.h (__renameat): Add alias for renameat.
13407 * stdio-common/renameat.c (__renameat): Rename from renameat.
13408 Add hidden definition and alias.
13409 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13410 * sysdeps/mach/hurd/renameat.c: Likewise.
13411 * sysdeps/**/libc*.abilist: Add renameat2.
13412
1002d708
AZ
134132018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13414
13415 * posix/bug-regex33.c: Fix build after regex sync.
13416
34fdb893
CD
134172018-07-04 Carlos O'Donell <carlos@redhat.com>
13418
13419 [BZ #23164]
13420 * localedata/tst-langinfo-setlocale.c: New file.
13421 * localedata/tst-langinfo-setlocale-static.c: New file.
13422 * localedata/tst-langinfo-newlocale.c: New file.
13423 * localedata/tst-langinfo-newlocale-static.c: New file.
13424 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13425 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13426 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13427 (tests-static): Remove tst-langinfo-static. Add
13428 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13429 (tests-special): Remove $(objpfx)tst-langinfo.out,
13430 $(objpfx)tst-langinfo-static.out. Add
13431 $(objpfx)tst-langinfo-setlocale.out,
13432 $(objpfx)tst-langinfo-newlocale.out,
13433 $(objpfx)tst-langinfo-setlocale-static.out,
13434 $(objpfx)tst-langinfo-newlocale-static.out.
13435 ($(objpfx)tst-langinfo.out): Remove.
13436 ($(objpfx)tst-langinfo-static.out): Remove.
13437 ($(objpfx)tst-langinfo-newlocale.out): New target.
13438 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13439 (test-xfail-tst-langinfo-newlocale-static): Add.
13440 ($(objpfx)tst-langinfo-setlocale.out): New target.
13441 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13442 * localedata/tst-langinfo.c: Call test_locale.
13443 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13444 data.
13445
f2873d2d
FW
134462018-07-04 Florian Weimer <fweimer@redhat.com>
13447
13448 testrun.sh: Implement --tool=strace, --tool=valgrind
13449 * Makefile (testrun-script): Define variable.
13450 (testrun.sh): Use variable.
13451 * manual/install.texi (Tools for Compilation): make 4.0 or later
13452 is required.
13453 * configure.ac: Check for make 4.0 or later.
13454 * INSTALL: Regenerate.
13455 * configure: Likewise.
13456
eb04c213
AZ
134572018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13458
13459 [BZ #23233]
13460 [BZ #21163]
13461 [BZ #18986]
13462 [BZ #13762]
13463 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13464 * posix/PCRE.tests: Remove invalid test.
13465 * posix/bug-regex28.c: Fix expected values for used syntax.
13466 * posix/bug-regex37.c: New file.
13467 * posix/bug-regex38.c: Likewise.
13468 * posix/regcomp.c: Sync with gnulib.
13469 * posix/regex.c: Likewise.
13470 * posix/regex.h: Likewise.
13471 * posix/regex_internal.c: Likewise.
13472 * posix/regex_internal.h: Likewise.
13473 * posix/regexec.c: Likewise.
13474
b11643c2
MF
134752018-06-26 Mike FABIAN <mfabian@redhat.com>
13476
13477 [BZ #23308]
13478 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13479 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13480 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13481 * localedata/unicode-gen/PropList.txt: likewise.
13482 * localedata/unicode-gen/UnicodeData.txt: likewise.
13483 * localedata/charmaps/UTF-8: Regenerate.
13484 * localedata/locales/i18n_ctype: likewise.
13485 * localedata/locales/tr_TR: likewise.
13486 * localedata/locales/translit_circle: likewise.
13487 * localedata/locales/translit_cjk_compat: likewise.
13488 * localedata/locales/translit_combining: likewise.
13489 * localedata/locales/translit_compat: likewise.
13490 * localedata/locales/translit_font: likewise.
13491 * localedata/locales/translit_fraction: likewise.
13492
5a357506
FW
134932018-07-03 Florian Weimer <fweimer@redhat.com>
13494
13495 [BZ #23363]
13496 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13497 * stdio-common/tst-printf.sh: Adjust expected output.
13498 * LICENSES: Update.
13499
7279af00
AZ
135002018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13501
13502 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13503 symbol.
13504
b7b88cea
GG
135052018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13506
13507 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13508 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13509 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13510 * stdio-common/tst-printfsz-islongdouble.c: New file.
13511 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13513 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13514 [subdir == stdio-common] (tests-internal): Add
13515 test-printf-size-ieee128, and test-printf-size-ibm128.
13516 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13517 (CFLAGS-test-printf-size-ibm128.c): New variables.
13518 [subdir == stdio-common] (tests-special): Add
13519 $(objpfx)test-printf-size-ieee128.out and
13520 $(objpfx)test-printf-size-ibm128.out.
13521 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13522 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13523 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13524 __printf_sizeieee128.
13525 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13526 New file.
13527 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13528 Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13530 Likewise.
13531
2b445206
SN
135322018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13533
13534 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13535 (exp2f_inline): Likewise.
13536 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13537 (__math_uflowf): Likewise.
13538 (__math_may_uflowf): Likewise.
13539 (__math_divzerof): Likewise.
13540 (__math_invalidf): Likewise.
13541 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13542 (__math_oflowf): Likewise.
13543 (__math_uflowf): Likewise.
13544 (__math_may_uflowf): Likewise.
13545 (__math_divzerof): Likewise.
13546 (__math_invalidf): Likewise.
13547
2827ab99
CD
135482018-06-29 DJ Delorie <dj@redhat.com>
13549 Carlos O'Donell <carlos@redhat.com>
13550
13551 [BZ #23329]
13552 * include/libc-symbols.h: Comment the freeres framework.
13553 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13554 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13555 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13556 * dlfcn/dlerror.c: Include libc-symbols.h
13557 (__dlerror_main_freeres): New function.
13558 * dlfcn/dlfreeres.c: New file.
13559 * dlfcn/sdlfreeres.c: New file.
13560 * include/dlfcn.h: Declare __dlerror_main_freeres.
13561 * malloc/set-freeres.c: Declare __libdl_freeres, and
13562 __libpthread_freeres.
13563 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13564 the releavant libraries are loaded.
13565 * malloc/thread-freeres.c: Add comments.
13566 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13567 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13568 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13569 (__free_stacks): Rename to...
13570 (free_stacks): ...this. Mark static.
13571 (queue_stack): Call free_stacks.
13572 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13573 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13574 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13575 ptr_freeres element from struct.
13576 (pthread_functions): Remove .ptr_freeres from struct initializer.
13577 [SHARED] (nptl_freeres): Remove.
13578 * nptl/nptlfreeres.c: New file.
13579 * nptl/pthreadP.h
13580 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13581 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13582 attribute_hidden.
13583 (__free_stacks): Rename to...
13584 (__nptl_stacks_freeres): ...this.
13585 (__shm_directory_freeres): Declare.
13586 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13587 (__nptl_unwind_freeres): ...this.
13588 * resolv/res-close.c: Add comment.
13589 * resolv/resolv_conf.c: Include libc-symbols.h.
13590 * string/strerror_l.c: Include libc-symbols.h.
13591 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13592 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13593 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13594 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13595
37d3d244
RS
135962018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13597
13598 * stdlib/tst-strfmon_l.c: Add tests for long double.
13599
a1e0c5fa
MW
136002018-06-29 Michael Wolf <milupo@sorbzilla.de>
13601
13602 [BZ #23208]
13603 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13604 * localedata/locales/dsb_DE: New file.
13605
2e0c5de6
RL
136062018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13607
13608 [BZ #23140]
13609 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13610 genitive case).
13611 (alt_mon): New entry, import from CLDR (nominative case).
13612
cdb52c71
SL
136132018-06-29 Sylvain Lesage <severo@rednegra.net>
13614
13615 [BZ #22996]
13616 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13617
ce76a5cb
SP
136182018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13619
0aec4c1d
SP
13620 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13621 Use vector registers.
13622
ce76a5cb
SP
13623 * sysdeps/aarch64/multiarch/memmove_falkor.S
13624 (__memcpy_falkor): Use vector registers.
13625
7e8989d0
MS
136262018-06-29 Martin Sebor <msebor@redhat.com>
13627
13628 * manual/stdio.texi (Customizing Printf): Mention interaction
13629 with GCC built-ins.
13630
bac15a72
MR
136312018-06-29 Maciej W. Rozycki <macro@mips.com>
13632
13633 [BZ #23307]
13634 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13635 `st_value' is 0 if `st_shndx' is SHN_ABS.
13636 * elf/tst-absolute-zero.c: New file.
13637 * elf/tst-absolute-zero-lib.c: New file.
13638 * elf/tst-absolute-zero-lib.lds: New file.
13639 * elf/Makefile (tests): Add `tst-absolute-zero'.
13640 (modules-names): Add `tst-absolute-zero-lib'.
13641 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13642 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13643 ($(objpfx)tst-absolute-zero: New dependency.
13644
e69d994a
ZW
136452018-06-29 Zack Weinberg <zackw@panix.com>
13646
13647 * configure.ac: New command-line option --disable-crypt.
13648 Force --disable-nss-crypt when --disable-crypt is given, with a
13649 warning if it was explicitly enabled.
13650 * configure: Regenerate.
13651 * config.make.in: New boolean substitution variable $(build-crypt).
13652 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13653 when $(build-crypt).
13654 * manual/install.texi: Document --disable-crypt.
13655 * INSTALL: Regenerate.
13656
13657 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13658 which is never set.
13659 * conform/Makefile: Only include libcrypt.a in
13660 linknamespace-libs-xsi and linknamespace-libs-XPG4
13661 when $(build-crypt).
13662 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13663 USE_CRYPT to 1 when $(build-crypt).
13664 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13665 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13666 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13667
841785ba
ZW
136682018-06-29 Zack Weinberg <zackw@panix.com>
13669
13670 * crypt/crypt.h, posix/unistd.h: Update comments and
13671 prototypes for crypt and crypt_r.
13672
13673 * manual/crypt.texi (Cryptographic Functions): New initial
13674 exposition.
13675 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13676 (Unpredictable Bytes): Improve initial exposition. Clarify error
13677 behavior of getentropy and getrandom.
13678 * manual/examples/genpass.c: Generate a salt using getentropy
13679 instead of the current time. Use hash $5$ (SHA-2-256).
13680 * manual/examples/testpass.c: Demonstrate validation against
13681 hashes generated with three different one-way functions.
13682
13683 * manual/intro.texi: crypt.texi does not need an overview
13684 anymore.
13685
13686 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13687 * manual/terminal.texi: Consistently refer to "passphrases"
13688 * instead of "passwords", and to the "user database" instead
13689 * of the "password database".
13690 * manual/users.texi: Similarly. Add notes about how actual
13691 passphrase hashes are now stored in the shadow database.
13692 Remove 20-year-old junk todo note.
13693
6ab902e4
ZW
136942018-06-29 Zack Weinberg <zackw@panix.com>
13695
13696 * manual/crypt.texi: Use a normal top-level @node declaration.
13697 Move most of the introductory text to the 'crypt' section.
13698 Move the example programs below the @deftypefun for 'crypt_r'.
13699 Move the 'getpass' section...
13700 * manual/terminal.texi: ...here.
13701
b10a0acc
ZW
137022018-06-29 Zack Weinberg <zackw@panix.com>
13703 Florian Weimer <fweimer@redhat.com>
13704
13705 * posix/unistd.h: Do not declare encrypt.
13706 (_XOPEN_CRYPT): Remove macro definition.
13707 (crypt): Declare only for _USE_MISC.
13708 * stdlib/stdlib.h: Do not declare setkey.
13709 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13710 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13711
13712 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13713 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13714 into compat symbols. Don't define initial_perm if it's not
13715 going to be used.
13716 * crypt/cert.c: Link explicitly with the expected versions for
13717 setkey and encrypt. If they are not available at all, mark
13718 the test as unsupported.
13719
13720 * sunrpc/des_crypt.c: Unconditionally block linkage with
13721 cbc_crypt and ecb_crypt for new binaries.
13722 * sunrpc/des_soft.c: Unconditionally block linkage with
13723 des_setparity for new binaries.
13724
13725 * manual/crypt.texi: Remove the entire "DES Encryption"
13726 section. Also remove the paragraph talking about FIPS 140-2
13727 from the introduction.
13728 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13729 of libgcrypt for "real" encryption, not DES.
13730 * manual/conf.texi (Constants for Sysconf): Mention that
13731 _XOPEN_CRYPT is no longer impelemented.
13732
13733 * conform/data/unistd.h-data: Remove crypt function declaration.
13734
524d796d
FW
137352018-06-29 Florian Weimer <fweimer@redhat.com>
13736
13737 [BZ #23351]
13738 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13739 (disallow_malloc_check): Remove variable.
13740 (__malloc_check_init): Adjust.
13741 (malloc_set_state): Update comment.
13742 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13743 declarations.
13744
339124ab
RL
137452018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13746
13747 [BZ #23140]
13748 * localedata/locales/ast_ES (mon): Rename to...
13749 (alt_mon): This.
13750 (mon): Import from CLDR (genitive case).
13751
c1f86a33
DA
137522018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13753 Jakub Sitnicki <jkbs@redhat.com>
13754
13755 [BZ #21812]
13756 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13757 on NLM_F_DUMP_INTR.
13758
0b11b649
SN
137592018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13760
13761 * manual/llio.texi: Remove spurious space.
13762
c1c2848b
FW
137632018-06-28 Florian Weimer <fweimer@redhat.com>
13764
13765 [BZ #23349]
13766 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13767 _STRUCT_TIMESPEC.
13768
86a0f561
RS
137692018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13770
13771 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 13772 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
13773 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13774 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13775 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13776 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13777 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13778
780684eb
MR
137792018-06-27 Maciej W. Rozycki <macro@mips.com>
13780
13781 [BZ #23266]
13782 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13783 Copy and null-terminate entries that are not terminated, in
13784 addition to empty ones.
13785
c49e1822
FW
137862018-06-27 Florian Weimer <fweimer@redhat.com>
13787
13788 [BZ #18023]
b39d961c
TS
13789 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13790 (extend_alloca_account): Remove.
c49e1822
FW
13791 * manual/stdio.texi (Variable Arguments Output): Update comment.
13792
a833e627
JM
137932018-06-27 Joseph Myers <joseph@codesourcery.com>
13794
13795 * nptl/sockperf.c: Remove file.
13796
92d6aa85
FW
137972018-06-27 Florian Weimer <fweimer@redhat.com>
13798
13799 [BZ #18023]
13800 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13801 scratch_buffer instead of extend_alloca.
13802
890c2ced
FW
138032018-06-27 Florian Weimer <fweimer@redhat.com>
13804
13805 [BZ #18023]
13806 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13807 scratch_buffer instead of extend_alloca. Update comments.
13808
4272059d
FW
138092018-06-27 Florian Weimer <fweimer@redhat.com>
13810
13811 [BZ #18023]
13812 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13813 instead of extend_alloca.
13814
27f10a09
JM
138152018-06-26 Joseph Myers <joseph@codesourcery.com>
13816
13817 [BZ #13888]
13818 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13819 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13820 /tmp.
13821 * scripts/test-installation.pl: Put temporary files in build
13822 directory, not /tmp.
13823 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13824 (CFLAGS-bug4.c): Likewise.
13825 (CFLAGS-bug5.c): Likewise.
13826 (CFLAGS-test-fseek.c): Likewise.
13827 (CFLAGS-test-popen.c): Likewise.
13828 (CFLAGS-test_rdwr.c): Likewise.
13829 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13830 /tmp.
13831 * stdio-common/bug4.c (main): Likewise.
13832 * stdio-common/bug5.c (main): Likewise.
13833 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13834 * stdio-common/test-popen.c (do_test): Likewise.
13835 * stdio-common/test_rdwr.c (main): Likewise.
13836
05598a09
PF
138372018-06-26 Patsy Franklin <pfrankli@redhat.com>
13838
13839 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13840 (sem_open): Set sem.newsem.pad to zero for valgrind.
13841
06ab719d
AZ
138422018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13843
13844 [BZ #20251]
13845 * NEWS: Mention fcntl64 addition.
13846 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13847 * login/utmp_file.c: Likewise.
13848 * sysdeps/posix/fdopendir.c: Likewise.
13849 * sysdeps/posix/opendir.c: Likewise.
13850 * sysdeps/unix/pt-fcntl.c: Likewise.
13851 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13852 __fcntl64_nocancel_adjusted): New prototype.
13853 (__fcntl_nocancel_adjusted): Remove prototype.
13854 * io/Makefile (routines): Add fcntl64.
13855 (CFLAGS-fcntl64.c): New rule.
13856 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13857 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13858 * io/fcntl.h (fcntl64): Add prototype and redirect if
13859 __USE_FILE_OFFSET64 is defined.
13860 * io/fcntl64.c: New file.
13861 * manual/llio.text: Add a note for which commands fcntl acts a
13862 cancellation point.
13863 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13864 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13865 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13866 New symbols.
13867 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13868 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13869 non-LFS case.
13870 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13871 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13872 to __fcntl64_nocancel.
13873 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13874 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13875 to __fcntl64_nocancel.
13876 * sysdeps/generic/not-cancel.h: Likewise.
13877 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13878 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13879 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13880 (fcntl64): New symbol.
13881 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13892 fcntl64): Likewise.
13893 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13895 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13903 Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13905 Likewise.
13906 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13909
124e0258
FW
139102018-06-26 Florian Weimer <fweimer@redhat.com>
13911
13912 Run thread shutdown functions in an explicit order.
13913 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13914 definition.
13915 (__libc_thread_freeres): Call thread shutdown functions
13916 explicitly.
13917 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13918 * include/string.h (__strerror_thread_freeres): Declare.
13919 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13920 arena_thread_freeres. No longer static. Remove thread shutdown
13921 hook registration.
13922 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13923 Declare.
13924 * resolv/res-close.c (__res_thread_freeres): Renamed from
13925 res_thread_freeres. No longer static. Remove thread shutdown
13926 hook registration.
13927 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13928 * resolv/resolv_conf.c (freeres): Remove incorrect section
13929 attribute and use libc_freeres_fn.
13930 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13931 strerror_thread_freeres. No longer static. Remove thread
13932 shutdown hook registration.
13933 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13934 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13935 shutdown hook registration.
13936 * Makerules (shlib.lds): Do not provide section boundary symbols
13937 for __libc_thread_subfreeres.
13938 * manual/memory.texi (Basic Allocation): Update comment.
13939
935d920e
FW
139402018-06-26 Florian Weimer <fweimer@redhat.com>
13941
13942 Remove always-defined _RPC_THREAD_SAFE_ macro.
13943 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13944 Do not define _RPC_THREAD_SAFE_.
13945 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13946 conditional.
13947 * sunrpc/clnt_perr.c: Likewise.
13948 * sunrpc/clnt_raw.c: Likewise.
13949 * sunrpc/clnt_simp.c: Likewise.
13950 * sunrpc/key_call.c: Likewise.
13951 * sunrpc/rpc_common.c: Likewise.
13952 * sunrpc/rpc_main.c: Likewise.
13953 * sunrpc/rpc_thread.c: Likewise.
13954 * sunrpc/svc.c: Likewise.
13955 * sunrpc/svc_raw.c: Likewise.
13956 * sunrpc/svc_simple.c: Likewise.
13957 * sumrpc/svcauth_des.c: Likewise.
13958
29055464
FW
139592018-06-26 Florian Weimer <fweimer@redhat.com>
13960
13961 * libio/Makefile (tests-internal): Add tst-vtables,
13962 tst-vtables-interposed.
13963 * libio/tst-vtables.c: New file.
13964 * libio/tst-vtables-common.c: Likewise.
13965 * libio/tst-vtables-interposed.c: Likewise.
13966
5c0202af
FW
139672018-06-26 Florian Weimer <fweimer@redhat.com>
13968
13969 * support/support_test_main.c (support_test_main): Only call
13970 setvbuf if not disables.
13971 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13972 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13973
c402355d
FW
139742018-06-26 Florian Weimer <fweimer@redhat.com>
13975
13976 [BZ #23313]
13977 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13978
43b1048a
FW
139792018-06-25 Florian Weimer <fweimer@redhat.com>
13980
13981 [BZ #18023]
13982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13983 Use struct scratch_buffer instead of extend_alloca.
13984
1599ed4e
FW
139852018-06-25 Florian Weimer <fweimer@redhat.com>
13986
13987 [BZ #18023]
13988 * nss/getent.c (initgroups_keys): Use dynarray instead of
13989 extend_alloca.
13990
a26fe163
FW
139912018-06-25 Florian Weimer <fweimer@redhat.com>
13992
13993 [BZ #18023]
13994 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13995 Use struct scratch_buffer instead of extend_alloca.
13996
90d9d9ce
FW
139972018-06-25 Florian Weimer <fweimer@redhat.com>
13998
13999 [BZ #18023]
14000 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14001 back to malloc directly, without stack allocations.
14002
6b7b2aba
FW
140032018-06-25 Florian Weimer <fweimer@redhat.com>
14004
14005 [BZ #18023]
14006 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14007 of extend_alloca.
14008
2f9f0d18
FW
140092018-06-25 Florian Weimer <fweimer@redhat.com>
14010
14011 [BZ #18023]
14012 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14013 of extend_alloca.
14014 * nscd/hstcache.c (addhstbyX): Likewise.
14015 * nscd/pwdcache.c (addpwbyX): Likewise.
14016 * nscd/servicescache.c (addservbyX): Likewise.
14017
318bad78
FW
140182018-06-25 Florian Weimer <fweimer@redhat.com>
14019
14020 [BZ #18023]
14021 * nscd/connections.c (read_cmdline): New function.
14022 (restart): Use it. Update comment.
14023
189699ab
RL
140242018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14025
14026 [BZ #23140]
14027 * localedata/locales/csb_PL (mon): Rename to...
14028 (alt_mon): This.
14029 (abmon): Rename to...
14030 (ab_alt_mon): This.
14031 (mon): Add with proper genitive forms, copy from Wikipedia.
14032 (abmon): Likewise.
14033
0ea3f13c
RL
140342018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14035
14036 [BZ #19485]
14037 * localedata/locales/csb_PL (mon): Fix typos:
14038 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14039 (yesstr): Add, value is "jo".
14040 (nostr): Add, value is "nié".
14041
d93f4ff1
TMQMF
140422018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14043
14044 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14045 all log1p and significand functions on m680x0.
14046 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14047 of s_significand.c..
14048 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14049 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14050 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14051 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14052 s_log1p.c and include it..
14053
f6299d2a
VC
140542018-06-21 Vincent Chen <vincentc@andestech.com>
14055
14056 * elf/elf.h (R_NDS32_NONE): New define.
14057 (R_NDS32_32_RELA): Likewise.
14058 (R_NDS32_COPY): Likewise.
14059 (R_NDS32_GLOB_DAT): Likewise.
14060 (R_NDS32_JUMP_SLOT): Likewise.
14061 (R_NDS32_RELATIVE): Likewise.
14062 (R_NDS32_TLS_TPOFF): Likewise.
14063 (R_NDS32_TLS_DESC): Likewise.
14064
61ab61c2
MW
140652018-06-21 Mark Wielaard <mark@klomp.org>
14066
14067 * elf/elf.h (R_BPF_MAP_FD): Removed.
14068 (R_BPF_64_64, R_BPF_64_32): New.
14069
f496b28e
FW
140702018-06-21 Florian Weimer <fweimer@redhat.com>
14071
14072 [BZ #23253]
14073 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14074 Renamed from libc_feholdsetround_ctx.
14075 (default_libc_feresetround_ctx): Renamed from
14076 libc_feresetround_ctx.
14077 (default_libc_feholdsetround_noex_ctx): Renamed from
14078 libc_feholdsetround_noex_ctx.
14079 (default_libc_feresetround_noex_ctx): Renamed from
14080 libc_feresetround_noex_ctx.
14081 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14082 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14083 forwardning to the old implementations under the new names.
14084 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14085 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14086 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14087 (libc_feresetround_ctx): Forward to default implements for i386
14088 and MATH_SET_BOTH_ROUNDING_MODES.
14089 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14090 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14091
1760daad
JM
140922018-06-20 Joseph Myers <joseph@codesourcery.com>
14093
99c7adf9
JM
14094 * string/tst-cmp.c: Include <libc-diag.h>.
14095 (strncmp_max): Disable -Wstringop-overflow= around call to
14096 strncmp.
14097 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14098 strncasecmp.
14099
1760daad
JM
14100 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14101 (main): Disable -Wunused-value around call to strpbrk.
14102 * string/bug-strspn1.c: Include <libc-diag.h>.
14103 (main): Disable -Wunused-value around call to strspn.
14104
209ae17c
TMQMF
141052018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14106 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14107
14108 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14109 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14110
badba23c
TMQMF
141112018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14112
5e79e029
TMQMF
14113 * math/Makefile (libm-calls): Move s_significandF to...
14114 (gen-libm-calls): ... here.
14115 * math/s_significand_template.c: New file.
14116 * math/s_significand.c: Removed.
14117 * math/s_significandf.c: Removed.
14118 * math/s_significandl.c: Removed.
14119 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14120 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14121
badba23c
TMQMF
14122 * math/e_exp2_template.c (declare_mgen_finite_alias,
14123 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14124 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14125 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14126
2d1c89a5
FW
141272018-06-20 Florian Weimer <fweimer@redhat.com>
14128
14129 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14130
646c2833
JM
141312018-06-19 Joseph Myers <joseph@codesourcery.com>
14132
14133 [BZ #23280]
14134 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14135 floating-point number to strtod functions rather than possibly
14136 negating result of those functions.
14137 * stdio-common/tst-scanf-round.c: New file.
14138 * stdio-common/Makefile (tests): Add tst-scanf-round.
14139 ($(objpfx)tst-scanf-round): Depend on $(libm).
14140
c77e4dc0
ST
141412018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14142
14143 * sysdeps/mach/hurd/localplt.data: Move to...
14144 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14145 R_386_GLOB_DAT like on Linux i386.
14146
91b2f3e5
JM
141472018-06-18 Joseph Myers <joseph@codesourcery.com>
14148
f2857da7
JM
14149 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14150 (SHM_STAT_ANY): New macro.
14151 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14152 (SHM_STAT_ANY): Likewise.
14153 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14154 (SHM_STAT_ANY): Likewise.
14155 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14156 (SHM_STAT_ANY): Likewise.
14157 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14158 (SHM_STAT_ANY): Likewise.
14159 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14160 (SHM_STAT_ANY): Likewise.
14161 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14162 (SHM_STAT_ANY): Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14164 (SHM_STAT_ANY): Likewise.
14165 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14166 (SHM_STAT_ANY): Likewise.
14167 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14168 (SHM_STAT_ANY): Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14170 (SHM_STAT_ANY): Likewise.
14171 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14172 (SHM_STAT_ANY): Likewise.
14173
176c7fee
JM
14174 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14175 (SEM_STAT_ANY): New macro.
14176 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14177 (SEM_STAT_ANY): Likewise.
14178 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14179 (SEM_STAT_ANY): Likewise.
14180 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14181 (SEM_STAT_ANY): Likewise.
14182 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14183 (SEM_STAT_ANY): Likewise.
14184 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14185 (SEM_STAT_ANY): Likewise.
14186 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14187 (SEM_STAT_ANY): Likewise.
14188 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14189 (SEM_STAT_ANY): Likewise.
14190 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14191 (SEM_STAT_ANY): Likewise.
14192 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14193 (SEM_STAT_ANY): Likewise.
14194
86bf0019
JM
14195 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14196 (MSG_STAT_ANY): New macro.
14197 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14198 (MSG_STAT_ANY): Likewise.
14199 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14200 (MSG_STAT_ANY): Likewise.
14201 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14202 (MSG_STAT_ANY): Likewise.
14203 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14204 (MSG_STAT_ANY): Likewise.
14205 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14206 (MSG_STAT_ANY): Likewise.
14207 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14208 (MSG_STAT_ANY): Likewise.
14209 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14210 (MSG_STAT_ANY): Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14212 (MSG_STAT_ANY): Likewise.
14213 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14214 (MSG_STAT_ANY): Likewise.
14215
91b2f3e5
JM
14216 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14217 (MAP_TYPE): Change value to 0x2b.
14218
3fe8fc79
FW
142192018-06-18 Florian Weimer <fweimer@redhat.com>
14220
14221 [BZ #15722]
14222 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14223 socket with SOCK_CLOEXEC.
14224
809dc95d
JM
142252018-06-18 Joseph Myers <joseph@codesourcery.com>
14226
14227 [BZ #23303]
14228 * sysdeps/powerpc/powerpc64/le/Makefile
14229 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14230 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14231 (gnulib-tests): Also add $(f128-loader-link) for
14232 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14233
298a8b59
ST
142342018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14235
14236 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14237 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14238 of sendfile.
14239 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14240 (sendfile64): New strong alias.
faf7bbc2
ST
14241 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14242 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14243 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
14244 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14245 attribute.
14246 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14247 ___pthread_get_cleanup_stack.
932d05f0 14248 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
14249 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14250 * mach/shortcut.awk: Make syscall stubs include
14251 <mach-shortcuts-hidden.h> and add hidden definition.
14252 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
14253 (__mach_msg): Add hidden prototype.
14254 * mach/msg.c: Include <mach.h>.
14255 (__mach_msg): Add hidden definition.
b0344cf5
ST
14256 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14257 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14258 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14259 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
14260 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14261 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
14262 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14263 prototype and definition.
14264 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14265 hidden target for _hurd_self_sigstate.
298a8b59 14266
b12c1e79
JM
142672018-06-15 Joseph Myers <joseph@codesourcery.com>
14268
14269 [BZ #23007]
14270 * stdlib/tst-strtod-nan-sign-main.c: New file.
14271 * stdlib/tst-strtod-nan-sign.c: Likewise.
14272 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14273 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14274 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14275 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14276 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14277
b0debe14
HB
142782018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14279
14280 [BZ #23007]
14281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14282 appropriate sign.
14283
14beef75
FW
142842018-06-14 Florian Weimer <fweimer@redhat.com>
14285
14286 [BZ #23290]
14287 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14288 that the result stays within the ISO-8859-1 range.
14289 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14290 characters are defined in IBM273.
14291
c596630b
ST
142922018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14293
14294 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14295 __mach_task_self): Remove attribute_hidden.
14296
35ebb6b0
JM
142972018-06-14 Joseph Myers <joseph@codesourcery.com>
14298
14299 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14300 ignore -Wrestrict for one test.
14301
3c7b9f1f
SE
143022018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14303 Szabolcs Nagy <szabolcs.nagy@arm.com>
14304
14305 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14306
c59ee916
FW
143072018-06-14 Florian Weimer <fweimer@redhat.com>
14308
14309 * scripts/update-abilist.sh: Accept empty list of files to patch.
14310
43b5ff50
ST
143112018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14312
14313 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14314 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
14315 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14316 __libc_read and __libc_write to __read and __write.
c8c6e6d6 14317 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
14318 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14319 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14320 __thread_switch, __evc_wait): Move declarations to...
14321 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14322 attribute_hidden.
06d1a826
ST
14323 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14324 use PLT to call _hurd_self_sigstate.
43b5ff50 14325
fcd6b5ac
JM
143262018-06-13 Joseph Myers <joseph@codesourcery.com>
14327
14328 [BZ #23279]
14329 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14330 MAX_EXP as overflowing.
14331 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14332 overflow flag.
14333 (round_str): Output also whether result overflows in each rounding
14334 mode.
14335 * stdlib/tst-strtod-round-data: Add more tests.
14336 * stdlib/tst-strtod-round-data.h: Regenerated.
14337 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14338 (TEST): Handle extra arguments for overflow flags.
14339 (struct test_overflow): New type.
14340 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14341 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14342 (test_in_one_mode): Take argument with overflow information.
14343 (do_test): Update calls to test_in_one_mode.
14344
35df5a77
CD
143452018-06-12 Carlos O'Donell <carlos@redhat.com>
14346
a745c837
CD
14347 * elf/dl-load (_dl_dst_substitute): Correct comment.
14348 (_dl_dst_count): Likewise.
14349
35df5a77
CD
14350 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14351 lll_futex_timed_wait.
14352
48b12ed5
JM
143532018-06-12 Joseph Myers <joseph@codesourcery.com>
14354
14355 [BZ #23277]
14356 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14357 attribute.
14358 * math/test-nan-const.c: New file.
14359 * math/Makefile (tests): Add test-nan-const.
14360 (CFLAGS-test-nan-const.c): New variable.
14361
cb8f6aff
L
143622018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14363
14364 * benchtests/scripts/compare_strings.py (process_results): Add
14365 funcs argument. Compare only functions which are selected.
14366 (main): Check if base function is among selected functions.
14367 Pass selected functions to process_results.
14368 (__main__): Add -f/--functions argument.
14369
fc2ba803
HZ
143702018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14371 Hongbo Zhang <hongbo.zhang@linaro.org>
14372
14373 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14374 __memcpy_falkor for phecda core.
14375 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14376 __memmove_falkor for phecda core.
14377 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14378 __memset_falkor for phecda core.
14379 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14380 for phecda core.
14381 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14382 macro to identify phecda core.
14383
5aad5f61
CD
143842018-06-12 Carlos O'Donell <carlos@redhat.com>
14385 Andreas Schwab <schwab@suse.de>
14386 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 14387 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
14388
14389 [BZ #23102]
14390 [BZ #21942]
14391 [BZ #18018]
14392 [BZ #23259]
14393 CVE-2011-0536
14394 * elf/dl-dst.h: Remove DL_DST_COUNT.
14395 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14396 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14397 (is_dst): Comment. Support ELF gABI.
14398 (_dl_dst_count): Comment. Simplify and count DSTs.
14399 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14400 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14401 locals.
14402
329ea513
ZW
144032018-06-12 Zack Weinberg <zackw@panix.com>
14404
14405 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14406 * sysdeps/unix/sysv/linux/dl-sysdep.c
14407 Include not-cancel.h. Use __close_nocancel instead of __close,
14408 __open64_nocancel instead of __open, __read_nocancel instead of
14409 __libc_read, and __write_nocancel instead of __libc_write.
14410
14411 * csu/check_fds.c (check_one_fd)
14412 * sysdeps/posix/fdopendir.c (__fdopendir)
14413 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 14414 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
14415
14416 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14417 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 14418 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
14419 Use __open64_nocancel instead of __open_nocancel.
14420
14421 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14422 hidden_proto declarations to the end and issue them if either
14423 IS_IN(libc) or IS_IN(rtld).
14424 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14425 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14426 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14427 read_nocancel, waitpid_nocancel, write_nocancel.
14428
b39d961c
TS
14429 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14430 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14431 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 14432
b39d961c
TS
14433 * nptl/pt-fcntl.c: New file.
14434 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14435 (libpthread-routines): Add pt-fcntl.
14436 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14437 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
14438 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14439 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 14440 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
14441 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14442 to fcntl_nocancel.c.
14443 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14446 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14447
14448 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14449 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14450 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14451 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14452 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14453 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14454 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14455 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14456 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14457 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14458 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14459 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14460 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14461 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14462 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14463 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14464 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14465 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14466 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14467 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14468
b39d961c
TS
14469 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14470 libpthread-routines.
14471 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14472 defines nothing.
329ea513 14473
b39d961c
TS
14474 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14475 __libc_read, and __write instead of __libc_write. Define
14476 __open64 in addition to __open.
329ea513 14477
0221ce2a
L
144782018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14479
14480 [BZ #23250]
14481 [BZ #10686]
14482 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14483 to _private_tm[3] and add __glibc_reserved2.
14484 Add _Static_assert of offset of __private_ss == 0x30.
14485 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14486 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14487
e826574c
FW
144882018-06-12 Florian Weimer <fweimer@redhat.com>
14489
14490 x86: Make strncmp usable from rtld.
14491 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14492 __strncmp_ia32 if in libc (and not in rtld).
14493 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14494 strncmp if not in libc (and not to __strncmp_sse2).
14495
c4ad5782
RL
144962018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14497
14498 [BZ #23140]
14499 * localedata/locales/gd_GB (mon): Rename to...
14500 (alt_mon): This.
14501 (mon): Import from CLDR (genitive case).
14502 * localedata/locales/hsb_DE (mon): Rename to...
14503 (alt_mon): This.
14504 (mon): Import from CLDR (genitive case).
14505 * localedata/locales/wa_BE (mon): Rename to...
14506 (alt_mon): This.
14507 (mon): Add, fill with the proper genitive forms, but CLDR data
14508 is incomplete; completed according to the comments in this file.
14509 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14510
14511 * localedata/locales/wa_BE (country_name): Reword
14512 "Beljike" -> "Beldjike".
14513
ca121b11
JM
145142018-06-11 Joseph Myers <joseph@codesourcery.com>
14515
14516 [BZ #23272]
14517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14518 cases of non-finite arguments.
14519 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14520
2b69fecb
JDA
145212018-06-10 John David Anglin <danglin@gcc.gnu.org>
14522
14523 [BZ #23174]
14524 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14525
283d9851
AZ
145262018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14527
14528 [BZ #23264]
14529 * include/unistd.h (__execvpex): New prototype.
14530 * posix/Makefile (tests): Add tst-spawn4.
14531 (tests-internal): Add tst-spawn4-compat.
14532 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14533 * posix/tst-spawn4-compat.c: New file.
14534 * posix/tst-spawn4.c: Likewise.
14535 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14536 binaries as shell scripts.
14537 * sysdeps/posix/spawni.c (__spawni): Likewise.
14538
67c05796
L
145392018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14540
14541 [BZ #23145]
14542 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14543 ($(all-built-dso:=.dynsym): New target.
14544 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14545 ($(objpfx)check-initfini.out): New target.
14546 (generated): Add check-initfini.out.
14547 * scripts/check-initfini.awk: New file.
14548 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14549 (_fini): Likewise.
14550 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14551 (_fini): Likewise.
14552 * sysdeps/arm/crti.S (_init): Mark as hidden.
14553 (_fini): Likewise.
14554 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14555 (_fini): Likewise.
14556 * sysdeps/i386/crti.S (_init): Mark as hidden.
14557 (_fini): Likewise.
14558 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14559 (_fini): Likewise.
14560 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14561 (_fini): Likewise.
14562 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14563 (_fini): Likewise.
14564 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14565 (_fini): Likewise.
14566 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14567 (_fini): Likewise.
14568 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14569 (_fini): Likewise.
14570 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14571 (_fini): Likewise.
14572 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14573 (_fini): Likewise.
14574 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14575 (_fini): Likewise.
14576 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14577 (_fini): Likewise.
14578 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14579 (_fini): Likewise.
14580 * sysdeps/sh/crti.S (_init): Mark as hidden.
14581 (_fini): Likewise.
14582 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14583 (_fini): Likewise.
14584 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14585 (_fini): Likewise.
14586
1c09524e
TMQMF
145872018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14588
14589 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14590 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14591 and TF redirection to KFtype and KF only when the default
14592 long double type is not the IEEE 128-bit floating point type.
14593
0e0577c9
JM
145942018-06-05 Joseph Myers <joseph@codesourcery.com>
14595
0c1c33b2
JM
14596 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14597 macro.
14598 (HWCAP_USCAT): Likewise.
14599 (HWCAP_ILRCPC): Likewise.
14600 (HWCAP_FLAGM): Likewise.
14601 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14602 Increase to 28.
14603 (_dl_aarch64_cap_flags): Add new flag names.
14604
bef1cbf4
JM
14605 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14606 (MAP_FIXED_NOREPLACE): New macro.
14607 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14608 (MAP_FIXED_NOREPLACE): Likewise.
14609 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14610 (MAP_FIXED_NOREPLACE): Likewise.
14611 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14612 (MAP_FIXED_NOREPLACE): Likewise.
14613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14614 (MAP_FIXED_NOREPLACE): Likewise.
14615 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14616 (MAP_FIXED_NOREPLACE): Likewise.
14617 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14618 (MAP_FIXED_NOREPLACE): Likewise.
14619 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14620 (MAP_FIXED_NOREPLACE): Likewise.
14621 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14622 (MAP_FIXED_NOREPLACE): Likewise.
14623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14624 (MAP_FIXED_NOREPLACE): Likewise.
14625 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14626 (MAP_FIXED_NOREPLACE): Likewise.
14627 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14628 (MAP_FIXED_NOREPLACE): Likewise.
14629 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14630 (MAP_FIXED_NOREPLACE): Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14632 (MAP_FIXED_NOREPLACE): Likewise.
14633 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14634 (MAP_FIXED_NOREPLACE): Likewise.
14635
0e0577c9
JM
14636 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14637 version to 4.17.
14638
ab3a0da0
JM
146392018-06-04 Joseph Myers <joseph@codesourcery.com>
14640
14641 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14642 version to 4.17
14643
d2d9dfb6
ST
146442018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14645
14646 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14647 int.
14648 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14649
a650b05e
LS
146502018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14651
14652 * benchtests/scripts/compare_string.py: (process_results) Catch
14653 exception in non-existent base_func and catch exception in
14654 non-existent attribute.
14655 (parse_file) Catch exception if input file does not exist.
14656
195abbf4
LS
146572018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14658
14659 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14660 options to avoid diff calculation and omit header, respectively.
14661 (main): process --no-diff and --no-header
14662
14570163
LS
146632018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14664 H.J. Lu <hongjiu.lu@intel.com>
14665
14666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14667 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14668 wcsncmp-sse2.
14669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14670 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14671 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14672 and __wcsncmp_sse2.
14673 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14674 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14675 AVX unaligned load is fast and vzeroupper is preferred.
14676 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14677 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14678 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14679 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14680 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14681 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14682 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14683 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14684 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14685 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14686 is undefined.
14687
e02c026f
FW
146882018-06-01 Florian Weimer <fweimer@redhat.com>
14689
14690 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14691 configuring with --disable-multi-arch, building with
14692 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14693 Haswell-era CPU.
14694
d8c19275
FW
146952018-06-01 Florian Weimer <fweimer@redhat.com>
14696
14697 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14698 results from building with “-march=x86-64 -mtune=generic
14699 -mfpmath=sse” and running on a Haswell-era CPU.
14700
0d2163eb
JM
147012018-06-01 Joseph Myers <joseph@codesourcery.com>
14702
14703 [BZ #18473]
14704 * soft-fp/sqrttf2.c: Remove file.
14705 * soft-fp/sqrtdf2.c: Move to ....
14706 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14707 <shlib-compat.h>.
14708 (__sqrtdf2): Make conditional on
14709 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14710 symbol.
14711 * soft-fp/sqrtsf2.c: Move to ....
14712 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14713 <shlib-compat.h>.
14714 (__sqrtsf2): Make conditional on
14715 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14716 symbol.
14717 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14718 (gcc-double-routines): Remove sqrtdf2.
14719 (gcc-quad-routines): Remove sqrttf2.
14720 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14721 Do not filter out sqrtsf2 and sqrtdf2.
14722 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14723 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14724
10450210
FW
147252018-06-01 Florian Weimer <fweimer@redhat.com>
14726
14727 * sysdeps/generic/libcidn.abilist: Remove file.
14728
4e8a6346
FW
147292018-06-01 Florian Weimer <fweimer@redhat.com>
14730
14731 [BZ #23236]
14732 * libio/strfile.h (struct _IO_str_fields): Rename members to
14733 discourage their use and add comment.
14734 (_IO_STR_DYNAMIC): Remove unused macro.
14735 * libio/strops.c (_IO_str_init_static_internal): Do not use
14736 callback pointers. Call malloc and free.
14737 (_IO_str_overflow): Do not use callback pointers. Call malloc
14738 and free.
14739 (enlarge_userbuf): Likewise.
14740 (_IO_str_finish): Call free.
14741 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14742 _allocate_buffer_unused.
14743 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14744 and free.
14745 (enlarge_userbuf): Likewise.
14746 (_IO_wstr_finish): Call free.
14747 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14748 _allocate_buffer_unused, _free_buffer_unused.
14749 * libio/memstream.c (__open_memstream): Likewise.
14750 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14751 * libio/wmemstream.c (open_wmemstream): Likewise.
14752
50d004c9
PP
147532018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14754
14755 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14756 AMD Ryzen 7 1800X.
14757
2c93fce7
RS
147582018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14759
14760 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14761 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14762 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14763 New file.
14764 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14765 Likewise.
14766 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14767
0ce2fa69
FW
147682018-05-29 Florian Weimer <fweimer@redhat.com>
14769
14770 * support/Makefile (libsupport-routines): Add
14771 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14772 xpthread_barrierattr_setpshared.
14773 * support/xpthread_barrierattr_destroy.c: New file.
14774 * support/xpthread_barrierattr_init.c: Likewise.
14775 * support/xpthread_barrierattr_setpshared.c: Likewise.
14776
7f7b5d8d
L
147772018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14778
14779 [BZ #23206]
14780 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14781 _r_debug and update DT_DEBUG for debugger.
14782
e4890300
FW
147832018-05-29 Florian Weimer <fweimer@redhat.com>
14784
14785 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14786 (tst-strtod5i.out): Likewise.
14787
2c753f3e
JM
147882018-05-25 Joseph Myers <joseph@codesourcery.com>
14789
b5453d9f
JM
14790 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14791 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14792 (sparc64-quad-routines): New variable. Moved from ....
14793 [$(subdir) = soft-fp] (sysdep_routines): Add
14794 $(sparc64-quad-routines). Moved from ....
14795 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14796 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14797 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14798 moved from ....
14799 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14800 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14801 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14802 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14803 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14804 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14805 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14806 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14807 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14808 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14809 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14810 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14811 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14812 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14813 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14814 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14815 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14816 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14817 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14818 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14819 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14820 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14821 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14822 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14823 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14824 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14825 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14826 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14827 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14828 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14829 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14830 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14831 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14832 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14833 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14834 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14836 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14837 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14838 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14839 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14840 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14841 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14842 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14843 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14844 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14845 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14846 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14847 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14848 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14849 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14850 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14851 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14852 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14853 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14854 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14855 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14856 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14857
2c753f3e
JM
14858 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14859 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14860 (sparc32-quad-routines): New variable. Moved from ....
14861 [$(subdir) = soft-fp] (sysdep_routines): Add
14862 $(sparc32-quad-routines). Moved from ....
14863 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14864 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14865 moved from ....
14866 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14867 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14868 * sysdeps/sparc/sparc32/q_add.c: ... here.
14869 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14870 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14871 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14872 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14873 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14874 * sysdeps/sparc/sparc32/q_div.c: ... here.
14875 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14876 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14877 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14878 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14879 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14880 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14881 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14882 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14883 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14884 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14885 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14886 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14887 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14888 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14889 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14890 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14891 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14892 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14893 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14894 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14895 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14896 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14897 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14898 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14899 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14900 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14901 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14902 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14903 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14904 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14905 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14906 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14907 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14908 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14909 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14910 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14911 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14912 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14913 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14914 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14915 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14916 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14917 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14918 * sysdeps/sparc/sparc32/q_util.c: ... here.
14919 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14920 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14921 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14922 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14923
c1dc1e1b
TMQMF
149242018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14925 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14926
14927 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14928 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14929 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14930 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14931
14186e8d
JM
149322018-05-24 Joseph Myers <joseph@codesourcery.com>
14933
14934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14935 powerpc/soft-fp.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14937 Likewise.
14938 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14939 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14940
fb0e10b8
GG
149412018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14942
14943 [BZ #23171]
14944 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14945 double version.
14946
1dfeb17e
JM
149472018-05-23 Joseph Myers <joseph@codesourcery.com>
14948
14949 * sysdeps/sh/Implies: Remove sh/soft-fp.
14950 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14951 * sysdeps/sh/sfp-machine.h: ... here.
14952
727b38df
L
149532018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14954
14955 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14956 (__mempcpy_erms): Skip zero length.
14957 (__memmove_erms): Likewise.
14958 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14959 (__memset_erms): Likewise.
14960
2834fb46
JM
149612018-05-23 Joseph Myers <joseph@codesourcery.com>
14962
14963 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14964 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14965 Add functions moved from ....
14966 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14967 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14968 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14969 from ....
14970 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14971 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14972 * sysdeps/alpha/e_sqrtl.c: ... here.
14973 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14974 * sysdeps/alpha/local-soft-fp.h: ... here.
14975 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14976 * sysdeps/alpha/ots_add.c: ... here.
14977 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14978 * sysdeps/alpha/ots_cmp.c: ... here.
14979 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14980 * sysdeps/alpha/ots_cmpe.c: ... here.
14981 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14982 * sysdeps/alpha/ots_cvtqux.c: ... here.
14983 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14984 * sysdeps/alpha/ots_cvtqx.c: ... here.
14985 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14986 * sysdeps/alpha/ots_cvttx.c: ... here.
14987 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14988 * sysdeps/alpha/ots_cvtxq.c: ... here.
14989 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14990 * sysdeps/alpha/ots_cvtxt.c: ... here.
14991 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14992 * sysdeps/alpha/ots_div.c: ... here.
14993 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14994 * sysdeps/alpha/ots_mul.c: ... here.
14995 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14996 * sysdeps/alpha/ots_nintxq.c: ... here.
14997 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14998 * sysdeps/alpha/ots_sub.c: ... here.
14999 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15000 * sysdeps/alpha/sfp-machine.h: ... here.
15001
7f9f1ecb
FW
150022018-05-23 Florian Weimer <fweimer@redhat.com>
15003
15004 [BZ #19728]
15005 [BZ #19729]
15006 [BZ #22247]
15007 CVE-2016-6261
15008 CVE-2016-6263
15009 CVE-2017-14062
15010 Switch to extern IDNA implementation (libidn2).
15011 * libidn: Remove subdirectory.
15012 * LICENSES: Do not mention licensing conditions for the removed
15013 libidn code.
15014 * config.h.in (HAVE_LIBIDN): Remove.
15015 * include/dlfcn.h (__libc_dlopen): Update comment.
15016 * include/idna.h: Remove file.
15017 * inet/Makefile (routines): Add idna.
15018 (tests-static, tests-internal): Add tst-idna_name_classify.
15019 (LOCALES): Generate locales for tests.
15020 (tst-idna_name_classify.out): Depend on generated locales.
15021 * inet/idna_name_classify.c: New file.
15022 * inet/tst-idna_name_classify.c: Likewise.
15023 * inet/net-internal.h (__idna_to_dns_encoding)
15024 (__idna_from_dns_encoding): Declare.
15025 * inet/net-internal.h (enum idna_name_classification): Define.
15026 (__idna_name_classify): Declare.
15027 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15028 __idna_from_dns_encoding.
15029 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15030 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15031 name as a fallback in case of encoding errors.
15032 (getnameinfo): Use DEPRECATED_NI_IDN.
15033 * inet/idna.c: New file.
15034 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15035 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15036 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15037 (modules-names): Add tst-no-libidn2.
15038 (extra-test-objs): Add tst-no-libidn2.os.
15039 (LDFLAGS-tst-no-libidn2.so): Set soname.
15040 (LOCALES): Set, and generate locales.
15041 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15042 (tst-resolv-ai_idn-latin1): Likewise.
15043 (tst-resolv-ai_idn-nolibidn2): Likewise.
15044 (tst-resolv-ai_idn.out): Depend on locales.
15045 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15046 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15047 tst-no-libidn2.so.
15048 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15049 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15050 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15051 * resolv/tst-resolv-ai_idn.c: New file.
15052 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15053 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15054 * resolv/tst-no-libidn2.c: Likewise.
15055 * support/support_format_addrinfo.c (format_ai_flags): Do not
15056 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15057 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15058 (gaih_inet): Call __idna_to_dns_encoding and
15059 __idna_from_dns_encoding, and use the original (punycode) name if
15060 __idna_from_dns_encoding fails due to an encoding error.
15061 (getaddrinfo): Use DEPRECATED_AI_IDN.
15062 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15063 * sysdeps/unix/inet/configure: Remove file.
15064 * sysdeps/unix/inet/configure.ac: Likewise.
15065
5f7b841d
FW
150662018-05-23 Florian Weimer <fweimer@redhat.com>
15067
15068 Implement allocate_once.
15069 * include/allocate_once.h: New file.
15070 * misc/allocate_once.c: Likewise.
15071 * misc/tst-allocate_once.c: Likewise.
15072 * misc/Makefile (routines): Add allocate_once.
15073 (tests-internal): Add tst-allocate_once.
15074 (generated): Add tst-allocate_once.mtrace,
15075 tst-allocate_once-mem.out.
15076 (tests-special): Add tst-allocate_once-mem.out.
15077 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15078 (tst-allocate_once-mem.out): Call mtrace.
15079 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15080
ed983107
L
150812018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15082
15083 [BZ #23196]
15084 * string/test-memcpy.c (do_test1): New function.
15085 (test_main): Call it.
15086
9aaaab7c
AS
150872018-05-23 Andreas Schwab <schwab@suse.de>
15088
15089 [BZ #23196]
15090 CVE-2018-11237
15091 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15092 (L(preloop_large)): Save initial destination pointer in %r11 and
15093 use it instead of %rax after the loop.
15094 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15095
5c5c0dd7
JM
150962018-05-22 Joseph Myers <joseph@codesourcery.com>
15097
8f145c77
JM
15098 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15099 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15100 -I../soft-fp. Moved from ....
15101 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15102 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15103 * sysdeps/aarch64/e_sqrtl.c: ... here.
15104 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15105 * sysdeps/aarch64/sfp-machine.h: ... here.
15106
3d6302a5
JM
15107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15108 -Wmaybe-uninitialized around access to fq[0].
15109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15110 Likewise.
15111
5c5c0dd7
JM
15112 [BZ #18471]
15113 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15114 aliases for non-libc case of versioned symbols.
15115 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15116 (llseek): Define as compat symbol if
15117 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15118 with link warning.
15119 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15120 Make into a compat symbol, disabled for minimum symbol version
15121 GLIBC_2.28 and later.
15122 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15123
ed0d6988
FW
151242018-05-22 Florian Weimer <fweimer@redhat.com>
15125
15126 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15127 not add -mpreferred-stack-boundary=4.
15128 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15129 (stack-align-test-flags): Likewise.
15130 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15131 Likewise.
15132 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15133 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15134 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15135 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15136 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15137 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15138 (CFLAGS-tst-align2.c): Likewise.
15139
e28e9b1e
L
151402018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15141
15142 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15143 (index_arch_Prefer_FSRM): Likewise.
15144 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15145 Also check Prefer_FSRM.
15146 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15147 Also return OPTIMIZE (erms) for Prefer_FSRM.
15148
1af30adc
L
151492018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15150
15151 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15152 (index_cpu_FSRM): Likewise.
15153 (reg_FSRM): Likewise.
15154
78274dc8
JM
151552018-05-18 Joseph Myers <joseph@codesourcery.com>
15156
7c67e6e8
JM
15157 * math/gen-tgmath-tests.py: Import sys.
15158 (Tests.__init__): Initialize macros_seen.
15159 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15160 if requested to do so for this macro.
15161 (Tests.add_all_tests): Take argument for macro for which to
15162 generate tests.
15163 (Tests.check_macro_list): New function.
15164 (main): Handle check-list argument and argument specifying macro
15165 for which to generate tests.
15166 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15167 [PYTHON] (tgmath3-macro-tests): Likewise.
15168 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15169 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15170 not test-tgmath3.c.
15171 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15172 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15173 to CFLAGS.
15174 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15175 [PYTHON] ($(foreach
15176 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15177 rule.
15178 [PYTHON] (tests-special): Add
15179 $(objpfx)test-tgmath3-macro-list.out.
15180 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15181
ebc129fd
JM
15182 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15183 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15184 later.
15185
78274dc8
JM
15186 [BZ #22639]
15187 * time/tzset.c (SECSPERDAY): Cast to time_t.
15188 * time/tst-y2039.c: New file.
15189 * time/Makefile (tests): Add tst-y2039.
15190
6f7fdeeb
LS
151912018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15192
15193 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15194 (PREFETCH_ONE_SET): Remove duplicate line.
15195
e363a91c
FW
151962018-05-17 Florian Weimer <fweimer@redhat.com>
15197
15198 * sysdeps/generic/math-type-macros-double.h: Include
15199 <math-nan-payload-double.h> after <libm-alias-double.h>.
15200 * sysdeps/generic/math-type-macros-float.h: Include
15201 <math-nan-payload-float.h> after <libm-alias-float.h>.
15202 * sysdeps/generic/math-type-macros-float128.h: Include
15203 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15204 * sysdeps/generic/math-type-macros-ldouble.h: Include
15205 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15206
dae6c43c
AS
152072018-05-17 Andreas Schwab <schwab@suse.de>
15208
15209 * resolv/res_send.c (__res_context_send): Don't set errno when
15210 returing error after malloc failure.
15211
0068c085
L
152122018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15213
15214 * nptl/allocatestack.c (allocate_stack): Remove the
15215 !__ASSUME_PRIVATE_FUTEX paths.
15216 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15217 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15218 Likewise.
15219 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15220 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15221 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15222 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15223 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15224 !__ASSUME_PRIVATE_FUTEX path.
15225 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15226 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15227 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15228 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15229 !__ASSUME_PRIVATE_FUTEX macros.
15230 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15231 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15232 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15233 * sysdeps/unix/sysv/linux/kernel-features.h
15234 (__ASSUME_PRIVATE_FUTEX): Removed.
15235
632a6cbe
JM
152362018-05-17 Joseph Myers <joseph@codesourcery.com>
15237
15238 * math/Makefile (libm-narrow-fns): Add div.
15239 (libm-test-funcs-narrow): Likewise.
15240 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15241 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15242 * math/gen-auto-libm-tests.c (test_functions): Add div.
15243 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15244 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15245 (NARROW_DIV_TRIVIAL): Likewise.
15246 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15247 macro.
15248 (__ddivl): Likewise.
15249 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15250 ddiv.
15251 (CFLAGS-nldbl-ddiv.c): New variable.
15252 (CFLAGS-nldbl-fdiv.c): Likewise.
15253 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15254 __nldbl_ddivl.
15255 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15256 prototype.
15257 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15258 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15259 * math/auto-libm-test-in: Add tests of div.
15260 * math/auto-libm-test-out-narrow-div: New generated file.
15261 * math/libm-test-narrow-div.inc: New file.
15262 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15265 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15266 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15267 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15270 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15276 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15277 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15278 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15279 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15281 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15285 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15286 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15299 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15300 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15305 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15306
8c78faa9
AZ
153072018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15308
15309 [BZ #23178]
15310 * nscd/nscd-client.h (sendfileall): Remove prototype.
15311 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15312 (handle_request): Use writeall instead of sendfileall.
15313 * nscd/aicache.c (addhstaiX): Likewise.
15314 * nscd/grpcache.c (cache_addgr): Likewise.
15315 * nscd/hstcache.c (cache_addhst): Likewise.
15316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15317 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15318 * nscd/pwdcache.c (cache_addpw): Likewise.
15319 * nscd/servicescache.c (cache_addserv): Likewise.
15320 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15321 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15323 Remove define.
15324
04958880
L
153252018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15326
15327 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15328 Include <string/strncat.c>.
15329 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15330 alias.
15331 (__GI___strncat): New hidden alias.
15332
c9992d13
JM
153332018-05-16 Joseph Myers <joseph@codesourcery.com>
15334
15335 * sysdeps/mips/mips32/libm-test-ulps: Update.
15336 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15337
2afece36
FW
153382018-05-16 Florian Weimer <fweimer@redhat.com>
15339
15340 * support/Makefile (libsupport-routines): Add support_quote_blob,
15341 support_test_compare_blob.
15342 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15343 * support/check.h (TEST_COMPARE_BLOB): Define.
15344 (support_test_compare_blob): Declare.
15345 * support/support.h (support_quote_blob): Declare.
15346 * support/support_quote_blob.c: New file.
15347 * support/support_test_compare_blob.c: Likewise.
15348 * support/tst-support_quote_blob.c: Likewise.
15349 * support/tst-test_compare_blob.c: Likewise.
15350
9761bf4d
FW
153512018-05-16 Florian Weimer <fweimer@redhat.com>
15352
15353 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15354 of <strtod_nan_double.h>.
15355 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15356 instead of SET_MANTISSA.
15357 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15358 of include <strtod_nan_float.h>.
15359 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15360 instead of <strtod_nan_ldouble.h>.
15361 * stdlib/strtod_nan_double.h: Move to ...
15362 * sysdeps/generic/math-nan-payload-double.h: ... here.
15363 (FLOAT): Remove definition.
15364 (SET_MANTISSA): Rename to ...
15365 (SET_NAN_PAYLOAD): ... this.
15366 * stdlib/strtod_nan_float.h: Move to ...
15367 * sysdeps/generic/math-nan-payload-float.h: ... here.
15368 (FLOAT): Remove definition.
15369 (SET_MANTISSA): Rename to ...
15370 (SET_NAN_PAYLOAD): ... this.
15371 * sysdeps/generic/math-type-macros-double.h: Include
15372 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15373 instead of <math-svid-compat.h>.
15374 * sysdeps/generic/math-type-macros-float.h: Include
15375 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15376 instead of <math-svid-compat.h>.
15377 * sysdeps/generic/math-type-macros-float128.h: Include
15378 <math-nan-payload-float128.h>.
15379 * sysdeps/generic/math-type-macros-ldouble.h: Include
15380 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15381 instead of <math-svid-compat.h>.
15382 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15383 check for definition.
15384 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15385 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15386 Include <ieee754_float128.h>.
15387 (FLOAT): Remove definition.
15388 (SET_MANTISSA): Rename to ...
15389 (SET_NAN_PAYLOAD): ... this.
15390 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15391 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15392 Do not include <float128_private.h>.
15393 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15395 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15396 (FLOAT): Remove definition.
15397 (SET_MANTISSA): Rename to ...
15398 (SET_NAN_PAYLOAD): ... this.
15399 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15400 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15401 (FLOAT): Remove definition.
15402 (SET_MANTISSA): Rename to ...
15403 (SET_NAN_PAYLOAD): ... this.
15404 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15405 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15406 (FLOAT): Remove definition.
15407 (SET_MANTISSA): Rename to ...
15408 (SET_NAN_PAYLOAD): ... this.
15409 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15410 of "../stdlib/strtod_nan_double.h".
15411 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15412 of "../stdlib/strtod_nan_float.h".
15413 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15414 instead of "../stdlib/strtod_nan_ldouble.h".
15415 * manual/arith.texi (Parsing of Floats): Adjust comment.
15416
69a01461
JM
154172018-05-16 Joseph Myers <joseph@codesourcery.com>
15418
15419 * math/Makefile (libm-narrow-fns): Add mul.
15420 (libm-test-funcs-narrow): Likewise.
15421 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15422 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15423 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15424 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15425 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15426 (NARROW_MUL_TRIVIAL): Likewise.
15427 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15428 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15429 macro.
15430 (__dmull): Likewise.
15431 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15432 dmul.
15433 (CFLAGS-nldbl-dmul.c): New variable.
15434 (CFLAGS-nldbl-fmul.c): Likewise.
15435 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15436 __nldbl_dmull.
15437 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15438 prototype.
15439 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15440 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15441 * math/auto-libm-test-in: Add tests of mul.
15442 * math/auto-libm-test-out-narrow-mul: New generated file.
15443 * math/libm-test-narrow-mul.inc: New file.
15444 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15447 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15448 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15449 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15457 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15458 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15459 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15460 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15461 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15463 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15481 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15482 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15488
a15529fd
L
154892018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15490
15491 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15492 with *%eax in call.
15493
98ee36c7
L
154942018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15495
15496 * sysdeps/i386/ldsodefs.h: Removed.
15497 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15498 * sysdeps/x86/ldsodefs.h: This.
15499 (La_i86_regs): New.
15500 (La_i86_retval): Likewise.
15501 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15502 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15503
e322ec32
L
155042018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15505
15506 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15507 unnecessary testl.
15508
0937e209
AM
155092018-05-13 Alan Modra <amodra@gmail.com>
15510
15511 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15512 R_PARISC_TLS_DTPOFF32 reloc addend.
15513
5db7d705
TMQMF
155142018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15515
15516 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15517 * math/math.h: Restrict the prototype definition for the functions
15518 issignaling(_Float128) and iszero(_Float128); and template
15519 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15520 __HAVE_FLOAT128_UNLIKE_LDBL.
15521 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15522 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15523 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15524 __f128() constants; define the type _Float128 as long double;
15525 and reuse long double in __CFLOAT128.
15526
b4d5b8b0
JM
155272018-05-11 Joseph Myers <joseph@codesourcery.com>
15528
15529 * sysdeps/generic/math_private.h: Do not include
15530 <math-barriers.h>.
15531 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15532 <math_private.h>.
15533 * math/fromfp.h: Include <math-barriers.h>.
15534 * math/math-narrow.h: Likewise.
15535 * math/s_nextafter.c: Likewise.
15536 * math/s_nexttowardf.c: Likewise.
15537 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15538 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15539 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15540 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15541 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15542 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15543 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15557 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15558 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15560 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15561 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15562 * sysdeps/ieee754/k_standardl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15579 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15580 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15583 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15584 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15585
fc79706a
FW
155862018-05-11 Florian Weimer <fweimer@redhat.com>
15587
15588 Use 64-bit epoch values in the time zone file parser.
15589 * include/time.h (internal_time_t): Define.
15590 (__tzfile_compute): Use it.
15591 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15592 member.
15593 (transitions): Switch to internal_time_t.
15594 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15595 types.
15596 (__tzfile_compute): Use internal_time_t for timer argument. Check
15597 for truncation before calling __offtime.
15598
89aacb51
FW
155992018-05-11 Florian Weimer <fweimer@redhat.com>
15600
15601 [BZ #23166]
15602 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15603 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15604 Likewise.
15605 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15606 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15607 export without --enable-obsolete-rpc.
15608 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15609 symbol. This should not have been exported, ever.
15610
bb066cb8
RL
156112018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15612
15613 [BZ #23152]
15614 * localedata/locales/gd_GB (abmon): Fix typo in May:
15615 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15616
70c97f84
SP
156172018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15618
db725a45
SP
15619 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15620 Use multiple registers to copy data in loop tail.
15621
70c97f84
SP
15622 * sysdeps/aarch64/multiarch/memmove_falkor.S
15623 (__memmove_falkor): Use multiple registers to move data in
15624 loop tail.
15625
8f5b00d3
JM
156262018-05-10 Joseph Myers <joseph@codesourcery.com>
15627
15628 * math/math-underflow.h: New file.
15629 * sysdeps/generic/math_private.h: Do not include <float.h>.
15630 (fabs_tg): Remove macro. Moved to math-underflow.h.
15631 (min_of_type_f): Likewise.
15632 (min_of_type_): Likewise.
15633 (min_of_type_l): Likewise.
15634 (min_of_type_f128): Likewise.
15635 (min_of_type): Likewise.
15636 (math_check_force_underflow): Likewise.
15637 (math_check_force_underflow_nonneg): Likewise.
15638 (math_check_force_underflow_complex): Likewise.
15639 * math/e_exp2_template.c: Include <math-underflow.h>.
15640 * math/k_casinh_template.c: Likewise.
15641 * math/s_catan_template.c: Likewise.
15642 * math/s_catanh_template.c: Likewise.
15643 * math/s_ccosh_template.c: Likewise.
15644 * math/s_cexp_template.c: Likewise.
15645 * math/s_clog10_template.c: Likewise.
15646 * math/s_clog_template.c: Likewise.
15647 * math/s_csin_template.c: Likewise.
15648 * math/s_csinh_template.c: Likewise.
15649 * math/s_csqrt_template.c: Likewise.
15650 * math/s_ctan_template.c: Likewise.
15651 * math/s_ctanh_template.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15653 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15660 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15667 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15670 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15672 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15673 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15674 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15675 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15678 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15679 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15681 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15682 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15683 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15720 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15722 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15730 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15732 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15736
9ed2e15f
JM
157372018-05-09 Joseph Myers <joseph@codesourcery.com>
15738
15739 * sysdeps/generic/math-barriers.h: New file.
15740 * sysdeps/generic/math_private.h [!math_opt_barrier]
15741 (math_opt_barrier): Move to math-barriers.h.
15742 [!math_opt_barrier] (math_force_eval): Likewise.
15743 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15744 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15745 math-barriers.h.
15746 (math_force_eval): Likewise.
15747 * sysdeps/alpha/fpu/math-barriers.h: New file.
15748 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15749 math-barriers.h.
15750 (math_force_eval): Likewise.
15751 * sysdeps/x86/fpu/math-barriers.h: New file.
15752 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15753 math-barriers.h.
15754 (math_force_eval): Likewise.
15755 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15756 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15757 multiple-include guard for rename.
15758 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15759 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15760 math-barriers.h.
15761 (math_force_eval): Likewise.
15762
5460617d
PP
157632018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15764
15765 [BZ #22786]
43d4f3d5 15766 CVE-2018-11236
5460617d
PP
15767 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15768 computation.
15769 * stdlib/Makefile (test-bz22786): New test.
15770 * stdlib/test-bz22786.c: New test.
15771
aaee3cd8
JM
157722018-05-09 Joseph Myers <joseph@codesourcery.com>
15773
15774 * include/math-narrow-eval.h: New file. Contents moved from ....
15775 * sysdeps/generic/math_private.h: ... here.
15776 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15777 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15778 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15779 * stdlib/strtod_l.c: Likewise.
15780 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15781 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15782 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15786 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15788 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15791 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15795 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15796 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15797 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15798 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15799 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15800 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15801 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15802 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15803 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15804 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15805 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15806 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15807 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15809
0555c477
AS
158102018-05-08 Andreas Schwab <schwab@suse.de>
15811
15812 * sysdeps/nptl/internaltypes.h: Fix comment.
15813
50d7d351
L
158142018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15815
15816 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15817 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15818 hidden.
15819
543477f7
SP
158202018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15821
15822 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15823 of I into loop header.
15824 * benchtests/bench-memmove-walk.c
15825 (test_main): Likewise.
15826
158272018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
15828
15829 Revert:
15830 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15831 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15832
0065aaaa
PP
158332018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15834
15835 [BZ #20419]
15836 * elf/dl-load.c (open_verify): Fix stack overflow.
15837 * elf/Makefile (tst-big-note): New test.
15838 * elf/tst-big-note-lib.S: New.
15839 * elf/tst-big-note.c: New.
15840
b289cd9d
JM
158412018-05-04 Joseph Myers <joseph@codesourcery.com>
15842
15843 * scripts/abilist.awk: Ignore absolute symbols.
15844 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15845 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15846 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15847 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15848 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15849 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15850 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15851 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15852 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15853 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15854 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15855 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15936 Likewise.
15937 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15950 Likewise.
15951 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15978 Likewise.
15979 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15999 Likewise.
16000 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16023 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16024 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16032 Likewise.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16038 Likewise.
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16040 Likewise.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16043 Likewise.
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16046 Likewise.
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16048 Likewise.
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16052 Likewise.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16054 Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16056 Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16061 Likewise.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16068 Likewise.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16071 Likewise.
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16073 Likewise.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16075 Likewise.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16077 Likewise.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16081 Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16083 Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16085 Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16089 Likewise.
16090 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16095 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16096 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16097 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16099 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16100 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16104 Likewise.
16105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16108 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16109 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16113 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16117 Likewise.
16118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16143 Likewise.
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16157 Likewise.
16158 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16168 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16169 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16196
16609018
SL
161972018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16198
16199 [BZ #23137]
16200 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16201 Use atomic_load_acquire to load __tid.
16202
556f5c46
L
162032018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16204
16205 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16206 Restore the pointer into %rdx, after syscall and use %rdx,
16207 instead of %rsi, to restore context.
16208
8b8f32b2
L
162092018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16210
16211 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16212 Pop the pointer into %rdx after syscall and use %rdx, instead
16213 of %rsi, to restore context.
16214
d6cc1829
L
162152018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16216
16217 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16218 handlers after setjmp.
16219 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16220 defined.
16221 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16222 <libc-pointer-arith.h>.
16223 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16224 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16225 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16226 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16227 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16228 * sysdeps/x86/__longjmp_cancel.S: New file.
16229 * sysdeps/x86/longjmp.c: Likewise.
16230 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16231
cf2478d5
AZ
162322018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16233
16234 * NEWS: Add ustat.h deprecation entry.
16235 * bits/ustat.h: Remove file.
16236 * misc/sys/ustat.h: Likewise.
16237 * misc/ustat.h: Likewise.
16238 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16239 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16240 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16241 compatibility mode.
16242 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16243 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16244 generic Linux implementation.
16245
dc115e1c
TMQMF
162462018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16247
16248 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16249 * math/w_expl_compat.c: Likewise.
16250 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16251
6b5c8607 162522018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
16253
16254 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16255
c57bf7c1
AZ
162562018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16257
16258 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16259 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16260 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16261 Remove.
16262 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16265 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16266 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16267 and SYSCALL_LL64.
16268
06135c33
TMQMF
162692018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16270
33927914
TMQMF
16271 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16272
06135c33
TMQMF
16273 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16274 * math/w_asin_template.c: Likewise.
16275 * math/w_atanh_template.c: Likewise.
16276
3a33b069
GG
162772018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16278
16279 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16280 to powerpc/powerpc64/be for big-endian.
16281 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16282 little-endian.
16283
16284 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16285 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16286 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16287 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16288 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16289 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16290 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16291 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16292 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16293 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16294 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16295 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16296 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16297 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16298 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16299 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16300 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16301 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16302 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16303 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16304 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16305 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16306 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16307 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16308 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16309 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16310 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16311 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16312 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16313 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16314 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16315 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16316
16317 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16318 adjusted to imply powerpc64 and older processors on powerpc64/be.
16319 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16320 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16321 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16322 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16323 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16324 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16325 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16326 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16327 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16328 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16329 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16330 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16331 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16332 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16333 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16334 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16335 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16336 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16337 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16338 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16339 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16340 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16341 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16342 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16343 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16344 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16345 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16346 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16347 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16348 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16349 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16350
16351 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16352 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16353 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16354 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16355
16356 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16357 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16358 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16359 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16360
16361 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16362 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16363 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16364 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16365 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16366 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16367 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16368 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16369 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16370 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16371 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16372
16373 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16374 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16375 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16376 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16377 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16378 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16379 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16380 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16381 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16382 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16383 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16384
16385 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16386 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16387 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16388 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16389 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16390 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16391 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16393 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16395 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16397
16398 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16399 and adjusted to imply olders processors.
16400 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16401 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16402 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16403 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16404 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16405 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16406 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16407 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16408 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16409 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16410 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16411
16412 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16413 powerpc64/le.
16414 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16416
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16418 powerpc64le.
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16421
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16423 powerpc64/be.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16427
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16429 powerpc64 and adjusted.
16430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16433 Likewise.
16434
a3fb6b6b
JM
164352018-04-27 Joseph Myers <joseph@codesourcery.com>
16436
16437 * sysdeps/tile: Remove.
16438 * sysdeps/unix/sysv/linux/tile: Likewise.
16439 * README (tilegx-*-linux-gnu): Remove from list of supported
16440 configurations.
16441 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16442 contribution of support for generic Linux kernel syscall
16443 interface.
16444 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16445 tilegx configurations.
16446 (Config.install_linux_headers): Do not handle tile.
16447 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16448 in comment.
16449 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16450 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16451 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16452 conditional undefine and redefine.
16453 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16454 in comment.
16455 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16456 conditional undefine and redefine.
16457
7a6f7478
AJ
164582018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16459
16460 * signal/tst-sigaction.c: New file to test BZ #23069.
16461 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16462
81b49e96
TMQMF
164632018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16464
16465 [BZ #22766]
16466 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16467 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16468 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16469 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16470
7d80f48e
AZ
164712018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16472
16473 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16474 _DIRENT_MATCHES_DIRENT64 is not defined.
16475 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16476 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16477 is defined.
16478 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16479 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16480
42a2bf58
JM
164812018-04-25 Joseph Myers <joseph@codesourcery.com>
16482
16483 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16484 version to GCC 8 branch.
16485
9320ca88
JM
164862018-04-24 Joseph Myers <joseph@codesourcery.com>
16487
5e14bb97
JM
16488 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16489 (check_no_hidden): Use type of original function when declaring
16490 alias.
16491
9320ca88
JM
16492 * sysdeps/unix/sysv/linux/sys/ptrace.h
16493 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16494 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16495 (struct __ptrace_seccomp_metadata): New type.
16496 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16497 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16498 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16499 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16500 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16501 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16503 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16505 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16507 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16508 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16509 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16510 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16511 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16512
af7e376b
AZ
165132018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16514
16515 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16516 defined.
16517 * dirent/versionsort.c (versionsort): Likewise.
16518 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16519 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16520 * dirent/versionsort64.c (versionsort64): Likewise.
16521 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16522 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16523 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16524 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16525 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16526 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16527 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16528 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16529 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16530 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16533 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16534 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16535
da5e0361
JM
165362018-04-23 Joseph Myers <joseph@codesourcery.com>
16537
16538 * elf/elf.h (NT_PPC_PKEY): New macro.
16539
6b5c8607 165402018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
16541
16542 [BZ #23094]
16543 * localedata/locales/hr_HR: fix thousands_sep and
16544 mon_thousands_sep
16545
573963e3
JM
165462018-04-20 Joseph Myers <joseph@codesourcery.com>
16547
16548 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16549 (XTABS): Define to TAB3.
16550
c0123b3b
AZ
165512018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16552
0900a849
AZ
16553 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16554
c0123b3b
AZ
16555 * dirent/scandir-tail-common.c: New file.
16556 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16557 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16558 * dirent/scandir.c: Use scandir-tail-common.c.
16559 * dirent/scandirat.c: Likewise.
16560 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16561 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16562 if _DIRENT_MATCHES_DIRENT64 is defined.
16563 * dirent/scandirat64.c (scandirat64): Likewise.
16564 * include/dirent.h (__scandir_tail): Only define iff
16565 _DIRENT_MATCHES_DIRENT64 is not defined.
16566 (__scandir64_tail): Define regardless.
16567 (__scandirat, scandirat64): Remove libc_hidden_proto.
16568 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16569 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16571 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16573 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16574 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16575
458b94f6
JM
165762018-04-20 Joseph Myers <joseph@codesourcery.com>
16577
16578 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16579 New macro.
16580 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16581 Increase to 24.
16582 (_dl_aarch64_cap_flags): Add asimdfhm.
16583
9f0437e8
CLT
165842018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16585
16586 * sysdeps/nios2/libm-test-ulps: Update.
16587
298d0e31
AZ
165882018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16589
50511ca4
AZ
16590 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16591 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16592
298d0e31
AZ
16593 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16594 requirements.
6b5c8607 16595 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
16596 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16597 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16598 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16599 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16600 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16601 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16602 use getdents64 syscalls as base.
16603 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16604 symbol if required.
16605 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16606 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16607 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16608 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16609 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16610 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16611 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16612 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16614 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16615 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16616
0085be14
SL
166172018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16618
16619 * scripts/test_printers_common.py (init_test): Disable lock elision.
16620
da796524
SL
166212018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16622
16623 * math/test-tgmath.c (count_double, count_float,
16624 count_ldouble, count_cdouble, count_cfloat,
16625 count_cldouble): Use volatile int.
16626
0dd25301
ST
166272018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16628
16629 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16630 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 16631 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
16632 i386-gnu.
16633 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16634 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16635 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16636 msqid_ds.msg_lrpid): Likewise.
16637 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16638 Likewise.
16639 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16640 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
16641 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16642 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16643 unsigned int.
16644 (struct statvfs64): Likewise.
f55a4fde
ST
16645 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16646 Likewise.
77b93390
ST
16647 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16648 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16649 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16650 instead of wait_queue.
16651 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16652 instead of vm_area_struct.
5cd2931a
ST
16653 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16654 struct sched_param definition to it.
e60c3f2b
ST
16655 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16656 * bits/types/struct_sched_param.h: New file.
16657 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16658 <bits/types/struct_sched_param.h> instead of <sched.h>.
16659 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
16660 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16661 generic version but include <bits/pthreadtypes.h> to make struct
16662 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
16663 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16664 non-compliant.
a564872d
ST
16665 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16666 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16667 [__USE_XOPEN] (OFDEL): New macro.
16668 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 16669 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
16670 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16671 prototypes.
16672 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16673 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
16674 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16675 non-compliant.
16676 * sysdeps/i386/sys/ucontext.h: Likewise.
16677 * sysdeps/m68k/sys/ucontext.h: Likewise.
16678 * sysdeps/mips/sys/ucontext.h: Likewise.
16679 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
16680 * sysdeps/mach/hurd/i386/Makefile
16681 (test-xfail-POSIX/fcntl.h/conform): Add.
16682 (test-xfail-POSIX/signal.h/conform): Add.
16683 (test-xfail-POSIX/semaphore.h/conform): Add.
16684 (test-xfail-POSIX/regex.h/conform): Add.
16685 (test-xfail-POSIX/aio.h/conform): Add.
16686 (test-xfail-POSIX/mqueue.h/conform): Add.
16687 (test-xfail-POSIX/sys/types.h/conform): Add.
16688 (test-xfail-UNIX98/fcntl.h/conform): Add.
16689 (test-xfail-UNIX98/netdb.h/conform): Add.
16690 (test-xfail-UNIX98/signal.h/conform): Add.
16691 (test-xfail-UNIX98/semaphore.h/conform): Add.
16692 (test-xfail-UNIX98/regex.h/conform): Add.
16693 (test-xfail-UNIX98/aio.h/conform): Add.
16694 (test-xfail-UNIX98/ftw.h/conform): Add.
16695 (test-xfail-UNIX98/mqueue.h/conform): Add.
16696 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16697 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16698 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16699 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16700 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16701 (test-xfail-UNIX98/sys/types.h/conform): Add.
16702 (test-xfail-UNIX98/stdlib.h/conform): Add.
16703 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16704 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16705 (test-xfail-POSIX2008/netdb.h/conform): Add.
16706 (test-xfail-POSIX2008/signal.h/conform): Add.
16707 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16708 (test-xfail-POSIX2008/regex.h/conform): Add.
16709 (test-xfail-POSIX2008/aio.h/conform): Add.
16710 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16711 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16712 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16713 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16714 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16715 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16716 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16717 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16718 (test-xfail-XOPEN2K/signal.h/conform): Add.
16719 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16720 (test-xfail-XOPEN2K/regex.h/conform): Add.
16721 (test-xfail-XOPEN2K/aio.h/conform): Add.
16722 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16723 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16724 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16725 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16726 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16727 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16728 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16729 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16730 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16731 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16732 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16733 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16734 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16735 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16736 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16737 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16738 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16739 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16740 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16741 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16742 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16743 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16744 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16745 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16746 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16747 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
16748 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16749 i386-gnu.
16750 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16751 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 16752
d6397de3
JM
167532018-04-18 Joseph Myers <joseph@codesourcery.com>
16754
16755 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16756 --enable-obsolete for powerpc-linux-gnuspe.
16757
8323a902
ST
167582018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16759
3dc0814c 16760 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 16761 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 16762 prototypes.
c5896a45
ST
16763 * sysdeps/mach/include/mach.h: Likewise.
16764 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16765 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 16766
743b9c2a
AZ
167672018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16768
16769 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16770 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16771 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16772 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16773
326e74e7
AS
167742018-04-16 Andreas Schwab <schwab@suse.de>
16775
16776 [BZ #19527]
16777 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16778
6b5c8607 167792018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
16780
16781 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16782 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16783
a700e7cb
DD
167842018-04-12 DJ Delorie <dj@redhat.com>
16785
16786 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16787 version to 4.16.
16788
d8abfab7
SL
167892018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16790
16791 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16792 (struct kernel_sigaction): Use the same definition on 31bit as is used
16793 on 64bit.
16794
583a27d5
FW
167952018-04-09 Florian Weimer <fweimer@redhat.com>
16796
16797 [BZ #23037]
16798 * resolv/res_send.c (send_dg): Use designated initializers instead
16799 of assignment to zero-initialize other fields of struct mmsghdr.
16800
243f59e5
AZ
168012018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16802
942de61a
AZ
16803 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16804 __READDIR_ALIAS): Undefine after usage.
16805 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16806 __READDIR_R_ALIAS): Likewise.
16807 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16808 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16809 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16810 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16811 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16812 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16813 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16814 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16815 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16816 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16817 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16818 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16819 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16820 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16821 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16822 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16823 * sysdeps/unix/sysv/linux/readdir.c: New file.
16824 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16825 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16826 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16827
243f59e5
AZ
16828 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16829
690c3475
AS
168302018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16831
16832 * manual/charset.texi (Converting a Character): Fix typo.
16833
6b5c8607 168342018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 16835
bbc2062a
AZ
16836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16837
fa7c6199
AZ
16838 * sysdeps/arm/libm-test-ulps: Update.
16839
b4a5d26d
AZ
16840 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16841 as base implementation.
16842 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16843 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16846 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16847 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16848 remove unrequired definitions and update comments.
16849 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16850 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16851 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16852 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16853 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16854 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16855 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16856 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16858 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16859 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16860 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16861 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16862 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16863 and RESET_SA_RESTORER hooks.
16864
db9e55ff
SL
168652018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16866
16867 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16868
cf138b0c
FW
168692018-04-05 Florian Weimer <fweimer@redhat.com>
16870
16871 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16872 integer overflow, memory leak on error, and indeterminate errno
16873 value. Add a null wide character to terminate the result string.
16874 * manual/charset.texi (Converting a Character): Mention embedded
16875 null bytes in the mbrtowc input string. Explain what happens in
16876 the -2 result case. Do not claim that mbrtowc is simple or
16877 obvious to use. Adjust the description of the code example. Use
16878 @code, not @var, for concrete variables.
16879
0f339252
FW
168802018-04-05 Florian Weimer <fweimer@redhat.com>
16881
16882 * manual/examples/mbstouwcs.c: New file.
16883 * manual/charset.texi (Converting a Character): Include it.
16884
e5f9508a
ST
168852018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16886
c120981d
ST
16887 * include/dirent.h (dirfd): Add hidden proto.
16888 * dirent/dirfd.c (dirfd): Add hidden def.
16889 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16890 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 16891
b2fd61ca
TMQMF
168922018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16893
16894 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16895 sin, cos and sincos to 1 ULP.
16896
10a446dd
MR
168972018-04-04 Maciej W. Rozycki <macro@mips.com>
16898
e7feec37
MR
16899 [BZ #19818]
16900 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16901 symbols.
16902 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16903 * elf/tst-absolute-sym.c: New file.
16904 * elf/tst-absolute-sym-lib.c: New file.
16905 * elf/tst-absolute-sym-lib.lds: New file.
16906 * elf/Makefile (tests): Add `tst-absolute-sym'.
16907 (modules-names): Add `tst-absolute-sym-lib'.
16908 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16909 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16910 ($(objpfx)tst-absolute-sym): New dependency.
16911
10a446dd
MR
16912 [BZ #19818]
16913 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16914 parameter.
16915 (SYMBOL_ADDRESS): New macro.
16916 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16917 SYMBOL_ADDRESS for symbol address calculation.
16918 * elf/dl-runtime.c (_dl_fixup): Likewise.
16919 (_dl_profile_fixup): Likewise.
16920 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16921 * elf/rtld.c (dl_main): Likewise.
16922 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16923 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16924 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16925 (elf_machine_rela): Likewise.
16926 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16927 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16929 (elf_machine_rela): Likewise.
16930 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16931 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16932 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16933 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16934 Likewise.
16935 (elf_machine_reloc): Likewise.
16936 (elf_machine_got_rel): Likewise.
16937 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16938 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16939 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16940 Likewise.
16941 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16942 Likewise.
16943 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16944 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16945 Likewise.
16946 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16947 Likewise.
16948 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16950 Likewise.
16951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16952 Likewise.
16953 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16955
9185f86d
ZW
169562018-04-04 Zack Weinberg <zackw@panix.com>
16957
16958 * sysdeps/generic/internal-signals.h: Include signal.h,
16959 sigsetops.h, and stdbool.h.
16960 (__libc_signal_block_all): Actually block all signals.
16961 (__libc_signal_block_app): Likewise.
16962 (__libc_signal_restore_set): Actually restore the signal mask.
16963
b07367bc
FW
169642018-04-04 Florian Weimer <fweimer@redhat.com>
16965
16966 inet: Actually build and run tst-deadline.
16967 * inet/Makefile (tests-internal): Add tst-deadline and do not
16968 overwrite the variable.
16969 (tests-static-internal): Remove variable.
16970
f2652643
L
169712018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16972
16973 [BZ #22947]
16974 * bits/uio-ext.h (RWF_APPEND): New.
16975 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16976 * manual/llio.texi: Document RWF_APPEND.
16977 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16978 (RWF_SUPPORTED): Add RWF_APPEND.
16979
6b5c8607 169802018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
16981
16982 [BZ #22391]
16983 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16984 check for internal nptl signals.
16985 * nptl/sigaction.c (__sigaction): Likewise.
16986 * signal/sigaddset.c (sigaddset): Likewise.
16987 * signal/sigdelset.c (sigdelset): Likewise.
16988 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16989 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16990 value.
16991 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16992 to filter out internal nptl signals.
16993 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16994 also check realtime signals using standard macros.
16995 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16996 __is_internal_signal, __libc_signal_block_all,
16997 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16998 * sysdeps/nptl/sigfillset.c: Remove file.
16999 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17000 Change return to bool.
17001 (__clear_internal_signals): Remove SIGTIMER clean since it is
17002 equal to SIGCANEL on Linux.
17003 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17004 signal set was constructed using standard functions.
17005
511ed56f
ST
170062018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17007
92846492
ST
17008 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17009 ifname is too long.
e8ef51b1
ST
17010 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17011 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
17012 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17013 hidden def.
17014 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
17015 * signal/sigaddset.c: Include <sigsetopts.h>.
17016 * signal/sigdelset.c: Likewise.
511ed56f 17017
e88ecbbf
WD
170182018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17019
17020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17021 (__cos): Likewise.
17022 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17023 logic as sin and cos.
17024
aef3e255
WD
170252018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17026
17027 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17028 inputs. Return correct sign.
17029 (do_sincos): Remove small input check before do_sin, let do_sin set
17030 the sign.
17031 (__sin): Likewise.
17032 (__cos): Likewise.
17033
72f6e9a3
WD
170342018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17035
17036 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17037 (do_cos_slow): Likewise.
17038 (do_sin_slow): Likewise.
17039 (reduce_and_compute): Likewise.
17040 (slow): Likewise.
17041 (slow1): Likewise.
17042 (slow2): Likewise.
17043 (sloww): Likewise.
17044 (sloww1): Likewise.
17045 (sloww2): Likewise.
17046 (bslow): Likewise.
17047 (bslow1): Likewise.
17048 (bslow2): Likewise.
17049 (cslow2): Likewise.
17050
64909583
WD
170512018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17052
17053 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17054 (do_cos): Remove corp parameter and calculations.
17055 (do_sin): Likewise.
17056 (do_sincos): Remove cor variable.
17057 (__sin): Use do_sincos for huge inputs.
17058 (__cos): Likewise.
17059 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17060 (reduce_and_compute_sincos): Remove unused function.
17061
d9469deb
WD
170622018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17063
17064 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17065 reduce_sincos, improve accuracy to 136 bits.
17066 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17067 (__sin): Use improved reduction and simplified do_sincos calculation.
17068 (__cos): Likewise.
17069 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17070
7a5640f2
WD
170712018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17072
17073 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17074 (do_sincos_2): Likewise.
17075 (__sin): Remove middle range reduction case.
17076 (__cos): Likewise.
17077 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17078 reduction case.
17079
19a8b9a3
WD
170802018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17081
17082 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17084 inputs.
17085 (__cos): Likewise.
17086 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17087
f72aa11d
JM
170882018-04-03 Joseph Myers <joseph@codesourcery.com>
17089
17090 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 17091 version to 4.16
f72aa11d 17092
8e4754ed
AZ
170932018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17094
17095 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17096 Remove definitions.
17097 (opendir_oflags): Use O_DIRECTORY regardless.
17098 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17099 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17100
8e2666ea
ST
171012018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17102
17103 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17104 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17105 macros.
17106 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17107 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17108 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17109 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
17110 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17111 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 17112
ad2b41bf
ST
17113 * htl/Makefile: Bump licence to LGPL 2.1+.
17114 * htl/alloca_cutoff.c: Likewise.
17115 * htl/cthreads-compat.c: Likewise.
17116 * htl/lockfile.c: Likewise.
17117 * htl/pt-alloc.c: Likewise.
17118 * htl/pt-cancel.c: Likewise.
17119 * htl/pt-cleanup.c: Likewise.
17120 * htl/pt-create.c: Likewise.
17121 * htl/pt-dealloc.c: Likewise.
17122 * htl/pt-detach.c: Likewise.
17123 * htl/pt-exit.c: Likewise.
17124 * htl/pt-getattr.c: Likewise.
17125 * htl/pt-initialize.c: Likewise.
17126 * htl/pt-internal.h: Likewise.
17127 * htl/pt-join.c: Likewise.
17128 * htl/pt-self.c: Likewise.
17129 * htl/pt-setcancelstate.c: Likewise.
17130 * htl/pt-setcanceltype.c: Likewise.
17131 * htl/pt-sigmask.c: Likewise.
17132 * htl/pt-spin-inlines.c: Likewise.
17133 * htl/pt-testcancel.c: Likewise.
17134 * htl/pt-yield.c: Likewise.
17135 * htl/tests/test-1.c: Likewise.
17136 * htl/tests/test-10.c: Likewise.
17137 * htl/tests/test-11.c: Likewise.
17138 * htl/tests/test-12.c: Likewise.
17139 * htl/tests/test-13.c: Likewise.
17140 * htl/tests/test-14.c: Likewise.
17141 * htl/tests/test-15.c: Likewise.
17142 * htl/tests/test-16.c: Likewise.
17143 * htl/tests/test-17.c: Likewise.
17144 * htl/tests/test-2.c: Likewise.
17145 * htl/tests/test-3.c: Likewise.
17146 * htl/tests/test-4.c: Likewise.
17147 * htl/tests/test-5.c: Likewise.
17148 * htl/tests/test-6.c: Likewise.
17149 * htl/tests/test-7.c: Likewise.
17150 * htl/tests/test-8.c: Likewise.
17151 * htl/tests/test-9.c: Likewise.
17152 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17153 * sysdeps/htl/bits/cancelation.h: Likewise.
17154 * sysdeps/htl/bits/pthread-np.h: Likewise.
17155 * sysdeps/htl/bits/pthread.h: Likewise.
17156 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17157 * sysdeps/htl/bits/semaphore.h: Likewise.
17158 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17159 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17160 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17161 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17162 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17163 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17164 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17165 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17166 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17167 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17168 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17169 * sysdeps/htl/old_pt-atfork.c: Likewise.
17170 * sysdeps/htl/pt-atfork.c: Likewise.
17171 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17172 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17173 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17174 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17175 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17176 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17177 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17178 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17179 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17180 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17181 * sysdeps/htl/pt-attr-init.c: Likewise.
17182 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17183 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17184 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17185 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17186 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17187 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17188 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17189 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17190 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17191 * sysdeps/htl/pt-attr.c: Likewise.
17192 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17193 * sysdeps/htl/pt-barrier-init.c: Likewise.
17194 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17195 * sysdeps/htl/pt-barrier.c: Likewise.
17196 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17197 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17198 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17199 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17200 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17201 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17202 * sysdeps/htl/pt-cond-init.c: Likewise.
17203 * sysdeps/htl/pt-cond-signal.c: Likewise.
17204 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17205 * sysdeps/htl/pt-cond-wait.c: Likewise.
17206 * sysdeps/htl/pt-cond.c: Likewise.
17207 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17208 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17209 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17210 * sysdeps/htl/pt-condattr-init.c: Likewise.
17211 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17212 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17213 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17214 * sysdeps/htl/pt-equal.c: Likewise.
17215 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17216 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17217 * sysdeps/htl/pt-getschedparam.c: Likewise.
17218 * sysdeps/htl/pt-getspecific.c: Likewise.
17219 * sysdeps/htl/pt-init-specific.c: Likewise.
17220 * sysdeps/htl/pt-key-create.c: Likewise.
17221 * sysdeps/htl/pt-key-delete.c: Likewise.
17222 * sysdeps/htl/pt-key.h: Likewise.
17223 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17224 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17225 * sysdeps/htl/pt-mutex-init.c: Likewise.
17226 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17227 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17228 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17229 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17230 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17231 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17232 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17233 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17234 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17235 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17236 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17237 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17238 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17239 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17240 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17241 * sysdeps/htl/pt-mutexattr.c: Likewise.
17242 * sysdeps/htl/pt-once.c: Likewise.
17243 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17244 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17245 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17246 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17247 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17248 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17249 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17250 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17251 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17252 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17253 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17254 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17255 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17256 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17257 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17258 * sysdeps/htl/pt-setschedparam.c: Likewise.
17259 * sysdeps/htl/pt-setschedprio.c: Likewise.
17260 * sysdeps/htl/pt-setspecific.c: Likewise.
17261 * sysdeps/htl/pt-spin.c: Likewise.
17262 * sysdeps/htl/pt-startup.c: Likewise.
17263 * sysdeps/htl/pthread.h: Likewise.
17264 * sysdeps/htl/sem-close.c: Likewise.
17265 * sysdeps/htl/sem-destroy.c: Likewise.
17266 * sysdeps/htl/sem-getvalue.c: Likewise.
17267 * sysdeps/htl/sem-init.c: Likewise.
17268 * sysdeps/htl/sem-open.c: Likewise.
17269 * sysdeps/htl/sem-post.c: Likewise.
17270 * sysdeps/htl/sem-timedwait.c: Likewise.
17271 * sysdeps/htl/sem-trywait.c: Likewise.
17272 * sysdeps/htl/sem-unlink.c: Likewise.
17273 * sysdeps/htl/sem-wait.c: Likewise.
17274 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17275 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17276 * sysdeps/mach/htl/pt-block.c: Likewise.
17277 * sysdeps/mach/htl/pt-spin.c: Likewise.
17278 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17279 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17280 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17281 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17282 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17283 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17284 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17285 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17286 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17287 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17288 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17289 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17290 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17291 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17292 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17293 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17294 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17295 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17296 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17297 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17298 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17299 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17300 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17301 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17302 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17303 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17304 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17305 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17306 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17307 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17308 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17309 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17310 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17311 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17312 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17313 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17314 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17315 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17316 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17317 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17318 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17319 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17320 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17321
fb03b04b
ST
17322 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17323 * README: Remove the mention of out-of-tree patches needed for
17324 GNU/Hurd.
17325
fa9e1555
ST
17326 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17327 (UTIME_NOW, UTIME_OMIT): Define macros.
17328
f6fb29d2
ST
17329 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17330 instead of pthread_detach.
17331 (__cthread_fork): Call __pthread_create instead of pthread_create.
17332 (__cthread_keycreate): Call __pthread_key_create instead of
17333 pthread_key_create.
17334 (__cthread_getspecific): Call __pthread_getspecific instead of
17335 pthread_getspecific.
17336 (__cthread_setspecific): Call __pthread_setspecific instead of
17337 pthread_setspecific.
17338 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17339 __pthread_mutex_unlock instead of pthread_mutex_lock and
17340 pthread_mutex_unlock.
17341 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17342 ___pthread_get_cleanup_stack.
17343 (__pthread_get_cleanup_stack): New strong alias.
17344 * htl/pt-create.c: Include <pthreadP.h>.
17345 (entry_point): Call __pthread_exit instead of pthread_exit.
17346 (pthread_create): Rename to __pthread_create.
17347 (pthread_create): New strong alias.
17348 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17349 (pthread_detach): New strong alias.
17350 (__pthread_detach): Call __pthread_cond_broadcast instead of
17351 pthread_cond_broadcast.
fe9748cc
ST
17352 * htl/pt-exit.c: Include <pthreadP.h>.
17353 (__pthread_exit): Call __pthread_setcancelstate and
17354 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17355 __pthread_get_cleanup_stack.
f6fb29d2
ST
17356 * htl/pt-testcancel.c: Include <pthreadP.h>.
17357 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17358 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17359 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17360 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17361 pthread_attr_getstacksize.
17362 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17363 Rename to __pthread_attr_getstackaddr.
17364 (pthread_attr_getstackaddr): New strong alias.
17365 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17366 Rename to __pthread_attr_getstacksize.
17367 (pthread_attr_getstacksize): New strong alias.
17368 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17369 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17370 (pthread_attr_setstack): New strong alias.
17371 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17372 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17373 pthread_attr_getstacksize, pthread_attr_setstacksize and
17374 pthread_attr_setstackaddr.
17375 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17376 Rename to __pthread_attr_setstackaddr.
17377 (pthread_attr_setstackaddr): New strong alias.
17378 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17379 Rename to __pthread_attr_setstacksize.
17380 (pthread_attr_setstacksize): New strong alias.
17381 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17382 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17383 pthread_exit.
17384 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17385 (__pthread_key_create): New hidden def.
17386 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17387 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17388 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17389 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17390 __pthread_setspecific, __pthread_setcancelstate,
17391 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17392 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17393 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17394 declarations.
17395 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17396 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17397 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17398 (pthread_attr_setstackaddr): New strong alias.
17399 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17400 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17401 (pthread_attr_setstacksize): New strong alias.
17402 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17403 (call_exit): Call __pthread_exit instead of pthread_exit.
17404 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17405 (_pthread_mutex_init): New hidden definition.
17406 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17407 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17408 instead of pthread_attr_init and pthread_attr_setstack.
17409
dba2bdbe
ST
17410 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17411 __vm_deallocate instead of vm_allocate and vm_deallocate.
17412 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17413 setenv.
17414 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17415 of geteuid.
17416 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17417 strdup.
17418 * hurd/siginfo.c: Include <libioP.h>.
17419 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17420 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17421 munmap.
dba2bdbe
ST
17422 * mach/devstream.c: Include <libioP.h>.
17423 (dealloc_ref): Call __mach_port_deallocate instead of
17424 mach_port_deallocate.
17425 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17426 Call __mach_port_deallocate instead of mach_port_deallocate.
17427 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17428 pathconf.
17429 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17430 munmap.
17431 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17432 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17433 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17434 of munmap.
17435 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17436 of close.
17437 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17438 instead of sysconf.
17439 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17440 __clock_gettime instead of clock_gettime.
17441 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17442 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17443 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17444 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17445 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17446 tcgetattr.
17447 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17448 __clock_gettime and __nanosleep instead of clock_gettime and
17449 nanosleep.
7a8f45e3
ST
17450 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17451 __hurd_catch_signal.
17452 (hurd_catch_signal): New strong alias.
17453 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17454 __hurd_catch_signal instead of hurd_catch_signal.
17455 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17456 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17457 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17458 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17459 (_hurd_thread_sigstate): Add hidden def.
17460 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17461 mutex_unlock.
17462 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17463 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17464 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17465 __hurd_file_name_path_lookup.
17466 (hurd_file_name_path_lookup): New strong alias.
17467 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17468 hurd_file_name_path_lookup.
17469 * mach/errstring.c (mach_error_type): Add hidden def.
17470 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17471 * mach/mutex-init.c (__mutex_init): Add hidden def.
17472 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17473 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17474 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17475 * sysdeps/mach/hurd/getcwd.c
17476 (_hurd_canonicalize_directory_name_internal): Rename to
17477 __hurd_canonicalize_directory_name_internal.
17478 (_hurd_canonicalize_directory_name_internal): New strong alias.
17479 (__canonicalize_directory_name_internal, __getcwd): Call
17480 __hurd_canonicalize_directory_name_internal instead of
17481 _hurd_canonicalize_directory_name_internal.
17482 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17483 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17484 hidden defs.
17485 * sysdeps/hurd/include/hurd.h: New file.
17486 * sysdeps/hurd/include/hurd/fd.h: New file.
17487 * sysdeps/hurd/include/hurd/signal.h: New file.
17488 * sysdeps/mach/include/lock-intern.h: New file.
17489 * sysdeps/mach/include/mach.h: New file.
17490 * sysdeps/mach/include/mach/mig_support.h: New file.
17491 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
17492 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17493 prototype.
17494 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17495 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17496 _HEADER_H_HIDDEN_DEF macro.
17497 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17498 _hurd_fd_error_signal): Add hidden prototype.
17499 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17500 hidden def.
82dbf555
ST
17501 * libio/iolibio.h (_IO_puts): New hidden prototype.
17502 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
17503 * sysdeps/mach/hurd/localplt.data: New file.
17504
33574c17 175052018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
17506 Amos Jeffries <squid3@treenet.co.nz>
17507 David Michael <fedora.dm0@gmail.com>
17508 Marco Gerards <marco@gnu.org>
17509 Marcus Brinkmann <marcus@gnu.org>
17510 Neal H. Walfield <neal@gnu.org>
17511 Pino Toscano <toscano.pino@tiscali.it>
17512 Richard Braun <rbraun@sceen.net>
17513 Roland McGrath <roland@gnu.org>
17514 Samuel Thibault <samuel.thibault@ens-lyon.org>
17515 Thomas DiModica <ricinwich@yahoo.com>
17516 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
17517
17518 * htl: New directory.
17519 * sysdeps/htl: New directory.
17520 * sysdeps/hurd/htl: New directory.
17521 * sysdeps/i386/htl: New directory.
17522 * sysdeps/mach/htl: New directory.
17523 * sysdeps/mach/hurd/htl: New directory.
17524 * sysdeps/mach/hurd/i386/htl: New directory.
17525 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17526 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17527 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17528
03e2aa50
ST
175292018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17530
17531 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17532 signals in thread created for runing timers.
17533
1aa52ced
FW
175342018-04-01 Florian Weimer <fweimer@redhat.com>
17535
17536 * support/support_format_addrinfo.c (support_format_addrinfo):
17537 Include unknown error number in formatted result.
17538
4d76d3e5
FW
175392018-03-29 Florian Weimer <fweimer@redhat.com>
17540
17541 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17542 capture SIGBUS.
17543
d39c0a45
AZ
175442018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17545
17546 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17547 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17548 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17549 (__ASSUME_CLONE_BACKWARDS): Define.
17550
cc8a1620
JH
175512018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17552
57408435 17553 [BZ #23024]
cc8a1620
JH
17554 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17555 early when linux sentinel value is set.
17556
8bfd94d0
ST
175572018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17558
17559 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17560
f178e59f
AS
175612018-03-27 Andreas Schwab <schwab@suse.de>
17562
17563 [BZ #23005]
17564 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17565 allocation of private copy of nsaddr_list fails.
17566
5f45f96a
JM
175672018-03-26 Joseph Myers <joseph@codesourcery.com>
17568
17569 [BZ #16552]
17570 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17571 * sysdeps/unix/sysv/linux/umount.c: ... here.
17572 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17573 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17574 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17575 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17577 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17578 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17579
3dfd23eb
AS
175802018-03-26 Andreas Schwab <schwab@suse.de>
17581
17582 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17583 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17584 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17585 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17586 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17587 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17588 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17589 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17590 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17591 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17592 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17593 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17594 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17595 (R_RISCV_NUM): Define.
17596
fa97d2ab
ST
175972018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17598
17599 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17600 TLS declaration of errno.
37be82a0
ST
17601 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17602 __libc_setup_tls.
17603 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17604 (ARCH_SETUP_TLS): Likewise.
17605 * sysdeps/mach/hurd/libc-start.h: New file copied from
17606 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
17607 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17608 instead of __libc_setup_tls.
37be82a0 17609 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
17610 __libc_setup_tls before initializing libpthread and running _hurd_init
17611 which starts the signal thread.
17612 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17613 Declare function.
2d813d7b 17614 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 17615
b8114edd
L
176162018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17617
17618 [BZ #22998]
17619 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17620 after it is defined.
17621
cd66c0e5
AS
176222018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17623 Max Horn <max@quendi.de>
17624
17625 [BZ #22644]
43d4f3d5 17626 CVE-2017-18269
cd66c0e5
AS
17627 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17628 branch conditions.
17629 * string/test-memmove.c (do_test2): New testcase.
17630
a4406139
JM
176312018-03-22 Joseph Myers <joseph@codesourcery.com>
17632
17633 * sysdeps/generic/frame.h: Remove file.
17634 * sysdeps/arm/frame.h: Likewise.
17635 * sysdeps/hppa/frame.h: Likewise.
17636 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17637 macro.
17638 (GET_FRAME): Likewise.
17639 (GET_STACK): Likewise.
17640 (CALL_SIGHANDLER): Likewise.
17641 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17642 Likewise.
17643 (GET_FRAME): Likewise.
17644 (GET_STACK): Likewise.
17645 (CALL_SIGHANDLER): Likewise.
17646 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17647 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17648 (GET_FRAME): Likewise.
17649 (GET_STACK): Likewise.
17650 (CALL_SIGHANDLER): Likewise.
17651 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17652 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17653 (GET_FRAME): Likewise.
17654 (GET_STACK): Likewise.
17655 (ADVANCE_STACK_FRAME): Likewise.
17656 (CALL_SIGHANDLER): Likewise.
17657 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17658 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17659 (GET_FRAME): Likewise.
17660 (GET_STACK): Likewise.
17661 (CALL_SIGHANDLER): Likewise.
17662 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17663 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17664 (GET_FRAME): Likewise.
17665 (GET_STACK): Likewise.
17666 (CALL_SIGHANDLER): Likewise.
17667 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17668 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17669 (GET_FRAME): Likewise.
17670 (GET_STACK): Likewise.
17671 (CALL_SIGHANDLER): Likewise.
17672 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17673 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17674 (GET_FRAME): Likewise.
17675 (GET_STACK): Likewise.
17676 (CALL_SIGHANDLER): Likewise.
17677 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17678 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17679 (GET_FRAME): Likewise.
17680 (GET_STACK): Likewise.
17681 (CALL_SIGHANDLER): Likewise.
17682 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17683 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17684 (GET_FRAME): Likewise.
17685 (GET_STACK): Likewise.
17686 (CALL_SIGHANDLER): Likewise.
17687 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17688 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17689 (GET_FRAME): Likewise.
17690 (GET_STACK): Likewise.
17691 (CALL_SIGHANDLER): Likewise.
17692 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17693 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17694 (GET_FRAME): Likewise.
17695 (GET_STACK): Likewise.
17696 (CALL_SIGHANDLER): Likewise.
17697 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17698 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17699 (GET_FRAME): Likewise.
17700 (GET_STACK): Likewise.
17701 (CALL_SIGHANDLER): Likewise.
17702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17703 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17704 (FIRST_FRAME_POINTER): Likewise.
17705 (ADVANCE_STACK_FRAME): Likewise.
17706 (GET_STACK): Likewise.
17707 (GET_FRAME): Likewise.
17708 (CALL_SIGHANDLER): Likewise.
17709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17710 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17711 (ADVANCE_STACK_FRAME): Likewise.
17712 (GET_STACK): Likewise.
17713 (GET_FRAME): Likewise.
17714 (CALL_SIGHANDLER): Likewise.
17715 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17716 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17717 (GET_FRAME): Likewise.
17718 (GET_STACK): Likewise.
17719 (CALL_SIGHANDLER): Likewise.
17720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17721 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17722 (GET_FRAME): Likewise.
17723 (GET_STACK): Likewise.
17724 (CALL_SIGHANDLER): Likewise.
17725
ffec7b27
JM
177262018-03-21 Joseph Myers <joseph@codesourcery.com>
17727
17728 * sysdeps/x86_64/backtrace.c: Move to ....
17729 * debug/backtrace.c: ... here.
17730 * sysdeps/aarch64/backtrace.c: Remove file.
17731 * sysdeps/alpha/backtrace.c: Likewise.
17732 * sysdeps/hppa/backtrace.c: Likewise.
17733 * sysdeps/ia64/backtrace.c: Likewise.
17734 * sysdeps/mips/backtrace.c: Likewise.
17735 * sysdeps/nios2/backtrace.c: Likewise.
17736 * sysdeps/riscv/backtrace.c: Likewise.
17737 * sysdeps/sh/backtrace.c: Likewise.
17738 * sysdeps/tile/backtrace.c: Likewise.
17739
8a07b0c4
JM
177402018-03-20 Joseph Myers <joseph@codesourcery.com>
17741
d0c5d731
JM
17742 [BZ #22987]
17743 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17744 function.
17745 (fdimf): Likewise.
17746 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17747
8a07b0c4
JM
17748 [BZ #17343]
17749 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17750 possibly overflowing computations.
17751
ceb54b9b
ST
177522018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17753
17754 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17755 values from Linux-specific section now that it is in the GNU section.
17756 * sysdeps/gnu/errlist.c: Regenerate.
17757
8d3f9e85
JM
177582018-03-20 Joseph Myers <joseph@codesourcery.com>
17759
17760 * math/Makefile (libm-narrow-fns): Add sub.
17761 (libm-test-funcs-narrow): Likewise.
17762 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17763 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17764 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17765 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17766 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17767 (NARROW_SUB_TRIVIAL): Likewise.
17768 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17769 macro.
17770 (__dsubl): Likewise.
17771 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17772 dsub.
17773 (CFLAGS-nldbl-dsub.c): New variable.
17774 (CFLAGS-nldbl-fsub.c): Likewise.
17775 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17776 __nldbl_dsubl.
17777 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17778 prototype.
17779 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17780 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17781 * math/auto-libm-test-in: Add tests of sub.
17782 * math/auto-libm-test-out-narrow-sub: New generated file.
17783 * math/libm-test-narrow-sub.inc: New file.
17784 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17787 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17788 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17789 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17798 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17799 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17800 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17801 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17803 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17810 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17830
d473f015
JM
178312018-03-19 Joseph Myers <joseph@codesourcery.com>
17832
17833 [BZ #20079]
17834 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17835
fbce6f72
WD
178362018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17837
17838 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17839
72e7ffc3
RB
178402018-03-18 Richard Braun <rbraun@sceen.net>
17841
17842 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17843 thread reference.
17844
542c20a1
AA
178452018-03-18 Agustina Arzille <avarzille@riseup.net>
17846
17847 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17848 (__libc_cleanup_fct): Define function.
17849 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17850 __libc_cleanup_end): Rewrite implementation using
17851 __attribute__ ((__cleanup__)).
17852 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
17853 * hurd/Makefile (routines): Add hurdlock.
17854 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17855 interface.
17856 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17857 * hurd/hurdpid.c: Include <lowlevellock.h>
17858 (_S_msg_proc_newids): Use lll_wait to synchronize.
17859 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17860 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17861 * mach/Makefile (lock-headers): Remove machine-lock.h.
17862 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17863 <machine-lock.h>.
17864 (__spin_lock_t): New type.
17865 (__SPIN_LOCK_INITIALIZER): New macro.
17866 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17867 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17868 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17869 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17870 (__mutex_init): Initialize with lll.
17871 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17872 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17873 needing lll.
17874 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17875 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17876 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17877 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17878 (__setpgid): Use lll for synchronization.
17879 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17880 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17881 instead of <cthreads.h>.
17882 (_IO_lock_inexpensive): New macro
17883 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17884 (__libc_lock_self0): New declaration.
17885 (__libc_lock_owner_self): New macro.
17886 (__libc_key_t): Remove type.
17887 (_LIBC_LOCK_INITIALIZER): New macro.
17888 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17889 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17890 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17891 __libc_lock_define_initialized_recursive,
17892 __rtld_lock_define_initialized_recursive,
17893 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17894 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17895 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17896 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17897 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17898 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17899 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17900 New macros.
17901 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17902 * hurd/hurdlock.c: New file.
17903 * hurd/hurdlock.h: New file.
17904 * mach/lowlevellock.h: New file
542c20a1 17905
9a37922e
ST
179062018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17907
17908 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
17909 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17910 when opening a symlink with O_NOFOLLOW.
72103e73
ST
17911 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17912 path when flags contains O_NOFOLLOW.
17913 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17914 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
17915 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17916 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
17917 * sysdeps/mach/hurd/mlockall.c: New file.
17918 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 17919
34e6a869
ST
179202018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17921
17922 * hurd/hurdsig.c: Include <pthread.h>.
17923 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17924 get the signal thread stack layout.
dc33bef3
ST
17925 * hurd/Makefile (headers): Remove threadvar.h.
17926 (inline-headers): Remove threadvar.h.
17927 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17928 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17929 __hurd_threadvar_max, __hurd_errno_location.
17930 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17931 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17932 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17933 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17934 unless TLS is not initialized yet, in which case we do not need a
17935 critical section yet anyway.
17936 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17937 <machine-sp.h>.
17938 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17939 declarations.
17940 (__hurd_threadvar_index): Remove enum.
17941 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17942 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17943 inlines.
17944 (__hurd_reply_port0): New variable declaration.
17945 (__hurd_local_reply_port): New macro.
17946 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17947 (interrupted_reply_port_location): Add thread_t parameter. Use it
17948 with THREAD_TCB to access thread-local variables.
17949 (_hurdsig_abort_rpcs): Pass ss->thread to
17950 interrupted_reply_port_location.
17951 (_hurd_internal_post_signal): Likewise.
17952 (_hurdsig_init): Use presence of cthread_fork instead of
17953 __hurd_threadvar_stack_mask to start signal thread by hand.
17954 Remove signal thread threadvar initialization.
17955 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17956 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17957 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17958 of threadvar.
17959 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17960 __libc_lock_self0.
17961 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17962 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17963 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17964 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17965 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17966 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17967 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17968 define variables.
17969 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17970 <hurd/threadvar.h>.
17971 [IS_IN(rtld)] (rtld_errno): New variable.
17972 [IS_IN(rtld)] (__errno_location): New weak function.
17973 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17974 * sysdeps/mach/hurd/errno.c: Remove file.
17975 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17976 (__fork): Remove THREADVAR_SPACE macro and its use.
17977 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17978 variable.
17979 (init): Do not initialize threadvar.
17980 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17981 symbol.
17982 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17983 __hurd_local_reply_port instead of threadvar.
17984 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17985 _hurd_sigstate fields.
17986 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17987 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17988 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17989 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17990 instead of threadvar.
17991 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17992 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17993 (use_threadvar, global_reply_port): Remove variables.
17994 (__hurd_reply_port0): New variable.
17995 (__mig_get_reply_port): Use __hurd_local_reply_port and
17996 __hurd_reply_port0 instead of threadvar.
17997 (__mig_dealloc_reply_port): Likewise.
17998 (__mig_init): Do not initialize threadvar.
17999 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
18000 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18001 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18002 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18003 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18004 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18005 __cthread_setspecific.
18006 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18007 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18008 __cthread_t instead of cthread_fork, cthread_detach,
18009 pthread_getattr_np, pthread_attr_getstack.
18010 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18011 __cthread_keycreate.
18012 (cthread_getspecific): Rename to __cthread_getspecific.
18013 (cthread_setspecific): Rename to __cthread_setspecific.
18014 (__libc_getspecific): Use __cthread_getspecific instead of
18015 cthread_getspecific.
18016 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18017 __cthread_keycreate instead of cthread_keycreate.
18018 (__libc_setspecific): Use __cthread_setspecific instead of
18019 cthread_setspecific.
18020 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18021 Likewise.
dd28d4ba
ST
18022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18023 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18024 testing whether it is defined.
34e6a869 18025
f8baf2a2
ST
180262018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18027
18028 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18029 Define macro.
18030 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18031 * sysdeps/mach/i386/thread_state.h
18032 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18033 i386_THREAD_STATE.
18034 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18035 i386_THREAD_STATE.
18036 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18037
18038 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18039 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18040
18041 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18042 macros.
18043 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18044 descriptor instead of creating a new one.
18045 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18046
18047 * mach/setup-thread.c: Include <ldsodefs.h>.
18048 (__mach_setup_thread): Call _dl_allocate_tls, pass
18049 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18050 MACHINE_THREAD_STATE_FLAVOR, before getting
18051 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18052 MACHINE_THREAD_STATE_FLAVOR with the result.
18053 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18054 MACHINE_THREAD_STATE_FIX_NEW.
18055 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18056 too. Add original thread parameter.
18057
34ba96b8
JM
180582018-03-16 Joseph Myers <joseph@codesourcery.com>
18059
5d75b75f
JM
18060 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18061 Remove inline function.
18062
34ba96b8
JM
18063 * sysdeps/i386/fpu/libm-test-ulps: Update.
18064 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18065
22679b2c
WD
180662018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18067
18068 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18069 commit.
18070
c429a8d8
JM
180712018-03-15 Joseph Myers <joseph@codesourcery.com>
18072
18073 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18074 (__sincos_code): Remove define and undefine.
18075 [__FAST_MATH__] (__sincos): Remove inline function.
18076 [__FAST_MATH__] (__sincosf): Remove inline function.
18077 [__FAST_MATH__] (__sincosl): Remove inline function.
18078 (__atan2l): Remove inline functions.
18079 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18080 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18081 function.
18082 (floor): Remove inline function.
18083 (ceil): Likewise.
18084 [__FAST_MATH__] (__ldexp_code): Remove macro.
18085 [__FAST_MATH__] (ldexp): Remove inline function.
18086 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18087 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18088 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18089 [__USE_ISOC99] (__lrint_code): Remove macro.
18090 [__USE_ISOC99] (__llrint_code): Likewise.
18091 [__USE_ISOC99] (lrintf): Remove inline function.
18092 [__USE_ISOC99] (lrint): Likewise.
18093 [__USE_ISOC99] (lrintl): Likewise.
18094 [__USE_ISOC99] (llrint): Likewise.
18095 [__USE_ISOC99] (llrintf): Likewise.
18096 [__USE_ISOC99] (llrintl): Likewise.
18097
700593fd
WD
180982018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18099
18100 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18101 (__ieee754_sqrtf): Remove.
18102 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18103 (__ieee754_sqrtf): Remove.
18104 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18105 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18106 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18107 (__ieee754_sqrtf): Remove.
18108 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18109 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18110 (sqrtf): Remove.
18111 (sqrtl): Remove.
18112 (__ieee754_sqrt): Remove.
18113 (__ieee754_sqrtf): Remove.
18114 (__ieee754_sqrtl): Remove.
18115 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18116 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18117 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18118 (__ieee754_sqrtf): Remove.
18119 (__ieee754_sqrtl): Remove.
18120
f67a8147
WD
181212018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18122
18123 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18124 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18125 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18126 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18127 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18128 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18129 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18130 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18131 Likewise.
18132 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18133 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18134 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18135 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18136 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18137 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18138 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18139 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18140 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18142 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18143 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18146 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18147 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18148 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18149 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18161 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18162 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18164 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18165 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18166 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18168 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18169 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18170 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18171 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18172
1294b189
WD
181732018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18174
18175 * include/math.h (sqrt): Declare with asm redirect.
18176 (sqrtf): Likewise.
18177 (sqrtl): Likewise.
18178 (sqrtf128): Likewise.
18179 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18180 nonlib and libnldbl with -fmath-errno.
18181 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18182 * math/w_sqrt_template.c: Likewise.
18183 * math/w_sqrtf_compat.c: Likewise.
18184 * math/w_sqrtl_compat.c: Likewise.
18185 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18186 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18187 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18188 complex.h.
18189
f1c8185d
WD
181902018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18191
18192 * benchtests/Makefile: Define _ISOMAC.
18193 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18194 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18195 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18196 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18197 * benchtests/bench-timing.h: Define attribute_hidden.
18198
b47c3e76
SP
181992018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18200
18201 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18202 mov + lsr.
18203
807fee29
RL
182042018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18205
18206 [BZ #22963]
18207 * localedata/locales/cs_CZ (mon): Rename to...
18208 (alt_mon): This.
18209 (mon): Import from CLDR (genitive case).
18210
e7155a28
RL
182112018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18212
18213 [BZ #22937]
18214 * localedata/locales/el_CY (abmon): Rename to...
18215 (ab_alt_mon): This.
18216 (abmon): Import from CLDR (abbreviated genitive case).
18217 * localedata/locales/el_GR (abmon): Rename to...
18218 (ab_alt_mon): This.
18219 (abmon): Import from CLDR (abbreviated genitive case).
18220
71d7b121
RL
182212018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18222
18223 [BZ #22932]
18224 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18225
a00bffe8
RB
182262018-03-15 Robert Buj <robert.buj@gmail.com>
18227
18228 [BZ #22848]
18229 * localedata/locales/ca_ES (abmon): Rename to...
18230 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18231 (mon): Rename to...
18232 (alt_mon): This.
18233 (abmon): Import from CLDR (genitive case, month names preceded by
18234 "de" or "d’").
18235 (mon): Likewise.
18236 (abday): Synchronize with CLDR.
18237 (d_t_fmt): Likewise.
18238 (d_fmt): Likewise.
18239 (am_pm): Likewise.
18240
18241 (LC_TIME): Improve indentation.
18242 (LC_TELEPHONE): Likewise.
18243 (LC_NAME): Likewise.
18244 (LC_ADDRESS): Likewise.
18245
f9555d73
JM
182462018-03-14 Joseph Myers <joseph@codesourcery.com>
18247
18248 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18249 (lrintf): Remove definitions used only with old GCC.
18250 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18251 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18252 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18253 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18254 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18255 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18256 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18257 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18258 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18259 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18260 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18261 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18262 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18263 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18264 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18265 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18266 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18267 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18268 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18269 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18270 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18271 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18272 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18273 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18274 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18275 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18276 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18277 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18278
d46f84de
SP
182792018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18280
18281 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18282 instruction to unbreak builds with binutils 2.26 and older.
18283
7108f1f9
SP
182842018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18285
18286 * sysdeps/aarch64/strncmp.S (count): New macro.
18287 (strncmp): Store misaligned length in SRC1 in COUNT.
18288 (mutual_align): Adjust.
18289 (misaligned8): Load dword at a time when it is safe.
18290
2cc7bad0
ZW
182912018-03-12 Zack Weinberg <zackw@panix.com>
18292
18293 [BZ #1190]
18294 [BZ #19476]
18295 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18296 if the _IO_EOF_SEEN bit is already set; update commentary.
18297 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18298 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18299
18300 * support/support_openpty.c, support/tty.h: New files.
18301 * support/Makefile (libsupport-routines): Add support_openpty.
18302
18303 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18304 New test cases.
18305 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18306 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18307
778f1974
DL
183082018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18309
18310 * po/pt_BR.po: Update translations.
18311
6b5c8607 183122018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
18313
18314 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18315 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18316 get a port to the startup server.
18317
d3da750d
ZW
183182018-03-11 Zack Weinberg <zackw@panix.com>
18319
18320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18321 before nldbl-compat.h.
18322
054b72cc
ZW
183232018-03-10 Zack Weinberg <zackw@panix.com>
18324
0d13dfa1
ZW
18325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18326 math.h or math_private.h.
18327
18328 * sysdeps/alpha/fpu/s_isnan.c
18329 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18330 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18331 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18332 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18333 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18334 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18335 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18336 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18337 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18343 Include math_private.h.
18344
18345 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18346 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18347 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18348 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18349 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18350 * sysdeps/powerpc/power7/fpu/s_logb.c:
18351 Include math.h and math_private.h.
18352
054b72cc
ZW
18353 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18354 uses of $at in .set noat / .set at.
18355
6253bacd
L
183562018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18357
18358 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18359 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18360 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18361 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18362 Likewise.
18363
229855e5
FW
183642018-03-09 Florian Weimer <fweimer@redhat.com>
18365
18366 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18367 in comment.
18368
9aa5c222
AJ
183692018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18370
18371 [BZ #22919]
18372 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18373 Add nop before __startcontext, add explaining comments.
18374
3dc21497
AZ
183752018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18376
e921c89e
AZ
18377 [BZ #22926]
18378 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18379 empty for __SPE__.
18380 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18381 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18382 Do not build hardware transactional code for __SPE__.
18383 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18384 (__lll_trylock_elision): Likewise.
18385 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18386 (__lll_unlock_elision): Likewise.
18387
d9f26dab 18388 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
18389 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18390 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18391 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18392 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18393 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18394 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18395 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18396 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18397 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18398 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18399 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18400 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18401 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18402 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18403 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18404 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18405 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18406 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18408 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18409 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18410 (__ASSUME_CLONE_BACKWARDS): Define.
18411 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18412 __clone2 if __NR_clone2 is defined.
18413 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18414 (__ASSUME_CLONE_BACKWARDS): Likewise.
18415 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18416 (__ASSUME_CLONE_BACKWARDS): Likewise.
18417 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18418 (__ASSUME_CLONE2): Likewise.
18419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18420 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18421 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18422 variants and the define architecture can use.
18423 (__ASSUME_CLONE_DEFAULT): Define as default.
18424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18425 (__ASSUME_CLONE_BACKWARDS): Likewise.
18426 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18427 (__ASSUME_CLONE_BACKWARDS): Likewise.
18428 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18429 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18430
adc95fb0
SP
184312018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18432
4e54d918
SP
18433 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18434
30a81dae
SP
18435 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18436 time.
18437
adc95fb0
SP
18438 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18439 (do_test_limit): Likewise.
18440
18441 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18442 for every implementation.
18443 (do_test): Likewise.
18444
18445 * benchtests/bench-strncmp.c: Convert output to json.
18446
4e9066bc
ST
184472018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18448
18449 * io/futimens.c: Add missing start-of-file descriptive comment.
18450 * io/utime.c: Likewise.
18451 * misc/futimesat.c: Likewise.
18452 * misc/utimes.c: Likewise.
18453 * sysdeps/mach/hurd/futimesat.c: Likewise.
18454 * sysdeps/mach/hurd/utimes.c: Likewise.
18455 * sysdeps/posix/utime.c: Likewise.
18456 * sysdeps/posix/utimes.c: Likewise.
18457 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18458 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18459 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18460 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18461
ec1300cf
ST
184622018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18463
18464 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18465 hurd_futimes.
18466 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18467 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18468 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18469 (__futimens): Move implementation to...
18470 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18471 utime_tvalue_from_tspec): ... new helper functions.
18472 (hurd_futimens): New function.
18473 * sysdeps/mach/hurd/futimesat.c: New file.
18474 * sysdeps/mach/hurd/utimensat.c: New file.
18475
bbe762d1
FC
184762018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18477
18478 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18479 UTIME_OMIT): New macros.
18480 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18481 before reverting to converting time spec to time value and calling
18482 __file_utimes.
18483 * sysdeps/mach/hurd/utime-helper.c: New file.
18484 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18485 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18486 reverting to utime_tvalue_from_tval and __file_utimes.
18487 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18488 (__lutimes): Just call hurd_futimens after lookup.
18489 * sysdeps/mach/hurd/utimes.c: Likewise.
18490
a1ede3a4
ST
184912018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18492
18493 * bits/sigaction.h: Add include guard.
18494 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18495 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18496 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18497 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18498 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18499 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18500 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18501 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18502 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18503
6900d2ca
JM
185042018-03-05 Joseph Myers <joseph@codesourcery.com>
18505
18506 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18507 -Wmaybe-uninitialized for -Os.
18508 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18509 this disabling.
18510
68448be2
AZ
185112018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18512
5226a81f
AZ
18513 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18514 __INO_T_MATCHES_INO64_T is defined.
18515 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18516 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18517 of definition.
18518 * dirent/alphasort64.c: Likewise.
18519 * dirent/scandir.c: Likewise.
18520 * dirent/scandir64-tail.c: Likewise.
18521 * dirent/scandir64.c: Likewise.
18522 * dirent/scandirat.c: Likewise.
18523 * dirent/scandirat64.c: Likewise.
18524 * dirent/versionsort.c: Likewise.
18525 * dirent/versionsort64.c: Likewise.
18526 * include/dirent.h: Likewise.
18527
fbd01e6c
AZ
18528 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18529 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18530 for socketpair endpoint.
18531 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18532 WRITE_BUFFER_SIZE as buffer size for sending socket.
18533 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18534 issue on system where send is implemented with sendto syscall.
18535 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18536 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18537 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18538 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18539
68448be2
AZ
18540 [BZ #21269]
18541 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18542 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18543 sa_restorer for vDSO case.
18544 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18545
eb1ca47e
ST
185462018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18547
18548 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
18549 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18550 * hurd/hurd/ioctl.h: Include <mach/port.h>
18551 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
18552 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18553 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
18554 (headers): Move mach/param.h to bits/mach/param.h.
18555 * sysdeps/mach/i386/mach/param.h: Move file to ...
18556 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18557 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18558 of <mach/param.h>.
3403cb7d
ST
18559 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18560 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18561 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
18562 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18563 trivial, for C++ conformity.
44c6376c 18564 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
18565 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18566 Process mig output through $(migheadersed).
18567 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
18568 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18569 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18570 headers.
ba89615d
ST
18571 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18572 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18573 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18574 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18575 <bits/types/sigset_t.h>.
18576 [!defined __USE_GNU]: Do not #error out.
18577 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18578 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18579 Include <stddef.h> and <bits/types/sigset_t.h>
18580 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18581 instead of sighandler_t.
974393ea
ST
18582 * stdlib/errno.h (error_t): Move definition to...
18583 * bits/types/error_t.h: ... new header.
18584 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18585 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18586 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18587 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18588 * hurd/hurd.h: Include <bits/types/error_t.h>
18589 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18590 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18591 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18592 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18593 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18594 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 18595 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 18596
eaf6753f
AS
185972018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18598
18599 [BZ #22918]
18600 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18601 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18602 * nscd/gai.c (__nss_hosts_database): Readd definition.
18603 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18604 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18605 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18606
4dc23804
JM
186072018-03-02 Joseph Myers <joseph@codesourcery.com>
18608
18609 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18610 (ifunc_one): Likewise.
18611
1c81d55f
DD
186122018-03-01 DJ Delorie <dj@delorie.com>
18613
18614 [BZ #22342]
18615 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18616 key value.
18617
b717c14f
MR
186182018-03-01 Maciej W. Rozycki <macro@mips.com>
18619
18620 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18621 `match_pid' parameter.
18622 (td_ta_thr_iter): Update accordingly.
18623
1efe1358
FW
186242018-03-01 Florian Weimer <fweimer@redhat.com>
18625
18626 * nptl/Makefile (install-lib-ldscripts): Remove.
18627 (install): Remove rule.
18628 ($(inst_libdir)/libpthread.so): Likewise.
18629
a527f09c
MF
186302018-03-01 Mike FABIAN <mfabian@redhat.com>
18631
18632 [BZ #22896]
18633 * localedata/locales/an_ES: update month and day names,
18634 improve d_fmt, improve postal_fmt, add country_post,
18635 add country_isbn
18636
35d660b0
MF
186372018-03-01 Mike FABIAN <mfabian@redhat.com>
18638
18639 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18640 Ukrainian instead of Bulgarian.
18641
1a2f44a8
FW
186422018-03-01 Florian Weimer <fweimer@redhat.com>
18643
18644 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18645 reference.
18646
bd60ce86
FW
186472018-03-01 Florian Weimer <fweimer@redhat.com>
18648
18649 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18650 * nptl/Makefile (routines): Add pthread_atfork.
18651 (static-only-routines): Set to pthread_atfork.
18652 (libpthread-routines): Remove pthread_atfork.
18653 (libpthread-static-only-routines): Remove.
18654 (install): Update comment.
18655 (libpthread.so): Do not install libpthread_nonshared.a.
18656 (tests): Do not link with libpthread_nonshared.a.
18657 (generated): Remove libpthread_nonshared.a.
18658 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18659 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18660 with libpthread_nonshared.a.
18661
000f290f
JM
186622018-02-28 Joseph Myers <joseph@codesourcery.com>
18663
e2bcf6a8
JM
18664 [BZ #22902]
18665 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18666 (libc_feholdexcept_setroundf128): New macro.
18667 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18668
000f290f
JM
18669 [BZ #15105]
18670 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18671 libc_hidden_def.
18672 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18673 * include/inttypes.h: New file.
18674
02f2fead
JM
186752018-02-27 Joseph Myers <joseph@codesourcery.com>
18676
18677 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18678 -Os in two more places.
18679
874c56d7
MF
186802018-02-27 Mike FABIAN <mfabian@redhat.com>
18681
18682 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18683 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18684 be sorted correctly at the moment because of a bug.
18685
15973854
MF
186862018-02-27 Mike FABIAN <mfabian@redhat.com>
18687
18688 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18689 treat ñ as a primary different character, sync the collation
18690 for Spanish with CLDR.
18691 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18692 * localedata/Makefile: Add new test files.
18693 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18694 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18695 collation order.
18696 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18697 * localedata/am_ET.UTF-8.in: New test file.
18698 * localedata/az_AZ.UTF-8.in: Likewise.
18699 * localedata/be_BY.UTF-8.in: Likewise.
18700 * localedata/ber_DZ.UTF-8.in: Likewise.
18701 * localedata/ber_MA.UTF-8.in: Likewise.
18702 * localedata/bg_BG.UTF-8.in: Likewise.
18703 * localedata/br_FR.UTF-8.in: Likewise.
18704 * localedata/cmn_TW.UTF-8.in: Likewise.
18705 * localedata/crh_UA.UTF-8.in: Likewise.
18706 * localedata/csb_PL.UTF-8.in: Likewise.
18707 * localedata/cv_RU.UTF-8.in: Likewise.
18708 * localedata/cy_GB.UTF-8.in: Likewise.
18709 * localedata/dz_BT.UTF-8.in: Likewise.
18710 * localedata/eo.UTF-8.in: Likewise.
18711 * localedata/es_ES.UTF-8.in: Likewise.
18712 * localedata/fa_IR.UTF-8.in: Likewise.
18713 * localedata/fi_FI.UTF-8.in: Likewise.
18714 * localedata/fil_PH.UTF-8.in: Likewise.
18715 * localedata/fur_IT.UTF-8.in: Likewise.
18716 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18717 * localedata/ha_NG.UTF-8.in: Likewise.
18718 * localedata/ig_NG.UTF-8.in: Likewise.
18719 * localedata/ik_CA.UTF-8.in: Likewise.
18720 * localedata/kk_KZ.UTF-8.in: Likewise.
18721 * localedata/ku_TR.UTF-8.in: Likewise.
18722 * localedata/ky_KG.UTF-8.in: Likewise.
18723 * localedata/ln_CD.UTF-8.in: Likewise.
18724 * localedata/mi_NZ.UTF-8.in: Likewise.
18725 * localedata/ml_IN.UTF-8.in: Likewise.
18726 * localedata/mn_MN.UTF-8.in: Likewise.
18727 * localedata/mr_IN.UTF-8.in: Likewise.
18728 * localedata/mt_MT.UTF-8.in: Likewise.
18729 * localedata/nb_NO.UTF-8.in: Likewise.
18730 * localedata/om_KE.UTF-8.in: Likewise.
18731 * localedata/os_RU.UTF-8.in: Likewise.
18732 * localedata/ps_AF.UTF-8.in: Likewise.
18733 * localedata/ro_RO.UTF-8.in: Likewise.
18734 * localedata/ru_RU.UTF-8.in: Likewise.
18735 * localedata/sc_IT.UTF-8.in: Likewise.
18736 * localedata/se_NO.UTF-8.in: Likewise.
18737 * localedata/sq_AL.UTF-8.in: Likewise.
18738 * localedata/sv_SE.UTF-8.in: Likewise.
18739 * localedata/szl_PL.UTF-8.in: Likewise.
18740 * localedata/tg_TJ.UTF-8.in: Likewise.
18741 * localedata/tk_TM.UTF-8.in: Likewise.
18742 * localedata/tt_RU.UTF-8.in: Likewise.
18743 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18744 * localedata/ug_CN.UTF-8.in: Likewise.
18745 * localedata/uz_UZ.UTF-8.in: Likewise.
18746 * localedata/vi_VN.UTF-8.in: Likewise.
18747 * localedata/yi_US.UTF-8.in: Likewise.
18748 * localedata/yo_NG.UTF-8.in: Likewise.
18749 * localedata/zh_CN.UTF-8.in: Likewise.
18750 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18751 file and fix bugs in the collation.
18752 * localedata/locales/az_AZ: Likewise.
18753 * localedata/locales/be_BY: Likewise.
18754 * localedata/locales/ber_DZ: Likewise.
18755 * localedata/locales/ber_MA: Likewise.
18756 * localedata/locales/bg_BG: Likewise.
18757 * localedata/locales/br_FR: Likewise.
18758 * localedata/locales/br_FR@euro: Likewise.
18759 * localedata/locales/ca_ES: Likewise.
18760 * localedata/locales/cns11643_stroke: Likewise.
18761 * localedata/locales/crh_UA: Likewise.
18762 * localedata/locales/cs_CZ: Likewise.
18763 * localedata/locales/csb_PL: Likewise.
18764 * localedata/locales/cv_RU: Likewise.
18765 * localedata/locales/cy_GB: Likewise.
18766 * localedata/locales/da_DK: Likewise.
18767 * localedata/locales/dz_BT: Likewise.
18768 * localedata/locales/en_CA: Likewise.
18769 * localedata/locales/eo: Likewise.
18770 * localedata/locales/es_CU: Likewise.
18771 * localedata/locales/es_EC: Likewise.
18772 * localedata/locales/es_ES: Likewise.
18773 * localedata/locales/es_US: Likewise.
18774 * localedata/locales/et_EE: Likewise.
18775 * localedata/locales/fa_IR: Likewise.
18776 * localedata/locales/fi_FI: Likewise.
18777 * localedata/locales/fil_PH: Likewise.
18778 * localedata/locales/fur_IT: Likewise.
18779 * localedata/locales/gez_ER@abegede: Likewise.
18780 * localedata/locales/ha_NG: Likewise.
18781 * localedata/locales/hr_HR: Likewise.
18782 * localedata/locales/hsb_DE: Likewise.
18783 * localedata/locales/hu_HU: Likewise.
18784 * localedata/locales/ig_NG: Likewise.
18785 * localedata/locales/ik_CA: Likewise.
18786 * localedata/locales/is_IS: Likewise.
18787 * localedata/locales/iso14651_t1_pinyin: Likewise.
18788 * localedata/locales/kk_KZ: Likewise.
18789 * localedata/locales/ku_TR: Likewise.
18790 * localedata/locales/ky_KG: Likewise.
18791 * localedata/locales/ln_CD: Likewise.
18792 * localedata/locales/lt_LT: Likewise.
18793 * localedata/locales/lv_LV: Likewise.
18794 * localedata/locales/mi_NZ: Likewise.
18795 * localedata/locales/ml_IN: Likewise.
18796 * localedata/locales/mn_MN: Likewise.
18797 * localedata/locales/mr_IN: Likewise.
18798 * localedata/locales/mt_MT: Likewise.
18799 * localedata/locales/nb_NO: Likewise.
18800 * localedata/locales/om_KE: Likewise.
18801 * localedata/locales/os_RU: Likewise.
18802 * localedata/locales/pl_PL: Likewise.
18803 * localedata/locales/ps_AF: Likewise.
18804 * localedata/locales/ro_RO: Likewise.
18805 * localedata/locales/ru_RU: Likewise.
18806 * localedata/locales/ru_UA: Likewise.
18807 * localedata/locales/sc_IT: Likewise.
18808 * localedata/locales/se_NO: Likewise.
18809 * localedata/locales/si_LK: Likewise.
18810 * localedata/locales/sq_AL: Likewise.
18811 * localedata/locales/sv_FI: Likewise.
18812 * localedata/locales/sv_FI@euro: Likewise.
18813 * localedata/locales/sv_SE: Likewise.
18814 * localedata/locales/szl_PL: Likewise.
18815 * localedata/locales/tg_TJ: Likewise.
18816 * localedata/locales/ti_ER: Likewise.
18817 * localedata/locales/tk_TM: Likewise.
18818 * localedata/locales/tl_PH: Likewise.
18819 * localedata/locales/tr_TR: Likewise.
18820 * localedata/locales/tt_RU: Likewise.
18821 * localedata/locales/tt_RU@iqtelif: Likewise.
18822 * localedata/locales/ug_CN: Likewise.
18823 * localedata/locales/uk_UA: Likewise.
18824 * localedata/locales/uz_UZ: Likewise.
18825 * localedata/locales/uz_UZ@cyrillic: Likewise.
18826 * localedata/locales/vi_VN: Likewise.
18827 * localedata/locales/yi_US: Likewise.
18828 * localedata/locales/yo_NG: Likewise.
18829
ce6636b0
MF
188302018-02-27 Mike FABIAN <mfabian@redhat.com>
18831
18832 * gen-locales.mk: Make test files which contain @ modifiers in their
18833 name work.
18834 * localedata/gen-locale.sh: Likewise.
18835
ac3a3b4b
MF
188362018-02-27 Mike FABIAN <mfabian@redhat.com>
18837
18838 * posix/tst-fnmatch.input: Fix results for range expressions
18839 for non C locales.
18840 * posix/tst-regexloc.c: Do not use a range expression for
18841 de_DE.ISO-8859-1 locale.
18842
770cbe14
MF
188432018-02-27 Mike FABIAN <mfabian@redhat.com>
18844
18845 * posix/bug-regex5.c: Fix test case because with the new
18846 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18847 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18848 file.
18849
0fc355d9
MF
188502018-02-27 Mike FABIAN <mfabian@redhat.com>
18851
18852 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18853 downloaded from ISO, the collation order of @-. and space has changed.
18854 Therefore, this test file needed to be adapted.
18855 * localedata/fr_CA.UTF-8.in: Likewise.
18856 * localedata/fr_FR.UTF-8.in: Likewise.
18857 * localedata/uk_UA.UTF-8.in: Likewise.
18858
43f3893f
MF
188592018-02-27 Mike FABIAN <mfabian@redhat.com>
18860
18861 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18862 order of ȥ in the new iso14651_t1_common file.
18863 * localedata/pl_PL.UTF-8.in: Likewise.
18864
df74ef78
MF
188652018-02-27 Mike FABIAN <mfabian@redhat.com>
18866
18867 * localedata/locales/iso14651_t1_common: Add sections for various
18868 scripts to the iso14651_t1_common file.
18869
d5adfbad
MF
188702018-02-27 Mike FABIAN <mfabian@redhat.com>
18871
18872 * localedata/locales/iso14651_t1_common: Use the code point of a
18873 character in the fourth collation level instead of IGNORE for all
18874 entries which have IGNORE on all 4 levels.
18875
5f5a9610
MF
188762018-02-27 Mike FABIAN <mfabian@redhat.com>
18877
18878 * localedata/locales/iso14651_t1_common: Add some convenient collation
18879 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18880 rules similar to those in CLDR.
18881
8a97e900
MF
188822018-02-27 Mike FABIAN <mfabian@redhat.com>
18883
18884 * localedata/locales/iso14651_t1_common: The new version of this
18885 file downloaded from ISO contained several syntax errors which
18886 are fixed by this patch.
18887
bbdd2fba
MF
188882018-02-27 Mike FABIAN <mfabian@redhat.com>
18889
18890 * localedata/locales/iso14651_t1_common: replace all <U.....>
18891 with <U000.....> because glibc understands only 4 digit or 8 digit
18892
1569e551
MF
188932018-02-27 Mike FABIAN <mfabian@redhat.com>
18894
18895 * localedata/locales/iso14651_t1_common: Necessary changes
18896 to make the file downloaded from ISO usable by glibc.
18897
9479b6d5
MF
188982018-02-27 Mike FABIAN <mfabian@redhat.com>
18899
18900 [BZ #14095]
18901 * localedata/locales/iso14651_t1_common: Update file to
18902 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18903
03b540b3
ST
189042018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18905
18906 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18907 of <nptl/pthreadP.h>
18908 (thread_attr_compare): Move function to...
eb937a52 18909 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 18910 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 18911 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 18912
20602c72
JM
189132018-02-26 Joseph Myers <joseph@codesourcery.com>
18914
f54d8f73
JM
18915 * string/strcoll_l.c: Include <libc-diag.h>.
18916 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18917 declarations of seq1 and seq2.
18918
20602c72
JM
18919 [BZ #15105]
18920 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18921 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18922
f5f473a9
DL
189232018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18924
18925 [BZ #22433]
18926 [BZ #22807]
18927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18928 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18929 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18930 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18931 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18932 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18933
398c6fdd
TMQMF
189342018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18935
18936 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18937 macros used in __ptrace_request.
18938
f5d1f629
L
189392018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18940
18941 [BZ #22792]
18942 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18943 to $(CC).
18944 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18945 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18946 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18947 <tcb-offsets.h>.
18948
54412d20
JM
189492018-02-23 Joseph Myers <joseph@codesourcery.com>
18950
18951 [BZ #15105]
18952 * ctype/ctype.c (tolower): Use libc_hidden_def.
18953 (toupper): Likewise.
18954 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18955 [!_ISOMAC] (toupper): Likewise.
18956
81be4b5e
MF
189572018-02-23 Mike FABIAN <mfabian@redhat.com>
18958
18959 * localedata/Makefile: Remove --quiet argument when
18960 installing locales
18961
9d5cfd8e
MF
189622018-02-23 Mike FABIAN <mfabian@redhat.com>
18963
18964 [BZ #17438]
18965 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18966 in d_fmt.
18967 * localedata/locales/pt_PT (LC_TIME): likewise
18968
6c7269f3
MF
189692018-02-23 Mike FABIAN <mfabian@redhat.com>
18970
18971 [BZ #22646]
18972 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18973 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18974 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18975
92aabad9
AZ
189762018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18977
4cdc25a4
AZ
18978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18979
27761a10
AZ
18980 * nptl/Makefile (routines): Remove unregister-atfork.
18981 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18982 (fork_handler_alloc): Remove function.
18983 (fork_handlers, fork_handler_init): New variables.
18984 (__fork_lock): Rename to atfork_lock.
18985 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18986 to use a dynamic array to add/remove atfork handlers.
18987 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18988 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18989 Remove declaration.
18990 (fork_handler): Remove next, refcntr, and need_signal member.
18991 (__run_fork_handler_type): New enum.
18992 (__run_fork_handlers): New prototype.
18993 * nptl/register-atfork.c: Remove file.
18994 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18995
92aabad9
AZ
18996 * sysdeps/nptl/nptl-signals.h: Move to ...
18997 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18998 comments.
18999 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19000 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19001 unnecessary check for SIGTIMER.
19002 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19003 remove unnecessary removal of SIGTIMER.
19004 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19005 include-signals.h rename.
19006 * nptl/pthreadP.h: Likewise.
19007 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19008 __is_internal_signal instead of __nptl_is_internal_signal.
19009
6b5c8607 190102018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 19011
7e04eb29 19012 [BZ # 22884]
fdcc6253
AW
19013 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19014 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19015 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19016 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19017
8090720a
DD
190182018-02-22 DJ Delorie <dj@delorie.com>
19019
19020 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19021
6ca24c43
SP
190222018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19023
19024 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19025 do_misaligned, not misaligned8.
19026
e9537ddd
SE
190272018-02-22 Steve Ellcey <sellcey@cavium.com>
19028
19029 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19030 Add memcpy_thunderx2.
19031 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19032 Increment to 4.
19033 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19034 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19035 and IS_THUNDERX2PA checks.
19036 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19037 Use macro to set name appropriately.
19038 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19039 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19040 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19041 New macro.
19042 (IS_THUNDERX2): New macro.
19043
6e336476
SL
190442018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19045
19046 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19047
34957904
ZW
190482018-02-21 Zack Weinberg <zackw@panix.com>
19049
30bfee26
ZW
19050 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19051 Define here, unconditionally.
19052 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19053 * libio/libioP.h: Remove #if 0 blocks.
19054 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19055 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19056 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19057
19058 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19059 Assume weak_alias is always defined.
19060
19061 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19062 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19063 Remove #if 0 and #ifdef TODO blocks.
19064 Assume text_set_element is always defined.
19065
19066 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19067 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19068 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19069
df6c012b
ZW
19070 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19071 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19072 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19073 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19074 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19075 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19076 Reformat bit flags for _flags field to make occupancy clearer.
19077 Update commentary.
19078 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19079 Keep definitions consistent with those in libio/libio.h.
19080
19081 * libio/libio.h (_IO_file_flags): Remove macro.
19082 All uses changed to _flags.
19083
177aad3f
ZW
19084 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19085 (__HAVE_COLUMN, _IO_BE): Don't define.
19086 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19087 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19088 * libio/libioP.h (EOF): Don't define.
19089 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19090 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19091 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19092 testing _IO_UNIFIED_JUMPTABLES.
19093
9964a145
ZW
19094 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19095 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19096 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19097 (_IO_size_t): Delete; all uses changed to size_t.
19098 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19099 (_IO_off_t): Delete; all uses changed to off_t.
19100 (_IO_off64_t): Delete; all uses changed to off64_t.
19101 (_IO_pid_t): Delete; all uses changed to pid_t.
19102 (_IO_uid_t): Delete; all uses changed to uid_t.
19103 (_IO_wint_t): Delete; all uses changed to wint_t.
19104 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19105 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19106 (_IO_cookie_io_functions_t): Delete; all uses changed to
19107 cookie_io_functions_t.
19108 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19109 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19110 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19111 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19112
19113 * libio/iofopncook.c: Remove unnecessary forward declarations.
19114 * libio/iolibio.h: Correct outdated commentary.
19115 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19116 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19117 Remove unnecessary casts.
19118 * stdio-common/getline.c: Use _IO_getdelim directly.
19119 Don't redefine ssize_t.
19120 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19121 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19122 Remove outdated comments.
19123 * stdio-common/vfscanf.c: Don't redefine va_list.
19124
34957904
ZW
19125 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19126 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19127 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19128 which are always true, and __cplusplus, which is always false.
19129
30ac923d
JM
191302018-02-21 Joseph Myers <joseph@codesourcery.com>
19131
039c721a
JM
19132 [BZ #15105]
19133 [BZ #19463]
19134 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19135 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19136 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19137 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19138 libc_hidden_proto.
19139 [!_ISOMAC] (putc_unlocked): Likewise.
19140 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19141 define inline if [__USE_EXTERN_INLINES].
19142 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19143 putc_unlocked.
19144
30ac923d
JM
19145 [BZ #15105]
19146 [BZ #19463]
19147 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19148 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19149 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19150 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19151 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19152 getc_unlocked.
19153 * time/tzfile.c (__tzfile_read): Likewise.
19154
7ec5f946
MF
191552018-02-21 Mike FABIAN <mfabian@redhat.com>
19156
19157 [BZ #22517]
19158 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19159
0d217f40
RJ
191602018-02-21 Rical Jasan <ricaljasan@pacific.net>
19161
19162 * io/fcntl.h: Fix a typo in a comment.
19163
862b4502
RJ
191642018-02-21 Rical Jasan <ricaljasan@pacific.net>
19165
19166 [BZ #22862]
19167 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19168 define _DEFAULT_SOURCE.
19169 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19170
999a6dab
FW
191712018-02-21 Florian Weimer <fweimer@redhat.com>
19172
19173 [BZ #20890]
19174 * elf/cache.c (save_cache): Call fsync on temporary file before
19175 renaming it.
19176 (save_aux_cache): Call fdatasync on temporary file before renaming
19177 it.
19178
52a01100
FW
191792018-02-21 Florian Weimer <fweimer@redhat.com>
19180
19181 [BZ #22787]
19182 * include/caller.h: Remove file.
19183 * elf/dl-caller.c: Likewise.
19184 * elf/Makefile (dl-routines): Remove dl-caller.
19185 (shared-only-routines): Do not add dl-caller.
19186 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19187 __check_caller.
19188 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19189 member.
19190 (dl_open_worker): Do not call __check_caller.
19191 (_dl_open): Do not set caller_dl_open member.
19192 * elf/rtld.c (_rtld_global_ro): Do not initialize
19193 _dl_check_caller member.
19194 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19195 _dl_check_caller member.
19196 (_dl_check_caller): Remove declaration.
19197 * sysdeps/unix/sysv/linux/dl-execstack.c
19198 (_dl_make_stack_executable): Do not call __check_caller.
19199
b5bf62e4
ST
192002018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19201
19202 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 19203 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 19204
e8d190b9
RJ
192052018-02-20 Rical Jasan <ricaljasan@pacific.net>
19206
19207 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19208 description.
19209
6a3962c4
RJ
192102018-02-20 Rical Jasan <ricaljasan@pacific.net>
19211
da81ae64 19212 [BZ #16335]
6a3962c4
RJ
19213 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19214 of 199606L, 200112L, and 200809L.
19215 (_XOPEN_SOURCE): Document special values of 600 and 700.
19216 (_ISOC11_SOURCE): Document macro.
19217 (_ATFILE_SOURCE): Likewise.
19218 (_FORTIFY_SOURCE): Likewise.
19219
ec481ad8
JM
192202018-02-19 Joseph Myers <joseph@codesourcery.com>
19221
19222 [BZ #15105]
19223 [BZ #19463]
19224 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19225 and define as weak alias of __ferror_unlocked. Use
19226 libc_hidden_weak.
19227 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19228 libc_hidden_proto.
19229 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19230 function if [__USE_EXTERN_INLINES].
19231 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19232 ferror_unlocked.
19233
7d15ef84
RJ
192342018-02-19 Rical Jasan <ricaljasan@pacific.net>
19235
19236 [BZ #6889]
19237 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19238
f8d79582
AJ
192392018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19240
19241 [BZ #22818]
19242 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19243 the GLIBC_2.1 version.
19244
56456a2a
AJ
192452018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19246
19247 [BZ #21508]
19248 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19249 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19250 intl/tst-gettext-de.po from po/de.po by removing the
19251 POT-Creation-Date line.
19252 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19253 ../po/de.po.
19254 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19255 ../po/de.po.
19256
13768813
ST
192572018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19258
19259 * mach/Makefile (headers): Add mach/param.h.
19260 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19261 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
19262 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19263 (__ptsname_r): Move implementation to...
19264 (__ptsname_internal): ... new function. Add filling the STP
19265 structure.
13768813 19266
6aca1b61
JDA
192672018-02-17 John David Anglin <danglin@gcc.gnu.org>
19268
19269 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19270 idouble to 1 ULP.
19271
16efad51
RJ
192722018-02-16 Rical Jasan <ricaljasan@pacific.net>
19273
19274 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19275 syntax.
19276
87245073
SL
192772018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19278
19279 * nptl/Makefile (tst-mutex8-ENV): Delete.
19280 * nptl/tst-mutex8.c (check_type):
19281 Add runtime check if mutex will be elided.
19282
7fc03cf3
JM
192832018-02-15 Joseph Myers <joseph@codesourcery.com>
19284
db9881ec
JM
19285 [BZ #20980]
19286 [BZ #21234]
19287 * manual/install.texi (Configuring and compiling): Describe
19288 passing CC and CFLAGS on configure command line, not as
19289 environment variables. Use @code markup on those variables.
19290 Specify what options go in CC and what go in CFLAGS. Note the
19291 requirement to compile with optimization.
19292 * INSTALL: Regenerated.
19293
3785b31c
JM
19294 [BZ #18124]
19295 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19296 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19297 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19298 __sigprocmask instead of sigprocmask.
19299 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19300 Likewise.
19301 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19302 __sigsetjmp and sigprocmask.
19303
055ac2a7
JM
19304 [BZ #15105]
19305 * include/argz.h (argz_next): Use libc_hidden_proto.
19306 (__argz_next): Likewise.
19307 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19308 (argz_next): Use libc_hidden_weak.
19309
e4452a2d
JM
19310 [BZ #15105]
19311 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19312 libc_hidden_proto.
19313 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19314 libc_hidden_def.
19315
499b3153
JM
19316 [BZ #15105]
19317 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19318 libc_hidden_proto.
19319 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19320
7fc03cf3
JM
19321 [BZ #15105]
19322 [BZ #19463]
19323 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19324 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19325 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19326 (__feof_unlocked): New declaration, and inline function if
19327 [__USE_EXTERN_INLINES].
19328 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19329 instead of feof_unlocked.
19330 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19331 * nss/nsswitch.c (nss_parse_file): Likewise.
19332 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19333 Likewise.
19334 * time/getdate.c (__getdate_r): Likewise.
19335 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19336 Define as macro to call __feof_unlocked.
19337
0c8a67a5
WD
193382018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19339
19340 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19341
610ee1fc
WD
193422018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19343
19344 * math/Makefile: Remove mpexp.c and mplog.c
19345 * sysdeps/i386/fpu/mpexp.c: Delete file.
19346 * sysdeps/i386/fpu/mplog.c: Likewise.
19347 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19348 * sysdeps/ia64/fpu/mplog.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19350 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19351 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19352 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19353 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19354 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19355 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19356 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19357 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19358 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19359 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19360 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19361 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19362 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19363 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19365
8e7196c8
SL
193662018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19367
19368 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19369
4f55ad0b
AZ
193702018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19371
19372 * sysdeps/sh/libm-test-ulps: Update.
19373
261a851c
TMQMF
193742018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19375
19376 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19377 idouble to 1 ULP.
19378
e16deca6
ZW
193792018-02-12 Zack Weinberg <zackw@panix.com>
19380
19381 [BZ #19239]
19382 * posix/sys/types.h: Don't include sys/sysmacros.h.
19383 * misc/sys/sysmacros.h: Remove the conditional deprecation
19384 warnings for the macros defined by this header.
19385
de800d83
SN
193862018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19387
19388 * manual/probes.texi: Remove slowexp probes.
19389 * math/Makefile: Remove slowexp.
19390 * sysdeps/generic/math_private.h (__slowexp): Remove.
19391 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19392 document error bounds.
19393 * sysdeps/i386/fpu/slowexp.c: Remove.
19394 * sysdeps/ia64/fpu/slowexp.c: Remove.
19395 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19396 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19397 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19398 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19399 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19400 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19403 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19405 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19406
c3d466cb
WD
194072018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19408
19409 [BZ #13932]
19410 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19411 * benchtests/pow-inputs: Update comment for slow path cases.
19412 * manual/probes.texi (slowpow_p10): Delete removed probe.
19413 (slowpow_p10): Likewise.
19414 * math/Makefile: Remove halfulp.c and slowpow.c.
19415 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19416 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19417 (__halfulp): Remove.
19418 (__slowpow): Remove.
19419 * sysdeps/i386/fpu/halfulp.c: Delete file.
19420 * sysdeps/i386/fpu/slowpow.c: Likewise.
19421 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19422 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19424 improve comments and add error analysis.
19425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19426 (power1): Remove function:
19427 (log1): Remove error argument, add error analysis.
19428 (my_log2): Remove function.
19429 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19430 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19431 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19432 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19433 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19434 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19435 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19436 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19438 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19439 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19440 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19443
7bb087bd
ST
194442018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19445
19446 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19447 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19448
2fd4bbaa
DL
194492018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19450
19451 [BZ #22433]
19452 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19453 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19454 and PTRACE_SETHBPREGS.
19455
402ecba4
ZW
194562018-02-10 Zack Weinberg <zackw@panix.com>
19457
19458 [BZ #22830]
19459 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19460 correctly.
19461 * malloc/tst-malloc-stats-cancellation.c: New test case.
19462 * malloc/Makefile: Add new test case.
19463
4f5b921e
WD
194642018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19465
19466 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19467
a85b70db
JM
194682018-02-10 Joseph Myers <joseph@codesourcery.com>
19469
d8742dd8
JM
19470 * math/Makefile (libm-narrow-fns): Add add.
19471 (libm-test-funcs-narrow): Likewise.
19472 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19473 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19474 * math/gen-auto-libm-tests.c (test_functions): Add add.
19475 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19476 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19477 (NARROW_ADD_TRIVIAL): Likewise.
19478 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19479 macro.
19480 (__daddl): Likewise.
19481 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19482 dadd.
19483 (CFLAGS-nldbl-dadd.c): New variable.
19484 (CFLAGS-nldbl-fadd.c): Likewise.
19485 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19486 __nldbl_daddl.
19487 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19488 prototype.
19489 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19490 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19491 * math/auto-libm-test-in: Add tests of add.
19492 * math/auto-libm-test-out-narrow-add: New generated file.
19493 * math/libm-test-narrow-add.inc: New file.
19494 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19495 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19496 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19497 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19498 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19499 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19508 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19509 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19510 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19511 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19513 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19514 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19517 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19518 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19524 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19525 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19530 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19531 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19533 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19535 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19536 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19537 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19539 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19540
a85b70db
JM
19541 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19542 (f128-pairs): New variable.
19543 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19544 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19545 to CFLAGS.
19546 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19547 Also make tests add $(f128-loader-link) to gnulib-tests.
19548
6a1ff640
DD
195492018-02-09 DJ Delorie <dj@redhat.com>
19550
19551 [BZ #22827]
19552 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19553 64-bit ELF type for 64-bit ELF objects.
19554
bfd47587
JM
195552018-02-09 Joseph Myers <joseph@codesourcery.com>
19556
31958338
JM
19557 * math/libm-test-driver.c (snan_tests_arg): New variable.
19558 * math/libm-test-support.h (snan_tests_arg): New declaration.
19559 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19560
8e554659
JM
19561 * math/Makefile (test-type-pairs): New variable.
19562 (test-type-pairs-f64xf128-yes): Likewise.
19563 (tests): Add test-narrow-macros.
19564 (libm-test-funcs-narrow): New variable.
19565 (libm-test-c-narrow): Likewise.
19566 (generated): Add $(libm-test-c-narrow).
19567 (libm-tests-base-narrow): New variable.
19568 (libm-tests-narrow): Likewise.
19569 (libm-tests): Add $(libm-tests-narrow).
19570 (libm-tests-for-type): Handle $(libm-tests-narrow).
19571 (libm-test-c-narrow-obj): New variable.
19572 ($(libm-test-c-narrow-obj)): New rule.
19573 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19574 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19575 $(o-iterator) to set dependencies and CFLAGS.
19576 * math/gen-auto-libm-tests.c: Document use for narrowing
19577 functions.
19578 (output_for_one_input_case): Take argument NARROW.
19579 (generate_output): Likewise. Update call to
19580 output_for_one_input_case.
19581 (main): Take --narrow option. Update call to generate_output.
19582 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19583 (apply_lit): Update call to _apply_lit.
19584 (apply_arglit): New function.
19585 (parse_args): Handle "a" arguments.
19586 (parse_auto_input): Handle format names using ":".
19587 * math/README.libm-test: Document "a" parameter type.
19588 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19589 (ARG_TYPE_TRUE_MIN): Likewise.
19590 (ARG_TYPE_MAX): Likwise.
19591 (ARG_MIN_EXP): Likewise.
19592 (ARG_MAX_EXP): Likewise.
19593 (ARG_MANT_DIG): Likewise.
19594 (TEST_COND_arg_ibm128): Likewise.
19595 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19596 (TEST_COND_arg_fmt): New macro.
19597 (init_max_error): Update prototype.
19598 * math/libm-test-support.c (test_ibm128): New variable.
19599 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19600 instead of using [TEST_COND_ibm128] conditional.
19601 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19602 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19603 [TEST_NARROW] (TEST_MSG): New definition.
19604 (arg_plus_zero): New macro.
19605 (arg_minus_zero): Likewise.
19606 (arg_plus_infty): Likewise.
19607 (arg_minus_infty): Likewise.
19608 (arg_qnan_value_pl): Likewise.
19609 (arg_qnan_value): Likewise.
19610 (arg_snan_value_pl): Likewise.
19611 (arg_snan_value): Likewise.
19612 (arg_max_value): Likewise.
19613 (arg_min_value): Likewise.
19614 (arg_min_subnorm_value): Likewise.
19615 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19616 (RUN_TEST_LOOP_aa_f): New macro.
19617 (TEST_SUFF): New macro.
19618 (TEST_SUFF_STR): Likewise.
19619 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19620 (TEST_COND_any_ibm128): New macro.
19621 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19622 this_func. Update call to init_max_error.
19623 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19624 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19625 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19626 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19627 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19628 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19629 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19630 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19631 * math/test-math-vector.h (TEST_NARROW): Likewise.
19632 * math/test-arg-double.h: New file.
19633 * math/test-arg-float128.h: Likewise.
19634 * math/test-arg-float32x.h: Likewise.
19635 * math/test-arg-float64.h: Likewise.
19636 * math/test-arg-float64x.h: Likewise.
19637 * math/test-arg-ldouble.h: Likewise.
19638 * math/test-math-narrow.h: Likewise.
19639 * math/test-narrow-macros.c: Likewise.
19640 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19641 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19642 test-narrow-macros-ldbl-64.
19643 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19644
63716ab2
JM
19645 * math/bits/mathcalls-narrow.h: New file.
19646 * include/bits/mathcalls-narrow.h: Likewise.
19647 * math/math-narrow.h: Likewise.
19648 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19649 (__MATHCALL_NARROW_ARGS_2): Likewise.
19650 (__MATHCALL_NARROW_ARGS_3): Likewise.
19651 (__MATHCALL_NARROW_NORMAL): Likewise.
19652 (__MATHCALL_NARROW_REDIR): Likewise.
19653 (__MATHCALL_NARROW): Likewise.
19654 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19655 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19656 defined.
19657 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19658 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19659 (libm-narrow-fns): New variable.
19660 (libm-narrow-types-basic): Likewise.
19661 (libm-narrow-types-ldouble-yes): Likewise.
19662 (libm-narrow-types-float128-yes): Likewise.
19663 (libm-narrow-types-float128-alias-yes): Likewise.
19664 (libm-narrow-types): Likewise.
19665 (libm-routines): Add narrowing functions.
19666 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19667 (libc_feholdexcept_setroundf128): New macro.
19668 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19669 * sysdeps/ieee754/float128/float128_private.h: Include
19670 <math/math-narrow.h>.
19671 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19672 Undefine and redefine.
19673 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19674 (libm_alias_float_ldouble): Undefine and redefine.
19675 (libm_alias_double_ldouble): Likewise.
19676
bfd47587
JM
19677 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19678
3f8d9d58
WD
196792018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19680
19681 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19682 FPCR/FPSR.
19683
1f6676d7
RJ
196842018-02-09 Rical Jasan <ricaljasan@pacific.net>
19685
19686 * manual/creature.texi: Convert references to gcc.info to gcc.
19687 * manual/stdio.texi: Likewise.
19688 * manual/string.texi: Likewise.
19689
d80441dd
JM
196902018-02-07 Joseph Myers <joseph@codesourcery.com>
19691
15081be9
JM
19692 [BZ #17979]
19693 * posix/bits/types.h (__int_least8_t): New typedef.
19694 (__uint_least8_t): Likewise.
19695 (__int_least16_t): Likewise.
19696 (__uint_least16_t): Likewise.
19697 (__int_least32_t): Likewise.
19698 (__uint_least32_t): Likewise.
19699 (__int_least64_t): Likewise.
19700 (__uint_least64_t): Likewise.
19701 * sysdeps/generic/stdint.h (int_least8_t): Define using
19702 __int_least8_t.
19703 (int_least16_t): Define using __int_least16_t.
19704 (int_least32_t): Define using __int_least32_t.
19705 (int_least64_t): Define using __int_least64_t.
19706 (uint_least8_t): Define using __uint_least8_t.
19707 (uint_least16_t): Define using __uint_least16_t.
19708 (uint_least32_t): Define using __uint_least32_t.
19709 (uint_least64_t): Define using __uint_least64_t.
19710 * wcsmbs/uchar.h: Include <bits/types.h>.
19711 (char16_t): Define using __uint_least16_t conditional only on
19712 [!__USE_ISOCXX11].
19713 (char32_t): Define using __uint_least32_t conditional only on
19714 [!__USE_ISOCXX11].
19715 * wcsmbs/test-char-types.c: New file.
19716 * wcsmbs/Makefile (tests): Add test-char-types.
19717
d80441dd
JM
19718 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19719 version to 4.0.1.
19720
6c6c962a
ZW
197212018-02-07 Zack Weinberg <zackw@panix.com>
19722
63fb8f9a
ZW
19723 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19724 Delete all contents except for definitions of _G_HAVE_MMAP and
19725 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19726 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19727 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19728 change as above.
19729
19730 * libio/libio.h: Don't include bits/_G_config.h here.
19731 Include stddef.h with __need_wchar_t defined. Include
19732 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19733 Define _IO_iconv_t here, directly.
19734 Don't define _IO_HAVE_ST_BLKSIZE.
19735 * libio/libioP.h: Include _G_config.h here. Move include of
19736 shlib-compat.h up with rest of includes. Simplify conditionals
19737 controlling definition of _IO_JUMPS_OFFSET.
19738
19739 * csu/init.c: Remove always-true #if around entire file.
19740 Don't include stdio.h. Set _IO_stdin_used to hardwired
19741 constant 0x20001, and update commentary.
19742 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19743 Replace all uses of _G_va_list with __gnuc_va_list.
19744 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19745 instead of #if _IO_HAVE_ST_BLKSIZE.
19746 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19747 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19748 not #ifdef.
19749
6c6c962a
ZW
19750 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19751 multiple-include guard to match.
19752 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19753 into this file.
19754 Remove preprocessor conditionals that are always true and/or
19755 redundant to other preprocessor conditionals in the same nest.
19756 Include shlib-compat.h unconditionally.
19757 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19758 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19759 defined after including stdio.h.
19760 Use __BEGIN_DECLS/__END_DECLS.
19761
19762 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19763 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19764 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19765
a4fea3f2
ZW
197662018-02-07 Zack Weinberg <zackw@panix.com>
19767
19768 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19769 New single-type headers split from _G_config.h.
19770 * libio/bits/types/cookie_io_functions_t.h
19771 * libio/bits/types/struct_FILE.h
19772 New single-type headers split from libio.h.
19773
19774 * libio/Makefile: Install the above new headers. Don't install
19775 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19776 bits/libio-ldbl.h.
19777 * libio/_G_config.h, libio/libio.h: Delete file.
19778
19779 * libio/bits/libio.h: Remove improper-inclusion guard.
19780 Include stdio.h and don't repeat anything that it does.
19781 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19782 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19783 __io_read_fn as cookie_read_function_t,
19784 __io_write_fn as cookie_write_function_t,
19785 __io_seek_fn as cookie_seek_function_t,
19786 __io_close_fn as cookie_close_function_t,
19787 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19788 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19789 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 19790 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
19791 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19792 and _IO_ferror_unlocked.
19793 Move prototypes of __uflow and __overflow...
19794
19795 * libio/stdio.h: ...here. Don't include bits/libio.h.
19796 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 19797 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
19798 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19799 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19800 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19801 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19802 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19803 __ssize_t, not _IO_ssize_t. Unconditionally define
19804 BUFSIZ as 8192 and EOF as (-1).
19805
19806 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19807 macros from bits/types/struct_FILE.h instead of _IO_* macros
19808 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19809 instead of _IO_ssize_t.
19810 * libio/bits/stdio2.h: Similarly.
19811
19812 * libio/iolibio.h: Add multiple-include guard.
19813 Include bits/libio.h after stdio.h.
19814 * libio/libioP.h: Add multiple-include guard.
19815 Include stdio.h and bits/libio.h before iolibio.h.
19816
6c6c962a 19817 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
19818 * include/bits/types/cookie_io_functions_t.h
19819 * include/bits/types/struct_FILE.h: New wrappers.
19820
19821 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
19822 Get definitions of _G_fpos_t and _G_fpos64_t from
19823 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19824 respectively. Remove improper-inclusion guards.
a4fea3f2 19825
6c6c962a 19826 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 19827 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 19828 libio.h and _G_config.h.
a4fea3f2 19829
ce999220
JM
198302018-02-07 Joseph Myers <joseph@codesourcery.com>
19831
8b4a1182
JM
19832 [BZ #15105]
19833 [BZ #19463]
19834 * include/sys/sysmacros.h [!_ISOMAC]
19835 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19836 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19837 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19838 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19839 libc_hidden_proto.
19840 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19841 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19842 Likewise.
19843 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19844 Undefine and redefine to add use __gnu_dev_ prefix.
19845 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19846 Likewise.
19847 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19848 and define as hidden inline function.
19849 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19850 Likewise.
19851 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19852 Likewise.
19853 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19854 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19855 (gnu_dev_minor): Likewise.
19856 (gnu_dev_makedev): Likewise.
19857 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19858 makedev.
19859 * posix/wordexp.c (exec_comm_child): Likewise.
19860 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19861 instead of minor and __gnu_dev_major instead of major.
19862 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19863 __gnu_dev_major instead of major.
19864 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19865 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19866 instead of gnu_dev_minor.
19867 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19868 (SLAVE_P): Likewise.
19869 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19870 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19871 instead of major.
19872
ce999220
JM
19873 [BZ #21313]
19874 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19875 in another place.
19876 * locale/weightwc.h (findidx): Likewise.
19877
b7c83ca3
WD
198782018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19879
19880 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19881 (slowlog_inexact): Likewise
19882 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19883 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19884
388ff7bd
IG
198852018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19886
19887 [BZ #22797]
19888 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19889 missing second underscore to parameter name.
19890
663e7d78
JM
198912018-02-06 Joseph Myers <joseph@codesourcery.com>
19892
0d40d0ec
JM
19893 [BZ #14508]
19894 [BZ #15512]
19895 [BZ #17082]
19896 [BZ #20530]
19897 * bits/byteswap.h: Update file comment. Do not include
19898 <bits/byteswap-16.h>.
19899 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19900 constant.
19901 (__bswap_16): Define as inline function.
19902 (__bswap_constant_32): Reformat definition.
19903 (__bswap_32): Always define as inline function, not macro, using
19904 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19905 otherwise __bswap_constant_32.
19906 (__bswap_constant_64): Reformat definition. Do not use
19907 __extension__ here.
19908 (__bswap_64): Always define as inline function, not macro. Use
19909 __extension__ on function definition. Use __builtin_bswap64 if
19910 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19911 * string/test-endian-file-scope.c: New file.
19912 * string/test-endian-sign-conversion.c: Likewise.
19913 * string/Makefile (headers): Remove bits/byteswap-16.h.
19914 (tests): Add test-endian-file-scope and
19915 test-endian-sign-conversion.
19916 (CFLAGS-test-endian-sign-conversion.c): New variable.
19917 * bits/byteswap-16.h: Remove file.
19918 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19919 * sysdeps/ia64/bits/byteswap.h: Likewise.
19920 * sysdeps/m68k/bits/byteswap.h: Likewise.
19921 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19922 * sysdeps/s390/bits/byteswap.h: Likewise.
19923 * sysdeps/tile/bits/byteswap.h: Likewise.
19924 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19925 * sysdeps/x86/bits/byteswap.h: Likewise.
19926
383e87c9
JM
19927 [BZ #17721]
19928 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19929 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19930 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19931 199901L] (__restrict): Define to restrict.
19932
d92c2759
JM
19933 [BZ #19667]
19934 * string/testcopy.c: Include <support/support.h>. Do not include
19935 <malloc.h>. Use <support/test-driver.c>.
19936 (main): Rename to do_test. Make static. Use xmalloc instead of
19937 malloc.
19938
625fb764
JM
19939 [BZ #13575]
19940 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19941 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19942 (SSIZE_MAX): Define to INT_MAX.
19943 * posix/test-ssize-max.c: New file.
19944 * posix/Makefile (tests): Add test-ssize-max.
19945
02325d6c
JM
19946 [BZ #19668]
19947 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19948 <support/support.h>. Do not include <malloc.h>.
19949 (query_auxv): Use xmalloc instead of malloc.
19950
663e7d78
JM
19951 [BZ #14553]
19952 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19953 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19954 instead of loff_t.
19955
6b5c8607 199562018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
19957
19958 [BZ #18023]
19959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19960 Use scratch_buffer instead of extend_alloca.
19961
de6da571
ZW
199622018-02-06 Zack Weinberg <zackw@panix.com>
19963
26c07172
ZW
19964 * libio/stdio.h: Don't define getc or putc as macros.
19965 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19966 not _IO_getc and _IO_putc.
19967
de6da571
ZW
19968 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19969 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19970
92669d6e
JM
199712018-02-06 Joseph Myers <joseph@codesourcery.com>
19972
c2b84df9
JM
19973 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19974 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19975
41376f8c
JM
19976 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19977
d28bf648
JM
19978 [BZ #14890]
19979 * elf/elf.h (NT_PRFPREG): New macro.
19980 (NT_S390_VXRS_LOW): Likewise.
19981 (NT_S390_VXRS_HIGH): Likewise.
19982 (NT_S390_GS_CB): Likewise.
19983 (NT_S390_GS_BC): Likewise.
19984 (NT_S390_RI_CB): Likewise.
19985
e76def72
JM
19986 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19987 (MAP_SYNC): New macro.
19988 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19989 Likewise.
19990 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19991 (MAP_SYNC): Likewise.
19992 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19993 (MAP_SYNC): Likewise.
19994 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19995 (MAP_SYNC): Likewise.
19996 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19997 (MAP_SYNC): Likewise.
19998 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19999 (MAP_SYNC): Likewise.
20000 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20001 (MAP_SYNC): Likewise.
20002 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20003 Likewise.
20004 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20005 Likewise.
20006
92669d6e
JM
20007 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20008 (MAP_SHARED_VALIDATE): New macro.
20009 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20010 (MAP_SHARED_VALIDATE): Likewise.
20011
6a5cac49
L
200122018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20013
20014 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20015 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20016 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20017
b44e0dfb
L
200182018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20019
20020 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20021 (DT_NUM): Updated to 35.
20022
f886c16c
L
200232018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20024
20025 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20026 __builtin_expect with __glibc_likely and __glibc_unlikely.
20027 (elf_machine_rela): Likewise.
20028 (elf_machine_lazy_rel): Likewise.
20029
06fbebff
L
200302018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20031
20032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 20033 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
20034 (elf_machine_lazy_rel): Likewise.
20035
371b220f
L
200362018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20037
20038 [BZ #22638]
20039 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20040 SHARED.
65805016 20041 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 20042
f649a1b8
AS
200432018-02-05 Andreas Schwab <schwab@suse.de>
20044
20045 [BZ #22761]
20046 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20047 string.
20048
9fdb340e
ST
200492018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20050
20051 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20052 not check against PTHREAD_STACK_MIN.
20053
09e56b9e
SM
200542018-02-02 Sean McKean <smckean83@gmail.com>
20055
20056 [BZ #22735]
20057 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20058
d4b4a00a
FW
200592018-02-02 Florian Weimer <fweimer@redhat.com>
20060
20061 [BZ #22753]
20062 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20063 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20064 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20065 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20066 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20067 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20068 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20069 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20070 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20071 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20072 * misc/tst-preadvwritev2.c (do_test): Call it.
20073 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20074
3dfcbfa1
SP
200752018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20076
84c94d2f
SP
20077 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20078
96e6a716
SP
20079 * benchtests/bench-memcmp.c: Print json instead of plain text.
20080
3dfcbfa1
SP
20081 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20082 every test run.
20083
049375e2
JM
200842018-02-01 Joseph Myers <joseph@codesourcery.com>
20085
39f898c6
JM
20086 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20087 version to 4.15.
20088 (s390_sthyi): New syscall.
20089
6f9a3dd8
JM
20090 * sysdeps/generic/ldbl-classify-compat.h: New file.
20091 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20092 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20093 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20094 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20095 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20096 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20097 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20098 <ldbl-classify-compat.h>.
20099 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20100 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20101 <ldbl-classify-compat.h>.
20102 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20103 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20104 <ldbl-classify-compat.h>.
20105 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20107 <ldbl-classify-compat.h>.
20108 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20110 <ldbl-classify-compat.h>.
20111 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20113 <ldbl-classify-compat.h>.
20114 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20115 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20116 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20117 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20118 * sysdeps/microblaze/math_private.h: Likewise.
20119 * sysdeps/nios2/math_private.h: Likewise.
20120 * sysdeps/sh/math_private.h: Likewise.
20121
eb65a3d5
JM
20122 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20123 * sysdeps/m68k/coldfire/math_private.h: ... here.
20124 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20125 * sysdeps/tile/math_private.h: Likewise.
20126 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20127 Remove macro.
20128 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20129 Likewise.
20130
8a6bb1d0
JM
20131 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20132 Remove macro.
20133 (libc_fetestexcept): Likewise.
20134 (libc_feupdateenv_test): Likewise.
20135 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20136 (libc_fetestexcept): Likewise.
20137 (libc_feupdateenv_test): Likewise.
20138 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20139 (libc_fetestexcept): Likewise.
20140 (libc_feupdateenv_test): Likewise.
20141 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20142 (libc_fetestexcept): Likewise.
20143 (libc_feupdateenv_test): Likewise.
20144
ae1fcb7b
JM
20145 * sysdeps/generic/math_private.h
20146 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20147 New inline function.
20148 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20149 Likewise.
20150
b1c347e2
JM
20151 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20152 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20153 * sysdeps/generic/math_private.h
20154 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20155 inline function.
20156 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20157 Likewise.
20158 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20159 Likewise.
20160 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20161 Likewise.
20162 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20163 Likewise.
20164 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20165 Likewise.
20166 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20167 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20168 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20169 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20170 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20171 (__fegetenv): Likewise.
20172 (fesetenv): Likewise.
20173 (__fesetenv): Likewise.
20174 (feupdateenv): Likewise.
20175 (__feupdateenv): Likewise.
20176 (fegetround): Likewise.
20177 (__fegetround): Likewise.
20178 (fesetround): Likewise.
20179 (__fesetround): Likewise.
20180
d23a4962
JM
20181 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20182 (feraiseexcept): New macro.
20183 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20184 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20185 Remove macro.
20186 (__feraiseexcept): Likewise.
20187 (feclearexcept): Likewise.
20188 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20189 (__feraiseexcept): Likewise.
20190 (feclearexcept): Likewise.
20191 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20192 (__feraiseexcept): Likewise.
20193 (feclearexcept): Likewise.
20194 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20195 (__feraiseexcept): Likewise.
20196 (feclearexcept): Likewise.
20197 (fetestexcept): Likewise.
20198
5f167950
JM
20199 * sysdeps/m68k/coldfire/math-tests.h: New file.
20200
ccc9035a
JM
20201 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20202 * sysdeps/m68k/bits/fenv.h: ... here.
20203 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20204 not define.
20205 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20206 Likewise.
20207 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20208 Likewise.
20209 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20210 Likewise.
20211 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20212 Likewise.
20213 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20214 Define to 0.
20215 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20216 (__FE_UNDEFINED): New enum constant.
20217 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20218 Do not define.
20219 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20220 Likewise.
20221 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20222 Likewise.
20223 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20224 to match generic bits/fenv.h.
20225 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20226 Do not define.
20227
049375e2
JM
20228 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20229 packed on bits.
20230 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20231 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20232 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20233 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20234
f1d73681
CD
202352018-02-01 Carlos O'Donell <carlos@redhat.com>
20236 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20237 Joseph Myers <joseph@codesourcery.com>
20238
20239 [BZ #21314]
20240 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20241 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20242 computation using c.
20243 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20244 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20245 computation using c.
20246
242cbc90
DL
202472018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20248
086ee48e
DL
20249 * version.h (RELEASE): Set to "development".
20250 (VERSION): Set to "2.27.9000".
20251 * NEWS (2.28): New section.
20252
23158b08
DL
20253 * version.h (RELEASE): Set to "stable".
20254 (VERSION): Set to "2.27".
20255 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20256
242cbc90
DL
20257 * NEWS: Add the list of bugs fixed in 2.27.
20258
673e2305
AZ
202592018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20260
20261 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20262 against PTHREAD_STACK_MIN.
20263
ced64e01
DL
202642018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20265
20266 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20267 New entries.
20268 (Rafal Luzynski, Andreas Schwab): Update.
20269
c10c9a5e
RL
202702018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20271
20272 [BZ #10871]
20273 * NEWS: List the languages which actually use the alternative
20274 months feature in this release. Also explain that "alt_mon" and
20275 "ab_alt_mon" are optional.
20276
650ba77a
IM
202772018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20278
20279 [BZ #22765]
20280 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20281
93493119
DL
202822018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20283
20284 * manual/install.texi (Tools for Compilation): Update the newest
20285 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20286 * INSTALL: Regenerated.
20287
363e4519 202882018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
20289
20290 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20291 instead of __builtin_expect.
20292
d7536874
FW
202932018-01-30 Florian Weimer <fweimer@redhat.com>
20294
20295 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20296 data.
20297 * nss/tst-nss-getpwent.c (do_test): Likewise.
20298
9a1b267d
RL
202992018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20300
20301 [BZ #10871]
20302 * localedata/locales/hr_HR (mon): Rename to...
20303 (alt_mon): This.
20304 (mon): Import from CLDR (genitive case).
20305 (d_t_fmt): Update the comment.
20306
9a179328
AS
203072018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20308
20309 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20310 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20311 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20312
e01e0ddc
ST
203132018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20314
20315 * mach/Versions: Fix version when __mach_host_self_ was added.
20316 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20317 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20318 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20319 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20320 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20321 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20322 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20323 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20324 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20325 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20326 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20327 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
20328 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20329 || to respect codestyle.
2aadb705
ST
20330 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20331 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
20332 * malloc/malloc.c: Include <assert.h>.
20333 (assert): Do not define.
20334 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
20335 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20336 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 20337 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 20338 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 20339
521877e1
PD
203402018-01-29 Darius Rad <darius@bluespec.com>
20341
20342 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20343
532cf290
PD
203442018-01-29 Palmer Dabbelt <palmer@sifive.com>
20345
20346 * sysdeps/init_array/crti.S (.section .init_array): Add
20347 PREINIT_FUNCTION when defined.
40ca951b 20348 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 20349 * config.h.in: Regenerate.
ba9e25a6
PD
20350 * manual/platform.texi: Add RISC-V documenation for
20351 __riscv_flush_icache.
c776fa11
PD
20352 * sysdeps/riscv/__longjmp.S: New file.
20353 * sysdeps/riscv/backtrace.c: Likewise.
20354 * sysdeps/riscv/bits/endian.h: Likewise.
20355 * sysdeps/riscv/bits/setjmp.h: Likewise.
20356 * sysdeps/riscv/bits/wordsize.h: Likewise.
20357 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20358 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20359 * sysdeps/riscv/dl-trampoline.S: Likewise.
20360 * sysdeps/riscv/gccframe.h: Likewise.
20361 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20362 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20363 * sysdeps/riscv/machine-gmon.h: Likewise.
20364 * sysdeps/riscv/memusage.h: Likewise.
20365 * sysdeps/riscv/setjmp.S: Likewise.
20366 * sysdeps/riscv/sys/asm.h: Likewise.
20367 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
20368 * sysdeps/riscv/dl-tls.h: New file.
20369 * sysdeps/riscv/libc-tls.c: Likewise.
20370 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20371 * sysdeps/riscv/nptl/tls.h: Likewise.
20372 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
20373 * sysdeps/riscv/bits/fenv.h: New file.
20374 * sysdeps/riscv/e_sqrtl.c: Likewise.
20375 * sysdeps/riscv/fpu_control.h: Likewise.
20376 * sysdeps/riscv/math-tests.h: Likewise.
20377 * sysdeps/riscv/nofpu/Implies: Likewise.
20378 * sysdeps/riscv/sfp-machine.h: Likewise.
20379 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
20380 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20381 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20382 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20383 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20384 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20385 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20386 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20387 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20388 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20389 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20390 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20391 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20392 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20393 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20394 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20395 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20396 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20397 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20398 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20399 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20400 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20401 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20402 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20403 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20404 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20405 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20406 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20407 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20408 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20409 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20410 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20411 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20412 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20413 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20414 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20415 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20416 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20417 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20418 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20419 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20420 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20421 * sysdeps/riscv/rvf/math_private.h: Likewise.
20422 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20423 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20424 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20425 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20426 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20427 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20428 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20429 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20430 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20431 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20432 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20433 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20434 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20435 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20436 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20437 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
20438 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20439 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20440 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20441 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
20442 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20443 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20444 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20445 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20446 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20447 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20448 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20449 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20450 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
20451 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20452 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20453 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20454 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20455 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20456 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20457 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20458 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20459 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20460 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20461 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20462 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20463 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20464 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20465 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20466 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20467 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20468 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20469 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20470 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20471 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20472 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
20473 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20474 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20475 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
20476 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20477 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20478 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20479 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20480 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20481 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20482 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20483 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20484 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20485 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20486 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20487 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20488 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20489 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
20490 * sysdeps/riscv/Implies: New file.
20491 * sysdeps/riscv/Makefile: Likewise.
20492 * sysdeps/riscv/configure: Likewise.
20493 * sysdeps/riscv/configure.ac: Likewise.
20494 * sysdeps/riscv/nptl/Makefile: Likewise.
20495 * sysdeps/riscv/preconfigure: Likewise.
20496 * sysdeps/riscv/rv64/Implies-after: Likewise.
20497 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20498 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20499 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20500 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20501 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20502 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20503 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20504 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20505 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20506 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20507 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
20508 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20509 (Config): Likewise.
532cf290 20510
cdd14619
FW
205112018-01-29 Florian Weimer <fweimer@redhat.com>
20512
20513 [BZ #22701]
20514 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20515 libnsl_hidden_proto.
20516 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20517 libnsl_hidden_proto.
20518 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20519 * nis/Makefile (libnsl-routines): Add nss-default only for
20520 build-obsolete-nsl.
20521 * nis/nis_defaults.c (__nis_default_ttl): Add
20522 libnsl_hidden_nolink_def.
20523 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20524 declaration.
20525 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20526 * nis/ypclnt.c (yp_maplist): Likewise.
20527
b7ccb5de
RN
205282018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20529
20530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20531 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20532
522623e4
JM
205332018-01-29 Joseph Myers <joseph@codesourcery.com>
20534
e3aa6999
JM
20535 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20536 clean -dxfq for git updates when replacing sources.
20537
088de7d0
JM
20538 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20539 --disable-libcilkrts unconditionally, not just for the final GCC
20540 build for Hurd.
20541
522623e4
JM
20542 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20543 version to 4.15.
20544
8b406f87
RL
205452018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20546
20547 [BZ #10871]
20548 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20549 case).
20550
105e90bd
RL
205512018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20552
20553 [BZ #10871]
20554 * localedata/locales/be_BY (mon): Rename to...
20555 (alt_mon): This, then synchronize with CLDR (nominative case).
20556 (abmon): Rename to...
20557 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20558 (mon): Import from CLDR (genitive case).
20559 (abmon): Likewise.
20560 * localedata/locales/be_BY@latin (mon): Rename to...
20561 (alt_mon): This.
20562 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20563
20564 * localedata/locales/be_BY@latin (lang_name): Reworded to
20565 "biełaruskaja mova".
20566
561cb414
RL
205672018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20568
20569 [BZ #10871]
20570 * localedata/locales/el_CY (mon): Renamed to...
20571 (alt_mon): This.
20572 (mon): Import from CLDR (genitive case).
20573 * localedata/locales/el_GR: Likewise.
20574
f7bdf30d
RL
205752018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20576
20577 [BZ #10871]
20578 * localedata/locales/ru_RU (mon): Rename to...
20579 (alt_mon): This.
20580 (abmon): Rename to...
20581 (ab_alt_mon): This.
20582 (mon): Import from CLDR (genitive case).
20583 (abmon): Copy from the old content except the 5th month which is
20584 now in the genitive case, even when abbreviated.
20585 * localedata/locales/ru_UA: Likewise.
20586 * time/tst-strptime.c (day_tests): Add an actual example of
20587 a difference between %b and %Ob in Russian.
20588
85285a0c
ST
205892018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20590
20591 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
20592 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20593 a `c' variable.
3538a4b6 20594 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
20595 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20596 <sys/wait.h>, <time.h>, <sys/uio.h>.
20597 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 20598 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
20599 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20600 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20601 return 0.
05ebfe87
ST
20602 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20603 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
20604 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20605 instead of void *.
20606 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20607 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
20608 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20609 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
20610 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20611 and make them the default for now.
903d3633
ST
20612 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20613 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
20614 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20615 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20616 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20617 MACH_IPC_COMPAT.
06fac9f5
ST
20618 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20619 __task_terminate would ever return successfully.
f8177753
ST
20620 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20621 to global scope.
41cdb1eb
ST
20622 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20623 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
20624 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20625 critical section to make code simpler and avoid warning.
20626 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20627 critical section to make code simpler and avoid warning.
844bf921
ST
20628 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20629 const char * instead of char *.
f8bee46c
ST
20630 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20631 __hurd_file_name_split, hurd_file_name_split,
20632 __hurd_directory_name_split, hurd_directory_name_split,
20633 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20634 hurd_file_name_path_lookup): Make lookup function parameter take a
20635 const char *name instead of char *name.
20636 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20637 __hurd_directory_name_split): Likewise.
20638 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20639 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
20640 * sysdeps/mach/hurd/check_native.c: New file.
20641 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
20642 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20643 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
20644 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20645 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
20646 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20647 (do_test_bz20181): Rename accordingly.
20648 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
20649 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20650 <sys/mount.h>.
28f6186f
ST
20651 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20652 version only if __USE_EXTERN_INLINES is defined.
20653 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20654 __hurd_sockfail): Likewise.
20655 (_hurd_fd_get): Always declare functions, and provide inline versions
20656 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20657 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20658 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20659 _hurd_port_set): Always declare functions, and provide inline versions
20660 only if __USE_EXTERN_INLINES and _LIBC are defined and
20661 IS_IN(libc).
20662 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20663 _hurd_critical_section_unlock): Likewise.
20664 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20665 * __hurd_threadvar_location): Likewise.
20666 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20667 _hurd_userlink_clear): Likewise.
20668 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20669 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20670 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20671 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20672 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20673 __spin_lock_locked): Likewise.
20674 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20675 __spin_lock_locked): Likewise.
20676 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20677 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20678 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20679 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20680 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
20681 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20682 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
20683 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20684 check size against PTHREAD_STACK_MIN.
625ba81e
ST
20685 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20686 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
20687 * mach/Makefile (user-interfaces): Add mach/gnumach.
20688 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20689 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
20690 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20691 instead of invalid -1.
1f89ac71
ST
20692 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20693 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20694 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20695 <net/ppp_defs.h>.
85285a0c 20696
1fd1e27c 206972018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
20698
20699 * hurd/fcntl-internal.h: New file.
20700
3854c5a8
JC
207012018-01-27 James Clarke <jrtc27@jrtc27.com>
20702
7e23a7dd
JC
20703 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20704
3854c5a8
JC
20705 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20706
5503f413
AS
207072018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20708
20709 [BZ #22701]
20710 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20711 Build only shared objects.
20712
caaf7804
CD
207132018-01-26 Carlos O'Donell <carlos@redhat.com>
20714
20715 * README: Update for hppa.
20716
1cbf818d
PM
207172018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20718
caaf7804
CD
20719 * sysdeps/sparc/fpu/libm-test-ulps: Update
20720 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 20721
caaf7804 207222018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
20723
20724 Revert:
20725
20726 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20727
20728 [BZ #22563]
20729 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20730 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20731 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20732 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20733 to feature_1.
20734
20735 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20736
20737 [BZ #22563]
20738 * bits/types/__cancel_jmp_buf_tag.h: New file.
20739 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20740 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20741 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20742 * nptl/Makefile (headers): Add
20743 bits/types/__cancel_jmp_buf_tag.h.
20744 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20745 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20746 * sysdeps/nptl/pthread.h: Include
20747 <bits/types/__cancel_jmp_buf_tag.h>.
20748 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20749 __cancel_jmp_buf.
20750 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20751
65f6c94e
RL
207522018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20753
20754 [BZ #10871]
20755 * localedata/locales/uk_UA (mon): Renamed to...
20756 (alt_mon): This.
20757 (alt_digits): "0" removed and then renamed to...
20758 (mon): This.
20759 (date_fmt): Definition changed not to use the alternative
20760 digits hack.
20761
fb58aac5
PD
207622018-01-25 Palmer Dabbelt <palmer@sifive.com>
20763
20764 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20765 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20766 * elf/elf.h (EF_RISCV_RVC): New define.
20767 (EF_RISCV_FLOAT_ABI): Likewise.
20768 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20769 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20770 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20771 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20772 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20773 define.
20774 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20775
128c43a2
AS
207762018-01-25 Andreas Schwab <schwab@suse.de>
20777
20778 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20779 single quotes.
20780 * sysdeps/gnu/configure: Regenerate.
20781 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20782 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20784 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20785 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20786 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20787 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20789
f9015003
ST
207902018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20791
48130690 20792 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 20793 URL, and run autoconf, make it the default for now.
f9015003 20794
91b2cffa
JM
207952018-01-24 Joseph Myers <joseph@codesourcery.com>
20796
3005b705
JM
20797 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20798 soft-float ColdFire configuration.
20799
69231fab
JM
20800 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20801 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20802 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20803
d4c7e1d0
JM
20804 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20805 MicroBlaze file.
20806
0cfe5be5
JM
20807 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20808 ....
20809 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20810 ... here.
20811 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20812 New file.
20813
91b2cffa
JM
20814 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20815 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20816 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20817 file.
20818
c739e191
SN
208192018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20820
20821 [BZ #22742]
20822 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20823 Rename to __reserved and add comment.
20824 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20825 Rename to __reserved.
20826
394b5bac
JM
208272018-01-24 Joseph Myers <joseph@codesourcery.com>
20828
20829 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20830 i686-gnu configurations.
20831 (Context.run_builds): Include mig, gnumach and hurd in components
20832 considered.
20833 (Context.checkout): Add mig, gnumach and hurd to components.
20834 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20835 hurd.
20836 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20837 (Config.build): Install gnumach headers, build mig and install
20838 hurd headers for 'gnu' OS.
20839 (Config.install_gnumach_headers): New function.
20840 (Config.install_hurd_headers): Likewise.
20841 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20842 when building for 'gnu' OS.
20843
28c3f14f
TK
208442018-01-23 Tobias Klauser <tklauser@distanz.ch>
20845
20846 * manual/tunables.texi (Hardware Capability Tunables): Fix
20847 spelling.
20848
0f5e2da1
RJ
208492018-01-22 Rical Jasan <ricaljasan@pacific.net>
20850
20851 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20852 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20853 (ALTMON_11, ALTMON_12): Improve documentation.
20854 * manual/time.texi (strftime): Likewise.
20855
7817b14a
RL
208562018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20857
20858 [BZ #10871]
20859 * localedata/locales/pl_PL: Alternative month names added,
20860 primary month names are genitive now.
20861 * time/tst-strptime.c (day_tests): Actually use a genitive case
20862 of a month name in Polish language.
20863
22390764
RL
208642018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20865
20866 [BZ #10871]
20867 * manual/locale.texi: Document ALTMON_1..12 constants for
20868 nl_langinfo. Specify when to use ALTMON instead of MON.
20869 * manual/time.texi (strftime, strptime): Document GNU extension
20870 permitting O modifier with %B and %b. Specify when to use
20871 %OB instead of %B.
20872
761a585c
RL
208732018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20874
20875 [BZ #10871]
20876 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20877 names, define them as the same as abbreviated month names explicitly.
20878 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20879 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20880 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20881 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20882 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20883 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20884 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20885 _NL_WABALTMON_12): New enum constants.
20886 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20887 wab_alt_mon, and ab_alt_mon_defined members.
20888 (time_output): Output ab_alt_mon and wab_alt_mon members.
20889 (time_read): Read them, initialize them as copies of abmon and wabmon
20890 respectively if they are missing, initialize ab_alt_mon_defined.
20891 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20892 * locale/programs/locfile-kw.h: Regenerate.
20893 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20894 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20895 and ru_RU.UTF-8.
20896 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20897 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20898 (__strftime_internal): Handle %Ob and %Oh formats.
20899 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20900 (__strptime_internal): Handle %Ob and %Oh formats.
20901 * time/tst-strptime.c (day_tests): Add more tests to parse different
20902 forms of month names including the new %Ob format specifier.
20903
95cb863a
RL
209042018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20905
20906 [BZ #10871]
20907 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20908 define them as the same as primary full month names explicitly.
20909 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20910 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20911 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20912 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20913 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20914 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20915 _NL_WALTMON_12): New enum constants.
20916 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20917 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20918 macros.
20919 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20920 walt_mon, and alt_mon_defined members.
20921 (time_output): Output alt_mon and walt_mon members.
20922 (time_read): Read them, initialize them as copies of mon and wmon
20923 respectively if they are missing, initialize alt_mon_defined.
20924 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20925 * locale/programs/locfile-kw.h: Regenerate.
20926 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20927 * localedata/tst-langinfo.c (map): Add tests for the new constants
20928 ALTMON_1 .. ALTMON_12.
20929 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20930 and pl_PL.UTF-8.
20931 * time/strftime_l.c (f_altmonth): New macro.
20932 (__strftime_internal): Handle %OB format.
20933 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20934 (__strptime_internal): Handle %OB format.
20935 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20936 of month names including the new %OB format specifier.
20937
4612268a
TMQMF
209382018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20939
20940 [BZ #22685]
20941 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20942 from ABORT_TRANSACTION.
20943 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20944 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20945 ABORT_TRANSACTION_IMPL): Likewise.
20946 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20947 Linux code, but remove the code that aborts transactions.
20948
64f63cb4
ST
209492018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20950
20951 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20952
32ac6e92
RL
209532018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20954
20955 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20956 in date: "2004-14-09" should be "2004-09-14".
20957 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20958 "2003-15-09" should be "2003-09-15".
20959
8e448310
AS
209602018-01-18 Arjun Shankar <arjun@redhat.com>
20961
20962 [BZ #22343]
71aa429b 20963 [BZ #22774]
4590634f 20964 CVE-2018-6485
71aa429b 20965 CVE-2018-6551
8e448310
AS
20966 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20967 after padding.
20968 (_int_memalign): check for integer overflow before calling
20969 _int_malloc.
20970 * malloc/tst-malloc-too-large.c: New test.
20971 * malloc/Makefile: Add tst-malloc-too-large.
20972
e234d7cb
RL
209732018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20974
20975 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20976 in date: "2017-24-07" should be "2017-07-24".
20977 * localedata/locales/mai_IN: Likewise.
20978 * localedata/locales/mai_NP: Likewise.
20979
48b66019
DL
209802018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20981
20982 * po/ru.po: Update translations.
20983
1eeddc58
JM
209842018-01-17 Joseph Myers <joseph@codesourcery.com>
20985
20986 [BZ #22719]
20987 * sysdeps/hppa/backtrace.c: New file.
20988
207a72e2
L
209892018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20990
20991 [BZ #22715]
20992 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20993 align La_x86_64_retval to VEC_SIZE.
20994
4942c4ea
JM
209952018-01-16 Joseph Myers <joseph@codesourcery.com>
20996
20997 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20998 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20999
10d200db
FW
210002018-01-16 Florian Weimer <fweimer@redhat.com>
21001
21002 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21003 Move tst-thread-exit-clobber ...
21004 [$(CXX)] (tests-unsupported): ... to here.
21005
953c49cc
SN
210062018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21007
21008 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21009 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21010 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21011 (_dl_aarch64_cap_flags): Update.
21012 (_DL_HWCAP_COUNT): Update.
21013
afce1991
SN
210142018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21015
21016 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21017 (_DL_HWCAP_LAST): Remove.
21018 (_DL_HWCAP_COUNT): Move to ...
21019 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21020 (_DL_HWCAP_COUNT): ... here.
21021
b725132d
FW
210222018-01-16 Florian Weimer <fweimer@redhat.com>
21023
21024 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21025 mode with GNU extensions.
21026
c9e613a7
AH
210272018-01-15 Alan Hayward <alan.hayward@arm.com>
21028
21029 * elf/elf.h (NT_ARM_SVE): Define.
21030
860b0240
FW
210312018-01-15 Florian Weimer <fweimer@redhat.com>
21032
21033 [BZ #22636]
21034 * nptl/tst-minstack-throw.cc: New file.
21035 * nptl/Makefile (tests): Add tst-minstack-throw.
21036 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21037 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21038
16d0f6ac
JM
210392018-01-15 Joseph Myers <joseph@codesourcery.com>
21040
21041 * scripts/build-many-glibcs.py (Context.checkout): Default
21042 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21043 version to 1.1.0.
21044
505d3910
CD
210452018-01-13 Carlos O'Donell <carlos@redhat.com>
21046
21047 [BZ #22707]
21048 * elf/elf.h (DF_1_STUB): Define.
21049 (DF_1_PIE): Define.
21050
af1e6be4
TMQMF
210512018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21052
21053 [BZ #22697]
21054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21055 Do not add 0.5 to integer or out-of-range arguments.
21056
98d13ce0
DL
210572018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21058
21059 * po/bg.po: Update translations.
21060 * po/cs.po: Likewise.
21061 * po/de.po: Likewise.
21062 * po/ko.po: Likewise.
21063 * po/pl.po: Likewise.
21064 * po/sv.po: Likewise.
21065 * po/uk.po: Likewise.
21066 * po/vi.po: Likewise.
21067
3d1d7928
SN
210682018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21069
21070 * aarch64/start.S (_start): Use __wrap_main.
21071 (__wrap_main): New local symbol.
21072
52a713fd
DL
210732018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21074
21075 [BZ #22679]
21076 CVE-2018-1000001
21077 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21078 generic_getcwd if the path returned by getcwd syscall is not absolute.
21079 * io/tst-getcwd-abspath.c: New test.
21080 * io/Makefile (tests): Add tst-getcwd-abspath.
21081
249a5895
IK
210822018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21083
21084 * malloc/malloc.c (malloc_consolidate): Add size check.
21085
1a51e46e
FW
210862018-01-12 Florian Weimer <fweimer@redhat.com>
21087
21088 * support/write_message.c (write_message): Preserve errno.
21089 * support/check.c (print_failure): Likewise.
21090 * support/support_test_verify_impl.c (support_test_verify_impl):
21091 Likewise.
21092 * support/support_test_compare_failure.c
21093 (support_test_compare_failure): Likewise.
21094
9a08a366
FW
210952018-01-12 Florian Weimer <fweimer@redhat.com>
21096
21097 [BZ #22701]
21098 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21099 Prevent installation of libnsl.so.
21100 (libnsl-inhibit-o): Do not build (or install) static libraries.
21101
80647883 211022018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
21103
21104 [BZ #22657]
21105 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21106 before the day number which may produce a double space.
21107 (date_fmt): Likewise.
21108
c8924f1f
JM
211092018-01-12 Joseph Myers <joseph@codesourcery.com>
21110
21111 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21112 instead of fegetenv.
21113
da09e6fa
JM
211142018-01-11 Joseph Myers <joseph@codesourcery.com>
21115
21116 [BZ #22702]
21117 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21118 comment to say exceptions are discarded.
21119 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21120 __fegetenv.
21121 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21122 be enabled.
21123
08c6e952
FW
211242018-01-11 Florian Weimer <fweimer@redhat.com>
21125
21126 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21127 and error message.
21128
d8b77890
FW
211292018-01-11 Florian Weimer <fweimer@redhat.com>
21130
21131 [BZ #22636]
21132 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21133 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21134
b303185d
JM
211352018-01-10 Joseph Myers <joseph@codesourcery.com>
21136
21137 [BZ #22693]
21138 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21139 negative arguments in test for NaN or infinity argument.
21140
ee61d028
DL
211412018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21142
21143 * po/libc.pot: Regenerate.
21144
f993b875
FW
211452018-01-10 Florian Weimer <fweimer@redhat.com>
21146
21147 [BZ #22636]
21148 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21149 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21150
09085ede
ST
211512018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21152
21153 * hurd/hurd/fd.h: Include <fcntl.h>
21154 (__hurd_at_flags): New function.
21155 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21156 with call to __hurd_at_flags.
21157 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21158 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21159 __faccessat
21160 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21161 (__access_noerrno): Use __faccessat_common instead of access_common.
21162 (__access): Likewise.
21163 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21164 with a call to __faccessat.
21165 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21166 (__faccessat_common): ... this. Move implementation of __access into it when
21167 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21168 reauthenticate_cwdir_at helper to implement AT mechanism.
21169 (__faccessat_noerrno): New function, just calls __faccessat_common.
21170 (__faccessat): New function, just calls __faccessat_common.
21171 (faccessat): Define weak alias.
21172
12727488
JM
211732018-01-10 Joseph Myers <joseph@codesourcery.com>
21174
87faac55
JM
21175 [BZ #22691]
21176 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21177 (CFLAGS-s_fmaxmagl.c): New variable.
21178 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21179
12727488
JM
21180 [BZ #22690]
21181 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21182 long int for arguments of possibly overflowing addition or
21183 subtraction.
21184 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21185
e134ca17
JM
211862018-01-09 Joseph Myers <joseph@codesourcery.com>
21187
b2584ac2
JM
21188 [BZ #22688]
21189 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21190 (CFLAGS-e_remainderl.c): New variable.
21191
e134ca17
JM
21192 [BZ #22687]
21193 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21194 variable.
21195 (CFLAGS-s_cacoshl.c): Likewise.
21196 (CFLAGS-s_casinhl.c): Likewise.
21197 (CFLAGS-s_catanl.c): Likewise.
21198 (CFLAGS-s_catanhl.c): Likewise.
21199 (CFLAGS-s_cexpl.c): Likewise.
21200 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21201 (CFLAGS-s_csinhl.c): Likewise.
21202 (CFLAGS-s_clogl.c): Likewise.
21203 (CFLAGS-s_clog10l.c): Likewise.
21204 (CFLAGS-s_csinl.c): Likewise.
21205 (CFLAGS-s_csqrtl.c): Likewise.
21206
d31a4a48
ST
212072017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
212082017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
21209
21210 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21211 (_hurd_exec_paths): New function.
21212 * hurd/hurd.h (_hurd_exec): Deprecate function.
21213 (_hurd_exec_paths): Declare function.
21214 * hurd/Versions: Export _hurd_exec_paths.
21215 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21216 (__execve): Use __getcwd to build absolute path, and use
21217 _hurd_exec_paths instead of _hurd_exec.
21218 * sysdeps/mach/hurd/spawni.c: Likewise.
21219 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21220 _hurd_exec.
21221
d7ff3f11
DL
212222018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21223
21224 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21225 test instead of failing in case of ENOENT returned by posix_openpt.
21226
401311cf
FW
212272018-01-08 Florian Weimer <fweimer@redhat.com>
21228
21229 resolv: Support binary labels in test framework.
21230 * support/resolv_test.c (struct to_be_freed): Remove.
21231 (struct compressed_name): New.
21232 (allocate_compressed_name, ascii_tolower)
21233 (compare_compressed_name): New functions.
21234 (struct resolv_response_builder): Update type of
21235 compression_offsets for use with tsearch. Rempve to_be_freed.
21236 (response_push_pointer_to_free): Remove function.
21237 (resolv_response_add_name): Rewrite using struct compressed_name
21238 and tsearch instead of hsearch_r.
21239 (response_builder_allocate): Remove initialization of
21240 compression_offsets.
21241 (response_builder_free): Update for removal of to_be_freed. Use
21242 tdestroy instead of hdestroy_r.
21243 * resolv/Makefile (tests): Add tst-resolv-binary.
21244 (tst-resolv-binary): Link with -lresolv -lpthread.
21245
2b3aa446
FW
212462018-01-08 Florian Weimer <fweimer@redhat.com>
21247
21248 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21249 time. Pass positive flag instead of negative flag to
21250 support_test_compare_failure.
21251 (support_test_compare_failure): Change negative parameter to
21252 positive.
21253 * support/support_test_compare_failure.c (report)
21254 (support_test_compare_failure): Likewise.
21255 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21256 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21257
630f4cc3
SN
212582018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21259
21260 [BZ #22637]
21261 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21262 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21263 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21264 stacksize.
21265 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21266
c70e4e9c
L
212672018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21268
21269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21270 Add s_sincosf-sse2 and s_sincosf-fma.
21271 (CFLAGS-s_sincosf-fma.c): New.
21272 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21273 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21274 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21275 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21276 __sincosf is defined.
21277
579396ee
FW
212782018-01-08 Florian Weimer <fweimer@redhat.com>
21279
21280 * nptl/tst-thread-exit-clobber.cc: New file.
21281 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21282 C++11 mode.
21283 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21284 (tests): Add tst-thread-exit-clobber.
21285 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21286
dabd75b6
FW
212872018-01-08 Florian Weimer <fweimer@redhat.com>
21288
21289 * support/check.h (support_static_assert): Define.
21290 (TEST_COMPARE): Use it.
21291
c2e014cc
AJ
212922018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21293
21294 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21295 [!__RLIM_T_MATCHES_RLIM64_T]
21296 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21297 __getrlimit64. Add libc_hidden_weak.
21298
31a98837
PD
212992018-01-06 Palmer Dabbelt <palmer@sifive.com>
21300
21301 * elf/elf.h (R_RISCV_NONE): New define.
21302 (R_RISCV_32): Likewise.
21303 (R_RISCV_64): Likewise.
21304 (R_RISCV_RELATIVE): Likewise.
21305 (R_RISCV_COPY): Likewise.
21306 (R_RISCV_JUMP_SLOT): Likewise.
21307 (R_RISCV_TLS_DTPMOD32): Likewise.
21308 (R_RISCV_TLS_DTPMOD64): Likewise.
21309 (R_RISCV_TLS_DTPREL32): Likewise.
21310 (R_RISCV_TLS_DTPREL64): Likewise.
21311 (R_RISCV_TLS_TPREL32): Likewise.
21312 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
21313 * Makerules (make-link-multidir): Make directories before linking into
21314 them.
150bbac1
PD
21315 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21316 define.
21317 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
21318 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21319 in subdirectories of lib.
8e13c51b
PD
21320 * nptl/Makefile (/librt.so): Always depend on
21321 "$(shared-thread-library)".
31a98837 21322
fad7d57e
ST
213232018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21324
21325 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
21326 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21327 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21328 (___tls_get_addr).
21329 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
21330 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21331 "-O2 -march=i686".
01c7e549 21332 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
21333 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21334 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21335 * sysdeps/gnu/glob-lstat-compat.c: New file.
21336 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 21337 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 21338
3a32b716
TMQMF
213392018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21340
21341 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21342 Reserve 16 chars to reloc_addr before calling _itoa_word.
21343
24731685
AJ
213442018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21345
21346 [BZ #22678]
21347 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21348 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21349
19be56d8
AJ
21350 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21351 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21352
a6d0afb5
AJ
21353 * resource/tst-getrlimit.c: Add copyright header.
21354
8e900969
AJ
213552018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21356 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21357
21358 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21359 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21360 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21361 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21362 instead.
21363 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21364 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21365 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21366 RLIM64_INFINITY): Fix values to match the kernel ones.
21367 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21368 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21369 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21370 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21371 getrlimit64@@GLIBC_2_27.
21372 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21373 and setrlimit64.
21374 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21375 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21376 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21377 setrlimit, getrlimit64 and setrlimit64.
21378
0d0bc784
AJ
213792018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21380
21381 [BZ #22648]
21382 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21383 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21384
ba374b6d
JM
213852018-01-04 Joseph Myers <joseph@codesourcery.com>
21386
21387 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21388 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21389 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21390
4854ddd8
AZ
213912018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21392
b0a4eca2
AZ
21393 [BZ #15479]
21394 [BZ #22666]
21395 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21396 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21397
4854ddd8
AZ
21398 [BZ #15479]
21399 [BZ #22665]
21400 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21401 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21402 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21403 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21404
8a5df95f
FW
214052018-01-04 Florian Weimer <fweimer@redhat.com>
21406
21407 [BZ #22667]
21408 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21409 Align the stack before calling exit.
21410 * stdlib/tst-makecontext-align.c: New file.
21411 * stdlib/Makefile (tests): Add tst-makecontext-align.
21412
82eef55f
FW
214132018-01-04 Florian Weimer <fweimer@redhat.com>
21414
21415 Add support for calling dlvsym from libc.so.
21416 * include/dlfcn.h (__libc_dlvsym): Declare.
21417 * elf/Makefile (tests-static-internal): Add
21418 tst-libc_dlvsym-static.
21419 (tests-internal): Add tst-libc_dlvsym.
21420 (modules-names): Add tst-libc_dlvsym-dso.
21421 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21422 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21423 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21424 object tst-libc_dlvsym-dso.so needs to be built before running
21425 these tests.
21426 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21427 * elf/Versions: Export __libc_dlvsym.
21428 * elf/dl-libc.c (struct do_dlvsym_args): New.
21429 (do_dlvsym, __libc_dlvsym): New functions.
21430 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21431 (_dl_open_hook2): New variable.
21432 (__libc_register_dl_open_hook): Set it.
21433 * elf/tst-libc_dlvsym-dso.c: New file.
21434 * elf/tst-libc_dlvsym-static.c: Likewise.
21435 * elf/tst-libc_dlvsym.c: Likewise.
21436 * elf/tst-libc_dlvsym.h: Likewise.
21437
1714fc06
ST
214382018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21439
21440 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21441 include <sys/mount.h>.
21442
3c7d0312
WD
214432018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21444
21445 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21446 Add __NO_MATH_ERRNO__ check.
21447
7eff0954
JM
214482018-01-02 Joseph Myers <joseph@codesourcery.com>
21449
21450 * sysdeps/mips/mips32/libm-test-ulps: Update.
21451 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21452
77f49956
FW
214532018-01-02 Florian Weimer <fweimer@redhat.com>
21454
21455 * misc/tst-pselect.c: Add copyright header.
21456
363e4519 214572018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
21458
21459 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21460 comment.
21461 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21462 comment.
21463 (settrlimit): Rename into setrlimit.
21464 (__sttrlimit): Rename into __setrlimit.
21465
3e4226ff
AJ
21466 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21467 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21468 never defined in that case.
21469
b9256ab6
JM
214702018-01-02 Joseph Myers <joseph@codesourcery.com>
21471
28fd6a44
JM
21472 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21473
a4933a15
JM
21474 * sysdeps/arm/libm-test-ulps: Update.
21475
b9256ab6
JM
21476 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21477 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21478
4cf82d23
RS
214792018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21480
21481 * NEWS: Add cosf and sincosf to list of optimized functions.
21482
6a9dd7a7
AJ
214832018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21484
21485 [BZ #22660]
21486 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21487 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21488 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21489 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21490
dbba87d5
DL
214912018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21492
b05cb613
DL
21493 [BZ #22433]
21494 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21495
dbba87d5
DL
21496 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21497 making a copy of it.
21498
688903eb
JM
214992018-01-01 Joseph Myers <joseph@codesourcery.com>
21500
66ac23de
JM
21501 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21502 trailing whitespace removed.
21503 * scripts/config.guess: Update to version 2018-01-01.
21504 * scripts/config.sub: Update to version 2018-01-01.
21505 * scripts/move-if-change: Update from gnulib.
21506
09533208
JM
21507 * NEWS: Update copyright dates.
21508 * catgets/gencat.c (print_version): Likewise.
21509 * csu/version.c (banner): Likewise.
21510 * debug/catchsegv.sh: Likewise.
21511 * debug/pcprofiledump.c (print_version): Likewise.
21512 * debug/xtrace.sh (do_version): Likewise.
21513 * elf/ldconfig.c (print_version): Likewise.
21514 * elf/ldd.bash.in: Likewise.
21515 * elf/pldd.c (print_version): Likewise.
21516 * elf/sotruss.sh: Likewise.
21517 * elf/sprof.c (print_version): Likewise.
21518 * iconv/iconv_prog.c (print_version): Likewise.
21519 * iconv/iconvconfig.c (print_version): Likewise.
21520 * locale/programs/locale.c (print_version): Likewise.
21521 * locale/programs/localedef.c (print_version): Likewise.
21522 * login/programs/pt_chown.c (print_version): Likewise.
21523 * malloc/memusage.sh (do_version): Likewise.
21524 * malloc/memusagestat.c (print_version): Likewise.
21525 * malloc/mtrace.pl: Likewise.
21526 * manual/libc.texinfo: Likewise.
21527 * nptl/version.c (banner): Likewise.
21528 * nscd/nscd.c (print_version): Likewise.
21529 * nss/getent.c (print_version): Likewise.
21530 * nss/makedb.c (print_version): Likewise.
21531 * posix/getconf.c (main): Likewise.
21532 * scripts/test-installation.pl: Likewise.
21533 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21534
688903eb
JM
21535 * All files with FSF copyright notices: Update copyright dates
21536 using scripts/update-copyrights.
21537 * locale/programs/charmap-kw.h: Regenerated.
21538 * locale/programs/locfile-kw.h: Likewise.
21539
4f820792
ZW
215402017-12-31 Zack Weinberg <zackw@panix.com>
21541
21542 * libio/bits/libio-ldbl.h: Correct check for improper
21543 inclusion. Add own multiple include guard.
21544
3e3c904d
AJ
215452017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21546 Dmitry V. Levin <ldv@altlinux.org>
21547
21548 [BZ #22625]
31f96325 21549 CVE-2017-16997
3e3c904d
AJ
21550 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21551 string token expansion. Check for NULL pointer or empty string possibly
21552 returned by expand_dynamic_string_token.
21553 (decompose_rpath): Check for empty path after dynamic string
21554 token expansion.
21555
7e21972b
DL
215562017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21557
c48831d0
DL
21558 [BZ #22433]
21559 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21560
ac583f50
DL
21561 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21562 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21563 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21564 and PTRACE_SYSCALL.
21565 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21566 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21570 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21571
7e21972b
DL
21572 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21573 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21574 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21575 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21577 bits/ptrace-shared.h.
21578 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21579 <bits/ptrace-shared.h>.
21580 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21581 __ptrace_peeksiginfo_flags, ptrace): Remove.
21582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21586 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21587
72f29e3a
AJ
215882017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21589
21590 [BZ #17804]
21591 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21592 end of the loop. Improve comments.
21593
54e4efc2
AJ
215942017-12-29 Zack Weinberg <zackw@panix.com>
21595
21596 [BZ #22615]
21597 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21598 might be set on success.
21599
f8aa69be
AJ
216002017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21601
21602 [BZ #22611]
21603 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21604 is unchanged on success.
21605
97f13188
DL
216062017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21607
2bd86632
DL
21608 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21609 updated.
21610 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21611 expand_dynamic_string_token): Likewise.
21612 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21613 is_path argument.
21614
1c36e1e6
DL
21615 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21616 contains ':'.
21617
97f13188
DL
21618 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21619 is set and name contains ':', and all code depending on these checks.
21620
48a8f832
ZW
216212017-12-24 Zack Weinberg <zackw@panix.com>
21622
21623 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21624 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21625 respectively.
21626 * libio/libio.h: Rename the original version of this file to
21627 libio/bits/libio.h. Error out if not included by stdio.h or the
21628 stub libio.h.
21629 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21630 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21631 if not included by bits/libio.h or the stub _G_config.h.
21632 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21633 sysdeps/unix/sysv/linux/bits. Error out if not included by
21634 bits/libio.h or the stub _G_config.h.
21635 * libio/stdio.h: Include bits/libio.h, not libio.h.
21636 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21637 well as libio.h and _G_config.h.
21638
21639 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21640 * libio/strfile.h, stdio-common/vfscanf.c
21641 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21642 Include stdio.h, not _G_config.h nor libio.h.
21643 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21644 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21645
21646 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21647
a47ad79a
DL
216482017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21649
21650 [BZ #22347]
21651 * stdlib/getrandom.c (getrandom): Fix comment.
21652 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21653
363e4519 216542017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 21655
f5c558f3
AJ
21656 [BZ #21161]
21657 * manual/arith.texi (strtoul): Fix a typo.
21658
e65a5644
AJ
21659 [BZ #22596]
21660 * manual/arith.texi (finite): Fix the description of the return
21661 value.
21662
ed8ae46b
EB
216632017-12-22 Eric Blake <ebb9@byu.net>
21664
21665 Avoid gcc warnings on cygwin
21666 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21667 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21668 Avoid unused variable.
21669
bad7a0c8
FW
216702017-12-22 Florian Weimer <fweimer@redhat.com>
21671
21672 * io/Makefile (routines): Add copy_file_range.
21673 (tests): Add tst-copy_file_range.
21674 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21675 * io/Versions (GLIBC_2.27): Export copy_file_range.
21676 * io/copy_file_range-compat.c: New file.
21677 * io/copy_file_range.c: Likewise.
21678 * io/tst-copy_file_range-compat.c: Likewise.
21679 * io/tst-copy_file_range.c: Likewise.
21680 * manual/llio.texi (Copying File Data): New section.
21681 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21682 * support/Makefile (libsupport-routines): Add support-xfstat,
21683 xftruncate, xlseek.
21684 * support/support-xfstat.c: New file.
21685 * support/xftruncate.c: Likewise.
21686 * support/xlseek.c: Likewise.
21687 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21688 * sysdeps/unix/sysv/linux/**.abilist: Update.
21689 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21690
6cb86fd2
SN
216912017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21692
21693 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21694 disable-multi-arch variant to aarch64-linux-gnu.
21695
41d11b15
JM
216962017-12-20 Joseph Myers <joseph@codesourcery.com>
21697
21698 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21699 trailing whitespace removed.
21700 * scripts/config.guess: Update to version 2017-12-17.
21701 * scripts/config.sub: Update to version 2017-11-23.
21702 * scripts/install-sh: Update to version 2017-09-23.17.
21703 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21704
4735850f
AZ
217052017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21706
8d2d239c
AZ
21707 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21708 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21709 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21710 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21711 * sysdeps/tile/crtn.S: Likewise.
21712 * sysdeps/tile/dl-start.S (_start): Likewise.
21713 * sysdeps/tile/dl-trampoline.S: Likewise.
21714 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21715 * sysdeps/tile/start.S (_start): Likewise.
21716 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21717 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21718 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21719 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21720 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21721 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21722 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21723
24d1d8ec
AZ
21724 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21725 comment.
21726 * sysdeps/tile/preconfigure: Remove tilegx folder.
21727 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21728 * sysdeps/tile/Implies: ... here.
21729 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21730 * sysdeps/tile/Makefile: ... here.
21731 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21732 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21733 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21734 * sysdeps/tile/bits/wordsize.h: ... here.
21735 * sysdeps/tile/tilegx/*: Move to ...
21736 * sysdeps/tile/*: ... here.
21737 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21738 * sysdeps/tile/tilegx32/Implies: ... here.
21739 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21740 * sysdeps/tile/tilegx64/Implies: ... here.
21741 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21742 to ...
21743 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21744 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21745 * sysdeps/unix/sysv/linux/tile/*: ... here.
21746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21747 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21749 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21750
ed95f611
AZ
21751 * README: Remove tilepro-*-linux-gnu from supported architecture.
21752 * scripts/build-many-glibcs.py: Likewise.
21753 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21754 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21755 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21756 elf_machine_matches_host, elf_machine_dynamic,
21757 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21758 howto, elf_machine_rela): Likewise.
21759 * sysdeps/tile/dl-start.S (_start): Likewise.
21760 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21761 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21762 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21763 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21764 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21765 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21766 Likewise.
21767 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21768 * sysdeps/tile/preconfigure: Likewise.
21769 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21770 POINTER_CHK_GUARD): Likewise.
21771 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21772 * sysdeps/tile/start.S (_start): Likewise.
21773 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21774 Likewise.
21775 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21776 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21777 CMOVNEZ): Remove.
21778 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21779 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21780 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21781 Likewise.
21782 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21783 * sysdeps/tile/tilepro/Implies: Remove file.
21784 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21785 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21786 * sysdeps/tile/tilepro/memchr.c: Likewise.
21787 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21788 * sysdeps/tile/tilepro/memset.c: Likewise.
21789 * sysdeps/tile/tilepro/memusage.h: Likewise.
21790 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21791 * sysdeps/tile/tilepro/strchr.c: Likewise.
21792 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21793 * sysdeps/tile/tilepro/strlen.c: Likewise.
21794 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21795 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21796 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21797 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21798 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21799 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21800 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21801 Likewise.
21802 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21803 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21805 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21806 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21807 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21808 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21809 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21810 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21811 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21812 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21813 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21814 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21815 tilepro mention in comment.
21816
4735850f
AZ
21817 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21818 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21819 * nptl/pthread_join_common.c: New file: common function used on
21820 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21821 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21822 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21823 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21824 (cleanup): Move definition to pthread_join_common.c.
21825 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21826 Remove superflous checks.
21827 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21828 Likewise.
21829
8bfb461e
SN
218302017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21831
21832 * sysdeps/aarch64/libm-test-ulps: Update.
21833
4e001969
AZ
218342017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21835
21836 * sysdeps/aarch64/memset.S (MEMSET): Define.
21837
8a26ad2a
FW
218382017-12-20 Florian Weimer <fweimer@redhat.com>
21839
21840 [BZ #22635]
21841 nptl: Provide full implementation of pthread_self in libc.so.
21842 * nptl/Makefile (routines): Add pthread_self.
21843 (libpthread-routines): Replace pthread_self with
21844 compat-pthread_self.
21845 * nptl/forward.c (pthread_self): Remove.
21846 * nptl/nptl-init.c (pthread_functions): Do not initialize
21847 ptr_pthread_self.
21848 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21849 * nptl/compat-pthread_self.c: New file.
21850 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21851 Remove ptr_pthread_self.
21852
5069ff32
AR
218532017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21854
21855 * posix/regcomp.c: Fix spelling in comments.
21856 * posix/regex.h: Likewise.
21857 * posix/regex_internal.c: Likewise.
21858 * posix/regexec.c: Likewise.
21859
c85e54ac
GG
218602017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21861
21862 [BZ #22377]
21863 * math/Makefile [C++] (tests): Add test for iseqsig.
21864 * math/math.h [C++] (iseqsig): New implementation, which does
21865 not rely on __MATH_TG/__builtin_types_compatible_p.
21866 * math/test-math-iseqsig.cc: New file.
21867 * sysdeps/powerpc/powerpc64le/Makefile
21868 (CFLAGS-test-math-iseqsig.cc): New variable.
21869
10e93d96
DL
218702017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21871
21872 * elf/dl-load.c (is_trusted_path): Remove.
21873 (fillin_rpath): Remove check_trusted argument and its use,
21874 all callers changed.
21875
ce16eb52
L
218762017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21877
21878 [BZ #22630]
21879 * Makeconfig (link-pie-before-libc): Replace -pie with
21880 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21881 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21882 (tst-dlopen-aout-no-pie): New.
21883 (LDFLAGS-tst-prelink): Removed.
21884 (tst-prelink-no-pie): New.
21885 (LDFLAGS-tst-main1): Removed.
21886 (tst-main1-no-pie): New.
21887 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21888 (tst-gmon-no-pie): New.
21889
126adc89
L
218902017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21891
21892 * manual/install.texi: Document that --enable-static-pie
21893 implies PIE.
21894 * INSTALL: Regenerated.
21895
648615e1
BE
218962017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21897
21898 [BZ #21309]
21899 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21900 unsigned.
21901
f1e00502
JM
219022017-12-19 Joseph Myers <joseph@codesourcery.com>
21903
21904 Revert:
21905
21906 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21907
21908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21909
21910 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21911
21912 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21913 <errno.h>. Include "eexp.tbl".
21914 (half): New constant.
21915 (one): Likewise.
21916 (__ieee754_exp): Rewrite.
21917 (__slowexp): Remove prototype.
21918 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21919 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21920 * sysdeps/i386/fpu/slowexp.c: Likewise.
21921 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21922 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21923 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21925 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21926 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21927 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21928 comment.
21929 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21930 (CPPFLAGS-slowexp.c): Remove variable.
21931 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21932 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21933 (CFLAGS-slowexp-fma.c): Remove variable.
21934 (CFLAGS-slowexp-fma4.c): Likewise.
21935 (CFLAGS-slowexp-avx.c): Likewise.
21936 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21937 define as macro.
21938 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21940 * math/Makefile (type-double-routines): Remove slowexp.
21941 * manual/probes.texi (slowexp_p6): Remove.
21942 (slowexp_p32): Likewise.
21943
d711a00f
AZ
219442017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21945
e184ac3a
AZ
21946 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21947 arithmetic.
21948
d711a00f
AZ
21949 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21950
6f58c10d
JM
219512017-12-19 Joseph Myers <joseph@codesourcery.com>
21952
21953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21954
6fd0a3c6
PM
219552017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21956
21957 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21958 <errno.h>. Include "eexp.tbl".
21959 (half): New constant.
21960 (one): Likewise.
21961 (__ieee754_exp): Rewrite.
21962 (__slowexp): Remove prototype.
21963 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21964 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21965 * sysdeps/i386/fpu/slowexp.c: Likewise.
21966 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21967 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21968 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21969 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21970 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21971 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21972 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21973 comment.
21974 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21975 (CPPFLAGS-slowexp.c): Remove variable.
21976 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21977 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21978 (CFLAGS-slowexp-fma.c): Remove variable.
21979 (CFLAGS-slowexp-fma4.c): Likewise.
21980 (CFLAGS-slowexp-avx.c): Likewise.
21981 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21982 define as macro.
21983 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21984 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21985 * math/Makefile (type-double-routines): Remove slowexp.
21986 * manual/probes.texi (slowexp_p6): Remove.
21987 (slowexp_p32): Likewise.
21988
3bb1ef58 219892017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 21990 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
21991
21992 [BZ #22603]
21993 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21994 addition.
21995
554e3d51
AZ
219962017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21997
21998 [BZ #22605]
21999 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22000 code.
22001
cba595c3
L
220022017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 [BZ #22563]
22005 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22006 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22007 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22008 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22009 to feature_1.
22010
f81ddabf
L
220112017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22012
22013 [BZ #22563]
22014 * bits/types/__cancel_jmp_buf_tag.h: New file.
22015 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22016 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22017 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22018 * nptl/Makefile (headers): Add
22019 bits/types/__cancel_jmp_buf_tag.h.
22020 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22021 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22022 * sysdeps/nptl/pthread.h: Include
22023 <bits/types/__cancel_jmp_buf_tag.h>.
22024 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22025 __cancel_jmp_buf.
22026 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22027
1a49fc59
L
220282017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22029
22030 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22031 --enable-static-pie variants to x86_64, x32 and i686.
22032
8e52f573
JM
220332017-12-19 Joseph Myers <joseph@codesourcery.com>
22034
66425185
JM
22035 [BZ #22631]
22036 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22037 argument for attrubutes. All callers changed.
22038 (__inline_mathop1): Likewise. All callers changed.
22039 (__inline_mathop): Likewise. All callers changed.
22040 [__USE_MISC] (scalbn): Use __inline_forward instead of
22041 __inline_forward_c.
22042 [__USE_ISOC99] (scalbln): Likewise.
22043 [__USE_ISOC99] (nearbyint): Likewise.
22044 [__USE_ISOC99] (lrint): Likewise.
22045 [__USE_MISC] (scalbnf): Likewise.
22046 [__USE_ISOC99] (scalblnf): Likewise.
22047 [__USE_ISOC99] (nearbyintf): Likewise.
22048 [__USE_ISOC99] (lrintf): Likewise.
22049 [__USE_MISC] (scalbnl): Likewise.
22050 [__USE_ISOC99] (scalblnl): Likewise.
22051 [__USE_ISOC99] (nearbyintl): Likewise.
22052 [__USE_ISOC99] (lrintl): Likewise.
22053 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22054 __inline_mathop and __m81_defun changed.
22055
8e52f573
JM
22056 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22057 CPU or FPU for ARM hard-float configurations.
22058
1421f39b
JM
220592017-12-18 Joseph Myers <joseph@codesourcery.com>
22060
40c4162d
JM
22061 * nptl/tst-attr3.c: Include <libc-diag.h>.
22062 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22063
5983df32
JM
22064 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22065
1421f39b
JM
22066 * string/tester.c (test_strncat): Also disable -Warray-bounds
22067 warnings for two tests.
22068
00c714df
L
220692017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22070
22071 [BZ #22614]
22072 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22073 $(cc-pie-default) == yes.
22074 * config.make.in (cc-pie-default): New.
22075 * configure.ac (libc_cv_pie_default): Renamed to ...
22076 (libc_cv_cc_pie_default): This.
22077 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22078 * configure: Regenerated.
22079
8e1472d2
FW
220802017-12-18 Florian Weimer <fweimer@redhat.com>
22081
22082 [BZ #20204]
22083 ld.so: Harden dl-libc/libdl hooks.
22084 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22085 (rtld_active): New function.
22086 * dlfcn/dladdr.c (__dladdr): Call it.
22087 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22088 * dlfcn/dlclose.c (__dlcose): Likewise.
22089 * dlfcn/dlerror.c (__dlerror): Likewise.
22090 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22091 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22092 * dlfcn/dlopen.c (__dlopen): Likewise.
22093 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22094 * dlfcn/dlsym.c (__dlsym): Likewise.
22095 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22096 * libio/vtables.c (_IO_vtable_check): Likewise.
22097 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22098 (__libc_dlclose): Likewise.
22099 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22100 assignment.
22101
49b036bc
JM
221022017-12-18 Joseph Myers <joseph@codesourcery.com>
22103
22104 [BZ #22446]
22105 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22106 buffers for readlink input and output.
22107
368b6c8d
ST
221082017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22109
c85c564d
ST
22110 [BZ #22624]
22111 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22112 inhibit_stack_protector.
22113
368b6c8d
ST
22114 [BZ #22624]
22115 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22116 inhibit_stack_protector.
22117
bb195224
DL
221182017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22119
22120 [BZ #22627]
22121 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22122 code and invocation.
22123
14d886ed
SN
221242017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22125
22126 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22127
7d38eb38
AJ
221282017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22129
22130 [BZ #22505]
22131 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22132
2e77deef
RS
221332017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22134
22135 * sysdeps/s390/fpu/libm-test-ulps: Update.
22136
0b9bef6d
RS
221372017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22138
22139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22140
984ae996
RS
221412017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22142
22143 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22144 constants to s_sincosf.h file.
22145 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22146 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22147 implementation.
22148 * sysdeps/ieee754/flt-32/s_sincosf.h:
22149 New file.
22150
363e4519 221512017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
22152
22153 [BZ #14681]
22154 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22155 before mtrace.
22156
9d7a3741
L
221572017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22158
22159 [BZ #19574]
22160 * INSTALL: Regenerated.
22161 * Makeconfig (real-static-start-installed-name): New.
22162 (pic-default): Updated for --enable-static-pie.
22163 (pie-default): New for --enable-static-pie.
22164 (default-pie-ldflag): Likewise.
22165 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22166 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22167 Replace $(static-start-installed-name) with
22168 $(real-static-start-installed-name).
22169 (+prectorT): Updated for --enable-static-pie.
22170 (+postctorT): Likewise.
22171 (CFLAGS-.o): Add $(pie-default).
22172 (CFLAGS-.op): Likewise.
22173 * NEWS: Mention --enable-static-pie.
22174 * config.h.in (ENABLE_STATIC_PIE): New.
22175 * configure.ac (--enable-static-pie): New configure option.
22176 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22177 (have-static-pie): Likewise.
22178 Enable static PIE if linker supports --no-dynamic-linker.
22179 (ENABLE_STATIC_PIE): New AC_DEFINE.
22180 (enable-static-pie): New LIBC_CONFIG_VAR.
22181 * configure: Regenerated.
22182 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22183 gr$(start-installed-name) for --enable-static-pie.
22184 (extra-objs): Likewise.
22185 (install-lib): Likewise.
22186 (extra-objs): Add static-reloc.o and static-reloc.os
22187 ($(objpfx)$(start-installed-name)): Also depend on
22188 $(objpfx)static-reloc.o.
22189 ($(objpfx)r$(start-installed-name)): New.
22190 ($(objpfx)g$(start-installed-name)): Also depend on
22191 $(objpfx)static-reloc.os.
22192 ($(objpfx)gr$(start-installed-name)): New.
22193 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22194 in libc.a.
22195 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22196 initimage.
22197 * csu/static-reloc.c: New file.
22198 * elf/Makefile (routines): Add dl-reloc-static-pie.
22199 (elide-routines.os): Likewise.
22200 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22201 (tst-tls1-static-non-pie-no-pie): New.
22202 * elf/dl-reloc-static-pie.c: New file.
22203 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22204 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22205 STATIC_PIE_BOOTSTRAP.
22206 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22207 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22208 (tests-static): Likewise.
22209 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22210 (tst-gmon-static-no-pie): New.
22211 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22212 (CRT-tst-gmon-static-pie): Likewise.
22213 (tst-gmon-static-pie-ENV): Likewise.
22214 (tests-special): Likewise.
22215 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22216 (clean-tst-gmon-static-pie-data): Likewise.
22217 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22218 * gmon/tst-gmon-static-pie.c: New file.
22219 * manual/install.texi: Document --enable-static-pie.
22220 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22221 (_dl_get_dl_main_map): Likewise.
22222 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22223 * sysdeps/x86_64/configure.ac: Likewise.
22224 * sysdeps/i386/configure: Regenerated.
22225 * sysdeps/x86_64/configure: Likewise.
22226 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22227 (ASFLAGS-.op): Likewise.
22228
95511aab
JM
222292017-12-15 Joseph Myers <joseph@codesourcery.com>
22230
22231 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22232 * posix/tst-mmap-offset.c (fname): Use /tmp.
22233 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22234
a7e3edf4
SE
222352017-12-15 Steve Ellcey <sellcey@cavium.com>
22236
22237 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22238
d232f2e1
TS
222392017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22240
22241 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22242 errno.
22243
174edbde
JM
222442017-12-15 Joseph Myers <joseph@codesourcery.com>
22245
5170fa49
JM
22246 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22247 --with-float=hard for arm-linux-gnueabihf configurations.
22248
f2da2fd8
JM
22249 [BZ #14121]
22250 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22251 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22252 ($(mo-installed)): Use $(objpfx)%.mo.
22253 (realclean): Remove rule.
22254
0c4fe28d
JM
22255 * po/Makefile (linguas): Remove rule and dependencies.
22256 (linguas.mo): Likewise.
22257 (.PHONY): Do not depend on linguas and linguas.mo.
22258 (podir): Remove variable.
22259 (pofiles): Likewise.
22260 [$(pofiles)] (%.po): Remove rule.
22261
174edbde
JM
22262 * sysdeps/sparc/sparc32/Makefile
22263 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22264 start-of-line whitespace in argument of echo.
22265 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22266 with whitespace. Generate __wrap_.udiv alias.
22267 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22268 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22269 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22270 * sysdeps/sparc/sparc32/urem.S: Likewise.
22271
1e36806f
RS
222722017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22273
22274 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22275 for aligned inputs.
22276
aa6932aa
SP
222772017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22278
5f1603c3
SP
22279 * benchtests/bench-strcmp.c: Print output in JSON format.
22280
aa6932aa
SP
22281 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22282
3ff3dfa5
FW
222832017-12-14 Florian Weimer <fweimer@redhat.com>
22284
22285 [BZ #22607]
22286 CVE-2017-1000409
22287 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22288 the expanded path string.
22289
8a0b17e4
FW
222902017-12-14 Florian Weimer <fweimer@redhat.com>
22291
22292 [BZ #22606]
22293 CVE-2017-1000408
22294 * elf/dl-load.c (system_dirs): Update comment.
22295 (nsystem_dirs_len): Use array_length.
22296 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22297
f58bd7f0
FW
222982017-12-14 Florian Weimer <fweimer@redhat.com>
22299
22300 Simplify compiling most of support/ outside of glibc.
22301 * support/check_addrinfo.c: Include <string.h>.
22302 * support/check_dns_packet.c: Likewise.
22303 * support/check_hostent.c: Likewise.
22304 * support/support_can_chroot.c: Include <support/xunistd.h>.
22305 * support/support_format_addrinfo.c: Include <stdlib.h>
22306 * support/support_format_dns_packet.c: Include <stdbool.h>.
22307 * support/support_format_hostent.c: Include <stdlib.h>.
22308 * support/support_format_netent.c: Likewise.
22309 * support/support_write_string.c: Include <support/xunistd.h>.
22310 * support/xdlfcn.c: Include <stddef.h>.
22311
4ca945e9
L
223122017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22313
22314 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22315
1b6e07f8
PM
223162017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22317 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22318
e6a1c5dc
PM
22319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22320 (sysdeps_routines): Add memset-niagara7.
22321 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22322 Likewise.
22323 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22324 file.
22325 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22326 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22327 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22328 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22329 Add niagara7 option.
22330 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22331 memset.
22332
1b6e07f8
PM
22333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22334 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22335 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22336 Likewise.
22337 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22338 New file.
22339 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22340 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22341 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22342 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22343 and __memmove_niagara7.
22344 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22345 Add niagara7 option.
22346 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22347 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22348 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22349 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22350 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22351
bfb7bf22
JM
223522017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22353
767a26d6
JM
22354 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22355 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22356 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22357 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22358
bfb7bf22
JM
22359 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22360 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22361 _dl_sparc_cap_flags array.
22362 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22363
2bce01eb
SP
223642017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22365
22366 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22367 time whenever possible.
22368
363e4519 223692017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
22370
22371 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22372 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22373
6f7c0092
JM
223742017-12-12 Joseph Myers <joseph@codesourcery.com>
22375
22376 * soft-fp/fmadf4.c: Move to ....
22377 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22378 * soft-fp/fmasf4.c: Move to ....
22379 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22380 * soft-fp/fmatf4.c: Move to ....
22381 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22382 * sysdeps/ieee754/soft-fp/Makefile: New file.
22383 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22384 * sysdeps/arm/preconfigure: Regenerated.
22385 * sysdeps/arm/nofpu/Implies: New file.
22386 * sysdeps/arm/s_fma.c: Remove file.
22387 * sysdeps/arm/s_fmaf.c: Likewise.
22388 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22389 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22390 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22391 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22392 * sysdeps/microblaze/s_fma.c: Remove file.
22393 * sysdeps/microblaze/s_fmaf.c: Likewise.
22394 * sysdeps/mips/mips32/nofpu/Implies: New file.
22395 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22396 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22397 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22398 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22399 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22400 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22401 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22402 implementation.
22403 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22404 * sysdeps/nios2/s_fma.c: Remove file.
22405 * sysdeps/nios2/s_fmaf.c: Likewise.
22406 * sysdeps/sh/nofpu/Implies: New file.
22407 * sysdeps/sh/s_fma.c: Remove file.
22408 * sysdeps/sh/s_fmaf.c: Likewise.
22409 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22410 * sysdeps/tile/s_fma.c: Remove file.
22411 * sysdeps/tile/s_fmaf.c: Likewise.
22412
ac817e08
L
224132017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22414
22415 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22416 Add s_cosf-sse2 and s_cosf-fma.
22417 (CFLAGS-s_cosf-fma.c): New.
22418 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22419 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22420 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22421
eb428576
SE
224222017-12-12 Steve Ellcey <sellcey@cavium.com>
22423
22424 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22425
c80acdc3
AZ
224262017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22427
cc683f7e
AZ
22428 * libio/Makefile (tests): Add tst-bz22415.
22429 (tst-bz22415-ENV): New rule.
22430 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22431 (tests-special): Add tst-bz22415-mem.out.
22432 ($(objpfx)tst-bz22415-mem.out): New rule.
22433 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22434 in case of a successful seek operation.
22435 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22436 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22437 buffer is required.
22438 * libio/tst-bz22415.c: New test.
22439
c80acdc3
AZ
22440 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22441
363e4519 224422017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
22443
22444 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22445 __IPC_64 to 0 to avoid IPC_64 being set.
22446
4e0dca54
SN
224472017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22448
22449 [BZ #22593]
22450 * math/bits/mathcalls.h (nextafter): Remove const.
22451 (nexttoward): Likewise.
22452
8df5d347
JM
224532017-12-12 Joseph Myers <joseph@codesourcery.com>
22454
22455 * configure.ac (--with-fp): Remove configure option.
22456 (with_fp_cond): New variable.
22457 (libc_cv_with_fp): New configure test. Use this variable instead
22458 of with_fp.
22459 * configure: Regenerated.
22460 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22461 * manual/install.texi (Configuring and compiling): Remove
22462 --without-fp.
22463 * INSTALL: Regenerated.
22464 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22465 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22466 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22467 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22468 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22469 use --without-fp to configure glibc.
22470
0cee1257
RJ
224712017-12-12 Rical Jasan <ricaljasan@pacific.net>
22472
22473 * manual/locale.texi (nl_langinfo): Fix a typo.
22474
363e4519 224752017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
22476
22477 [BZ #22588]
22478 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22479
36975e8e
L
224802017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22481
22482 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22483 (CFLAGS-argp-parse.c): Likewise.
22484 (CFLAGS-argp-fmtstream.c): Likewise.
22485 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22486 (CPPFLAGS-sha512-crypt.c): Likewise.
22487 (CPPFLAGS-md5-crypt.c): Likewise.
22488 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22489 (CFLAGS-stack_chk_fail_local.c): Likewise.
22490 (CFLAGS-backtrace.c): Likewise.
22491 (CFLAGS-sprintf_chk.c): Likewise.
22492 (CFLAGS-snprintf_chk.c): Likewise.
22493 (CFLAGS-vsprintf_chk.c): Likewise.
22494 (CFLAGS-vsnprintf_chk.c): Likewise.
22495 (CFLAGS-asprintf_chk.c): Likewise.
22496 (CFLAGS-vasprintf_chk.c): Likewise.
22497 (CFLAGS-obprintf_chk.c): Likewise.
22498 (CFLAGS-dprintf_chk.c): Likewise.
22499 (CFLAGS-vdprintf_chk.c): Likewise.
22500 (CFLAGS-printf_chk.c): Likewise.
22501 (CFLAGS-fprintf_chk.c): Likewise.
22502 (CFLAGS-vprintf_chk.c): Likewise.
22503 (CFLAGS-vfprintf_chk.c): Likewise.
22504 (CFLAGS-gets_chk.c): Likewise.
22505 (CFLAGS-fgets_chk.c): Likewise.
22506 (CFLAGS-fgets_u_chk.c): Likewise.
22507 (CFLAGS-fread_chk.c): Likewise.
22508 (CFLAGS-fread_u_chk.c): Likewise.
22509 (CFLAGS-swprintf_chk.c): Likewise.
22510 (CFLAGS-vswprintf_chk.c): Likewise.
22511 (CFLAGS-wprintf_chk.c): Likewise.
22512 (CFLAGS-fwprintf_chk.c): Likewise.
22513 (CFLAGS-vwprintf_chk.c): Likewise.
22514 (CFLAGS-vfwprintf_chk.c): Likewise.
22515 (CFLAGS-fgetws_chk.c): Likewise.
22516 (CFLAGS-fgetws_u_chk.c): Likewise.
22517 (CFLAGS-read_chk.c): Likewise.
22518 (CFLAGS-pread_chk.c): Likewise.
22519 (CFLAGS-pread64_chk.c): Likewise.
22520 (CFLAGS-recv_chk.c): Likewise.
22521 (CFLAGS-recvfrom_chk.c): Likewise.
22522 (CFLAGS-tst-longjmp_chk.c): Likewise.
22523 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22524 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22525 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22526 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22527 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22528 (CFLAGS-tst-chk1.c): Likewise.
22529 (CFLAGS-tst-chk2.c): Likewise.
22530 (CFLAGS-tst-chk3.c): Likewise.
22531 (CFLAGS-tst-chk4.cc): Likewise.
22532 (CFLAGS-tst-chk5.cc): Likewise.
22533 (CFLAGS-tst-chk6.cc): Likewise.
22534 (CFLAGS-tst-lfschk1.c): Likewise.
22535 (CFLAGS-tst-lfschk2.c): Likewise.
22536 (CFLAGS-tst-lfschk3.c): Likewise.
22537 (CFLAGS-tst-lfschk4.cc): Likewise.
22538 (CFLAGS-tst-lfschk5.cc): Likewise.
22539 (CFLAGS-tst-lfschk6.cc): Likewise.
22540 (CFLAGS-tst-ssp-1.c): Likewise.
22541 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22542 (CFLAGS-scandir64.c): Likewise.
22543 (CFLAGS-scandir-tail.c): Likewise.
22544 (CFLAGS-scandir64-tail.c): Likewise.
22545 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22546 (CFLAGS-dl-tunables.c): Likewise.
22547 (CFLAGS-dl-runtime.c): Likewise.
22548 (CFLAGS-dl-lookup.c): Likewise.
22549 (CFLAGS-dl-iterate-phdr.c): Likewise.
22550 (CFLAGS-vismain.c): Likewise.
22551 (CFLAGS-tst-linkall-static.c): Likewise.
22552 (CFLAGS-tst-linkall-static.c): Likewise.
22553 (CPPFLAGS-dl-load.c): Likewise.
22554 (CFLAGS-ldconfig.c): Likewise.
22555 (CFLAGS-dl-cache.c): Likewise.
22556 (CFLAGS-cache.c): Likewise.
22557 (CFLAGS-rtld.c): Likewise.
22558 (CFLAGS-multiload.c): Likewise.
22559 (CFLAGS-filtmod1.c): Likewise.
22560 (CFLAGS-tst-align.c): Likewise.
22561 (CFLAGS-tst-align2.c): Likewise.
22562 (CFLAGS-tst-alignmod.c): Likewise.
22563 (CFLAGS-tst-alignmod2.c): Likewise.
22564 (CPPFLAGS-tst-execstack.c): Likewise.
22565 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22566 (CFLAGS-tst-latepthreadmod.c): Likewise.
22567 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22568 (CFLAGS-getgrnam_r.c): Likewise.
22569 (CFLAGS-getgrent_r.c): Likewise.
22570 (CFLAGS-getgrent.c): Likewise.
22571 (CFLAGS-fgetgrent.c): Likewise.
22572 (CFLAGS-fgetgrent_r.c): Likewise.
22573 (CFLAGS-putgrent.c): Likewise.
22574 (CFLAGS-initgroups.c): Likewise.
22575 (CFLAGS-getgrgid.c): Likewise.
22576 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22577 (CFLAGS-getsgent.c): Likewise.
22578 (CFLAGS-fgetsgent.c): Likewise.
22579 (CFLAGS-fgetsgent_r.c): Likewise.
22580 (CFLAGS-putsgent.c): Likewise.
22581 (CFLAGS-getsgnam.c): Likewise.
22582 (CFLAGS-getsgnam_r.c): Likewise.
22583 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22584 (CFLAGS-iconv_charmap.c): Likewise.
22585 (CFLAGS-dummy-repertoire.c): Likewise.
22586 (CFLAGS-charmap.c): Likewise.
22587 (CFLAGS-linereader.c): Likewise.
22588 (CFLAGS-simple-hash.c): Likewise.
22589 (CFLAGS-gconv_conf.c): Likewise.
22590 (CFLAGS-iconvconfig.c): Likewise.
22591 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22592 (CFLAGS-gethstbyad.c): Likewise.
22593 (CFLAGS-gethstbynm_r.c): Likewise.
22594 (CFLAGS-gethstbynm.c): Likewise.
22595 (CFLAGS-gethstbynm2_r.c): Likewise.
22596 (CFLAGS-gethstbynm2.c): Likewise.
22597 (CFLAGS-gethstent_r.c): Likewise.
22598 (CFLAGS-gethstent.c): Likewise.
22599 (CFLAGS-rcmd.c): Likewise.
22600 (CFLAGS-getnetbynm_r.c): Likewise.
22601 (CFLAGS-getnetbynm.c): Likewise.
22602 (CFLAGS-getnetbyad_r.c): Likewise.
22603 (CFLAGS-getnetbyad.c): Likewise.
22604 (CFLAGS-getnetent_r.c): Likewise.
22605 (CFLAGS-getnetent.c): Likewise.
22606 (CFLAGS-getaliasent_r.c): Likewise.
22607 (CFLAGS-getaliasent.c): Likewise.
22608 (CFLAGS-getrpcent_r.c): Likewise.
22609 (CFLAGS-getrpcent.c): Likewise.
22610 (CFLAGS-getservent_r.c): Likewise.
22611 (CFLAGS-getservent.c): Likewise.
22612 (CFLAGS-getprtent_r.c): Likewise.
22613 (CFLAGS-getprtent.c): Likewise.
22614 (CFLAGS-either_ntoh.c): Likewise.
22615 (CFLAGS-either_hton.c): Likewise.
22616 (CFLAGS-getnetgrent.c): Likewise.
22617 (CFLAGS-getnetgrent_r.c): Likewise.
22618 (CFLAGS-tst-checks-posix.c): Likewise.
22619 (CFLAGS-tst-sockaddr.c): Likewise.
22620 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22621 (CFLAGS-tst-translit.c): Likewise.
22622 (CFLAGS-tst-gettext2.c): Likewise.
22623 (CFLAGS-tst-codeset.c): Likewise.
22624 (CFLAGS-tst-gettext3.c): Likewise.
22625 (CFLAGS-tst-gettext4.c): Likewise.
22626 (CFLAGS-tst-gettext5.c): Likewise.
22627 (CFLAGS-tst-gettext6.c): Likewise.
22628 * io/Makefile (CFLAGS-open.c): Likewise.
22629 (CFLAGS-open64.c): Likewise.
22630 (CFLAGS-creat.c): Likewise.
22631 (CFLAGS-creat64.c): Likewise.
22632 (CFLAGS-fcntl.c): Likewise.
22633 (CFLAGS-poll.c): Likewise.
22634 (CFLAGS-ppoll.c): Likewise.
22635 (CFLAGS-lockf.c): Likewise.
22636 (CFLAGS-statfs.c): Likewise.
22637 (CFLAGS-fstatfs.c): Likewise.
22638 (CFLAGS-statvfs.c): Likewise.
22639 (CFLAGS-fstatvfs.c): Likewise.
22640 (CFLAGS-fts.c): Likewise.
22641 (CFLAGS-fts64.c): Likewise.
22642 (CFLAGS-ftw.c): Likewise.
22643 (CFLAGS-ftw64.c): Likewise.
22644 (CFLAGS-lockf.c): Likewise.
22645 (CFLAGS-posix_fallocate.c): Likewise.
22646 (CFLAGS-posix_fallocate64.c): Likewise.
22647 (CFLAGS-fallocate.c): Likewise.
22648 (CFLAGS-fallocate64.c): Likewise.
22649 (CFLAGS-read.c): Likewise.
22650 (CFLAGS-write.c): Likewise.
22651 (CFLAGS-test-stat.c): Likewise.
22652 (CFLAGS-test-lfs.c): Likewise.
22653 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22654 (CFLAGS-fputc.c): Likewise.
22655 (CFLAGS-fputwc.c): Likewise.
22656 (CFLAGS-freopen64.c): Likewise.
22657 (CFLAGS-freopen.c): Likewise.
22658 (CFLAGS-fseek.c): Likewise.
22659 (CFLAGS-fseeko64.c): Likewise.
22660 (CFLAGS-fseeko.c): Likewise.
22661 (CFLAGS-ftello64.c): Likewise.
22662 (CFLAGS-ftello.c): Likewise.
22663 (CFLAGS-fwide.c): Likewise.
22664 (CFLAGS-genops.c): Likewise.
22665 (CFLAGS-getc.c): Likewise.
22666 (CFLAGS-getchar.c): Likewise.
22667 (CFLAGS-getwc.c): Likewise.
22668 (CFLAGS-getwchar.c): Likewise.
22669 (CFLAGS-iofclose.c): Likewise.
22670 (CFLAGS-iofflush.c): Likewise.
22671 (CFLAGS-iofgetpos64.c): Likewise.
22672 (CFLAGS-iofgetpos.c): Likewise.
22673 (CFLAGS-iofgets.c): Likewise.
22674 (CFLAGS-iofgetws.c): Likewise.
22675 (CFLAGS-iofputs.c): Likewise.
22676 (CFLAGS-iofputws.c): Likewise.
22677 (CFLAGS-iofread.c): Likewise.
22678 (CFLAGS-iofsetpos64.c): Likewise.
22679 (CFLAGS-iofsetpos.c): Likewise.
22680 (CFLAGS-ioftell.c): Likewise.
22681 (CFLAGS-iofwrite.c): Likewise.
22682 (CFLAGS-iogetdelim.c): Likewise.
22683 (CFLAGS-iogetline.c): Likewise.
22684 (CFLAGS-iogets.c): Likewise.
22685 (CFLAGS-iogetwline.c): Likewise.
22686 (CFLAGS-ioputs.c): Likewise.
22687 (CFLAGS-ioseekoff.c): Likewise.
22688 (CFLAGS-ioseekpos.c): Likewise.
22689 (CFLAGS-iosetbuffer.c): Likewise.
22690 (CFLAGS-iosetvbuf.c): Likewise.
22691 (CFLAGS-ioungetc.c): Likewise.
22692 (CFLAGS-ioungetwc.c): Likewise.
22693 (CFLAGS-oldfileops.c): Likewise.
22694 (CFLAGS-oldiofclose.c): Likewise.
22695 (CFLAGS-oldiofgetpos64.c): Likewise.
22696 (CFLAGS-oldiofgetpos.c): Likewise.
22697 (CFLAGS-oldiofsetpos64.c): Likewise.
22698 (CFLAGS-oldiofsetpos.c): Likewise.
22699 (CFLAGS-peekc.c): Likewise.
22700 (CFLAGS-putc.c): Likewise.
22701 (CFLAGS-putchar.c): Likewise.
22702 (CFLAGS-putwc.c): Likewise.
22703 (CFLAGS-putwchar.c): Likewise.
22704 (CFLAGS-rewind.c): Likewise.
22705 (CFLAGS-wfileops.c): Likewise.
22706 (CFLAGS-wgenops.c): Likewise.
22707 (CFLAGS-oldiofopen.c): Likewise.
22708 (CFLAGS-iofopen.c): Likewise.
22709 (CFLAGS-iofopen64.c): Likewise.
22710 (CFLAGS-oldtmpfile.c): Likewise.
22711 (CFLAGS-tst_putwc.c): Likewise.
22712 * locale/Makefile (CFLAGS-md5.c): Likewise.
22713 (CFLAGS-charmap.c): Likewise.
22714 (CFLAGS-locfile.c): Likewise.
22715 (CFLAGS-charmap-dir.c): Likewise.
22716 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22717 (CFLAGS-getpt.c): Likewise.
22718 (CFLAGS-pt_chown.c): Likewise.
22719 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22720 (CFLAGS-obstack.c): Likewise.
22721 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22722 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22723 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22724 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22725 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22726 (CFLAGS-test-tgmath.c): Likewise.
22727 (CFLAGS-test-tgmath2.c): Likewise.
22728 (CFLAGS-test-tgmath-ret.c): Likewise.
22729 (CFLAGS-test-powl.c): Likewise.
22730 (CFLAGS-test-snan.c): Likewise.
22731 (CFLAGS-test-signgam-finite.c): Likewise.
22732 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22733 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22734 (CFLAGS-test-signgam-uchar.c): Likewise.
22735 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22736 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22737 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22738 (CFLAGS-test-signgam-uint.c): Likewise.
22739 (CFLAGS-test-signgam-uint-init.c): Likewise.
22740 (CFLAGS-test-signgam-uint-static.c): Likewise.
22741 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22742 (CFLAGS-test-signgam-ullong.c): Likewise.
22743 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22744 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22745 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22746 (CFLAGS-test-math-cxx11.cc): Likewise.
22747 (CFLAGS-test-math-isinff.cc): Likewise.
22748 (CFLAGS-test-math-iszero.cc): Likewise.
22749 (CFLAGS-test-math-issignaling.cc): Likewise.
22750 (CFLAGS-test-math-iscanonical.cc): Likewise.
22751 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22752 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22753 (CFLAGS-test-flt-eval-method.c): Likewise.
22754 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22755 (CFLAGS-test-finite-macros.c): Likewise.
22756 * misc/Makefile (CFLAGS-select.c): Likewise.
22757 (CFLAGS-tsearch.c): Likewise.
22758 (CFLAGS-lsearch.c): Likewise.
22759 (CFLAGS-pselect.c): Likewise.
22760 (CFLAGS-readv.c): Likewise.
22761 (CFLAGS-writev.c): Likewise.
22762 (CFLAGS-preadv.c): Likewise.
22763 (CFLAGS-preadv64.c): Likewise.
22764 (CFLAGS-pwritev.c): Likewise.
22765 (CFLAGS-pwritev64.c): Likewise.
22766 (CFLAGS-preadv2.c): Likewise.
22767 (CFLAGS-preadv64v2.c): Likewise.
22768 (CFLAGS-pwritev2.c): Likewise.
22769 (CFLAGS-pwritev64v2.c): Likewise.
22770 (CFLAGS-usleep.c): Likewise.
22771 (CFLAGS-syslog.c): Likewise.
22772 (CFLAGS-error.c): Likewise.
22773 (CFLAGS-getpass.c): Likewise.
22774 (CFLAGS-mkstemp.c): Likewise.
22775 (CFLAGS-mkstemp64.c): Likewise.
22776 (CFLAGS-getsysstats.c): Likewise.
22777 (CFLAGS-getusershell.c): Likewise.
22778 (CFLAGS-err.c): Likewise.
22779 (CFLAGS-tst-tsearch.c): Likewise.
22780 (CFLAGS-msync.c): Likewise.
22781 (CFLAGS-fdatasync.c): Likewise.
22782 (CFLAGS-fsync.c): Likewise.
22783 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22784 (CFLAGS-unwind.c): Likewise.
22785 (CFLAGS-unwind-forcedunwind.c): Likewise.
22786 (CFLAGS-pthread_cancel.c): Likewise.
22787 (CFLAGS-pthread_setcancelstate.c): Likewise.
22788 (CFLAGS-pthread_setcanceltype.c): Likewise.
22789 (CFLAGS-cancellation.c): Likewise.
22790 (CFLAGS-libc-cancellation.c): Likewise.
22791 (CFLAGS-pthread_exit.c): Likewise.
22792 (CFLAGS-forward.c): Likewise.
22793 (CFLAGS-pthread_testcancel.c): Likewise.
22794 (CFLAGS-pthread_join.c): Likewise.
22795 (CFLAGS-pthread_timedjoin.c): Likewise.
22796 (CFLAGS-pthread_once.c): Likewise.
22797 (CFLAGS-pthread_cond_wait.c): Likewise.
22798 (CFLAGS-sem_wait.c): Likewise.
22799 (CFLAGS-sem_timedwait.c): Likewise.
22800 (CFLAGS-fcntl.c): Likewise.
22801 (CFLAGS-lockf.c): Likewise.
22802 (CFLAGS-pread.c): Likewise.
22803 (CFLAGS-pread64.c): Likewise.
22804 (CFLAGS-pwrite.c): Likewise.
22805 (CFLAGS-pwrite64.c): Likewise.
22806 (CFLAGS-wait.c): Likewise.
22807 (CFLAGS-waitpid.c): Likewise.
22808 (CFLAGS-sigwait.c): Likewise.
22809 (CFLAGS-msgrcv.c): Likewise.
22810 (CFLAGS-msgsnd.c): Likewise.
22811 (CFLAGS-tcdrain.c): Likewise.
22812 (CFLAGS-open.c): Likewise.
22813 (CFLAGS-open64.c): Likewise.
22814 (CFLAGS-pause.c): Likewise.
22815 (CFLAGS-recv.c): Likewise.
22816 (CFLAGS-send.c): Likewise.
22817 (CFLAGS-accept.c): Likewise.
22818 (CFLAGS-sendto.c): Likewise.
22819 (CFLAGS-connect.c): Likewise.
22820 (CFLAGS-recvfrom.c): Likewise.
22821 (CFLAGS-recvmsg.c): Likewise.
22822 (CFLAGS-sendmsg.c): Likewise.
22823 (CFLAGS-close.c): Likewise.
22824 (CFLAGS-read.c): Likewise.
22825 (CFLAGS-write.c): Likewise.
22826 (CFLAGS-nanosleep.c): Likewise.
22827 (CFLAGS-sigsuspend.c): Likewise.
22828 (CFLAGS-msync.c): Likewise.
22829 (CFLAGS-fdatasync.c): Likewise.
22830 (CFLAGS-fsync.c): Likewise.
22831 (CFLAGS-pt-system.c): Likewise.
22832 (CFLAGS-tst-cleanup2.c): Likewise.
22833 (CFLAGS-tst-cleanupx2.c): Likewise.
22834 (CFLAGS-flockfile.c): Likewise.
22835 (CFLAGS-ftrylockfile.c): Likewise.
22836 (CFLAGS-funlockfile.c): Likewise.
22837 (CFLAGS-tst-initializers1.c): Likewise.
22838 (CFLAGS-tst-initializers1-c89.c): Likewise.
22839 (CFLAGS-tst-initializers1-c99.c): Likewise.
22840 (CFLAGS-tst-initializers1-c11.c): Likewise.
22841 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22842 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22843 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22844 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22845 (CFLAGS-nscd_getgr_r.c): Likewise.
22846 (CFLAGS-nscd_gethst_r.c): Likewise.
22847 (CFLAGS-nscd_getai.c): Likewise.
22848 (CFLAGS-nscd_initgroups.c): Likewise.
22849 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22850 (CFLAGS-pause.c): Likewise.
22851 (CFLAGS-pread.c): Likewise.
22852 (CFLAGS-pread64.c): Likewise.
22853 (CFLAGS-pwrite.c): Likewise.
22854 (CFLAGS-pwrite64.c): Likewise.
22855 (CFLAGS-sleep.c): Likewise.
22856 (CFLAGS-wait.c): Likewise.
22857 (CFLAGS-waitid.c): Likewise.
22858 (CFLAGS-waitpid.c): Likewise.
22859 (CFLAGS-getopt.c): Likewise.
22860 (CFLAGS-wordexp.c): Likewise.
22861 (CFLAGS-sysconf.c): Likewise.
22862 (CFLAGS-pathconf.c): Likewise.
22863 (CFLAGS-fpathconf.c): Likewise.
22864 (CFLAGS-spawn.c): Likewise.
22865 (CFLAGS-spawnp.c): Likewise.
22866 (CFLAGS-spawni.c): Likewise.
22867 (CFLAGS-glob.c): Likewise.
22868 (CFLAGS-glob64.c): Likewise.
22869 (CFLAGS-getconf.c): Likewise.
22870 (CFLAGS-nanosleep.c): Likewise.
22871 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22872 (CFLAGS-getpwent.c): Likewise.
22873 (CFLAGS-getpw.c): Likewise.
22874 (CFLAGS-fgetpwent_r.c): Likewise.
22875 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22876 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22877 (CFLAGS-mq_timedreceive.c): Likewise.
22878 (CFLAGS-mq_timedsend.c): Likewise.
22879 (CFLAGS-clock_nanosleep.c): Likewise.
22880 (CFLAGS-librt-cancellation.c): Likewise.
22881 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22882 (CFLAGS-getspent.c): Likewise.
22883 (CFLAGS-fgetspent.c): Likewise.
22884 (CFLAGS-fgetspent_r.c): Likewise.
22885 (CFLAGS-putspent.c): Likewise.
22886 (CFLAGS-getspnam.c): Likewise.
22887 (CFLAGS-getspnam_r.c): Likewise.
22888 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22889 (CFLAGS-sigsuspend.c): Likewise.
22890 (CFLAGS-sigtimedwait.c): Likewise.
22891 (CFLAGS-sigwait.c): Likewise.
22892 (CFLAGS-sigwaitinfo.c): Likewise.
22893 (CFLAGS-sigreturn.c): Likewise.
22894 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22895 (CFLAGS-vfwprintf.c): Likewise.
22896 (CFLAGS-tmpfile.c): Likewise.
22897 (CFLAGS-tmpfile64.c): Likewise.
22898 (CFLAGS-tempname.c): Likewise.
22899 (CFLAGS-psignal.c): Likewise.
22900 (CFLAGS-vprintf.c): Likewise.
22901 (CFLAGS-cuserid.c): Likewise.
22902 (CFLAGS-errlist.c): Likewise.
22903 (CFLAGS-siglist.c): Likewise.
22904 (CFLAGS-scanf15.c): Likewise.
22905 (CFLAGS-scanf17.c): Likewise.
22906 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22907 (CFLAGS-msort.c): Likewise.
22908 (CFLAGS-qsort.c): Likewise.
22909 (CFLAGS-system.c): Likewise.
22910 (CFLAGS-fmtmsg.c): Likewise.
22911 (CFLAGS-strfmon.c): Likewise.
22912 (CFLAGS-strfmon_l.c): Likewise.
22913 (CFLAGS-strfromd.c): Likewise.
22914 (CFLAGS-strfromf.c): Likewise.
22915 (CFLAGS-strfroml.c): Likewise.
22916 (CFLAGS-tst-bsearch.c): Likewise.
22917 (CFLAGS-tst-qsort.c): Likewise.
22918 (CFLAGS-tst-makecontext2.c): Likewise.
22919 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22920 (CFLAGS-xnlm_prot.c): Likewise.
22921 (CFLAGS-xrstat.c): Likewise.
22922 (CFLAGS-xyppasswd.c): Likewise.
22923 (CFLAGS-xklm_prot.c): Likewise.
22924 (CFLAGS-xrex.c): Likewise.
22925 (CFLAGS-xsm_inter.c): Likewise.
22926 (CFLAGS-xmount.c): Likewise.
22927 (CFLAGS-xrusers.c): Likewise.
22928 (CFLAGS-xspray.c): Likewise.
22929 (CFLAGS-xnfs_prot.c): Likewise.
22930 (CFLAGS-xrquota.c): Likewise.
22931 (CFLAGS-xkey_prot.c): Likewise.
22932 (CFLAGS-auth_unix.c): Likewise.
22933 (CFLAGS-key_call.c): Likewise.
22934 (CFLAGS-pmap_rmt.c): Likewise.
22935 (CFLAGS-clnt_perr.c): Likewise.
22936 (CFLAGS-openchild.c): Likewise.
22937 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22938 (CFLAGS-msgsnd.c): Likewise.
22939 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22940 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22941 (CFLAGS-tzset.c): Likewise.
22942 (CFLAGS-getdate.c): Likewise.
22943 (CFLAGS-test_time.c): Likewise.
22944 (CPPFLAGS-tst-tzname.c): Likewise.
22945 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22946 (CFLAGS-zic.c): Likewise.
22947 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22948 (CFLAGS-wcswidth.c): Likewise.
22949 (CFLAGS-wcstol.c): Likewise.
22950 (CFLAGS-wcstoul.c): Likewise.
22951 (CFLAGS-wcstoll.c): Likewise.
22952 (CFLAGS-wcstoull.c): Likewise.
22953 (CFLAGS-wcstod.c): Likewise.
22954 (CFLAGS-wcstold.c): Likewise.
22955 (CFLAGS-wcstof128.c): Likewise.
22956 (CFLAGS-wcstof.c): Likewise.
22957 (CFLAGS-wcstol_l.c): Likewise.
22958 (CFLAGS-wcstoul_l.c): Likewise.
22959 (CFLAGS-wcstoll_l.c): Likewise.
22960 (CFLAGS-wcstoull_l.c): Likewise.
22961 (CFLAGS-wcstod_l.c): Likewise.
22962 (CFLAGS-wcstold_l.c): Likewise.
22963 (CFLAGS-wcstof128_l.c): Likewise.
22964 (CFLAGS-wcstof_l.c): Likewise.
22965 (CPPFLAGS-tst-wchar-h.c): Likewise.
22966 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 22967
f4b2aea6
PC
229682017-12-11 Paul A. Clarke <pc@us.ibm.com>
22969
22970 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22971
c9cd7b0c
AZ
229722017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22973 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22974
22975 * manual/tunables.texi (Hardware Capability Tunables): Document
22976 glibc.tune.cached_memopt.
22977 * sysdeps/powerpc/cpu-features.c: New file.
22978 * sysdeps/powerpc/cpu-features.h: New file.
22979 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22980 _dl_powerpc_cpu_features.
22981 * sysdeps/powerpc/dl-tunables.list: New file.
22982 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22983 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22984 (INIT_ARCH): Initialize use_aligned_memopt.
22985 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22986 IS_IN(rtld))]: Restrict dl_platform_init availability and
22987 initialize CPU features used by tunables.
22988 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22989 Add memcpy-power8-cached.
22990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22991 __memcpy_power8_cached.
22992 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22993 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22994 New file.
22995
e70c6fee
L
229962017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22997
22998 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22999 (CFLAGS-noinl-tester.c): Likewise.
23000 (CFLAGS-tst-strlen.c): Likewise.
23001 (CFLAGS-stratcliff.c): Likewise.
23002 (CFLAGS-test-ffs.c): Likewise.
23003 (CFLAGS-tst-inlcall.c): Likewise.
23004 (CFLAGS-tst-xbzero-opt.c): Likewise.
23005 (CFLAGS-memcpy.c): Likewise.
23006 (CFLAGS-wordcopy.c): Likewise.
23007
dee94366
SL
230082017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23009
23010 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23011 Store r15 on stack and add cfi rule.
23012 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23013 Likewise.
23014
363e4519 230152017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
23016
23017 [BZ #22577]
23018 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23019 call.
23020
9d0ffa60
L
230212017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23022
23023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23024 Add s_sinf-sse2 and s_sinf-fma.
23025 (CFLAGS-s_sinf-fma.c): New.
23026 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23027 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23028 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23029
9574c7b6
L
230302017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23031
23032 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23033
d15e83c5
JM
230342017-12-07 Joseph Myers <joseph@codesourcery.com>
23035
23036 [BZ #22568]
23037 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23038 part of result to imaginary part of argument if it is zero and the
23039 real part of the argument is not finite.
23040 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23041 of result to real part of argument if it is zero and the imaginary
23042 part of the argument is not finite.
23043
d89756eb
MF
230442017-12-07 Mike FABIAN <mfabian@redhat.com>
23045
23046 [BZ #22524]
23047 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23048 and to the list of locales to be built for testing.
23049 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23050 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23051 and build the collation rules upon that.
23052
1f9055ce
JM
230532017-12-07 Joseph Myers <joseph@codesourcery.com>
23054
23055 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23056 * manual/math.texi (Mathematics): Document support for _Float32.
23057 * math/Makefile (test-types): Add float32.
23058 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23059 * stdlib/Versions (GLIBC_2.27): Likewise.
23060 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23061 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23062 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23063 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23064 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23065 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23066 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23067 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23068 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23069 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23070 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23071 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23072 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23073 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23074 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23075 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23076 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23077 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23078 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23079 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23080 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23081 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23082 Likewise.
23083 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23084 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23085 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23086 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23087 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23089 Likewise.
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23091 Likewise.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23093 Likewise.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23095 Likewise.
23096
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23098 Likewise.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23100 Likewise.
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23102 Likewise.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23104 Likewise.
23105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23106 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23107 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23108 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23109 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23110 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23111 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23112 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23113 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23116 Likewise.
23117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23118 Likewise.
23119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23120 Likewise.
23121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23122 Likewise.
23123 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23124 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23125 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23129 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23130 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23131
5244527d
JM
231322017-12-06 Joseph Myers <joseph@codesourcery.com>
23133
fb1ca2aa
JM
23134 * stdlib/strtof.c: Include <bits/floatn.h>
23135 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23136 and later undefine as macro. Define as weak alias if
23137 [!USE_WIDE_CHAR].
23138 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23139 and later undefine as macro. Define as weak alias if
23140 [USE_WIDE_CHAR].
23141 * stdlib/strtof_l.c: Include <bits/floatn.h>
23142 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23143 and later undefine as macro. Define as weak alias if
23144 [!USE_WIDE_CHAR].
23145 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23146 and later undefine as macro. Define as weak alias if
23147 [USE_WIDE_CHAR].
23148
fc10cc3f
JM
23149 * stdlib/strfromf.c: Include <bits/floatn.h>.
23150 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23151 and later undefine as macro and define as weak alias.
23152
e420d228
JM
23153 * math/test-float32.h: New file.
23154
26007a2f
JM
23155 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23156 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23157 (libm_alias_float_other_r): Create f32 alias.
23158 (libm_alias_float_r): Use semicolon before call to
23159 libm_alias_float_other_r.
23160
c191f64c
JM
23161 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23162 second argument to libm_alias_float_other.
23163 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23164 second argument to libm_alias_float_other.
23165 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23166 argument to libm_alias_float_other.
23167
5244527d
JM
23168 [BZ #22561]
23169 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23170 real part of result for argument 0 + i * NaN.
23171 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23172 results for tests of 0 + i * NaN.
23173
d73fac82
AZ
231742017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23175
23176 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23177
7ec094e8
DM
231782017-12-06 David S. Miller <davem@davemloft.net>
23179
23180 * sysdeps/sparc/fpu/libm-test-ulps: Update
23181 exp_{downward,towardzero,upward} ulps.
23182
53994f12
JM
231832017-12-06 Joseph Myers <joseph@codesourcery.com>
23184
1dbe6f64
JM
23185 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23186 variables static.
23187
53994f12
JM
23188 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23189 (Y0_2D): Likewise.
23190 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23191 (Y0_2D): Likewise.
23192 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23193 (Y0_2D): Likewise.
23194 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23195 (Y0_2D): Likewise.
23196
62ea2193
MF
231972017-12-06 Mike FABIAN <mfabian@redhat.com>
23198
23199 [BZ #22515]
23200 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23201 and to the list of locales to be built for testing.
23202 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23203 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23204 and build the collation rules upon that.
23205
87235d70
RS
232062017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23207
23208 * NEWS: Add sinf to list of optimized functions.
23209
0d93b7fd
JM
232102017-12-06 Joseph Myers <joseph@codesourcery.com>
23211
23212 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23213 (__HAVE_FLOAT32X): Likewise.
23214 * manual/math.texi (Mathematics): Document support for _Float64
23215 and _Float32x.
23216 * math/Makefile (test-types): Add float64 and float32x.
23217 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23218 functions.
23219 * stdlib/Versions (GLIBC_2.27): Likewise.
23220 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23222 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23223 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23224 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23225 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23226 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23227 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23228 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23229 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23230 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23231 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23233 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23234 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23235 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23236 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23237 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23238 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23239 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23240 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23241 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23242 Likewise.
23243 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23244 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23246 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23247 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23249 Likewise.
23250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23251 Likewise.
23252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23253 Likewise.
23254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23255 Likewise.
23256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23257 Likewise.
23258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23259 Likewise.
23260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23261 Likewise.
23262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23263 Likewise.
23264 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23265 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23266 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23267 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23268 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23269 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23270 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23271 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23272 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23273 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23275 Likewise.
23276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23277 Likewise.
23278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23279 Likewise.
23280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23281 Likewise.
23282 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23283 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23285 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23286 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23288 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23289 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23290
f7787234
JM
232912017-12-05 Joseph Myers <joseph@codesourcery.com>
23292
23293 * bits/floatn-common.h: Include <bits/long-double.h>.
23294 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23295 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23296 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23297 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23298 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23299 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23300 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23301 (__builtin_huge_valf64): Use __builtin_huge_vall.
23302 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23303 (__builtin_inff64): Use __builtin_infl.
23304 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23305 (__builtin_nanf64): Use __builtin_nanl.
23306 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23307 (__builtin_nansf64): Use __builtin_nansl.
23308
363e4519
DL
233092017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23310 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 23311 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
23312
23313 * elf/dl-tunables.list: Add elision parameters.
23314 * manual/tunables.texi: Add entries about elision tunable.
23315 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23316 Add callback functions to dynamically enable/disable elision.
23317 Add multiple callbacks functions to set elision parameters.
23318 Deleted __libc_enable_secure check.
23319 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23320 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23321 * configure: Regenerated.
23322 * configure.ac: Option enable_lock_elision was deleted.
23323 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23324 * config.make.in: Remove references to enable_lock_elision.
23325 * manual/install.texi: Elision configure option was removed.
23326 * INSTALL: Regenerated to remove enable_lock_elision.
23327 * nptl/Makefile:
23328 Disable elision so it can verify error case for destroying a mutex.
23329 * sysdeps/powerpc/nptl/elide.h:
23330 Cleanup ENABLE_LOCK_ELISION check.
23331 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23332 * sysdeps/s390/configure: Regenerated.
23333 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23334 * nptl/tst-mutex8.c:
23335 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23336 * sysdeps/powerpc/powerpc32/sysdep.h:
23337 Deleted all ENABLE_LOCK_ELISION checks.
23338 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23339 * sysdeps/powerpc/sysdep.h: Likewise.
23340 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23341 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23342 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23343 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23344 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23345 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23346 enable-lock-elision.
23347
a5a2a76b
JM
233482017-12-05 Joseph Myers <joseph@codesourcery.com>
23349
23350 * stdlib/strtod.c: Include <bits/floatn.h>.
23351 (BUILD_DOUBLE): New macro.
23352 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23353 (strtof64): Define and later undefine as macro. Define as weak
23354 alias if [!USE_WIDE_CHAR].
23355 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23356 (wcstof64): Define and later undefine as macro. Define as weak
23357 alias if [USE_WIDE_CHAR].
23358 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23359 (strtof32x): Define and later undefine as macro. Define as weak
23360 alias if [!USE_WIDE_CHAR].
23361 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23362 (wcstof32x): Define and later undefine as macro. Define as weak
23363 alias if [USE_WIDE_CHAR].
23364 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23365 (BUILD_DOUBLE): New macro.
23366 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23367 (strtof64_l): Define and later undefine as macro. Define as weak
23368 alias if [!USE_WIDE_CHAR].
23369 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23370 (wcstof64_l): Define and later undefine as macro. Define as weak
23371 alias if [USE_WIDE_CHAR].
23372 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23373 (strtof32x_l): Define and later undefine as macro. Define as weak
23374 alias if [!USE_WIDE_CHAR].
23375 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23376 (wcstof32x_l): Define and later undefine as macro. Define as weak
23377 alias if [USE_WIDE_CHAR].
23378
94d80dfc
AZ
233792017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23380
23381 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23382 (reduced): Use ones as double instead of integer.
23383
00d54af7
SN
233842017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23385
23386 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23387
f2d64d62
JM
233882017-12-05 Joseph Myers <joseph@codesourcery.com>
23389
1f70eae4
JM
23390 * stdlib/strfromd.c: Include <bits/floatn.h>.
23391 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23392 and later undefine as macro and define as weak alias.
23393 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23394 Likewise.
23395
e2c4dce5
JM
23396 * math/test-float32x.h: New file.
23397 * math/test-float64.h: Likewise.
23398
f2d64d62
JM
23399 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23400 (libm_alias_double_other_r_f64): New macro.
23401 (libm_alias_double_other_r_f32x): Likewise.
23402 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23403 libm_alias_double_other_r_f32x.
23404 (libm_alias_double_r): Use semicolon before call to
23405 libm_alias_double_other_r.
23406 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23407 <bits/floatn.h>.
23408 (libm_alias_double_other_r_f64): New macro.
23409 (libm_alias_double_other_r_f32x): Likewise.
23410 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23411 libm_alias_double_other_r_f32x.
23412
91c318e7
L
234132017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23414
23415 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23416 int.
23417 (SINF_FUNC): Likewise. Replace floor with simple casts.
23418
de9661d6
MF
234192017-12-05 Mike FABIAN <mfabian@redhat.com>
23420
23421 [BZ #22517]
23422 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23423 and to the list of locales to be built for testing.
23424 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23425 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23426 and build the collation rules upon that.
23427
f18b8dc7
CM
234282017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23429
23430 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23431 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23432 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23433 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23434 instead of __insn__xxx.
23435 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23436 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23437 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23438 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23439 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23440 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23441
446d22e9
FW
234422017-12-05 Florian Weimer <fweimer@redhat.com>
23443
23444 Linux: Implement interfaces for memory protection keys
23445 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23446 xsignal, xsysconf.
23447 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23448 * support/xunistd.h (xsysconf): Declare.
23449 * support/xraise.c: New file.
23450 * support/xsigaction.c: Likewise.
23451 * support/xsignal.c: Likewise.
23452 * support/xsysconf.c: Likewise.
23453 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23454 pkey_set, pkey_get, pkey_mprotect.
23455 [misc] (tests): Add tst-pkey.
23456 (tst-pkey): Link with -lpthread.
23457 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23458 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23459 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23460 (PKEY_DISABLE_WRITE): Define.
23461 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23462 Declare.
23463 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23464 (SEGV_PKUERR): Add.
23465 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23466 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23467 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23468 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23469 Add.
23470 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23471 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23472 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23473 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23474 * sysdeps/unix/sysv/linux/**.abilist: Update.
23475
da616c14
FW
234762017-12-05 Florian Weimer <fweimer@redhat.com>
23477
23478 * support/tst-test_compare.c (subprocess): Use long long instead
23479 of long argument for consistent type width across 32-bit and
23480 64-bit architectures.
23481 (do_test): Adjust expected output.
23482
216933b2
JM
234832017-12-05 Joseph Myers <joseph@codesourcery.com>
23484
23485 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23486 (cosf): Define using libm_alias_float.
23487 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23488 (fabsf): Define using libm_alias_float.
23489 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23490 (fmaf): Define using libm_alias_float.
23491 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23492 (rintf): Define using libm_alias_float.
23493 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23494 (sinf): Define using libm_alias_float.
23495 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23496 <libm-alias-float.h>.
23497 (modff): Define using libm_alias_float.
23498 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23499 <libm-alias-float.h>.
23500 (logbf): Define using libm_alias_float.
23501 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23502 <libm-alias-float.h>.
23503 (ceilf): Define using libm_alias_float.
23504 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23505 <libm-alias-float.h>.
23506 (copysignf): Define using libm_alias_float.
23507 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23508 <libm-alias-float.h>.
23509 (floorf): Define using libm_alias_float.
23510 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23511 <libm-alias-float.h>.
23512 (llrintf): Define using libm_alias_float.
23513 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23514 <libm-alias-float.h>.
23515 (llroundf): Define using libm_alias_float.
23516 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23517 <libm-alias-float.h>.
23518 (lrintf): Define using libm_alias_float.
23519 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23520 <libm-alias-float.h>.
23521 (lroundf): Define using libm_alias_float.
23522 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23523 <libm-alias-float.h>.
23524 (nearbyintf): Define using libm_alias_float.
23525 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23526 <libm-alias-float.h>.
23527 (rintf): Define using libm_alias_float.
23528 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23529 <libm-alias-float.h>.
23530 (roundf): Define using libm_alias_float.
23531 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23532 <libm-alias-float.h>.
23533 (truncf): Define using libm_alias_float.
23534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23535 Include <libm-alias-float.h>.
23536 (ceilf): Define using libm_alias_float.
23537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23538 Include <libm-alias-float.h>.
23539 (copysignf): Define using libm_alias_float.
23540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23541 Include <libm-alias-float.h>.
23542 (floorf): Define using libm_alias_float.
23543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23544 Include <libm-alias-float.h>.
23545 (llrintf): Define using libm_alias_float.
23546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23547 Include <libm-alias-float.h>.
23548 (llroundf): Define using libm_alias_float.
23549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23550 Include <libm-alias-float.h>.
23551 (logbf): Define using libm_alias_float.
23552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23553 Include <libm-alias-float.h>.
23554 (lrintf): Define using libm_alias_float.
23555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23556 Include <libm-alias-float.h>.
23557 (lroundf): Define using libm_alias_float.
23558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23559 Include <libm-alias-float.h>.
23560 (modff): Define using libm_alias_float.
23561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23562 Include <libm-alias-float.h>.
23563 (roundf): Define using libm_alias_float.
23564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23565 Include <libm-alias-float.h>.
23566 (truncf): Define using libm_alias_float.
23567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23568 <libm-alias-float.h>.
23569 (llrintf): Define using libm_alias_float.
23570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23571 <libm-alias-float.h>.
23572 (llroundf): Define using libm_alias_float.
23573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23574 <libm-alias-float.h>.
23575 (ceilf): Define using libm_alias_float.
23576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23577 <libm-alias-float.h>.
23578 (floorf): Define using libm_alias_float.
23579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23580 <libm-alias-float.h>.
23581 (llroundf): Define using libm_alias_float.
23582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23583 <libm-alias-float.h>.
23584 (lroundf): Define using libm_alias_float.
23585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23586 <libm-alias-float.h>.
23587 (roundf): Define using libm_alias_float.
23588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23589 <libm-alias-float.h>.
23590 (truncf): Define using libm_alias_float.
23591 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23592 <libm-alias-float.h>.
23593 (copysignf): Define using libm_alias_float.
23594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23595 <libm-alias-float.h>.
23596 (llrintf): Define using libm_alias_float.
23597 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23598 <libm-alias-float.h>.
23599 (llroundf): Define using libm_alias_float.
23600 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23601 <libm-alias-float.h>.
23602 (lrintf): Define using libm_alias_float.
23603 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23604 <libm-alias-float.h>.
23605 (lroundf): Define using libm_alias_float.
23606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23607 <libm-alias-float.h>.
23608 (ceilf): Define using libm_alias_float.
23609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23610 <libm-alias-float.h>.
23611 (copysignf): Define using libm_alias_float.
23612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23613 <libm-alias-float.h>.
23614 (cosf): Define using libm_alias_float.
23615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23616 <libm-alias-float.h>.
23617 (floorf): Define using libm_alias_float.
23618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23619 <libm-alias-float.h>.
23620 (llrintf): Define using libm_alias_float.
23621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23622 <libm-alias-float.h>.
23623 (llroundf): Define using libm_alias_float.
23624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23625 <libm-alias-float.h>.
23626 (logbf): Define using libm_alias_float.
23627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23628 <libm-alias-float.h>.
23629 (modff): Define using libm_alias_float.
23630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23631 <libm-alias-float.h>.
23632 (roundf): Define using libm_alias_float.
23633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23634 <libm-alias-float.h>.
23635 (sinf): Define using libm_alias_float.
23636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23637 <libm-alias-float.h>.
23638 (truncf): Define using libm_alias_float.
23639 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23640 <libm-alias-float.h>.
23641 (ceilf): Define using libm_alias_float.
23642 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23643 <libm-alias-float.h>.
23644 (copysignf): Define using libm_alias_float.
23645 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23646 <libm-alias-float.h>.
23647 (floorf): Define using libm_alias_float.
23648 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23649 <libm-alias-float.h>.
23650 (llrintf): Define using libm_alias_float.
23651 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23652 <libm-alias-float.h>.
23653 (llroundf): Define using libm_alias_float.
23654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23655 <libm-alias-float.h>.
23656 (nearbyintf): Define using libm_alias_float.
23657 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23658 <libm-alias-float.h>.
23659 (rintf): Define using libm_alias_float.
23660 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23661 <libm-alias-float.h>.
23662 (roundf): Define using libm_alias_float.
23663 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23664 <libm-alias-float.h>.
23665 (truncf): Define using libm_alias_float.
23666 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23667 <libm-alias-float.h>.
23668 (ceilf): Define using libm_alias_float.
23669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23670 <libm-alias-float.h>.
23671 (floorf): Define using libm_alias_float.
23672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23673 <libm-alias-float.h>.
23674 (llroundf): Define using libm_alias_float.
23675 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23676 <libm-alias-float.h>.
23677 (roundf): Define using libm_alias_float.
23678 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23679 <libm-alias-float.h>.
23680 (truncf): Define using libm_alias_float.
23681 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23682 <libm-alias-float.h>.
23683 (copysignf): Define using libm_alias_float.
23684 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23685 <libm-alias-float.h>.
23686 (llrintf): Define using libm_alias_float.
23687 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23688 <libm-alias-float.h>.
23689 (llroundf): Define using libm_alias_float.
23690 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23691 <libm-alias-float.h>.
23692 (cosf): Define using libm_alias_float.
23693 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23694 <libm-alias-float.h>.
23695 (llrintf): Define using libm_alias_float.
23696 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23697 <libm-alias-float.h>.
23698 (llroundf): Define using libm_alias_float.
23699 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23700 <libm-alias-float.h>.
23701 (sinf): Define using libm_alias_float.
23702
93485524
FW
237032017-12-04 Florian Weimer <fweimer@redhat.com>
23704
23705 * support/check.h (TEST_COMPARE): Define.
23706 (support_test_compare_failure): Declare.
23707 * support/Makefile (libsupport-routines): Add
23708 support_test_compare_failure.
23709 (tests): Add tst-test_compare.
23710 * support /support_test_compare_failure.c: New file.
23711 * support/tst-test_compare.c: Likewise.
23712
96b06a19
MF
237132017-12-04 Mike FABIAN <mfabian@redhat.com>
23714
23715 [BZ #22527]
23716 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23717 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23718 available, this rewrite of the collation rules does reproduce
23719 the test file in the same order.
23720
1f6d91f3
MF
237212017-12-04 Mike FABIAN <mfabian@redhat.com>
23722
23723 [BZ #10580]
23724 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23725 digraphs in the month and day names. Using single code points for
23726 digraphs is deprecated. While there are dedicated Unicode
23727 codepoints, for the digraphs, these are included for backwards
23728 compatibility and modern texts use a sequence of Basic Latin
23729 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23730 This makes the month and day names agree exactly with CLDR now,
23731 CLDR does not use the single code points for the digraphs either.
23732
2e49fed8
CM
237332017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23734
23735 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23736
73895b49
JM
237372017-12-04 Joseph Myers <joseph@codesourcery.com>
23738
23739 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23740 of floor.
23741
4c1d801a
SP
237422017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23743
23744 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23745 Define only for libc.so.
23746
478593e6
SL
237472017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23748
23749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23750 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 23751 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
23752 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23754
7863a711
RS
237552017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23756
23757 [BZ #5997]
23758 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23759
800a496a
JDA
237602017-12-02 John David Anglin <danglin@gcc.gnu.org>
23761
b3f7fb12
JDA
23762 [BZ libc/19170]
23763 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23764 PREINIT_FUNCTION_WEAK is nonzero.
23765 (gmon_initializer): New function. Put procedure label for it in
23766 .init_array section.
23767 (_init): Don't call PREINIT_FUNCTION.
23768 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23769 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23770 value when map argument is null.
23771
800a496a
JDA
23772 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23773 depi instruction from PIC pc-relative sequence.
23774 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23775 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23776 (elf_machine_load_address): Likewise.
23777 (elf_machine_runtime_setup): Likewise.
23778
d17542d2
JM
237792017-12-02 Joseph Myers <joseph@codesourcery.com>
23780
23781 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23782 <libm-alias-double.h>.
23783 (logb): Define using libm_alias_double.
23784 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23785 <libm-alias-double.h>.
23786 (copysign): Define using libm_alias_double.
23787 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23788 <libm-alias-double.h>.
23789 (llrint): Define using libm_alias_double.
23790 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23791 <libm-alias-double.h>.
23792 (llround): Define using libm_alias_double.
23793 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23794 <libm-alias-double.h>.
23795 (lrint): Define using libm_alias_double.
23796 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23797 <libm-alias-double.h>.
23798 (lround): Define using libm_alias_double.
23799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23800 Include <libm-alias-double.h>.
23801 (copysign): Define using libm_alias_double.
23802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23803 Include <libm-alias-double.h>.
23804 (llrint): Define using libm_alias_double.
23805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23806 Include <libm-alias-double.h>.
23807 (llround): Define using libm_alias_double.
23808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23809 <libm-alias-double.h>.
23810 (logb): Define using libm_alias_double.
23811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23812 Include <libm-alias-double.h>.
23813 (lrint): Define using libm_alias_double.
23814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23815 Include <libm-alias-double.h>.
23816 (lround): Define using libm_alias_double.
23817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23818 <libm-alias-double.h>.
23819 (llrint): Define using libm_alias_double.
23820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23821 <libm-alias-double.h>.
23822 (llround): Define using libm_alias_double.
23823 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23824 <libm-alias-double.h>.
23825 (llround): Define using libm_alias_double.
23826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23827 <libm-alias-double.h>.
23828 (lround): Define using libm_alias_double.
23829 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23830 <libm-alias-double.h>.
23831 (copysign): Define using libm_alias_double.
23832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23833 <libm-alias-double.h>.
23834 (llrint): Define using libm_alias_double.
23835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23836 <libm-alias-double.h>.
23837 (llround): Define using libm_alias_double.
23838 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23839 <libm-alias-double.h>.
23840 (lrint): Define using libm_alias_double.
23841 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23842 <libm-alias-double.h>.
23843 (lround): Define using libm_alias_double.
23844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23845 <libm-alias-double.h>.
23846 (copysign): Define using libm_alias_double.
23847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23848 <libm-alias-double.h>.
23849 (llrint): Define using libm_alias_double.
23850 (lrint): Likewise.
23851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23852 <libm-alias-double.h>.
23853 (llround): Define using libm_alias_double.
23854 (lround): Likewise.
23855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23856 <libm-alias-double.h>.
23857 (logb): Define using libm_alias_double.
23858 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23859 <libm-alias-double.h>.
23860 (copysign): Define using libm_alias_double.
23861 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23862 <libm-alias-double.h>.
23863 (llrint): Define using libm_alias_double.
23864 (lrint): Likewise.
23865 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23866 <libm-alias-double.h>.
23867 (llround): Define using libm_alias_double.
23868 (lround): Likewise.
23869 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23870 <libm-alias-double.h>.
23871 (llround): Define using libm_alias_double.
23872 (lround): Likewise.
23873 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23874 <libm-alias-double.h>.
23875 (copysign): Define using libm_alias_double.
23876 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23877 <libm-alias-double.h>.
23878 (llrint): Define using libm_alias_double.
23879 (lrint): Likewise.
23880 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23881 <libm-alias-double.h>.
23882 (llround): Define using libm_alias_double.
23883 (lround): Likewise.
23884 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23885 <libm-alias-double.h>.
23886 (llrint): Define using libm_alias_double.
23887 (lrint): Likewise.
23888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23889 <libm-alias-double.h>.
23890 (llround): Define using libm_alias_double.
23891 (lround): Likewise.
23892
ec2cf3f4
JM
238932017-12-01 Joseph Myers <joseph@codesourcery.com>
23894
0ddde474
JM
23895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23896 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23897 compat symbol based on llround.
23898
0d5ba561
JM
23899 * sysdeps/powerpc/power7/fpu/s_logb.c
23900 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23901 symbol based on __logb, not on logb.
23902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23903 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23905 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23906
51ea3b20
JM
23907 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23908 (rint): Define using libm_alias_double.
23909 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23910 <libm-alias-double.h>.
23911 (modf): Define using libm_alias_double.
23912 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23913 <libm-alias-double.h>.
23914 (ceil): Define using libm_alias_double.
23915 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23916 <libm-alias-double.h>.
23917 (floor): Define using libm_alias_double.
23918 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23919 <libm-alias-double.h>.
23920 (nearbyint): Define using libm_alias_double.
23921 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23922 <libm-alias-double.h>.
23923 (rint): Define using libm_alias_double.
23924 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23925 <libm-alias-double.h>.
23926 (round): Define using libm_alias_double.
23927 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23928 <libm-alias-double.h>.
23929 (trunc): Define using libm_alias_double.
23930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23931 <libm-alias-double.h>.
23932 (ceil): Define using libm_alias_double.
23933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23934 Include <libm-alias-double.h>.
23935 (floor): Define using libm_alias_double.
23936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23937 <libm-alias-double.h>.
23938 (modf): Define using libm_alias_double.
23939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23940 Include <libm-alias-double.h>.
23941 (round): Define using libm_alias_double.
23942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23943 Include <libm-alias-double.h>.
23944 (trunc): Define using libm_alias_double.
23945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23946 <libm-alias-double.h>.
23947 (ceil): Define using libm_alias_double.
23948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23949 <libm-alias-double.h>.
23950 (floor): Define using libm_alias_double.
23951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23952 <libm-alias-double.h>.
23953 (round): Define using libm_alias_double.
23954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23955 <libm-alias-double.h>.
23956 (trunc): Define using libm_alias_double.
23957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23958 <libm-alias-double.h>.
23959 (ceil): Define using libm_alias_double.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23961 <libm-alias-double.h>.
23962 (floor): Define using libm_alias_double.
23963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23964 <libm-alias-double.h>.
23965 (modf): Define using libm_alias_double.
23966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23967 <libm-alias-double.h>.
23968 (round): Define using libm_alias_double.
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23970 <libm-alias-double.h>.
23971 (trunc): Define using libm_alias_double.
23972 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23973 <libm-alias-double.h>.
23974 (ceil): Define using libm_alias_double.
23975 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23976 <libm-alias-double.h>.
23977 (floor): Define using libm_alias_double.
23978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23979 <libm-alias-double.h>.
23980 (nearbyint): Define using libm_alias_double.
23981 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23982 <libm-alias-double.h>.
23983 (rint): Define using libm_alias_double.
23984 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23985 <libm-alias-double.h>.
23986 (round): Define using libm_alias_double.
23987 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23988 <libm-alias-double.h>.
23989 (trunc): Define using libm_alias_double.
23990 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23991 <libm-alias-double.h>.
23992 (ceil): Define using libm_alias_double.
23993 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23994 <libm-alias-double.h>.
23995 (floor): Define using libm_alias_double.
23996 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23997 <libm-alias-double.h>.
23998 (round): Define using libm_alias_double.
23999 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24000 <libm-alias-double.h>.
24001 (trunc): Define using libm_alias_double.
24002
ec2cf3f4
JM
24003 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24004 (fabs): Define using libm_alias_double.
24005 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24006 (fma): Define using libm_alias_double.
24007 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24008 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24011
5b7bd975
AZ
240122017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24013
0594b13f
AZ
24014 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24015
dbdfcf3b
AZ
24016 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24017 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24018 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24019
5b7bd975
AZ
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24021 due redirect macro.
24022
ef9ecfa6
AS
240232017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24024
24025 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24026
5b4e5e78
AZ
240272017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24028
2a14526b
AZ
24029 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24030 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24031 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24032 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24033
dbeb74ef 24034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
24035 (libm-sysdep_routines): Add s_nearbyintf-generic and
24036 s_nearbyint-generic.
24037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24038 New file.
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24041 Likewise.
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24043 Likewise.
24044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24045 file.
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24047 Likewise.
24048
24049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
24050 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24052 file.
24053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24055 Likewise.
24056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24059
fa7ded96
AZ
24060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24061 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24063 file.
24064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24066 Likewise.
24067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24070
e240cf0e
AZ
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24072 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24074 file.
24075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24077 Likewise.
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24081
5b4e5e78
AZ
24082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24083 (sysdep_calls): New rule.
24084 (sysdep_routines): Use sysdep_calls as base.
24085 (libm-sysdep_routines): Add generic rule for symbols shared with
24086 libc. Add s_copysign-generic and s_copysign-generic objects.
24087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24088 New file.
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24091 Likewise.
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24095
d985adae
MF
240962017-12-01 Mike FABIAN <mfabian@redhat.com>
24097
24098 [BZ #22519]
24099 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24100 the list of locales to be built for testing.
24101 * localedata/is_IS.UTF-8.in: New file.
24102 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24103 on iso14651_t1.
24104
ff84a0e0
JM
241052017-12-01 Joseph Myers <joseph@codesourcery.com>
24106
24107 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24108 <libm-alias-float.h>.
24109 (fabsf): Define using libm_alias_float.
24110
ef5d8b43
L
241112017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24112
24113 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24114
c0535adf
JM
241152017-11-30 Joseph Myers <joseph@codesourcery.com>
24116
f938b397
JM
24117 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24118 <libm-alias-float.h>.
24119 (fabsf): Define using libm_alias_float.
24120 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24121 <libm-alias-float.h>.
24122 (lrintf): Define using libm_alias_float.
24123 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24124 <libm-alias-float.h>.
24125 (rintf): Define using libm_alias_float.
24126
2251fad0
JM
24127 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24128 <libm-alias-double.h>.
24129 (fabs): Define using libm_alias_double.
24130 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24131 <libm-alias-double.h>.
24132 (lrint): Define using libm_alias_double.
24133 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24134 <libm-alias-double.h>.
24135 (rint): Define using libm_alias_double.
24136
e53df1de
JM
24137 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24138 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24139 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24140 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24141 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24142 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24143 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24144 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24145 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24146 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24147 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24148 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24149 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24150 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24151 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24152 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24153 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24154 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24155 s_atan_template.c.
24156 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24157 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24158 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24159 s_ceil_template.c.
24160 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24161 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24162 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24163 s_cos_template.c.
24164 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24165 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24166 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24167 s_expm1_template.c.
24168 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24169 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24170 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24171 s_fabs_template.c.
24172 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24173 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24174 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24175 s_floor_template.c.
24176 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24177 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24178 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24179 s_frexp_template.c.
24180 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24181 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24182 s_lrint_template.c.
24183 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24184 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24185 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24186 s_modf_template.c.
24187 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24188 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24189 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24190 s_nearbyint_template.c.
24191 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24192 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24193 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24194 s_remquo_template.c.
24195 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24196 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24197 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24198 s_rint_template.c.
24199 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24200 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24201 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24202 s_sin_template.c.
24203 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24204 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24205 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24206 s_sincos_template.c.
24207 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24208 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24209 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24210 s_tan_template.c.
24211 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24212 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24213 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24214 s_tanh_template.c.
24215 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24216 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24217 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24218 s_trunc_template.c.
24219 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24220 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24221 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24222 s_atan.c instead of including s_atan.c.
24223 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24224 s_atanf.c instead of including s_atanf.c.
24225 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24226 s_atanl.c instead of including s_atanl.c.
24227 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24228 instead of s_atan.c.
24229 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24230 instead of s_atanf.c.
24231 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24232 instead of s_atanl.c.
24233
c0535adf
JM
24234 * scripts/update-copyrights: Do not handle intl/plural.c
24235 specially.
24236
1faaf703
JB
242372017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24238
24239 [BZ #22432]
24240 * configure.ac (BISON): Require to be present.
24241 * configure: Regenerated.
24242 * intl/Makefile (generated): Add plural.c.
24243 [$(BISON) != no]: Make code unconditional.
24244 (plural.c): Change rule to $(objpfx)plural.c.
24245 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24246 * intl/plural.c: Remove.
24247 * manual/install.texi (Tools for Compilation): Document bison as
24248 required.
24249 * INSTALL: Regenerated.
24250
faec6323
JM
242512017-11-30 Joseph Myers <joseph@codesourcery.com>
24252
bd6ea9ed
JM
24253 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24254 <libm-alias-double.h>.
24255 (llrint): Define using libm_alias_double.
24256 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24257 <libm-alias-float.h>.
24258 (llrintf): Define using libm_alias_float.
24259 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24260 <libm-alias-ldouble.h>.
24261 (llrintl): Define using libm_alias_ldouble.
24262
faec6323
JM
24263 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24264 declare_mgen_alias instead of weak_alias.
24265 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24266 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24267 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24268
023cade3
AZ
242692017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24270
9e2279a0
AZ
24271 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24272 Add add_n-generic.
24273 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24274 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24275 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24276
75f37c71
AZ
24277 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24278 Add submul_1-generic.
24279 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24280 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24281 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24282
b70cbbfc 24283 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
24284 Add addmul_1-generic.
24285 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24286 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24287 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24288
24289 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
24290 Add sub_n-generic.
24291 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24292 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24293 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24294
023cade3
AZ
24295 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24296 Add mul_1-generic.
24297 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24298 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24299 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24300
fbb5fd03
MF
243012017-11-30 Mike FABIAN <mfabian@redhat.com>
24302
24303 According to CLDR, collation rules for Serbian and Bosnian
24304 should be the same as for Croatian.
24305
24306 [BZ #22534]
24307 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24308 and to the list of locales to be built for testing.
24309 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24310 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24311 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24312 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24313
5e56e937
MF
243142017-11-30 Mike FABIAN <mfabian@redhat.com>
24315
24316 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24317 to make test case pass.
24318 * localedata/hr_HR.UTF-8.in: Add more test strings.
24319
cf4341ca
MF
243202017-11-30 Mike FABIAN <mfabian@redhat.com>
24321
24322 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24323
363e4519 243242017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
24325
24326 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24327 the list of locales to built for testing.
24328 * localedata/hr_HR.UTF-8.in: New file.
24329
363e4519 243302017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
24331
24332 [BZ #10580]
24333 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24334 iso14651_t1.
24335 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24336 CLDR (except use ligatures for the digraphs, CLDR does not use
24337 the ligatures), add first_workday, some fixes in the date and time
24338 formats.
24339 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24340 for Đ and đ.
24341 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24342 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24343 Add int_p_cs_precedes and int_n_cs_precedes.
24344 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24345 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24346 LC_MONETARY now).
24347 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24348 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24349 name_miss.
24350 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24351 and lang_lib. Change postal_fmt.
24352
f33632cc
L
243532017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24356 <setjmp.h>.
24357 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24358 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24359 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24360 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24361 * sysdeps/generic/setjmpP.h: New file.
24362 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24363 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24364 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24365 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24366 Add jmp_buf-ssp.sym.
24367 (tests): Add tst-saved_mask-1.
24368
34697694
AS
243692017-11-30 Arjun Shankar <arjun@redhat.com>
24370
24371 [BZ #22375]
37ac8e63 24372 CVE-2017-17426
34697694
AS
24373 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24374 instead of request2size.
24375
3e5efdbd
JM
243762017-11-30 Joseph Myers <joseph@codesourcery.com>
24377
18305fba
JM
24378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24379 (__lllrint): Remove alias.
24380 (lllrint): Likewise.
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24382 (__lllrintf): Likewise.
24383 (lllrintf): Likewise.
24384
3e5efdbd
JM
24385 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24386 <libm-alias-float.h>.
24387 (copysignf): Define using libm_alias_float.
24388 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24389 <libm-alias-float.h>.
24390 (fabsf): Define using libm_alias_float.
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24392 Include <libm-alias-float.h>.
24393 (copysignf): Define using libm_alias_float.
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24395 <libm-alias-float.h>.
24396 (fabsf): Define using libm_alias_float.
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24398 <libm-alias-float.h>.
24399 (fdimf): Define using libm_alias_float.
24400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24401 <libm-alias-float.h>.
24402 (fmaf): Define using libm_alias_float.
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24404 <libm-alias-float.h>.
24405 (llrintf): Define using libm_alias_float.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24407 Include <libm-alias-float.h>.
24408 (nearbyintf): Define using libm_alias_float.
24409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24410 <libm-alias-float.h>.
24411 (rintf): Define using libm_alias_float.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24413 <libm-alias-float.h>.
24414 (llrintf): Define using libm_alias_float.
24415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24416 <libm-alias-float.h>.
24417 (lrintf): Define using libm_alias_float.
24418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24419 <libm-alias-float.h>.
24420 (nearbyintf): Define using libm_alias_float.
24421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24422 <libm-alias-float.h>.
24423 (rintf): Define using libm_alias_float.
24424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24425 <libm-alias-float.h>.
24426 (ceilf): Define using libm_alias_float.
24427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24428 <libm-alias-float.h>.
24429 (floorf): Define using libm_alias_float.
24430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24431 <libm-alias-float.h>.
24432 (fmaf): Define using libm_alias_float.
24433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24434 <libm-alias-float.h>.
24435 (lrintf): Define using libm_alias_float.
24436 (llrintf): Likewise.
24437 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24438 <libm-alias-float.h>.
24439 (nearbyintf): Define using libm_alias_float.
24440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24441 <libm-alias-float.h>.
24442 (rintf): Define using libm_alias_float.
24443 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24444 <libm-alias-float.h>.
24445 (truncf): Define using libm_alias_float.
24446 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24447 <libm-alias-float.h>.
24448 (copysignf): Define using libm_alias_float.
24449 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24450 <libm-alias-float.h>.
24451 (fabsf): Define using libm_alias_float.
24452 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24453 <libm-alias-float.h>.
24454 (lrintf): Define using libm_alias_float.
24455 (llrintf): Likewise.
24456 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24457 <libm-alias-float.h>.
24458 (nearbyintf): Define using libm_alias_float.
24459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24460 <libm-alias-float.h>.
24461 (rintf): Define using libm_alias_float.
24462
011fba7e
JM
244632017-11-29 Joseph Myers <joseph@codesourcery.com>
24464
875cd548
JM
24465 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24466 <libm-alias-double.h>.
24467 (copysign): Define using libm_alias_double.
24468 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24469 <libm-alias-double.h>.
24470 (fabs): Define using libm_alias_double.
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24472 Include <libm-alias-double.h>.
24473 (copysign): Define using libm_alias_double.
24474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24475 <libm-alias-double.h>.
24476 (fabs): Define using libm_alias_double.
24477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24478 <libm-alias-double.h>.
24479 (fdim): Define using libm_alias_double.
24480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24481 <libm-alias-double.h>.
24482 (fma): Define using libm_alias_double.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24484 <libm-alias-double.h>.
24485 (llrint): Define using libm_alias_double.
24486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24487 Include <libm-alias-double.h>.
24488 (nearbyint): Define using libm_alias_double.
24489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24490 <libm-alias-double.h>.
24491 (rint): Define using libm_alias_double.
24492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24493 <libm-alias-double.h>.
24494 (fabs): Define using libm_alias_double.
24495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24496 <libm-alias-double.h>.
24497 (llrint): Define using libm_alias_double.
24498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24499 <libm-alias-double.h>.
24500 (nearbyint): Define using libm_alias_double.
24501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24502 <libm-alias-double.h>.
24503 (rint): Define using libm_alias_double.
24504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24505 <libm-alias-double.h>.
24506 (ceil): Define using libm_alias_double.
24507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24508 <libm-alias-double.h>.
24509 (floor): Define using libm_alias_double.
24510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24511 <libm-alias-double.h>.
24512 (fma): Define using libm_alias_double.
24513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24514 <libm-alias-double.h>.
24515 (lrint): Define using libm_alias_double.
24516 (llrint): Likewise.
24517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24518 <libm-alias-double.h>.
24519 (nearbyint): Define using libm_alias_double.
24520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24521 <libm-alias-double.h>.
24522 (rint): Define using libm_alias_double.
24523 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24524 <libm-alias-double.h>.
24525 (trunc): Define using libm_alias_double.
24526 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24527 <libm-alias-double.h>.
24528 (copysign): Define using libm_alias_double.
24529 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24530 <libm-alias-double.h>.
24531 (fabs): Define using libm_alias_double.
24532 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24533 <libm-alias-double.h>.
24534 (lrint): Define using libm_alias_double.
24535 (llrint): Likewise.
24536 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24537 <libm-alias-double.h>.
24538 (nearbyint): Define using libm_alias_double.
24539 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24540 <libm-alias-double.h>.
24541 (rint): Define using libm_alias_double.
24542
cf4ebc27
JM
24543 [BZ #22229]
24544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24545 <math_ldbl_opt.h>.
24546 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24547
0c097378
JM
24548 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24549 SPARC --disable-multi-arch glibc variants.
24550
34bb10aa
JM
24551 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24552 <libm-alias-float.h>.
24553 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24554 if [SHARED].
24555 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24556 <libm-alias-float.h>.
24557 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24558 if [SHARED].
24559 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24560 <libm-alias-float.h>.
24561 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24562 if [SHARED].
24563 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24564 <libm-alias-float.h>.
24565 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24566 if [SHARED].
24567 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24568 <libm-alias-float.h>.
24569 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24570 if [SHARED].
24571 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24572 <libm-alias-float.h>.
24573 (ceilf): Define using libm_alias_float.
24574 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24575 <libm-alias-float.h>.
24576 (floorf): Define using libm_alias_float.
24577 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24578 <libm-alias-float.h>.
24579 (fmaf): Define using libm_alias_float.
24580 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24581 <libm-alias-float.h>.
24582 (nearbyintf): Define using libm_alias_float.
24583 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24584 <libm-alias-float.h>.
24585 (rintf): Define using libm_alias_float.
24586 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24587 <libm-alias-float.h>.
24588 (truncf): Define using libm_alias_float.
24589 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24590 (copysignf): Define using libm_alias_float.
24591 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24592 (cosf): Define using libm_alias_float.
24593 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24594 (fabsf): Define using libm_alias_float.
24595 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24596 (fmaxf): Define using libm_alias_float.
24597 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24598 (fminf): Define using libm_alias_float.
24599 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24600 (llrintf): Define using libm_alias_float.
24601 [!__ILP32__] (lrintf): Likewise.
24602 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24603 (sincosf): Define using libm_alias_float.
24604 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24605 (sinf): Define using libm_alias_float.
24606 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24607 (lrintf): Define using libm_alias_float.
24608
011fba7e
JM
24609 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24610 <libm-alias-double.h>.
24611 (atan): Define using libm_alias_double.
24612 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24613 <libm-alias-double.h>.
24614 (ceil): Define using libm_alias_double.
24615 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24616 <libm-alias-double.h>.
24617 (floor): Define using libm_alias_double.
24618 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24619 <libm-alias-double.h>.
24620 (fma): Define using libm_alias_double.
24621 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24622 <libm-alias-double.h>.
24623 (nearbyint): Define using libm_alias_double.
24624 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24625 <libm-alias-double.h>.
24626 (rint): Define using libm_alias_double.
24627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24628 <libm-alias-double.h>.
24629 (sin): Define using libm_alias_double.
24630 (cos): Likewise.
24631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24632 <libm-alias-double.h>.
24633 (tan): Define using libm_alias_double.
24634 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24635 <libm-alias-double.h>.
24636 (trunc): Define using libm_alias_double.
24637 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24638 (copysign): Define using libm_alias_double.
24639 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24640 (fabs): Define using libm_alias_double.
24641 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24642 (fmax): Define using libm_alias_double.
24643 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24644 (fmin): Define using libm_alias_double.
24645 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24646 (llrint): Define using libm_alias_double.
24647 [!__ILP32__] (lrint): Likewise.
24648 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24649 (lrint): Define using libm_alias_double.
24650
1cbd7bfe
AZ
246512017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24652
21bfcc3d
AZ
24653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24654 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24655 objects.
24656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24662
522228dd
AZ
24663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24664 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24665 objects.
24666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24672
2a6f4fab
AZ
24673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24674 (libm-sysdep_routines): Add s_nearbyint-generic and
24675 s_nearbyintf-generic objects.
24676 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24677 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24678 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24679 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24680 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24681 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24682
712b5b83
AZ
24683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24684 Add s_finitef-generic and s_finite-generic objects.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24691
c96d3335
AZ
24692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24693 Add s_isinff-generic and s_isinf-generic objects.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24700
c6862a23
AZ
24701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24702 Add s_isnanf-generic and s_isnan-generic objects.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24709
1cbd7bfe
AZ
24710 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24711 macro.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24713 rule.
24714 (sysdep_routines): Use sysdep_calls as base.
24715 (libm-sysdep_routines): Add generic rule for symbols shared with
24716 libc. Add s_signbit-generic and s_signbitf-generic objects.
24717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24723
aa1142c5
JM
247242017-11-29 Joseph Myers <joseph@codesourcery.com>
24725
24726 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24727 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24728 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24729 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24730 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24731 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24732 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24733 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24734 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24735 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24736 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24737 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24738 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24739 libm_alias_float_r.
24740 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24741 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24742 (logf): Likewise.
24743 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24744 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24745 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24746 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24747 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24748 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24749 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24750 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24751 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24752 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24753 libm_alias_float.
24754 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24755 (cosf): Likewise.
24756 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24757 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24758 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24759 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24760 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24761 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24762 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24763 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24764 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24765 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24766 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24767 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24768 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24769 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24770 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24771 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24772 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24773 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24774 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24775 libm_alias_float.
24776 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24777 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24778 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24779 * sysdeps/ia64/fpu/w_lgammaf_main.c
24780 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24781 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24782
363e4519
DL
247832017-11-28 Mike FABIAN <mfabian@redhat.com>
24784 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
24785
24786 [BZ #17750]
24787 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24788 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24789 accents sorting.
24790 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24791 sorting.
24792 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24793 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24794 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24795 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24796 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24797 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24798 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24799 instead of “ifdef DIACRIT_BACKWARD”.
24800
a55430cb
AZ
248012017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24802
24803 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24804 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24805 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24806 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24807 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24808 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24817 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24818 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24819 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24820 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24822 ($(have-as-vis3) == yes): Remove conditional.
24823 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24824 Likewise.
24825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24826 file.
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24828 file.
24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24830 file.
24831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24832 file.
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24839 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24840 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24841
0609ec0a
JM
248422017-11-29 Joseph Myers <joseph@codesourcery.com>
24843
24844 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24845 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24846 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24847 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24848 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24849 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24850 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24851 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24852 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24853 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24854 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24855 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24856 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24857 libm_alias_double_r.
24858 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24859 (log): Likewise.
24860 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24861 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24862 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24863 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24864 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24865 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24866 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24867 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24868 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24869 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24870 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24871 libm_alias_double.
24872 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24873 (cos): Likewise.
24874 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24875 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24876 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24877 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24878 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24879 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24880 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24881 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24882 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24883 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24884 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24885 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24886 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24887 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24888 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24889 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24890 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24891 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24892 libm_alias_double.
24893 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24894 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24895 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24896 * sysdeps/ia64/fpu/w_lgamma_main.c
24897 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24898 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24899
d5bfa34a
JDA
249002017-11-28 John David Anglin <danglin@gcc.gnu.org>
24901
24902 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24903 address of $global$ into %dp register earlier. Use pc-relative
24904 instruction sequence for PIC case.
24905
bc4e8f9b
JM
249062017-11-28 Joseph Myers <joseph@codesourcery.com>
24907
e4602cba
JM
24908 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24909 (asinhf): Define using libm_alias_float.
24910 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24911 (atanf): Define using libm_alias_float.
24912 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24913 (cbrtf): Define using libm_alias_float.
24914 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24915 (ceilf): Define using libm_alias_float.
24916 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24917 (copysignf): Define using libm_alias_float.
24918 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24919 (expm1f): Define using libm_alias_float.
24920 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24921 (fabsf): Define using libm_alias_float.
24922 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24923 (floorf): Define using libm_alias_float.
24924 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24925 (fmaxf): Define using libm_alias_float.
24926 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24927 (fminf): Define using libm_alias_float.
24928 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24929 (frexpf): Define using libm_alias_float.
24930 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24931 (llrintf): Define using libm_alias_float.
24932 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24933 (logbf): Define using libm_alias_float.
24934 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24935 (lrintf): Define using libm_alias_float.
24936 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24937 (nearbyintf): Define using libm_alias_float.
24938 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24939 (remquof): Define using libm_alias_float.
24940 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24941 (rintf): Define using libm_alias_float.
24942 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24943 (truncf): Define using libm_alias_float.
24944 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24945 <libm-alias-float.h>.
24946 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24947 if [SHARED].
24948 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24949 <libm-alias-float.h>.
24950 (expf): Define using libm_alias_float, or libm_alias_float_other
24951 if [SHARED].
24952 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24953 <libm-alias-float.h>.
24954 (log2f): Define using libm_alias_float, or libm_alias_float_other
24955 if [SHARED].
24956 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24957 <libm-alias-float.h>.
24958 (logf): Define using libm_alias_float, or libm_alias_float_other
24959 if [SHARED].
24960 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24961 <libm-alias-float.h>.
24962 (powf): Define using libm_alias_float, or libm_alias_float_other
24963 if [SHARED].
24964 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24965 <libm-alias-float.h>.
24966 (cosf): Define using libm_alias_float.
24967 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24968 <libm-alias-float.h>.
24969 (sincosf): Define using libm_alias_float.
24970 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24971 <libm-alias-float.h>.
24972 (sinf): Define using libm_alias_float.
24973 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24974 (fmaxf): Define using libm_alias_float.
24975 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24976 (fminf): Define using libm_alias_float.
24977 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24978 <libm-alias-float.h>.
24979 (fmaf): Define using libm_alias_float.
24980
bc4e8f9b
JM
24981 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24982 (asinh): Define using libm_alias_double.
24983 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24984 (atan): Define using libm_alias_double.
24985 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24986 (cbrt): Define using libm_alias_double.
24987 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24988 (ceil): Define using libm_alias_double.
24989 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24990 (copysign): Define using libm_alias_double.
24991 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24992 (expm1): Define using libm_alias_double.
24993 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24994 (fabs): Define using libm_alias_double.
24995 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24996 (fdim): Define using libm_alias_double.
24997 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24998 (floor): Define using libm_alias_double.
24999 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25000 (fmax): Define using libm_alias_double.
25001 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25002 (fmin): Define using libm_alias_double.
25003 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25004 (frexp): Define using libm_alias_double.
25005 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25006 (llrint): Define using libm_alias_double.
25007 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25008 (logb): Define using libm_alias_double.
25009 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25010 (lrint): Define using libm_alias_double.
25011 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25012 (nearbyint): Define using libm_alias_double.
25013 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25014 (remquo): Define using libm_alias_double.
25015 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25016 (rint): Define using libm_alias_double.
25017 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25018 (trunc): Define using libm_alias_double.
25019 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25020 (fmax): Define using libm_alias_double.
25021 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25022 (fmin): Define using libm_alias_double.
25023 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25024 (fma): Define using libm_alias_double.
25025
8d81ce0c
L
250262017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25027
25028 [BZ #22370]
25029 * elf/dl-hwcaps.c (ROUND): Removed.
25030 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25031 and ELF_NOTE_NEXT_OFFSET.
25032 * elf/dl-load.c (ROUND): Removed.
25033 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25034 * elf/readelflib.c (ROUND): Removed.
25035 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25036 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25037 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25038 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25039
6940bd96
JM
250402017-11-28 Joseph Myers <joseph@codesourcery.com>
25041
313ba463
JM
25042 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25043 [!__fmaf] (fmaf): Define using libm_alias_float.
25044
6940bd96
JM
25045 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25046 [!__fma] (fma): Define using libm_alias_double.
25047 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25048
22c69b6a
MF
250492017-11-28 Mike FABIAN <mfabian@redhat.com>
25050
25051 [BZ #22336]
25052 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25053 and implement the collation rules for cs from CLDR on top of that.
25054 * Makefile: Add cs_CZ.UTF-8 to test-input.
25055 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25056
8d7d3ba8
SP
250572017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25058
25059 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25060
0422ed1e
VR
250612017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25062 Icarus Sparry <icarus.w.sparry@intel.com>
25063
25064 * benchtests/Makefile:Add BENCHSET to allow subsets of
25065 benchmarks to be run.
25066 * benchtests/README: Add documentation for: Running subsets of
25067 benchmarks.
25068
0595e360
VR
250692017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25070
d5090db3
VR
25071 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25072 range of tests names.
25073
0595e360
VR
25074 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25075 result from property and remove "max", min" and "mean" from
25076 required properties based on benchtests/bench-skeleton.c.
25077
b4c645c2
FW
250782017-11-28 Florian Weimer <fweimer@redhat.com>
25079
25080 [BZ #20826]
25081 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25082 due to Internet requirement.
25083 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25084 tst-getaddrinfo5.
25085 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25086
88684de7
AZ
250872017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25088
69056564
AZ
25089 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25090 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25091 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25092 (sysdep_routines): Add memset-ultra1.
25093 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25094 file.
25095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25096 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25097 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25098 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25099 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25100 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25102 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25103
88684de7
AZ
25104 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25105 file.
25106 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25107 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25108 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25109 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25110 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25111 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25112 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25113 macro.
25114 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25115 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25116 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25117 (sysdep_routines): Add memcpy-ultra1.
25118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25119 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25120
d8124864
JM
251212017-11-28 Joseph Myers <joseph@codesourcery.com>
25122
f433d0b3
JM
25123 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25124 (cfloat_versions): Take function argument without trailing 'f'.
25125 Call libm_alias_float_other.
25126 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25127 * sysdeps/alpha/fpu/cargf.c: Likewise.
25128 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25129 * sysdeps/alpha/fpu/conjf.c: Likewise.
25130 * sysdeps/alpha/fpu/crealf.c: Likewise.
25131 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25132 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25133 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25134 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25135 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25136 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25137 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25138 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25139 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25140 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25141 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25142 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25143 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25144 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25145 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25146 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25147 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25148 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25149 (clog10f): Use libm_alias_float_other.
25150 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25151 (ceilf): Define using libm_alias_float.
25152 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25153 (copysignf): Define using libm_alias_float.
25154 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25155 (fabsf): Define using libm_alias_float.
25156 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25157 (floorf): Define using libm_alias_float.
25158 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25159 (fmaxf): Define using libm_alias_float.
25160 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25161 (fminf): Define using libm_alias_float.
25162 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25163 (lrintf): Define using libm_alias_float.
25164 (llrintf): Likewise.
25165 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25166 (lroundf): Define using libm_alias_float.
25167 (llroundf): Likewise.
25168 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25169 (rintf): Define using libm_alias_float.
25170 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25171 (truncf): Define using libm_alias_float.
25172
15ff4900
JM
25173 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25174 (ceilf): Define using libm_alias_float.
25175 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25176 (floorf): Define using libm_alias_float.
25177 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25178 (fmaf): Define using libm_alias_float.
25179 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25180 (fmaxf): Define using libm_alias_float.
25181 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25182 (fminf): Define using libm_alias_float.
25183 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25184 (llrintf): Define using libm_alias_float.
25185 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25186 (llroundf): Define using libm_alias_float.
25187 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25188 (lrintf): Define using libm_alias_float.
25189 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25190 (lroundf): Define using libm_alias_float.
25191 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25192 <libm-alias-float.h>.
25193 (nearbyintf): Define using libm_alias_float.
25194 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25195 (rintf): Define using libm_alias_float.
25196 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25197 (roundf): Define using libm_alias_float.
25198 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25199 (truncf): Define using libm_alias_float.
25200
5de60638
JM
25201 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25202 (ceil): Define using libm_alias_double.
25203 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25204 (copysign): Define using libm_alias_double.
25205 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25206 (fabs): Define using libm_alias_double.
25207 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25208 (floor): Define using libm_alias_double.
25209 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25210 (fmax): Define using libm_alias_double.
25211 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25212 (fmin): Define using libm_alias_double.
25213 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25214 (lrint): Define using libm_alias_double.
25215 (llrint): Likewise.
25216 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25217 (lround): Define using libm_alias_double.
25218 (llround): Likewise.
25219 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25220 (rint): Define using libm_alias_double.
25221 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25222 (trunc): Define using libm_alias_double.
25223
d8124864
JM
25224 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25225 (libm_alias_double_r): Add semicolon after weak_alias call.
25226
f07d2ec8
JM
252272017-11-27 Joseph Myers <joseph@codesourcery.com>
25228
25229 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25230 (ceil): Define using libm_alias_double.
25231 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25232 (floor): Define using libm_alias_double.
25233 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25234 (fma): Define using libm_alias_double.
25235 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25236 (fmax): Define using libm_alias_double.
25237 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25238 (fmin): Define using libm_alias_double.
25239 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25240 (llrint): Define using libm_alias_double.
25241 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25242 (llround): Define using libm_alias_double.
25243 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25244 (lrint): Define using libm_alias_double.
25245 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25246 (lround): Define using libm_alias_double.
25247 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25248 (nearbyint): Define using libm_alias_double.
25249 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25250 (rint): Define using libm_alias_double.
25251 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25252 (round): Define using libm_alias_double.
25253 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25254 (trunc): Define using libm_alias_double.
25255
4bab0224
FW
252562017-11-27 Florian Weimer <fweimer@redhat.com>
25257
25258 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25259 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25260 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25261 (tests): Add tst-mlock2.
25262 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25264 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25265 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25266 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25267 for mlock. Document mlock2.
25268
a23aa5b7
JM
252692017-11-27 Joseph Myers <joseph@codesourcery.com>
25270
25271 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25272 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25273 Likewise.
25274 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25275 Likewise.
25276 * sysdeps/x86/Makeconfig: New file.
25277 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25278 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25279 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25280 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25281 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25282 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25283 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25284 Likewise.
25285 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25286 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25287 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25288 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25289 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25290 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25291 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25292 * manual/math.texi (Mathematics): Document support for _Float64x.
25293 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25294 * stdlib/Versions (GLIBC_2.27): Likewise.
25295 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25296 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25297 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25298 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25299 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25300 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25301 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25302 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25308 Likewise.
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25310 Likewise.
25311 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25314 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25315 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25316 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25317 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25318 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25319 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25321 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25323 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25324 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25325
c2c299fd
AS
253262017-11-27 Andreas Schwab <schwab@suse.de>
25327
25328 * elf/Makefile (dl-routines): Add dl-sort-maps.
25329 * elf/dl-sort-maps.c: New file.
25330 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25331 (_dl_sort_maps): Declare.
25332 * elf/dl-fini.c (_dl_sort_fini): Remove.
25333 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25334 * elf/dl-close.c (_dl_close_worker): Likewise.
25335 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25336 open-coding it.
25337 * elf/dl-open.c (dl_open_worker): Likewise.
25338
9d4b0117
JM
253392017-11-24 Joseph Myers <joseph@codesourcery.com>
25340
de61465c
JM
25341 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25342 using libm_alias_float128.
25343 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25344 Likewise.
25345 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25346 Likewise.
25347 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25348 (setpayloadsigf128): Likewise.
25349 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25350 Likewise.
25351 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25352 Likewise.
25353
9ae6d171
JM
25354 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25355 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25356 -mfloat128 to CFLAGS.
25357 ($(foreach
25358 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25359 Likewise.
25360 (CFLAGS-libm-test-support-float64x.c): New variable.
25361 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25362 $(f128-loader-link) to gnulib-tests.
25363
6e70d156
JM
25364 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25365 (libm_alias_float128_other_r): If
25366 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25367 alias.
25368 (libm_alias_float128_r): Add semicolon after weak_alias call.
25369 * sysdeps/generic/libm-alias-ldouble.h
25370 (libm_alias_ldouble_other_r_f128): New macro.
25371 (libm_alias_ldouble_other_r_f64x): Likewise.
25372 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25373 and libm_alias_ldouble_other_r_f64x.
25374 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25375 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25376 (libm_alias_ldouble_other_r_f128): New macro.
25377 (libm_alias_ldouble_other_r_f64x): Likewise.
25378 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25379 and libm_alias_ldouble_other_r_f64x.
25380
df2806cd
JM
25381 * stdlib/strfroml.c: Always include <stdlib.h>.
25382 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25383 undefine as macro and define as weak alias.
25384 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25385 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25386 <stdlib.h>.
25387 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25388 Define and later undefine as macro and define as weak alias.
25389
0df4fe35
JM
25390 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25391 Define and later undefine as macro. Define as weak alias if
25392 [!USE_WIDE_CHAR].
25393 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25394 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25395 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25396 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25397 Define and later undefine as macro. Define as weak alias if
25398 [!USE_WIDE_CHAR].
25399 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25400 Define and later undefine as macro. Define as weak alias if
25401 [USE_WIDE_CHAR].
25402 * sysdeps/ieee754/float128/strtof128_l.c
25403 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25404 Define and later undefine as macro. Define as weak alias if
25405 [!USE_WIDE_CHAR].
25406 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25407 Define and later undefine as macro. Define as weak alias if
25408 [USE_WIDE_CHAR].
25409 * sysdeps/ieee754/ldbl-128/strtold_l.c
25410 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25411 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25412 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25413 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25414 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25415 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25416 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25417 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25418 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25419 * sysdeps/ieee754/ldbl-96/strtold_l.c
25420 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25421 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25422 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25423 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25424
ae7207d0
JM
25425 * math/test-float64x.h: New file.
25426 * math/Makefile (type-float64x-yes): New variable.
25427 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25428
9596fc69
JM
25429 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25430 function-like macro.
25431 (min_of_type_): Likewise.
25432 (min_of_type_l): Likewise.
25433 (min_of_type_f128): Likewise.
25434 (min_of_type): Pass () as last argument of __MATH_TG.
25435
46453c3c
JM
25436 * stdlib/tst-strtod-round-skeleton.c
25437 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25438 headers.
25439
01e659e7
JM
25440 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25441 for combinations of long double with _Float64 and _Float64x.
25442
5c60afdd
JM
25443 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25444 (__DECL_SIMD_cosf32): Likewise.
25445 (__DECL_SIMD_cosf64): Likewise.
25446 (__DECL_SIMD_cosf32x): Likewise.
25447 (__DECL_SIMD_cosf64x): Likewise.
25448 (__DECL_SIMD_cosf128x): Likewise.
25449 (__DECL_SIMD_sinf16): Likewise.
25450 (__DECL_SIMD_sinf32): Likewise.
25451 (__DECL_SIMD_sinf64): Likewise.
25452 (__DECL_SIMD_sinf32x): Likewise.
25453 (__DECL_SIMD_sinf64x): Likewise.
25454 (__DECL_SIMD_sinf128x): Likewise.
25455 (__DECL_SIMD_sincosf16): Likewise.
25456 (__DECL_SIMD_sincosf32): Likewise.
25457 (__DECL_SIMD_sincosf64): Likewise.
25458 (__DECL_SIMD_sincosf32x): Likewise.
25459 (__DECL_SIMD_sincosf64x): Likewise.
25460 (__DECL_SIMD_sincosf128x): Likewise.
25461 (__DECL_SIMD_logf16): Likewise.
25462 (__DECL_SIMD_logf32): Likewise.
25463 (__DECL_SIMD_logf64): Likewise.
25464 (__DECL_SIMD_logf32x): Likewise.
25465 (__DECL_SIMD_logf64x): Likewise.
25466 (__DECL_SIMD_logf128x): Likewise.
25467 (__DECL_SIMD_expf16): Likewise.
25468 (__DECL_SIMD_expf32): Likewise.
25469 (__DECL_SIMD_expf64): Likewise.
25470 (__DECL_SIMD_expf32x): Likewise.
25471 (__DECL_SIMD_expf64x): Likewise.
25472 (__DECL_SIMD_expf128x): Likewise.
25473 (__DECL_SIMD_powf16): Likewise.
25474 (__DECL_SIMD_powf32): Likewise.
25475 (__DECL_SIMD_powf64): Likewise.
25476 (__DECL_SIMD_powf32x): Likewise.
25477 (__DECL_SIMD_powf64x): Likewise.
25478 (__DECL_SIMD_powf128x): Likewise.
25479
9d4b0117
JM
25480 * stdlib/Versions (libc): Move entries for wcstof128 and
25481 wcstof128_l to ....
25482 * wcsmbs/Versions (libc): ... here.
25483 Include <float128-abi.h>.
25484
7911dd47
FW
254852017-11-24 Florian Weimer <fweimer@redhat.com>
25486
25487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25488 bits/mman-shared.h.
25489 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25490 <bits/mman-shared.h>.
25491 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25492 to ...
25493 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25494 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25495 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25496 <bits/mman-shared.h>.
25497
c45d78aa
AZ
254982017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25499
25500 [BZ #22457]
25501 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25502 posix_memalign/free.
25503 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25504
3ffc4cc1
MF
255052017-11-22 Mike FABIAN <mfabian@redhat.com>
25506
25507 [BZ #22469]
25508 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25509 and implement the collation rules for pl from CLDR on top of that.
25510 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25511 of locales to be built for testing.
25512 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25513
3a327316
JM
255142017-11-23 Joseph Myers <joseph@codesourcery.com>
25515
25516 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25517 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25518 libm_alias_ldouble_other.
25519 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25520 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25521 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25522 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25523 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25524 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25525 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25526 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25527 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25528 libm_alias_ldouble_r.
25529 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25530 libm_alias_ldouble_other.
25531 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25532 (log10l): Likewise.
25533 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25534 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25535 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25536 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25537 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25538 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25539 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25540 (atan2l): Likewise.
25541 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25542 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25543 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25544 libm_alias_ldouble.
25545 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25546 (cosl): Likewise.
25547 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25548 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25549 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25550 (expl): Likewise.
25551 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25552 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25553 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25554 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25555 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25556 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25557 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25558 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25559 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25560 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25561 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25562 libm_alias_ldouble.
25563 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25564 libm_alias_ldouble_other.
25565 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25566 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25567 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25568 libm_alias_ldouble.
25569 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25570 libm_alias_ldouble_other.
25571 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25572 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25573 * sysdeps/ia64/fpu/w_lgammal_main.c
25574 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25575 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25576
0a947e06
FW
255772017-11-23 Florian Weimer <fweimer@redhat.com>
25578
25579 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25580 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25581 alike. Remove freeres marker.
25582 * malloc/arena.c (arena_thread_freeres): Call
25583 tcache_thread_shutdown.
25584
67f36c79
FW
255852017-11-23 Florian Weimer <fweimer@redhat.com>
25586
25587 [BZ #22459]
25588 Export nscd hash function as __nss_hash.
25589 * include/nss.h (__nss_hash): Declare.
25590 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25591 symbol.
25592 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25593 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25594 of __nscd_hash.
25595 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25596 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25597 * nss/Makefiles (routines): Add nss_hash.
25598 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25599 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25600 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25601 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25602
cccb6d4e
FW
256032017-11-23 Florian Weimer <fweimer@redhat.com>
25604
25605 [BZ #22478]
25606 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25607 Return error code, not -1.
25608 * signal/tst-sigwait-eintr.c: New file.
25609 * signal/Makefile (tests): Add tst-sigwait-eintr.
25610
59d2cbb1
FW
256112017-11-23 Florian Weimer <fweimer@redhat.com>
25612
25613 Linux: Add memfd_create system call wrapper
25614 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25615 tst-memfd_create.
25616 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25617 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25618 [__USE_GNU] (memfd_create): Declare.
25619 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25620 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25621 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25622 * sysdeps/unix/sysv/linux/**.abilist: Update.
25623 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25624
a90d1ac2
JM
256252017-11-22 Joseph Myers <joseph@codesourcery.com>
25626
0a9d1d62
JM
25627 * localedata/gen-locale.sh: Fix typo in variable name.
25628
754034c4
JM
25629 * resolv/res_debug.c (p_secstodate): Condition definition on
25630 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25631 directly as __p_secstodate, and as a compat symbol. Do not use
25632 libresolv_hidden_def.
25633 * resolv/resolv.h (p_secstodate): Remove macro and function
25634 declaration.
25635 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25636 using p_secstodate.
25637 * include/resolv.h (__p_secstodate): Do not use
25638 libresolv_hidden_proto.
25639 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25640 (tests-internal): ... here.
25641 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25642 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25643 and declare and use __p_secstodate and use compat_symbol_reference
25644 in that case.
25645 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25646 implementation returning 77.
25647
f120cda6
JM
25648 [BZ #22463]
25649 * resolv/res_debug.c: Include <libc-diag.h>.
25650 (p_secstodate): Assert time_t at least as wide as u_long. On
25651 overflow, use integer seconds since the epoch as output, or use
25652 "<overflow>" as output and set errno to EOVERFLOW if integer
25653 seconds since the epoch would be 14 or more characters.
25654 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25655 for sprintf call.
25656 * resolv/tst-p_secstodate.c: New file.
25657 * resolv/Makefile (tests): Add tst-p_secstodate.
25658 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25659
a90d1ac2
JM
25660 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25661 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25662 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25663
0285e6bd
PE
256642017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25665
25666 * posix/regcomp.c (init_word_char): Add comments.
25667
4bae6150
JM
256682017-11-22 Joseph Myers <joseph@codesourcery.com>
25669
25670 [BZ #22447]
25671 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25672 strlen to compute length of ut_user and set trailing NUL byte of
25673 result explicitly.
25674
4b7af5fc
MF
256752017-11-21 Mike FABIAN <mfabian@redhat.com>
25676
25677 [BZ #15537]
25678 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25679 using “copy "iso14651_t1"” and then implementing the
25680 collation rules for lv from CLDR on top of that.
25681 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25682 of locales to be built for testing.
25683 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25684 sorting.
25685
922bb78c
JM
256862017-11-21 Joseph Myers <joseph@codesourcery.com>
25687
25688 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25689 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25690 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25691 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25692 [__USE_MISC] (MADV_HWPOISON): New macro.
25693 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25694
a3aaa598
AZ
256952017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25696
25697 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25698 -Wmissing-braces on GCC 4.9.
25699
8beba15d
SL
257002017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25701
25702 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25703 * sysdeps/s390/s390-32/start.S (_start): Likewise
25704 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25705 (thread_start): Likewise.
25706 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25707 (thread_start): Likewise.
25708 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25709 (__makecontext_ret): Likewise.
25710 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25711 (__makecontext_ret): Likewise.
25712
80eb52e3
SL
257132017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25714
25715 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25716 __wcschrnul): Remove attribute_hidden.
25717
567d8c1f
PE
257182017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25719
25720 regex: don't assume uint64_t or uint32_t
25721 This avoids -Werror=overflow errors for 32-bit systems in
25722 the 64-bit case. Problem reported by Joseph Myers in:
25723 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25724 Also, when this code is used in Gnulib it ports to platforms
25725 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25726 them, and on some 32-bit compilers there is no uint64_t.
25727 Problem reported by Gianluigi Tiesi in:
25728 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25729 * posix/regcomp.c (init_word_char): Don't assume that the types
25730 uint64_t and uint32_t exist. Adapted from Gnulib patch
25731 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25732 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25733
4d7632ff
SP
257342017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25735
5a67c4fa
SP
25736 * sysdeps/aarch64/memset-reg.h: New file.
25737 * sysdeps/aarch64/memset.S: Use it.
25738 (__memset): Rename to MEMSET macro.
25739 [ZVA_MACRO]: Use zva_macro.
25740 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25741 Add memset_generic and memset_falkor.
25742 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25743 (__libc_ifunc_impl_list): Add memset ifuncs.
25744 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25745 local variable zva_size.
25746 * sysdeps/aarch64/multiarch/memset.c: New file.
25747 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25748 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25749 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25750 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25751 (DCZID_DZP_MASK): New macro.
25752 (DCZID_BS_MASK): Likewise.
25753 (init_cpu_features): Read and set zva_size.
25754 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25755 (struct cpu_features): New member zva_size.
25756
eb332f9f
SP
25757 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25758 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25759 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25760
4d7632ff
SP
25761 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25762 backwards. Fix timing computation.
25763 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25764 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25765 on memset by N at a time. Fix timing computation.
25766
a465b89e
FW
257672017-11-20 Florian Weimer <fweimer@redhat.com>
25768
25769 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25770 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25771
0f74bbf5
FW
257722017-11-19 Florian Weimer <fweimer@redhat.com>
25773
25774 manual: Document mprotect
25775 * manual/memory.texi (Memory Protection): New section.
25776 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25777 documentation of PROT_* flags and reference the Memory Protection
25778 section instead.
25779
f6e965ee
FW
257802017-11-19 Florian Weimer <fweimer@redhat.com>
25781
25782 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25783 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25784 (Scatter-Gather): ... to here. Remove misleading comment.
25785
363e4519 257862017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 25787
5f9d1949
CB
25788 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25789 style.
25790
ea69a5c8
CB
25791 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25792 when /proc/<pid>/setgroups does not exist.
25793
8db7f48c
FW
257942017-11-18 Florian Weimer <fweimer@redhat.com>
25795
25796 * sysdeps/unix/sysv/linux/tst-ttyname.c
25797 (become_root_in_mount_ns): Remove.
25798 (do_in_chroot_1): Call support_enter_mount_namespace.
25799 (do_in_chroot_2): Likewise.
25800 (do_test): Call support_become_root early.
25801
273a0c49
FW
258022017-11-18 Florian Weimer <fweimer@redhat.com>
25803
25804 * support/namespace.h (support_enter_mount_namespace): Declare.
25805 * support/support_enter_mount_namespace.c: New file.
25806 * support/Makefile (libsupport-routines): Add
25807 support_enter_mount_namespace.
25808
8adfb0ee
FW
258092017-11-18 Florian Weimer <fweimer@redhat.com>
25810
25811 * support/temp_file.c (support_create_temp_directory): Use
25812 test_dir and do not rely on the presence of the XXXXXX suffix.
25813 * support/temp_file.h (support_create_temp_directory): Update
25814 comment.
25815 * support/tst-xreadlink.c (do_test): Adjust.
25816 * support/support_chroot.c (support_chroot_create): Likewise.
25817
df0c40ee
TMQMF
258182017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25819
25820 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25821 macro.
25822 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25823 htm-no-suspend.
25824
015c6dc2
JM
258252017-11-17 Joseph Myers <joseph@codesourcery.com>
25826
f58e5f48
JM
25827 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25828 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25829 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25830 (ceill): Define using libm_alias_ldouble.
25831 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25832 <libm-alias-ldouble.h>.
25833 (copysignl): Define using libm_alias_ldouble.
25834 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25835 (fabsl): Define using libm_alias_ldouble.
25836 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25837 (floorl): Define using libm_alias_ldouble.
25838 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25839 (fmaxl): Define using libm_alias_ldouble.
25840 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25841 (fminl): Define using libm_alias_ldouble.
25842 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25843 (llrintl): Define using libm_alias_ldouble.
25844 (lrintl): Likewise.
25845 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25846 <libm-alias-ldouble.h>.
25847 (nearbyintl): Define using libm_alias_ldouble.
25848 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25849 (truncl): Define using libm_alias_ldouble.
25850 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25851 <libm-alias-ldouble.h>.
25852 (lrintl): Define using libm_alias_ldouble.
25853
2ce30701
JM
25854 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25855 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25856 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25857 (asinhl): Define using libm_alias_ldouble.
25858 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25859 (atanl): Define using libm_alias_ldouble.
25860 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25861 (cbrtl): Define using libm_alias_ldouble.
25862 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25863 (ceill): Define using libm_alias_ldouble.
25864 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25865 (copysignl): Define using libm_alias_ldouble.
25866 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25867 (fabsl): Define using libm_alias_ldouble.
25868 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25869 (floorl): Define using libm_alias_ldouble.
25870 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25871 (fmaxl): Define using libm_alias_ldouble.
25872 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25873 (fminl): Define using libm_alias_ldouble.
25874 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25875 (frexpl): Define using libm_alias_ldouble.
25876 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25877 (llrintl): Define using libm_alias_ldouble.
25878 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25879 (logbl): Define using libm_alias_ldouble.
25880 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25881 (lrintl): Define using libm_alias_ldouble.
25882 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25883 (nearbyintl): Define using libm_alias_ldouble.
25884 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25885 (nextafterl): Define using libm_alias_ldouble.
25886 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25887 (remquol): Define using libm_alias_ldouble.
25888 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25889 (rintl): Define using libm_alias_ldouble.
25890 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25891 (truncl): Define using libm_alias_ldouble.
25892 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25893 (fmaxl): Define using libm_alias_ldouble.
25894 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25895 (fminl): Define using libm_alias_ldouble.
25896
015c6dc2
JM
25897 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25898 to C syntax instead of availability and properties of types.
25899 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25900 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25901 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25902 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25903 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25904 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25905
ce003e5d
FW
259062017-11-17 Florian Weimer <fweimer@redhat.com>
25907
25908 support_become_root: Enable file creation in namespaces.
25909 * support/support_become_root.c (setup_mapping): New function.
25910 (support_become_root): Call it.
25911
e7df6c5c
JM
259122017-11-17 Joseph Myers <joseph@codesourcery.com>
25913
25914 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25915 macro.
25916
58a813bf
AZ
259172017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25918
25919 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25920 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25921
f97773d1
JM
259222017-11-16 Joseph Myers <joseph@codesourcery.com>
25923
6a6aa1f3
JM
25924 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25925
f97773d1
JM
25926 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25927 version to 4.14.
25928
a306c790
SP
259292017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25930
7b0fb870
SP
25931 * INSTALL: Fix botched up regeneration.
25932
25933 * NEWS: Update sourceare link to https.
a306c790
SP
25934 * configure.ac: Likewise.
25935 * crypt/md5test-giant.c: Likewise.
25936 * dlfcn/bug-atexit1.c: Likewise.
25937 * dlfcn/bug-atexit2.c: Likewise.
25938 * localedata/README: Likewise.
25939 * malloc/tst-mallocfork.c: Likewise.
25940 * manual/install.texi: Likewise.
25941 * nptl/tst-pthread-getattr.c: Likewise.
25942 * stdio-common/tst-fgets.c: Likewise.
25943 * stdio-common/tst-fwrite.c: Likewise.
25944 * sunrpc/Makefile: Likewise.
25945 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25946 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
25947 * configure: Regenerate.
25948 * INSTALL: Regenerate.
a306c790 25949
7532837d
MS
259502017-11-15 Martin Sebor <msebor@redhat.com>
25951
25952 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25953 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25954 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25955
495a56fd
LS
259562017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25957
d9611e30
LS
25958 [BZ #22145]
25959 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25960 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25961
a09dfc19
LS
25962 [BZ #22145]
25963 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25964 Defer is_pty check until end of the function.
25965 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25966
2fbce9c2
LS
25967 [BZ #22145]
25968 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25969 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25970 (ttyname): Likewise.
25971 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25972 (__ttyname_r): Likewise.
25973
d10d6cab
LS
25974 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25975 int to bool.
25976
9b5a8750
LS
25977 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25978
495a56fd
LS
25979 * manual/terminal.texi (Is It a Terminal):
25980 Mention ENODEV for ttyname and ttyname_r.
25981
fa680dc6
JM
259822017-11-15 Joseph Myers <joseph@codesourcery.com>
25983
78cde19f
JM
25984 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25985 constant and macro.
25986
fa680dc6
JM
25987 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25988 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25989 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25990 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25991 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25992 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25993
ad4f43a2
AZ
259942017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25995
1ba1d8a4
AZ
25996 * signal/sigrelse.c (sigrelse): Optimize implementation.
25997
ad4f43a2
AZ
25998 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25999 (__sigpause): Rely on __sigsuspend to implement single thread
26000 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26001
d0212d42
JM
260022017-11-15 Joseph Myers <joseph@codesourcery.com>
26003
26004 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26005 kernel version to 4.14.
26006
2180fee1
SE
260072017-11-15 Steve Ellcey <sellcey@cavium.com>
26008
26009 [BZ #22442]
26010 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26011 Check if ifname is too long.
26012
cad7ca39
LS
260132017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26014
26015 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26016
58c9f659
MF
260172017-11-15 Mike FABIAN <mfabian@redhat.com>
26018
26019 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26020 was accidentally lost.
26021
0fa87c01
MF
260222017-11-15 Mike FABIAN <mfabian@redhat.com>
26023
26024 * localedata/locales/az_IR: Add standard copyright header.
26025
34eb4157
FW
260262017-11-15 Florian Weimer <fweimer@redhat.com>
26027
26028 [BZ #22439]
26029 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26030 not just the top one. Output a new "subheaps" statistic.
26031
7a9368a1
FW
260322017-11-15 Florian Weimer <fweimer@redhat.com>
26033
26034 [BZ #22408]
26035 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26036 under the per-arena lock.
26037 * malloc/Makefile (tests): Add tst-malloc_info.
26038 (tst-malloc_info): Link with libpthread.
26039 * malloc/tst-malloc_info.c: New file.
26040
be3a79a3
JM
260412017-11-15 Joseph Myers <joseph@codesourcery.com>
26042
26043 [BZ #21660]
26044 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26045 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26046 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26047 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26048 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26049 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26050 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26051 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26052 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26053 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26054 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26055 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26056 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26057 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26058 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26059 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26060 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26061 (__floating_type): Likewise.
26062 (__real_integer_type): Likewise.
26063 (__complex_integer_type): Likewise.
26064 (__expr_is_real): Likewise.
26065 (__tgmath_real_type_sub): Likewise.
26066 (__tgmath_real_type): Likewise.
26067 (__tgmath_complex_type_sub): Likewise.
26068 (__tgmath_complex_type): Likewise.
26069 (__TGMATH_F128): Likewise.
26070 (__TGMATH_CF128): Likewise.
26071 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26072 new macros.
26073 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26075 Likewise.
26076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26077 Likewise.
26078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26082 Likewise.
26083 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26084 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26085 Likewise.
26086 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26087 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26088 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26089 Likewise.
26090 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26091 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26092 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26093 (cimag): Likewise.
26094 (creal): Likewise.
26095
ec72135e
JM
260962017-11-14 Joseph Myers <joseph@codesourcery.com>
26097
2e64ec9c
JM
26098 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26099 for stpncpy calls for GCC 8.
26100 (test_strncat): Disable -Wstringop-truncation warning for strncat
26101 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26102 strncat call for GCC 7.
26103 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26104 calls for GCC 8.
26105 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26106 trailing NUL.
26107
ec72135e
JM
26108 * string/bug-strncat1.c: Include <libc-diag.h>.
26109 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26110
363e4519 261112017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
26112
26113 [BZ #22387]
26114 * localedata/locales/aa_DJ: Improved readibility by replacing
26115 <Uxxxx> sequences in the ASCII printable range by their ASCII
26116 character equivalents.
26117 * localedata/locales/aa_ER: Likewise.
26118 * localedata/locales/aa_ER@saaho: Likewise.
26119 * localedata/locales/aa_ET: Likewise.
26120 * localedata/locales/af_ZA: Likewise.
26121 * localedata/locales/agr_PE: Likewise.
26122 * localedata/locales/ak_GH: Likewise.
26123 * localedata/locales/am_ET: Likewise.
26124 * localedata/locales/anp_IN: Likewise.
26125 * localedata/locales/ar_AE: Likewise.
26126 * localedata/locales/ar_BH: Likewise.
26127 * localedata/locales/ar_DZ: Likewise.
26128 * localedata/locales/ar_EG: Likewise.
26129 * localedata/locales/ar_IN: Likewise.
26130 * localedata/locales/ar_IQ: Likewise.
26131 * localedata/locales/ar_JO: Likewise.
26132 * localedata/locales/ar_KW: Likewise.
26133 * localedata/locales/ar_LB: Likewise.
26134 * localedata/locales/ar_LY: Likewise.
26135 * localedata/locales/ar_MA: Likewise.
26136 * localedata/locales/ar_OM: Likewise.
26137 * localedata/locales/ar_QA: Likewise.
26138 * localedata/locales/ar_SA: Likewise.
26139 * localedata/locales/ar_SD: Likewise.
26140 * localedata/locales/ar_SS: Likewise.
26141 * localedata/locales/ar_SY: Likewise.
26142 * localedata/locales/ar_TN: Likewise.
26143 * localedata/locales/ar_YE: Likewise.
26144 * localedata/locales/as_IN: Likewise.
26145 * localedata/locales/ast_ES: Likewise.
26146 * localedata/locales/ayc_PE: Likewise.
26147 * localedata/locales/az_AZ: Likewise.
26148 * localedata/locales/az_IR: Likewise.
26149 * localedata/locales/be_BY: Likewise.
26150 * localedata/locales/be_BY@latin: Likewise.
26151 * localedata/locales/bem_ZM: Likewise.
26152 * localedata/locales/ber_DZ: Likewise.
26153 * localedata/locales/ber_MA: Likewise.
26154 * localedata/locales/bg_BG: Likewise.
26155 * localedata/locales/bhb_IN: Likewise.
26156 * localedata/locales/bho_IN: Likewise.
26157 * localedata/locales/bi_VU: Likewise.
26158 * localedata/locales/bn_BD: Likewise.
26159 * localedata/locales/bn_IN: Likewise.
26160 * localedata/locales/bo_CN: Likewise.
26161 * localedata/locales/bo_IN: Likewise.
26162 * localedata/locales/br_FR: Likewise.
26163 * localedata/locales/brx_IN: Likewise.
26164 * localedata/locales/bs_BA: Likewise.
26165 * localedata/locales/byn_ER: Likewise.
26166 * localedata/locales/ca_AD: Likewise.
26167 * localedata/locales/ca_ES: Likewise.
26168 * localedata/locales/ca_FR: Likewise.
26169 * localedata/locales/ca_IT: Likewise.
26170 * localedata/locales/ce_RU: Likewise.
26171 * localedata/locales/chr_US: Likewise.
26172 * localedata/locales/cmn_TW: Likewise.
26173 * localedata/locales/crh_UA: Likewise.
26174 * localedata/locales/cs_CZ: Likewise.
26175 * localedata/locales/csb_PL: Likewise.
26176 * localedata/locales/cv_RU: Likewise.
26177 * localedata/locales/cy_GB: Likewise.
26178 * localedata/locales/da_DK: Likewise.
26179 * localedata/locales/de_AT: Likewise.
26180 * localedata/locales/de_BE: Likewise.
26181 * localedata/locales/de_CH: Likewise.
26182 * localedata/locales/de_DE: Likewise.
26183 * localedata/locales/de_IT: Likewise.
26184 * localedata/locales/de_LI: Likewise.
26185 * localedata/locales/de_LU: Likewise.
26186 * localedata/locales/doi_IN: Likewise.
26187 * localedata/locales/dv_MV: Likewise.
26188 * localedata/locales/dz_BT: Likewise.
26189 * localedata/locales/el_CY: Likewise.
26190 * localedata/locales/el_GR: Likewise.
26191 * localedata/locales/en_AG: Likewise.
26192 * localedata/locales/en_AU: Likewise.
26193 * localedata/locales/en_BW: Likewise.
26194 * localedata/locales/en_CA: Likewise.
26195 * localedata/locales/en_DK: Likewise.
26196 * localedata/locales/en_GB: Likewise.
26197 * localedata/locales/en_HK: Likewise.
26198 * localedata/locales/en_IE: Likewise.
26199 * localedata/locales/en_IL: Likewise.
26200 * localedata/locales/en_IN: Likewise.
26201 * localedata/locales/en_NG: Likewise.
26202 * localedata/locales/en_NZ: Likewise.
26203 * localedata/locales/en_PH: Likewise.
26204 * localedata/locales/en_SG: Likewise.
26205 * localedata/locales/en_US: Likewise.
26206 * localedata/locales/en_ZA: Likewise.
26207 * localedata/locales/en_ZM: Likewise.
26208 * localedata/locales/en_ZW: Likewise.
26209 * localedata/locales/eo: Likewise.
26210 * localedata/locales/es_AR: Likewise.
26211 * localedata/locales/es_BO: Likewise.
26212 * localedata/locales/es_CL: Likewise.
26213 * localedata/locales/es_CO: Likewise.
26214 * localedata/locales/es_CR: Likewise.
26215 * localedata/locales/es_CU: Likewise.
26216 * localedata/locales/es_DO: Likewise.
26217 * localedata/locales/es_EC: Likewise.
26218 * localedata/locales/es_ES: Likewise.
26219 * localedata/locales/es_GT: Likewise.
26220 * localedata/locales/es_HN: Likewise.
26221 * localedata/locales/es_MX: Likewise.
26222 * localedata/locales/es_NI: Likewise.
26223 * localedata/locales/es_PA: Likewise.
26224 * localedata/locales/es_PE: Likewise.
26225 * localedata/locales/es_PR: Likewise.
26226 * localedata/locales/es_PY: Likewise.
26227 * localedata/locales/es_SV: Likewise.
26228 * localedata/locales/es_US: Likewise.
26229 * localedata/locales/es_UY: Likewise.
26230 * localedata/locales/es_VE: Likewise.
26231 * localedata/locales/et_EE: Likewise.
26232 * localedata/locales/eu_ES: Likewise.
26233 * localedata/locales/eu_ES@euro: Likewise.
26234 * localedata/locales/fa_IR: Likewise.
26235 * localedata/locales/ff_SN: Likewise.
26236 * localedata/locales/fi_FI: Likewise.
26237 * localedata/locales/fil_PH: Likewise.
26238 * localedata/locales/fo_FO: Likewise.
26239 * localedata/locales/fr_BE: Likewise.
26240 * localedata/locales/fr_CA: Likewise.
26241 * localedata/locales/fr_CH: Likewise.
26242 * localedata/locales/fr_FR: Likewise.
26243 * localedata/locales/fr_LU: Likewise.
26244 * localedata/locales/fur_IT: Likewise.
26245 * localedata/locales/fy_DE: Likewise.
26246 * localedata/locales/fy_NL: Likewise.
26247 * localedata/locales/ga_IE: Likewise.
26248 * localedata/locales/gd_GB: Likewise.
26249 * localedata/locales/gez_ER: Likewise.
26250 * localedata/locales/gez_ET: Likewise.
26251 * localedata/locales/gl_ES: Likewise.
26252 * localedata/locales/gu_IN: Likewise.
26253 * localedata/locales/gv_GB: Likewise.
26254 * localedata/locales/ha_NG: Likewise.
26255 * localedata/locales/hak_TW: Likewise.
26256 * localedata/locales/he_IL: Likewise.
26257 * localedata/locales/hi_IN: Likewise.
26258 * localedata/locales/hif_FJ: Likewise.
26259 * localedata/locales/hne_IN: Likewise.
26260 * localedata/locales/hr_HR: Likewise.
26261 * localedata/locales/hsb_DE: Likewise.
26262 * localedata/locales/ht_HT: Likewise.
26263 * localedata/locales/hu_HU: Likewise.
26264 * localedata/locales/hy_AM: Likewise.
26265 * localedata/locales/i18n: Likewise.
26266 * localedata/locales/ia_FR: Likewise.
26267 * localedata/locales/id_ID: Likewise.
26268 * localedata/locales/ig_NG: Likewise.
26269 * localedata/locales/ik_CA: Likewise.
26270 * localedata/locales/is_IS: Likewise.
26271 * localedata/locales/it_CH: Likewise.
26272 * localedata/locales/it_IT: Likewise.
26273 * localedata/locales/iu_CA: Likewise.
26274 * localedata/locales/ja_JP: Likewise.
26275 * localedata/locales/ka_GE: Likewise.
26276 * localedata/locales/kk_KZ: Likewise.
26277 * localedata/locales/kl_GL: Likewise.
26278 * localedata/locales/kn_IN: Likewise.
26279 * localedata/locales/ko_KR: Likewise.
26280 * localedata/locales/kok_IN: Likewise.
26281 * localedata/locales/ks_IN: Likewise.
26282 * localedata/locales/ks_IN@devanagari: Likewise.
26283 * localedata/locales/ku_TR: Likewise.
26284 * localedata/locales/kw_GB: Likewise.
26285 * localedata/locales/ky_KG: Likewise.
26286 * localedata/locales/lb_LU: Likewise.
26287 * localedata/locales/lg_UG: Likewise.
26288 * localedata/locales/li_BE: Likewise.
26289 * localedata/locales/li_NL: Likewise.
26290 * localedata/locales/lij_IT: Likewise.
26291 * localedata/locales/ln_CD: Likewise.
26292 * localedata/locales/lo_LA: Likewise.
26293 * localedata/locales/lt_LT: Likewise.
26294 * localedata/locales/lv_LV: Likewise.
26295 * localedata/locales/lzh_TW: Likewise.
26296 * localedata/locales/mag_IN: Likewise.
26297 * localedata/locales/mai_IN: Likewise.
26298 * localedata/locales/mg_MG: Likewise.
26299 * localedata/locales/mhr_RU: Likewise.
26300 * localedata/locales/mi_NZ: Likewise.
26301 * localedata/locales/mk_MK: Likewise.
26302 * localedata/locales/ml_IN: Likewise.
26303 * localedata/locales/mn_MN: Likewise.
26304 * localedata/locales/mni_IN: Likewise.
26305 * localedata/locales/mr_IN: Likewise.
26306 * localedata/locales/ms_MY: Likewise.
26307 * localedata/locales/mt_MT: Likewise.
26308 * localedata/locales/my_MM: Likewise.
26309 * localedata/locales/nan_TW: Likewise.
26310 * localedata/locales/nan_TW@latin: Likewise.
26311 * localedata/locales/nb_NO: Likewise.
26312 * localedata/locales/nds_DE: Likewise.
26313 * localedata/locales/nds_NL: Likewise.
26314 * localedata/locales/ne_NP: Likewise.
26315 * localedata/locales/nhn_MX: Likewise.
26316 * localedata/locales/niu_NU: Likewise.
26317 * localedata/locales/niu_NZ: Likewise.
26318 * localedata/locales/nl_AW: Likewise.
26319 * localedata/locales/nl_BE: Likewise.
26320 * localedata/locales/nl_NL: Likewise.
26321 * localedata/locales/nn_NO: Likewise.
26322 * localedata/locales/nr_ZA: Likewise.
26323 * localedata/locales/nso_ZA: Likewise.
26324 * localedata/locales/oc_FR: Likewise.
26325 * localedata/locales/om_ET: Likewise.
26326 * localedata/locales/om_KE: Likewise.
26327 * localedata/locales/or_IN: Likewise.
26328 * localedata/locales/os_RU: Likewise.
26329 * localedata/locales/pa_IN: Likewise.
26330 * localedata/locales/pa_PK: Likewise.
26331 * localedata/locales/pap_AW: Likewise.
26332 * localedata/locales/pap_CW: Likewise.
26333 * localedata/locales/pl_PL: Likewise.
26334 * localedata/locales/ps_AF: Likewise.
26335 * localedata/locales/pt_BR: Likewise.
26336 * localedata/locales/pt_PT: Likewise.
26337 * localedata/locales/quz_PE: Likewise.
26338 * localedata/locales/raj_IN: Likewise.
26339 * localedata/locales/ro_RO: Likewise.
26340 * localedata/locales/ru_RU: Likewise.
26341 * localedata/locales/ru_UA: Likewise.
26342 * localedata/locales/rw_RW: Likewise.
26343 * localedata/locales/sa_IN: Likewise.
26344 * localedata/locales/sat_IN: Likewise.
26345 * localedata/locales/sc_IT: Likewise.
26346 * localedata/locales/sd_IN: Likewise.
26347 * localedata/locales/sd_IN@devanagari: Likewise.
26348 * localedata/locales/se_NO: Likewise.
26349 * localedata/locales/sgs_LT: Likewise.
26350 * localedata/locales/shs_CA: Likewise.
26351 * localedata/locales/si_LK: Likewise.
26352 * localedata/locales/sid_ET: Likewise.
26353 * localedata/locales/sk_SK: Likewise.
26354 * localedata/locales/sl_SI: Likewise.
26355 * localedata/locales/sm_WS: Likewise.
26356 * localedata/locales/so_DJ: Likewise.
26357 * localedata/locales/so_ET: Likewise.
26358 * localedata/locales/so_KE: Likewise.
26359 * localedata/locales/so_SO: Likewise.
26360 * localedata/locales/sq_AL: Likewise.
26361 * localedata/locales/sq_MK: Likewise.
26362 * localedata/locales/sr_ME: Likewise.
26363 * localedata/locales/sr_RS: Likewise.
26364 * localedata/locales/sr_RS@latin: Likewise.
26365 * localedata/locales/ss_ZA: Likewise.
26366 * localedata/locales/st_ZA: Likewise.
26367 * localedata/locales/sv_FI: Likewise.
26368 * localedata/locales/sv_SE: Likewise.
26369 * localedata/locales/sw_KE: Likewise.
26370 * localedata/locales/sw_TZ: Likewise.
26371 * localedata/locales/szl_PL: Likewise.
26372 * localedata/locales/ta_IN: Likewise.
26373 * localedata/locales/ta_LK: Likewise.
26374 * localedata/locales/tcy_IN: Likewise.
26375 * localedata/locales/te_IN: Likewise.
26376 * localedata/locales/tg_TJ: Likewise.
26377 * localedata/locales/th_TH: Likewise.
26378 * localedata/locales/the_NP: Likewise.
26379 * localedata/locales/ti_ER: Likewise.
26380 * localedata/locales/ti_ET: Likewise.
26381 * localedata/locales/tig_ER: Likewise.
26382 * localedata/locales/tk_TM: Likewise.
26383 * localedata/locales/tl_PH: Likewise.
26384 * localedata/locales/tn_ZA: Likewise.
26385 * localedata/locales/to_TO: Likewise.
26386 * localedata/locales/tpi_PG: Likewise.
26387 * localedata/locales/tr_CY: Likewise.
26388 * localedata/locales/tr_TR: Likewise.
26389 * localedata/locales/ts_ZA: Likewise.
26390 * localedata/locales/tt_RU: Likewise.
26391 * localedata/locales/tt_RU@iqtelif: Likewise.
26392 * localedata/locales/ug_CN: Likewise.
26393 * localedata/locales/uk_UA: Likewise.
26394 * localedata/locales/unm_US: Likewise.
26395 * localedata/locales/ur_IN: Likewise.
26396 * localedata/locales/ur_PK: Likewise.
26397 * localedata/locales/uz_UZ: Likewise.
26398 * localedata/locales/uz_UZ@cyrillic: Likewise.
26399 * localedata/locales/ve_ZA: Likewise.
26400 * localedata/locales/vi_VN: Likewise.
26401 * localedata/locales/wa_BE: Likewise.
26402 * localedata/locales/wae_CH: Likewise.
26403 * localedata/locales/wal_ET: Likewise.
26404 * localedata/locales/wo_SN: Likewise.
26405 * localedata/locales/xh_ZA: Likewise.
26406 * localedata/locales/yi_US: Likewise.
26407 * localedata/locales/yo_NG: Likewise.
26408 * localedata/locales/yue_HK: Likewise.
26409 * localedata/locales/yuw_PG: Likewise.
26410 * localedata/locales/zh_CN: Likewise.
26411 * localedata/locales/zh_HK: Likewise.
26412 * localedata/locales/zh_SG: Likewise.
26413 * localedata/locales/zh_TW: Likewise.
26414 * localedata/locales/zu_ZA: Likewise.
26415
cae87e64
FW
264162017-11-13 Florian Weimer <fweimer@redhat.com>
26417
26418 * support/next_to_fault.h, support/next_to_fault.c: New files.
26419 * support/Makefile (libsupport-routines): Add next_to_fault.
26420 * resolv/tst-inet_pton.c (struct next_to_fault)
26421 (next_to_fault_allocate, next_to_fault_free): Remove.
26422 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26423
4a306ef1
L
264242017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26425
26426 * elf/dl-support.c: Include <dl-procruntime.c>.
26427 * include/link.h: Include <link_map.h>.
26428 * sysdeps/generic/dl-procruntime.c: New file.
26429 * sysdeps/generic/link_map.h: Likewise.
26430 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26431 the writable ld.so namespace.
26432
e69897bf
PE
264332017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26434
26435 timezone: pacify GCC -Wstringop-truncation
26436 Problem reported by Martin Sebor in:
26437 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26438 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26439
1ffe1ccb
FW
264402017-11-12 Florian Weimer <fweimer@redhat.com>
26441
eceed671
FW
26442 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26443 tst-xreadlink.
26444 (tests): Add tst-xreadlink.
1ffe1ccb
FW
26445 * support/support.h (xstrndup): Declare.
26446 * support/xunistd.h (xunlink, xreadlink): Declare.
26447 * support/temp_file.h (support_create_temp_directory): Declare.
26448 * support/temp_file.c (support_create_temp_directory): New function.
26449 * support/support_chroot.c (support_chroot_create): Use it.
26450 * support/xreadlink.c: New file.
26451 * support/xstrndup.c: Likewise.
26452 * support/xunlink.c: Likewise.
26453 * support/tst-xreadlink.c: Likewise.
26454
456b40a9
JDA
264552017-11-11 John David Anglin <danglin@gcc.gnu.org>
26456
26457 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26458
c0a25aa9
FW
264592017-11-11 Florian Weimer <fweimer@redhat.com>
26460
26461 [BZ #22409]
26462 [BZ #22412]
26463 * resolv/res_comp.c (printable_string, binary_hnok)
26464 (binary_leading_dash): New functions.
26465 (res_hnok): Reimplement using these functions and ns_name_pton.
26466 (res_ownok): Likewise.
26467 (res_mailok): Reimplement using printable_string, ns_name_pton and
26468 binary_hnok.
26469 (res_dnok): Reimplement using printable_string and ns_name_pton.
26470 * resolv/tst-res_hnok.c (tests): Add additional tests.
26471 (LETTERDIGITS, PRINTABLE): Define.
26472 (do_test): Adjust one_char results.
26473
9e0ad304
FW
264742017-11-11 Florian Weimer <fweimer@redhat.com>
26475
26476 [BZ #22413]
26477 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26478 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26479
e2a9fca8
FW
264802017-11-11 Florian Weimer <fweimer@redhat.com>
26481
26482 * resolv/tst-ns_name_pton.c: New file.
26483 * resolv/Makefile (tests): Add tst-ns_name_pton.
26484 (tst-ns_name_pton): Link against libresolv.
26485
5c1a6923
FW
264862017-11-11 Florian Weimer <fweimer@redhat.com>
26487
26488 * resolv/tst-res_hnok.c: New file.
26489 * resolv/Makefile (tests): Add tst-res_hnok.
26490 (tst-res_hnok): Link against libresolv.
26491
a19c0a1d
FW
264922017-11-11 Florian Weimer <fweimer@redhat.com>
26493
26494 * resolv/tst-resolv-network.c: Use test framework instead explicit
26495 main function.
26496
8cb5295d
L
264972017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26498
26499 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26500 <jmp_buf-macros.h>.
26501 [!_ISOMAC] (STR_HELPER): New.
26502 [!_ISOMAC] (STR): Likewise.
26503 [!_ISOMAC] (TEST_SIZE): Likewise.
26504 [!_ISOMAC] (TEST_ALIGN): Likewise.
26505 [!_ISOMAC] (TEST_OFFSET): Likewise.
26506 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26507 field offsets of jmp_buf as well as sigjmp_buf.
26508 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26509 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26510 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26511 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26512 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26513 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26514 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26515 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26516 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26517 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26518 Likewise.
26519 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26520 Likewise.
26521 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26523 Likewise.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26525 Likewise.
26526 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26527 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26528 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26529 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26530 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26532 Likewise.
26533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26534 Likewise.
26535 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26536 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26537 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26538
58c4a161
JM
265392017-11-07 Joseph Myers <joseph@codesourcery.com>
26540
3683b423
JM
26541 * include/float.h
26542 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26543 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26544 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26545 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26547 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26549 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26551 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26553 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26555 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26557 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26559 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26560 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26561 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26562 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26563 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26565 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26567 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26569 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26571 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26573 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26575 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26577 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26579 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26581 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26583 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26585 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26587 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26589 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26591 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26593 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26595 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26597 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26599 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26601 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26603 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26605 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26607 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26609 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26611 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26613 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26615 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26617 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26619 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26621 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26623 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26625 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26627 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26629 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26630
58c4a161
JM
26631 * stdlib/tst-strtod.h (F16): New macro.
26632 (F32): Likewise.
26633 (F64): Likewise.
26634 (F32X): Likewise.
26635 (F64X): Likewise.
26636 (F128X): Likewise.
26637 (IF_FLOAT16): Likewise.
26638 (IF_FLOAT32): Likewise.
26639 (IF_FLOAT64): Likewise.
26640 (IF_FLOAT32X): Likewise.
26641 (IF_FLOAT64X): Likewise.
26642 (IF_FLOAT128X): Likewise.
26643 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26644 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26645 (STRTOD_TEST_FOREACH): Likewise.
26646 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26647 (CHOOSE_f64): Likewise.
26648 (CHOOSE_f32x): Likewise.
26649 (CHOOSE_f64x): Likewise.
26650
feda96a1
AS
266512017-11-07 Andreas Schwab <schwab@suse.de>
26652
26653 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26654
1bd0cbb8
MF
266552017-11-07 Mike FABIAN <mfabian@redhat.com>
26656
26657 [BZ #22403]
26658 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26659 to be escaped.
26660 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26661 to be escaped.
26662
363e4519 266632017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
26664
26665 [BZ #22403]
26666 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26667 to be escaped.
26668 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26669 to be escaped.
26670 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26671 to be escaped.
26672
dff91cd4
AZ
266732017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26674
06be6368
AZ
26675 [BZ #22298]
26676 * nptl/allocatestack.c (allocate_stack): Check if
26677 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26678 __PTHREAD_MUTEX_HAVE_PREV is defined.
26679 * nptl/descr.h (pthread): Likewise.
26680 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26681 Likewise.
26682 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26683 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26684 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26685 * sysdeps/nptl/bits/thread-shared-types.h
26686 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26687 defines.
26688 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26689 of __WORDSIZE for internal layout.
26690 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26691 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26692 instead of __WORDSIZE whether to use an union for __spins and __list
26693 fields.
26694 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26695 case.
26696 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26697 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26698 defines.
26699 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26700 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26701 Likewise.
26702 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26703 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26704 Likewise.
26705 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26706 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26707 Likewise.
26708 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26709 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26710 Likewise.
26711 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26712 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26713 Likewise.
26714 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26715 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26716 Likewise.
26717 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26718 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26719 Likewise.
26720 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26721 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26722 Likewise.
26723 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26724 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26725 Likewise.
26726 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26727 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26728 Likewise.
26729 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26730 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26731 Likewise.
26732 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26733 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26734 Likewise.
26735 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26736 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26737 Likewise.
26738 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26739 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26740 Likewise.
26741
72b3c6ee
AZ
26742 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26743 New macros.
26744 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26745 checks for expected input type size.
26746 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26747 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26748 Likewise.
26749 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26750 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26751 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26752 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26753 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26754 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26755 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26756 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26757 superflous runtime assert check.
26758 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26759 Likewise.
26760 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26761 Likewise.
26762 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26763 Likewise.
26764 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26765 Likewise.
26766 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26767 Likewise.
26768 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26769 Likewise.
26770 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26771 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26772 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26773 Likewise.
26774 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26775 Likewise.
26776 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26777 Likewise.
26778 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26779 Likewise.
26780 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26781 Likewise.
26782 * nptl/pthread_attr_setinheritsched.c
26783 (__pthread_attr_setinheritsched): Likewise.
26784 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26785 Likewise.
26786 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26787 Likewise.
26788 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26789 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26790 __old_pthread_attr_setstack): Likewise.
26791 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26792 Likewise.
26793 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26794 Likewise.
26795 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26796 Likewise.
26797 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26798 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26799 Likewise.
26800 * nptl/tst-typesizes.c: Remove file.
26801
dff91cd4
AZ
26802 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26803 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26804 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26805 checks for internal pthread_mutex_t offsets.
26806 * sysdeps/aarch64/nptl/pthread-offsets.h
26807 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26808 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26809 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26810 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26811 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26812 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26813 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26814 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26815 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26816 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26817 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26818 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26819 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26820 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26821 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26822 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26823 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26824 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26825
b7fc95f8
FW
268262017-11-07 Florian Weimer <fweimer@redhat.com>
26827
26828 * bits/mman-linux.h: Move ...
26829 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26830 comment.
26831 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26832 outdated comment.
26833
6b860364
RS
268342017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26835
26836 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26837 Redefine STRNLEN as __strnlen_power8.
26838
802c1f16
AZ
268392017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26840
d83da3a4
AZ
26841 * signal/sighold.c (sighold): Optimize implementation.
26842
6a4235f1
AZ
26843 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26844 __NR_rt_sigqueueinfo.
26845
8b0e795a
AZ
26846 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26847 __sigtimedwait.
26848 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26849 assume __NR_rt_sigtimedwait.
26850 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26851 and add LIBC_CANCEL_HANDLED for cancellation marking.
26852 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26853
a1a638dd
AZ
26854 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26855 (sysdeps_routines): Add memchr_noneon.
26856 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26857 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26858 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26859 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26860 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26861 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26862 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26863
802c1f16
AZ
26864 * sysdeps/arm/arm-ifunc.h: New file.
26865 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26866 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26867 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26868 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26869 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26870 (__memcpy_neon): Avoid create hidden alias.
26871 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26872 (__memcpy_vfp): Likewise.
26873 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26874 (sysdep_routines): Add memcpy_arm.
26875 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26876
abcb584d
L
268772017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26878
26879 [BZ #22362]
26880 * Makerules (make-link-multidir): New.
26881 * config.make.in (multidir): New.
26882 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26883 * configure: Regenerated.
26884 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26885 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26886 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26887 New target.
26888
4e2dff67
JM
268892017-11-06 Joseph Myers <joseph@codesourcery.com>
26890
26891 [BZ #22402]
26892 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26893 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26894
a1c7cd3c
MF
268952017-11-04 Mike FABIAN <mfabian@redhat.com>
26896
26897 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26898 to be escaped.
26899
b9af29c0
FW
269002017-11-04 Florian Weimer <fweimer@redhat.com>
26901
26902 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26903
4ca70e1a
JM
269042017-11-03 Joseph Myers <joseph@codesourcery.com>
26905
26906 * math/math.h [__HAVE_DISTINCT_FLOAT16
26907 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26908 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26909 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26910 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26911 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26912 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26913 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26914 (__MATH_TG_F32): New macro.
26915 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26916 (__MATH_TG_F64X): Likewise.
26917 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26918 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26919
ba0e6668
DL
269202017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26921
26922 * po/de.po: Update translations.
26923 * po/ru.po: Likewise.
26924
bc18a6d3
FW
269252017-11-03 Florian Weimer <fweimer@redhat.com>
26926
26927 * manual/filesys.texi (Hard Links): Document linkat.
26928
97255170
JM
269292017-11-03 Joseph Myers <joseph@codesourcery.com>
26930
86ec4865
JM
26931 * math/tgmath.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 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26936 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26937 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26938 the same as _Float128.
26939 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26940 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26941 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26942
97255170
JM
26943 * stdlib/stdlib.h
26944 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26945 Declare.
26946 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26947 Likewise.
26948 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26949 Likewise.
26950 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26951 (strtof32x): Likewise.
26952 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26953 (strtof64x): Likewise.
26954 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26955 (strtof128x): Likewise.
26956 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26957 (strfromf16): Likewise.
26958 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26959 (strfromf32): Likewise.
26960 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26961 (strfromf64): Likewise.
26962 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26963 (strfromf32x): Likewise.
26964 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26965 (strfromf64x): Likewise.
26966 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26967 (strfromf128x): Likewise.
26968 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26969 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26970 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26971 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26972 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26973 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26974
6d58ce5e
RH
269752017-11-03 Richard Henderson <rth@twiddle.net>
26976
26977 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26978
659ca267
SN
269792017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26980
26981 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26982
94d2f0af
SN
269832017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26984
26985 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26986 DT_TLSDESC_GOT initialization.
26987 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26988 (_dl_tlsdesc_resolve_hold): Likewise.
26989 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26990 (_dl_tlsdesc_resolve_hold): Likewise.
26991 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26992 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26993
28e1ddf3
SN
269942017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26995
26996 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26997
0ca3d1d6
SN
269982017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26999
27000 [BZ #18572]
27001 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27002 non-lazily for R_ARM_TLS_DESC.
27003
2c1d4e5f
SN
270042017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27005
27006 [BZ #17078]
27007 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27008 R_ARM_TLS_DESC case.
27009 (elf_machine_lazy_rel): Remove the prelink check.
27010
91c5a366
SN
270112017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27012
27013 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27014 DT_TLSDESC_GOT initialization.
27015 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27016 (_dl_tlsdesc_resolve_rela): Likewise.
27017 (_dl_tlsdesc_resolve_hold): Likewise.
27018 (_dl_tlsdesc_undefweak): Remove ldar.
27019 (_dl_tlsdesc_dynamic): Likewise.
27020 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27021 (_dl_tlsdesc_resolve_rela): Likewise.
27022 (_dl_tlsdesc_resolve_hold): Likewise.
27023 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27024 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27025 (_dl_tlsdesc_resolve_rela): Likewise.
27026 (_dl_tlsdesc_resolve_hold): Likewise.
27027
b7cf203b
SN
270282017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27029
27030 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27031 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27032
0cc5b022
SN
270332017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27034
27035 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27036 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27037
43ddff2e
JM
270382017-11-02 Joseph Myers <joseph@codesourcery.com>
27039
27040 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27041 Declare.
27042 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27043 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27044 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27045 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27046 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27047 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27048 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27049 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27050 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27051 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27052 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27053
5baac970
MF
270542017-11-02 Mike FABIAN <mfabian@redhat.com>
27055
27056 [BZ #22382]
27057 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27058 * localedata/locales/tpi_PG: Add standard header.
27059
ef11081f
FW
270602017-11-02 Florian Weimer <fweimer@redhat.com>
27061
27062 test-errno-linux: quotactl can fail with EPERM in containers.
27063 * sysdeps/unix/sysv/linux/test-errno-linux.c
27064 (LIST, LIST_FORWARD): New macros.
27065 (check_error_in_list): New function.
27066 (test_wrp_rv): Accept list of permitted error codes.
27067 (test_wrp_rv2): Remove.
27068 (test_wrp): Call test_wrp_rv with list of error codes.
27069 (test_wrp2): Accept list of error codes.
27070 (do_test): Adjust. Allow EPERM for quotactl.
27071
d10b132b
FW
270722017-11-02 Florian Weimer <fweimer@redhat.com>
27073
27074 * stdio-common/bug16.c (do_test): Use array_length.
27075 * stdio-common/errlist.c (_sys_nerr): Likewise.
27076 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27077 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27078 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27079 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27080 (do_test): Use array_length.
27081 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27082 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27083 * stdio-common/tst-printf-round.c (do_test): Likewise.
27084 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27085 (CHECK): Use array_length.
27086 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27087 * stdio-common/tstscanf.c (main): Likewise.
27088 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27089
c94a5688
FW
270902017-11-02 Florian Weimer <fweimer@redhat.com>
27091
27092 Add array_length and array_end macros.
27093 * include/array_length.h: New file.
27094
2fac6a6c
FW
270952017-11-02 Florian Weimer <fweimer@redhat.com>
27096
27097 [BZ #22332]
27098 * posix/tst-glob-tilde.c (do_noescape): New variable.
27099 (one_test): Process it.
27100 (do_test): Set do_noescape. Add unescaping test case.
27101
2f1b212e
JM
271022017-11-01 Joseph Myers <joseph@codesourcery.com>
27103
260fbd0a
JM
27104 * math/complex.h
27105 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27106 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27107 with appropriate macros defined and undefined.
27108 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27109 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27110 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27111 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27112 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27113 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27114 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27115 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27116 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27117 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27118
2f1b212e
JM
27119 * math/complex.h
27120 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27121 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27122 that for long double. Do not condition define and undefine of
27123 _Mdouble_complex_ on [__CFLOAT128].
27124
95b93c6e
L
271252017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27126
27127 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27128 of <sysdeps/generic/sysdep.h>.
27129 (ALIGNARG): Removed.
27130 (ASM_SIZE_DIRECTIVE): Likewise.
27131 (ENTRY): Likewise.
27132 (END): Likewise.
27133 (ENTRY_CHK): Likewise.
27134 (END_CHK): Likewise.
27135 (syscall_error): Likewise.
27136 (mcount): Likewise.
27137 (PSEUDO_END): Likewise.
27138 (L): Likewise.
27139 (atom_text_section): Likewise.
27140 * sysdeps/x86/sysdep.h: New file.
27141 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27142 of <sysdeps/generic/sysdep.h>.
27143 (ALIGNARG): Removed.
27144 (ASM_SIZE_DIRECTIVE): Likewise.
27145 (ENTRY): Likewise.
27146 (END): Likewise.
27147 (ENTRY_CHK): Likewise.
27148 (END_CHK): Likewise.
27149 (syscall_error): Likewise.
27150 (mcount): Likewise.
27151 (PSEUDO_END): Likewise.
27152 (L): Likewise.
27153 (atom_text_section): Likewise.
27154
1bb36539
RL
271552017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27156
27157 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27158 category of LC_CTYPE set to "i18n:2012".
27159 * localedata/locales/i18n_ctype: Regenerate.
27160
067f5d97 271612017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 27162
87bbc4cf
YN
27163 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27164 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27165 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27166 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27167
e8681faa
YN
27168 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27169 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27170 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27171 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27172
540af6e2
JM
271732017-10-31 Joseph Myers <joseph@codesourcery.com>
27174
43e66283
JM
27175 * math/complex.h
27176 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27177 New macro.
27178 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27179 Likewise.
27180 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27181 Likewise.
27182 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27183 (CMPLXF32X): Likewise.
27184 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27185 (CMPLXF64X): Likewise.
27186 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27187 (CMPLXF128X): Likewise.
27188
540af6e2
JM
27189 * math/math.h
27190 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27191 (__MATH_EVAL_FMT2): Define to add 0.0f.
27192
58af72b4
AM
271932017-10-31 Alan Modra <amodra@gmail.com>
27194
27195 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27196 include sysdep.h.
27197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27211 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27212 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27213 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27214 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27215 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27222 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27224 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27225 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27226 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27227 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27228 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27229 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27230 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27231 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27232 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27233 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27234 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27236 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27237 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27238 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27239 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27240 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27241 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27242 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27243 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27244 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27245 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27246 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27247 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27248 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27249 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27250 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27251 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27252 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27254 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27255 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27257 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27258 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27259 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27260 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27261 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27262 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27263 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27265 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27266
27267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27268 include sysdep.h and math_ldbl_opt.h.
27269
27270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27271 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27296
112f30b3
AM
272972017-10-31 Alan Modra <amodra@gmail.com>
27298
27299 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27300 string/strncase_l.c, not string/strncase.c.
27301 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27302 (libc_hidden_def): Redefine.
27303
e9e7eced
AM
273042017-10-31 Alan Modra <amodra@gmail.com>
27305
27306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27307 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27308 (__strcasecmp): Don't define.
27309
f7b465cf
AM
273102017-10-31 Alan Modra <amodra@gmail.com>
27311
27312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27313 IS_IN (libc).
27314 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27317
d46b09f9
AM
273182017-10-31 Alan Modra <amodra@gmail.com>
27319
27320 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27321 USE_AS_STPNCPY.
27322
e9b8e194
AM
273232017-10-31 Alan Modra <amodra@gmail.com>
27324
27325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27326 Redefine only when SHARED.
27327
eda162dd
JM
273282017-10-30 Joseph Myers <joseph@codesourcery.com>
27329
b61afe8c
JM
27330 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27331 Include <bits/math-finite.h> with appropriate macros defined and
27332 undefined.
27333 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27334 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27335 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27336 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27337 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27338
eda162dd
JM
27339 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27340 [!_Mlong_double_] (_Mlong_double_): Likewise.
27341 [!_Mfloat16_] (_Mfloat16_): Likewise.
27342 [!_Mfloat32_] (_Mfloat32_): Likewise.
27343 [!_Mfloat64_] (_Mfloat64_): Likewise.
27344 [!_Mfloat128_] (_Mfloat128_): Likewise.
27345 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27346 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27347 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27348 (_Mdouble_): Define without indirection through those macros.
27349 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27350 [!_Mfloat128_] (_Mfloat128_): Likewise.
27351 [_Mlong_double_] (_Mlong_double_): Likewise.
27352 (_Mdouble_): Define without indirection through those macros.
27353 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27354 not add -D_Mlong_double_=double.
27355 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27356 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27357
4ad5106e
L
273582017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27359
27360 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27361
fe326df7
L
273622017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27363
27364 * sysdeps/x86/libc-start.c: Reformat.
27365
c5cc4514
L
273662017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27367
27368 [BZ #22353]
27369 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27370 (1): Renamed to ...
27371 (L(Src0)): This.
27372 (L(Src1)): New.
27373 (L(Src2)): Likewise.
27374 (L(1)): Renamed to ...
27375 (L(Src3)): This.
27376
ce12269f
JM
273772017-10-30 Joseph Myers <joseph@codesourcery.com>
27378
27379 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27380 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27381 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27382 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27383 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27384 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27385 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27386 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27387 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27388 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27389 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27390 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27391 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27392 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27393 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27394 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27395 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27396 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27397 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27398 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27399 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27400 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27401 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27402 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27403 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27404 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27405 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27406 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27407 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27408 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27409 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27410 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27411 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27412 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27413 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27414 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27415 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27416 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27417 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27418 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27419 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27420 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27421 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27422 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27423 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27424 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27425 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27426 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27427 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27428 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27429 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27430 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27431 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27432 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27433 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27434 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27435 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27436 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27437 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27438 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27439 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27440 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27441 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27442 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27443 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27444 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27445
4484b9e2
FW
274462017-10-30 Florian Weimer <fweimer@redhat.com>
27447
27448 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27449 always defined.
27450 * io/tst-mkdirat.c (do_test): Likewise.
27451 * io/tst-mkfifoat.c (do_test): Likewise.
27452 * io/tst-mknodat.c (do_test): Likewise.
27453 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27454 * locale/programs/locale.c (select_dirs): Likewise.
27455 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27456 * posix/bug-glob2.c (my_readdir): Likewise.
27457 * posix/tst-dir.c (main): Likewise.
27458 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27459 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27460
68fe16dd
FW
274612017-10-30 Florian Weimer <fweimer@redhat.com>
27462
27463 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27464 just __USE_GNU.
27465
dadf23f0
FW
274662017-10-30 Florian Weimer <fweimer@redhat.com>
27467
27468 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27469 Convert to support/test-driver.c.
27470 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27471 New macro parameters.
27472 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27473 * posix/tst-gnuglob.c: New file.
27474 * posix/tst-gnuglob64.c: Likewise.
27475 * posix/Makefile (tests): Add tst-gnuglob64.
27476
363e4519 274772017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
27478
27479 [BZ #19485]
27480 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27481 and use a better translation for March in “mon”.
27482 * localedata/locales/csb_PL: Use more ASCII to improve the
27483 readability of the source.
27484
b110af82
MF
274852017-10-30 Mike FABIAN <mfabian@redhat.com>
27486
27487 [BZ #13953]
27488 * localedata/locales/km_KH: Use ASCII as much
27489 as possible for better readability of the source and
27490 remove useless comments.
27491 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27492 was commented out and apparently wrong anyway because it was
27493 using Lao characters. If Buddhist era should be used
27494 for km_KH, a native speaker should write the correct formaat
27495 for Khmer.
27496 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27497 (According to CLDR, the first weekday for Cambodia is Sunday).
27498 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27499 (These were using Lao characters which must be wrong. If we get
27500 the correct data from a native speaker, we could add it back, until
27501 then it is better not to have name_mr and name_mrs at all than
27502 having it wrong).
27503
f301e533
RL
275042017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27505
27506 * locale/loadlocale.c: Correct size of
27507 _nl_value_type_LC_<category> arrays.
27508
7e9d7073
JM
275092017-10-27 Joseph Myers <joseph@codesourcery.com>
27510
27511 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27512 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27513 with appropriate macros defined and undefined.
27514 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27515 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27516 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27517 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27518 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27519
63d3b468
L
275202017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27521
27522 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27523 "-O2 -march=i586".
27524
a4cc02c7
MF
275252017-10-27 Mike FABIAN <mfabian@redhat.com>
27526
27527 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27528 with lowercase letters to make it agree with CLDR.
27529
1e5971ec
MF
275302017-10-27 Mike FABIAN <mfabian@redhat.com>
27531
27532 [BZ #15260]
27533 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27534 first letters of yesstr and nostr in yesexpr and noexpr,
27535 not for the full words.
27536 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27537 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27538 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27539 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27540 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27541 first letters of yesstr and nostr in yesexpr and noexpr,
27542 until now only English was matched in yesexpr and noexpr.
27543 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27544 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27545 fil but not for tl. As tl and fil are very similar, using fil
27546 is probably better than using English.
27547
363e4519 275482017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
27549
27550 [BZ #21706]
27551 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27552 in yesstr and nostr.
27553
5d220788
JM
275542017-10-26 Joseph Myers <joseph@codesourcery.com>
27555
ecc7da5b
JM
27556 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27557 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27558 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27559 Likewise.
27560 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27561 Likewise.
27562 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27563 Likewise.
27564 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27565 Likewise.
27566 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27567 (SNANF128X): Likewise.
27568
5d220788
JM
27569 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27570 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27571 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27572 (HUGE_VAL_F32): Likewise.
27573 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27574 (HUGE_VAL_F64): Likewise.
27575 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27576 (HUGE_VAL_F32X): Likewise.
27577 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27578 (HUGE_VAL_F64X): Likewise.
27579 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27580 (HUGE_VAL_F128X): Likewise.
27581
363e4519 275822017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
27583
27584 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27585 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27586 for the br_FR locale.
27587
363e4519 275882017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
27589
27590 [BZ #21706]
27591 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27592
337ff3c5
CD
275932017-10-25 Carlos O'Donell <carlos@redhat.com>
27594
02eec681
CD
27595 * locale/programs/record-status.h: Define globals, and function
27596 prototypes. Move function bodies...
27597 * locale/programs/record-status.c: ... to here. New file.
27598 * iconv/Makefile (iconv_prog-modules): Add record-status.
27599 * locale/Makefile (lib-modules): Likewise.
27600 * iconv/iconv_prog.c: Remove verbose.
27601 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27602 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27603 record a warning about ASCII compatibility.
27604 * locale/programs/ld-monetary.c (monetary_finish): If
27605 warn_int_curr_symbol is true then record a warning about the symbol
27606 not being in our ISO 4217 list.
27607 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27608 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27609 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27610 (OPT_NO_WARN): Define.
27611 (OPT_WARN): Define.
27612 (options): Add entry for --no-warnings, and --warnings.
27613 (set_warnings): New function to enable/disable warnings.
27614 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27615 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27616 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27617 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27618 Pass flags to generate_locale.
27619 (generate_locale): Accept new flag argument and pass it to localedef
27620 invocation.
27621 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27622 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27623
56fa555a
CD
27624 * localedata/Makefile (test-input-data): Use full file name.
27625 * localedata/da_DK.in: Rename to...
27626 * localedata/da_DK.ISO-8859-1.in: ...this.
27627 * localedata/de_DE.in: Rename to...
27628 * localedata/de_DE.ISO-8859-1.in: ...this.
27629 * localedata/en_US.in: Rename to...
27630 * localedata/en_US.ISO-8859-1.in: ...this.
27631 * localedata/fr_FR.in: Rename to...
27632 * localedata/fr_FR.UTF-8.in: ... this.
27633 * localedata/hr_HR.in: Rename to...
27634 * localedata/hr_HR.ISO-8859-2.in: ...this.
27635 * localedata/hu_HU.in: Rename to...
27636 * localedata/hu_HU.UTF-8.in: ...this.
27637 * localedata/si_LK.in: Rename to...
27638 * localedata/si_LK.UTF-8.in: ...this.
27639 * localedata/sv_SE.in: Rename to...
27640 * localedata/sv_SE.ISO-8859-1.in: ...this.
27641 * localedata/tr_TR.in: Rename to...
27642 * localedata/tr_TR.UTF-8.in: ...this.
27643 * localedata/uk_UA.in: Rename to...
27644 * localedata/uk_UA.UTF-8.in: ...this.
27645 * localedata/sort-test.sh: Test file is locale name with the
27646 suffix.
27647
337ff3c5
CD
27648 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27649 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27650 file.
27651 * localedata/locales/i18n_ctype: Regenerate.
27652 * localedata/locales/tr_TR: Likewise.
27653 * localedata/locales/translit_circle: Likewise.
27654 * localedata/locales/translit_cjk_compat: Likewise.
27655 * localedata/locales/translit_combining: Likewise.
27656 * localedata/locales/translit_compat: Likewise.
27657 * localedata/locales/translit_font: Likewise.
27658 * localedata/locales/translit_fraction: Likewise.
27659
63da5cd4
RS
276602017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27661
27662 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27663 lxvd2x/stxvd2x with lvx/stvx.
27664 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27665
a122dbfb
L
276662017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27667
27668 * include/alloc_buffer.h: Replace "if if " with "if " in
27669 comments.
27670 * sysdeps/mips/memcpy.S: Likkewise.
27671 * sysdeps/mips/memset.S: Likewise.
27672 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27673 Likewise.
27674 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27675 Likewise.
27676 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27677 Likewise.
27678
9be7530c
MF
276792017-10-25 Mike FABIAN <mfabian@redhat.com>
27680
27681 [BZ #15261]
27682 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27683 yesexpr and noexpr.
27684 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27685 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27686 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27687 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27688 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27689 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27690 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27691
6ccbf6ff
MF
276922017-10-25 Mike FABIAN <mfabian@redhat.com>
27693
27694 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27695 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27696 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27697 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27698 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27699 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27700 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27701 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27702 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27703 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27704 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27705 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27706
58b1a7ea
MF
277072017-10-25 Mike FABIAN <mfabian@redhat.com>
27708
27709 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27710 as possible for better readability of the source.
27711 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27712 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27713 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27714 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27715 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27716 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27717 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27718 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27719 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27720 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27721 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27722 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27723 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27724 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27725 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27726 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27727 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27728 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27729 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27730 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27731 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27732 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27733 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27734 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27735 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27736 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27737 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27738 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27739 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27740 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27741 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27742 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27743 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27744 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27745 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27746 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27747 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27748 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27749 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27750 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27751 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27752 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27753 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27754 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27755 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27756 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27757 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27758 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27759 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27760 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27761 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27762 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27763 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27764 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27765 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27766 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27767 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27768 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27769 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27770 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27771 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27772 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27773 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27774 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27775 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27776 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27777 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27778 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27779 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27780 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27781 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27782 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27783 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27784 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27785 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27786 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27787 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27788 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27789 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27790 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27791 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27792 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27793 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27794 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27795 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27796 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27797 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27798 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27799 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27800 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27801 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27802 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27803 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27804 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27805 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27806 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27807 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27808 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27809 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27810 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27811 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27812 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27813 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27814 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27815 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27816 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27817 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27818 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27819 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27820 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27821 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27822 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27823 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27824 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27825 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27826 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27827 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27828 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27829 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27830 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27831 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27832 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27833 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27834 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27835 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27836 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27837 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27838 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27839 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27840 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27841 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27842 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27843 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27844 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27845 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27846 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27847 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27848 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27849 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27850 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27851 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27852 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27853 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27854 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27855 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27856 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27857 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27858 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27859 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27860 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27861 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27862 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27863 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27864 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27865 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27866 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27867 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27868 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27869 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27870 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27871 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27872 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27873 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27874 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27875 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27876 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27877 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27878 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27879 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27880 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27881 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27882 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27883 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27884 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27885
17e78edb
MF
278862017-10-25 Mike FABIAN <mfabian@redhat.com>
27887
27888 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27889 (Use first letters of yesstr and nostr correctly instead of using
27890 full words).
27891
74e7284f
MF
278922017-10-25 Mike FABIAN <mfabian@redhat.com>
27893
27894 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27895 (Use first letters of yesstr and nostr correctly).
27896
b41a0ff1
MF
278972017-10-25 Mike FABIAN <mfabian@redhat.com>
27898
27899 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27900 also check for the first characters of yesstr and nostr.
27901 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27902 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27903
d971f380
MF
279042017-10-25 Mike FABIAN <mfabian@redhat.com>
27905
27906 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27907 also check for Chinese characters.
27908
effc9e1d
MF
279092017-10-25 Mike FABIAN <mfabian@redhat.com>
27910
27911 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27912 match also for the contents of yesstr and nostr. As the first letter
27913 of yesstr and nostr is equal, checking only for the first letter
27914 is not enough.
27915
10320881
MF
279162017-10-25 Mike FABIAN <mfabian@redhat.com>
27917
27918 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27919 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27920
d8682a15
MF
279212017-10-25 Mike FABIAN <mfabian@redhat.com>
27922
27923 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27924 of main contributor.
27925
1bfb86ae
MF
279262017-10-25 Mike FABIAN <mfabian@redhat.com>
27927
27928 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27929 instead of using English.
27930
da33d60b
MF
279312017-10-25 Mike FABIAN <mfabian@redhat.com>
27932
27933 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27934 by including the first letters of nostr and yesexpr in the regexp.
27935 Also make it more readable by using ASCII where possible.
27936
725bbb3e
MF
279372017-10-25 Mike FABIAN <mfabian@redhat.com>
27938
27939 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27940 the first letter of nostr in the regexp. It agrees with CLDR now.
27941 Also make it more readable by using ASCII where possible.
27942
fe043d8a
MF
279432017-10-24 Mike FABIAN <mfabian@redhat.com>
27944
27945 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27946 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27947 these strings contain a U+17D6 (which somewhat looks like a colon)
27948 instead of a real colon to separate the full words for “yes”
27949 and “no” from the single letter responses.
27950
360a8df3
MF
279512017-10-24 Mike FABIAN <mfabian@redhat.com>
27952
27953 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27954 it agree with CLDR (include the first letter of yesstr).
27955 Also make it more readable by using ASCII where possible.
27956
bab7b6b0
MF
279572017-10-24 Mike FABIAN <mfabian@redhat.com>
27958
27959 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27960 and improve yesexpr and noexpr. The yesstr and nostr apparently
27961 came from CLDR. And CLDR has a bug there: these strings contain
27962 a U+0903 (which looks like a colon) instead of a real colon
27963 to separate the full words for “yes” and “no” from the single
27964 letter responses.
27965
3e79f758
MF
279662017-10-24 Mike FABIAN <mfabian@redhat.com>
27967
27968 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27969 letters of the full yesstr and nostr in yesexpr and noexpr.
27970
4960c879
MF
279712017-10-24 Mike FABIAN <mfabian@redhat.com>
27972
27973 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27974 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27975 * localedata/locales/an_ES: Make source more readable by using ASCII
27976 where possible.
27977
b06a054f
MF
279782017-10-24 Mike FABIAN <mfabian@redhat.com>
27979
27980 [BZ #20952]
27981 * localedata/locales/yuw_PG: New file.
27982 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27983 * locale/iso-639.def: Add Yau (Uruwa).
27984
905a7725
WD
279852017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27986
27987 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27988
3f6bb8a3
WD
279892017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27990
27991 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27992 (__libc_realloc): Likewise.
27993 (_mid_memalign): Likewise.
27994 (__libc_calloc): Likewise.
27995
1d479c8c
MF
279962017-10-23 Mike FABIAN <mfabian@redhat.com>
27997
27998 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27999 by adding the generic +1 and -0 as in all other locales.
28000 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28001 day names and make it more readable by using ASCII where possible.
28002
91c3985c
JM
280032017-10-24 Joseph Myers <joseph@codesourcery.com>
28004
28005 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28006 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28007
aa95a241
AZ
280082017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28009
28010 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28011 WNOHANG in waitpid call.
28012
db9bab09
SP
280132017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28014
a2e0a7f1
SP
28015 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28016 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28017
db9bab09
SP
28018 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28019 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28020 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28021 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28022 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28023 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28024 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28025 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28026 variables.
28027
5062680c
MC
280282017-10-23 Michael Collison <michael.collison@arm.com>
28029
28030 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28031 with __builtin_sqrt.
28032 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28033 with __builtin_sqrtf.
28034 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28035 with __builtin_ceil.
28036 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28037 with __builtin_ceilf.
28038 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28039 with __builtin_floor.
28040 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28041 with __builtin_floorf.
28042 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28043 with __builtin_fma.
28044 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28045 with __builtin_fmaf.
28046 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28047 with __builtin_fmax.
28048 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28049 with __builtin_fmaxf.
28050 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28051 with __builtin_fmin.
28052 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28053 with __builtin_fminf.
28054 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28055 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28056 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28057 with builtin_rint and conversion to int.
28058 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28059 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28060 with builtin_llround.
28061 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28062 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28063 with builtin_rint and conversion to long int.
28064 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28065 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28066 with builtin_lround.
28067 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28068 with builtin_lroundf.
28069 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28070 statements with __builtin_nearbyint.
28071 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28072 statements with __builtin_nearbyintf.
28073 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28074 with __builtin_rint.
28075 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28076 with __builtin_rintf.
28077 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28078 with __builtin_round.
28079 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28080 with __builtin_roundf.
28081 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28082 with __builtin_trunc.
28083 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28084 with __builtin_truncf.
be080b6c
SN
28085 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28086 and s_l[l]round[f].c too.
5062680c 28087
174935af
AM
280882017-10-23 Alan Modra <amodra@gmail.com>
28089
28090 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28091 Adjust stack after restoring regs. Add missing LR cfi_restore.
28092
750a0e49
AM
280932017-10-23 Alan Modra <amodra@gmail.com>
28094
28095 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28096 Move LR save and frame setup/teardown and LR restore to
28097 immediately around memset call. Provide cfi.
28098
5313581c
L
280992017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28100
28101 * sysdeps/i386/fpu/e_powf.S: Removed.
28102 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28103 * sysdeps/i386/fpu/w_powf.c: Likewise.
28104 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28105 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28106 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28107 Add e_powf-sse2.
28108 (CFLAGS-e_powf-sse2.c): New.
28109 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28110 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28111
6089a3ee
L
281122017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28113
28114 * sysdeps/i386/fpu/e_log2f.S: Removed.
28115 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28116 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28117 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28118 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28119 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28120 Add e_log2f-sse2.
28121 (CFLAGS-e_log2f-sse2.c): New.
28122 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28123 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28124
80bb5935
L
281252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28126
28127 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28128 Add e_powf-fma.
28129 (CFLAGS-e_powf-fma.c): New.
28130 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28131 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28132
5c7adbd8
L
281332017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28134
28135 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28136 Add e_log2f-fma.
28137 (CFLAGS-e_log2f-fma.c): New.
28138 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28140
0ccc7153
L
281412017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28142
28143 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28144 Add e_logf-fma.
28145 (CFLAGS-e_logf-fma.c): New.
28146 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28147 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28148
fe596486
L
281492017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28150
28151 * sysdeps/i386/fpu/e_logf.S: Removed.
28152 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28153 * sysdeps/i386/fpu/w_logf.c: Likewise.
28154 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28155 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28156 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28157 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28158 Add e_logf-sse2.
28159 (CFLAGS-e_logf-sse2.c): New.
28160 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28161 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28162
7eda65f6
L
281632017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28164
28165 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28166 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28167 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28168 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28169 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28170 Add e_exp2f-sse2.
28171 (CFLAGS-e_exp2f-sse2.c): New.
28172 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28173 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28174
5d15c969
L
281752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28178 Add e_exp2f-fma.
28179 (CFLAGS-e_exp2f-fma.c): New.
28180 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28181 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28182
b2f6137e
L
281832017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28184
28185 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28186 * sysdeps/i386/fpu/e_expf.S: Likewise.
28187 * sysdeps/i386/fpu/math_errf.c: Likewise.
28188 * sysdeps/i386/fpu/w_expf.c: Likewise.
28189 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28190 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28191 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28192 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28194 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28195 Remove e_expf-ia32.
28196 (CFLAGS-e_expf-sse2.c): New.
28197 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28198 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28199
e1f59beb
L
282002017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28201
28202 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28203 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28204 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28206 e_expf.c.
28207 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28208 New.
28209 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28210 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28211 Renamed to ...
28212 (__redirect_expf): This.
28213 (SYMBOL_NAME): Changed to expf.
28214 (__ieee754_expf): Renamed to ...
28215 (__expf): This.
28216 (__GI___expf): This.
28217 (__ieee754_expf): Add strong_alias.
28218 (__expf_finite): Likewise.
28219 (__expf): New.
28220 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28221
363e4519 282222017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
28223
28224 [BZ #22332]
28225 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28226 unescaping.
28227
e80fc1fc
FW
282282017-10-21 Florian Weimer <fweimer@redhat.com>
28229
28230 * posix/Makefile (tests): Add tst-glob-tilde.
28231 (tests-special): Add tst-glob-tilde-mem.out
28232 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28233 (tst-glob-tilde-mem.out): Add mtrace check.
28234 * posix/tst-glob-tilde.c: New file.
28235
797ba44b
JM
282362017-10-20 Joseph Myers <joseph@codesourcery.com>
28237
28238 * bits/floatn-common.h: New file.
28239 * math/Makefile (headers): Add bits/floatn-common.h.
28240 * bits/floatn.h: Include <bits/floatn-common.h>.
28241 * sysdeps/ia64/bits/floatn.h: Likewise.
28242 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28243 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28244 * sysdeps/powerpc/bits/floatn.h: Likewise.
28245 * sysdeps/x86/bits/floatn.h: Likewise.
28246
fe05e1cb
AZ
282472017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28248
8f6f5362
AZ
28249 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28250 indicates whether compiler emits an warning for alias for
28251 functions with incompatible types.
28252
fe05e1cb
AZ
28253 [BZ #22273]
28254 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28255 the auxiliary process is terminated by a signal before calling _exit
28256 or execve.
28257
b52b0d79
L
282582017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28259
28260 [BZ #21265]
28261 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28262 New.
28263 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28264 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28265 and bit_arch_XSAVEC_Usable if needed.
28266 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28267 and bit_arch_Use_dl_runtime_resolve_opt.
28268 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28269 Removed.
28270 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28271 (bit_arch_Prefer_No_AVX512): Updated.
28272 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28273 (bit_arch_XSAVEC_Usable): New.
28274 (STATE_SAVE_OFFSET): Likewise.
28275 (STATE_SAVE_MASK): Likewise.
28276 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28277 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28278 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28279 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28280 (index_arch_XSAVEC_Usable): New.
28281 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28282 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28283 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28284 is enabled.
28285 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28286 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28287 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28288 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28289 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28290 _dl_runtime_resolve_xsavec.
28291 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28292 Removed.
28293 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28294 instead of VEC_SIZE.
28295 (REGISTER_SAVE_BND0): Removed.
28296 (REGISTER_SAVE_BND1): Likewise.
28297 (REGISTER_SAVE_BND3): Likewise.
28298 (REGISTER_SAVE_RAX): Always defined to 0.
28299 (VMOV): Removed.
28300 (_dl_runtime_resolve_avx): Likewise.
28301 (_dl_runtime_resolve_avx_slow): Likewise.
28302 (_dl_runtime_resolve_avx_opt): Likewise.
28303 (_dl_runtime_resolve_avx512): Likewise.
28304 (_dl_runtime_resolve_avx512_opt): Likewise.
28305 (_dl_runtime_resolve_sse): Likewise.
28306 (_dl_runtime_resolve_sse_vex): Likewise.
28307 (USE_FXSAVE): New.
28308 (_dl_runtime_resolve_fxsave): Likewise.
28309 (USE_XSAVE): Likewise.
28310 (_dl_runtime_resolve_xsave): Likewise.
28311 (USE_XSAVEC): Likewise.
28312 (_dl_runtime_resolve_xsavec): Likewise.
28313 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28314 Removed.
28315 (_dl_runtime_resolve_avx512_opt): Likewise.
28316 (_dl_runtime_resolve_avx): Likewise.
28317 (_dl_runtime_resolve_avx_opt): Likewise.
28318 (_dl_runtime_resolve_sse): Likewise.
28319 (_dl_runtime_resolve_sse_vex): Likewise.
28320 (_dl_runtime_resolve_fxsave): New.
28321 (_dl_runtime_resolve_xsave): Likewise.
28322 (_dl_runtime_resolve_xsavec): Likewise.
28323
363e4519 283242017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
28325
28326 [BZ #22320]
28327 CVE-2017-15670
28328 * posix/glob.c (__glob): Fix one-byte overflow.
28329
6d43de4b
WD
283302017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28331
28332 * malloc/malloc.c (sysdep-cancel.h): Add include.
28333
a15d53e2
WD
283342017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28335
28336 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28337
b9a558e7
WH
283382017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28339
28340 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28341 (tests): Remove $(objpfx)ga_test depdendency.
28342 * resolv/ga_test.c: Remove file.
28343
b6b08b8e
MF
283442017-10-20 Mike FABIAN <mfabian@redhat.com>
28345
28346 [BZ #18812]
28347 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28348 * localedata/locales/kab_DZ: New file.
28349
9ba7e810
L
283502017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28351
28352 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28353 _dl_relocate_static_pie instead of _dl_start to compute load
28354 address in static PIE.
28355
4027a4fd
L
283562017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28357
28358 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28359
2f9314b4
MF
283602017-10-20 Mike FABIAN <mfabian@redhat.com>
28361
28362 [BZ #13605]
28363 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28364 * localedata/locales/shn_MM: New file.
28365
63b4baa4
FW
283662017-10-20 Florian Weimer <fweimer@redhat.com>
28367
28368 [BZ #22321]
28369 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28370 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28371 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28372 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28373 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28374 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28375
95ccb619
L
283762017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28377
28378 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28379
37bb78cb
JM
283802017-10-19 Joseph Myers <joseph@codesourcery.com>
28381
76f2ed92
JM
28382 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28383
37bb78cb
JM
28384 [BZ #22322]
28385 * sysdeps/mips/bits/long-double.h: Move to ....
28386 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28387
d74e6f6c
WD
283882017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28389
28390 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28391
363e4519 283922017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
28393 H.J. Lu <hongjiu.lu@intel.com>
28394
28395 [BZ #22299]
28396 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28397 GLRO(dl_platform) to NULL.
28398 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28399 (modules-names): Add tst-platformmod-1 and
28400 x86_64/tst-platformmod-2.
28401 (CFLAGS-tst-platform-1.c): New.
28402 (CFLAGS-tst-platformmod-1.c): Likewise.
28403 (CFLAGS-tst-platformmod-2.c): Likewise.
28404 (LDFLAGS-tst-platformmod-2.so): Likewise.
28405 ($(objpfx)tst-platform-1): Likewise.
28406 ($(objpfx)tst-platform-1.out): Likewise.
28407 (tst-platform-1-ENV): Likewise.
28408 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28409 * sysdeps/x86_64/tst-platform-1.c: New file.
28410 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28411 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28412
4b0fa403
MF
284132017-10-19 Mike FABIAN <mfabian@redhat.com>
28414
28415 [BZ #13994]
28416 * locale/iso-639.def: Add Karbi.
28417 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28418 * localedata/locales/mjw_IN: New file.
28419
81325b12
JM
284202017-10-18 Joseph Myers <joseph@codesourcery.com>
28421
28422 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28423 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28424 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28425 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28426 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28427 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28428 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28429 <bits/floatn.h>.
28430 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28431 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28432 * manual/math.texi (Mathematics): Document additional architecture
28433 support for _Float128.
28434 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28435 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28436 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28437 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28438 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28439 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28440 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28444 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28445 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28446 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28448 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28449
a68ba2f3
SN
284502017-10-18 Renlin Li <renlin.li@arm.com>
28451
28452 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28453 _DYNAMIC symbol to calculate load address.
28454
346729f6
PC
284552017-10-18 Paul A. Clarke <pc@us.ibm.com>
28456
28457 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28458 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28459 summary bits.
28460 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28461 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28462
508b1e71
MF
284632017-10-18 Mike FABIAN <mfabian@redhat.com>
28464
28465 [BZ #16777]
28466 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28467 and improve readability by using more ASCII.
28468 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28469 and improve readability by using more ASCII.
28470
2c2245b9
WD
284712017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28472
28473 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28474 not all targets support atomics on bool.
28475
13c92696
JM
284762017-10-17 Joseph Myers <joseph@codesourcery.com>
28477
28478 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28479 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28480 __f128.
28481 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28482 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28483 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28484 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28485 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28486 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28487
71d85045
AZ
284882017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28489
28490 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28491 defines.
28492
3381be5c
WD
284932017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28494
28495 [BZ #22159]
28496 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28497 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28498 (do_check_remalloced_chunk): Fix build bug.
28499 (do_check_malloc_state): Add assert that checks arena->top.
28500 (malloc_consolidate): Remove initialization.
28501 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 28502 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 28503
e956075a
WD
285042017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28505
28506 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28507 (have_fastchunks): Remove.
28508 (clear_fastchunks): Remove.
28509 (set_fastchunks): Remove.
28510 (malloc_state): Add have_fastchunks.
28511 (malloc_init_state): Use have_fastchunks.
28512 (do_check_malloc_state): Remove incorrect invariant checks.
28513 (_int_malloc): Use have_fastchunks.
28514 (_int_free): Likewise.
28515 (malloc_consolidate): Likewise.
28516
e4dd4ace
WD
285172017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28518
28519 * malloc/malloc.c (tcache_put): Inline.
28520 (tcache_get): Inline.
28521
5bf58bc7
AJ
285222017-10-17 Jordi Mallach <jordi@gnu.org>
28523
28524 Aurelien Jarno <aurelien@aurel32.net>
28525 [BZ #2522]
28526 * localedata/locales/ca_ES@valencia: New file.
28527 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28528
386e1c26
RN
285292017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28530
28531 [BZ #22296]
28532 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28533 < 6.x
28534
4e17c78e
AZ
285352017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28536
3d265601
AZ
28537 * scripts/build-many-glibcs.py (Context.add_all_configs):
28538 Add arm-linux-gnueabihf multiarch extra_glibcs.
28539
4e17c78e
AZ
28540 * sysdeps/generic/ifunc-init.h: New file.
28541 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28542
56a752ab
MF
285432017-10-17 Mike FABIAN <mfabian@redhat.com>
28544
28545 [BZ #22019]
28546 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28547 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28548 * stdlib/tst-strfmon_l.c: adapt test case.
28549
c38a4bfd
JM
285502017-10-16 Joseph Myers <joseph@codesourcery.com>
28551
28552 * sysdeps/generic/float128-abi.h: New file.
28553 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28554 non-__prefixed symbols to ....
28555 * math/Versions: ... here. Include <float128-abi.h>.
28556 * stdlib/Versions ... and here. Include <float128-abi.h>
28557
76009b26
FW
285582017-10-16 Florian Weimer <fweimer@redhat.com>
28559
28560 * version.h (VERSION): Switch to ".9000" as the development
28561 version suffix.
28562
7ece6cd5
FW
285632017-10-16 Florian Weimer <fweimer@redhat.com>
28564
28565 [BZ #22050]
28566 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28567 compat_symbol_reference to access non-default version.
28568
d8287b36
FW
285692017-10-16 Florian Weimer <fweimer@redhat.com>
28570
28571 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28572
3480ddc4
CD
285732017-10-16 Carlos O'Donell <carlos@redhat.com>
28574
28575 * include/shlib-compat.h (compat_symbol_reference): Update
28576 comment.
28577
02010e79
JM
285782017-10-16 Joseph Myers <joseph@codesourcery.com>
28579
596f7013
JM
28580 * math/Makefile (test-types): Add
28581 $(type-float128-$(float128-alias-fcts)).
28582 * math/test-float128.h (TYPE_STR): Define conditional on
28583 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28584 (ULP_IDX): Likewise.
28585 (ULP_I_IDX): Likewise.
28586
02010e79
JM
28587 * stdlib/strtold.c: Include <bits/floatn.h>
28588 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28589 and later undefine as macro. Define as weak alias if
28590 [!USE_WIDE_CHAR].
28591 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28592 and later undefine as macro. Define as weak alias if
28593 [USE_WIDE_CHAR].
28594 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28595 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28596 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28597 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28598 Define and later undefine as macro. Define as weak alias if
28599 [USE_WIDE_CHAR].
28600 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28601 <bits/floatn.h>.
28602 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28603 Define and later undefine as macro. Define as weak alias if
28604 [!USE_WIDE_CHAR].
28605 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28606 Define and later undefine as macro. Define as weak alias if
28607 [USE_WIDE_CHAR].
28608
ea91c315
CD
286092017-10-15 Carlos O'Donell <carlos@redhat.com>
28610
28611 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28612 record_verbose messages.
28613
8e57c943
L
286142017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28615
28616 [BZ #22052]
28617 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28618 to silence -O3 -Wall warning with GCC 7.
28619
a4777c46
L
286202017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 * Makeconfig (+link-static-before-libc): Use the first of
28623 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28624 * gmon/Makefile (tests): Add tst-gmon-static.
28625 (tests-static): Likewise.
28626 (CFLAGS-tst-gmon-static.c): New.
28627 (CRT-tst-gmon-static): Likewise.
28628 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28629 (tst-gmon-static-ENV): Likewise.
28630 (tests-special): Likewise.
28631 ($(objpfx)tst-gmon-static.out): Likewise.
28632 (clean-tst-gmon-static-data): Likewise.
28633 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28634 * gmon/tst-gmon-static-gprof.sh: New file.
28635 * gmon/tst-gmon-static.c: Likewise.
28636
bc3821bb
CD
286372017-10-13 Carlos O'Donell <carlos@redhat.com>
28638
28639 [BZ #22295]
28640 * locale/programs/linereader.c (get_string): Don't warn on
28641 non-symbolic character.
28642
a3e23a2c
CD
28643 [BZ #22294]
28644 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28645 int_curr_symbol.
28646
f16491eb
CD
28647 [BZ #22292]
28648 * locale/programs/record-status.h: New file
28649 * locale/programs/locale.c: Add comment.
28650 * locale/programs/charmap-dir.c: Don't include error.h.
28651 (charmap_opendir): Use record_error.
28652 * locale/programs/charmap.c: Don't include error.h.
28653 (charmap_read): Use record_error, and record_warning.
28654 (parse_charmap): Likewise.
28655 * locale/programs/ld-address.c: Don't include error.h.
28656 (address_finish): Use record_error, and record_warning.
28657 * locale/programs/ld-collate.c: Don't include error.h.
28658 (collate_finish): Use record_error, and record_error_at_line.
28659 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28660 (ctype_class_new): Likewise.
28661 (ctype_map_new): Likewise.
28662 (set_one_default): Likewise.
28663 (set_class_defaults): Likewise.
28664 (translit_flatten): Likewise.
28665 (allocate_arrays): Use record_error, and record_verbose.
28666 * locale/programs/ld-identification.c: Don't include error.h.
28667 (indentation_finish): Use record_error and record_warning.
28668 * locale/programs/ld-measurement.c: Don't include error.h.
28669 (measurement_finish): Use record_error.
28670 * locale/programs/ld-messages.c
28671 (message_finish): Likewise.
28672 * locale/programs/ld-monetary.c
28673 (monetary_finish): Likewise.
28674 * locale/programs/ld-name.c (name_finish): Use record_error
28675 and record_warning.
28676 * locale/programs/ld-numeric.c
28677 (numeric_finish): Use record_error.
28678 * locale/programs/ld-paper.c: Don't include error.h.
28679 (paper_finish): Use record_error.
28680 * locale/programs/ld-telephone.c: Don't include error.h.
28681 (telephone_finish): Use record_error.
28682 * locale/programs/ld-time.c (time_finish): Likewise.
28683 * locale/programs/linereader.h (lr_error): Make inline func.
28684 * locale/programs/localedef.c: Define recorded_warning_count,
28685 and recorded_error_count.
28686 (main): Use record_error. Use recorded_error_count and
28687 recorded_warning_count to issue correct error returns.
28688 (add_to_readlist): Use record_error.
28689 (find_locale): Likewise.
28690 (load_locale): Likewise.
28691 * locale/programs/localedef.h: Remove be_quiet
28692 and WITH_CUR_LOCALE.
28693 * locale/programs/locarchive.c (compare_from_file): Use
28694 record_error.
28695 * locale/programs/locfile.c (write_locale_data): Use
28696 record_error.
28697 * locale/programs/repertoire.c: Dont include error.h.
28698 (repertoire_complain): Use record_error.
28699 * localedata/tst-fmon.sh: Expect failures from localedef.
28700 * localedata/tst-locale.sh: Likewise.
28701 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28702
8dc8be75
CD
28703 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28704 (REPORTS): Likewise.
28705 (check): Likewise.
28706 (i18n): Rename to...
28707 (i18n_ctype): ...this.
28708 (i18n-report): Rename to...
28709 (i18n_ctype-report): ...this.
28710 * localedata/locales/i18n_ctype: Regenerate.
28711 * localedata/locales/i18n: copy i18n_ctype.
28712
f8718a9e
JM
287132017-10-13 Joseph Myers <joseph@codesourcery.com>
28714
18c08b96
JM
28715 * stdlib/strfroml.c: Include <bits/floatn.h>.
28716 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28717 Define before include of <stdlib.h> and undefine afterwards, then
28718 define as weak alias.
28719
f8718a9e
JM
28720 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28721 Undefine and restore default definition. Use
28722 libm_alias_ldouble_other.
28723
e4f530da
PZ
287242017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28725
28726 [BZ #22153]
28727 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28728 in coredumps.
28729
86445888
JC
287302017-10-13 James Clarke <jrtc27@jrtc27.com>
28731
28732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28733 Assign sym_map to be map for local symbols, as TLS relocations
28734 use sym_map to determine whether the symbol is defined and to
28735 extract the TLS information.
28736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28738
179dcdb7
TMQMF
287392017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28740
e8dbd6a3
TMQMF
28741 [BZ #22189]
28742 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28743 (math_force_eval): Add powerpc version.
28744
179dcdb7
TMQMF
28745 [BZ #22142]
28746 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28747 -DBL_MAX.
28748 (do_test): Likewise.
28749 * stdio-common/tst-printf.sh: Likewise.
28750 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28751 ifdef clause in order to set the carry bit right. Replace r0 by
28752 0 without changing the behavior.
28753
7d25d410
JM
287542017-10-13 Joseph Myers <joseph@codesourcery.com>
28755
006e7664
JM
28756 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28757 <libm-alias-ldouble.h>.
28758 (fabsl): Define using libm_alias_ldouble.
28759 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28760 <libm-alias-ldouble.h>.
28761 (fabsl): Define using libm_alias_ldouble.
28762
1def91b3
JM
28763 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28764 Remove conditional code.
28765
7d25d410
JM
28766 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28767 Rename to __clog10_internal_l.
28768 (__clog10_internal_l): Define aliases using
28769 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28770 with __clog10.
28771
077ee129
RS
287722017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28773
28774 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28775 * benchtests/sincosf-inputs: New file.
28776 * benchtests/cosf-inputs: New file.
28777 * benchtests/sinf-inputs: New file.
28778
5ba41de9
SN
287792017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28780
28781 * posix/tst-spawn.c (do_test): Wait for both children.
28782
d165ca64
L
287832017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28784
28785 [BZ #22284]
28786 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28787 tests-pie): Add tst-gmon-pie.
28788 (CFLAGS-tst-gmon-pie.c): New.
28789 (CRT-tst-gmon-pie): Likewise.
28790 (tst-gmon-pie-ENV): Likewise.
28791 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28792 ($(objpfx)tst-gmon-pie.out): Likewise.
28793 (clean-tst-gmon-pie-data): Likewise.
28794 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28795 * gmon/gmon.c [PIC]: Include <link.h>.
28796 [PIC] (callback): New function.
28797 (write_hist): Add an argument for load address. Subtract load
28798 address from PCs.
28799 (write_call_graph): Likewise.
28800 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28801 it to write_hist and write_call_graph.
7bacdcfc 28802 * gmon/tst-gmon-pie.c: New file.
d165ca64 28803
bc9620d0
JM
288042017-10-11 Joseph Myers <joseph@codesourcery.com>
28805
28806 * math/Makefile (test-types-basic): New variable.
28807 (test-types): Likewise.
28808 (libm-test-support): Use $(test-types) instead of $(types).
28809 (libm-tests-base-normal): Likewise.
28810 (libm-tests-base-finite): Likewise.
28811 (libm-tests-base-inline): Likewise.
28812 (generated): Likewise.
28813 ($(objpfx)libm-test-support-$(t).c): Likewise.
28814 (libm-tests-for-type iterator): Likewise.
28815 (libm-test-support iterator): Likewise.
28816 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28817 (ulp_idx): Use ULP_IDX.
28818 * math/test-ldouble.h: Include <float.h>.
28819 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28820 (ULP_IDX): New macro.
28821 (ULP_I_IDX): Likewise.
28822 * math/test-double.h (ULP_IDX): Likewise.
28823 (ULP_I_IDX): Likewise.
28824 * math/test-float.h (ULP_IDX): Likewise.
28825 (ULP_I_IDX): Likewise.
28826 * math/test-float128.h (ULP_IDX): Likewise.
28827 (ULP_I_IDX): Likewise.
28828
09c76a74
AZ
288292017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28830
28831 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28832 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28833 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28834 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28835 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28836 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28837 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28839 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28840 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28841 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28842 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28843 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28845 (SINGLE_THREAD_BY_GLOBAL): Define.
28846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28847 Likewise.
28848 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28849 Likewise.
28850 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28851 Likewise.
28852 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28853 Likewise.
28854 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28855 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28857 Likewise.
28858
2faa42da
AS
288592017-10-11 Andreas Schwab <schwab@suse.de>
28860
28861 * nis/Makefile (aux): Remove.
28862 * nscd/Makefile (aux): Add nscd_hash.
28863 (nscd-modules): Likewise.
28864 ($(objpfx)nscd): Don't depend on libnsl.
28865 * nscd/nscd_hash.c: New file.
28866 * nscd/nscd_hash.h: Likewise.
28867 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28868 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28869 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28870 instead of <nis/rpcsvc/nis.h>.
28871 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28872
d8425e11
FW
288732017-10-11 Florian Weimer <fweimer@redhat.com>
28874
28875 [BZ #22078]
28876 Avoid large NSS buffers with many addresses, aliases.
28877 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28878 using dynarrays and struct alloc_buffer.
28879 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28880 (tst-nss-files-hosts-multi): Link with -ldl.
28881 * nss/tst-nss-files-hosts-multi.c: New file.
28882
78e806fd
FW
288832017-10-11 Florian Weimer <fweimer@redhat.com>
28884
28885 [BZ #18023]
28886 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28887 scratch_buffer. Eliminate gotos.
28888
541f19ba
JM
288892017-10-11 Joseph Myers <joseph@codesourcery.com>
28890
0ff64d3a
JM
28891 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28892 libm_alias_ldouble_other.
28893 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28894 undefine and redefine.
28895 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28896 (exp10l): Do not define here.
28897 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28898 (weak_alias): Undefine and redefine.
28899 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28900 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28901 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28902 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28903
541f19ba
JM
28904 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28905 [!__fma] (fma): Define using libm_alias_double.
28906 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28907 [!__fmaf] (fmaf): Define using libm_alias_float.
28908 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28909 (fmal): Define using libm_alias_ldouble.
28910
24b6515d
JM
289112017-10-10 Joseph Myers <joseph@codesourcery.com>
28912
28913 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28914 New macro.
28915 (libm_alias_double_other): Likewise.
28916 (libm_alias_double_r): Use libm_alias_double_other_r.
28917 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28918 New macro.
28919 (libm_alias_float_other): Likewise.
28920 (libm_alias_float_r): Use libm_alias_float_other_r.
28921 * sysdeps/generic/libm-alias-float128.h
28922 (libm_alias_float128_other_r): New macro.
28923 (libm_alias_float128_other): Likewise.
28924 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28925 * sysdeps/generic/libm-alias-ldouble.h
28926 (libm_alias_ldouble_other_r): New macro.
28927 (libm_alias_ldouble_other): Likewise.
28928 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28929 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28930 (libm_alias_double_other_r): New macro.
28931 (libm_alias_double_other): Likewise.
28932 (libm_alias_double_r): Use libm_alias_double_other_r.
28933 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28934 (libm_alias_ldouble_other_r): New macro.
28935 (libm_alias_ldouble_other): Likewise.
28936 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28937 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28938 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28939 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28940 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28941 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28942 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28943 * math/w_exp2f.c: Use libm_alias_float_other.
28944 * math/w_expf.c: Likewise.
28945 * math/w_log2f.c: Likewise.
28946 * math/w_logf.c: Likewise.
28947 * math/w_powf.c: Likewise.
28948 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28949 [!__exp2f]: Use libm_alias_float_other.
28950 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28951 [!__expf]: Use libm_alias_float_other.
28952 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28953 [!__log2f]: Use libm_alias_float_other.
28954 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28955 [!__logf]: Use libm_alias_float_other.
28956 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28957 [!__powf]: Use libm_alias_float_other.
28958
8ed70de2
FW
289592017-10-10 Florian Weimer <fweimer@redhat.com>
28960
28961 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28962 function.
28963 (_nss_files_gethostbyname3_r): Call it.
28964
a8dce619
JM
289652017-10-09 Joseph Myers <joseph@codesourcery.com>
28966
28967 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28968 error. Remove default definition of declare_mgen_alias.
28969 [!declare_mgen_alias_r]: Likewise.
28970 * sysdeps/generic/math-type-macros-double.h
28971 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28972 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28973 (declare_mgen_alias_r): Likewise.
28974 * sysdeps/generic/math-type-macros-float128.h
28975 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28976 * sysdeps/generic/math-type-macros-ldouble.h
28977 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28978 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28979 macro.
28980 (declare_mgen_alias_r_s): Likewise.
28981 (declare_mgen_alias_r): Likewise.
28982 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28983 (lgamma_r): Define using libm_alias_double_r.
28984 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28985 (lgammaf_r): Define using libm_alias_float_r.
28986 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28987 (lgammal_r): Define using libm_alias_ldouble_r.
28988 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28989 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28990
bedac136
AZ
289912017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28992
28993 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28994 extern declaration.
28995
c7509db2
JM
289962017-10-09 Joseph Myers <joseph@codesourcery.com>
28997
28998 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28999
d6c064e9
JW
290002017-10-09 Jonathan Wakely <jwakely@redhat.com>
29001
29002 [BZ #21326]
29003 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29004 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29005 * math/Makefile (test-math-cxx11): New test.
29006 * math/test-math-cxx11.cc: New file.
29007
98e07420
CB
290082017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29009
29010 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29011
645ac9aa
CB
29012 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29013 call to allocate the slave pty file descriptor.
29014
fd3b4e7c
JM
290152017-10-06 Joseph Myers <joseph@codesourcery.com>
29016
f85a176f
JM
29017 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29018 [!__fma] (fma): Define using libm_alias_double.
29019 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29020 [!__fma] (fma): Define using libm_alias_double.
29021
fd3b4e7c
JM
29022 * sysdeps/ieee754/float128/float128_private.h: Include
29023 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29024 (libm_alias_ldouble_r): Undefine and redefine.
29025 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29026 <libm-alias-ldouble.h>.
29027 (asinhl): Define using libm_alias_ldouble.
29028 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29029 <libm-alias-ldouble.h>.
29030 (atanl): Define using libm_alias_ldouble.
29031 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29032 <libm-alias-ldouble.h>.
29033 (cbrtl): Define using libm_alias_ldouble.
29034 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29035 <libm-alias-ldouble.h>.
29036 (ceill): Define using libm_alias_ldouble.
29037 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29038 <libm-alias-ldouble.h>.
29039 (copysignl): Define using libm_alias_ldouble.
29040 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29041 <libm-alias-ldouble.h>.
29042 (cosl): Define using libm_alias_ldouble.
29043 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29044 <libm-alias-ldouble.h>.
29045 (erfl): Define using libm_alias_ldouble.
29046 (erfcl): Likewise.
29047 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29048 <libm-alias-ldouble.h>.
29049 (expm1l): Define using libm_alias_ldouble.
29050 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29051 <libm-alias-ldouble.h>.
29052 (fabsl): Define using libm_alias_ldouble.
29053 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29054 <libm-alias-ldouble.h>.
29055 (floorl): Define using libm_alias_ldouble.
29056 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29057 <libm-alias-ldouble.h>.
29058 (fmal): Define using libm_alias_ldouble.
29059 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29060 <libm-alias-ldouble.h>.
29061 (frexpl): Define using libm_alias_ldouble.
29062 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29063 libm_alias_ldouble.
29064 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29065 <libm-alias-ldouble.h>.
29066 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29067 libm_alias_ldouble.
29068 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29069 <libm-alias-ldouble.h>.
29070 (getpayloadl): Define using libm_alias_ldouble.
29071 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29072 <libm-alias-ldouble.h>.
29073 (llrintl): Define using libm_alias_ldouble.
29074 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29075 <libm-alias-ldouble.h>.
29076 (llroundl): Define using libm_alias_ldouble.
29077 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29078 <libm-alias-ldouble.h>.
29079 (logbl): Define using libm_alias_ldouble.
29080 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29081 <libm-alias-ldouble.h>.
29082 (lrintl): Define using libm_alias_ldouble.
29083 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29084 <libm-alias-ldouble.h>.
29085 (lroundl): Define using libm_alias_ldouble.
29086 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29087 <libm-alias-ldouble.h>.
29088 (modfl): Define using libm_alias_ldouble.
29089 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29090 <libm-alias-ldouble.h>.
29091 (nearbyintl): Define using libm_alias_ldouble.
29092 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29093 <libm-alias-ldouble.h>.
29094 (nextafterl): Define using libm_alias_ldouble.
29095 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29096 <libm-alias-ldouble.h>.
29097 (nextupl): Define using libm_alias_ldouble.
29098 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29099 <libm-alias-ldouble.h>.
29100 (remquol): Define using libm_alias_ldouble.
29101 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29102 <libm-alias-ldouble.h>.
29103 (rintl): Define using libm_alias_ldouble.
29104 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29105 <libm-alias-ldouble.h>.
29106 (roundevenl): Define using libm_alias_ldouble.
29107 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29108 <libm-alias-ldouble.h>.
29109 (roundl): Define using libm_alias_ldouble.
29110 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29111 using libm_alias_ldouble.
29112 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29113 <libm-alias-ldouble.h>.
29114 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29115 Define using libm_alias_ldouble.
29116 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29117 <libm-alias-ldouble.h>.
29118 (sincosl): Define using libm_alias_ldouble.
29119 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29120 <libm-alias-ldouble.h>.
29121 (sinl): Define using libm_alias_ldouble.
29122 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29123 <libm-alias-ldouble.h>.
29124 (tanhl): Define using libm_alias_ldouble.
29125 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29126 <libm-alias-ldouble.h>.
29127 (tanl): Define using libm_alias_ldouble.
29128 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29129 <libm-alias-ldouble.h>.
29130 (totalorderl): Define using libm_alias_ldouble.
29131 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29132 <libm-alias-ldouble.h>.
29133 (totalordermagl): Define using libm_alias_ldouble.
29134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29135 <libm-alias-ldouble.h>.
29136 (truncl): Define using libm_alias_ldouble.
29137 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29138 libm_alias_ldouble.
29139 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29140 libm_alias_ldouble.
29141 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29142 <libm-alias-ldouble.h>.
29143 (weak_alias): Do not undefine and redefine.
29144 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29145 (copysignl): Define with long_double_symbol only if [IS_IN
29146 (libc)].
29147 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29148 <libm-alias-ldouble.h>.
29149 (weak_alias): Do not undefine and redefine.
29150 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29151 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29152 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29153 <libm-alias-ldouble.h>.
29154 (weak_alias): Do not undefine and redefine.
29155 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29156 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29157 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29158 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29161 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29164 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29167 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29174 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29181
1e26d351
CD
291822017-10-06 Carlos O'Donell <carlos@redhat.com>
29183
29184 [BZ #22111]
29185 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29186 (tcache_thread_freeres): Set tcache_shutting_down before
29187 freeing the tcache.
29188 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29189 * malloc/tst-malloc-tcache-leak.c: New file.
29190
d1386762
RS
291912017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29192
29193 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29194 back to powerpc32 file.
29195 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29196 (memrchr): Add __memrchr_power8 to ifunc list.
29197 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29198 extra bytes for unaligned inputs.
29199
6dff1983
JM
292002017-10-06 Joseph Myers <joseph@codesourcery.com>
29201
29202 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29203 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29207
86f9568a
JM
292082017-10-05 Joseph Myers <joseph@codesourcery.com>
29209
0db0b931
JM
29210 * sysdeps/arm/libm-test-ulps: Update.
29211
86f9568a
JM
29212 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29213 <libm-alias-ldouble.h>.
29214 (asinhl): Define using libm_alias_ldouble.
29215 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29216 <libm-alias-ldouble.h>.
29217 (cbrtl): Define using libm_alias_ldouble.
29218 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29219 <libm-alias-ldouble.h>.
29220 (copysignl): Define using libm_alias_ldouble.
29221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29222 <libm-alias-ldouble.h>.
29223 (cosl): Define using libm_alias_ldouble.
29224 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29225 <libm-alias-ldouble.h>.
29226 (erfl): Define using libm_alias_ldouble.
29227 (erfcl): Likewise.
29228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29229 <libm-alias-ldouble.h>.
29230 (fmal): Define using libm_alias_ldouble.
29231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29232 <libm-alias-ldouble.h>.
29233 (frexpl): Define using libm_alias_ldouble.
29234 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29235 libm_alias_ldouble.
29236 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29237 <libm-alias-ldouble.h>.
29238 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29239 libm_alias_ldouble.
29240 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29241 <libm-alias-ldouble.h>.
29242 (getpayloadl): Define using libm_alias_ldouble.
29243 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29244 <libm-alias-ldouble.h>.
29245 (llrintl): Define using libm_alias_ldouble.
29246 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29247 <libm-alias-ldouble.h>.
29248 (llroundl): Define using libm_alias_ldouble.
29249 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29250 <libm-alias-ldouble.h>.
29251 (lrintl): Define using libm_alias_ldouble.
29252 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29253 <libm-alias-ldouble.h>.
29254 (lroundl): Define using libm_alias_ldouble.
29255 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29256 <libm-alias-ldouble.h>.
29257 (modfl): Define using libm_alias_ldouble.
29258 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29259 <libm-alias-ldouble.h>.
29260 (nextupl): Define using libm_alias_ldouble.
29261 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29262 <libm-alias-ldouble.h>.
29263 (remquol): Define using libm_alias_ldouble.
29264 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29265 <libm-alias-ldouble.h>.
29266 (roundevenl): Define using libm_alias_ldouble.
29267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29268 <libm-alias-ldouble.h>.
29269 (roundl): Define using libm_alias_ldouble.
29270 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29271 using libm_alias_ldouble.
29272 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29273 <libm-alias-ldouble.h>.
29274 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29275 <libm-alias-ldouble.h>.
29276 (setpayloadsigl): Define using libm_alias_ldouble.
29277 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29278 <libm-alias-ldouble.h>.
29279 (sincosl): Define using libm_alias_ldouble.
29280 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29281 <libm-alias-ldouble.h>.
29282 (sinl): Define using libm_alias_ldouble.
29283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29284 <libm-alias-ldouble.h>.
29285 (tanhl): Define using libm_alias_ldouble.
29286 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29287 <libm-alias-ldouble.h>.
29288 (tanl): Define using libm_alias_ldouble.
29289 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29290 <libm-alias-ldouble.h>.
29291 (totalorderl): Define using libm_alias_ldouble.
29292 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29293 <libm-alias-ldouble.h>.
29294 (totalordermagl): Define using libm_alias_ldouble.
29295 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29296 libm_alias_ldouble.
29297 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29298 libm_alias_ldouble.
29299
9ec87fd2
SP
293002017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29301
dd5bc7f1
SP
29302 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29303 memmove_falkor.
29304 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29305 (__libc_ifunc_impl_list): Likewise.
29306 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29307 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29308
5bfb0404
SP
29309 * benchtests/bench-memmove-walk.c: New file.
29310 * benchtests/Makefile (string-benchset): Add it.
29311
36bb8edf
SP
29312 * benchtests/bench-memset-walk.c: New file.
29313 * benchtests/Makefile (string-benchset): Add it.
29314
9ec87fd2
SP
29315 * benchtests/bench-memcpy-walk.c: New file.
29316 * benchtests/Makefile (string-benchset): Add it.
29317
1e9522c6
FW
293182017-10-05 Florian Weimer <fweimer@redhat.com>
29319
29320 nscd: Eliminate compilation time dependency in the build output.
29321 * nscd/nscd_stat.c (STATDATA_VERSION)
29322 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29323 (STATDATA_VERSION_FULL): New macro definitions.
29324 (compilation): Remove.
29325 (struct statdata): Adjust version member.
29326 (send_stats): Set version from STATDATA_VERSION_FULL.
29327 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29328
644d3857
JM
293292017-10-05 Joseph Myers <joseph@codesourcery.com>
29330
29331 * configure.ac (--enable-add-ons): Remove option.
29332 (machine): Do not mention add-ons in comment.
29333 (LIBC_PRECONFIGURE): Likewise.
29334 (add_ons): Remove variable and sanity checks and logic to locate
29335 add-ons.
29336 (add_ons_automatic): Remove variable.
29337 (configured_add_ons): Likewise.
29338 (add_ons_sfx): Likewise.
29339 (add_ons_pfx): Likewise.
29340 (add_on_subdirs): Likewise.
29341 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29342 consideration of add-ons in Implies handling.
29343 (sysdeps_add_ons): Likewise.
29344 * configure: Regenerated.
29345 * libidn/configure.ac: Remove.
29346 * libidn/configure: Likewise.
29347 * sysdeps/unix/inet/configure.ac: New file.
29348 * sysdeps/unix/inet/configure: New generated file.
29349 * sysdeps/unix/inet/Subdirs: Add libidn.
29350 * Makeconfig (sysdeps-srcdirs): Remove variable.
29351 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29352 ($(common-objpfx)config.status): Do not depend on add-on files.
29353 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29354 comment.
29355 (all-subdirs): Do not include $(add-on-subdirs).
29356 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29357 * config.make.in (add-ons): Remove variable.
29358 (add-on-subdirs): Likewise.
29359 (sysdeps-add-ons): Likewise.
29360 * manual/Makefile (add-chapters): Remove.
29361 ($(objpfx)texis): Do not depend on $(add-chapters).
29362 (nonexamples): Do not handle $(add-chapters).
29363 (examples): Do not handle $(add-ons).
29364 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29365 libc-texinfo.sh.
29366 * manual/install.texi (Installation): Do not mention add-ons.
29367 (--enable-add-ons): Do not document configure option.
29368 * INSTALL: Regenerated.
29369 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29370 * manual/maint.texi (Hierarchy Conventions): Do not mention
29371 add-ons.
29372 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29373 --enable-add-ons.
29374 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29375 add-ons.
29376 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29377 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29378
19f82f35
AS
293792017-10-05 Andreas Schwab <schwab@suse.de>
29380
29381 [BZ #15142]
29382 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29383 (_IO_flush_all_lockp): Always lock list_all_lock.
29384 (_IO_flush_all_linebuffered): Likewise.
29385 (_IO_unbuffer_all): Likewise.
29386
91e7cf98
FW
293872017-10-05 Florian Weimer <fweimer@redhat.com>
29388
29389 [BZ #15436]
29390 Do not flush stdio streams on abort.
29391 * stdlib/abort.c (fflush): Remove macro definition.
29392 (abort): Remove stages related to stdio flushing.
29393
0c251257
FW
293942017-10-05 Florian Weimer <fweimer@redhat.com>
29395
29396 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29397
7ea59e3e
SL
293982017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29399
29400 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29401
84d0e6f0
FW
294022017-10-05 Florian Weimer <fweimer@redhat.com>
29403
29404 * support/support_format_hostent.c (support_format_hostent): Add
29405 more error information for NETDB_INTERNAL.
29406
ee417882
L
294072017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29408
29409 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29410 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29411 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29412 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29413 AC_DEFINE if multi-arch is enabled.
29414 * sysdeps/i386/configure: Regenerated.
29415
a67029ff
L
294162017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29417
29418 * Makeconfig (+link-static-before-libc): Use
29419 $(DEFAULT-LDFLAGS-$(@F)).
29420 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29421 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29422 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29423
5dba84b3
L
294242017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29425
29426 * elf/Makefile (tests): Add tst-main1.
29427 (modules-names): Add tst-main1mod.
29428 ($(objpfx)tst-main1): New.
29429 (CRT-tst-main1): Likewise.
29430 (LDFLAGS-tst-main1): Likewise.
29431 (LDLIBS-tst-main1): Likewise.
29432 (tst-main1mod.so-no-z-defs): Likewise.
29433 * elf/tst-main1.c: New file.
29434 * elf/tst-main1mod.c: Likewise.
29435
758f1bfa
L
294362017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29437
29438 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29439
7e16a5d1
JM
294402017-10-04 Joseph Myers <joseph@codesourcery.com>
29441
29442 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29443 (fma): Define using libm_alias_double.
29444 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29445 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29446 <math_ldbl_opt.h>.
29447 (fmal): Do not define as compat symbol here.
29448 * sysdeps/alpha/fpu/s_fma.c: New file.
29449
db4f87ba
SN
294502017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29451
29452 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29453
72d13ed1
JM
294542017-10-04 Joseph Myers <joseph@codesourcery.com>
29455
32d372d5
JM
29456 [BZ #22229]
29457 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29458 <math_ldbl_opt.h>
29459 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29460 and libc.
29461 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29462 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29463 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29464 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29466 Include <math_ldbl_opt.h>
29467 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29468 and libc.
29469 (compat_symbol): Undefine and redefine.
29470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29471 <math_ldbl_opt.h>
29472 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29473 (compat_symbol): Undefine and redefine.
29474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29475 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29476 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29477 GLIBC_2_1 for libm.
29478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29479 GLIBC_2.0 copysignl symbol.
29480 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29481 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29482
72d13ed1
JM
29483 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29484
11c4f501
FW
294852017-10-04 Florian Weimer <fweimer@redhat.com>
29486
29487 * scripts/check-local-headers.sh: Ignore nspr4 header file
29488 directory in addition to nspr.
29489
57b4af19
GT
294902017-10-04 Guido Trentalancia <guido@trentalancia.net>
29491
29492 [BZ #17956]
29493 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29494 * configure: Regenerate.
29495 * crypt/Makefile (nss-cpp-flags): New variable.
29496 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29497 (CPPFLAGS-md5-crypt.c): Use it.
29498 * scripts/check-local-headers.sh: Ignore nspr header file
29499 directory.
29500
64d1e08e
AS
295012017-10-04 Andreas Schwab <schwab@suse.de>
29502
29503 * nis/Makefile (services): Remove compat.
29504 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29505 ($(objpfx)libnss_compat.so): Remove rule.
29506 * nis/Versions (libnss_compat): Remove.
29507 * nss/Makefile (services): Add compat.
29508 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29509 * nss/Versions (libnss_compat): Define.
29510 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29511 Don't include <rpc/types.h>. Replace bool_t by bool.
29512 * nss/nss_compat/compat-initgroups.c: Likewise.
29513 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29514 instead of <rpcsrv/ypclnt.h>.
29515 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29516 yp_get_default_domain.
29517 * nss/nss_compat/compat-pwd.c: Likewise.
29518 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29519 yp_get_default_domain.
29520 * nss/nss_compat/nisdomain.c: New file.
29521 * nss/nss_compat/nisdomain.h: Likewise.
29522
86c27ade
SN
295232017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29524
29525 [BZ #22244]
29526 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29527 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29528
8f8f8ef7
SN
295292017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29530
29531 [BZ #22243]
29532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29533 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29534
95577475
L
295352017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29536
29537 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29538 "movl main@GOTOFF(%ebx), %eax".
29539
02d2d892
L
295402017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29541
29542 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29543 allow undefined _DYNAMIC in PIE libc.a.
29544 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29545 Likewse.
29546
0c609d19
L
295472017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29548
29549 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29550 check _DYNAMIC.
29551
c34a19ed
L
295522017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29553
29554 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29555 check _DYNAMIC.
29556
cdd4155d
L
295572017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29558
29559 * math/test-math-iscanonical.cc (error): Replace bool with int.
29560
4699cb8b
JM
295612017-10-03 Joseph Myers <joseph@codesourcery.com>
29562
d8f619b3
JM
29563 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29564 (modf): Define using libm_alias_double, only if [!__modf].
29565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29566 <libm-alias-double.h>.
29567 (modf): Define using libm_alias_double, only if [!__modf].
29568 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29569 compat symbol here.
29570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29571 (weak_alias): Do not undefine and redefine.
29572 (strong_alias): Likewise.
29573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29574 (weak_alias): Likewise.
29575 (strong_alias): Likewise.
29576
4699cb8b
JM
29577 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29578 (logb): Define using libm_alias_double, only if [!__logb].
29579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29580 <libm-alias-double.h>.
29581 (logb): Define using libm_alias_double, only if [!__logb].
29582 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29584 (weak_alias): Do not undefine and redefine.
29585 (strong_alias): Likewise.
29586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29587 (weak_alias): Likewise.
29588 (strong_alias): Likewise.
29589
bcc4e4bb
L
295902017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29591
29592 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29593 Check SHARED instead PIC.
29594
39793865
JM
295952017-10-03 Joseph Myers <joseph@codesourcery.com>
29596
7f1cbdf8
JM
29597 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29598 [!__fmaf] (fmaf): Define using libm_alias_float.
29599
39793865
JM
29600 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29601 (frexp): Define using libm_alias_double.
29602 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29603 <libm-alias-double.h>.
29604 (frexp): Define using libm_alias_double.
29605 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29606 compat symbol here.
29607
aa0235df
GG
296082017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29609
29610 [BZ #22235]
29611 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29612 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29613 (CFLAGS-test-math-iscanonical.cc): New variable.
29614 * math/test-math-iscanonical.cc: New file.
29615 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29616 Provide a C++ implementation based on function overloading,
29617 rather than using __MATH_TG, which uses C-only builtins.
29618 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29619 Likewise.
29620 * sysdeps/powerpc/powerpc64le/Makefile
29621 (CFLAGS-test-math-iscanonical.cc): New variable.
29622
a1132b5e
JM
296232017-10-03 Joseph Myers <joseph@codesourcery.com>
29624
29625 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29626 (ceil): Define using libm_alias_double.
29627 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29628 (floor): Define using libm_alias_double.
29629 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29630 <libm-alias-double.h>.
29631 (llround): Define using libm_alias_double.
29632 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29633 <libm-alias-double.h>.
29634 (lround): Define using libm_alias_double.
29635 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29636 <libm-alias-double.h>.
29637 (nearbyint): Define using libm_alias_double.
29638 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29639 <libm-alias-double.h>.
29640 (remquo): Define using libm_alias_double.
29641 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29642 (rint): Define using libm_alias_double.
29643 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29644 (round): Define using libm_alias_double.
29645 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29646 (trunc): Define using libm_alias_double.
29647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29648 <libm-alias-double.h>.
29649 (ceil): Define using libm_alias_double.
29650 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29651 <libm-alias-double.h>.
29652 (floor): Define using libm_alias_double.
29653 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29654 <libm-alias-double.h>.
29655 (llround): Define using libm_alias_double.
29656 [_LP64] (lround): Likewise.
29657 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29658 <libm-alias-double.h>.
29659 [!_LP64] (lround): Define using libm_alias_double.
29660 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29661 <libm-alias-double.h>.
29662 (nearbyint): Define using libm_alias_double.
29663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29664 <libm-alias-double.h>.
29665 (remquo): Define using libm_alias_double.
29666 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29667 <libm-alias-double.h>.
29668 (rint): Define using libm_alias_double.
29669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29670 <libm-alias-double.h>.
29671 (round): Define using libm_alias_double.
29672 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29673 <libm-alias-double.h>.
29674 (trunc): Define using libm_alias_double.
29675 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29676 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29677 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29678 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29679 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29680 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29681 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29682 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29683 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29684
f275f64e
SN
296852017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29686
29687 * math/w_remainder.c: New file.
29688 * math/w_remainderf.c: New file.
29689 * math/w_remainderl.c: New file.
29690
b8818ab5
L
296912017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29692
29693 * elf/rtld.c (BOOTSTRAP_MAP): New.
29694 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29695 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29696 Likewise.
29697 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29698 Likewise.
29699 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29700 Likewise.
29701
3d1870fa
ST
297022017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29703
29704 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29705 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29706 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29707 rtld_hidden_data_ver): Define to empty.
29708 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29709 __assert_perror_fail): Likewise.
29710 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29711 (__rewinddir): Likewise.
29712 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29713 (__profile_frequency): Likewise.
29714 * include/setjmp.h (__sigsetjmp): Likewise.
29715 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29716 __libc_sigaction): Likewise.
29717 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29718 not set hidden attribute.
29719 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29720 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29721 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29722 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29723 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29724 __fxstatat64): Likewise.
29725 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29726 (__uname): Likewise.
29727 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29728 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29729 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29730 (NO_RTLD_HIDDEN): Set.
29731 * sysdeps/mach/hurd/configure: Refresh.
29732 * config.h.in: Refresh.
29733
527cd19c
JM
297342017-10-02 Joseph Myers <joseph@codesourcery.com>
29735
38722448
JM
29736 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29737 (atan): Define using libm_alias_double.
29738 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29739 (tan): Define using libm_alias_double.
29740 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29741 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29742
527cd19c
JM
29743 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29744 define as weak alias of __atan. Do not define any aliases if
29745 [__atan].
29746 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29747 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29748 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29749 as weak alias of __tan. Do not define any aliases if [__tan].
29750 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29751 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29752 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29753 __atan.
29754 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29755 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29756 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29757 and define as weak alias of __atan.
29758 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29759 __atan.
29760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29761 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29762 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29763 define as weak alias of __tan.
29764
bdc5c592
SN
297652017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29766
29767 * math/w_lgamma.c: New file.
29768 * math/w_lgammaf.c: New file.
29769 * math/w_lgammal.c: New file.
29770
bd4430c2
SN
297712017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29772
29773 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29774 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29775 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29776 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29777 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29778 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29779 * sysdeps/i386/fpu/w_log2f.c: New file.
29780 * sysdeps/i386/fpu/w_logf.c: New file.
29781 * sysdeps/i386/fpu/w_powf.c: New file.
29782 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29783 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29784 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29785
f7a0b063
SN
297862017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29787 H.J. Lu <hongjiu.lu@intel.com>
29788
29789 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29790 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29791 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29792 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29794 the new expf code.
29795 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29796 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29797 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29798 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29799 * sysdeps/i386/fpu/w_exp2f.c: New file.
29800 * sysdeps/i386/fpu/w_expf.c: New file.
29801 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29802 * sysdeps/x86_64/fpu/w_expf.c: New file.
29803
72d3d281
SN
298042017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29805
29806 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29807 (log2f): Likewise.
29808 (powf): Likewise.
29809 * math/w_log2f.c: New file.
29810 * math/w_logf.c: New file.
29811 * math/w_powf.c: New file.
29812 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29813 * math/w_logf_compat.c (__logf_compat): Likewise.
29814 * math/w_powf_compat.c (__powf_compat): Likewise.
29815 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29816 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29817 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29820 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29821 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29822 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29824 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29825 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29826 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29827 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29828 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29829 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29831 Likewise.
29832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29833 Likewise.
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29835 Likewise.
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29837 Likewise.
29838 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29839 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29840 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29841 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29842 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29844 Likewise.
29845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29846 Likewise.
29847 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29848 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29850
59ba2d2b
RS
298512017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29852
29853 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29854 (sysdep_routines): Add memrchr_power8.
29855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29856 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29857 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29858 New file.
29859 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29860 (memrchr): Add __memrchr_power8 to ifunc list.
29861 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29862
397286ea
L
298632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 [BZ #18822]
29866 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29867 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29868 libc_hidden_def.
29869 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29870 (__posix_fallocate64_l64): Likewise.
29871
d0a4512b
L
298722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29873
29874 [BZ #18822]
29875 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29876 (__sched_setaffinity_new): Add libc_hidden_proto and
29877 libc_hidden_def.
29878
c0769f70
L
298792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29880
29881 [BZ #18822]
29882 * include/glob.h (__glob64): Add libc_hidden_proto.
29883 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29884 libc_hidden_def.
29885
0e7d5b6e
L
298862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29887
29888 [BZ #18822]
29889 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29890 attribute_hidden.
29891
bde06c87
L
298922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29893
29894 [BZ #18822]
29895 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29896
fa426590
L
298972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29898
29899 [BZ #18822]
29900 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29901 libc_hidden_def.
29902
2f8a05d8
L
299032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29904
29905 [BZ #18822]
29906 * csu/version.c (__libc_print_version): Add attribute_hidden.
29907
7bfd08ac
L
299082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29909
29910 [BZ #18822]
29911 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29912
0e1fd06c
L
299132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29914
29915 [BZ #18822]
29916 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29917
36e7ae1e
L
299182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29919
29920 [BZ #18822]
29921 * nscd/nscd_helper.c (__nis_hash): New prototype.
29922
87078544
L
299232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29924
29925 [BZ #18822]
29926 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29927 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29928 libc_hidden_def.
29929 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29930 * termios/tcgetattr.c (__tcgetattr): Likewise.
29931
dd3121df
L
299322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29933
29934 [BZ #18822]
29935 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29936 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29937 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29938 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29939 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29940
047d1a81
L
299412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29942
29943 [BZ #18822]
29944 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29945
fd331b11
L
299462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29947
29948 [BZ #18822]
29949 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29950 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29951
57f859bd
L
299522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29953
29954 [BZ #18822]
29955 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29956
d1903329
L
299572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29958
29959 [BZ #18822]
29960 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29961 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29962
b4744101
L
299632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29964
29965 [BZ #18822]
29966 * include/ifreq.h: New file.
29967 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29968 (__ifreq): Likewise.
29969 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29970 (__ifreq): Likewise.
29971
43b7dfd1
L
299722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29973
29974 [BZ #18822]
29975 * include/idna.h: New file.
29976 * inet/getnameinfo.c: Include <idna.h> instead of
29977 <libidn/idna.h>.
29978 (__idna_to_unicode_lzlz): Removed.
29979 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29980 <libidn/idna.h>.
29981 (__idna_to_ascii_lz): Removed.
29982 (__idna_to_unicode_lzlz): Likewise.
29983
2c0cd8f8
L
299842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29985
29986 [BZ #18822]
29987 * include/plural-exp.h: New file.
29988 * intl/plural-exp.c: Include <plural-exp.h> instead of
29989 "plural-exp.h".
29990
8369d216
L
299912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29992
29993 [BZ #18822]
29994 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29995 "getsourcefilter.h".
29996 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29997 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29998 "getsourcefilter.h".
29999 (__get_sol): Removed.
30000
a0aef783
L
300012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30002
30003 [BZ #18822]
30004 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30005 to ...
30006 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30007
3ee8209b
L
300082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30009
30010 [BZ #18822]
30011 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30012 attribute_hidden.
30013
6036fc38
L
300142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30015
30016 [BZ #18822]
30017 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30018
fe84fed0
L
300192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30020
30021 [BZ #18822]
30022 * include/search.h (__tdestroy): Add libc_hidden_proto.
30023 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30024
048dd681
L
300252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30026
30027 [BZ #18822]
30028 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30029
6e342af6
L
300302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30031
30032 [BZ #18822]
30033 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30034 attribute_hidden.
30035
6a088436
L
300362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30037
30038 [BZ #18822]
30039 * include/signal.h (__kill): Add libc_hidden_proto.
30040 (__sigblock): Likewise.
30041 (__sigprocmask): Likewise.
30042 (__sigaltstack): Likewise.
30043 * signal/kill.c (__kill): Add libc_hidden_def.
30044 * signal/sigblock.c (__sigblock): Likewise.
30045 * signal/sigprocmask.c (__sigprocmask): Likewise.
30046 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30047 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30048 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30049 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30050 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30051 Likewise.
30052 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30053 Likewise.
30054 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30055 (__sigprocmask): Likewise.
30056 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30057 Likewise.
30058 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30059 (__sigprocmask): Likewise.
30060 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30061 Likewise.
30062
78cf1d74
L
300632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30064
30065 [BZ #18822]
30066 * include/string.h (__strsep): Add libc_hidden_proto.
30067 * string/strsep.c (__strsep): Add libc_hidden_def.
30068
85b35894
L
300692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30070
30071 [BZ #18822]
30072 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30073 attribute_hidden.
30074 (__spawni): Likewise.
30075
225f7eec
L
300762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30077
30078 [BZ #18822]
30079 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30080 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30081 libc_hidden_def.
30082
372fe247
L
300832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30084
30085 [BZ #18822]
30086 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30087
9e5ee8b8
L
300882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30089
30090 [BZ #18822]
30091 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30092 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30093 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30094 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30095 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30096 Likewise.
30097 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30098 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30099
2ff16592
L
301002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30101
30102 [BZ #18822]
30103 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30104 (__dcigettext): Likewise.
30105
b5648377
L
301062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30107
30108 [BZ #18822]
30109 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30110 libc_hidden_proto.
30111 (__get_nprocs): Likewise.
30112 (__get_phys_pages): Likewise.
30113 (__get_avphys_pages): Likewise.
30114 (__get_child_max): Add attribute_hidden.
30115 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30116 (__get_nprocs): Likewise.
30117 (__get_phys_pages): Likewise.
30118 (__get_avphys_pages): Likewise.
30119 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30120 libc_hidden_def.
30121 (__get_nprocs): Likewise.
30122 (__get_phys_pages): Likewise.
30123 (__get_avphys_pages): Likewise.
30124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30125 libc_hidden_def.
30126 (__get_nprocs_conf): Likewise.
30127 (__get_phys_pages): Likewise.
30128 (__get_avphys_pages): Likewise.
30129
0389a6aa
L
301302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30131
30132 [BZ #18822]
30133 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30134 attribute_hidden.
30135 (__netlink_close): Likewise.
30136 (__netlink_free_handle): Likewise.
30137 (__netlink_request): Likewise.
30138
d48354d8
L
301392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30140
30141 [BZ #18822]
30142 * include/rpc/rpc.h (__rpc_thread_variables): Add
30143 attribute_hidden.
30144 (__rpc_thread_svc_cleanup): Likewise.
30145 (__rpc_thread_clnt_cleanup): Likewise.
30146 (__rpc_thread_key_cleanup): Likewise.
30147
d6daff12
L
301482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30149
30150 [BZ #18822]
30151 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30152 (__writev): Likewise.
30153 * misc/readv.c (__readv): Add libc_hidden_def.
30154 * misc/writev.c (__writev): Likewise.
30155 * sysdeps/posix/readv.c (__readv): Likewise.
30156 * sysdeps/posix/writev.c (__writev): Likewise.
30157 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30158 (__readv): Likewise.
30159 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30160 (__writev): Likewise.
30161
b68f8620
L
301622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30163
30164 [BZ #18822]
30165 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30166 (__regcomp): Add libc_hidden_proto.
30167 (__regexec): Likewise.
30168 (__regfree): Likewise.
30169 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30170 (__regfree): Likewise.
30171 * posix/regexec.c (__regexec): Likewise.
30172
59c04e67
L
301732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30174
30175 [BZ #18822]
30176 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30177 (__getutent): Likewise.
30178 (__getutid): Likewise.
30179 (__getutline): Likewise.
30180 (__pututline): Likewise.
30181 (__getutent_r): Likewise.
30182 (__getutid_r): Likewise.
30183 (__getutline_r): Likewise.
30184 (__utmpname): Add attribute_hidden.
30185 (__setutent): Likewise.
30186 (__endutent): Likewise.
30187 * login/getutent.c (__getutent): Add libc_hidden_def.
30188 * login/getutent_r.c (__getutent_r): Likewise.
30189 (__pututline): Likewise.
30190 * login/getutid.c (__getutid): Likewise.
30191 * login/getutid_r.c (__getutid_r): Likewise.
30192 * login/getutline.c (__getutline): Likewise.
30193 * login/getutline_r.c (__getutline_r): Likewise.
30194 * login/updwtmp.c (__updwtmp): Likewise.
30195
4587a421
L
301962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30197
30198 [BZ #18822]
30199 * include/dirent.h (__opendir): Always add attribute_hidden.
30200 (__fdopendir): Likewise.
30201 (__closedir): Likewise.
30202 (__readdir): Likewise.
30203 (__readdir64): Add libc_hidden_proto.
30204 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30205 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30206 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30207 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30208 New alias.
30209
9635ce69
L
302102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30211
30212 [BZ #18822]
30213 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30214 * include/netdb.h (__gethostbyaddr_r): Likewise.
30215 (__gethostbyname_r): Likewise.
30216 (__gethostbyname2_r): Likewise.
30217 (__getnetbyaddr_r): Likewise.
30218 (__getnetbyname_r): Likewise.
30219 (__getservbyname_r): Likewise.
30220 (__getservbyport_r): Likewise.
30221 (__getprotobyname_r): Likewise.
30222 (__getprotobynumber_r): Likewise.
30223 (__getnetgrent_r): Likewise.
30224 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30225 (__getrpcbynumber_r): Likewise.
30226 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30227
2e0a6909
L
302282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30229
30230 [BZ #18822]
30231 * include/stdio.h (__fcloseall): Add attribute_hidden.
30232 (__getline): Likewise.
30233 (__path_search): Likewise.
30234 (__gen_tempname): Likewise.
30235 (__libc_message): Likewise.
30236 (__flockfile): Likewise.
30237 (__funlockfile): Likewise.
30238 (__fxprintf): Likewise.
30239 (__fxprintf_nocancel): Likewise.
30240
94fd682c
L
302412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30242
30243 [BZ #18822]
30244 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30245 (__sgetsgent_r): Likewise.
30246
e1b33bba
L
302472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30248
30249 [BZ #18822]
30250 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30251 (__statfs64): Likewise.
30252 (__fstatfs64): Likewise.
30253 * include/sys/statvfs.h (__statvfs64): Likewise.
30254 (__fstatvfs64): Likewise.
30255 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30256 (__statfs_filesize_max): Likewise.
30257 (__statfs_symlinks): Likewise.
30258 (__statfs_chown_restricted): Likewise.
30259
b0f56784
L
302602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 [BZ #18822]
30263 * include/time.h (__tzstring): Add attribute_hidden.
30264 (__tzfile_read): Likewise.
30265 (__tzfile_compute): Likewise.
30266 (__tzfile_default): Likewise.
30267 (__tzset_parse_tz): Likewise.
30268 (__offtime): Likewise.
30269 (__asctime_r): Likewise.
30270 (__tzset): Likewise.
30271 (__tz_convert): Likewise.
30272 (__getdate_r): Likewise.
30273 (__getclktck): Likewise.
30274
a4338d99
L
302752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30276
30277 [BZ #18822]
30278 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30279 (__nscd_unmap): Likewise.
30280 (__nscd_cache_search): Likewise.
30281 (__nscd_get_nl_timestamp): Likewise.
30282 (__nscd_getpwnam_r): Likewise.
30283 (__nscd_getpwuid_r): Likewise.
30284 (__nscd_getgrnam_r): Likewise.
30285 (__nscd_getgrgid_r): Likewise.
30286 (__nscd_gethostbyname_r): Likewise.
30287 (__nscd_gethostbyname2_r): Likewise.
30288 (__nscd_gethostbyaddr_r): Likewise.
30289 (__nscd_getai): Likewise.
30290 (__nscd_getgrouplist): Likewise.
30291 (__nscd_getservbyname_r): Likewise.
30292 (__nscd_getservbyport_r): Likewise.
30293 (__nscd_innetgr): Likewise.
30294 (__nscd_setnetgrent): Likewise.
30295
a2ca1652
L
302962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30297
30298 [BZ #18822]
30299 * include/gmp.h: Declare internal functions only if _ISOMAC is
30300 undefined.
30301 (__mpn_extract_double): Add attribute_hidden.
30302 (__mpn_extract_long_double): Likewise.
30303 (__mpn_extract_float128): Likewise.
30304 (__mpn_construct_float): Likewise.
30305 (__mpn_construct_double): Likewise.
30306 (__mpn_construct_long_double): Likewise.
30307 (__mpn_construct_float128): Likewise.
30308 (mpn_add_1): Likewise.
30309 (mpn_addmul_1): Likewise.
30310 (mpn_add_n): Likewise.
30311 (mpn_cmp): Likewise.
30312 (mpn_divrem): Likewise.
30313 (mpn_lshift): Likewise.
30314 (mpn_mul): Likewise.
30315 (mpn_mul_1): Likewise.
30316 (mpn_rshift): Likewise.
30317 (mpn_sub_1): Likewise.
30318 (mpn_submul_1): Likewise.
30319 (mpn_sub_n): Likewise.
30320
44af8a32
L
303212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30322
30323 [BZ #18822]
30324 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30325 (__wcscat): Likewise.
30326 (__btowc): Likewise.
30327 (__wcrtomb): Likewise.
30328 (__mbsrtowcs): Likewise.
30329 (__wcsrtombs): Likewise.
30330 (__mbsnrtowcs): Likewise.
30331 (__wcsnrtombs): Likewise.
30332 (__wcsncpy): Likewise.
30333 (__wcpncpy): Likewise.
30334 (__wmemcpy): Likewise.
30335 (__wmempcpy): Likewise.
30336 (__wmemmove): Likewise.
30337 (__wcschrnul): Likewise.
30338 (__vfwscanf): Likewise.
30339 (__vswprintf): Likewise.
30340 (__fwprintf): Likewise.
30341 (__vfwprintf): Likewise.
30342
783cd767
L
303432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30344
30345 [BZ #18822]
30346 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30347 (__getgrgid_r): Likewise.
30348 (__getgrnam_r): Likewise.
30349 * include/pwd.h (__getpwuid_r): Likewise.
30350 (__getpwnam_r): Likewise.
30351 (__fgetpwent_r): Likewise.
30352 * include/shadow.h (__getspnam_r): Likewise.
30353 (__sgetspent_r): Likewise.
30354 (__fgetspent_r): Likewise.
30355
7ec4b39a
L
303562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30357
30358 [BZ #18822]
30359 * include/unistd.h (__access): Add attribute_hidden.
30360 (__lseek64): Likewise.
30361 (__libc_pread64): Likewise.
30362 (__pipe2): Likewise.
30363 (__sleep): Likewise.
30364 (__chdir): Likewise.
30365 (__fchdir): Likewise.
30366 (__getcwd): Likewise.
30367 (__rmdir): Likewise.
30368 (__execvpe): Likewise.
30369 (__execve): Likewise.
30370 (__setsid): Likewise.
30371 (__getuid): Likewise.
30372 (__geteuid): Likewise.
30373 (__getgid): Likewise.
30374 (__getegid): Likewise.
30375 (__getgroups): Likewise.
30376 (__group_member): Likewise.
30377 (__ttyname_r): Likewise.
30378 (__isatty): Likewise.
30379 (__readlink): Likewise.
30380 (__unlink): Likewise.
30381 (__gethostname): Likewise.
30382 (__profil): Likewise.
30383 (__getdtablesize): Likewise.
30384 (__brk): Likewise.
30385 (__ftruncate): Likewise.
30386 (__ftruncate64): Likewise.
30387
8345a760
L
303882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30389
30390 [BZ #18822]
30391 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30392 * argp/argp-fs-xinl.c: Likewise.
30393 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30394 * argp/argp-parse.c: Include <argp.h>.
30395 * argp/argp-xinl.c: Likewise.
30396 * include/argp-fmtstream.h: New file.
30397 * include/argp.h (__argp_error): Add attribute_hidden.
30398 (__argp_failure): Likewise.
30399 (__argp_input): Likewise.
30400 (__argp_state_help): Likewise.
30401
c26dd7c6
L
304022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30403
30404 [BZ #18822]
30405 * include/wchar.h (____wcstof_l_internal): New prototype.
30406 (____wcstod_l_internal): Likewise.
30407 (____wcstold_l_internal): Likewise.
30408 (____wcstol_l_internal): Likewise.
30409 (____wcstoul_l_internal): Likewise.
30410 (____wcstoll_l_internal): Likewise.
30411 (____wcstoull_l_internal): Likewise.
30412 (____wcstof128_l_internal): Likewise.
30413 * sysdeps/ieee754/float128/wcstof128.c
30414 (____wcstof128_l_internal): Removed.
30415 * sysdeps/ieee754/float128/wcstof128_l.c
30416 (____wcstof128_l_internal): Likewise.
30417 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30418 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30419 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30420 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30421 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30422 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30423 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30424 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30425 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30426 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30427
3aff5644
L
304282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30429
30430 [BZ #18822]
30431 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30432 instead of <sys/statvfs.h>.
30433 (__internal_statvfs): Removed.
30434 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30435 instead of <sys/statvfs.h>.
30436 (__internal_statvfs64): Removed.
30437 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30438 "internal_statvfs.h" instead of <sys/statvfs.h>.
30439 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30440 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30441 instead of <sys/statvfs.h>.
30442 (__internal_statvfs): Removed.
30443 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30444 instead of <sys/statvfs.h>.
30445 (__internal_statvfs64): Removed.
30446
8bcdb7e0
L
304472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30448
30449 [BZ #18822]
30450 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30451 (__gconv_close): Likewise.
30452 (__gconv): Likewise.
30453 (__gconv_find_transform): Likewise.
30454 (__gconv_lookup_cache): Likewise.
30455 (__gconv_compare_alias_cache): Likewise.
30456 (__gconv_load_cache): Likewise.
30457 (__gconv_get_path): Likewise.
30458 (__gconv_close_transform): Likewise.
30459 (__gconv_release_cache): Likewise.
30460 (__gconv_find_shlib): Likewise.
30461 (__gconv_release_shlib): Likewise.
30462 (__gconv_get_builtin_trans): Likewise.
30463 (__gconv_compare_alias): Likewise.
30464 * include/dlfcn.h (_dlerror_run): Likewise.
30465 * include/stdio.h (__fortify_fail_abort): Likewise.
30466 * include/time.h (__tz_compute): Likewise.
30467 (__strptime_internal): Likewise.
30468 * intl/gettextP.h (_nl_find_domain): Likewise.
30469 (_nl_load_domain): Likewise.
30470 (_nl_find_msg): Likewise.
30471 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30472 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30473 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30474 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30475 (__gai_find_request): Likewise.
30476 (__gai_remove_request): Likewise.
30477 (__gai_notify): Likewise.
30478 (__gai_notify_only): Likewise.
30479 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30480 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30481 (_dl_non_dynamic_init): Likewise.
30482 (_dl_aux_init): Likewise.
30483 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30484 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30485 Likewise.
30486 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30487 (__wcsmbs_clone_conv): Likewise.
30488 (__wcsmbs_named_conv): Likewise.
30489
8ed3b643
L
304902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30491
30492 [BZ #18822]
30493 * include/stdlib.h (__random): Add attribute_hidden.
30494 (__random_r): Likewise.
30495 (__srandom_r): Likewise.
30496 (__initstate_r): Likewise.
30497 (__setstate_r): Likewise.
30498 (__erand48_r): Likewise.
30499 (__nrand48_r): Likewise.
30500 (__jrand48_r): Likewise.
30501 (__srand48_r): Likewise.
30502 (__seed48_r): Likewise.
30503 (__lcong48_r): Likewise.
30504 (__drand48_iterate): Likewise.
30505 (__setenv): Likewise.
30506 (__unsetenv): Likewise.
30507 (__clearenv): Likewise.
30508 (__ptsname_r): Likewise.
30509 (__posix_openpt): Likewise.
30510 (__add_to_environ): Likewise.
30511 (__realpath): Add libc_hidden_proto.
30512 (__ecvt_r): Likewise.
30513 (__fcvt_r): Likewise.
30514 (__qecvt_r): Likewise.
30515 (__qfcvt_r): Likewise.
30516 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30517 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30518
ef9b6f73
L
305192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30520
30521 [BZ #18822]
30522 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30523 * include/time.h (__mktime_internal): Likewise.
30524 * libio/iolibio.h (__fopen_internal): Likewise.
30525
8da92e72
JDA
305262017-10-01 John David Anglin <danglin@gcc.gnu.org>
30527
30528 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30529 pointer in frame.
30530 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30531 Correct offset used to restore PIC register.
30532
388784cf
JDA
305332017-09-30 John David Anglin <danglin@gcc.gnu.org>
30534
30535 [BZ libc/22165]
30536 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30537 code to load address of __getcontext_ret when generating PIC code.
30538
2000067a
L
305392017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 * elf/Makefile (tests-static-internal): Add
30542 tst-tls1-static-non-pie.
30543 (LDFLAGS-tst-tls1-static-non-pie): New.
30544 * elf/tst-tls1-static-non-pie.c: New file.
30545
1e2bffd0
JM
305462017-09-29 Joseph Myers <joseph@codesourcery.com>
30547
30548 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30549 (asinh): Define using libm_alias_double.
30550 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30551 (cbrt): Define using libm_alias_double.
30552 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30553 <libm-alias-double.h>.
30554 (copysign): Define using libm_alias_double.
30555 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30556 (erf): Define using libm_alias_double.
30557 (erfc): Likewise.
30558 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30559 (expm1): Define using libm_alias_double.
30560 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30561 (fabs): Define using libm_alias_double.
30562 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30563 libm_alias_double.
30564 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30565 <libm-alias-double.h>.
30566 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30567 libm_alias_double.
30568 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30569 <libm-alias-double.h>.
30570 (getpayload): Define using libm_alias_double.
30571 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30572 <libm-alias-double.h>.
30573 (llrint): Define using libm_alias_double.
30574 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30575 (lrint): Define using libm_alias_double.
30576 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30577 <libm-alias-double.h>.
30578 (nextup): Define using libm_alias_double.
30579 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30580 <libm-alias-double.h>.
30581 (roundeven): Define using libm_alias_double.
30582 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30583 libm_alias_double.
30584 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30585 <libm-alias-double.h>.
30586 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30587 using libm_alias_double.
30588 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30589 (cos): Define using libm_alias_double.
30590 (sin): Likewise.
30591 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30592 <libm-alias-double.h>.
30593 (sincos): Define using libm_alias_double.
30594 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30595 (tanh): Define using libm_alias_double.
30596 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30597 <libm-alias-double.h>.
30598 (totalorder): Define using libm_alias_double.
30599 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30600 <libm-alias-double.h>.
30601 (totalordermag): Define using libm_alias_double.
30602 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30603 libm_alias_double.
30604 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30605 libm_alias_double.
30606 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30607 <libm-alias-double.h>.
30608 (getpayload): Define using libm_alias_double.
30609 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30610 <libm-alias-double.h>.
30611 (roundeven): Define using libm_alias_double.
30612 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30613 <libm-alias-double.h>.
30614 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30615 <libm-alias-double.h>.
30616 (totalorder): Define using libm_alias_double.
30617 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30618 <libm-alias-double.h>.
30619 (totalordermag): Define using libm_alias_double.
30620 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30621 libc compat symbol here.
30622 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30623 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30624 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30625 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30626 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30627 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30628 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30629 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30630 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30631 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30632
8172aad9
L
306332017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30634
30635 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30636 _dl_relocate_static_pie instead of _dl_start to compute load
30637 address in static PIE. Return 0 if _DYNAMIC is undefined for
30638 static executable.
30639
54464e74
L
306402017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30641
30642 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30643 _DYNAMIC is undefined for static executable.
30644
f6c5e5bc
L
306452017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30646
30647 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30648
2f92505d
JM
306492017-09-29 Joseph Myers <joseph@codesourcery.com>
30650
30651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30652
bd8d53bb
WD
306532017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30654
30655 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30656 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30657 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30658 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30659 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30660 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30661 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30662 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30664 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30665 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30666 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30667 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30668 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30669 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30670 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30671 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30672
fffb1507
WD
306732017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30674
30675 * math/bits/cmathcalls.h (cimag): Remove inline.
30676 (creal): Remove inline.
30677 (conj): Remove inline.
30678
4ea49f4c
SN
306792017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30680
30681 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30682 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30683 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30684 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30685 (issignalingf_inline): Likewise.
30686 (POWF_LOG2_TABLE_BITS): Likewise.
30687 (POWF_LOG2_POLY_ORDER): Likewise.
30688 (POWF_SCALE_BITS): Likewise.
30689 (POWF_SCALE): Likewise.
30690 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30691 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30692 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30693
875c76c7
SN
306942017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30695
30696 * math/Makefile (type-float-routines): Add e_log2f_data.
30697 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30698 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30699 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30700 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30701 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30702 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30703 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30704
90c42e40
SN
307052017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30706
30707 * math/Makefile (type-float-routines): Add e_logf_data.
30708 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30709 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30710 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30711 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30712 * sysdeps/i386/fpu/e_logf_data.c: New file.
30713 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30714 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30715
4088d8dd
L
307162017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30717
30718 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30719 undefined _DYNAMIC in PIE libc.a.
30720 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30721 Likewse.
30722
4d3693ec
WD
307232017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30724
30725 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30726 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30727 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30728 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30729 (__signbit): Remove.
30730 (__signbitl): Remove.
30731 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30732 (__signbit): Remove.
30733 (__signbitl): Remove.
30734 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30735 (__signbit): Remove.
30736 (__signbitl): Remove.
30737 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30738 (__signbit): Remove.
30739 (__signbitl): Remove.
30740 * sysdeps/tile/bits/mathinline.h: Delete file.
30741 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30742 (__signbit): Remove.
30743 (__signbitl): Remove.
30744
1e6d0723
WD
307452017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30746
30747 * math/math.h: Improve handling of C99 isgreater macros.
30748 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30749 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30750 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30751 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30752 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30753
b2f03cf3
SN
307542017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30755
30756 * sysdeps/aarch64/libm-test-ulps: Update.
30757
f124cb38
JM
307582017-09-28 Joseph Myers <joseph@codesourcery.com>
30759
30760 [BZ #22225]
30761 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30762 math_opt_barrier on argument when doing arithmetic on it.
30763 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30764 Likewise. Use math_force_eval not math_opt_barrier after
30765 arithmetic.
30766 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30767 math_opt_barrier on argument when doing arithmetic on it.
30768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30769 Likewise.
30770
7edd0691
L
307712017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30772
30773 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30774 libc_hidden_def.
30775 (__freeifaddrs): Likewise.
30776
2c7bbfaf
ST
307772017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30778
30779 * include/dirent.h (__dirfd): New declaration.
30780 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30781 alias.
30782 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30783 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30784 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
30785 * include/unistd.h (__revoke): New declaration.
30786 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30787 alias.
30788 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30789 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30790 revoke.
64a4af28
ST
30791 * include/dirent.h (__seekdir): New declaration.
30792 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30793 redefine as weak alias.
30794 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30795 of seekdir.
4009ddc6
ST
30796 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30797 and use libc_hidden_def on them.
30798 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30799 them.
30800 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30801 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30802 instead of getifaddrs and freeifaddrs.
2c7bbfaf 30803
825adeee
L
308042017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30805
30806 [BZ #18822]
30807 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30808 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30809 (__dso_handle): Remove declaration.
30810 * dlfcn/tstatexit.c (__dso_handle): Removed.
30811 (main): Don't check __dso_handle.
30812 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30813 (main): Don't check __dso_handle.
30814 * include/dso_handle.h: New file.
30815 * malloc/mtrace.c: Include <dso_handle.h>.
30816 (mtrace): Pass __dso_handle directly.
30817 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30818 (__dso_handle): Remove declaration.
30819 (__pthread_atfork): Pass __dso_handle directly.
30820 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30821 (__dso_handle): Removed.
30822 * posix/wordexp-test.c: Include <dso_handle.h>.
30823 (__dso_handle): Remove declaration.
30824 (__app_register_atfork): Pass __dso_handle directly.
30825 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30826 (__dso_handle): Remove declaration.
30827 (at_quick_exit): Pass __dso_handle directly.
30828 * stdlib/atexit.c: Include <dso_handle.h>.
30829 (__dso_handle): Remove declaration.
30830 (atexit): Pass __dso_handle directly.
30831 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30832 (__dso_handle): Removed.
30833
bfb0deb3
JM
308342017-09-26 Joseph Myers <joseph@codesourcery.com>
30835
30836 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30837 using VDSO.
30838
cebcb9f8
AM
308392017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30840
30841 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30842 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30843 values to correct default value for given type.
30844
592d5c75
L
308452017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30846
30847 [BZ #22101]
30848 * elf/Makefile (tests): Add tst-debug1.
30849 ($(objpfx)tst-debug1): New.
30850 ($(objpfx)tst-debug1.out): Likewise.
30851 ($(objpfx)tst-debug1mod1.so): Likewise.
30852 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30853 with p_filesz == 0.
30854 * elf/tst-debug1.c: New file.
30855
2d9193f2
JM
308562017-09-26 Joseph Myers <joseph@codesourcery.com>
30857
30858 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30859 Define using __ifunc.
30860
4c5a7a02
TMQMF
308612017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30862
30863 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30864 exp2f() values.
30865
12ef66c4
JM
308662017-09-26 Joseph Myers <joseph@codesourcery.com>
30867
30868 [BZ #22156]
30869 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30870
44dade71
FW
308712017-09-26 Florian Weimer <fweimer@redhat.com>
30872
30873 * resolv/Makefile (tests-internal): Fix typo in comment.
30874
eaca16f1
FW
308752017-09-26 Florian Weimer <fweimer@redhat.com>
30876
30877 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30878
ccf970c7
AZ
308792017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30880
5f9f31ad
AZ
30881 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30882 Use an union instead of a max_align_t array for __space,
30883 so that __space is the same size on all platforms.
30884 * malloc/scratch_buffer_grow_preserve.c
30885 (__libc_scratch_buffer_grow_preserve): Likewise.
30886
ccf970c7
AZ
30887 [BZ #22183]
30888 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30889 version to 2.
30890 * posix/Makefile (routines): Add glob-lstat-compat and
30891 glob64-lstat-compat.
30892 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30893 * posix/glob-lstat-compat.c: New file.
30894 * posix/glob64-lstat-compat.c: Likewise.
30895 * posix/tst-glob_lstat_compat.c: Likewise.
30896 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30897 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30898 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30899 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30900 Likewise.
30901 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30902 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30903 * posix/glob.c (glob_lstat): New function.
30904 (glob): Rename to __glob and add versioned symbol to 2.27.
30905 (glob_in_dir): Use glob_lstat.
30906 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30907 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30908 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30909 2.27.
30910 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30911 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30912 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30913 gl_lstat on glob call.
30914 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30915 and glob64 symbols.
30916 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30917 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30918 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30919 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30920 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30921 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30922 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30923 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30924 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30925 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30926 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30927 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30929 Likewise.
30930 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30932 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30934 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30935 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30936 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30939 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30940 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30941 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30942
b4396163
L
309432017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30944
30945 * configure.ac (AS): Require binutils 2.25 or later.
30946 * configure: Regenerated.
30947
8f834987
PP
309482017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30949
30950 [BZ #22207]
30951 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30952 VM size.
30953
3de93d19
DD
309542017-09-25 DJ Delorie <dj@redhat.com>
30955
30956 [BZ #22161]
30957 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30958 resetting timeout.
30959
9947638d
SL
309602017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30961
30962 * sysdeps/ieee754/dbl-64/sincos32.h
30963 [SINCCOS32_H]: Remove define.
30964 [SINCOS32_H]: Define.
30965
f5f0f526
SN
309662017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30967
30968 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30969 (exp2f): Likewise.
30970 * math/w_exp2f.c: New file.
30971 * math/w_expf.c: New file.
30972 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30973 * math/w_expf_compat.c (__expf_compat): Likewise.
30974 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30975 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30976 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30977 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30978 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30979 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30981 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30982 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30983 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30984 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30985 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30986 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30987 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30989 Likewise.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30991 Likewise.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30993 Likewise.
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30995 Likewise.
30996 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30997 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30998 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30999 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31000 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31002 Likewise.
31003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31004 Likewise.
31005 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31006 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31007 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31008
72aa6233
SN
310092017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31010
31011 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31012 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31013 (roundtoint, converttoint): Likewise.
31014 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31015 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31016 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31017 * sysdeps/ieee754/flt-32/math_config.h: New file.
31018 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31019 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31020 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31021 * sysdeps/i386/fpu/math_errf.c: New file.
31022 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31023 * sysdeps/ia64/fpu/math_errf.c: New file.
31024 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31025 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31026
5e6f3253
ST
310272017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31028
31029 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31030 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31031 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31032 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31033 to make sure that these symbols are defined.
b38a42a0
ST
31034 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31035 of <limits.h>
31036 (__need_NULL): Do not define.
31037 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31038 alignment.
31039 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31040 CMGROUP_MAX, cmsgcred): Do not define.
31041 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31042 NULL.
31043 * bits/socket.h: Likewise.
fcafcd16
ST
31044 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31045 __gettimeofday instead of gettimeofday.
31046 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31047 instead of settimeofday.
5e6f3253 31048
2f49ce7d
JM
310492017-09-22 Joseph Myers <joseph@codesourcery.com>
31050
31051 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31052 (asinhf): Define using libm_alias_float.
31053 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31054 (atanf): Define using libm_alias_float.
31055 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31056 (cbrtf): Define using libm_alias_float.
31057 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31058 (ceilf): Define using libm_alias_float.
31059 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31060 <libm-alias-float.h>.
31061 (copysignf): Define using libm_alias_float.
31062 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31063 (cosf): Define using libm_alias_float.
31064 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31065 (erff): Define using libm_alias_float.
31066 (erfcf): Likewise.
31067 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31068 (expm1f): Define using libm_alias_float.
31069 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31070 (fabsf): Define using libm_alias_float.
31071 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31072 (floorf): Define using libm_alias_float.
31073 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31074 (frexpf): Define using libm_alias_float.
31075 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31076 libm_alias_float.
31077 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31078 <libm-alias-float.h>.
31079 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31080 libm_alias_float.
31081 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31082 <libm-alias-float.h>.
31083 (getpayloadf): Define using libm_alias_float.
31084 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31085 <libm-alias-float.h>.
31086 (llrintf): Define using libm_alias_float.
31087 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31088 <libm-alias-float.h>.
31089 (llroundf): Define using libm_alias_float.
31090 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31091 (logbf): Define using libm_alias_float.
31092 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31093 (lrintf): Define using libm_alias_float.
31094 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31095 (lroundf): Define using libm_alias_float.
31096 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31097 (modff): Define using libm_alias_float.
31098 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31099 <libm-alias-float.h>.
31100 (nearbyintf): Define using libm_alias_float.
31101 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31102 <libm-alias-float.h>.
31103 (nextafterf): Define using libm_alias_float.
31104 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31105 <libm-alias-float.h>.
31106 (nextupf): Define using libm_alias_float.
31107 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31108 <libm-alias-float.h>.
31109 (remquof): Define using libm_alias_float.
31110 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31111 (rintf): Define using libm_alias_float.
31112 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31113 <libm-alias-float.h>.
31114 (roundevenf): Define using libm_alias_float.
31115 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31116 (roundf): Define using libm_alias_float.
31117 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31118 using libm_alias_float.
31119 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31120 <libm-alias-float.h>.
31121 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31122 Define using libm_alias_float.
31123 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31124 <libm-alias-float.h>.
31125 (sincosf): Define using libm_alias_float.
31126 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31127 (sinf): Define using libm_alias_float.
31128 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31129 (tanf): Define using libm_alias_float.
31130 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31131 (tanhf): Define using libm_alias_float.
31132 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31133 <libm-alias-float.h>.
31134 (totalorderf): Define using libm_alias_float.
31135 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31136 <libm-alias-float.h>.
31137 (totalordermagf): Define using libm_alias_float.
31138 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31139 (truncf): Define using libm_alias_float.
31140 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31141 libm_alias_float.
31142 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31143 libm_alias_float.
31144
c5c4a626
GG
311452017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31146
31147 [BZ #22146]
31148 math/math.h: Let fpclassify use the builtin in C++ mode, even
31149 when optimazing for size.
31150
23947846
JM
311512017-09-22 Joseph Myers <joseph@codesourcery.com>
31152
31153 * csu/Makefile (generated): Do not add version-info.h.
31154 (before-compile): Likewise.
31155 (all-Banner-files): Remove variable.
31156 ($(objpfx)version-info.h): Remove rule.
31157 * csu/version.c (banner): Do not include "version-info.h".
31158 * libidn/Banner: Remove.
31159 * manual/contrib.texi (Simon Josefsson): New entry.
31160
9ac3c682
GG
311612017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31162
31163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31164 Remove conditionals on LDBL_MANT_DIG.
31165 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31166 (__ieee754_lgammal_r): Likewise.
31167
d2f0ed09
GG
311682017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31169
31170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31171 _Float128 and L().
31172 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31173 _Float128 and L(). Replace _Float128 with long double and L(x)
31174 with xL, throughout the file.
31175 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31176 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31179
c5c2e667
GG
311802017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31181
31182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31183 sysdeps/ieee754/ldbl-128ibm.
31184 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31185 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31186 of including it. Keep _Float128 and L() intact. These will be
31187 reviewed by a separate patch.
31188 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31192
e010deb2
GG
311932017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31194
31195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31196 (__finitef128): Define to __redirect___finitef128.
31197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31198 (__isinff128): Define to __redirect___isinff128.
31199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31200 (__isnanf128): Define to __redirect___isnanf128.
31201
ffa44804
GG
312022017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31203
31204 * sysdeps/powerpc/powerpc64le/Makefile
31205 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31206 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31207
e5e4d7cc
PP
312082017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31209 Carlos O'Donell <carlos@redhat.com>
31210
31211 [BZ #22180]
31212 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31213 * stdlib/test-dlclose-exit-race.c: New file.
31214 * stdlib/test-dlclose-exit-race-helper.c: New file.
31215 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31216
c10c5267
JM
312172017-09-21 Joseph Myers <joseph@codesourcery.com>
31218
31219 * crypt/Banner: Remove file.
31220 * nptl/Banner: Likewise.
31221 * resolv/Banner: Likewise.
31222 * soft-fp/Banner: Likewise.
31223 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31224 ($(objpfx)version.d): Remove dependency on banner.h.
31225 ($(objpfx)version.os): Likewise.
31226 * nptl/version.c (banner): Do not include banner.h.
31227 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31228 Jelinek and BIND code.
31229
1cc9e59a
PP
312302017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31231 Carlos O'Donell <carlos@redhat.com>
31232
31233 * support/xdlfcn.h: New file.
31234 * support/xdlfcn.c: New file.
31235 * support/Makefile (libsupport-routines): Add xdlfcn.
31236 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31237
ae8372d7
JM
312382017-09-20 Joseph Myers <joseph@codesourcery.com>
31239
31240 [BZ #20142]
31241 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31242 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31243 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31244 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31246 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31248 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31249
26e70aec 312502017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
31251 Ricky Zhou <rickyz@google.com>
31252 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
31253
31254 [BZ #14333]
31255 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31256 Remove atomics.
31257 (__new_exitfn): Fail registration when we finished at_exit processing.
31258 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31259 * stdlib/on_exit.c (__on_exit): Likewise.
31260 * stdlib/exit.c (__exit_funcs_done): New variable.
31261 (__run_exit_handlers): Use __exit_funcs_lock.
31262 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31263 declarations.
31264 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31265 (test-cxa_atexit-race, test-on_exit-race): New tests.
31266 * stdlib/test-atexit-race-common.c: New file.
31267 * stdlib/test-atexit-race.c: New file.
31268 * stdlib/test-at_quick_exit-race.c: New file.
31269 * stdlib/test-cxa_atexit-race.c: New file.
31270 * stdlib/test-on_exit-race.c: New file.
31271
0525ce48
SN
312722017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31273
31274 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31275 * benchtests/exp2f-inputs: Copy of expf-inputs.
31276 * benchtests/log2f-inputs: Copy of logf-inputs.
31277
d82468d1
JM
312782017-09-19 Joseph Myers <joseph@codesourcery.com>
31279
31280 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31281 Explicitly take address of first element of array arguments in
31282 call to INLINE_SYSCALL.
31283
43ffc53a
AS
312842017-09-19 Andreas Schwab <schwab@suse.de>
31285
31286 [BZ #22134]
31287 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31288 execveat first.
31289 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31290 unimplemented.
31291 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31292 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31293 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31294 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31295 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31296 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31298 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31299 * posix/Makefile (tests): Add tst-fexecve.
31300 * posix/tst-fexecve.c: New file.
31301
a5dcc87e
WD
313022017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31303
31304 * benchtests/Makefile: Add logf benchmark.
31305 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31306
7024d544
WD
313072017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31308
31309 * benchtests/Makefile: Add expf benchmark.
31310 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31311
ca3a382e
WD
313122017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31313
31314 * csu/Makefile: Add -funwind-tables to libc-start.c.
31315 * debug/Makefile: Add -funwind-tables to backtrace.c.
31316 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31317 * sysdeps/arm/Makefile: Likewise.
31318 * sysdeps/i386/Makefile: Likewise.
31319 * sysdeps/m68k/Makefile: Likewise.
31320 * sysdeps/mips/Makefile: Likewise.
31321 * sysdeps/nios2/Makefile: Likewise.
31322 * sysdeps/sh/Makefile: Likewise.
31323 * sysdeps/sparc/Makefile: Likewise.
31324
eb375def
JM
313252017-09-19 Joseph Myers <joseph@codesourcery.com>
31326
31327 * benchtests/Makefile (bench-math): Add trunc and truncf.
31328 (CFLAGS-bench-trunc.c): New variable.
31329 (CFLAGS-bench-truncf.c): Likewise.
31330 * benchtests/trunc-inputs: New file.
31331 * benchtests/truncf-inputs: Likewise.
31332
bd17ba29
RS
313332017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31334
31335 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31336
92892fdb
JM
313372017-09-18 Joseph Myers <joseph@codesourcery.com>
31338
6d9b0b5a
JM
31339 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31340 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31341 redefine.
31342 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31343 (exp10l): Define as weak alias.
31344 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31345 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31346 and redefine.
31347 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31348 (remainderl): Define as weak alias.
31349
92892fdb
JM
31350 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31351 (fmal): Define using libm_alias_ldouble.
31352 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31353 (acoshl): Define using libm_alias_ldouble.
31354 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31355 (acosl): Define using libm_alias_ldouble.
31356 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31357 (asinl): Define using libm_alias_ldouble.
31358 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31359 (atan2l): Define using libm_alias_ldouble.
31360 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31361 (atanhl): Define using libm_alias_ldouble.
31362 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31363 (coshl): Define using libm_alias_ldouble.
31364 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31365 (exp10l): Define using libm_alias_ldouble.
31366 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31367 (exp2l): Define using libm_alias_ldouble.
31368 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31369 (expl): Define using libm_alias_ldouble.
31370 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31371 (fmodl): Define using libm_alias_ldouble.
31372 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31373 (hypotl): Define using libm_alias_ldouble.
31374 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31375 (j0l): Define using libm_alias_ldouble.
31376 (y0l): Likewise.
31377 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31378 (j1l): Define using libm_alias_ldouble.
31379 (y1l): Likewise.
31380 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31381 (jnl): Define using libm_alias_ldouble.
31382 (ynl): Likewise.
31383 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31384 (log10l): Define using libm_alias_ldouble.
31385 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31386 (log2l): Define using libm_alias_ldouble.
31387 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31388 (logl): Define using libm_alias_ldouble.
31389 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31390 (powl): Define using libm_alias_ldouble.
31391 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31392 (remainderl): Define using libm_alias_ldouble.
31393 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31394 (sinhl): Define using libm_alias_ldouble.
31395 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31396 (sqrtl): Define using libm_alias_ldouble.
31397 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31398 (tgammal): Define using libm_alias_ldouble.
31399 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31400 (exp10l): Do not use long_double_symbol here.
31401 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31402 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31403 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31404 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31405 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31406 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31407 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31408 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31409 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31410 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31411 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31412 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31413 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31414 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31415 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31416 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31417 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31418 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31419 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31420 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31421 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31422 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31423
6cd380dd
WB
314242017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31425
31426 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31427 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31428
1c6d89e9
ST
314292017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31430
31431 * io/read.c (read): Add libc_hidden_weak.
31432 * sysdeps/mach/hurd/read.c (read): Likewise.
31433 * io/write.c (write): Likewise.
31434 * sysdeps/mach/hurd/write.c (write): Likewise.
31435 * io/pread64.c (__pread64): Likewise.
31436 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31437 * posix/pread64.c (__pread64): Add libc_hidden_def.
31438
06b1de23
SP
314392017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31440
140647ea
SP
31441 * benchtests/scripts/compare_strings.py: New option -g.
31442 (draw_graph): Print a message that a graph is being generated.
31443 (process_results): Generate graph only if -g is passed.
31444 (main): Process option -g.
31445
5a6547b7
SP
31446 * benchtests/scripts/compare_strings.py (process_results):
31447 Better spacing for output.
31448
06b1de23
SP
31449 * benchtests/scripts/compare_strings.py: Use argparse.
31450 * benchtests/README: Document existence of compare_strings.py.
31451
c67a2328
JM
314522017-09-15 Joseph Myers <joseph@codesourcery.com>
31453
9ac44708
JM
31454 * math/s_fma.c: Include <libm-alias-double.h>.
31455 (fma): Define using libm_alias_double.
31456 * math/s_nextafter.c: Include <libm-alias-double.h>.
31457 (nextafter): Define using libm_alias_double.
31458 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31459 (acos): Define using libm_alias_double.
31460 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31461 (aocsh): Define using libm_alias_double.
31462 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31463 (asin): Define using libm_alias_double.
31464 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31465 (atan2): Define using libm_alias_double.
31466 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31467 (atanh): Define using libm_alias_double.
31468 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31469 (cosh): Define using libm_alias_double.
31470 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31471 (exp10): Define using libm_alias_double.
31472 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31473 (exp2): Define using libm_alias_double.
31474 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31475 (exp): Define using libm_alias_double.
31476 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31477 (fmod): Define using libm_alias_double.
31478 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31479 (hypot): Define using libm_alias_double.
31480 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31481 (j0): Define using libm_alias_double.
31482 (y0): Likewise.
31483 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31484 (j1): Define using libm_alias_double.
31485 (y1): Likewise.
31486 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31487 (jn): Define using libm_alias_double.
31488 (yn): Likewise.
31489 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31490 (log10): Define using libm_alias_double.
31491 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31492 (log2): Define using libm_alias_double.
31493 * math/w_log_compat.c: Include <libm-alias-double.h>.
31494 (log): Define using libm_alias_double.
31495 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31496 (pow): Define using libm_alias_double.
31497 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31498 (remainder): Define using libm_alias_double.
31499 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31500 (sinh): Define using libm_alias_double.
31501 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31502 (sqrt): Define using libm_alias_double.
31503 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31504 (tgamma): Define using libm_alias_double.
31505 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31506 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31507 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31508 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31509 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31510 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31511 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31512 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31513 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31514 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31515 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31516 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31517 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31518 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31519 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31520 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31521 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31522 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31523 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31524 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31525 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31526 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31527 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31528 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31529 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31530
c67a2328
JM
31531 * math/e_acoshl.c: Remove.
31532 * math/e_acosl.c: Likewise.
31533 * math/e_asinl.c: Likewise.
31534 * math/e_atan2l.c: Likewise.
31535 * math/e_atanhl.c: Likewise.
31536 * math/e_coshl.c: Likewise.
31537 * math/e_expl.c: Likewise.
31538 * math/e_fmodl.c: Likewise.
31539 * math/e_gammal_r.c: Likewise.
31540 * math/e_hypotl.c: Likewise.
31541 * math/e_j0l.c: Likewise.
31542 * math/e_j1l.c: Likewise.
31543 * math/e_jnl.c: Likewise.
31544 * math/e_lgammal_r.c: Likewise.
31545 * math/e_log10l.c: Likewise.
31546 * math/e_log2l.c: Likewise.
31547 * math/e_logl.c: Likewise.
31548 * math/e_powl.c: Likewise.
31549 * math/e_rem_pio2l.c: Likewise.
31550 * math/e_sinhl.c: Likewise.
31551 * math/e_sqrtf128.c: Likewise.
31552 * math/e_sqrtl.c: Likewise.
31553 * math/k_cosl.c: Likewise.
31554 * math/k_sinl.c: Likewise.
31555 * math/k_tanl.c: Likewise.
31556 * math/s_asinhl.c: Likewise.
31557 * math/s_atanl.c: Likewise.
31558 * math/s_cbrtl.c: Likewise.
31559 * math/s_erfl.c: Likewise.
31560 * math/s_expm1l.c: Likewise.
31561 * math/s_log1pl.c: Likewise.
31562 * math/s_tanhl.c: Likewise.
31563
61c45f25
TMQMF
315642017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31565
31566 [BZ #21745]
31567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31568 [$(subdir) = math] (sysdep_calls): New variable. Has the
31569 previous contents of sysdep_routines, but re-sorted..
31570 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31571 sysdep_calls.
31572 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31573 defined in sysdep_calls and replace by the respective m_* names.
31574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31575 (compat_symbol): Undefine to avoid duplicated compat symbols in
31576 libc.
31577
5bcdb315
JM
315782017-09-15 Joseph Myers <joseph@codesourcery.com>
31579
31580 * math/s_fmaf.c: Include <libm-alias-float.h>.
31581 (fmaf): Define using libm_alias_float.
31582 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31583 (acosf): Define using libm_alias_float.
31584 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31585 (acoshf): Define using libm_alias_float.
31586 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31587 (asinf): Define using libm_alias_float.
31588 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31589 (atan2f): Define using libm_alias_float.
31590 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31591 (atanhf): Define using libm_alias_float.
31592 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31593 (coshf): Define using libm_alias_float.
31594 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31595 (exp10f): Define using libm_alias_float.
31596 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31597 (fmodf): Define using libm_alias_float.
31598 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31599 (hypotf): Define using libm_alias_float.
31600 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31601 (j0f): Define using libm_alias_float.
31602 (y0f): Likewise.
31603 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31604 (j1f): Define using libm_alias_float.
31605 (y1f): Likewise.
31606 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31607 (jnf): Define using libm_alias_float.
31608 (ynf): Likewise.
31609 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31610 (log10f): Define using libm_alias_float.
31611 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31612 (log2f): Define using libm_alias_float.
31613 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31614 (logf): Define using libm_alias_float.
31615 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31616 (powf): Define using libm_alias_float.
31617 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31618 (remainderf): Define using libm_alias_float.
31619 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31620 (sinhf): Define using libm_alias_float.
31621 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31622 (sqrtf): Define using libm_alias_float.
31623 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31624 (tgammaf): Define using libm_alias_float.
31625
01f28812
JM
316262017-09-14 Joseph Myers <joseph@codesourcery.com>
31627
31628 * include/math.h (roundeven): Change hidden_proto call to
31629 __roundeven.
31630 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31631 alias.
31632 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31633 (y0): Rename to __y0 and define as weak alias.
31634 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31635 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31636 alias.
31637 (y0f): Rename to __y0f and define as weak alias.
31638 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31639 alias.
31640 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31641 (y1): Rename to __y1 and define as weak alias.
31642 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31643 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31644 alias.
31645 (y1f): Rename to __y1f and define as weak alias.
31646 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31647 alias.
31648 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31649 (yn): Rename to __yn and define as weak alias.
31650 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31651 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31652 alias.
31653 (ynf): Rename to __ynf and define as weak alias.
31654 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31655 (fromfp): Define as weak alias.
31656 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31657 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31658 (fromfpx): Define as weak alias.
31659 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31660 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31661 __getpayload and define as weak alias.
31662 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31663 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31664 __roundeven and define as weak alias.
31665 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31666 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31667 __setpayload.
31668 (setpayload): Define as weak alias.
31669 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31670 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31671 __setpayloadsig.
31672 (setpayloadsig): Define as weak alias.
31673 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31674 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31675 __totalorder and define as weak alias.
31676 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31677 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31678 to __totalordermag and define as weak alias.
31679 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31680 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31681 (ufromfp): Define as weak alias.
31682 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31683 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31684 __ufromfpx.
31685 (ufromfpx): Define as weak alias.
31686 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31687 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31688 Rename to __getpayload and define as weak alias.
31689 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31690 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31691 Rename to __roundeven and define as weak alias.
31692 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31693 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31694 Rename to __totalorder and define as weak alias.
31695 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31696 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31697 (totalordermag): Rename to __totalordermag and define as weak
31698 alias.
31699 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31700 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31701 macro.
31702 (__roundevenl): Likewise.
31703 (__totalorderl): Likewise.
31704 (__totalordermagl): Likewise
31705 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31706 __fromfpf128.
31707 (fromfpf128): Define as weak alias.
31708 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31709 __fromfpxf128.
31710 (fromfpxf128): Define as weak alias.
31711 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31712 __setpayloadf128.
31713 (setpayloadf128): Define as weak alias.
31714 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31715 __setpayloadsigf128.
31716 (setpayloadsigf128): Define as weak alias.
31717 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31718 __ufromfpf128.
31719 (ufromfpf128): Define as weak alias.
31720 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31721 __ufromfpxf128.
31722 (ufromfpxf128): Define as weak alias.
31723 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31724 (fromfpf): Define as weak alias.
31725 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31726 __fromfpxf.
31727 (fromfpxf): Define as weak alias.
31728 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31729 __getpayloadf and define as weak alias.
31730 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31731 __roundevenf and define as weak alias.
31732 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31733 __setpayloadf.
31734 (setpayloadf): Define as weak alias.
31735 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31736 __setpayloadsigf.
31737 (setpayloadsigf): Define as weak alias.
31738 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31739 __totalorderf and define as weak alias.
31740 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31741 Rename to __totalordermagf and define as weak alias.
31742 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31743 __ufromfpf.
31744 (ufromfpf): Define as weak alias.
31745 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31746 __ufromfpxf.
31747 (ufromfpxf): Define as weak alias.
31748 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31749 __fromfpl.
31750 (fromfpl): Define as weak alias.
31751 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31752 __fromfpxl.
31753 (fromfpxl): Define as weak alias.
31754 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31755 to __getpayloadl and define as weak alias.
31756 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31757 __roundevenl and define as weak alias.
31758 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31759 __setpayloadl.
31760 (setpayloadl): Define as weak alias.
31761 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31762 __setpayloadsigl.
31763 (setpayloadsigl): Define as weak alias.
31764 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31765 to __totalorderl and define as weak alias.
31766 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31767 Rename to __totalordermagl and define as weak alias.
31768 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31769 __ufromfpl.
31770 (ufromfpl): Define as weak alias.
31771 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31772 __ufromfpxl.
31773 (ufromfpxl): Define as weak alias.
31774 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31775 __fromfpl.
31776 (fromfpl): Define as weak alias.
31777 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31778 __fromfpxl.
31779 (fromfpxl): Define as weak alias.
31780 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31781 Rename to __getpayloadl and define as weak alias.
31782 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31783 to __roundevenl and define as weak alias. Call __roundeven
31784 instead of roundeven.
31785 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31786 __setpayloadl.
31787 (setpayloadl): Define as weak alias.
31788 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31789 __setpayloadsigl.
31790 (setpayloadsigl): Define as weak alias.
31791 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31792 Rename to __totalorderl and define as weak alias.
31793 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31794 Rename to __totalordermagl and define as weak alias.
31795 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31796 __ufromfpl.
31797 (ufromfpl): Define as weak alias.
31798 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31799 __ufromfpxl.
31800 (ufromfpxl): Define as weak alias.
31801 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31802 __fromfpl.
31803 (fromfpl): Define as weak alias.
31804 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31805 __fromfpxl.
31806 (fromfpxl): Define as weak alias.
31807 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31808 __getpayloadl and define as weak alias.
31809 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31810 __roundevenl and define as weak alias.
31811 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31812 __setpayloadl.
31813 (setpayloadl): Define as weak alias.
31814 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31815 __setpayloadsigl.
31816 (setpayloadsigl): Define as weak alias.
31817 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31818 __totalorderl and define as weak alias.
31819 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31820 Rename to __totalordermagl and define as weak alias.
31821 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31822 __ufromfpl.
31823 (ufromfpl): Define as weak alias.
31824 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31825 __ufromfpxl.
31826 (ufromfpxl): Define as weak alias.
31827
29c933fb
SP
318282017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31829
503c92c3
SP
31830 * benchtests/bench-string.h (realloc_bufs): New function.
31831 (test_init): Call it.
31832 * benchtests/bench-memset-large.c (do_test): Likewise.
31833 * benchtests/bench-memset.c (do_test): Likewise.
31834
29c933fb
SP
31835 * benchtests/bench-memset-large.c: Print output in JSON
31836 format.
31837 * benchtests/bench-memset.c: Likewise.
31838
799c8d69
MF
318392017-09-14 Mike FABIAN <mfabian@redhat.com>
31840
31841 [BZ #21084]
31842 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31843 * iconvdata/Makefile: Add IBM858.
31844 * iconvdata/gconv-modules: Likewise.
31845 * iconvdata/tst-tables.sh: Likewise.
31846 * iconvdata/ibm858.c: New file.
31847 * localedata/charmaps/IBM858: Likewise.
31848
c207f7ce 318492017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
31850
31851 [BZ #22023]
31852 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31853 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31854
f28a0926
AK
318552017-09-14 Mike FABIAN <mfabian@redhat.com>
31856
31857 [BZ #22112]
31858 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31859 and add tel_int_fmt.
31860
02093e62
JM
318612017-09-14 Joseph Myers <joseph@codesourcery.com>
31862
31863 * sysdeps/generic/libm-alias-float128.h: New file.
31864 * sysdeps/generic/math-type-macros-float128.h: Include
31865 <libm-alias-float128.h>.
31866 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31867
1aae75ef
JM
318682017-09-13 Joseph Myers <joseph@codesourcery.com>
31869
31870 * sysdeps/generic/libm-alias-ldouble.h: New file.
31871 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31872 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31873 * sysdeps/generic/math-type-macros-ldouble.h: Include
31874 <libm-alias-ldouble.h>.
31875 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31876 libm_alias_ldouble.
31877
bcea7ad6
SN
318782017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31879
31880 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31881 * math/w_exp_compat.c: ... here.
31882 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31883 * math/w_expf_compat.c: ... here.
31884 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31885 * math/w_expl_compat.c: ... here.
31886 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31887 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31888 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31889 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31890
0fc56478
JM
318912017-09-13 Joseph Myers <joseph@codesourcery.com>
31892
31893 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31894 redefine.
31895 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31896 macro.
31897 (ldexpl): Only define as compat symbol for libc, not libm.
31898 (scalbnl): Define as compat symbol for libc here.
31899 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31900 define for [IS_IN (libc)].
31901 (__ldexpl_2): Remove alias.
31902 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31903 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31904 name in long_double_symbol call.
31905 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31906 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31907 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31908 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31909 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31910 Remove macro.
31911 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31912 Define as compat symbol.
31913
3ca622e4
AZ
319142017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31915
31916 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31917 * sysdeps/unix/sysv/linux/alpha/Makefile
31918 [$(subdir) = csu] (sysdep_routines): Remove rule.
31919
620ff9ee
JM
319202017-09-13 Joseph Myers <joseph@codesourcery.com>
31921
31922 * sysdeps/generic/libm-alias-double.h: New file.
31923 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31924 * sysdeps/generic/math-type-macros-double.h: Include
31925 <libm-alias-double.h>.
31926 [declare_mgen_alias] (declare_mgen_alias): Define to use
31927 libm_alias_double.
31928 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31929 (M_LIBM_NEED_COMPAT): Remove macro.
31930 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31931 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31932 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31933 code.
31934 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31935 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31936 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31937 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31938 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31939 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31940 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31941 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31942 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31943 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31944 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31945 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31946 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31947 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31948 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31949 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31950 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31951 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31952 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31953 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31954 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31955 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31956 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31957 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31958 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31959 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31960 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31961 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31962 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31963 macro.
31964 (declare_mgen_alias): New macro.
31965 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31966 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31968 (M_LIBM_NEED_COMPAT): Remove macro.
31969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31970 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31971 <first-versions.h>.
31972 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31973 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31974
a891caff
JM
319752017-09-12 Joseph Myers <joseph@codesourcery.com>
31976
31977 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31978 (declare_mgen_alias_2): Remove.
31979 * sysdeps/generic/math-type-macros-double.h
31980 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31981 Likewise.
31982 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31983 alias.
31984 (ldexp): Define with declare_mgen_alias.
31985 (scalbn): Likewise.
31986
a1a78204
SE
319872017-09-12 Steve Ellcey <sellcey@cavium.com>
31988
31989 * grp/initgroups.c: Include config.h.
31990 (DEFAULT_CONFIG): New macro.
31991 (internal_getgrouplist): Use DEFAULT_CONFIG.
31992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31993 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31994 (DEFAULT_DEFCONFIG): New macro.
31995 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31996 * nss/grp-lookup.c: Include config.h
31997 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31998 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31999 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32000 * manual/nss.texi: Update default values section.
32001
ef8adeb0
L
320022017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32003
32004 [BZ #21967]
32005 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32006 New.
32007 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32008 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32009 Handle MathVec_Prefer_No_AVX512.
32010 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32011 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32012 is set.
32013
a166531f
ST
320142017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32015
32016 * posix/sched_primax.c (__sched_get_priority_max): Add
32017 libc_hidden_def.
32018 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32019 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32020 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32021 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32022 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32023 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32024 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32025 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32026 Add aliases.
32027
4b7d1efb
JM
320282017-09-11 Joseph Myers <joseph@codesourcery.com>
32029
32030 * sysdeps/generic/libm-alias-float.h: New file.
32031 * sysdeps/generic/math-type-macros-float.h: Include
32032 <libm-alias-float.h>.
32033 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32034
45ff3463
L
320352017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32036
32037 [BZ #22093]
32038 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32039 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32040 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32041 (HWCAP_IMPORTANT): Likewise.
32042 (HWCAP_X86_64): New enum.
32043 (HWCAP_X86_AVX512_1): Updated.
32044 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32045 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32046 (modules-names): Add x86_64/tst-x86_64mod-1.
32047 (LDFLAGS-tst-x86_64mod-1.so): New.
32048 ($(objpfx)tst-x86_64-1): Likewise.
32049 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32050 (tst-x86_64-1-clean): Likewise.
32051 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32052 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32053
891abfd3
SP
320542017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32055
32056 * po/sv.po: Update translations.
32057 * po/fr.po: Likewise.
32058
00c3da43
ST
320592017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32060
32061 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32062 seconds.
3bdfd9fb
ST
32063 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32064 seconds.
65b22ebc 32065 * elf/rtld-Rules: Fix $(error) use.
00c3da43 32066
96480903
MF
320672017-09-09 Mike FABIAN <mfabian@redhat.com>
32068
32069 [BZ #14925]
32070 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32071 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32072 * localedata/locales/bn_BD: “Bengali” was still used in some
32073 comments. Change it to “Bangla”.
32074
4c03a696
MT
320752017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32076
32077 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32078
9c9ec581
SE
320792017-09-08 Steve Ellcey <sellcey@cavium.com>
32080
32081 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32082 thunderx2t99p1 to list of cpu names.
32083 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32084 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32085
f00bce74
SE
320862017-09-08 Steve Ellcey <sellcey@cavium.com>
32087
32088 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32089 Use strcmp instead of tunable_is_name.
32090
27342d17
JM
320912017-09-08 Joseph Myers <joseph@codesourcery.com>
32092
af1b7c8c
JM
32093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32094 (F_GET_RW_HINT): New macro.
32095 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32096 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32097 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32098 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32099 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32100 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32101 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32102 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32103 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32104
27342d17
JM
32105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32106 (F_ADD_SEALS): New macro.
32107 [__USE_GNU] (F_GET_SEALS): Likewise.
32108 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32109 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32110 [__USE_GNU] (F_SEAL_GROW): Likewise.
32111 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32112
c66c9082
AZ
321132017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32114
07b4f49d
AZ
32115 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32116 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32117 * posix/glob_internal.h (__glob_pattern_type):
32118 * posix/glob.c (glob):
32119 * posix/glob_pattern_p.c (__glob_pattern_p):
32120 Use them.
32121
116f1c64
AZ
32122 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32123 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32124 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32125 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32126 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32128 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32129 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32130 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32131 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32133 * sysdeps/wordsize-64/glob.c: Likewise.
32134 * sysdeps/wordsize-64/glob64.c: Likewise.
32135 * sysdeps/wordsize-64/globfree.c: Likewise.
32136 * sysdeps/wordsize-64/globfree64.c: Likewise.
32137 * sysdeps/unix/sysv/linux/glob.c: New file.
32138 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32139 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32140 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32141 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32142 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32143 adds !GLOB_NO_OLD_VERSION as an extra condition.
32144 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32145 using relative path instead of absolute one.
32146 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32147 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32148 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32149 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32150 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32151 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32152
ffca8901
AZ
32153 [BZ #1062]
32154 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32155 (glob): Use the same scratch buffer for both getlogin_r and
32156 getpwnam_r. Don’t require preallocation of the login name. This
32157 simplifies storage allocation, and corrects the handling of
32158 long login names.
32159
5a79f975
AZ
32160 [BZ #1062]
32161 * posix/glob.c (glob): Port recent patches to platforms
32162 lacking getpwnam_r.
32163 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32164 returns an error number rather than setting errno.
32165
e00f2425
AZ
32166 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32167 instead of GCC extension.
32168 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32169 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32170 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32171
5554304f
AZ
32172 [BZ #866]
32173 [BZ #1062]
32174 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32175 * posix/bug-glob1.c: Remove file.
32176 * posix/tst-glob_symlinks.c: New file.
32177 * posix/glob.c (__lstat64): New macro.
32178 (is_dir): New function.
32179 (glob, glob_in_dir): Match symlinks even if they are dangling.
32180 (link_stat, link_exists_p): Remove. All uses removed.
32181
686f2ea1
AZ
32182 [BZ #1062]
32183 [BZ #19971]
32184 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32185 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32186 All uses removed.
32187
c66c9082 32188 [BZ #1062]
914c9994 32189 CVE-2017-15671
c66c9082
AZ
32190 * posix/Makefile (routines): Add globfree, globfree64, and
32191 glob_pattern_p.
32192 * posix/flexmember.h: New file.
32193 * posix/glob_internal.h: Likewise.
32194 * posix/glob_pattern_p.c: Likewise.
32195 * posix/globfree.c: Likewise.
32196 * posix/globfree64.c: Likewise.
32197 * sysdeps/gnu/globfree64.c: Likewise.
32198 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32199 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32200 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32201 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32202 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32203 * sysdeps/wordsize-64/globfree.c: Likewise.
32204 * sysdeps/wordsize-64/globfree64.c: Likewise.
32205 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32206 [NDEBUG): Remove comments.
32207 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32208 (dirent_type): New type. Use uint_fast8_t not
32209 uint8_t, as C99 does not require uint8_t.
32210 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32211 (struct readdir_result): Use dirent_type. Do not define skip_entry
32212 unless it is needed; this saves a byte on platforms lacking d_ino.
32213 (readdir_result_type, readdir_result_skip_entry):
32214 New functions, replacing ...
32215 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 32216 these functions, which were removed. This makes the callers
c66c9082
AZ
32217 easier to read. All callers changed.
32218 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32219 (size_add_wrapv, glob_use_alloca): New static functions.
32220 (glob, glob_in_dir): Check for size_t overflow in several places,
32221 and fix some size_t checks that were not quite right.
32222 Remove old code using SHELL since Bash no longer
32223 uses this.
32224 (glob, prefix_array): Separate MS code better.
32225 (glob_in_dir): Remove old Amiga and VMS code.
32226 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32227 separate files.
32228 (glob_in_dir): Do not rely on undefined behavior in accessing
32229 struct members beyond their bounds. Use a flexible array member
32230 instead
32231 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32232 0/1. Caller changed.
32233 (glob): Fix memory leaks.
32234 * posix/glob64 (globfree64): Move to separate file.
32235 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32236 (globfree64): Remove hidden alias.
32237 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32238 oldglob.
32239 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32240 separate file.
32241 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32242 define.
32243 Move compat code to separate file.
32244 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32245 separate file.
32246
78bfa877
L
322472017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32248
32249 * resolv/tst-resolv-qtypes.c (domain): Changed to
32250 "const char domain[] =".
32251
05f0011f
JM
322522017-09-07 Joseph Myers <joseph@codesourcery.com>
32253
85bec0f2
JM
32254 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32255 version to 3.1.6.
32256
5c23ee6e
JM
32257 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32258 (TCP_MD5SIG_EXT): Likewise.
32259 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32260 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32261 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32262
05f0011f
JM
32263 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32264
7c9c5be9
MF
322652017-09-07 Mike FABIAN <mfabian@redhat.com>
32266
32267 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32268
c207f7ce 322692017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
32270
32271 [BZ #22100]
32272 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32273
507fe027
ST
322742017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32275
32276 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32277 before assuming that the file is empty. Avoid testing buffer content
32278 when nread == 0.
32279
65687ac7
AZ
322802017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32281
7bbbb4b9 32282 [BZ #18858]
65687ac7
AZ
32283 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32284 Remove define.
32285 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32286 Likewise.
32287 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32288 Likewise.
32289 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32290 Likewise.
32291 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32292 Likewise.
32293 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32294 Likewise.
32295 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32296 Likewise.
32297
ab5ac271
FW
322982017-09-06 Florian Weimer <fweimer@redhat.com>
32299
32300 * malloc/dynarray_emplace_enlarge.c
32301 (__libc_dynarray_emplace_enlarge): Add missing else.
32302
a8304730
FW
323032017-09-06 Florian Weimer <fweimer@redhat.com>
32304
32305 [BZ #22096]
32306 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32307 case of failure to obtain the global conf object.
32308
5670c4ab
FW
323092017-09-06 Florian Weimer <fweimer@redhat.com>
32310
32311 [BZ #22095]
32312 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32313 dynarray allocation failure.
32314
c77eb969
FW
323152017-09-06 Florian Weimer <fweimer@redhat.com>
32316
32317 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32318 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32319 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32320 New functions.
32321 (response): Call them. Add 'p', '6' flag processing.
32322 (test_reverse): New function.
32323 (test_get2_any): Call it.
32324 (test_no_inet6): Add 'p' test.
32325 (test_inet6): Likewise.
32326
5e9c4d17
FW
323272017-09-06 Florian Weimer <fweimer@redhat.com>
32328
32329 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32330 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32331 the QNAME.
32332 (test_gai): Adjust query names. Add additional tests.
32333 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32334 test_get2. Adjust query names. Add additional tests.
32335 (test_no_inet6): New function, extracted from threadfunc.
32336 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32337 Add additional tests.
32338
2ae5be04
MF
323392017-09-06 Mike FABIAN <mfabian@redhat.com>
32340
32341 [BZ #22070]
32342 * localedata/unicode-gen/utf8_gen.py: Set the width for
32343 characters with Prepended_Concatenation_Mark property to 1
32344 * localedata/charmaps/UTF-8: Updated using the improved script.
32345
af83ed5c
MF
323462017-09-06 Mike FABIAN <mfabian@redhat.com>
32347
32348 [BZ #21750]
32349 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32350 use the range notation for all ranges of neighbouring characters
32351 with the same width.
32352
4f3647e4
JM
323532017-09-05 Joseph Myers <joseph@codesourcery.com>
32354
32355 * sysdeps/generic/math-type-macros-double.h: Include
32356 <math-svid-compat.h>.
32357 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32358 * sysdeps/generic/math-type-macros-float.h: Include
32359 <math-svid-compat.h>.
32360 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32361 * sysdeps/generic/math-type-macros-ldouble.h: Include
32362 <math-svid-compat.h>.
32363 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32364 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32365 condition.
32366 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32367 * math/w_acosf_compat.c: Likewise.
32368 * math/w_acosh_compat.c: Likewise.
32369 * math/w_acoshf_compat.c: Likewise.
32370 * math/w_acoshl_compat.c: Likewise.
32371 * math/w_acosl_compat.c: Likewise.
32372 * math/w_asin_compat.c: Likewise.
32373 * math/w_asinf_compat.c: Likewise.
32374 * math/w_asinl_compat.c: Likewise.
32375 * math/w_atan2_compat.c: Likewise.
32376 * math/w_atan2f_compat.c: Likewise.
32377 * math/w_atan2l_compat.c: Likewise.
32378 * math/w_atanh_compat.c: Likewise.
32379 * math/w_atanhf_compat.c: Likewise.
32380 * math/w_atanhl_compat.c: Likewise.
32381 * math/w_cosh_compat.c: Likewise.
32382 * math/w_coshf_compat.c: Likewise.
32383 * math/w_coshl_compat.c: Likewise.
32384 * math/w_exp10_compat.c: Likewise.
32385 * math/w_exp10f_compat.c: Likewise.
32386 * math/w_exp10l_compat.c: Likewise.
32387 * math/w_exp2_compat.c: Likewise.
32388 * math/w_exp2f_compat.c: Likewise.
32389 * math/w_exp2l_compat.c: Likewise.
32390 * math/w_fmod_compat.c: Likewise.
32391 * math/w_fmodf_compat.c: Likewise.
32392 * math/w_fmodl_compat.c: Likewise.
32393 * math/w_hypot_compat.c: Likewise.
32394 * math/w_hypotf_compat.c: Likewise.
32395 * math/w_hypotl_compat.c: Likewise.
32396 * math/w_j0_compat.c: Likewise.
32397 * math/w_j0f_compat.c: Likewise.
32398 * math/w_j0l_compat.c: Likewise.
32399 * math/w_j1_compat.c: Likewise.
32400 * math/w_j1f_compat.c: Likewise.
32401 * math/w_j1l_compat.c: Likewise.
32402 * math/w_jn_compat.c: Likewise.
32403 * math/w_jnf_compat.c: Likewise.
32404 * math/w_jnl_compat.c: Likewise.
32405 * math/w_lgamma_r_compat.c: Likewise.
32406 * math/w_lgammaf_r_compat.c: Likewise.
32407 * math/w_lgammal_r_compat.c: Likewise.
32408 * math/w_log10_compat.c: Likewise.
32409 * math/w_log10f_compat.c: Likewise.
32410 * math/w_log10l_compat.c: Likewise.
32411 * math/w_log2_compat.c: Likewise.
32412 * math/w_log2f_compat.c: Likewise.
32413 * math/w_log2l_compat.c: Likewise.
32414 * math/w_log_compat.c: Likewise.
32415 * math/w_logf_compat.c: Likewise.
32416 * math/w_logl_compat.c: Likewise.
32417 * math/w_pow_compat.c: Likewise.
32418 * math/w_powf_compat.c: Likewise.
32419 * math/w_powl_compat.c: Likewise.
32420 * math/w_remainder_compat.c: Likewise.
32421 * math/w_remainderf_compat.c: Likewise.
32422 * math/w_remainderl_compat.c: Likewise.
32423 * math/w_sinh_compat.c: Likewise.
32424 * math/w_sinhf_compat.c: Likewise.
32425 * math/w_sinhl_compat.c: Likewise.
32426 * math/w_sqrt_compat.c: Likewise.
32427 * math/w_sqrtf_compat.c: Likewise.
32428 * math/w_sqrtl_compat.c: Likewise.
32429 * math/w_tgamma_compat.c: Likewise.
32430 * math/w_tgammaf_compat.c: Likewise.
32431 * math/w_tgammal_compat.c: Likewise.
32432 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32433 [LIBM_SVID_COMPAT].
32434 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32435 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32436 [LIBM_SVID_COMPAT].
32437 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32438 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32439 [LIBM_SVID_COMPAT].
32440 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32441 * sysdeps/i386/fpu/w_sqrt.c: New file.
32442 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32443 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32444 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32445 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32446 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32447 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32448 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32449 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32450 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32451 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32452 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32453 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32454 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32455 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32456 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32457 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32458 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32459 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32460 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32461 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32462 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32463 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32464 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32465 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32466 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32467 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32468 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32469 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32470 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32471 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32472 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32473 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32474 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32475 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32476 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32477 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32478 * sysdeps/ia64/fpu/w_log.c: Likewise.
32479 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32480 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32481 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32482 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32483 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32484 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32485 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32486 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32487 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32488 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32489 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32490 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32491 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32492 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32493 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32494 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32495 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32496 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32497 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32498 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32499 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32500 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32501 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32503 [LIBM_SVID_COMPAT].
32504 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32505 * sysdeps/ieee754/k_standard.c: Likewise.
32506 * sysdeps/ieee754/k_standardf.c: Likewise.
32507 * sysdeps/ieee754/k_standardl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32509 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32510 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32511 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32512 long_double_symbol call on [LIBM_SVID_COMPAT].
32513 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32514 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32515 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32516 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32517 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32518 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32519 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32520 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32521 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32522 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32523 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32524 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32525 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32526 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32527 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32528 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32529 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32530 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32531 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32532 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32533 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32534 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32535
05b38d64
SE
325362017-09-05 Steve Ellcey <sellcey@cavium.com>
32537
32538 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32539 * malloc/tst-mallocstate.c: Convert from test-skeleton
32540 to test-driver. Ifdef code using TEST_COMPAT macro.
32541 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32542 * math/test-matherr.c: Likewise.
32543
99d67918
JM
325442017-09-05 Joseph Myers <joseph@codesourcery.com>
32545
32546 [BZ #22086]
32547 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32548 comparing word with byte-swapped constant.
32549
c207f7ce 325502017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
32551
32552 [BZ #20498]
32553 * locale/iso-639.def: add Miskito.
32554 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32555 * localedata/locales/miq_NI: New file.
32556
0a587a8a
L
325572017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32558
32559 [BZ #18822]
32560 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32561 (__mkdir): Likewise.
32562 * io/chmod.c (__chmod): Add libc_hidden_def.
32563 * io/mkdir.c (__mkdir): Likewise.
32564 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32565 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32566 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32567 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32568
f3a129b8
JM
325692017-09-04 Joseph Myers <joseph@codesourcery.com>
32570
1650e192
JM
32571 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32572 version to 4.13.
32573
f3a129b8
JM
32574 [BZ #22082]
32575 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32576 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32577
b38042f5
FW
325782017-09-04 Florian Weimer <fweimer@redhat.com>
32579
32580 * math/math.h: Issue warning if log is defined.
32581
059b6404
JM
325822017-09-04 Joseph Myers <joseph@codesourcery.com>
32583
32584 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32585 kernel version to 4.13.
32586
b794e16b
ST
325872017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32588
32589 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
32590 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32591 parameter.
01969395
ST
32592 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32593 just <bits/types.h>.
dd2b31de 32594 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 32595 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 32596 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 32597 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
32598 * misc/preadv2.c: Include <errno.h>.
32599 * misc/preadv64v2.c: Include <errno.h>.
32600 * misc/pwritev2.c: Include <errno.h>.
32601 * misc/pwritev64v2.c: Include <errno.h>.
32602 * sysdeps/posix/preadv2.c: Include <errno.h>.
32603 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32604 Fix <unistd.h> inclusion.
32605 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32606 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
32607 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32608 __strtoul_internal): New functions.
127e7773
ST
32609 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32610 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
32611 * sysdeps/mach/hurd/i386/Makefile
32612 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32613 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32614 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
32615 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32616 __feraiseexcept_renamed to feraiseexcept instead of
32617 __GI_feraiseexcept.
56bf5497 32618 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 32619 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
32620 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32621 RWF_NOWAIT): Define to 0 if undefined already.
32622 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32623 boils down to 0.
6547ec0a
ST
32624 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32625 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 32626
5a80d39d
JM
326272017-09-01 Joseph Myers <joseph@codesourcery.com>
32628
32629 * manual/math.texi (pow10): Do not document.
32630 (pow10f): Likewise.
32631 (pow10l): Likewise.
32632 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32633 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32634 * math/libm-test-exp10.inc (pow10_test): Remove.
32635 (do_test): Do not call pow10.
32636 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32637 [NO_LONG_DOUBLE] (pow10l): Likewise.
32638 * math/w_exp10f_compat.c (pow10f): Likewise.
32639 * math/w_exp10l_compat.c (pow10l): Likewise.
32640 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32641 (pow10): Make into compat symbol.
32642 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32643 (pow10f): Make into compat symbol.
32644 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32645 (pow10l): Make into compat symbol.
32646 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32647 pow10.
32648 (CFLAGS-nldbl-pow10.c): Remove variable..
32649 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32650 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32651 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32652 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32653 Undefine and redefine.
32654 (pow10l): Make into compat symbol.
32655 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32656 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32657 * sysdeps/arm/libm-test-ulps: Likewise.
32658 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32659 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32660 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32661 * sysdeps/microblaze/libm-test-ulps: Likewise.
32662 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32663 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32664 * sysdeps/nios2/libm-test-ulps: Likewise.
32665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32666 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32668 * sysdeps/sh/libm-test-ulps: Likewise.
32669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32670 * sysdeps/tile/libm-test-ulps: Likewise.
32671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32672
3824fc38
PP
326732017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32674
32675 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32676
b3008279
L
326772017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32678
32679 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32680 "../ChangeLog.old/ChangeLog.8".
32681 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32682 "../ChangeLog.old/ChangeLog.14".
32683
136fa185
L
326842017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32685
32686 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32687 Threads Library.
32688
c18d50a2
JM
326892017-09-01 Joseph Myers <joseph@codesourcery.com>
32690
32691 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32692
bedbd859
L
326932017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32694
32695 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32696 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32697
50c66c7a
PP
326982017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32699
32700 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32701 32 atexit handlers.
32702
a617bd11
ZW
327032017-09-01 Zack Weinberg <zackw@panix.com>
32704
32705 * math/math.h (HUGE_VAL): Improve commentary.
32706
e0d2eb5a
AZ
327072017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32708 Andreas Schwab <schwab@suse.de>
32709
32710 [BZ #21530]
32711 * include/stdio.h (__gen_tempfd): New function.
32712 * stdio-common/Makefile (routines): Add gentempfd.
32713 * stdio-common/gentempfd.c: New file.
32714 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32715 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32716 unnamed file first.
32717
f4a6be25
FW
327182017-09-01 Florian Weimer <fweimer@redhat.com>
32719
32720 [BZ #21915]
32721 [BZ #21922]
32722 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32723 result to determine success or failure, not the errno value.
32724 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32725 (tst-nss-files-hosts-erange): Link with -ldl.
32726 * nss/tst-nss-files-hosts-erange.c: New file.
32727 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32728 (do_test): Add NO_DATA tests.
32729 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32730 (do_test): Call it.
32731
5f8340f5
FW
327322017-09-01 Florian Weimer <fweimer@redhat.com>
32733
32734 [BZ #21922]
32735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32736 coming from gethostbyname2_r.
32737
65329bd2
FW
327382017-09-01 Florian Weimer <fweimer@redhat.com>
32739
32740 * support/namespace.h (struct support_chroot_configuration): Add
32741 hosts, host_conf.
32742 (struct support_chroot): Add path_hosts, path_host_conf.
32743 * support/support_chroot.c (write_file): New function.
32744 (support_chroot_create): Call it to process /etc/resolv.conf,
32745 /etc/hosts, /etc/host.conf.
32746 (support_chroot_free): Update.
32747
a2881ef0
FW
327482017-09-01 Florian Weimer <fweimer@redhat.com>
32749
32750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32751 status indicates it is set.
32752
ad816a5e
FW
327532017-09-01 Florian Weimer <fweimer@redhat.com>
32754
63b52889 32755 [BZ #20532]
ad816a5e
FW
32756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32757 function lookup failures more reliable.
32758
53250a21
FW
327592017-09-01 Florian Weimer <fweimer@redhat.com>
32760
32761 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32762 (getcanonname): Likewise.
32763 (gaih_inet): Likewise.
32764
924b121c
FW
327652017-09-01 Florian Weimer <fweimer@redhat.com>
32766
32767 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32768 (getcanonname): Likewise.
32769 (gaih_inet): Likewise.
32770
d9ff799a 327712017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 32772 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
32773
32774 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32775 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32776 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32777 (IREG_SIZE, OREG_SIZE): New macros.
32778 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32779 (IREG_SIZE, OREG_SIZE): New macros.
32780 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32781 (IREG_SIZE): New macro.
32782 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32783 (IREG_SIZE): New macro.
32784 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32785 New includes.
32786 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32787 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32788 (__CONCATX): Handle exceptions correctly on large values that may
32789 set FE_INVALID.
32790 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32791 Initialize if not already set.
b39d961c 32792 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 32793
102dde84
AZ
327942017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32795
32796 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32797 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32798 Likewise.
32799 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32800 Likewise.
32801 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32802 Likewise.
32803 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32804 Likewise.
32805 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32806 Likewise.
32807 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32808 Likewise.
32809 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32810 Likewise.
32811 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32812 (NO_CANCELLATION): Likewise.
32813 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32814 Likewise.
32815 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32816 Likewise.
32817 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32818 Likewise.
32819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32820 (NO_CANCELLATION): Likewise.
32821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32822 (NO_CANCELLATION): Likewise.
32823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32824 Likewise
32825 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32826 Likewise.
32827 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32828 Likewise.
32829 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32830 Likewise.
32831 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32832 hidden prototype.
32833 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32834 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32835
9eee633b
SE
328362017-08-31 Steve Ellcey <sellcey@cavium.com>
32837
32838 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32839 in resolver call.
32840
65284eb7
FW
328412017-08-31 Florian Weimer <fweimer@redhat.com>
32842
32843 * include/libc-symbols.h (internal_function): Remove.
32844
41ad5ca6
FW
328452017-08-31 Florian Weimer <fweimer@redhat.com>
32846
32847 * stdlib/fmtmsg.c (internal_addseverity): Remove
32848 internal_function.
32849
2fa6d086
FW
328502017-08-31 Florian Weimer <fweimer@redhat.com>
32851
32852 * stdio-common/printf_fp.c (group_number): Remove
32853 internal_function.
32854 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32855
b41bd5bc
FW
328562017-08-31 Florian Weimer <fweimer@redhat.com>
32857
32858 * posix/fnmatch.c (internal_function): Remove definition.
32859 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32860 * posix/regcomp.c (peek_token, init_word_char)
32861 (duplicate_node_closure, fetch_token, peek_token)
32862 (peek_token_bracket, build_range_exp, build_collating_symbol):
32863 Likewise.
32864 * posix/regex_internal.c (re_string_construct_common)
32865 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32866 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32867 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32868 (re_string_translate_buffer, re_string_reconstruct)
32869 (re_string_peek_byte_case, re_string_fetch_byte_case)
32870 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32871 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32872 (re_node_set_add_intersect, re_node_set_init_union)
32873 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32874 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32875 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32876 (re_acquire_state_context): Likewise.
32877 * posix/regex_internal.h (internal_function): Remove definition.
32878 (re_string_realloc_buffers, build_wcs_buffer)
32879 (build_wcs_upper_buffer, build_upper_buffer)
32880 (re_string_translate_buffer, re_string_context_at)
32881 (re_string_char_size_at, re_string_wchar_at)
32882 (re_string_elem_size_at): Likewise.
32883 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32884 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32885 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32886 (re_search_internal, re_search_2_stub, re_search_stub)
32887 (re_copy_regs, prune_impossible_nodes, check_matching)
32888 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32889 (free_fail_stack_return, sift_states_iter_mb)
32890 (sift_states_backward, build_sifted_states)
32891 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32892 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32893 (check_subexp_limits, sift_states_bkref, merge_state_array)
32894 (find_recover_state, transit_state, merge_state_with_log)
32895 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32896 (transit_state_mb, transit_state_bkref, get_subexp)
32897 (get_subexp_sub, find_subexp_node, check_arrival)
32898 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32899 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32900 (check_node_accept_bytes, find_collation_sequence_value)
32901 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32902 (acquire_init_state_context, check_halt_node_context)
32903 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32904 (sub_epsilon_src_nodes): Likewise.
32905 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32906 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32907 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32908 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32909 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32910 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32911 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32912 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32913 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32914 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32915 (PREADV): Likewise.
32916 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32917 (PREADV): Likewise.
32918 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32919 (PWRITEV): Likewise.
32920 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32921 (PWRITEV): Likewise.
32922 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32923 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32924
83b09837
FW
329252017-08-31 Florian Weimer <fweimer@redhat.com>
32926
32927 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32928 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32929 Remove internal_function.
32930 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32931 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32932 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32933 (__deallocate_stack, __libc_pthread_init)
32934 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32935 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32936 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32937 Likewise.
32938 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32939 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32940 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32941 Likewise.
32942 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32943 (__pthread_mutex_unlock_usercnt): Likewise.
32944
116ac301
FW
329452017-08-31 Florian Weimer <fweimer@redhat.com>
32946
32947 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32948 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32949 (fts_safe_changedir): Remove internal_function.
32950 * io/ftw.c (internal_function): Remove definition.
32951 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32952
9da93bd7
FW
329532017-08-31 Florian Weimer <fweimer@redhat.com>
32954
32955 * inet/deadline.c (__deadline_current_time)
32956 (__deadline_from_timeval, __deadline_to_ms): Remove
32957 internal_function.
32958 * inet/getnameinfo.c (nrl_domainname): Likewise.
32959 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32960 * inet/inet6_option.c (add_pad): Likewise.
32961 * inet/net-internal.h (__deadline_current_time)
32962 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32963 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32964 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32965 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32966
a60eca2e
JM
329672017-08-31 Joseph Myers <joseph@codesourcery.com>
32968
c0c49d60
JM
32969 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32970 include <bits/nan.h>.
32971 * math/Makefile (headers): Remove bits/nan.h.
32972 * bits/nan.h: Remove.
32973 * sysdeps/ieee754/bits/nan.h: Likewise.
32974 * sysdeps/mips/bits/nan.h: Likewise.
32975
5ef1b213
JM
32976 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32977 not include <bits/inf.h>.
32978 * math/Makefile (headers): Remove bits/inf.h.
32979 * bits/inf.h: Remove.
32980 * sysdeps/ieee754/bits/inf.h: Likewise.
32981
a60eca2e
JM
32982 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32983 bits/huge_vall.h or bits/huge_val_flt128.h.
32984 (HUGE_VAL): Define directly here.
32985 [__USE_ISOC99] (HUGE_VALF): Likewise.
32986 [__USE_ISOC99] (HUGE_VALL): Likewise.
32987 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32988 (HUGE_VAL_F128): Likewise.
32989 * math/Makefile (headers): Remove bits/huge_val.h,
32990 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32991 * bits/huge_val.h: Remove.
32992 * bits/huge_val_flt128.h: Likewise.
32993 * bits/huge_valf.h: Likewise.
32994 * bits/huge_vall.h: Likewise.
32995 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32996 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32997 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32998 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32999 * sysdeps/sh/bits/huge_val.h: Likewise.
33000 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33001 * sysdeps/x86/bits/huge_vall.h: Likewise.
33002
17e00cc6
FW
330032017-08-31 Florian Weimer <fweimer@redhat.com>
33004
33005 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33006 internal_function.
33007 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33008 Likewise.
33009 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33010 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33011 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33012 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33013 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33014 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33015 * elf/dl-libc.c (dlerror_run): Likewise.
33016 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33017 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33018 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33019 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33020 Likewise.
33021 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33022 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33023 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33024 * elf/dl-profile.c (_dl_start_profile): Likewise.
33025 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33026 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33027 Likewise.
33028 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33029 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33030 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33031 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33032 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33033 (_dl_allocate_tls_storage): Likewise.
33034 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33035 (_dl_check_all_versions): Likewise.
33036 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33037 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33038 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33039 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33040 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33041 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33042 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33043 internal_function from __dl_start.
33044 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33045 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33046 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33047 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33048 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33049 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33050 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33051 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33052 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33053 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33054 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33055 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33056 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33057 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33058 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33059 Likewise.
33060 (struct rtld_global_ro): Remove internal_function from the
33061 _dl_lookup_symbol_x member.
33062 (_dl_symbol_value): Remove. No longer defined anywhere.
33063 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33064 internal_function.
33065 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33066 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33067 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33068 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33069 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33070 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33071 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33072 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33073 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33074 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33075 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33076 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33077
8d2f9410
FW
330782017-08-31 Florian Weimer <fweimer@redhat.com>
33079
33080 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33081 Remove internal_function.
33082 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33083 Likewise.
33084 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33085 Likewise.
33086
86e4919f
FW
330872017-08-31 Florian Weimer <fweimer@redhat.com>
33088
33089 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33090 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33091 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33092
59bd52b0
FW
330932017-08-31 Florian Weimer <fweimer@redhat.com>
33094
33095 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33096 (__gai_enqueue_request): Remove internal_function.
33097 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33098 (__gai_remove_request, __gai_notify, __gai_notify_only)
33099 (__gai_sigqueue): Likewise.
33100 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33101 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33102 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33103 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33104 Likewise.
33105
fc3d9497
FW
331062017-08-31 Florian Weimer <fweimer@redhat.com>
33107
33108 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33109 * include/dirent.h (__opendirat, __getdents, __getdents64)
33110 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33111 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33112 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33113 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33114 Likewise.
33115 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33116
18c54fac
FW
331172017-08-31 Florian Weimer <fweimer@redhat.com>
33118
33119 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33120 internal_function.
33121 (GETCWD_RETURN_TYPE): Likewise.
33122
7e01f080
FW
331232017-08-31 Florian Weimer <fweimer@redhat.com>
33124
33125 * include/time.h (__tz_compute, __strptime_internal): Remove
33126 internal_function.
33127 * time/strptime_l.c (__strptime_internal): Likewise.
33128 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33129
d7ccc6c9
FW
331302017-08-31 Florian Weimer <fweimer@redhat.com>
33131
33132 * iconv/gconv.c (__gconv): Remove internal_function.
33133 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33134 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33135 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33136 (__gconv_release_cache): Likewise.
33137 * iconv/gconv_close.c (__gconv_close): Likewise.
33138 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33139 (read_conf_file, __gconv_get_path): Likewise.
33140 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33141 (__gconv_release_step, gen_steps, increment_counter)
33142 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33143 (__gconv_close_transform, free_modules_db): Likewise.
33144 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33145 Likewise.
33146 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33147 (__gconv_find_transform, __gconv_lookup_cache)
33148 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33149 (__gconv_close_transform, __gconv_release_cache)
33150 (__gconv_loaded_object, __gconv_release_shlib)
33151 (__gconv_compare_alias): Likewise.
33152 * iconv/gconv_open.c (__gconv_open): Likewise.
33153 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33154 * iconv/iconvconfig.c (add_module): Likewise.
33155 * intl/dcigettext.c (plural_lookup, guess_category_value)
33156 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33157 * intl/eval-plural.h (plural_eval): Likewise.
33158 * intl/finddomain.c (_nl_find_domain): Likewise.
33159 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33160 (_nl_load_domain, _nl_find_msg): Likewise.
33161 (internal_function): Remove definition.
33162 * intl/loadinfo.h (internal_function): Likewise.
33163 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33164 internal_function.
33165 * intl/localealias.c (internal_function): Remove definition.
33166 (read_alias_file): Remove internal_function.
33167 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33168 * intl/plural-exp.h (internal_function): Remove definition.
33169 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33170 internal_function.
33171 * intl/plural.c: Regenerate.
33172 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33173 * locale/coll-lookup.c (__collidx_table_lookup)
33174 (__collseq_table_lookup): Likewise.
33175 * locale/coll-lookup.h (__collidx_table_lookup)
33176 (__collseq_table_lookup): Likewise.
33177 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33178 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33179 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33180 (_nl_unload_locale): Likewise.
33181 * locale/localeinfo.h (struct __locale_data): Remove
33182 internal_function from cleanup member.
33183 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33184 (_nl_remove_locale, _nl_load_locale_from_archive)
33185 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33186 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33187 (_nl_cleanup_time): Remove internal_function.
33188 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33189 (_nl_parse_alt_digit): Likewise.
33190 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33191 (_nl_select_era_entry): Likewise.
33192 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33193 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33194 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
33195 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33196 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 33197
dab0eece
FW
331982017-08-31 Florian Weimer <fweimer@redhat.com>
33199
33200 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33201 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33202 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33203 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33204 Likewise.
33205 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33206 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33207 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33208 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33209 Likewise.
33210 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33211
ab5bf7cf
FW
332122017-08-31 Florian Weimer <fweimer@redhat.com>
33213
33214 * misc/getttyent.c (skip, value): Remove internal_function.
33215 * misc/syslog.c (openlog_internal): Likewise.
33216 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33217
75b3047e
FW
332182017-08-31 Florian Weimer <fweimer@redhat.com>
33219
33220 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33221 (__nss_rewrite_field): Remove internal_function.
33222 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33223 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33224 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33225 * nss/nsswitch.c (nss_parse_file, nss_getline)
33226 (nss_parse_service_list, nss_new_service): Likewise.
33227 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33228 * nss/valid_field.c (__nss_valid_field): Likewise.
33229 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33230
0c71122c
FW
332312017-08-31 Florian Weimer <fweimer@redhat.com>
33232
33233 * malloc/arena.c (__malloc_fork_lock_parent)
33234 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33235 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33236 internal_function from defintions.
33237 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33238 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33239 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33240 internal_function from declarations.
33241 * malloc/malloc.c (internal_function): Do not define.
33242 (mem2mem_check): Remove internal_function from declaration.
33243 (munmap_chunk, mremap_chunk): Remove internal_function.
33244 * malloc/mtrace.c (tr_where): Likewise.
33245
ca4ec803
FW
332462017-08-31 Florian Weimer <fweimer@redhat.com>
33247
33248 * include/rpc/pmap_clnt.h (__get_socket): Remove
33249 internal_function.
33250 * sunrpc/auth_des.c (synchronize): Likewise.
33251 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33252 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33253 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33254 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33255 (key_call): Likewise.
33256 * sunrpc/pm_getport.c (__get_socket): Likewise.
33257 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33258 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33259 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33260 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33261 (invalidate): Likewise.
33262 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33263 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33264 (set_input_fragment, get_input_bytes): Likewise.
33265
24cffce7
FW
332662017-08-31 Florian Weimer <fweimer@redhat.com>
33267
33268 * malloc/malloc.c (_int_free): Remove locked variable and related
33269 asserts.
33270
ecd0747d
L
332712017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33272
33273 [BZ #22051]
33274 * Makerules (build-module-helper-objlist): Filter out
33275 $(elf-objpfx)sofini.os.
33276 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33277 needed.
33278
5f0704b6
FW
332792017-08-31 Florian Weimer <fweimer@redhat.com>
33280
33281 * libio/fcloseall.c: Assume weak_alias is defined.
33282 * libio/feof.c: Likewise.
33283 * libio/fileno.c: Likewise.
33284 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33285 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33286 definitions.
33287 (_IO_file_open): Call __open directly.
33288 (_IO_new_file_sync): Assume ESPIPE is defined.
33289 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33290 (_IO_new_file_write): Call __write directly.
33291 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33292 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33293 * libio/genops.c: Assume _LIBC is defined.
33294 (save_for_backup): Remove internal_function.
33295 * libio/getc.c: Assume weak_alias is defined.
33296 * libio/getwc.c: Likewise.
33297 * libio/iofclose.c: Assume _LIBC is defined.
33298 * libio/iofdopen.c: Likewise.
33299 (_IO_fcntl): Remove macro definition.
33300 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33301 Call __fcntl directly.
33302 * libio/iofflush.c: Assume weak_alias is defined.
33303 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33304 defined.
33305 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33306 * libio/iofgets.c: Likewise.
33307 * libio/iofopen.c: Assume _LIBC is defined.
33308 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33309 * libio/iofputs.c: Assume weak_alias is defined.
33310 * libio/iofread.c: Likewise.
33311 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33312 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33313 * libio/ioftell.c: Assume weak_alias is defined.
33314 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33315 * libio/iofwide.c: Assume _LIBC is defined.
33316 (_IO_fwide): Drop SHARED conditional because it is implied by
33317 SHLIB_COMPAT.
33318 * libio/iofwrite.c: Assume weak_alias is defined.
33319 * libio/iogetdelim.c: Likewise.
33320 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33321 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33322 (_IO_getwline): Call __wmemcpy directly.
33323 * libio/iopopen.c: Assume _LIBC is defined.
33324 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33325 (_IO_close): Remove macro definitions.
33326 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33327 _exit directly.
33328 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33329 directly.
33330 * libio/ioputs.c: Assume weak_alias is defined.
33331 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33332 * libio/iosetbuffer.c: Assume weak_alias is defined.
33333 * libio/iosetvbuf.c: Likewise.
33334 * libio/ioungetc.c: Likewise.
33335 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33336 libc_hidden_def, libc_hidden_weak, NULL are defined.
33337 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33338 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33339 defined.
33340 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33341 definitions.
33342 (_IO_old_file_init_internal): Drop SHARED conditional because it
33343 is implied by SHLIB_COMPAT.
33344 (_IO_old_file_fopen): Call __open directly.
33345 (_IO_old_file_sync): Assume ESPIPE is defined.
33346 (_IO_old_file_write): Call __write directly.
33347 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33348 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33349 Call __fcntl directly.
33350 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33351 (_IO_old_fgetpos): Assume EIO is defined.
33352 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33353 (_IO_old_fgetpos64): Assume EIO is defined.
33354 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33355 (_IO_old_fsetpos): Assume EIO is defined.
33356 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33357 (_IO_old_fsetpos64): Assume EIO is defined.
33358 * libio/oldiopopen.c: Assume _LIBC is defined.
33359 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33360 (_IO_close): Remove macro definitions.
33361 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33362 directly.
33363 (_IO_old_proc_close): Call __close, __waitpid directly.
33364 * libio/put.c: Assume weak_alias is defined.
33365 * libio/stdfiles.c: Assume _LIBC is defined.
33366 * libio/stdio.c: Likewise.
33367 * libio/wfileops.c: Likewise.
33368 (_IO_wfile_sync): Assume ESPIPE is defined.
33369 * libio/wgenops.c: Assume _LIBC is defined.
33370 (save_for_wbackup): Remove internal_function.
33371
5129873a
FW
333722017-08-31 Florian Weimer <fweimer@redhat.com>
33373
33374 * malloc/malloc.c (top_check): Change return type to void. Remove
33375 internal_function.
33376 * malloc/hooks.c (top_check): Likewise.
33377 (malloc_check, realloc_check, memalign_check): Adjust.
33378
4fa9b3bf
JM
333792017-08-30 Joseph Myers <joseph@codesourcery.com>
33380
33381 [BZ #21457]
33382 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33383 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33384 sigcontext and namespace requirements.
33385 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33386 * sysdeps/m68k/sys/ucontext.h: Likewise.
33387 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33388 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33389 <bits/sigcontext.h>.
33390 (__ctx): Define earlier.
33391 (mcontext_t): Define structure contents rather than using struct
33392 sigcontext.
33393 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33394 __glibc_reserved1 instead of __reserved.
33395 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33396 <bits/sigcontext.h>.
33397 (__ctx): Define earlier.
33398 (mcontext_t): Define structure contents rather than using struct
33399 sigcontext.
33400 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33401 mcontext_t instead of struct sigcontext.
33402 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33403 <bits/sigcontext.h>.
33404 (__ctx): Define earlier.
33405 (mcontext_t): Define structure contents rather than using struct
33406 sigcontext.
33407 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33408 <bits/sigcontext.h>.
33409 (__ctx): Define earlier.
33410 (mcontext_t): Define structure contents rather than using struct
33411 sigcontext.
33412 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33413 mcontext_t instead of struct sigcontext.
33414 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33415 mcontext_t instead of struct sigcontext.
33416 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33417 <bits/sigcontext.h>.
33418 (__ctx): New macro.
33419 (struct __ia64_fpreg_mcontext): New type.
33420 (mcontext_t): Define structure contents rather than using struct
33421 sigcontext.
33422 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33423 (uc_sigmask): Define using __ctx.
33424 (uc_stack): Likewise.
33425 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33426 <bits/sigcontext.h>.
33427 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33428 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33429 <bits/sigcontext.h>.
33430 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33431 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33432 <bits/sigcontext.h>.
33433 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33434 <bits/sigcontext.h>.
33435 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33436 <bits/sigcontext.h>.
33437 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33438 <bits/sigcontext.h>.
33439 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33440 <bits/sigcontext.h>.
33441 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33442 <bits/sigcontext.h>.
33443 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33444 <bits/sigcontext.h>.
33445 (__ctx): Define earlier.
33446 (mcontext_t): Define structure contents rather than using struct
33447 sigcontext.
33448 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33449 <bits/sigcontext.h>. Include <bits/types.h>.
33450 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33451 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33452 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33453 (test-xfail-UNIX98/signal.h/conform): Likewise.
33454 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33455 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33456 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33457 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33458 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33459 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33460 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33461 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33462 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33463
5898f454
FW
334642017-08-30 Florian Weimer <fweimer@redhat.com>
33465
33466 * malloc/dynarray_emplace_enlarge.c
33467 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33468 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33469 * malloc/tst-dynarray.c (test_long_overflow): New function.
33470 (do_test): Call it.
33471
a9da0bb2
FW
334722017-08-30 Florian Weimer <fweimer@redhat.com>
33473
33474 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33475 (set_arena_corrupt): Remove definitions.
33476 (mtrim): Do not check for corrupt arena.
33477 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33478 Likewise.
33479
ac3ed168
FW
334802017-08-30 Florian Weimer <fweimer@redhat.com>
33481
33482 [BZ #21754]
33483 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33484 check_action.
33485 (ptmalloc_init): Do not set or use check_action.
33486 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33487 call to malloc_printerr. Remove return statement.
33488 (free_check): Likewise. Remove arena unlock.
33489 (top_check): Update comment. Adjust call to malloc_printerr.
33490 Remove heap repair code.
33491 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33492 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33493 (sysmalloc): Adjust call to malloc_printerr.
33494 (munmap_chunk, __libc_realloc): Likewise. Remove return
33495 statement.
33496 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33497 Remove errout label and corresponding gotos.
33498 (_int_free): Likewise. Remove arena unlock.
33499 (do_set_mallopt_check): Do not set check_action.
33500 (malloc_printerr): Adjust parameter list. Do not mark arena as
33501 corrupt.
33502 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33503 comment.
33504 * manual/probes.texi (Memory Allocation Probes): Remove
33505 memory_mallopt_check_action.
33506
44bcba80
SE
335072017-08-30 Steve Ellcey <sellcey@cavium.com>
33508
33509 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33510 Use pointer to uint64_t instead of long int for sp.
33511
ec2c1fce
FW
335122017-08-30 Florian Weimer <fweimer@redhat.com>
33513
33514 [BZ #21754]
33515 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33516 without printing a backtrace. Do not leak any information in the
33517 error message.
33518 * manual/memory.texi (Heap Consistency Checking): Update.
33519 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33520
9ce673b6
FW
335212017-08-30 Florian Weimer <fweimer@redhat.com>
33522
33523 Do not scale NPTL tests with available number of CPUs.
33524 * nptl/tst-cond16.c (count): Set to constant value of 8.
33525 * nptl/tst-cond18.c (count): Likewise.
33526
2f1aef19
JM
335272017-08-29 Joseph Myers <joseph@codesourcery.com>
33528
33529 [BZ #22035]
33530 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33531 Define to take a second argument that is a macro that
33532 concatentates a suffix, not the suffix itself.
33533 (__CONCAT_d): New macro.
33534 (__CONCAT_f): Likewise.
33535 (__CONCAT_l): Likewise.
33536
8325b477
PP
335372017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33538
33539 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33540 by child.
33541
319cbbf6
AZ
335422017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33543 Aurelien Jarno <aurelien@aurel32.net>
33544 Maciej W. Rozycki <macro@imgtec.com>
33545
33546 [BZ #21956]
33547 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33548 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33549 `mips16-syscall6' and `mips16-syscall7'.
33550 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33551 (CFLAGS-mips16-syscall7.c): Remove.
33552 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33553 Remove `__mips16_syscall5', `__mips16_syscall6' and
33554 `__mips16_syscall7'.
33555 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33556 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33557 `__mips_syscall_return'.
33558 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33559 (__mips16_syscall1): Likewise.
33560 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33561 (__mips16_syscall2): Likewise.
33562 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33563 (__mips16_syscall3): Likewise.
33564 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33565 (__mips16_syscall4): Likewise.
33566 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33567 Remove.
33568 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33569 Remove.
33570 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33571 Remove.
33572 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33573 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33574 `__mips16_syscall5'. Remove prototype.
33575 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33576 `__mips16_syscall6'. Remove prototype.
33577 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33578 `__mips16_syscall7'. Remove prototype.
33579 (__nomips16, __mips16_syscall_return): Move to...
33580 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33581 (__nomips16, __mips_syscall_return): ... here.
33582 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33583 `__mips16_syscall_return' to `__mips_syscall_return'.
33584 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33585 `internal_syscall##nr'.
33586 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33587 `internal_syscall##nr'.
33588 (FORCE_FRAME_POINTER): Remove.
33589 (__mips_syscall5): New prototype.
33590 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33591 (__mips_syscall6): New prototype.
33592 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33593 (__mips_syscall7): New prototype.
33594 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33595 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33596 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33597 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33598 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33599 (sysdep_routines): Add libc-do-syscall.
33600 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33601 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33602
01b87c65
AZ
336032017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33604
33605 [BZ #21672]
33606 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33607 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33608 (advise_stack_range): New function.
33609 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33610 stack non required to advise_stack_range at allocatestack.c
33611
16f138a4
SN
336122017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33613
33614 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33615
251bccfa
FW
336162017-08-29 Florian Weimer <fweimer@redhat.com>
33617
33618 [BZ #22026]
33619 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33620 __end_fct. Mangle __end_fct after setting it to NULL.
33621 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33622 (modules-names, modules-names-tests): Add
33623 tst-gconv-init-failure-mod.
33624 (gconv-modules): New target.
33625 (tst-gconv-init-failure-mod.so): Link against libsupport.
33626 (tst-gconv-init-failure): Depend on gconv-modules,
33627 tst-gconv-init-failure-mod.so.
33628 * iconv/tst-gconv-init-failure-mod.c: New file.
33629 * iconv/tst-gconv-init-failure.c: Likewise.
33630 * iconv/test-gconv-modules: Likewise.
33631
e7c18b9d
FW
336322017-08-29 Florian Weimer <fweimer@redhat.com>
33633
33634 [BZ #22025]
33635 * iconv/gconv_db.c (free_derivation): Remove redundant
33636 parentheses.
33637 (gen_steps): Unconditionally mangle __btowc_fct after
33638 initialization.
33639 (increment_counter): Likewise. Do not call init_fct for internal
33640 modules.
33641
7daada03
JM
336422017-08-29 Joseph Myers <joseph@codesourcery.com>
33643
33644 [BZ #22028]
33645 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33646 (_MSUF_): Remove macro.
33647 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33648 Likewise.
33649 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33650 (__REDIRFROM_X): New macro.
33651 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33652 Likewise.
33653 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33654 (__REDIRTO_X): Likewise.
33655 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33656 arguments.
33657 (__MATH_REDIRCALL_2): Likewise.
33658 (__MATH_REDIRCALL_INTERNAL): Likewise.
33659 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33660 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33661 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33662 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33663 * math/test-finite-macros.c: New file.
33664 * math/Makefile (tests): Add test-finite-macros.
33665 (CFLAGS-test-finite-macros.c): New variable.
33666
1cf1232c
PF
336672017-08-29 Patsy Franklin <pfrankli@redhat.com>
33668 Jeff Law <law@redhat.com>
33669
33670 [BZ #22025]
33671 Mangle NULL pointers in iconv/gconv.
33672 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33673 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33674 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33675 is non-NULL before demangling the end_fct. Check for NULL
33676 end_fct after demangling.
33677 (__gconv_release_step): Demangle the end_fct before checking
33678 it for NULL. Remove assert on __shlibc_handle != NULL.
33679 (gen_steps): Don't check btowc_fct for NULL before mangling.
33680 Demangle init_fct before checking for NULL.
33681 (increment_counter): Likewise.
33682 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33683 end_fct for NULL before mangling.
33684 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33685 for NULL.
33686
c207f7ce 336872017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
33688
33689 [BZ #21971]
33690 * locale/iso-639.def: add Morisyen.
33691
42496114
GG
336922017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33693
33694 [BZ #21930]
33695 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33696 (iszero): New C++ implementation that does not use
33697 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33698 signaling nans are enabled, since __builtin_types_compatible_p
33699 is a C-only feature.
33700 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33701 defined, include ieee754_float128.h for access to the union and
33702 member ieee854_float128.ieee.
33703 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33704 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33705 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33706 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33707 options of test-math-zero on powerpc64le.
33708
5e2bc4ff
L
337092017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33710
33711 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33712 Change double to float.
33713
a48c0fb4
JM
337142017-08-28 Joseph Myers <joseph@codesourcery.com>
33715
33716 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33717 unconditional.
33718 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33719 conditional code; define contents only for [LIBM_SVID_COMPAT].
33720
ee17d4e9
FW
337212017-08-28 Florian Weimer <fweimer@redhat.com>
33722
33723 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33724 (abi-lp64_be-options): Remove.
33725 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33726 (abi-hard-options): Likewise.
33727 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33728 (abi-o32_hard-options, abi-o32_soft_2008-options)
33729 (abi-o32_hard_2008-options, abi-n32_soft-options)
33730 (abi-n32_hard-options, abi-n32_soft_2008-options)
33731 (abi-n32_hard_2008-options, abi-n64_soft-options)
33732 (abi-n64_hard-options, abi-n64_soft_2008-options)
33733 (abi-n64_hard_2008-options): Likewise.
33734 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33735 (abi-64-v1-options, abi-64-v2-options): Likewise.
33736 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33737 (abi-64-options): Likewise.
33738 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33739 (abi-64-options): Likewise.
33740 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33741 (abi-64-options): Likewise.
33742 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33743 (abi-64-options, abi-x32-options): Likewise.
33744
2dba5ce7
FW
337452017-08-28 Florian Weimer <fweimer@redhat.com>
33746
33747 Store supported list of SYS_* system calls in the source tree.
33748 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33749 (bits/syscall.h): Generate from list file.
33750 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33751 [$(subdir) = misc] (tests): Add tst-syscall-list.
33752 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33753 [$(subdir) = misc] (tst-syscall-list-macros.list)
33754 [$(subdir) = misc] (tst-syscall-list-nr.list)
33755 (tst-syscall-list-sys.list): Helper targets for new
33756 tst-syscall-list test.
33757 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33758 tst-syscall-list.sh.
33759 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33760 target. Do not include bits/syscall.d.
33761 [$(subdir) = misc] (generated): Do not update.
33762 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33763 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33764 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33765 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33766
5f3b183d
PP
337672017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33768
33769 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33770 (tst-cxa_atexit, tst-on_exit): Likewise.
33771 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33772 tst-cxa_atexit, and tst-on_exit.
33773 * stdlib/tst-atexit-common.c: New file.
33774 * stdlib/tst-atexit.c: New file.
33775 * stdlib/tst-at_quick_exit.c: New file.
33776 * stdlib/tst-cxa_atexit.c: New file.
33777 * stdlib/tst-on_exit.c: New file.
33778
2ef8d469
ST
337792017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33780
33781 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
33782 * mach/stack_chk_fail_local.c: New file.
33783 * hurd/stack_chk_fail_local.c: New file.
33784 * mach/Machrules ($(interface-library)-routines): Add
33785 stack_chk_fail_local.
99ee4d26
ST
33786 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33787 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33788 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33789 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33790 * hurd/Makefile (CFLAGS-hurdstartup.o,
33791 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 33792
7ab70c98
L
337932017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33794
33795 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33796 (index_cpu_*, index_arch_*): Removed.
33797
39e7a5a6
SN
337982017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33799
33800 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33801 Use uint64_t instead of unsigned long.
33802
bba5c930
JM
338032017-08-25 Joseph Myers <joseph@codesourcery.com>
33804
a6ccdb08
JM
33805 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33806 [__HAVE_DISTINCT_FLOAT128].
33807
23761119
JM
33808 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33809 of <bits/math-finite.h>.
33810 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33811 inclusion of <bits/math-finite.h>.
33812 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33813 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33814 __NO_LONG_DOUBLE_MATH].
33815 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33816 (__MATH_REDIRCALL_2): Likewise.
33817 (__MATH_REDIRCALL_INTERNAL): Likewise.
33818 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33819 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33820 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33821
bba5c930
JM
33822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33823 Remove file.
33824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33825 Likewise.
33826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33827 Likewise.
33828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33829 Likewise.
33830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33831 Likewise.
33832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33833 Likewise.
33834 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33836 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33837 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33839 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33840 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33841 w_sqrtf_compat-ppc32.
33842
3d7b66f6
GG
338432017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33844
33845 * math/math.h [defined __cplusplus] (issignaling): In the long
33846 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33847 is not defined. Call __issignaling, otherwise.
33848
ebd6f007
AZ
338492017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33850
33851 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33852 syscall definitions and replace __builtin_expect with __glibc_likely.
33853 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33854 syscall.
6b5c8607 33855 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
33856 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33857 definition.
33858 (PSEUDO_END): Likewise.
33859 [IS_IN (libpthread)] (CENABLE): Likewise.
33860 [IS_IN (libpthread)] (CDISABLE): Likewise.
33861 [IS_IN (libc)] (CENABLE): Likewise.
33862 [IS_IN (libc)] (CENABLE): Likewise.
33863 [IS_IN (librt)] (CDISABLE): Likewise.
33864 [IS_IN (librt)] (CDISABLE): Likewise.
33865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33866 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33867 definition.
33868 (PSEUDO_END): Likewise.
33869 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33870 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33871 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33872 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33873 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33874 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33875 (CENABLE): Likewise.
33876 (CDISABLE): Likewise.
33877 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33878 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33879 defintion.
33880 (PSEUDO_END): Likewise.
33881 [IS_IN (libpthread)] (CENABLE): Likewise.
33882 [IS_IN (libpthread)] (CDISABLE): Likewise.
33883 [IS_IN (libc)] (CENABLE): Likewise.
33884 [IS_IN (libc)] (CENABLE): Likewise.
33885 [IS_IN (librt)] (CDISABLE): Likewise.
33886 [IS_IN (librt)] (CDISABLE): Likewise.
33887 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33888 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33889 definition.
33890 (PSEUDO_END): Likewise.
33891 [IS_IN (libpthread)] (CENABLE): Likewise.
33892 [IS_IN (libpthread)] (CDISABLE): Likewise.
33893 [IS_IN (libc)] (CENABLE): Likewise.
33894 [IS_IN (libc)] (CENABLE): Likewise.
33895 [IS_IN (librt)] (CDISABLE): Likewise.
33896 [IS_IN (librt)] (CDISABLE): Likewise.
33897 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33898 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33899 definition.
33900 (PSEUDO_END): Likewise.
33901 [IS_IN (libpthread)] (CENABLE): Likewise.
33902 [IS_IN (libpthread)] (CDISABLE): Likewise.
33903 [IS_IN (libc)] (CENABLE): Likewise.
33904 [IS_IN (libc)] (CENABLE): Likewise.
33905 [IS_IN (librt)] (CDISABLE): Likewise.
33906 [IS_IN (librt)] (CDISABLE): Likewise.
33907 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33908 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33909 definition.
33910 (PSEUDO_END): Likewise.
33911 [IS_IN (libpthread)] (CENABLE): Likewise.
33912 [IS_IN (libpthread)] (CDISABLE): Likewise.
33913 [IS_IN (libc)] (CENABLE): Likewise.
33914 [IS_IN (libc)] (CENABLE): Likewise.
33915 [IS_IN (librt)] (CDISABLE): Likewise.
33916 [IS_IN (librt)] (CDISABLE): Likewise.
33917 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33918 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33919 definition.
33920 (PSEUDO_END): Likewise.
33921 [IS_IN (libpthread)] (CENABLE): Likewise.
33922 [IS_IN (libpthread)] (CDISABLE): Likewise.
33923 [IS_IN (libc)] (CENABLE): Likewise.
33924 [IS_IN (libc)] (CENABLE): Likewise.
33925 [IS_IN (librt)] (CDISABLE): Likewise.
33926 [IS_IN (librt)] (CDISABLE): Likewise.
33927 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33928 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33929 definition.
33930 (PSEUDO_END): Likewise.
33931 [IS_IN (libpthread)] (CENABLE): Likewise.
33932 [IS_IN (libpthread)] (CDISABLE): Likewise.
33933 [IS_IN (libc)] (CENABLE): Likewise.
33934 [IS_IN (libc)] (CENABLE): Likewise.
33935 [IS_IN (librt)] (CDISABLE): Likewise.
33936 [IS_IN (librt)] (CDISABLE): Likewise.
33937 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33938 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33939 Remove definition.
33940 (PSEUDO_END): Likewise.
33941 [IS_IN (libpthread)] (CENABLE): Likewise.
33942 [IS_IN (libpthread)] (CDISABLE): Likewise.
33943 [IS_IN (libc)] (CENABLE): Likewise.
33944 [IS_IN (libc)] (CENABLE): Likewise.
33945 [IS_IN (librt)] (CDISABLE): Likewise.
33946 [IS_IN (librt)] (CDISABLE): Likewise.
33947 (SINGLE_THREAD_P): Likewise.
33948 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33949 definition.
33950 (PSEUDO_END): Likewise.
33951 [IS_IN (libpthread)] (CENABLE): Likewise.
33952 [IS_IN (libpthread)] (CDISABLE): Likewise.
33953 [IS_IN (libc)] (CENABLE): Likewise.
33954 [IS_IN (libc)] (CENABLE): Likewise.
33955 [IS_IN (librt)] (CDISABLE): Likewise.
33956 [IS_IN (librt)] (CDISABLE): Likewise.
33957 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33958 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33959 definition.
33960 (PSEUDO_END): Likewise.
33961 [IS_IN (libpthread)] (CENABLE): Likewise.
33962 [IS_IN (libpthread)] (CDISABLE): Likewise.
33963 [IS_IN (libc)] (CENABLE): Likewise.
33964 [IS_IN (libc)] (CENABLE): Likewise.
33965 [IS_IN (librt)] (CDISABLE): Likewise.
33966 [IS_IN (librt)] (CDISABLE): Likewise.
33967 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33968 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33969 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33970 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33972 definition.
33973 (PSEUDO_END): Likewise.
33974 [IS_IN (libpthread)] (CENABLE): Likewise.
33975 [IS_IN (libpthread)] (CDISABLE): Likewise.
33976 [IS_IN (libc)] (CENABLE): Likewise.
33977 [IS_IN (libc)] (CENABLE): Likewise.
33978 [IS_IN (librt)] (CDISABLE): Likewise.
33979 [IS_IN (librt)] (CDISABLE): Likewise.
33980 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33982 definition.
33983 (PSEUDO_END): Likewise.
33984 [IS_IN (libpthread)] (CENABLE): Likewise.
33985 [IS_IN (libpthread)] (CDISABLE): Likewise.
33986 [IS_IN (libc)] (CENABLE): Likewise.
33987 [IS_IN (libc)] (CENABLE): Likewise.
33988 [IS_IN (librt)] (CDISABLE): Likewise.
33989 [IS_IN (librt)] (CDISABLE): Likewise.
33990 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33991 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33992 definition.
33993 (PSEUDO_END): Likewise.
33994 [IS_IN (libpthread)] (CENABLE): Likewise.
33995 [IS_IN (libpthread)] (CDISABLE): Likewise.
33996 [IS_IN (libc)] (CENABLE): Likewise.
33997 [IS_IN (libc)] (CENABLE): Likewise.
33998 [IS_IN (librt)] (CDISABLE): Likewise.
33999 [IS_IN (librt)] (CDISABLE): Likewise.
34000 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34003 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34004 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34005 definition.
34006 (PSEUDO_END): Likewise.
34007 [IS_IN (libpthread)] (CENABLE): Likewise.
34008 [IS_IN (libpthread)] (CDISABLE): Likewise.
34009 [IS_IN (libc)] (CENABLE): Likewise.
34010 [IS_IN (libc)] (CENABLE): Likewise.
34011 [IS_IN (librt)] (CDISABLE): Likewise.
34012 [IS_IN (librt)] (CDISABLE): Likewise.
34013 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34014 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34015 definition.
34016 (PSEUDO_END): Likewise.
34017 [IS_IN (libpthread)] (CENABLE): Likewise.
34018 [IS_IN (libpthread)] (CDISABLE): Likewise.
34019 [IS_IN (libc)] (CENABLE): Likewise.
34020 [IS_IN (libc)] (CENABLE): Likewise.
34021 [IS_IN (librt)] (CDISABLE): Likewise.
34022 [IS_IN (librt)] (CDISABLE): Likewise.
34023 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34024
8aa48656
SN
340252017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34026
34027 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34028
fcaaca41
L
340292017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34030
34031 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34032
376b40a2
L
340332017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34034
34035 [BZ #21982]
34036 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34037 middle and outer with size_t instead of int. Repleace %d and
34038 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34039 "MAX (outer, nchars - 64)" to support unsigned outer and
34040 nchars. Also exit loop when outer == 0.
34041
2b0b9a1c
AZ
340422017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34043
34044 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34045 * include/signal.h (__sigsuspend_nocancel): Likewise.
34046 * include/time.h (__nanosleep_nocancel): Likewise.
34047 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34048 * login/utmp_file.c: Include non cancellable syscall header.
34049 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34050 prototype.
34051
b9eaca8f
L
340522017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34053
34054 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34055 .byte sequences with AVX512F instructions.
34056 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34057 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34058 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34060 Likewise.
34061 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34062 Likewise.
34063
5a706f64
SE
340642017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34065 Steve Ellcey <sellcey@cavium.com>
34066
34067 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34068 Use PTR_REG macro in cmp instruction.
34069
b513da7e
GG
340702017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34071
34072 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34073 Change the return type of the ifunc resolver to match the return
34074 type of the target function.
34075
78ca091c
AZ
340762017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34077
b70b6026
AZ
34078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34079 (preadv64): Likewise.
34080 (pwrite64(: Likewise.
34081 (pwritev64): Likewise.
34082
78ca091c
AZ
34083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34084 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34085 (LOAD_ARGS_0): Likewise.
34086 (LOAD_ARGS_1): Likewise.
34087 (LOAD_ARGS_2): Likewise.
34088 (LOAD_ARGS_3): Likewise.
34089 (LOAD_ARGS_4): Likewise.
34090 (LOAD_ARGS_5): Likewise.
34091 (LOAD_ARGS_6): Likewise.
34092 (LOAD_REGS_0): Likewise.
34093 (LOAD_REGS_1): Likewise.
34094 (LOAD_REGS_2): Likewise.
34095 (LOAD_REGS_3): Likewise.
34096 (LOAD_REGS_4): Likewise.
34097 (LOAD_REGS_5): Likewise.
34098 (LOAD_REGS_6): Likewise.
34099 (ASM_ARGS_0): Likewise.
34100 (ASM_ARGS_1): Likewise.
34101 (ASM_ARGS_2): Likewise.
34102 (ASM_ARGS_3): Likewise.
34103 (ASM_ARGS_4): Likewise.
34104 (ASM_ARGS_5): Likewise.
34105 (ASM_ARGS_6): Likewise.
34106 (LOAD_ARGS_TYPES_1): Likewise.
34107 (LOAD_ARGS_TYPES_2): Likewise.
34108 (LOAD_ARGS_TYPES_3): Likewise.
34109 (LOAD_ARGS_TYPES_4): Likewise.
34110 (LOAD_ARGS_TYPES_5): Likewise.
34111 (LOAD_ARGS_TYPES_6): Likewise.
34112 (LOAD_REGS_TYPES_1): Likewise.
34113 (LOAD_REGS_TYPES_2): Likewise.
34114 (LOAD_REGS_TYPES_3): Likewise.
34115 (LOAD_REGS_TYPES_4): Likewise.
34116 (LOAD_REGS_TYPES_5): Likewise.
34117 (LOAD_REGS_TYPES_6): Likewise.
34118 (TYPEFY): New define.
34119 (ARGIFY): Likewise.
34120 (internal_syscall0): Likewise.
34121 (internal_syscall1): Likewise.
34122 (internal_syscall2): Likewise.
34123 (internal_syscall3): Likewise.
34124 (internal_syscall4): Likewise.
34125 (internal_syscall5): Likewise.
34126 (internal_syscall6): Likewise.
34127 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34128 (INTERNAL_SYSCALL_NCS): Remove define.
34129 (internal_syscall1): Add define.
34130
453a493d
GG
341312017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34132
34133 * math/w_remainder_compat.c: Remove duplicate inclusion of
34134 math-svid-compat.h.
34135 * math/w_remainderf_compat.c: Likewise.
34136 * math/w_remainderl_compat.c: Likewise.
34137
f2f048a5
GG
341382017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34139
34140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34141
d9bef9c0
JM
341422017-08-22 Joseph Myers <joseph@codesourcery.com>
34143
34144 [BZ #21684]
34145 * math/tgmath.h (__floating_type): Simplify definitions.
34146 (__real_integer_type): New macro.
34147 (__complex_integer_type): Likewise.
34148 (__expr_is_real): Likewise.
34149 (__tgmath_real_type_sub): Update comment to describe handling of
34150 complex types.
34151 (__tgmath_complex_type_sub): New macro.
34152 (__tgmath_complex_type): Likewise.
34153 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34154 (__TGMATH_CF128): Use __expr_is_real.
34155 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34156 __expr_is_real.
34157 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34158 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34159 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34160 integer types.
34161
08d6eb46
AZ
341622017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34163
988f991b
AZ
34164 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34165 macro.
34166 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34167 alias.
34168 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34169 Likewise.
34170
6f33fd04
AZ
34171 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34172 nanosleep_not_cancel with __nanosleep_nocancel.
34173 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34174 (__nanosleep_nocancel): New macro.
34175 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34176 function.
34177 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34178 macro.
34179 (__nanosleep_nocancel): New prototype.
34180
08d6eb46
AZ
34181 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34182 pause_not_cancel with __pause_nocancel.
34183 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34184 (__pause_nocancel): New macro.
34185 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34186 macro.
34187 (__pause_nocancel): New prototype.
34188 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34189
ee4e992e
MS
341902017-08-22 Martin Sebor <msebor@redhat.com>
34191
34192 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34193 to return a pointer to the same type as the target function.
34194
20962acb
L
341952017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34196
34197 [BZ #18822]
34198 [BZ #21986]
34199 * include/printf.h (__printf_fphex): Add attribute_hidden.
34200 (__guess_grouping): New prototype.
34201 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34202 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34203 libc_hidden_proto and libc_hidden_def.
34204 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34205 (__vstrfmon_l): Remove the third argument passed to
34206 __guess_grouping.
34207
a16e8bc0
GG
342082017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34209
34210 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34211 definition for issignaling that does not rely on __MATH_TG,
34212 since __MATH_TG uses __builtin_types_compatible_p, which is only
34213 available in C mode.
34214 (CFLAGS-test-math-issignaling.cc): New variable.
34215 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34216 * math/test-math-issignaling.cc: New test for C++ implementation
34217 of type-generic issignaling.
34218 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34219 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34220 options of test-math-issignaling on powerpc64le.
34221
8d2ec553
L
342222017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34223
34224 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34225 building libc.a.
34226 (hidden_proto): Likewise.
34227 (hidden_tls_proto): Likewise.
34228 (__hidden_proto): Likewise.
34229
a4d57b79
FW
342302017-08-22 Florian Weimer <fweimer@redhat.com>
34231
34232 math: Statically link tests of internal functionality.
34233 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34234 atest-exp2.
34235 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34236 (gmp-objs): Remove assignment.
34237 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34238
75dfe623
JM
342392017-08-22 Joseph Myers <joseph@codesourcery.com>
34240
80f91666
JM
34241 [BZ #21987]
34242 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34243 and copy to ...
34244 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34245 ... here.
34246 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34247 ... and here.
34248
75dfe623
JM
34249 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34250 variable definitions above inclusion of ../Rules.
34251
ea99fcd0
JM
342522017-08-21 Joseph Myers <joseph@codesourcery.com>
34253
34254 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34255 case calling __builtin_unreachable.
34256
19926de9
AZ
342572017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34258
a8410a5f
AZ
34259 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34260 __waitpid_nocancel.
34261 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34262 (__waitpid_nocancel): New macro.
34263 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34264 macro.
34265 (__waitpid_nocancel): Replace macro with a function.
34266 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34267 function.
34268
7369800c
AZ
34269 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34270 __fcntl_nocancel.
34271 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34272 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34273
19926de9
AZ
34274 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34275 __writev_nocancel_nostatus.
34276 (write_call_graph): Likewise.
34277 (write_bb_counts): Likewise.
34278 * resolv/herror.c (herror): Likewise.
34279 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34280 macro.
34281 (__writev_nocancel_nostatus): New macro.
34282 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34283 Remove macro.
34284 (__writev_nocancel_nostatus): New function.
34285
813378e9
JM
342862017-08-21 Joseph Myers <joseph@codesourcery.com>
34287
df1deda6
JM
34288 Revert:
34289 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34290
34291 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34292 building libc.a.
34293 (hidden_proto): Likewise.
34294 (hidden_tls_proto): Likewise.
34295 (__hidden_proto): Likewise.
34296
831bbd55
JM
34297 [BZ #21973]
34298 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34299 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34301 Likewise.
34302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34303 Likewise.
34304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34305 Likewise.
34306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34307 Likewise.
34308 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34310 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34311 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34312 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34313 GLIBC_2.0 sqrtl symbol.
34314
813378e9
JM
34315 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34316 [__USE_MISC] (_LIB_VERSION): Likewise.
34317 [__USE_MISC] (struct exception): Likewise.
34318 [__USE_MISC] (matherr): Likewise.
34319 [__USE_MISC] (DOMAIN): Likewise.
34320 [__USE_MISC] (SING): Likewise.
34321 [__USE_MISC] (OVERFLOW): Likewise.
34322 [__USE_MISC] (UNDERFLOW): Likewise.
34323 [__USE_MISC] (TLOSS): Likewise.
34324 [__USE_MISC] (PLOSS): Likewise.
34325 [__USE_MISC] (HUGE): Likewise.
34326 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34327 * math/math-svid-compat.h: New file.
34328 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34329 and matherrl.
34330 * include/math.h [!_ISOMAC] (__matherr): Remove.
34331 * manual/arith.texi (FP Exceptions): Do not document matherr.
34332 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34333 (tests-internal): New variable.
34334 (install-lib): Do not add libieee.a.
34335 (non-lib.a): Likewise.
34336 (extra-objs): Do not add libieee.a and ieee-math.o.
34337 (CPPFLAGS-s_lib_version.c): Remove variable.
34338 ($(objpfx)libieee.a): Remove rule.
34339 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34340 * math/ieee-math.c: Remove.
34341 * math/libm-test-support.c (matherr): Remove.
34342 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34343 and license notices. Include <math-svid-compat.h> and
34344 <shlib-compat.h>.
34345 (matherr): Undefine as macro. Use compat_symbol_reference.
34346 (_LIB_VERSION): Likewise.
34347 * math/test-matherr-2.c: New file.
34348 * math/test-matherr-3.c: Likewise.
34349 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34350 declaration.
34351 (__kernel_standard_f): Likewise.
34352 (__kernel_standard_l): Likewise.
34353 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34354 <math_private.h>. Include <math-svid-compat.h>.
34355 (_LIB_VERSION): Undefine as macro.
34356 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34357 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34358 [LIBM_SVID_COMPAT], use compat_symbol.
34359 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34360 <math_private.h>. Include <math-svid-compat.h>.
34361 (matherr): Undefine as macro.
34362 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34363 compat_symbol.
34364 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34365 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34366 compat_symbol_reference.
34367 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34368 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34369 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34370 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34371 (MATHERR_D): Remove declaration.
34372 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34373 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34374 [LIBM_BUILD] (pmatherrf): Likewise.
34375 [LIBM_BUILD] (pmatherr): Likewise.
34376 [LIBM_BUILD] (pmatherrl): Likewise.
34377 (DOMAIN): Likewise.
34378 (SING): Likewise.
34379 (OVERFLOW): Likewise.
34380 (UNDERFLOW): Likewise.
34381 (TLOSS): Likewise.
34382 (PLOSS): Likewise.
34383 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34384 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34385 compat_symbol.
34386 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34387 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34388 compat_symbol.
34389 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34390 * math/w_acos_compat.c: Likewise.
34391 * math/w_acosf_compat.c: Likewise.
34392 * math/w_acosh_compat.c: Likewise.
34393 * math/w_acoshf_compat.c: Likewise.
34394 * math/w_acoshl_compat.c: Likewise.
34395 * math/w_acosl_compat.c: Likewise.
34396 * math/w_asin_compat.c: Likewise.
34397 * math/w_asinf_compat.c: Likewise.
34398 * math/w_asinl_compat.c: Likewise.
34399 * math/w_atan2_compat.c: Likewise.
34400 * math/w_atan2f_compat.c: Likewise.
34401 * math/w_atan2l_compat.c: Likewise.
34402 * math/w_atanh_compat.c: Likewise.
34403 * math/w_atanhf_compat.c: Likewise.
34404 * math/w_atanhl_compat.c: Likewise.
34405 * math/w_cosh_compat.c: Likewise.
34406 * math/w_coshf_compat.c: Likewise.
34407 * math/w_coshl_compat.c: Likewise.
34408 * math/w_exp10_compat.c: Likewise.
34409 * math/w_exp10f_compat.c: Likewise.
34410 * math/w_exp10l_compat.c: Likewise.
34411 * math/w_exp2_compat.c: Likewise.
34412 * math/w_exp2f_compat.c: Likewise.
34413 * math/w_exp2l_compat.c: Likewise.
34414 * math/w_fmod_compat.c: Likewise.
34415 * math/w_fmodf_compat.c: Likewise.
34416 * math/w_fmodl_compat.c: Likewise.
34417 * math/w_hypot_compat.c: Likewise.
34418 * math/w_hypotf_compat.c: Likewise.
34419 * math/w_hypotl_compat.c: Likewise.
34420 * math/w_j0_compat.c: Likewise.
34421 * math/w_j0f_compat.c: Likewise.
34422 * math/w_j0l_compat.c: Likewise.
34423 * math/w_j1_compat.c: Likewise.
34424 * math/w_j1f_compat.c: Likewise.
34425 * math/w_j1l_compat.c: Likewise.
34426 * math/w_jn_compat.c: Likewise.
34427 * math/w_jnf_compat.c: Likewise.
34428 * math/w_jnl_compat.c: Likewise.
34429 * math/w_lgamma_main.c: Likewise.
34430 * math/w_lgamma_r_compat.c: Likewise.
34431 * math/w_lgammaf_main.c: Likewise.
34432 * math/w_lgammaf_r_compat.c: Likewise.
34433 * math/w_lgammal_main.c: Likewise.
34434 * math/w_lgammal_r_compat.c: Likewise.
34435 * math/w_log10_compat.c: Likewise.
34436 * math/w_log10f_compat.c: Likewise.
34437 * math/w_log10l_compat.c: Likewise.
34438 * math/w_log2_compat.c: Likewise.
34439 * math/w_log2f_compat.c: Likewise.
34440 * math/w_log2l_compat.c: Likewise.
34441 * math/w_log_compat.c: Likewise.
34442 * math/w_logf_compat.c: Likewise.
34443 * math/w_logl_compat.c: Likewise.
34444 * math/w_pow_compat.c: Likewise.
34445 * math/w_powf_compat.c: Likewise.
34446 * math/w_powl_compat.c: Likewise.
34447 * math/w_remainder_compat.c: Likewise.
34448 * math/w_remainderf_compat.c: Likewise.
34449 * math/w_remainderl_compat.c: Likewise.
34450 * math/w_scalb_compat.c: Likewise.
34451 * math/w_scalbf_compat.c: Likewise.
34452 * math/w_scalbl_compat.c: Likewise.
34453 * math/w_sinh_compat.c: Likewise.
34454 * math/w_sinhf_compat.c: Likewise.
34455 * math/w_sinhl_compat.c: Likewise.
34456 * math/w_sqrt_compat.c: Likewise.
34457 * math/w_sqrtf_compat.c: Likewise.
34458 * math/w_sqrtl_compat.c: Likewise.
34459 * math/w_tgamma_compat.c: Likewise.
34460 * math/w_tgammaf_compat.c: Likewise.
34461 * math/w_tgammal_compat.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34463 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34464 * sysdeps/ieee754/k_standard.c: Likewise.
34465 * sysdeps/ieee754/k_standardf.c: Likewise.
34466 * sysdeps/ieee754/k_standardl.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34469 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34472 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34474 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34475 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34477 Likewise.
34478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34479 Likewise.
34480 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34482 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34483 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34484
4504783c
FW
344852017-08-21 Florian Weimer <fweimer@redhat.com>
34486
34487 [BZ #21864]
34488 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34489 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34490 Move before inclusion of ../Rules.
34491
b5889d25
FW
344922017-08-21 Florian Weimer <fweimer@redhat.com>
34493
34494 [BZ #21972]
34495 * assert/assert.h (assert): Use static_cast (bool) for C++.
34496 Use the ternary operator in the warning branch for GNU C.
34497 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34498 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34499 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34500 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34501 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34502
41e673c1
L
345032017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34504
34505 [BZ #18822]
34506 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34507 (__syscall_clock_gettime): Add attribute_hidden.
34508 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34509 (__start_context): Likewise.
34510
568ff429
L
345112017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34512
34513 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34514 building libc.a.
34515 (hidden_proto): Likewise.
34516 (hidden_tls_proto): Likewise.
34517 (__hidden_proto): Likewise.
34518
7c41b4a1
L
345192017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34520
34521 * include/libc-symbols.h (attribute_hidden): Enable hidden
34522 visibility in libc.a compiled with PIE.
34523
483d7068
L
345242017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34525
34526 [BZ #18822]
34527 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34528 Add attribute_hidden.
34529
345302017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34531
34532 [BZ #21864]
34533 * Makerules (all-nonlib): Add $(others-extras).
34534 * catgets/Makefile (others-extras): New.
34535 * elf/Makefile (others-extras): Likewise.
34536 * nss/Makefile (others-extras): Likewise.
34537
54e4b8f2
L
345382017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 [BZ #18822]
34541 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34542 * elf/dl-open.c: Include <libc-internal.h>.
34543 (__libc_multiple_libcs): Removed.
34544 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34545 <hp-timing.h>.
34546 * include/libc-internal.h (__libc_multiple_libcs): New.
34547 * misc/sbrk.c: Include <libc-internal.h>.
34548 (__libc_multiple_libcs): Removed.
34549
1dbbb1ec
L
345502017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34551
34552 [BZ #18822]
34553 * grp/initgroups.c (__nss_group_database): Removed.
34554 (__nss_initgroups_database): Likewise.
34555 * nscd/gai.c (__nss_hosts_database): Likewise.
34556 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34557 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34558 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34559 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34560 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34561 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34562 attribute_hidden.
34563 * nss/nsswitch.c (__nss_database_custom): Define only if
34564 USE_NSCD is defined.
34565 (__nss_configure_lookup): Use __nss_database_custom only if
34566 USE_NSCD is defined.
34567 * nss/nsswitch.h (__nss_database_custom): Declare only if
34568 USE_NSCD is defined. Add attribute_hidden.
34569 (__nss_setent): Add attribute_hidden.
34570 (__nss_endent): Likewise.
34571 (__nss_getent_r): Likewise.
34572 (__nss_getent): Likewise.
34573 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34574
2585d7b8
L
345752017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34576
34577 [BZ #18822]
34578 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34579 libc_hidden_proto and libc_hidden_def.
34580
c8dfa99c
L
345812017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34582
34583 [BZ #18822]
34584 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34585 Add libc_hidden_proto.
34586 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34587 Add libc_hidden_def.
34588
7ed87317
L
345892017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34590
34591 [BZ #21974]
34592 * gmon/Makefile (routines): Remove bb_init_func and
34593 bb_exit_func.
34594 (elide-routines.os): Removed.
9476b904
L
34595 * gmon/bb_exit_func.c: Likewise.
34596 * gmon/bb_init_func.c: Likewise.
7ed87317
L
34597 * include/sys/gmon.h (__bb): Likewise.
34598 (__bb_init_func): Likewise.
34599 (__bb_exit_func): Likewise.
91695eb1 34600 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 34601
94e6ba15
L
346022017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34603
34604 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34605 * include/setjmp.h (____longjmp_chk): Here. Add
34606 attribute_hidden.
34607
7550717e
L
346082017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34609
34610 [BZ #18822]
34611 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34612 attribute_hidden.
34613 (__strspn_sse2): Likewise.
34614
0bb2fabc
AZ
346152017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34616
c181840c
AZ
34617 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34618 (close_not_cancel_no_status): Likewise.
34619 (__close_nocancel): New macro.
34620 (__close_nocancel_nostatus): Likewise.
34621 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34622 macro.
34623 (close_not_cancel): Likewise.
34624 (close_not_cancel_no_status): Likewise.
34625 (__close_nocancel): New prototype.
34626 (__close_nocancel_nostatus): New function.
34627 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34628 * catgets/open_catalog.c (__open_catalog): Replace
34629 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34630 * gmon/gmon.c (write_gmon): Likewise.
34631 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34632 * intl/loadmsgcat.c (close): Likewise.
34633 * io/ftw.c (open_dir_stream): Likewise.
34634 (ftw_startup): Likewise.
34635 * libio/fileops.c (_IO_file_open): Likewise.
34636 (_IO_file_close_mmap): Likewise.
34637 (_IO_file_close): Likewise.
34638 * libio/iopopen.c (_IO_dup2): Likewise.
34639 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34640 * locale/loadlocale.c (_nl_load_locale): Likewise.
34641 * login/utmp_file.c (pututline_file): Likewise.
34642 (endutent_file): Likewise.
34643 * misc/daemon.c (daemon): Likewise.
34644 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34645 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34646 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34647 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34648 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34649 * nscd/nscd_helper.c (open_socket): Likewise.
34650 (__nscd_open_socket): Likewise.
34651 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34652 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34653 (__nscd_innetgr): Likewise.
34654 * nss/nss_db/db-open.c (internal_setent): Likewise.
34655 * resolv/res-close.c (__res_iclose): Likewise.
34656 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34657 * sysdeps/posix/closedir.c (__closedir): Likewise.
34658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34659 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34660 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34661 (opendir_tail): Likewise.
34662 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34663 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34664 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34665 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34666 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34667 (gethostid): Likewise.
34668 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34670 Likewise.
34671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34672 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34673 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34674 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34675 Likewise.
34676 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34677 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34678 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34679 Likewise.
34680 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34681 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34682 Likewise.
34683 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34684 Likewise.
34685 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34686 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34687 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34688 __close_nocancel.
34689
0bb2fabc
AZ
34690 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34691 (openat_not_cancel_3): Likewise.
34692 (openat64_not_cancel_3): Likewise).
34693 (openat_not_cancel_3): Likewise).
34694 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34695 macro.
34696 (openat_not_cancel_3): Likewise.
34697 (openat64_not_cancel): Likewise.
34698 (openat64_not_cancel_3): Likewise.
34699 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34700 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34701 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34702 __open{64}_nocancel.
34703 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34704 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34705 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34706
65a086db
L
347072017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34708
34709 [BZ #18822]
34710 * include/argz.h (__argz_create_sep): New function prototype.
34711 (__argz_append): Likewise.
34712 (__argz_add): Likewise.
34713 (__argz_add_sep): Likewise.
34714 (__argz_delete): Likewise.
34715 (__argz_insert): Likewise.
34716 (__argz_replace): Likewise.
34717 * string/argz.h (__argz_create_sep): Removed.
34718 (__argz_append): Likewise.
34719 (__argz_add): Likewise.
34720 (__argz_add_sep): Likewise.
34721 (__argz_delete): Likewise.
34722 (__argz_insert): Likewise.
34723 (__argz_replace): Likewise.
34724
62753d2c
L
347252017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34726
34727 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34728 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34729 (GNU_PROPERTY_STACK_SIZE): Likewie.
34730 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34731 (GNU_PROPERTY_LOPROC): Likewise.
34732 (GNU_PROPERTY_HIPROC): Likewise.
34733 (GNU_PROPERTY_LOUSER): Likewise.
34734 (GNU_PROPERTY_HIUSER): Likewise.
34735 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34736 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34737 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34738 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34739 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34740 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34741 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34742 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34743 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34744 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34745 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34746 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34747 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34748 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34749 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34750 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34751 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34752 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34753 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34754 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34755 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34756 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34757 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34758
6913ad65
GG
347592017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34760
34761 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34762 in C++ mode.
34763
47a67213
GG
347642017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34765
34766 [BZ #21930]
34767 * math/math.h (isinf): Check if in C or C++ mode before using
34768 __builtin_types_compatible_p, since this is a C mode feature.
34769
a748eb31
AZ
347702017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34771
c647fb88
AZ
34772 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34773 (__write_nocancel): New macro.
34774 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34775 Rewrite as a function prototype.
34776 (write_not_cancel): Remove macro.
34777 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34778 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34779 (write_gmon): Likewise.
34780 * libio/fileops.c (_IO_new_file_write): Likewise.
34781 * login/utmp_file.c (pututline_file): Likewise.
34782 (updwtmp_file): Likewise.
34783 * stdio-common/psiginfo.c (psiginfo): Likewise.
34784 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34785 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34786 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34787 Likewise.
34788 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34789 Likewise.
34790
a748eb31
AZ
34791 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34792 (__read_nocancel): New macro.
34793 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34794 __read_nocancel.
34795 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34796 macro.
34797 (__read_nocancel): New prototype.
34798 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34799 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34800 with __read_nocancel.
34801 * intl/loadmsgcat.c (read): Likewise.
34802 * libio/fileops.c (_IO_file_read): Likewise.
34803 * locale/loadlocale.c (_nl_load_locale): Likewise.
34804 * login/utmp_file.c (getutent_r_file): Likewise.
34805 (internal_getut_r): Likewise.
34806 (getutline_r_file): Likewise.
34807 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34808 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34809 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34811 Likewise.
34812 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34813 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34814 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34815 Likewise.
34816 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34817 Likewise.
34818 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34819 Likewise.
34820 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34821 Likewise.
34822 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34823
098b9dd4
L
348242017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34825
34826 [BZ #21966]
34827 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34828 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34829 usable.
34830
a3fe6a20
DD
348312017-08-17 DJ Delorie <dj@redhat.com>
34832
34833 * bug17079.c: Update to new test harness.
34834 * test-digits-dots.c: Likewise.
34835 * test-netdb.c: Likewise.
34836 * tst-field.c: Likewise.
34837 * tst-nss-getpwent.c: Likewise.
34838 * tst-nss-static.c: Likewise.
34839 * tst-nss-test1.c: Likewise.
34840 * tst-nss-test2.c: Likewise.
34841 * tst-nss-test3.c: Likewise.
34842 * tst-nss-test4.c: Likewise.
34843 * tst-nss-test5.c: Likewise.
34844
c2284574
AZ
348452017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34846
34847 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34848 (open_not_cancel_2): Likewise.
34849 (open_nocancel): New macro.
34850 (open64_nocancel): Likewise.
34851 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34852 (open_not_cancel_2): Likewise.
34853 (__open_nocancel): New prototype.
34854 (__open64_nocancel): Likewise.
34855 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34856 __open_nocancel.
34857 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34858 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34859 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34860 with __open_nocancel.
34861 * csu/check_fds.c (check_one_fd): Likewise.
34862 * gmon/gmon.c (write_gmon): Likewise.
34863 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34864 * intl/loadmsgcat.c (open): Likewise.
34865 * libio/fileops.c (_IO_file_open): Likewise.
34866 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34867 * locale/loadlocale.c (_nl_load_locale): Likewise.
34868 * login/utmp_file.c (setutent_file): Likewise.
34869 * misc/daemon.c (daemon): Likewise.
34870 * nss/nss_db/db-open.c (internal_setent): Likewise.
34871 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34872 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34873 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34874 (__opendir): Likewise.
34875 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34876 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34877 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34878 (gethostid): Likewise.
34879 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34880 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34881 Likewise.
34882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34883 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34884 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34885 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34886 Likewise.
34887 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34888 Likewise.
34889 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34890 Likewise.
34891 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34892 Likewise.
34893 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34894 Likewise.
34895 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34896 Likewise.
34897 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34898 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34899
d4505b89
WD
349002017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34901
34902 * benchtests/bench-skeleton.c (main): Add support for
34903 latency benchmarking.
34904 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34905
34d6a3cb
L
349062017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34907
34908 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34909 the startup object.
34910
038d1caf
FW
349112017-08-17 Florian Weimer <fweimer@redhat.com>
34912
34913 * include/sys/socket.h (__opensock): Remove internal_function.
34914 * socket/opensock.c (__opensock): Likewise.
34915 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34916
67f0aff0
JM
349172017-08-16 Joseph Myers <joseph@codesourcery.com>
34918
34919 [BZ #21944]
34920 * signal/bits/types/__sigval_t.h: New file.
34921 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34922 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34923 and define sigval_t using __sigval_t.
34924 * include/bits/types/__sigval_t.h: New file.
34925 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34926 instead of <bits/types/__sigval_t.h>.
34927 (struct sigevent): Use __sigval_t instead of sigval_t.
34928 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34929 instead of <bits/types/__sigval_t.h>.
34930 (siginfo_t): Use __sigval_t instead of sigval_t.
34931 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34932 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34933 (struct sigevent): Use __sigval_t instead of sigval_t.
34934 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34935 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34936 (siginfo_t): Use __sigval_t instead of sigval_t.
34937 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34938
87e7bf4d
L
349392017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34940
34941 * NEWS: Remove "[Add new features here]" for 2.27.
34942
5047057f
JM
349432017-08-16 Joseph Myers <joseph@codesourcery.com>
34944
34945 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34946 libc.so.
34947
20c7b195
L
349482017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34949
34950 * NEWS: Mention x86-64 FMA optimization.
34951
24a2e658
L
349522017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34953
34954 [BZ #21912]
34955 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34956 Add e_expf-fma.
34957 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34958 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34959 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34960
eedca977
AS
349612017-08-16 Andreas Schwab <schwab@suse.de>
34962
403143e1
FW
34963 [BZ #16750]
34964 CVE-2009-5064
eedca977
AS
34965 * elf/ldd.bash.in: Never run file directly.
34966
f59f7adb
L
349672017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34968
34969 [BZ #21955]
34970 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34971 (L(SP_INF_0)): Likewise.
34972
6b11a6ad
FW
349732017-08-15 Florian Weimer <fweimer@redhat.com>
34974
34975 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34976 run-built-tests.
34977
bbf5c438
FW
349782017-08-15 Florian Weimer <fweimer@redhat.com>
34979
34980 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34981 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34982 BROKEN_THREAD_SIGNALS code.
34983 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34984 request_list): Remove caller_pid member used for
34985 BROKEN_THREAD_SIGNALS.
34986 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34987 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34988 Remove BROKEN_THREAD_SIGNALS support.
34989 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34990 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34991
6014c65d
FW
349922017-08-15 Florian Weimer <fweimer@redhat.com>
34993
34994 * gmon/Makefile (tests): Add tst-gmon.
34995 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34996 Set.
34997 (tests-special): Add tst-gmon-prof.out.
34998 (tst-gmon.out): Depend on clean-tst-gmon-data.
34999 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35000 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35001 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35002 startup object.
35003 * aclocal.m4 (GPROF): Set and substitute.
35004 * config.amke.in (GPROF): Set.
35005 * configure: Regenerate.
35006
ee72219a
GR
350072017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35008
35009 * elf/elf.h A (NT_PPC_TAR): New macro.
35010 (NT_PPC_PPR): Likewise.
35011 (NT_PPC_DSCR): Likewise.
35012 (NT_PPC_EBB): Likewise.
35013 (NT_PPC_PMU): Likewise.
35014 (NT_PPC_TM_CGPR): Likewise.
35015 (NT_PPC_TM_CFPR): Likewise.
35016 (NT_PPC_TM_CVMX): Likewise.
35017 (NT_PPC_TM_CVSX): Likewise.
35018 (NT_PPC_TM_SPR): Likewise.
35019 (NT_PPC_TM_CTAR): Likewise.
35020 (NT_PPC_TM_CPPR): Likewise.
35021 (NT_PPC_TM_CDSCR): Likewise.
35022
4ebf934e
FW
350232017-08-15 Florian Weimer <fweimer@redhat.com>
35024
35025 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35026 regparm (2) instead of internal_function.
35027 (_MCOUNT_DECL): Adjust.
35028
e9f57484
SL
350292017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35030
35031 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35032 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35033
88ff4d55
JM
350342017-08-14 Joseph Myers <joseph@codesourcery.com>
35035
35036 * conform/data/sys/wait.h-data (si_value): Do not expect for
35037 XPG42.
35038
c88ffc23
FW
350392017-08-14 Florian Weimer <fweimer@redhat.com>
35040
35041 [BZ #21962]
35042 NSS: Create stubs for accidentally exported lookup functions.
35043 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35044 Remove declaration.
35045 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35046 (ether_hostton): Call __nss_ethers_lookup2 instead.
35047 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35048 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35049 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35050 (setup): Call __nss_netgroup_lookup2 instead.
35051 * nss/Makefile (routines): Add compat-lookup.
35052 * nss/Versions (GLIBC_2.27): Add symbol version.
35053 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35054 (DB_COMPAT_FCT): Remove.
35055 * nss/compat-lookup.c: New file.
35056 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35057 from databases.def.
35058 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35059 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35060 (netname2user): Call __nss_publickey_lookup2 instead.
35061 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35062 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35063 instead.
35064
35a29136 350652017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
35066 Sergei Trofimovich <slyfox@inbox.ru>
35067
35068 [BZ #21908]
35069 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35070 Rename to MMAP2_PAGE_UNIT.
35071 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35072 __OFF_T_MATCHES_OFF64_T is not defined.
35073 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35074 uint64_t.
35075 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35076 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35077
fbdc1e3e
FW
350782017-08-14 Florian Weimer <fweimer@redhat.com>
35079
35080 i386: Do not set internal_function.
35081 * config.h.in (USE_REGPARMS, internal_function): Remove.
35082 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35083 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35084
b3f85fd2
FW
350852017-08-14 Florian Weimer <fweimer@redhat.com>
35086
35087 * elf/dl-init.c (_dl_init): Remove internal_function.
35088 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35089 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35090
630bf491
FW
350912017-08-14 Florian Weimer <fweimer@redhat.com>
35092
35093 * elf/rtld.c (_dl_start): Remove internal_function.
35094 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35095 _dl_start.
35096
9fa7449b
FW
350972017-08-14 Florian Weimer <fweimer@redhat.com>
35098
35099 * elf/dl-fini.c (_dl_fini): Remove internal_function
35100 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35101
73322d5f
L
351022017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35103
d863cd71 35104 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
35105 (bit_cpu_SHSTK): Likewise.
35106 (index_cpu_IBT): Likewise.
35107 (index_cpu_SHSTK): Likewise.
35108 (reg_IBT): Likewise.
35109 (reg_SHSTK): Likewise.
35110 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35111 Handle index_cpu_IBT and index_cpu_SHSTK.
35112
dbc303ef
MF
351132017-08-14 Mike FABIAN <mfabian@redhat.com>
35114
35115 [BZ #19982]
35116 * po/fr.po: Fix spelling mistake.
35117
3012cfb0
FW
351182017-08-13 Florian Weimer <fweimer@redhat.com>
35119
35120 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35121 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35122 (_dl_catch_error, _dl_receive_error): Likewise.
35123 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35124 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35125 (_dl_deallocate_tls): Likewise.
35126 * include/dlfcn.h (_dl_addr): Likewise.
35127 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35128 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35129 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35130 Likewise.
35131
52bcdf26
FW
351322017-08-13 Florian Weimer <fweimer@redhat.com>
35133
35134 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35135 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35136 internal_function.
35137 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35138
e1d2ae8d
FW
351392017-08-13 Florian Weimer <fweimer@redhat.com>
35140
35141 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35142 internal_function.
35143 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35144 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35145 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35146 internal_function from _dl_make_stack_executable_hook member.
35147 (_dl_make_stack_executable): Remove internal_function.
35148 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35149 Likewise.
35150 * sysdeps/unix/sysv/linux/dl-execstack.c
35151 (_dl_make_stack_executable): Likewise.
35152
c4ce0382
FW
351532017-08-13 Florian Weimer <fweimer@redhat.com>
35154
35155 * sysdeps/unix/sysv/linux/netlinkaccess.h
35156 (__netlink_assert_response): Remove internal_function.
35157 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35158 (__netlink_assert_response): Likewise.
35159
c4d767f7
FW
351602017-08-13 Florian Weimer <fweimer@redhat.com>
35161
35162 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35163 internal_function.
35164 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35165
b2297409
FW
351662017-08-13 Florian Weimer <fweimer@redhat.com>
35167
35168 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35169 internal_function.
35170 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35171 * inet/netgroup.h (__internal_setnetgrent)
35172 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35173 * inet/getnetgrent_r.c (__internal_setnetgrent)
35174 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35175 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35176 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35177 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35178 * nss/nsswitch.h (db_lookup_function): Likewise.
35179
1b0bfc69
FW
351802017-08-13 Florian Weimer <fweimer@redhat.com>
35181
35182 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35183 Remove internal_function.
35184 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35185 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35186 message argument on the stack.
35187 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35188 Likeweise.
35189
a6bd8722
MF
351902017-08-12 Mike FABIAN <mfabian@redhat.com>
35191
35192 Adapt test case data to the changes in the thousands
35193 separators.
35194
35195 [BZ #20756]
35196 * localedata/tst-langinfo.sh: Adapt test case data.
35197 * stdlib/tst-strfmon_l.c: Likewise.
35198 * stdlib/tst-strtod4.c: Likewise.
35199 * stdlib/tst-strtod5i.c: Likewise.
35200
8b2c63e4
FW
352012017-08-11 Florian Weimer <fweimer@redhat.com>
35202
35203 [BZ #21242]
35204 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35205 Suppress pedantic warning resulting from statement expression.
35206 (__ASSERT_FUNCTION): Add missing __extension__.
35207
61c98291
SP
352082017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35209
86c6519e
SP
35210 * benchtests/bench-memmove-large.c: Print output in JSON
35211 format.
35212 * benchtests/bench-memmove.c: Likewise.
35213
61c98291
SP
35214 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35215 * benchtests/bench-memchr.c (do_one_test): Likewise.
35216 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35217 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35218 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35219 * benchtests/bench-memmove.c (do_one_test): Likewise.
35220 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35221 * benchtests/bench-memset.c (do_one_test): Likewise.
35222 * benchtests/bench-string.h (test_init): Remove memsets.
35223
925733a9
RJ
352242017-08-10 Rical Jasan <ricaljasan@pacific.net>
35225
35226 * manual/lang.texi
35227 (Computing the Width of an Integer Data Type): Rename section to
35228 "Width of an Integer Type". Remove inaccurate statement regarding
35229 lack of C language facilities for determining width of integer
35230 types, and reorder content to improve flow and context of
35231 discussion.
35232
4fcdfbfc
RJ
352332017-08-10 Rical Jasan <ricaljasan@pacific.net>
35234
35235 * lang.texi (va_copy): Change standard from ISO to C99.
35236 (__va_copy): Add standard and header annotation.
35237 Update description for clarity of origins and current use.
35238
4d98ace9
GG
352392017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35240
35241 [BZ #21941]
35242 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35243 xssqrtqp requires operands to be in Vector Registers
35244 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35245 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35246 (__ieee754_sqrtf128): Likewise.
35247
92236903
WD
352482017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35249
35250 * sysdeps/aarch64/memcmp.S (memcmp):
35251 Rewrite of optimized memcmp.
35252
2449ae7b
FW
352532017-08-10 Florian Weimer <fweimer@redhat.com>
35254
35255 Introduce ld.so exceptions.
35256 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35257 (_dl_exception_create, _dl_exception_create_format)
35258 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35259 (_dl_catch_exception): Declare.
35260 (_dl_catch_error): Update comment.
35261 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35262 errstring, malloced members with exception member.
35263 (_dl_out_of_memory): Remove.
35264 (fatal_error): New function, extracted from _dl_signal_error.
35265 (_dl_signal_exception, _dl_signal_cexception): New functions.
35266 (_dl_signal_error): Call _dl_exception_create to allocate an
35267 exception object.
35268 (_dl_catch_exception): New function, based on _dl_catch_error.
35269 (_dl_catch_error): Implement using _dl_catch_exception.
35270 * elf/dl-exception.c: New file.
35271 * elf/Makefile (dl-routines): Add dl-exception.
35272 (elide-routines.os): Likewise.
35273 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35274 _dl_exception_create_format, _dl_exception_free.
35275 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35276 _dl_signal_exception.
35277 * elf/dl-lookup.c (make_string): Remove.
35278 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35279 _dl_signal_cexception, _dl_exception_free.
35280 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35281 _dl_signal_exception.
35282 * elf/dl-sym.c (do_sym): Likewise.
35283 * elf/dl-version.c (make_string): Remove.
35284 (match_symbol): Use _dl_exception_create_format,
35285 _dl_signal_cexception, _dl_exception_free.
35286 (_dl_check_map_versions): Likewise.
35287 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35288 _dl_catch_exception.
35289 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35290 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35291 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35292 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35293 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35294 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35295 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35296 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35297 Likewise.
35298 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35300 (ld.so): Likewise.
35301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35302 (ld.so): Likewise.
35303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35304 Likewise.
35305 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35306 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35307 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35308 Likewise.
35309 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35310 Likewise.
35311 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35312
f87cc2bf
FW
353132017-08-10 Florian Weimer <fweimer@redhat.com>
35314
35315 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35316 attribute_hidden, internal_function.
35317 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35318 internal_function.
35319
eac43cbb
FW
353202017-08-10 Florian Weimer <fweimer@redhat.com>
35321
35322 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35323 function which calls __builtin_unreachable.
35324
bd80111e
MF
353252017-08-10 Mike FABIAN <mfabian@redhat.com>
35326
35327 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35328 Indian monetary formatting
35329 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35330 test cases.
35331
60e2846e
DL
353322017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35333
68dc02d1
DL
35334 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35335 Fix typo in comment.
35336
60e2846e
DL
35337 [BZ #21928]
35338 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35339 PTRACE_SEIZE_DEVEL): Remove.
35340 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35341 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35343 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35345
3d452dab
JM
353462017-08-09 Joseph Myers <joseph@codesourcery.com>
35347
24d9f53a
JM
35348 * posix/bits/types.h (__qaddr_t): Remove.
35349
3d452dab
JM
35350 [BZ #21457]
35351 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35352 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35353 __glibc_reserved1.
35354 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35355 (ucontext_t): Use __ctx with uc_flags.
35356 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35357 (__ctxt): Likewise.
35358 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35359 __glibc_reserved1.
35360 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35361 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35362 __glibc_reserved1.
35363 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35364 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35365 __glibc_reserved1.
35366 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35367 macro.
35368 (ucontext_t): Use __ctx with uc_flags.
35369 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35370 (ucontext_t): Use __ctx with uc_flags.
35371 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35372 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35373 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35374 (ucontext_t): Use __ctx with uc_flags.
35375 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35376 undefine further down.
35377 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35378 __glibc_reserved1.
35379 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35380 undefine further down.
35381 (ucontext_t): Use __ctx with uc_flags.
35382 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35383 undefine further down.
35384 (ucontext_t): Use __ctx with uc_flags.
35385 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35386 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35387 Rename uc_pad to __glibc_reserved1.
35388 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35389 undefine further down.
35390 (ucontext_t): Use __ctx with uc_flags.
35391 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35392 further down.
35393 (ucontext_t): Use __ctx with uc_flags.
35394 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35395 __ctx with uc_flags.
35396 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35397 (ucontext_t): Use __ctx with uc_flags.
35398 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35399 __ctx with uc_flags.
35400
30161498
FW
354012017-08-09 Florian Weimer <fweimer@redhat.com>
35402
35403 [BZ #21932]
35404 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35405 before early return.
35406
5797b410
AS
354072017-08-09 Andreas Schwab <schwab@suse.de>
35408
139237a4 35409 [BZ #21041]
5797b410
AS
35410 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35411 renamed alias.
35412
139237a4 35413 [BZ #21041]
40c06a3d
AS
35414 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35415 tst-compat-forwarder.
35416 (modules-names): Add tst-compat-forwarder-mod.
35417 ($(objpfx)tst-compat-forwarder): Depend on
35418 $(objpfx)tst-compat-forwarder-mod.so.
35419 * nptl/tst-compat-forwarder.c: New file.
35420 * nptl/tst-compat-forwarder-mod.c: New file.
35421
36ada5f6
SP
354222017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35423
0e02b510
SP
35424 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35425 comments.
35426
36ada5f6
SP
35427 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35428 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35429 memcpy_falkor.
35430 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35431 Bump.
35432 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35433 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35434 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35435 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35436 Add falkor.
35437 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35438 New macro.
35439
9995c839
AZ
354402017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35441
35442 [BZ #759]
35443 * manual/setjmp.texi (getcontex): Document uc_stack value
35444 compatibility differences.
35445
f17a4233
JM
354462017-08-08 Joseph Myers <joseph@codesourcery.com>
35447
35448 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35449 (old_malloc_hook): Likewise.
35450 (old_memalign_hook): Likewise.
35451 (old_realloc_hook): Likewise.
35452 (struct hdr): Likewise.
35453 (flood): Likewise.
35454 (freehook): Likewise.
35455 (mallochook): Likewise.
35456 (memalignhook): Likewise.
35457 (reallochook): Likewise.
35458 (mprobe): Likewise.
35459 * malloc/mtrace.c (mallwatch): Likewise.
35460 (tr_old_free_hook): Likewise.
35461 (tr_old_malloc_hook): Likewise.
35462 (tr_old_realloc_hook): Likewise.
35463 (tr_old_memalign_hook): Likewise.
35464 (tr_where): Likewise.
35465 (lock_and_info): Likewise.
35466 (tr_freehook): Likewise.
35467 (tr_mallochook): Likewise.
35468 (tr_reallochook): Likewise.
35469 (tr_memalignhook): Likewise.
35470 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35471 * misc/mmap.c (__mmap): Likewise.
35472 * misc/mmap64.c (__mmap64): Likewise.
35473 * misc/mprotect.c (__mprotect): Likewise.
35474 * misc/msync.c (msync): Likewise.
35475 * misc/munmap.c (__munmap): Likewise.
35476 * posix/posix_madvise.c (posix_madvise): Likewise.
35477 * socket/send.c (__send): Likewise.
35478 * socket/sendto.c (__sendto): Likewise.
35479 * socket/setsockopt.c (__setsockopt): Likewise.
35480 * string/memcmp.c (__ptr_t): Remove macro.
35481 (MEMCMP): Use void * instead of ptr_t.
35482 * string/memrchr.c (__ptr_t): Remove macro.
35483 (__memrchr): Use void * instead of ptr_t.
35484 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35485 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35486 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35487 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35488 * sysdeps/mach/msync.c (msync): Likewise.
35489 * sysdeps/mach/munmap.c (__munmap): Likewise.
35490 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35491 Likewise.
35492 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35493 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35494 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35495 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35496 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35497 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35498 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35499 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35500 Likewise.
35501 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35502 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35503 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35504 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35505 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35506 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35507 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35508 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35509 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35510 Likewise.
35511 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35512 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35513 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35514 (MEMCMP): Use void * instead of ptr_t.
35515 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35516 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35517
0df595b2
FW
355182017-08-08 Florian Weimer <fweimer@redhat.com>
35519
35520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35521 return statement.
35522
086df229
L
355232017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35524
35525 [BZ #21913]
35526 * csu/libc-tls.c: Include <startup.h> first.
35527 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35528 * elf/dl-tunables.c: Include <startup.h> first.
35529 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35530 * sysdeps/generic/startup.h: New file.
35531 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35532 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35533 (I386_USE_SYSENTER): New. Defined to 0.
35534
fc5ad702
AS
355352017-08-08 Andreas Schwab <schwab@suse.de>
35536
35537 [BZ #21041]
35538 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35539 * nptl/pt-system.c (system): Likewise.
35540
852d6312
AZ
355412017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35542
35543 [BZ #21780]
35544 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35545 EOPNOTSUPP.
35546 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35547 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35548 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35549 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35550 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35551 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35552 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35553
8b164787
JM
355542017-08-07 Joseph Myers <joseph@codesourcery.com>
35555
cd65836b
JM
35556 [BZ #21899]
35557 * bits/sigaction.h (struct sigaction): Define sa_handler and
35558 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35559 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35560 [__USE_XOPEN_EXTENDED].
35561 (SA_RESTART): Likewise.
35562 (SA_NODEFER): Likewise.
35563 (SA_RESETHAND): Likewise.
35564 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35565 (struct sigaction): Define sa_handler and sa_sigaction using union
35566 also for [__USE_XOPEN_EXTENDED].
35567 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35568 [__USE_XOPEN_EXTENDED].
35569 (SA_RESTART): Likewise.
35570 (SA_NODEFER): Likewise.
35571 (SA_RESETHAND): Likewise.
35572 * sysdeps/unix/sysv/linux/bits/sigaction.h
35573 (struct sigaction): Define sa_handler and sa_sigaction using union
35574 also for [__USE_XOPEN_EXTENDED].
35575 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35576 [__USE_XOPEN_EXTENDED].
35577 (SA_RESTART): Likewise.
35578 (SA_NODEFER): Likewise.
35579 (SA_RESETHAND): Likewise.
35580 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35581 (struct sigaction): Define sa_handler and sa_sigaction using union
35582 also for [__USE_XOPEN_EXTENDED].
35583 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35584 [__USE_XOPEN_EXTENDED].
35585 (SA_RESTART): Likewise.
35586 (SA_NODEFER): Likewise.
35587 (SA_RESETHAND): Likewise.
35588 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35589 (struct sigaction): Define sa_handler and sa_sigaction using union
35590 also for [__USE_XOPEN_EXTENDED].
35591 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35592 [__USE_XOPEN_EXTENDED].
35593 (SA_RESTART): Likewise.
35594 (SA_NODEFER): Likewise.
35595 (SA_RESETHAND): Likewise.
35596 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35597 (struct sigaction): Define sa_handler and sa_sigaction using union
35598 also for [__USE_XOPEN_EXTENDED].
35599 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35600 [__USE_XOPEN_EXTENDED].
35601 (SA_RESTART): Likewise.
35602 (SA_NODEFER): Likewise.
35603 (SA_RESETHAND): Likewise.
35604 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35605 (struct sigaction): Define sa_handler and sa_sigaction using union
35606 also for [__USE_XOPEN_EXTENDED].
35607 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35608 [__USE_XOPEN_EXTENDED].
35609 (SA_RESTART): Likewise.
35610 (SA_NODEFER): Likewise.
35611 (SA_RESETHAND): Likewise.
35612 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35613 (struct sigaction): Define sa_handler and sa_sigaction using union
35614 also for [__USE_XOPEN_EXTENDED].
35615 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35616 [__USE_XOPEN_EXTENDED].
35617 (SA_RESTART): Likewise.
35618 (SA_NODEFER): Likewise. Define directly rather than as alias.
35619 (SA_RESETHAND): Likewise.
35620 (SA_INTERRUPT): Define only for [__USE_MISC].
35621 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35622 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35623 [__USE_MISC].
35624 (SA_STACK): Define only for [__USE_MISC].
35625 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35626 (struct sigaction): Define sa_handler and sa_sigaction using union
35627 also for [__USE_XOPEN_EXTENDED].
35628 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35629 [__USE_XOPEN_EXTENDED].
35630 (SA_RESTART): Likewise.
35631 (SA_NODEFER): Likewise.
35632 (SA_RESETHAND): Likewise.
35633 (SA_NOPTRACE): Define only for [__USE_MISC].
35634
d9fee042
JM
35635 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35636 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35637 (struct catalog_info): Likewise.
35638 * inet/htontest.c (lo): Likewise.
35639 (foo): Likewise.
35640 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35641 * inet/inet_net.c (inet_network): Likewise.
35642 * inet/inet_netof.c (inet_netof): Likewise.
35643 * inet/rcmd.c (__ivaliduser): Likewise.
35644 (iruserok): Likewise.
35645 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35646 * locale/programs/locale-spec.c (locale_special): Likewise.
35647 * nis/nis_findserv.c (struct findserv_req): Likewise.
35648 (__nis_findfastest_with_timeout): Likewise.
35649 * nss/test-netdb.c (test_network): Likewise.
35650 * resolv/inet_neta.c (inet_neta): Likewise.
35651 * resolv/ns_date.c (ns_datetosecs): Likewise.
35652 (SECS_PER_DAY): Likewise.
35653 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35654 Likewise.
35655 * resolv/res_comp.c (__putlong): Likewise.
35656 (__putshort): Likewise.
35657 (_getlong): Likewise.
35658 (_getshort): Likewise.
35659 * resolv/res_debug.c (p_time): Likewise.
35660 (precsize_ntoa): Likewise.
35661 (precsize_aton): Likewise.
35662 (latlon2ul): Likewise.
35663 (loc_aton): Likewise.
35664 (loc_ntoa): Likewise.
35665 * resolv/res_hconf.c (struct netaddr): Likewise.
35666 (_res_hconf_reorder_addrs): Likewise.
35667 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35668 (clnttcp_control): Likewise.
35669 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35670 (clntudp_control): Likewise.
35671 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35672 (clntunix_control): Likewise.
35673 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35674 * sunrpc/rpc/auth.h (union des_block): Likewise.
35675 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35676 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35677 (xdrrec_create): Likewise.
35678 (xdrrec_endofrecord): Likewise.
35679 (flush_out): Likewise.
35680 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35681 (xdrstdio_putlong): Likewise.
35682 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35683 Likewise.
35684
8b164787
JM
35685 * misc/sys/cdefs.h (__long_double_t): Remove.
35686 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35687 instead of __long_double_t,
35688 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35689
7ee38e60
SP
356902017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35691
dd3e86ad
SP
35692 * benchtests/scripts/compare_strings.py: Avoid display error when
35693 running on a text terminal.
35694
b115e819
SP
35695 * benchtests/scripts/compare_strings.py (main): Add an
35696 optional -base option.
35697 (process_results): New argument base_func.
35698
7ee38e60
SP
35699 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35700 hardcoding memcpy.
35701 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35702 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35703
d5afb385
AS
357042017-08-07 Andreas Schwab <schwab@suse.de>
35705
35706 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35707 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35708 * intl/Makefile ($(objpfx)tst-gettext.out)
35709 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35710 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35711 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35712 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35713 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35714 * posix/Makefile ($(objpfx)globtest.out)
35715 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35716 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35717 ($(objpfx)tst-printf.out): Likewise.
35718 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35719 ($(objpfx)tst-setcontext3.out): Likewise.
35720
57a72fa3
L
357212017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35722
35723 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35724 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35725 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35726 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35727 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35728 and mptan-fma.
35729 (CFLAGS-doasin-fma.c): New.
35730 (CFLAGS-dosincos-fma.c): Likewise.
35731 (CFLAGS-e_asin-fma.c): Likewise.
35732 (CFLAGS-e_atan2-fma.c): Likewise.
35733 (CFLAGS-e_exp-fma.c): Likewise.
35734 (CFLAGS-e_log-fma.c): Likewise.
35735 (CFLAGS-e_pow-fma.c): Likewise.
35736 (CFLAGS-halfulp-fma.c): Likewise.
35737 (CFLAGS-mpa-fma.c): Likewise.
35738 (CFLAGS-mpatan-fma.c): Likewise.
35739 (CFLAGS-mpatan2-fma.c): Likewise.
35740 (CFLAGS-mpexp-fma.c): Likewise.
35741 (CFLAGS-mplog-fma.c): Likewise.
35742 (CFLAGS-mpsqrt-fma.c): Likewise.
35743 (CFLAGS-mptan-fma.c): Likewise.
35744 (CFLAGS-s_atan-fma.c): Likewise.
35745 (CFLAGS-sincos32-fma.c): Likewise.
35746 (CFLAGS-slowexp-fma.c): Likewise.
35747 (CFLAGS-slowpow-fma.c): Likewise.
35748 (CFLAGS-s_sin-fma.c): Likewise.
35749 (CFLAGS-s_tan-fma.c): Likewise.
35750 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35751 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35752 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35753 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35754 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35755 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35756 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35757 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35758 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35759 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35760 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35761 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35762 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35763 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35764 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35765 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35766 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35767 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35768 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35770 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35771 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35772 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35774 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35777 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35778 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35779 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35780 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35781
219dd320
JM
357822017-08-04 Joseph Myers <joseph@codesourcery.com>
35783
35784 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35785 (min_of_type_f): New macro.
35786 (min_of_type_): Likewise.
35787 (min_of_type_l): Likewise.
35788 (min_of_type_f128): Likewise.
35789 (min_of_type): Define using __MATH_TG and taking an expression
35790 argument.
35791 (math_check_force_underflow): Pass expression instead of type to
35792 min_of_type.
35793 (math_check_force_underflow_nonneg): Likewise.
35794
64d4dea6
L
357952017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35796
35797 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35798 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35799 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35800
973da22a
L
358012017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35802
35803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35804 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35805 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35806 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35807 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35808 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35809 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35810 memmove_chk-nonshared and memset_chk-nonshared
35811 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35812 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35813 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35814 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35815 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35816 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35817 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35818 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35819 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35820 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35821 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35822 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35823 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35824 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35825 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35826 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35827 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35828 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35830 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35832 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35834 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35835 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35836 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35838 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35839 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35841 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35844 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35847 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35849 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35850 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35851 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35853 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35855 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35857 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35859 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35861 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35863 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35864 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35865 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35866 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35867 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35868 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35869 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35870 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35871 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35872 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35873 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35874 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35875 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35876 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35877 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35878 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35879 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35880 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35881 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35882 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35883 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35884 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35885 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35886 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35887 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35888 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35889 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35890 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35891 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35892 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35895 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35919
8537e0f6
L
359202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35921
35922 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35923 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35924 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35925 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35926 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35927 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35928 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35929 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35930 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35931 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35932 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35933 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35934 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35935 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35936 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35937 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35938 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35939 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35940 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35941 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35942 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35943 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35944 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35945 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35946 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35947 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35948 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35949 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35950 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35951 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35952 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35953 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35954 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35955 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35956 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35957 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35958 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35959 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35960 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35961 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35962 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35963 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35964 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35965 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35966 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35967 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35968 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35969 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35970 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35971 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35972 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35973 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35974 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35975 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35976 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35977 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35978 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35979 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35980 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35981 ...
35982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35983 Don't include <sysdep.h> nor <init-arch.h>.
35984 (_ZGVbN2v_cos): Removed.
35985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35986 ...
35987 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35988 Don't include <sysdep.h> nor <init-arch.h>.
35989 (_ZGVdN4v_cos): Removed.
35990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35991 ...
35992 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35993 Don't include <sysdep.h> nor <init-arch.h>.
35994 (_ZGVeN8v_cos): Removed.
35995 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35996 ...
35997 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35998 Don't include <sysdep.h> nor <init-arch.h>.
35999 (_ZGVbN2v_exp): Removed.
36000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36001 ...
36002 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36003 Don't include <sysdep.h> nor <init-arch.h>.
36004 (_ZGVdN4v_exp): Removed.
36005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36006 ...
36007 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36008 Don't include <sysdep.h> nor <init-arch.h>.
36009 (_ZGVeN8v_exp): Removed.
36010 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36011 ...
36012 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36013 Don't include <sysdep.h> nor <init-arch.h>.
36014 (_ZGVbN2v_log): Removed.
36015 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36016 ...
36017 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36018 Don't include <sysdep.h> nor <init-arch.h>.
36019 (_ZGVdN4v_log): Removed.
36020 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36021 ...
36022 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36023 Don't include <sysdep.h> nor <init-arch.h>.
36024 (_ZGVeN8v_log): Removed.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36026 ...
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36028 Don't include <sysdep.h> nor <init-arch.h>.
36029 (_ZGVbN2vv_pow): Removed.
36030 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36031 ...
36032 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36033 Don't include <sysdep.h> nor <init-arch.h>.
36034 (_ZGVdN4vv_pow): Removed.
36035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36036 ...
36037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36038 Don't include <sysdep.h> nor <init-arch.h>.
36039 (_ZGVeN8vv_pow): Removed.
36040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36041 ...
36042 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36043 Don't include <sysdep.h> nor <init-arch.h>.
36044 (_ZGVbN2v_sin): Removed.
36045 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36046 ...
36047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36048 Don't include <sysdep.h> nor <init-arch.h>.
36049 (_ZGVbN4v_sin): Removed.
36050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36051 ...
36052 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36053 Don't include <sysdep.h> nor <init-arch.h>.
36054 (_ZGVbN8v_sin): Removed.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36056 ...
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36058 Don't include <sysdep.h> nor <init-arch.h>.
36059 (_ZGVbN2vvv_sincos): Removed.
36060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36061 ...
36062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36063 Don't include <sysdep.h> nor <init-arch.h>.
36064 (_ZGVdN4vvv_sincos): Removed.
36065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36066 ...
36067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36068 Don't include <sysdep.h> nor <init-arch.h>.
36069 (_ZGVeN8vvv_sincos): Removed.
36070 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36071 ...
36072 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36073 Don't include <sysdep.h> nor <init-arch.h>.
36074 (_ZGVeN16v_cosf): Removed.
36075 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36076 ...
36077 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36078 Don't include <sysdep.h> nor <init-arch.h>.
36079 (_ZGVbN4v_cosf): Removed.
36080 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36081 ...
36082 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36083 Don't include <sysdep.h> nor <init-arch.h>.
36084 (_ZGVdN8v_cosf): Removed.
36085 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36086 ...
36087 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36088 Don't include <sysdep.h> nor <init-arch.h>.
36089 (_ZGVeN16v_expf): Removed.
36090 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36091 ...
36092 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36093 Don't include <sysdep.h> nor <init-arch.h>.
36094 (_ZGVbN4v_expf): Removed.
36095 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36096 ...
36097 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36098 Don't include <sysdep.h> nor <init-arch.h>.
36099 (_ZGVdN8v_expf): Removed.
36100 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36101 ...
36102 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36103 Don't include <sysdep.h> nor <init-arch.h>.
36104 (_ZGVeN16v_logf): Removed.
36105 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36106 ...
36107 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36108 Don't include <sysdep.h> nor <init-arch.h>.
36109 (_ZGVbN4v_logf): Removed.
36110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36111 ...
36112 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36113 Don't include <sysdep.h> nor <init-arch.h>.
36114 (_ZGVdN8v_logf): Removed.
36115 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36116 ...
36117 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36118 Don't include <sysdep.h> nor <init-arch.h>.
36119 (_ZGVeN16vv_powf): Removed.
36120 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36121 ...
36122 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36123 Don't include <sysdep.h> nor <init-arch.h>.
36124 (_ZGVbN4vv_powf): Removed.
36125 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36126 ...
36127 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36128 Don't include <sysdep.h> nor <init-arch.h>.
36129 (_ZGVdN8vv_powf): Removed.
36130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36131 ...
36132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36133 Don't include <sysdep.h> nor <init-arch.h>.
36134 (_ZGVeN16vvv_sincosf): Removed.
36135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36136 ...
36137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36138 Don't include <sysdep.h> nor <init-arch.h>.
36139 (_ZGVbN4vvv_sincosf): Removed.
36140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36141 ...
36142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36143 Don't include <sysdep.h> nor <init-arch.h>.
36144 (_ZGVdN8vvv_sincosf): Removed.
36145 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36146 ...
36147 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36148 Don't include <sysdep.h> nor <init-arch.h>.
36149 (_ZGVeN16v_sinf): Removed.
36150 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36151 ...
36152 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36153 Don't include <sysdep.h> nor <init-arch.h>.
36154 (_ZGVbN4v_sinf): Removed.
36155 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36156 ...
36157 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36158 Don't include <sysdep.h> nor <init-arch.h>.
36159 (_ZGVdN8v_sinf): Removed.
36160
10a87ca4
L
361612017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36162
36163 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36164 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36165 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36166 s_rint-sse4_1 and s_rintf-sse4_1.
36167 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36168 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36169 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36170 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36171 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36174 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36175 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36176 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36177 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36178 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36179 (__ceil): Removed.
36180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36181 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36182 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36183 (__ceilf): Removed.
36184 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36185 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36186 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36187 (__floor): Removed.
36188 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36189 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36190 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36191 (__floorf): Removed.
36192 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36193 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36194 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36195 (__nearbyint): Removed.
36196 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36197 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36198 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36199 (__nearbyintf): Removed.
36200 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36201 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36202 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36203 (__rint): Removed.
36204 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36205 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36206 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36207 (__rintf): Removed.
36208
1e8e527d
L
362092017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36210
36211 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36212 SHARED. Avoid dynamic relocation against main in static PIE.
36213
e13daad7
L
362142017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36215
36216 [BZ #21815]
36217 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36218 (LDFLAGS-tst-prelink): Likewise.
36219
627c69c8
L
362202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36221
36222 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36223 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36224 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36225 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36226 (INTERNAL_SYSCALL_NCS): Likewise.
36227 (LOADARGS_1): Likewise.
36228 (LOADARGS_5): Likewise.
36229 (RESTOREARGS_1): Likewise.
36230 (RESTOREARGS_5): Likewise.
36231
fc11ff8d
L
362322017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36233
36234 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36235 (MEMPCPY_SYMBOL): Likewise.
36236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36237 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36239 in libc.a.
36240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36241 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36242 Likewise.
36243 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36244 (__hidden_ver1): Don't use in libc.a.
36245 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36246 (__mempcpy): Don't create a weak alias in libc.a.
36247 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36248 libc.a.
36249 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36250 (__hidden_ver1): Don't use in libc.a.
36251
19f1a11e
L
362522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36253
36254 * config.make.in (have-insert): New.
36255 * configure.ac (libc_cv_insert): New. Set to yes if linker
36256 supports INSERT in linker script.
36257 (AC_SUBST(libc_cv_insert): New.
36258 * configure: Regenerated.
36259 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36260 if $(have-insert) == yes.
36261
3093fd5e
L
362622017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36263
36264 * elf/Makefile (tests): Add vismain only if
36265 $(have-protected-data) == yes.
36266 (tests-pie): Likewise.
36267
d2cf37c0
L
362682017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36269
36270 [BZ #21871]
36271 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36272 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36273
c8a0e6ec
L
362742017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36275
36276 [BZ #21790]
36277 * sysdeps/i386/i586/memset.S
36278 (__memset_zero_constant_len_parameter): Removed.
36279 * sysdeps/i386/i686/memset.S
36280 (__memset_zero_constant_len_parameter): Likewise.
36281 * sysdeps/i386/i686/multiarch/memset_chk.S
36282 (__memset_zero_constant_len_parameter): Likewise.
36283 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36284 Likewise.
36285
2b34e271
AJ
362862017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36287
36288 * stdlib/getentropy.c (getentropy): Change return type to int.
36289
144bdab0
AJ
362902017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36291
36292 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36293
24ab7723
JM
362942017-08-03 Joseph Myers <joseph@codesourcery.com>
36295
36296 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36297 u_intN_t.
36298 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36299 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36300 Likewise.
36301 (ieee_float_shape_type): Likewise.
36302 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36303 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36304 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36305 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36306 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36307 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36308 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36309 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36310 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36311 Likewise.
36312 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36314 (__ieee754_yn): Likewise.
36315 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36316 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36317 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36318 Likewise.
36319 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36320 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36321 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36322 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36323 (__erfc): Likewise.
36324 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36325 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36326 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36327 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36328 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36329 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36330 Likewise.
36331 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36332 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36333 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36334 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36335 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36336 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36337 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36338 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36339 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36340 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36341 (__issignaling): Likewise.
36342 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36343 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36344 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36345 Likewise.
36346 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36347 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36348 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36350 Likewise.
36351 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36352 Likewise.
36353 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36354 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36355 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36356 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36357 (__erfcf): Likewise.
36358 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36359 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36360 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36361 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36362 Likewise.
36363 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36364 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36365 Likewise.
36366 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36367 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36368 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36369 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36370 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36371 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36372 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36373 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36374 Likewise.
36375 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36376 Likewise.
36377 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36378 Likewise.
36379 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36380 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36381 Likewise.
36382 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36383 Likewise.
36384 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36385 (__ieee754_ynl): Likewise.
36386 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36387 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36388 Likewise.
36389 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36390 Likewise.
36391 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36392 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36393 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36394 Likewise.
36395 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36396 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36397 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36398 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36399 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36400 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36401 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36402 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36403 Likewise.
36404 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36405 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36406 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36407 Likewise.
36408 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36409 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36410 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36411 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36412 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36414 Likewise.
36415 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36416 Likewise.
36417 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36418 Likewise.
36419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36420 Likewise.
36421 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36422 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36423 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36424 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36425 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36426 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36428 Likewise.
36429 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36430 Likewise.
36431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36432 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36433 Likewise.
36434 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36435 (__ieee754_remainderl): Likewise.
36436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36437 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36438 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36439 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36440 Likewise.
36441 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36443 Likewise.
36444 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36445 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36446 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36447 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36448 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36449 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36450 Likewise.
36451 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36452 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36453 (__ieee754_y0l): Likewise.
36454 (pzero): Likewise.
36455 (qzero): Likewise.
36456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36457 (__ieee754_y1l): Likewise.
36458 (pone): Likewise.
36459 (qone): Likewise.
36460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36461 (__ieee754_ynl): Likewise.
36462 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36463 (__ieee754_lgammal_r): Likewise.
36464 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36465 Likewise.
36466 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36467 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36468 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36469 (__erfcl): Likewise.
36470 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36471 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36472 Likewise.
36473 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36474 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36475 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36476 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36477 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36480 Likewise.
36481 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36482 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36483 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36484 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36485 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36486 Likewise.
36487 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36488 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36489 Likewise.
36490 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36491 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36492 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36493 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36494 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36495
964263bb
FW
364962017-08-03 Florian Weimer <fweimer@redhat.com>
36497
36498 [BZ #21885]
36499 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36500 on memory allocation failure.
36501
e98c925f
AM
365022017-08-03 Alan Modra <amodra@gmail.com>
36503
36504 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36505 tst-tlsopt-powerpc.c with function name change and no test harness.
36506 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36507 Call tls_get_addr_opt_test.
36508 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36509 (modules-names): Add mod-tlsopt-powerpc.
36510 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36511 (tst-tlsopt-powerpc): Depend on .so.
36512 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36513 define. Expand use in TLS_GD and TLS_LD.
36514
8ee1abdb
ST
365152017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36516
36517 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36518 function.
3da5756e 36519 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 36520
42df8d59
JM
365212017-08-02 Joseph Myers <joseph@codesourcery.com>
36522
36523 [BZ #21686]
36524 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36525 comparing size with that of double.
36526 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36527 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36528 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36529 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36530 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36531 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36532 unsigned __int128 types.
36533
b7f95f49
SE
365342017-08-02 Steve Ellcey <sellcey@cavium.com>
36535
36536 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36537 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36538 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36539 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36540 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36541
5b736bc9
L
365422017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36543
36544 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36545
dfc93c41
L
365462017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36547
36548 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36549 of SHARED.
36550 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36553 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36554 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36557
2fee621d
JM
365582017-08-02 Joseph Myers <joseph@codesourcery.com>
36559
36560 [BZ #21685]
36561 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36562 bit-field expressions passed to sizeof or typeof.
36563 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36564 (__TGMATH_F128): Likewise.
36565 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36566 (__TGMATH_CF128): Likewise.
36567 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36568 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36569 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36570 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36571 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36572 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36573 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36574 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36575 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36576 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36577 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36578 (__TGMATH_UNARY_IMAG): Likewise.
36579 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36580 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36581 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36582 type.
36583 (define_vars_for_type): Handle bit_field type specially.
36584 (Tests.__init__): Declare structure with bit-field element.
36585
b358255f
L
365862017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36587
36588 [BZ #21791]
36589 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36590 (MEMCPY_CHK): Define only if SHARED is defined.
36591 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36592 Likewise.
36593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36594 Likewise.
edf66db1
SP
36595
36596See ChangeLog.18 for earlier changes.