]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
nptl: Remove unnecessary forwarding of pthread_cond_clockwait from libc
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4a8f6d31
MC
12019-07-18 Mike Crowe <mac@mcrowe.com>
2
3 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
4 pthread_cond_clockwait forwarding functions. There are no internal
5 users, so it is unnecessary to expose these functions in libc.so.
6 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
7 unnecessary ptr___pthread_cond_clockwait member.
8 * nptl/nptl-init.c (pthread_functions): Remove assignment of
9 removed member.
10
9208c3b8
RL
112019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12
13 [BZ #21897]
14 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
15 begin with an uppercase letter now.
16 (abmon): Likewise.
17 (mon): Update from CLDR, reword February from "Kudo" to
18 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
19 and August from "Liiqen" to "Leqeeni".
20 * localedata/locales/aa_ER (mon): Update from CLDR, reword
21 April from "Agda Baxisso" to "Agda Baxis" and August from
22 "Leqeeni" to "Liiqen".
23 * localedata/locales/aa_ER@saaho (mon): Likewise.
24 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
25 abbreviated February from "Kud" to "Nah".
26 (mon): Update from CLDR, reword February from "Kudo" to
27 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
28
fba6d4bb
RL
292019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
30
31 [BZ #23996]
32 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
33
3cc7c9c5
P
342019-07-17 PanderMusubi <pander@users.sourceforge.net>
35
36 [BZ #23996]
37 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
38 name_mrs, name_miss, and name_ms.
39 * localedata/locales/nl_NL (LC_NAME): Likewise.
40
cce7b6a5
DZ
412019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
42
43 [BZ #24200]
44 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
45 * localedata/locales/en_IE (first_weekday): Likewise.
46
99d01ffc
MC
472019-07-12 Mike Crowe <mac@mcrowe.com>
48
1ff1373b
MC
49 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
50 that is only useful if futex_supports_exact_relative_timeouts ()
51 returns false.
52 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
53 Likewise.
54 * sysdeps/nptl/futex-internal.h: Remove comment about relative
55 timeouts potentially being imprecise since it's no longer true.
56 Remove declaration of futex_supports_exact_relative_timeouts.
57 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
58 of futex_supports_exact_relative_timeouts.
59
65dd7e9c
MC
60 * NEWS: Mention recently-added pthread_cond_clockwait,
61 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
62 sem_clockwait functions.
63
9d20e22e
MC
64 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
65 works like pthread_mutex_timedlock but takes a clockid parameter to
66 measure the abstime parameter against.
67 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
68 * nptl/DESIGN-systemtap-probes.txt: Likewise.
69 * nptl/pthread_mutex_timedlock.c
70 (__pthread_mutex_clocklock_common): Rename from
71 __pthread_mutex_timedlock and add clockid parameter. Pass this
72 parameter to lll_clocklock and lll_clocklock_elision in place of
73 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
74 LIBC_PROBE and validate clockid parameter before calling
75 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
76 implementation to add LIBC_PROBE and calls
77 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
78 clockid.
79 * nptl/Makefile: Add tst-mutex11.c.
80 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
81 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
82 clockid parameters to pthread_mutex_clocklock.
83 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
84 clockid parameter to indicate which clock to be used. Call
85 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
86 (do_test): Call do_test_clock to separately test
87 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
88 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
89 * nptl/tst-mutex9.c: Likewise.
90 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
91 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
92 Likewise.
93 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
94 Likewise.
95 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
96 Likewise.
97 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
98 Likewise.
99 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
100 Likewise.
101 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
102 Likewise.
103 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
104 Likewise.
105 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
106 (GLIBC_2.30): Likewise.
107 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
108 (GLIBC_2.30): Likewise.
109 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
110 (GLIBC_2.30): Likewise.
111 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
112 (GLIBC_2.30): Likewise.
113 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
114 (GLIBC_2.30): Likewise.
115 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
116 Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
118 (GLIBC_2.30): Likewise.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
120 (GLIBC_2.30): Likewise.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
122 (GLIBC_2.30): Likewise.
123 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
124 (GLIBC_2.30): Likewise.
125 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
126 (GLIBC_2.30): Likewise.
127 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
128 (GLIBC_2.30): Likewise.
129 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
130 Likewise.
131 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
132 (GLIBC_2.30): Likewise.
133 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
134 (GLIBC_2.30): Likewise.
135 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
136 (GLIBC_2.30): Likewise.
137 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
138 (GLIBC_2.30): Likewise.
139
59213094
MC
140 nptl: Rename lll_timedlock to lll_clocklock and add clockid
141 parameter to indicate the clock that the abstime parameter should
142 be measured against in preparation for adding
143 pthread_mutex_clocklock.
144 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
145 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
146 from __lll_timedlock and add clockid parameter.
147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
148 Likewise.
149 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
150 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
151 rather than __gettimeofday so that clockid can be used. This means
152 that conversion from struct timeval is no longer required.
153 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
154 Likewise.
155 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
156 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
157 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
158 from lll_timedlock_elision, add clockid parameter and use
159 meaningful names for other parameters. (__pthread_mutex_timedlock):
160 Pass CLOCK_REALTIME where necessary to lll_clocklock and
161 lll_clocklock_elision.
162 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
163 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
164 clockid parameter. (__lll_clocklock_elision): Rename from
165 __lll_timedlock_elision and add clockid parameter.
166 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
167 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
168 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
169 (__lll_lock_elision): Call __lll_clocklock_elision rather than
170 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
171 (LLL_LOCK): Likewise.
172 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
173 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
174
e996fa72
MC
175 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
176 pthread_rwlock_clockwrlock which behave like
177 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
178 respectively, except they always measure abstime against the
179 supplied clockid. The functions currently support CLOCK_REALTIME
180 and CLOCK_MONOTONIC and return EINVAL if any other clock is
181 specified.
182 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
183 pthread_wrlock_clockwrlock.
184 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
185 pthread_rwlock_clockwrlock.c.
186 * nptl/pthread_rwlock_clockrdlock.c: Implement
187 pthread_rwlock_clockrdlock.
188 * nptl/pthread_rwlock_clockwrlock.c: Implement
189 pthread_rwlock_clockwrlock.
190 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
191 clockid parameter and verify that it indicates a supported clock on
192 entry so that we fail even if it doesn't end up being used. Pass
193 that clock on to futex_abstimed_wait when necessary.
194 (__pthread_rwlock_wrlock_full): Likewise.
195 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
196 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
197 be used because there's no timeout.
198 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
199 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
200 be used because there is no timeout.
201 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
202 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
203 uses that clock.
204 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
205 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
206 uses that clock.
207 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
208 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
209 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
210 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
211 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
212 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
213 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
214 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
215 (GLIBC_2.30): Likewise.
216 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
217 (GLIBC_2.30): Likewise.
218 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
219 (GLIBC_2.30): Likewise.
220 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
221 (GLIBC_2.30): Likewise.
222 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
223 (GLIBC_2.30): Likewise.
224 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
226 (GLIBC_2.30): Likewise.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
228 (GLIBC_2.30): Likewise.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
230 (GLIBC_2.30): Likewise.
231 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
232 (GLIBC_2.30): Likewise.
233 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
234 (GLIBC_2.30): Likewise.
235 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
236 (GLIBC_2.30): Likewise.
237 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
238 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
239 (GLIBC_2.30): Likewise.
240 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
241 (GLIBC_2.30): Likewise.
242 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
243 (GLIBC_2.30): Likewise.
244 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
245 (GLIBC_2.30): Likewise.
246 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
247 pthread_rwlock_clockwrlock timeout tests to match the existing
248 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
249 * nptl/tst-rwlock14.c (do_test): Likewise.
250 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
251 ancillary output throughout. (tf): Accept thread_args structure so
252 that rwlock, a clockid and function name can be passed to the
253 thread. (do_test_clock): Rename from do_test. Accept clockid
254 parameter to specify test clock. Use the magic clockid value of
255 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
256 pthread_rwlock_timedwrlock should be tested, otherwise pass the
257 specified clockid to pthread_rwlock_clockrdlock and
258 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
259 (do_test): Call do_test_clock to test each clockid in turn.
260 * nptl/tst-rwlock7.c: Likewise.
261 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
262 thread_args structure so that the (now int) thread number, the
263 clockid and the function name can be passed to the thread.
264 (do_test_clock): Renamed from do_test. Pass the necessary
265 thread_args when creating the reader and writer threads. Use
266 xpthread_create and xpthread_join.
267 (do_test): Call do_test_clock to test each clockid in turn.
268 * manual/threads.texi: Add documentation for
269 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
270
600b4be4
MC
271 nptl: pthread_rwlock: Move timeout validation into _full functions
272 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
273 Check validity of abstime parameter.
274 (__pthread_rwlock_rwlock_full): Likewise.
275 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
276 Remove check for validity of abstime parameter.
277 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
278 Likewise.
279
afe4de7d
MC
280 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
281 like pthread_cond_timedwait except it always measures abstime
282 against the supplied clockid.
283 * nptl/Makefile: Add tst-cond26 and tst-cond27
284 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
285 * sysdeps/nptl/pthread.h: Likewise
286 * nptl/forward.c: Add __pthread_cond_clockwait
287 * nptl/forward.c: Likewise
288 * nptl/pthreadP.h: Likewise
289 * sysdeps/nptl/pthread-functions.h: Likewise
290 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
291 clockid parameter and comment describing why we don't need to check
292 its value. Use that value when calling
293 futex_abstimed_wait_cancelable rather than reading the clock from
294 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
295 (__pthread_cond_timedwait): Read clock from flags and pass it to
296 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
297 function with weak alias from pthread_cond_clockwait.
298 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
299 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
300 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
301 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
302 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
303 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
304 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
305 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
306 (GLIBC_2.30): Likewise.
307 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
308 (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
310 (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
312 (GLIBC_2.30): Likewise.
313 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
314 (GLIBC_2.30): Likewise.
315 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
317 (GLIBC_2.30): Likewise.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
319 (GLIBC_2.30): Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
321 (GLIBC_2.30): Likewise.
322 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
323 (GLIBC_2.30): Likewise.
324 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
325 (GLIBC_2.30): Likewise.
326 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
327 (GLIBC_2.30): Likewise.
328 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
329 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
330 (GLIBC_2.30): Likewise.
331 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
332 (GLIBC_2.30): Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
334 (GLIBC_2.30): Likewise.
335 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
336 (GLIBC_2.30): Likewise.
337 * nptl/tst-cond11.c (run_test): Support testing
338 pthread_cond_clockwait too by using a special magic
339 CLOCK_USE_ATTR_CLOCK value to determine whether to call
340 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
341 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
342 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
343 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
344 clocks to pthread_cond_clockwait.
345 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
346 struct timespec and pthread_cond_clockwait.
347 * manual/threads.texi: Document pthread_cond_clockwait.
348
6615f779
MC
349 nptl: Add POSIX-proposed sem_clockwait which behaves just like
350 sem_timedwait, but measures abstime against the specified clock.
351 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
352 clockid parameters to indicate the clock which abstime should be
353 measured against.
354 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
355 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
356 __new_sem_wait_slow.
357 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
358 on sem_timedwait.c.
359 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
360 sem_clockwait.c to match those used for sem_timedwait.c.
361 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
362 * nptl/Versions (GLIBC_2.30): Likewise.
363 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
364 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
365 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
366 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
367 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
368 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
369 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
370 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
371 (GLIBC_2.30): Likewise.
372 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
373 (GLIBC_2.30): Likewise.
374 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
375 (GLIBC_2.30): Likewise.
376 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
377 (GLIBC_2.30): Likewise.
378 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
379 (GLIBC_2.30): Likewise.
380 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
382 (GLIBC_2.30): Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
384 (GLIBC_2.30): Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
386 (GLIBC_2.30): Likewise.
387 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
388 (GLIBC_2.30): Likewise.
389 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
390 (GLIBC_2.30): Likewise.
391 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
392 (GLIBC_2.30): Likewise.
393 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
394 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
395 (GLIBC_2.30): Likewise.
396 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
397 (GLIBC_2.30): Likewise.
398 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
399 (GLIBC_2.30): Likewise.
400 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
401 (GLIBC_2.30): Likewise.
402 * nptl/tst-sem17.c: Add new test for passing invalid clock to
403 sem_clockwait.
404 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
405 tests to also test sem_clockwait.
406 * manual/threads.texi: Document sem_clockwait.
407
99d01ffc
MC
408 nptl: Add clockid parameter to futex timed wait calls
409 * sysdeps/nptl/lowlevellock-futex.h,
410 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
411 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
412 takes a clockid rather than a special clockbit.
413 * sysdeps/nptl/lowlevellock-futex.h: Add
414 lll_futex_supported_clockid so that client functions can check
415 whether their clockid parameter is valid even if they don't
416 ultimately end up calling lll_futex_clock_wait_bitset.
417 * sysdeps/nptl/futex-internal.h,
418 sysdeps/unix/sysv/linux/futex-internal.h
419 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
420 clockid_t parameter to indicate which clock the absolute time
421 passed should be measured against. Pass that clockid onto
422 lll_futex_clock_wait_bitset. Add invalid clock as reason for
423 returning -EINVAL.
424 * sysdeps/nptl/futex-internal.h,
425 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
426 futex_abstimed_supported_clockid so that client functions can check
427 whether their clockid parameter is valid even if they don't
428 ultimately end up calling futex_abstimed_wait.
429 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
430 code to calculate relative timeout for
431 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
432 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
433 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
434 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
435 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
436 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
437 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
438
a008c76b
AZ
4392019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
440
441 [BZ #24699]
442 * posix/tst-mmap-offset.c: Mention BZ #24699.
443 (do_test_bz21270): Rename to do_test_large_offset and use
444 mmap64_maximum_offset to check for maximum expected offset value.
445 * sysdeps/generic/mmap_info.h: New file.
446 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
447 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
448 __NR_mmap2 is used.
449
99135114
DD
4502019-07-10 DJ Delorie <dj@redhat.com>
451 Sergei Trofimovich <slyfox@inbox.ru>
452
453 [BZ #24696]
454 [BZ #24695]
455 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
456 mappings.
457 * nss/tst-nss-db-endgrent.c: New.
458 * nss/tst-nss-db-endgrent.root: New.
459 * nss/tst-nss-db-endpwent.c: New.
460 * nss/tst-nss-db-endpwent.root: New.
461 * nss/Makefile: Add new tests.
462 * support/links-dso-program-c.c: Add selinux dependency.
463 * support/links-dso-program.cc: Add selinux dependency.
464 * support/Makefile: Build those with -lselinux if enabled.
465
30ba0375
SN
4662019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
467
468 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
469 DT_AARCH64_VARIANT_PCS check.
470 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
471 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
472 variant_pcs.
473
32b8188a
AS
4742019-07-10 Andreas Schwab <schwab@suse.de>
475
476 [BZ #23352]
477 * malloc/malloc.h (__malloc_check_init): Don't declare.
478 * include/malloc.h (__malloc_check_init): Likewise.
479 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
480 * manual/memory.texi (__malloc_check_init): Don't mention it.
481
7901d4ee
MH
4822019-07-10 Mao Han <han_mao@c-sky.com>
483
484 * locale/Makefile: Fix tst-locale-locpath arguments passing.
485
b5232c9f 4862019-07-09 Paul A. Clarke <pc@us.ibm.com>
32b8188a 487
b5232c9f
PC
488 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
489 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
490
6ba205b2
DD
4912019-07-08 DJ Delorie <dj@redhat.com>
492
493 [BZ #23501]
494 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
495 * io/tst-ftw-lnk.c: New test.
496 * io/Makefile: Run it.
497
f215dbbd
AZ
4982019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
499
6ea21bfe
AZ
500 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
501 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
502 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
503 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
504 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
505 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
507 Adjust implementation path.
508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
509 Adjust implementation path.
510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
511 Adjust implementation path.
512 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
513 (libm-sysdep_routines): Add s_log* objects.
514 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
515 CFLAGS-s_logb-power7.c): New fule.
516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
517 to ...
518 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
519 ... here.
520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
521 to ...
522 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
523 ... here.
524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
525 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
527 to ...
528 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
529 ... here.
530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
531 to ...
532 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
533 ... here.
534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
535 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
537 to ...
538 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
539 ... here.
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
541 to ...
542 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
543 ... here.
544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
545 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
547 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
549 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
550
105f2ed3
AZ
551 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
552 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
553 powerpc32 integer 0 converting to -0.
554
0cccd37f
AZ
555 * benchtests/Makefile (bench-math): Add logb.
556 * benchtests/logb-inputs: New file.
557 * benchtests/logbf-inputs: New file.
558
931c616e
AZ
559 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
560 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
561 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
562 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
564 Adjust include.
565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
566 Likewise.
567 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
568 sysdep_routines): Add s_modf* objects.
569 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
570 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
572 to ...
573 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
574 ... here.
575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
576 to ...
577 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
578 ... here.
579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
580 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
582 to ...
583 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
584 ... here.
585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
586 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
587 ... here.
588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
589 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
590
69461d98
AZ
591 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
592 twoM500, twoM600, two60factor, pdnum): Remove.
593 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
594 (__ieee754_hypot): Replace static variables with inline definition,
595 remove ununsed branches.
596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
597 (libm-sysdep_routines): Remove e_hypot-* objects.
598 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
600 file.
601 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
603 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
606
f215dbbd
AZ
607 * benchtests/Makefile (bench-math): Add hypot.
608 * benchtests/hypot-inputs: New file.
609
97274b18
VC
6102019-07-08 Vincent Chen <vincentc@andestech.com>
611
612 * sysdeps/unix/sysv/linux/dl-vdso.h
613 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
614
484b7af3
AS
6152019-07-04 Andreas Schwab <schwab@suse.de>
616
617 [BZ #24484]
618 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
619
2b8a3c86
SN
6202019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
621
622 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
623 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
624 * sysdeps/aarch64/sys/ifunc.h: New file.
625 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
626 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
627
41d6f74e
FW
6282019-07-01 Florian Weimer <fweimer@redhat.com>
629
630 [BZ #20188]
631 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
632 Replace __vfork with __libpthread_version_placeholder for
633 GLIBC_2.1.2.
634 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
635 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
636 libpthread-compat.
637 * nptl/pt-vfork.c: Remove file.
638 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
639 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
640 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
641 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
642 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
643 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
644 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
645 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
646 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
647 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
648 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
649 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
650 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
651 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
652 Remove vfork, __vfork.
653 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
654 Remove vfork.
655 (GLIBC_2.1.2): Replace __vfork with
656 __libpthread_version_placeholder.
657 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
658 Remove vfork, __vfork.
659 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
660 Likewise.
661 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
662 Remove vfork.
663 (GLIBC_2.1.2): Replace __vfork with
664 __libpthread_version_placeholder.
665 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
666 Remove vfork.
667 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
668 (GLIBC_2.4): Remove vfork, __vfork.
669 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
670 (GLIBC_2.0): Remove vfork.
671 (GLIBC_2.1.2): Replace __vfork with
672 __libpthread_version_placeholder.
673 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
674 (GLIBC_2.18): Remove vfork, __vfork.
675 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
676 (GLIBC_2.0): Remove vfork.
677 (GLIBC_2.2): Remove __vfork.
678 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
679 (GLIBC_2.2): Remove vfork, __vfork.
680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
681 (GLIBC_2.0): Remove vfork.
682 (GLIBC_2.1.2): Replace __vfork with
683 __libpthread_version_placeholder.
684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
685 (GLIBC_2.3): Remove vfork, __vfork.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
687 (GLIBC_2.17): Likewise.
688 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
689 (GLIBC_2.0): Remove vfork.
690 (GLIBC_2.1.2): Replace __vfork with
691 __libpthread_version_placeholder.
692 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
693 (GLIBC_2.2): Remove vfork, __vfork.
694 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
695 Likewise.
696 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
697 (GLIBC_2.0): Remove vfork.
698 (GLIBC_2.1.2): Replace __vfork with
699 __libpthread_version_placeholder.
700 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
701 (GLIBC_2.2): Remove vfork, __vfork.
702 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
703 (GLIBC_2.2.5): Likewise.
704 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
705 (GLIBC_2.16): Likewise.
706 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
707 Remove __errno_location.
708
27cec9ae
FW
7092019-07-02 Florian Weimer <fweimer@redhat.com>
710
711 [BZ #24757]
712 * malloc/Depend: Add nptl and htl, due to potential indirect
713 libpthread dependency of memusagestat.
714
d1bc2cbb
SL
7152019-07-02 Stefan Liebler <stli@linux.ibm.com>
716
717 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
718 warning.
719
72edea80
FW
7202019-07-01 Florian Weimer <fweimer@redhat.com>
721
722 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
723 variant for arm-linux-gnueabi.
724
d0093c5c
L
7252019-07-01 H.J. Lu <hongjiu.lu@intel.com>
726
727 [BZ #24259]
728 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
729 relocation.
730 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
731 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
732 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
733 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
734 and tst-cet-legacy-mod-6c.
735 (CFLAGS-tst-cet-legacy-5a.c): New.
736 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
737 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
738 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
739 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
740 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
741 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
742 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
743 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
744 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
745 ($(objpfx)tst-cet-legacy-5a): Likewise.
746 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
747 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
748 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
749 ($(objpfx)tst-cet-legacy-5b): Likewise.
750 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
751 (tst-cet-legacy-5b-ENV): Likewise.
752 ($(objpfx)tst-cet-legacy-6a): Likewise.
753 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
754 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
755 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
756 ($(objpfx)tst-cet-legacy-6b): Likewise.
757 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
758 (tst-cet-legacy-6b-ENV): Likewise.
759 * sysdeps/x86/tst-cet-legacy-5.c: New file.
760 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
761 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
762 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
763 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
764 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
765 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
766 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
767 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
768 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
769 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
770 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
771 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
772 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
773
3db85a98
PC
7742019-06-30 Paul A. Clarke <pc@us.ibm.com>
775
776 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
777 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
778 (__fegetround_ISA300) New.
779 (__fegetround_ISA2) New.
780 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
781 (_FPU_MFFS): Move implementation...
782 (_FPU_GETCW): Here.
783 (_FPU_MFFSL): Move implementation....
784 (_FPU_GET_RC_ISA300): Here. New.
785 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
786 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
787 (fegetenv_status): New.
788 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
789 instead of fegetenv_register().
790 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
791
d0645912
WD
7922019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
793
794 * benchtests/bench-math-inlines.c: Increase iterations.
795 * benchtests/bench-memcmp.c: Likewise.
796 * benchtests/bench-rawmemchr.c: Likewise.
797 * benchtests/bench-strcmp.c: Likewise.
798 * benchtests/bench-strcpy_chk.c: Likewise.
799 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
800 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
801 (INNER_LOOP_ITERS_SMALL): Likewise.
802 * benchtests/bench-strncat.c: Increase iterations.
803 * benchtests/bench-strncmp.c: Increase iterations.
804 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
805 * benchtests/bench-strrchr.c: Increase iterations.
806 * benchtests/bench-strstr.c: Keep iterations unchanged.
807 * benchtests/bench-strtod.c: Increase iterations.
808
afe23eb0
AY
8092019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
810
811 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
812 with INNER_LOOP_ITERS_LARGE.
813 * benchtests/bench-memchr.c: Likewise.
814 * benchtests/bench-rawmemchr.c: Likewise.
815 * benchtests/bench-strcat.c: Likewise.
816 * benchtests/bench-strchr.c: Likewise.
817 * benchtests/bench-string.h: Likewise.
818 * benchtests/bench-strlen.c: Likewise.
819 * benchtests/bench-strncpy.c: Likewise.
820 * benchtests/bench-strnlen.c: Likewise.
821
507f55c0
FW
8222019-06-28 Florian Weimer <fweimer@redhat.com>
823
824 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
825 Use mmap instead of malloc. malloc with M_PERTURB writes to the
826 entire allocated memory range.
827
589787f8
TK
8282019-06-28 Tobias Klauser <tklauser@distanz.ch>
829
830 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
831 (prepare_version_base): New helper inline function.
832 (prepare_version): New macro replacing PREPARE_VERSION.
833 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
834
f0b2132b
FW
8352019-06-28 Florian Weimer <fweimer@redhat.com>
836
837 [BZ #24741]
838 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
839 mismatch in a versioned symbol reference.
840 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
841 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
842 tst-sonamemove-dlopen.
843 (module-names): Add tst-sonamemove-linkmod1,
844 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
845 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
846 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
847 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
848 (tst-sonamemove-runmod1.so): Link against
849 tst-sonamemove-runmod2.so.
850 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
851 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
852 tst-sonamemove-runmod2.so.
853 (tst-sonamemove-dlopen): Link with -ldl.
854 (tst-sonamemove-dlopen.out): Likewise.
855 * elf/tst-sonamemove-link.c: New file.
856 * elf/tst-sonamemove-dlopen.c: Likewise.
857 * elf/tst-sonamemove-linkmod1.c: Likewise.
858 * elf/tst-sonamemove-linkmod1.map: Likewise.
859 * elf/tst-sonamemove-runmod1.c: Likewise.
860 * elf/tst-sonamemove-runmod1.map: Likewise.
861 * elf/tst-sonamemove-runmod2.c: Likewise.
862 * elf/tst-sonamemove-runmod2.map: Likewise.
863
17432d71
FW
8642019-06-28 Florian Weimer <fweimer@redhat.com>
865
866 * support/xdlfcn.h (xdlvsym): Declare function.
867 * support/xdlfcn.c (xdlvsym): Define funciton.
868
5a659ccc
FW
8692019-06-28 Florian Weimer <fweimer@redhat.com>
870
871 [BZ #24744]
872 io: Remove the copy_file_range emulation.
873 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
874 not define and call copy_file_range_compat.
875 * io/Makefile (tests-static, tests-internal): Do not add
876 tst-copy_file_range-compat.
877 * io/copy_file_range-compat.c: Remove file.
878 * io/copy_file_range.c (copy_file_range): Define as stub.
879 * io/tst-copy_file_range-compat.c: Remove file.
880 * io/tst-copy_file_range.c (xdevfile): Remove variable.
881 (typical_sizes): Update comment. Remove 16K sizes.
882 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
883 Remove variables.
884 (find_maximum_offset, pipe_as_source, pipe_as_destination)
885 (delayed_write_failure_beginning, delayed_write_failure_end)
886 (cross_device_failure, enospc_failure_1, enospc_failure)
887 (oappend_failure): Remove functions.
888 (tests): Adjust test case list.
889 (do_test): Remove file system search code. Check for ENOSYS from
890 copy_file_range. Do not free xdevfile.
891 * manual/llio.texi (Copying File Data): Document ENOSYS error from
892 copy_file_range. Do not document the EXDEV error, which future
893 kernels may not report. Update the wording to reflect that
894 further errors are possible.
895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
896 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
897 not undefine.
898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
899 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
900 Likewise.
901 * sysdeps/unix/sysv/linux/kernel-features.h
902 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
903 Remove definition.
904 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
905 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
906 not undefine.
907 * sysdeps/unix/sysv/linux/sh/kernel-features.h
908 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
909 Likewise.
910
1626f499
GG
9112019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
912
913 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
914 used as a mask for the mode argument of __vfprintf_internal.
915 * stdio-common/printf-parse.h (printf_arg): New union member:
916 pa_float128.
917 * stdio-common/vfprintf-internal.c
918 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
919 (PARSE_FLOAT_VA_ARG): Likewise.
920 (SETUP_FLOAT128_INFO): Likewise.
921 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
922 SETUP_FLOAT128_INFO.
923 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
924 floating-point value to the new union member, pa_float128.
925 (printf_positional): Zero-initialize args_value[cnt] with memset.
926
a620bd79
FW
9272019-06-27 Florian Weimer <fweimer@redhat.com>
928
929 [BZ #24740]
930 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
931 buffer size if necessary.
932 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
933 Likewise.
934 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
935 New function.
936 (large_buffer_checks): Likewise.
937 (do_test): Call large_buffer_checks.
938
d039da1c
L
9392019-06-26 H.J. Lu <hongjiu.lu@intel.com>
940
941 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
942 * sysdeps/x86/dl-lookupcfg.h: Here.
943 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
944
9d5d214e
AZ
9452019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
946
aa32f5bf
AZ
947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
948 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
949 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
950 file.
951 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
953 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
954 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
955 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
956
9d5d214e
AZ
957 * sysdeps/powerpc/powerpc32/fpu/Makefile
958 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
959 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
960 and fctidz optimization.
961 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
962 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
964 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
965 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
966 CFLAGS-s_lround-power5+.c): New rule.
967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
968 New file.
969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
970 Likewise.
971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
972 Likewise.
973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
974 Likewise.
975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
976 Likewise.
977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
978 Remove file.
979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
980 Likewise.
981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
982 Likewise.
983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
984 Likewise.
985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
986 Likewise.
987 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
988 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
989 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
990 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
992 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
993 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
994
a63b96fb
VC
9952019-06-26 Vincent Chen <vincentc@andestech.com>
996
997 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
998 specific system calls, fp_udfiex_crtl and udftrap.
999
c78b3f55
SL
10002019-06-26 Stefan Liebler <stli@linux.ibm.com>
1001
1002 * nptl/tst-eintr1.c (tf1): Add return statement.
1003 (do_test): Remove unused th variable.
1004
9e6a7d9c
SL
10052019-06-26 Stefan Liebler <stli@linux.ibm.com>
1006
1007 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1008 Return error if get_character fails.
1009
c89e669a
SL
10102019-06-25 Stefan Liebler <stli@linux.ibm.com>
1011
1012 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1013
a55541fd
RL
10142019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1015
1016 [BZ #24652]
1017 * localedata/locales/szl_PL (day): Use the correct Unicode
1018 sequences instead of non-ASCII characters.
1019
2bd81b60
GK
10202019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1021
1022 [BZ #24652]
1023 * localedata/locales/szl_PL (abday): Spelling corrections.
1024 (day): Likewise.
1025 (abmon): Likewise.
1026 (mon): Rename to...
1027 (alt_mon): This, then apply spelling corrections.
1028 (mon): New entry, month names in the genitive case.
1029
fefa2179
RL
10302019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1031
1032 [BZ #23831]
1033 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1034 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1035 (thousands_sep): Likewise.
1036 (grouping): Set to 3;3.
1037
85c748f9
TK
10382019-06-21 Tobias Klauser <tklauser@distanz.ch>
1039
1040 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1041 PREPARE_VERSION_KNOWN.
1042 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1043 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1044 define.
1045 (VDSO_HASH_LINUX_2_6_39): Likewise.
1046 (VDSO_NAME_LINUX_4_9): Likewise.
1047 (VDSO_HASH_LINUX_4_9): Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1050 (_libc_vdso_platform_setup): Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1052 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1053 Likewise.
1054 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1055 Likewise.
1056
db13e32c
MC
10572019-06-20 Mike Crowe <mac@mcrowe.com>
1058
ce5b73a7
MC
1059 * nptl/eintr.c: Use libsupport.
1060 * nptl/tst-eintr1.c: Likewise.
1061 * nptl/tst-eintr2.c: Likewise.
1062 * nptl/tst-eintr3.c: Likewise.
1063 * nptl/tst-eintr4.c: Likewise.
1064 * nptl/tst-eintr5.c: Likewise.
1065 * nptl/tst-mutex-errorcheck.c: Likewise.
1066 * nptl/tst-mutex5.c: Likewise.
1067
8bf225d5
MC
1068 * support/test-driver.h: Add verbose_printf macro.
1069
db13e32c
MC
1070 * support/xtime.h: Add xclock_now() helper function.
1071
21cc130b
DL
10722019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1073 Florian Weimer <fweimer@redhat.com>
1074
1075 [BZ #24228]
1076 * libio/genops.c (_IO_unbuffer_all)
1077 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1078 buffers and access _IO_FILE_complete members of legacy libio streams.
1079 * libio/tst-bz24228.c: New file.
1080 * libio/tst-bz24228.map: Likewise.
1081 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1082 [build-shared] (generated): Add tst-bz24228.mtrace and
1083 tst-bz24228.check.
1084 [run-built-tests && build-shared] (tests-special): Add
1085 $(objpfx)tst-bz24228-mem.out.
1086 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1087 ($(objpfx)tst-bz24228-mem.out): New rule.
1088
49bc41b6
PC
10892019-06-19 Paul A. Clarke <pc@us.ibm.com>
1090
1091 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1092 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1093 (__FPU_MFFSL): Likewise.
1094 (_FPU_SETCW): Likewise.
1095
335c1007
SS
10962019-06-19 Stan Shebs <stanshebs@google.com>
1097 Raoni Fassina Firmino <raoni@linux.ibm.com>
1098
1099 [BZ #24640]
1100 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1101 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1102 static-linking version.
1103 * sysdeps/unix/sysv/linux/powerpc/Makefile
1104 (tests-static): Add test-gettimebasefreq-static.
1105 (tests): Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1107 New file.
1108
f59a54ab
RL
11092019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1110
1111 [BZ #24614]
1112 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1113 between the currency symbol and the minus sign).
1114 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1115
f0c5a803
SL
11162019-06-19 Stefan Liebler <stli@linux.ibm.com>
1117
1118 [BZ #24556]
1119 * string/test-strcasestr.c (check_result): Add NULL check.
1120 * nss/tst-field.c (check_rewrite): Likewise.
1121 * benchtests/bench-strstr.c (do_one_test): Likewise.
1122 * string/test-strstr.c (check_result): Likewise.
1123 * argp/argp-test.c (popt): Increase size of buf to 12.
1124 * benchtests/bench-malloc-simple.c (bench):
1125 Do not initialize tests array out of bounds.
1126
fabf5e49
FW
11272019-06-19 Florian Weimer <fweimer@redhat.com>
1128
1129 [BZ #24166]
1130 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1131 dls_serpath field.
1132
2c75b545
FW
11332019-06-18 Florian Weimer <fweimer@redhat.com>
1134
1135 [BZ #24323]
1136 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1137 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1138 fail when called from dlopen.
1139 * elf/Makefile [have-fpie && build-shared] (tests): Add
1140 tst-dlopen-pie.
1141 (tst-dlopen-pie): Link with -ldl.
1142 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1143 * elf/tst-dlopen-pie.c (do_test): New file.
1144
02d8b5ab
RL
11452019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1146
1147 [BZ #24614]
1148 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1149 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1150 between the currency symbol and the minus sign).
1151 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1152 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1153
78049de0
AZ
11542019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1155
112a0ae1
AZ
1156 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1157 sysdep-rtld-routines): Remove rules.
1158 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1159 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1160 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1161 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1162 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1163 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1164 vDSO path for SHARED.
1165 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1166 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1167 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1168 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1169 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1170 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1171
dee07df1
AZ
1172 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1173 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1174 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1175 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1176 CFLAGS-s_llround-power5+.c): New rule.
1177 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1178 New file.
1179 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1180 Likewise.
1181 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1182 Likewise.
1183 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1184 Likewise.
1185 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1186 Likewise.
1187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1188 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1190 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1192 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1193 * sysdeps/powerpc/powerpc64/fpu/Makefile
1194 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1196 (libm-sysdep_routines): Remove s_llround-* objects.
1197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1198 file.
1199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1200 Likewise.
1201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1202 Likewise.
1203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1204 Likewise.
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1206 Likewise.
1207 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1208 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1209 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1210 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1212 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1213 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1214 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1215 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1221
2166283f
AZ
1222 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1223 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1224 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1225 * sysdeps/powerpc/powerpc32/fpu/Makefile
1226 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1227 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1228 optimization.
1229 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1230 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1231 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1233 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1234 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1235 CFLAGS-s_lrint-ppc32.c): New rule.
1236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1237 Remove file.
1238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1239 Likewise.
1240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1241 Likewise.
1242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1243 Likewise.
1244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1245 Likewise.
1246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1248 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1249 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1251 New file.
1252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1253 Likewise.
1254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1255 Likewise.
1256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1257 Likewise.
1258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1259 Likewise.
1260
78049de0
AZ
1261 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1262 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1263 s_llrint-ppc64.
1264 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1265 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1266 file.
1267 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1268 Likewise.
1269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1270 Likewise.
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1272 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1274 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1276 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1277 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1278 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1280 (libm-sysdep_routines): Remove s_llrint-* objects.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1282 file.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1284 Likewise.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1286 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1287 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1289 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1290 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1291 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1295
48c3c123
FW
12962019-06-14 Florian Weimer <fweimer@redhat.com>
1297
1298 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1299 argument to __glibc_has_include to inhibit macro expansion.
1300
8d141877
FW
13012019-06-14 Florian Weimer <fweimer@redhat.com>
1302
1303 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1304 function-like macro, so that __has_include can inhibit expansion
1305 of its argument.
1306
a26e2e9f
JM
13072019-06-13 Joseph Myers <joseph@codesourcery.com>
1308
cf274686
JM
1309 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1310 New macro.
1311
a26e2e9f
JM
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1313 Allow memset in libc.so.
1314
82bc69c0
SN
13152019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1316
1317 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1318 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1319 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1320 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1321 symbols at load time.
1322 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1323
55f82d32
SN
13242019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1325
1326 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1327 (DT_AARCH64_VARIANT_PCS): Define.
1328
21bd039b
AZ
13292019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1330
11926960
AZ
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1332 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1333 objects.
1334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1335 Remove file.
1336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1337 Likewise.
1338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1340 Likewise.
1341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1342 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1343 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1345 Remove s_finite* objects.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1352 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1353 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1354 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1355 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1356
a7218676
AZ
1357 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1358 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1359
6427a6ac
AZ
1360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1361 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1362 objects.
1363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1364 Remove file.
1365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1366 Likewise.
1367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1369 Likewise.
1370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1371 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1372 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1374 Remove s_isinf* and s_isinf* objects.
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1381 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1382 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1383 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1385
a8c590f7
AZ
1386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1387 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1388
2666f963
AZ
1389 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1390 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1391 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1393 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1394 s_isnanf-* objects.
1395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1396 Remove file
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1398 Likewise.
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1400 Likewise.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1402 Likewise.
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1405 Likewise.
1406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1407 Likewise.
1408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1409 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1410 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1411 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1412 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1413 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1414 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1416 Remove s_isnan-* and s_isnanf-* objects.
1417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1420 Likewise.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1426 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1430 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1431 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1432 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1433 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1434
197dbda1
AZ
1435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1436 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1437
2731a326
AZ
1438 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1439 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1440 CFLAGS-bench-isfinite.c): New rule.
1441 * benchtests/isnan-input: New file.
1442 * benchtests/isinf-input: New file.
1443 * benchtests/isfinite-input: New file.
1444
e41d66e4
AZ
1445 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1446 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1447 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1448 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1450 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1451 s_copysign-ppc32.
1452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1453 Remove file.
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1455 Likewise.
1456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1457 Likewise.
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1459 Likewise.
1460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1463 Remove s_copysign-power6 s_copysign-ppc64.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1465 Remove file.
1466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1467 Likewise.
1468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1470 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1471 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1472 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1473 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1474
21bd039b
AZ
1475 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1476 round_to_integer_float, round_mode): Add RINT handling.
1477 (reset_fenv_mode): New symbol.
1478 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1479 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1480 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1481 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1482 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1483 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1484
cfa61144
FW
14852019-06-12 Florian Weimer <fweimer@redhat.com>
1486
1487 [BZ #24632]
1488 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1489 * libio/freopen.c (freopen): Use it.
1490
744e8296
FW
14912019-06-12 Florian Weimer <fweimer@redhat.com>
1492
1493 Linux: Deprecate sysctl.
1494 * include/sysctl.h (__sysctl): Remove declaration.
1495 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1496 check.
1497 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1498 (sysctl): Add deprecation attribute.
1499 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1500 directly, to avoid the deprecation warning. Do not include
1501 <string.h>.
1502 (__sysctl): Remove hidden alias.
1503
5dad6ffb
FW
15042019-06-12 Florian Weimer <fweimer@redhat.com>
1505
1506 Linux: Use kernel headers for statx definitions if available.
1507 * include/bits/statx-generic.h: New file.
1508 * include/bits/types/struct_statx.h: Likewise.
1509 * include/bits/types/struct_statx_timestamp.h: Likewise.
1510 * io/Makefile (headers): Add bits/statx-generic.h.
1511 * io/bits/statx-generic.h: New file. Partly copied from
1512 io/bits/statx.h.
1513 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1514 define original_statx.
1515 * io/bits/types/struct_statx.h: Likewise.
1516 * io/bits/types/struct_statx_timestamp.h: Likewise.
1517 (statx_generic): Use original_statx.
1518 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1519 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1520
4e75c2a4
FW
15212019-06-12 Florian Weimer <fweimer@redhat.com>
1522
1523 * misc/sys/cdefs.h (__glibc_has_include): Define.
1524
680942b0
WD
15252019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1526
1527 * string/memmem.c (__memmem): Rewrite to improve performance.
1528
5e0a7ecb
WD
15292019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1530
1531 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1532 warning.
1533 (two_way_long_needle): Block inlining.
1534 * string/strstr.c (strstr2): Add new function.
1535 (strstr3): Likewise.
1536 (STRSTR): Completely rewrite strstr to improve performance.
1537
80b2bfb5
WD
15382019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1539
1540 * benchtests/bench-strstr.c (test_hard_needle): New function.
1541
e6e24243
JM
15422019-06-10 Joseph Myers <joseph@codesourcery.com>
1543
1544 * malloc/tst-calloc.c: Include <libc-diag.h>.
1545 (null_test): Ignore -Wunused-result around calls to calloc.
1546 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1547 (do_test): Ignore -Wunused-result around call to malloc.
1548
51ea67d5
FW
15492019-06-07 Florian Weimer <fweimer@redhat.com>
1550
1551 Linux: Add getdents64 system call.
1552 * include/dirnent.h (getdents): Add comment and change buffer
1553 argument type to void *.
1554 (getdents64): Likewise. Add hidden prototype.
1555 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1556 getdents64.
1557 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1558 Add tst-getdents64.
1559 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1560 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1561 argument type to void *.
1562 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1563 Add hidden definition and getdents64 alias.
1564 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1565 Likewise.
1566 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1567 * manual/filesys.texi (Accessing Directories): Add Low-level
1568 Directory Access node reference.
1569 (Opening a Directory): Cross-reference it.
1570 (Low-level Directory Access): New node.
1571 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1572 getdents64.
1573 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1574 Likewise.
1575 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1576 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1577 Likewise.
1578 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1579 Likewise.
1580 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1581 Likewise.
1582 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1583 Likewise.
1584 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1585 Likewise.
1586 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1587 Likewise.
1588 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1589 Likewise.
1590 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1591 (GLIBC_2.30): Likewise.
1592 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1593 (GLIBC_2.30): Likewise.
1594 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1595 (GLIBC_2.30): Likewise.
1596 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1597 (GLIBC_2.30): Likewise.
1598 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1599 Likewise.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1601 (GLIBC_2.30): Likewise.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1603 (GLIBC_2.30): Likewise.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1605 (GLIBC_2.30): Likewise.
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1607 (GLIBC_2.30): Likewise.
1608 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1609 Likewise.
1610 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1611 Likewise.
1612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1613 Likewise.
1614 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1615 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1616 Likewise.
1617 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1618 Likewise.
1619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1620 Likewise.
1621 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1622 Likewise.
1623
de751ebc
PC
16242019-06-06 Paul A. Clarke <pc@us.ibm.com>
1625
1626 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1627 (__FPU_MFFS): New.
1628 (__FPU_MFFSL): New.
1629 (_FPU_GET_RC): New.
1630 (_FPU_GETCW): Use __FPU_MFFS().
1631 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1632
28dd3939
FW
16332019-06-06 Florian Weimer <fweimer@redhat.com>
1634
1635 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1636 internal GCC preprocessor identifier __has_include__.
1637
0158473d
PC
16382019-06-05 Paul A. Clarke <pc@us.ibm.com>
1639
1640 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1641 with call to equivalent function.
1642
e863dbf6
FW
16432019-06-04 Florian Weimer <fweimer@redhat.com>
1644
1645 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1646 (do_release_shlib): Adjust for __twalk_r.
1647 (__gconv_release_shlib): Call __twalk_r.
1648
4802be92
AS
16492019-06-04 Andreas Schwab <schwab@suse.de>
1650
1651 [BZ #18830]
1652 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1653 no irreversible characters occurred.
1654 * iconv/gconv_simple.c (internal_ucs4_loop)
1655 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1656 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1657 (ucs4_internal_loop_single, internal_ucs4le_loop)
1658 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1659 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1660 (ucs4le_internal_loop_single): Add const to outend.
1661 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1662 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1663 * iconv/Makefile (tests): Add tst-iconv7.
1664 * iconv/tst-iconv7.c: New file.
1665
dc91a19e
JM
16662019-06-03 Joseph Myers <joseph@codesourcery.com>
1667
1668 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1669
6a1a9a49 16702019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
1671
1672 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1673 * sysdeps/unix/sysv/linux/arm/Makefile
1674 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1675 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1676 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1677 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1678 compatibility symbols.
1679
0bb8f8c7
FW
16802019-05-31 Florian Weimer <fweimer@redhat.com>
1681
1682 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1683 system calls for the arm architecture: breakpoint, get_tls,
1684 set_tls, usr26, usr32.
1685
9250e661
GG
16862019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1687
1688 * sysdeps/powerpc/Makefile
1689 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1690 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1691 Declare '.machine power7' to get support for ldbrx.
1692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1693 directive based on the directory of the file.
1694 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1695 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1696 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1697 '.machine' directive.
1698 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1699 (VADDUQM_V7_V8): Remove.
1700 (__STRCASECMP): Replace macros with actual instructions.
1701 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1702 '.machine' directive.
1703 (VCLZD_V8_v7): Remove.
1704 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1705
fbd6c928
AZ
17062019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1707
1708 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1709 Remove file.
1710 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1711
e47308c9
AZ
17122019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1713
1714 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1715 NEARBYINT handling.
1716 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1717 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1718 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1722
157cda1f 17232019-05-28 mansayk <6688000@gmail.com>
1724
1725 [BZ #24370]
1726 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1727
182a3746 17282019-05-28 mansayk <6688000@gmail.com>
1729
1730 [BZ #24369]
1731 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1732 (abmon): Likewise, but remove the trailing dots.
1733
c6df1ce3
JM
17342019-05-28 Joseph Myers <joseph@codesourcery.com>
1735
1736 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1737
85188d82
FW
17382019-05-27 Florian Weimer <fweimer@redhat.com>
1739
1740 * nptl/nptl-init.c: Add comment.
1741
5c23c821
FW
17422019-05-24 Florian Weimer <fweimer@redhat.com>
1743
1744 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1745 struct in_addr/struct in6_addr alignment.
1746
bee1f2c4
JM
17472019-05-23 Joseph Myers <joseph@codesourcery.com>
1748
1749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1750 (F_SEAL_FUTURE_WRITE): New macro.
1751
481c30cb
AH
17522019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1753
1754 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1755 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1756 * elf/tst-ldconfig_aux-cache.root: New directory.
1757 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1758 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1759 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1760
cb755eed
ZW
17612019-05-22 Zack Weinberg <zackw@panix.com>
1762
1763 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1764 host type.
1765 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1766 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1767
1768 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1771 Delete.
1772
1773 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1774 Issue an #error if used with a compiler in SPE-float mode.
1775 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1776 * sysdeps/powerpc/powerpc32/setjmp_common.S
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1783 Remove code to preserve SPE register state.
1784
1785 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1786 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1787 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1788 Remove __SPE__ ifndefs.
1789
46ae0732
WD
17902019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1791
1792 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1793 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1794 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1795 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1796 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1797 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1798 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1799 (INNER_LOOP_ITERS_MEDIUM): New define.
1800 (INNER_LOOP_ITERS_SMALL): New define.
1801 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1802 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1803 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1804 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1805 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1806
004e52fe
AZ
18072019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1808
1809 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1810 New define.
1811 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1812 (SEMTIMEDOP_IPC_ARGS): Likewise.
1813
c9c15ac3
FW
18142019-05-21 Florian Weimer <fweimer@redhat.com>
1815
1816 [BZ #24584]
1817 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1818 before updating __counter field and release it afterwards. Add
1819 overflow check.
1820 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1821 requirement for __counter member.
1822
7e740ab2
FW
18232019-05-21 Florian Weimer <fweimer@redhat.com>
1824
1825 [BZ #24583]
1826 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1827 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1828 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1829 instead of __gconv_release_step.
1830 * libio/Makefile (tests): Add tst-wfile-gconv.
1831 (tests-container): Add tst-wfile-ascii.
1832 (tst-wfile-gconv-ENV): Enable mtrace.
1833 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1834 (tests-special): Add tst-wfile-gconv-mem.out.
1835 (tst-wfile-gconv.out): Depend on locales.
1836 (tst-wfile-gconv-mem.out): Add mtrace rule.
1837 * libio/tst-wfile-ascii.c: New file.
1838 * libio/tst-wfile-gconv.c: Likewise.
1839
09e1b0e3
FW
18402019-05-20 Florian Weimer <fweimer@redhat.com>
1841
1842 [BZ #24588]
1843 libio: Remove codecvt vtable.
1844 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1845 __libio_codecvt.
1846 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1847 __libio_codecvt_encoding.
1848 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1849 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1850 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1851 * libio/iofwide.c (__libio_codecvt): Remove variable.
1852 (_IO_fwide): Do not copy __libio_codecvt.
1853 (__libio_codecvt_out): Rename from do_out and export.
1854 (do_unshift): Remove function.
1855 (__libio_codecvt_in): Rename from do_in and export.
1856 (__libio_codecvt_encoding): Rename from do_encoding and export.
1857 (do_always_noconv): Remove function.
1858 (__libio_codecvt_length): Rename from do_length and export.
1859 (do_max_length): Remove function.
1860 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1861 to libioP.h.
1862 (struct _IO_codecvt): Remove fields __codecvt_destr,
1863 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1864 __codecvt_do_encoding, __codecvt_do_always_noconv,
1865 __codecvt_do_length, __codecvt_do_max_length.
1866 * libio/libioP.h (enum __codecvt_result): Define; moved from
1867 libio.h.
1868 (__libio_codecvt_out, __libio_codecvt_in)
1869 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1870 functions.
1871 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1872 (_IO_wfile_underflow): Call __libio_codecvt_in.
1873 (_IO_wfile_underflow): Likewise.
1874 (_IO_wfile_underflow_mmap): Likewise.
1875 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1876 __libio_codecvt_length.
1877 (adjust_wide_data): Call __libio_codecvt_encoding,
1878 __libio_codecvt_in.
1879 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1880 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1881 __libio_codecvt_length.
1882
75c51570
FW
18832019-05-20 Florian Weimer <fweimer@redhat.com>
1884
1885 * support/support.h (support_sbindir_prefix): Declare.
1886 (support_install_rootsbindir): Update comment.
1887 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1888 * support/support_paths.c (support_sbindir_prefix): Define.
1889
ff6bec7d
MC
18902019-05-20 Mike Crowe <mac@mcrowe.com>
1891
b62bb3bc
MC
1892 * support/timespec.c: Add backslash to correct newline in failure
1893 message.
1894
ff6bec7d
MC
1895 * support/timespec.h: Correct confusing comment.
1896
dfba907f
AZ
18972019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1898
236c18e5
AZ
1899 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1900 define.
1901 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1902 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1903 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1904 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1905
dfba907f
AZ
1906 [BZ #24570]
1907 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1908 usage.
1909
13886008
JM
19102019-05-20 Joseph Myers <joseph@codesourcery.com>
1911
1912 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1913 (NT_ARM_PACG_KEYS): Likewise.
1914
1f50f2ad
WD
19152019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1916
1917 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1918 (tcache_put): Remove redundant assert.
1919 (tcache_get): Remove redundant asserts.
1920 (__libc_malloc): Check tcache count is not zero.
1921 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1922
fef7c63c
FW
19232019-05-17 Florian Weimer <fweimer@redhat.com>
1924
1925 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1926
5f161b23
JM
19272019-05-16 Joseph Myers <joseph@codesourcery.com>
1928
1929 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1930 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1931 0x050100].
1932 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1933 Likewise.
1934 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1935 (__ASSUME_STATX): Likewise.
1936
ec255a97
FW
19372019-05-16 Florian Weimer <fweimer@redhat.com>
1938
1939 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1940 flags argument.
1941 (LINE_PARSER): Do not map IPv4 addresses.
1942 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1943 to parse_line.
1944 (_nss_nis_gethostent_r): Always pass AF_INET to
1945 internal_nis_gethostent_r.
1946 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1947 to parse_line.
1948 (_nss_nis_gethostbyname2_r): Adjust call to
1949 internal_nis_gethostent_r.
1950 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1951 call to internal_nis_gethostent_r.
1952 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1953 from parse_line.
1954 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1955 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1956 Remove flags argument. Do not map IPv4 addresses.
1957 (internal_nisplus_gethostent_r): Adjust call to
1958 _nss_nisplus_parse_hostent.
1959 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1960 to _nss_nisplus_parse_hostent.
1961 (_nss_nisplus_gethostbyname2_r): Adjust call to
1962 internal_gethostbyname2_r.
1963 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1964 Adjust call to internal_gethostbyname2_r.
1965 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1966 _nss_nisplus_parse_hostent.
1967 (_nss_nisplus_gethostbyname4_r): Adjust call to
1968 internal_gethostbyname2_r.
1969
9c02d078
FW
19702019-05-16 Florian Weimer <fweimer@redhat.com>
1971
1972 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1973 Remove flags.
1974 (LINE_PARSER): Remove address mapping.
1975 (EXTRA_ARGS_VALUE): Remove flags argument.
1976 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1977 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1978 gethostbyname3_multi.
1979 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1980 _nss_files_gethostbyname3_r.
1981 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1982
85b0e1e8
FW
19832019-05-16 Florian Weimer <fweimer@redhat.com>
1984
1985 * support/support_test_compare_blob.c (report_blob): Report
1986 incorrect NULL blobs.
1987
11b451c8
MW
19882019-05-15 Mark Wielaard <mark@klomp.org>
1989
1990 [BZ# 24476]
1991 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1992 __libc_once_get (once) and static_buf == NULL.
1993 (__dlerror): Check we have a valid key, set result to static_buf
1994 otherwise.
1995
32ff3975
AS
19962019-05-15 Andreas Schwab <schwab@suse.de>
1997
1998 [BZ #20568]
1999 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2000 __codecvt_do_length.
2001 * libio/Makefile (tests): Add tst-wfile-sync.
2002 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2003 * libio/tst-wfile-sync.c: New file.
2004 * libio/tst-wfile-sync.input: New file.
2005
a9368c34
FW
20062019-05-15 Florian Weimer <fweimer@redhat.com>
2007
2008 nss: Turn __nss_database_lookup into a compatibility symbol.
2009 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2010 __nss_database_lookup.
2011 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2012 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2013 __nss_database_lookup.
2014 (__nss_next): Move to …
2015 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2016 unconditionally.
2017 (__nss_database_lookup): New function.
2018 * nss/Versions (GLIBC_2.0): Update comment.
2019 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2020 * grp/initgroups.c (internal_getgrouplist): Call
2021 __nss_database_lookup2 instead of __nss_database_lookup.
2022 * nscd/aicache.c (addhstaiX): Likewise.
2023 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2024 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2025 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2026 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2027 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2028 Likewise.
2029 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2030 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2032
d50f0918 20332019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 2034
d50f0918
AH
2035 * support/support.h (support_install_rootsbindir): New variable.
2036 * support/support_paths.c: Likewise.
2037 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2038
7ac6fad9
FW
20392019-05-15 Florian Weimer <fweimer@redhat.com>
2040
2041 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2042 * iconv/gconv_int.h (__gconv_transliterate): … here.
2043 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2044 * iconv/skeleton.c: Likewise.
2045
04b261bd
FW
20462019-05-14 Florian Weimer <fweimer@redhat.com>
2047
2048 Linux: Add the tgkill function.
2049 * bits/signal_ext.h: New file.
2050 * manual/signal.texi (Signaling Another Process): Document tgkill.
2051 * signal/Makefile (headers): Add bits/signal_ext.h.
2052 * signal/signal.h: Include <bits/signal_ext.h>.
2053 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2054 (tst-tgkill): Link with libpthread.
2055 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2056 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2057 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2058 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2059 tgkill.
2060 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2061 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2062 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2063 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2064 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2065 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2066 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2067 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2068 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2069 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2070 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2071 Likewise.
2072 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2073 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2074 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2078 Likewise.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2080 Likewise.
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2082 Likewise.
2083 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2084 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2085 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2086 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2088 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2089 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2090 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2091
6807f47b
CD
20922019-05-14 Carlos O'Donell <carlos@redhat.com>
2093
2094 * manual/search.texi (Tree Search Function): Adjust twalk_r
2095 documentation.
2096
fdb8a0be
AZ
20972019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2098
da2b83ef
AZ
2099 [BZ #24544]
2100 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2101 pre-defined value.
2102
c7ac9caa
AZ
2103 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2104 * support/support.h (support_bindir_prefix): New variable.
2105 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2106
91f043ae
AZ
2107 * config.make.in (bindir): New variable.
2108
c50e1c26
AZ
2109 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2110 (lll_trylock): Call __lll_trylock.
2111 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2112 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2113 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2114 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2115 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2116 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2117 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2118 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2119 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2120 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2121 lowlevellock-futex.h.
2122
959aff9f
AZ
2123 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2124 initialization for LLL_LOCK_INITIALIZER different than 0.
2125 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2126 Assume LLL_LOCK_INITIALIZER being 0.
2127 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2128 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2129 Likewise.
2130 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2131 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2132
d7e4c642
AZ
2133 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2134 Optimize futex call and add systemtap probe.
2135
fdb8a0be
AZ
2136 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2137 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2138 __libc_disable_asynccancel, __librt_enable_asynccancel,
2139 __libc_disable_asynccancel, __librt_enable_asynccancel,
2140 __librt_disable_asynccancel): Move to ...
2141 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2142 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2143 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2144 * sysdeps/generic/single-thread.h: New file.
2145 * sysdeps/unix/sysdep.h: Include single-thread.h.
2146 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2147 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2148
f6efec90
MF
21492019-05-08 Mike FABIAN <mfabian@redhat.com>
2150
2151 [BZ #24535]
2152 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2153 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2154 Unicode 12.1.0.
2155 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2156 * localedata/unicode-gen/PropList.txt: Likewise.
2157 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2158 * localedata/charmaps/UTF-8: Regenerate.
2159 * localedata/locales/i18n_ctype: Likewise.
2160 * localedata/locales/tr_TR: Likewise.
2161 * localedata/locales/translit_circle: Likewise.
2162 * localedata/locales/translit_cjk_compat: Likewise.
2163 * localedata/locales/translit_combining: Likewise.
2164 * localedata/locales/translit_compat: Likewise.
2165 * localedata/locales/translit_font: Likewise.
2166 * localedata/locales/translit_fraction: Likewise.
2167
5ad533e8
WD
21682019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2169
2170 [BZ #24531]
2171 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2172 (do_set_tcache_count): Only update if count is small enough.
2173 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2174
4aee85f9
FW
21752019-05-10 Florian Weimer <fweimer@redhat.com>
2176
2177 * nptl/sem_close.c (struct walk_closure): Define.
2178 (walker): Adjust for __twalk_r.
2179 (sem_close): Call __twalk_r.
2180
eb669ff5
AZ
21812019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2182
2183 * support/timespec.c (test_timespec_before_impl,
2184 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2185 insted of long int.
2186
51983996
MC
21872019-05-09 Mike Crowe <mac@mcrowe.com>
2188
44ac6ee9
MC
2189 * nptl/tst-abstime.c: Use libsupport.
2190
495514ee
MC
2191 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2192 small bug where only tv.tv_usec was checked which could cause an
2193 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2194 than a second.
2195
2196 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2197 libsupport.
2198
40d0816f
MC
2199 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2200 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2201
d8e0b901
MC
2202 * nptl/tst-cond11.c: Use libsupport.
2203
51983996
MC
2204 * support/timespec.h: New file. Provide timespec helper functions
2205 along with macros in the style of those in check.h.
2206 * support/timespec.c: New file. Implement check functions declared
2207 in support/timespec.h.
2208 * support/timespec-add.c: New file from gnulib containing
2209 timespec_add implementation that handles overflow.
2210 * support/timespec-sub.c: New file from gnulib containing
2211 timespec_sub implementation that handles overflow.
2212 * support/README: Mention timespec.h.
2213
18aa51ee
SN
22142019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2215
2216 [BZ #24537]
2217 * nptl/Makefile: Move tst-eintr1 to xtests.
2218
252296c6
AZ
22192019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2220
ae45cf84
AZ
2221 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2222 TRUNC handling.
2223 (round_mode): Add definition for TRUNC.
2224 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2225 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2226 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2227 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2228 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2229 Likewise.
2230 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2231 Likewise.
2232 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2233 Likewise.
2234 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2235 Likewise.
2236 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2237 file.
2238 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2239 Likewise.
2240 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2241 Likewise.
2242 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2243 Likewise.
2244 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2245 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2246 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2247 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2248 s_truncf-power5+, and s_truncf-ppc64.
2249 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2250 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2251 file.
2252 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2254 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2255 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2256 file.
2257 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2258 Likewise.
2259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2260 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2262 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2263 s_truncf-power5+, and s_truncf-ppc64.
2264 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2265 file.
2266 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2267 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2268 Likewise.
2269 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2270 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2271 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2272 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2273 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2274
a1cb1888
AZ
2275 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2276 ROUND handling.
2277 (round_mode): Add definition for ROUND.
2278 (round_to_integer_float): Likewise.
2279 * sysdeps/powerpc/fpu/s_round.c: New file.
2280 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2281 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2282 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2283 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2284 Likewise.
2285 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2286 Likewise.
2287 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2288 Likewise.
2289 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2290 Likewise.
2291 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2292 file.
2293 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2294 Likewise.
2295 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2296 Likewise.
2297 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2298 Likewise.
2299 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2300 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2301 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2302 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2303 s_roundf-power5+, and s_roundf-ppc64.
2304 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2305 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2306 file.
2307 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2309 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2310 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2311 file.
2312 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2313 Likewise.
2314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2315 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2317 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2318 s_roundf-power5+, and s_roundf-ppc64.
2319 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2320 file.
2321 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2322 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2323 Likewise.
2324 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2325 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2326 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2327 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2328 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2329
252296c6
AZ
2330 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2331 Add FLOOR option.
2332 (round_mode): Add definition for FLOOR.
2333 * sysdeps/powerpc/fpu/s_floor.c: New file.
2334 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2335 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2336 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2338 Remove file.
2339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2340 Likewise
2341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2342 Likewise.
2343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2344 Likewise.
2345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2346 New file.
2347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2348 Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2350 Likewise.
2351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2352 Likewise.
2353 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2354 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2355 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2356 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2357 s_floorf-power5+, and s_floorf-ppc64.
2358 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2359 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2360 file.
2361 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2363 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2364 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2365 file.
2366 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2367 Likewise.
2368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2369 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2371 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2372 s_floorf-power5+, and s_floorf-ppc64.
2373 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2374 file.
2375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2376 file.
2377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2378 Likewise.
2379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2380 Likewise.
2381 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2385
33647a72
MC
23862019-05-08 Mike Crowe <mac@mcrowe.com>
2387
2388 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2389 clock_gettime wrapper for use in tests that fails the test rather
2390 than returning failure.
2391
2392 * support/xtime.h: New file to declare xclock_gettime.
2393
2394 * support/Makefile: Add xclock_gettime.c.
2395
2396 * support/README: Mention xtime.h.
2397
b2f601ba
FW
23982019-05-08 Florian Weimer <fweimer@redhat.com>
2399
2400 malloc/tst-mallocfork2: Use process-shared barriers.
2401 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2402 (signal_count, sigusr1_sender_pid): Remove.
2403 (iterations): Define constant.
2404 (shared): New variable.
2405 (sigusr1_received): Update comment.
2406 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2407 (signal_sender): Optional use barriers to avoid sending signals
2408 during irrelevant times.
2409 (do_it): Initialize variable shared. Use xfork for error
2410 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2411 the iteration count, independent of signal delivery. Check for
2412 deadlocks in fork. Introduce barriers for reducing signal
2413 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2414 replaced by the barriers. Count signals during fork/free/malloc
2415 and report them.
2416 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2417
c4a392cf
JM
24182019-05-07 Joseph Myers <joseph@codesourcery.com>
2419
7621676f
JM
2420 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2421 version to 5.1.
2422 (clock_adjtime64) New syscall.
2423 (clock_getres_time64) Likewise.
2424 (clock_gettime64) Likewise.
2425 (clock_nanosleep_time64) Likewise.
2426 (clock_settime64) Likewise.
2427 (futex_time64) Likewise.
2428 (io_pgetevents_time64) Likewise.
2429 (io_uring_enter) Likewise.
2430 (io_uring_register) Likewise.
2431 (io_uring_setup) Likewise.
2432 (mq_timedreceive_time64) Likewise.
2433 (mq_timedsend_time64) Likewise.
2434 (pidfd_send_signal) Likewise.
2435 (ppoll_time64) Likewise.
2436 (pselect6_time64) Likewise.
2437 (recvmmsg_time64) Likewise.
2438 (rt_sigtimedwait_time64) Likewise.
2439 (sched_rr_get_interval_time64) Likewise.
2440 (semtimedop_time64) Likewise.
2441 (timer_gettime64) Likewise.
2442 (timer_settime64) Likewise.
2443 (timerfd_gettime64) Likewise.
2444 (timerfd_settime64) Likewise.
2445 (utimensat_time64) Likewise.
2446
c4a392cf
JM
2447 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2448 version to 9 branch.
2449
32e902a9
AY
24502019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2451
2452 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2453 __memmove_thunderx2 to the list of implementations
2454 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2455 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2456 (__memmove_thunderx2): Rewritten using SIMD ld/st
2457 (__memcpy_thunderx2): Fixed handling overlapping cases.
2458 Used ldp/stp instead of ldr/str if possible. Made loops
2459 tails branchless.
2460
ac3da35d
FW
24612019-05-03 Florian Weimer <fweimer@redhat.com>
2462
2463 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2464
b2af6fb2
AZ
24652019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2466
7dfde28a 2467 [BZ #24506]
b2af6fb2
AZ
2468 * elf/tst-pldd.c (in_str_list): New function.
2469 (do_test): Add default names for ld and libc as one option.
2470
7b807a35
FW
24712019-05-02 Florian Weimer <fweimer@redhat.com>
2472
2473 misc: Add twalk_r function.
2474 * include/search.h (__twalk_r): Declare.
2475 * manual/examples/twalk.c: New file.
2476 * manual/search.texi (Tree Search Function): Document twalk_r.
2477 * misc/Versions (2.30): Export twalk_r.
2478 (GLIBC_PRIVATE): Export __twalk_r.
2479 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2480 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2481 (twalk_r): Add weak alias.
2482 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2483 (walk_trace): New variable.
2484 (struct twalk_with_twalk_r_closure): Define.
2485 (twalk_with_twalk_r_action): New function.
2486 (twalk_with_twalk_r): Likewise.
2487 (walk_action): Call walk_trace_add.
2488 (walk_tree_with): Rename from walk_tree. Add walk argument.
2489 (walk_tree): New function.
2490 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2491 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2492 Likewise.
2493 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2494 Likewise.
2495 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2496 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2497 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2498 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2499 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2500 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2501 Likewise.
2502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2503 Likewise.
2504 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2505 Likewise.
2506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2507 (GLIBC_2.30): Likewise.
2508 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2509 (GLIBC_2.30): Likewise.
2510 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2511 (GLIBC_2.30): Likewise.
2512 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2513 (GLIBC_2.30): Likewise.
2514 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2515 Likewise.
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2517 (GLIBC_2.30): Likewise.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2519 (GLIBC_2.30): Likewise.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2521 (GLIBC_2.30): Likewise.
2522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2523 (GLIBC_2.30): Likewise.
2524 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2525 Likewise.
2526 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2527 Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2529 Likewise.
2530 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2532 Likewise.
2533 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2534 Likewise.
2535 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2536 Likewise.
2537 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2538 Likewise.
2539
20aa5819
PE
25402019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2541
2542 Make mktime etc. compatible with __time64_t
2543 Keep these functions compatible with Gnulib while adding
2544 __time64_t support. The basic idea is to move private API
2545 declarations from include/time.h to time/mktime-internal.h, since
2546 the former file cannot easily be shared with Gnulib whereas the
2547 latter can.
2548 Also, do some other minor cleanup while in the neighborhood.
2549 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2550 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2551 since Gnulib needs it.
2552 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2553 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2554 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2555 (in_time_t_range): New static function.
2556 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2557 so that glibc users are not tempted to use __time64_t.
2558 * time/mktime-internal.h: Rewrite so that it does both glibc
2559 and Gnulib work. Include time.h if not _LIBC.
2560 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2561 (__time64_t): New type or macro, moved here from
2562 posix/bits/types.h.
2563 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2564 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2565 from include/time.h.
2566 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2567 New macros, taken from GNulib.
2568 (__mktime_internal): New prototype, moved here from include/time.h.
2569 * time/mktime.c (mktime_min, mktime_max, convert_time)
2570 (ranged_convert, __mktime_internal, __mktime64):
2571 * time/timegm.c (__timegm64):
2572 Use __time64_t, not time_t.
2573 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2574 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2575 Rename from mktime.
2576 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2577 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2578 for libc_hidden_def.
2579 Include errno.h.
2580 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2581 Rename from timegm.
2582 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2583
87c266d7
MR
25842019-04-30 Maciej W. Rozycki <macro@wdc.com>
2585
2586 [BZ #19444]
2587 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2588 from `-Wmaybe-uninitialized'.
2589 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2590
c4c0848b
AZ
25912019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2592
6cac323c
AZ
2593 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2594 function.
2595 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2596 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2597 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2598 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2599 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2601 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2603 Remove file.
2604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2605 Likewise.
2606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2607 Likewise.
2608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2609 Likewise.
2610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2611 New file.
2612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2613 Likewise.
2614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2615 Likewise.
2616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2617 Likewise.
2618 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2619 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2621 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2622 Likewise.
2623 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2624 Likewise.
2625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2626 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2628 file.
2629 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2630 Likewise.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2632 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2633 * here.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2635 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2636 s_ceilf-power5+, and s_ceilf-ppc64.
2637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2638 file.
2639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2644 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2645 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2646
c4c0848b
AZ
2647 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2648 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2649 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2650
f492fc99
YD
26512019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2652
2653 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2654 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2655 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2656 (sem_getvalue): Likewise.
2657
c57afec0
FW
26582019-04-26 Florian Weimer <fweimer@redhat.com>
2659
2660 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2661 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2662
a8ff215e
FW
26632019-04-26 Florian Weimer <fweimer@redhat.com>
2664
2665 Makeconfig: Move -Wl,-rpath-link options before library references.
2666 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2667 (link-libc): Remove $(link-libc-rpath-link).
2668
26692019-04-25 Florian Weimer <fweimer@redhat.com>
2670
2671 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2672 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2673 (+link-static-before-libc): Remove $(CC).
2674 (+link-static, +link-static-tests): Add $(CC).
2675 (+link-before-libc): Remove $(CC).
2676 (+link, +link-pie, +link-pie-printers): Add $(CC).
2677
e30fb31c
FW
26782019-04-26 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
deacca00
DA
26872019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2688
2689 [BZ#24484]
2690 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2691
b5ffdc48
FW
26922019-04-25 Florian Weimer <fweimer@redhat.com>
2693
2694 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2695 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2696 (bench-link-targets): New variable.
2697 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2698
94a4e9e4
FW
26992019-04-25 Florian Weimer <fweimer@redhat.com>
2700
2701 Also enable BIND_NOW for programs if --enable-bind-now.
2702 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2703 (+link-pie): Use $(link-extra-flags).
2704 (+link-static): Likewise.
2705 [! $(build-pie-default)] (+link): Likewise.
2706 * manual/install.texi (Configuring and compiling): Update
2707 --enable-bind-now description.
2708 * INSTALL: Regenerated.
2709
fe92a91f
WD
27102019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2711
2712 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2713 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2714
f9b645b4
MF
27152019-04-24 Mike Frysinger <vapier@gentoo.org>
2716
2717 [BZ #18465]
2718 * malloc/Makefile (others): Add memusagestat.
2719 ($(objpfx)memusagestat): Delete rule.
2720 (LDLIBS-memusagestat): New variable.
2721
439bf534
FW
27222019-04-24 Florian Weimer <fweimer@redhat.com>
2723
2724 * locale/Makefile (tests-special): Guard setting by
2725 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2726 to run while cross-compiling.
2727
1a4c2735
AZ
27282019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2729
2730 [BZ #18035]
2731 * elf/Makefile (tests-container): Add tst-pldd.
2732 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2733 (E(find_maps)): Avoid use alloca, use default read file operations
2734 instead of explicit LFS names, and fix infinite loop.
2735 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2736 (get_process_info): Use _Static_assert instead of assert, use default
2737 directory operations instead of explicit LFS names, and free some
2738 leadek pointers.
2739 * elf/tst-pldd.c: New file.
2740
2d398aa2
L
27412019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2742
2743 * malloc/arena.c (do_set_mallopt_check): Removed.
2744
e485b2b6
FW
27452019-04-23 Florian Weimer <fweimer@redhat.com>
2746
2747 locale: Add LOCPATH diagnostics to the locale program.
2748 * locale/programs/locale.c (setlocale_failed): New variable.
2749 (try_setlocale): New function.
2750 (quote_string): Likewise.
2751 (setlocale_diagnostics): Likewise.
2752 (main): Call try_setlocale instead of setlocale. Call
2753 setlocale_diagnostics.
2754 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2755 (tst-locale-locpath.out): New target.
2756 * locale/tst-locale-locpath.sh: New file.
2757
25f7a3c9
AZ
27582019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2759
2760 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2761 to 2.30 notes.
2762
9bf8e29c
AZ
27632019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2764
2765 [BZ #23741]
2766 * malloc/hooks.c (malloc_check, realloc_check): Use
2767 __builtin_add_overflow on overflow check and adapt to
2768 checked_request2size change.
2769 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2770 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2771 allocation size to PTRDIFF_MAX.
2772 (REQUEST_OUT_OF_RANGE): Remove macro.
2773 (checked_request2size): Change to inline function and limit maximum
2774 requested size to PTRDIFF_MAX.
2775 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2776 maximum allocation size to PTRDIFF_MAX.
2777 (_mid_memalign): Use _int_memalign call for overflow check.
2778 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2779 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2780 limit maximum requested size to PTRDIFF_MAX.
2781 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2782 valloc, pvalloc): Add __attribute_alloc_size__.
2783 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2784 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2785 larger than PTRDIFF_MAX.
2786 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2787 around tests of malloc with negative sizes.
2788 * malloc/tst-posix_memalign.c (do_test): Likewise.
2789 * malloc/tst-pvalloc.c (do_test): Likewise.
2790 * malloc/tst-valloc.c (do_test): Likewise.
2791 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2792 with resulting size allocation larger than PTRDIFF_MAX with
2793 reallocarray_nowarn.
2794 (reallocarray_nowarn): New function.
2795 * NEWS: Mention the malloc function semantic change.
2796
0e169691
AZ
27972019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2798
52faba65
AZ
2799 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2800 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2801
3a16dd78
AZ
2802 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2803 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2804 * sysdeps/powerpc/fpu/s_fma.c: New file.
2805 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2806
1dac8bd6
AZ
2807 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2808 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2809
a3ae315a
AZ
2810 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2811 the magic flag store.
2812 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2813 Likewise.
2814 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2815 Likewise.
2816 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2817 Remove rt_sigreturn call.
2818
ffe8a9a8
AZ
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2820 Remove rt_sigreturn call.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2825
0e169691
AZ
2826 * support/Makefile (libsupport-routines): Add support_subprocess,
2827 xposix_spawn, xposix_spawn_file_actions_addclose, and
2828 xposix_spawn_file_actions_adddup2.
2829 (tst-support_capture_subprocess-ARGS): New rule.
2830 * support/capture_subprocess.h (support_capture_subprogram): New
2831 prototype.
2832 * support/support_capture_subprocess.c (support_capture_subprocess):
2833 Refactor to use support_subprocess and support_capture_poll.
2834 (support_capture_subprogram): New function.
2835 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2836 str_to_write_mode, test_common, parse_int, handle_restart,
2837 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2838 (do_test): Add support_capture_subprogram tests.
2839 * support/subprocess.h: New file.
2840 * support/support_subprocess.c: Likewise.
2841 * support/xposix_spawn.c: Likewise.
2842 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2843 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2844 * support/xspawn.h: Likewise.
2845
bae8cf0e
MG
28462019-04-17 Mike Gerow <gerow@google.com>
2847
2848 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2849 groups limit.
2850
e3f454ba
FW
28512019-04-11 Florian Weimer <fweimer@redhat.com>
2852
2853 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2854 domain with empty string.
2855 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2856
32d85c11
FW
28572019-04-11 Florian Weimer <fweimer@redhat.com>
2858
2859 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2860 comment.
2861 (alloc_buffer_next): Change return type to non-const. Update
2862 comment.
2863
221710af
FW
28642019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2865
2866 * manual/time.texi (Formatting Calendar Time): Add missing percent
2867 sign to conversion specifier.
2868
e621246e
CD
28692019-04-09 Carlos O'Donell <carlos@redhat.com>
2870 Kwok Cheung Yeung <kcy@codesourcery.com>
2871
2872 [BZ #16573]
2873 * malloc/mtrace.c: Define prototypes for all hooks.
2874 (set_default_hooks): New function.
2875 (set_trace_hooks): Likewise.
2876 (save_default_hooks): Likewise.
2877 (tr_freehook): Use new s*_hooks functions.
2878 (tr_mallochook): Likewise.
2879 (tr_reallochook): Likewise.
2880 (tr_memalignhook): Likewise.
2881 (mtrace): Likewise.
2882 (muntrace): Likewise.
2883
648279f4
WD
28842019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2885
2886 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2887 (generic_stpcpy): New function.
2888 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2889 (generic_stpncpy): New function.
2890 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2891 (generic_strcat): New function.
2892 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2893 (generic_strcpy): New function.
2894 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2895 (STUPID_STRNCAT): Remove function.
2896 (generic_strncat): New function.
2897 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2898 (STUPID_STRNCPY): Remove function.
2899 (generic_strncpy): New function.
2900 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2901 (generic_strnlen): New function.
2902 (memchr_strnlen): New function.
2903 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2904 (memchr_strlen): Likewise.
2905
93eebae5
WD
29062019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2907
2908 * benchtests/bench-strstr.c (input): Add realistic input text.
2909 (stupid_strstr): Remove function.
2910 (basic_strstr): Add function.
2911 (twoway_strstr): Add function.
2912 (do_one_test): Add result checking.
2913 (do_test): Use new input text. Remove accidental early matches.
2914 (test_main): Improve range of tests, reduce unaligned cases.
2915
a173d09f
WD
29162019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2917
2918 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2919 (basic_memmem): Add function.
2920 (twoway_memmem): Add function.
2921
6103c0a8
WD
29222019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2923
2924 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2925 * benchtests/bench-malloc-thread.c: Likewise.
2926 * benchtests/bench-skeleton.c: Likewise.
2927 * benchtests/bench-strtod.c: Likewise.
2928 * benchtests/bench-timing.h: Likewise.
2929
33322186
FW
29302019-04-08 Florian Weimer <fweimer@redhat.com>
2931
2932 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2933 definitions.
2934 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2935 RES_INSECURE2 security checks.
2936 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2937 RES_INSECURE2 handling.
2938
3f8b44be
FW
29392019-04-08 Florian Weimer <fweimer@redhat.com>
2940
2941 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2942 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2943 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2944 GETHOSTBYNAME.
2945 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2946 (tests-internal): Update justification for tst-resolv-res_init,
2947 tst-resolv-res_init-thread.
2948 (tst-res_use_inet6): Remove target.
2949 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2950 * resolv/res_debug.c (p_option): Remove "inet6" support.
2951 * resolv/res_init.c (res_setoptions): Likewise.
2952 * resolv/res_use_inet6.h: Remove file.
2953 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2954 definition.
2955 (res_use_inet6): Always return false.
2956 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2957 * resolv/resolv_context.h: Adjust file comment.
2958 (struct resolv_context): Update comment on __next field.
2959 (__resolv_context_put): Update comment.
2960 * resolv/tst-res_use_inet6.c: Remove file.
2961 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2962 "inet6" support.
2963 (test_cases): Adjust test case.
2964 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2965 (thread_byname2_af_inet6): Use old byname_inet6 code.
2966 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2967 (gai): Remove do_inet6 argument.
2968 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2969 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2970 (thread_gai_unspec_inet6): Remove functions.
2971 (do_test): Adjust thread_funcs.
2972 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2973 RES_USE_INET6 flag.
2974 (gaih_inet): Do not disable RES_USE_INET6 flag.
2975
6b5c8607 29762019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
2977
2978 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2979 and remove redundant code.
2980
e3fd0b0e
AZ
29812019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2982
f82ed45d
AZ
2983 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2984 New rule.
2985 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2987 Likewise.
2988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2989 Likewise.
2990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2991 Likewise.
2992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2993 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2994 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2995 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2996 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2997 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2999 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3000 wcsrchr-power7.
3001 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3004 Remove wcsrchr optimizations.
3005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3006
662c2cc4
AZ
3007 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3008 the loop unroll.
3009
421e3005
AZ
3010 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3011 New rule.
3012 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3014 Likewise.
3015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3016 Likewise.
3017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3018 Likewise.
3019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3020 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3021 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3022 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3023 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3024 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3026 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3027 wcschr-power7.
3028 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3031 Remove wcschr optimizations.
3032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3033
7ba0100c
AZ
3034 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3035 the loop unroll.
3036
447a1306
AZ
3037 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3038 New rule.
3039 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3041 Likewise.
3042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3043 Likewise.
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3045 Likewise.
3046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3047 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3049 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3050 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3051 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3053 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3054 wcscpy-power7.
3055 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3058 Remove wcscpy optimizations.
3059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3060
e3fd0b0e
AZ
3061 * include/loop_unroll.h: New file.
3062 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3063 besides generic implementation.
3064
8260f236
DD
30652019-04-03 DJ Delorie <dj@redhat.com>
3066
3067 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3068 snprintf truncating output.
3069
0bd545ee
DD
30702019-04-02 DJ Delorie <dj@redhat.com>
3071
3072 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3073 warning.
3074
466afec3
TS
30752019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3076
3077 [BZ #22964]
3078 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3079 era.
3080 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3081 (mkreftable): Add rules for the new Japanese era and the new dates.
3082
2f1d6155
TS
30832019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3084 Rafal Luzynski <digitalfreak@lingonborough.com>
3085
3086 * time/tst-strftime2.c (date_t): Explicitly define the type.
3087 (dates): Use natural month and year numbers to express a date.
3088 (is_before): New function to compare dates.
3089 (mkreftable): Minor improvements to simplify maintenance.
3090 (do_test): Reflect the changes in dates array.
3091
84aea169
TS
3092 [BZ #24293]
3093 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3094 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3095 * time/tst-strftime2.c (locales): Likewise.
3096 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3097 2010-04-01, and 2011-04-01.
3098 (mkreftable): Add rules for the new locales and the new dates.
3099
62449176
CD
31002019-04-01 Carlos O'Donell <carlos@redhat.com>
3101
3102 * localedata/locales/ja_JP: Add comments to era entries.
3103
e0e4c321
DD
31042019-04-01 DJ Delorie <dj@redhat.com>
3105
3106 [BZ #24394]
3107 * time/strptime_l.c (%Ey): Fix fencepost error.
3108 * time/tst-strftime3.c: New.
3109 * time/Makefile (tests): Add tst-strftime3.
3110
6b5c8607 31112019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
3112
3113 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3114 conditional branch to DIVBYZERO. Fix unwind info.
3115 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3116 excb after conditional branch to $powerof2. Add missing unop
3117 instructions and .align directives and reorder instructions to
3118 match __divqu.
3119
d5ecee82
RH
31202019-04-01 Richard Henderson <rth@twiddle.net>
3121
3122 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3123 Do not redefine.
3124 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3125 Do not redefine.
3126
656dd306
MR
31272019-03-30 Maciej W. Rozycki <macro@wdc.com>
3128
3129 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3130 $libc_cv_riscv_float_abi in `test' invocation.
3131 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3132
10cce669
PC
31332019-03-29 Paul A. Clarke <pc@us.ibm.com>
3134
3135 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3136 asm with builtin.
3137 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3138 Likewise.
3139 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3140 (_GET_SI_FPSCR): Likewise.
3141 (_SET_SI_FPSCR): Likewise.
3142
5e67e4bf 31432019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
3144
3145 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3146 clang 2.8.
3147 (signbit): Use builtin for clang 3.3.
3148 (isinf): Use builtin for clang 3.7.
3149
01963891
AZ
31502019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3151
3152 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3153
67112f7a
AH
31542019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3155
3156 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3157 quote in printf.
3158
7a773abf
MC
31592019-03-25 Mike Crowe <mac@mcrowe.com>
3160
82849fde
MC
3161 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3162 pthread_rwlock_timedrdlock with calls to
3163 pthread_rwlock_timedwrlock to ensure that the latter is tested
3164 too. Use new function name in diagnostic messages too.
3165
7a773abf
MC
3166 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3167 (do_test) Use libsupport test macros rather than hand-coded
3168 conditionals and error messages. Ensure that sem_init returns zero
3169 rather than not -1. Use <support/test-driver.c> rather than
3170 test-skeleton.c.
3171
3172 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3173 test macros rather than hand-coded conditionals and error messages.
3174 Use <support/test-driver.c> rather than test-skeleton.c.
3175
9ac2de69
JM
31762019-03-25 Joseph Myers <joseph@codesourcery.com>
3177
d7563e62
JM
3178 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3179
9ac2de69
JM
3180 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3181 (NT_MIPS_MSA): Likewise.
3182
38cc11da
AZ
31832019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3184
7621e38b
WD
3185 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3186 * benchtests/README: Update description.
3187 * benchtests/bench-timing.h: Default to hp-timing.
3188 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3189 HP_TIMING_PRINT): Remove.
3190 (HP_TIMING_NOW): Add generic implementation.
3191 (hp_timing_t): Change to uint64_t.
3192
1e372ded
AZ
3193 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3194 HP_TIMING_INLINE.
3195 * nptl/descr.h: Likewise.
3196 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3197 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3198 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3199 Abstract hp-timing usage with RTLD_* macros.
3200 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3201 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3202 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3203 HP_TIMING_NONAVAIL): Likewise.
3204 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3205 Likewise.
3206 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3207 HP_SMALL_TIMING_AVAIL): Likewise.
3208 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3209 HP_SMALL_TIMING_AVAIL): Likewise.
3210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3211 HP_SMALL_TIMING_AVAIL): Likewise.
3212 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3213 HP_SMALL_TIMING_AVAIL): Likewise.
3214 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3215 Likewise.
3216 * sysdeps/generic/hp-timing-common.h: Update comment with
3217 HP_TIMING_AVAIL removal.
3218
359653aa
AZ
3219 * include/random-bits.h: New file.
3220 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3221 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3222 random_bits.
3223 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3224 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3225 Likewise.
3226
6e8ba7fd
AZ
3227 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3228 * rt/Makefile (clock-routines): Remove get_clockfreq.
3229 * rt/get_clockfreq.c: Remove file.
3230 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3231 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3233 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3234 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3235
77b6f553
AZ
3236 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3237 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3238 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3239 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3240 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3241
38cc11da
AZ
3242 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3243 pthread_clock_settime.
3244 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3245 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3246 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3247 * elf/rtld.c (_dl_start_final): Likewise.
3248 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3249 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3250 Remove.
3251 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3252 (_dl_cpuclock_offset): Remove.
3253 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3254 cpuclock_offset_ununsed.
3255 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3256 cpuclock_offset set.
3257 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3258 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3259 * nptl/pthread_clock_gettime.c: Remove file.
3260 * nptl/pthread_clock_settime.c: Likewise.
3261 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3262 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3263 and CLOCK_PROCESS_CPUTIME_ID support.
3264 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3265 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3266 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3267 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3268 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3269 Likewise.
3270 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3271
421749d6
SL
32722019-03-22 Stefan Liebler <stli@linux.ibm.com>
3273
3274 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3275 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3276 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3277 New defines.
3278 * sysdeps/s390/memmem-arch13.S: New file.
3279 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3280 if it is only used as fallback.
3281 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3282 * sysdeps/s390/multiarch/ifunc-impl-list.c
3283 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3284
6f47401b
SL
32852019-03-22 Stefan Liebler <stli@linux.ibm.com>
3286
3287 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3288 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3289 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3290 New defines.
3291 * sysdeps/s390/multiarch/ifunc-impl-list.c
3292 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3293 * sysdeps/s390/strstr-arch13.S: New file.
3294 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3295 if it is only used as fallback.
3296 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3297
96fbb9a3
SL
32982019-03-22 Stefan Liebler <stli@linux.ibm.com>
3299
3300 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3301 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3302 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3303 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3304 ifunc selector.
3305 * sysdeps/s390/multiarch/ifunc-impl-list.c
3306 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3307 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3308 S390_IS_ARCH13_MIE3): New defines.
3309
a899a551
SL
33102019-03-22 Stefan Liebler <stli@linux.ibm.com>
3311
3312 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3313 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3314 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3315 * sysdeps/s390/configure: Regenerated.
3316
1a7df49c
SL
33172019-03-22 Stefan Liebler <stli@linux.ibm.com>
3318
3319 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3320 Add vxe2, vxp, dflt, sort flags.
3321 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3322 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3323 capabilities.
3324 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3325 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3326 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3327 HWCAP_S390_DFLT): Define.
3328
5e67e4bf 33292019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
3330
3331 [BZ #24372]
3332 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3333 of compiler warning.
3334 * locale/programs/ld-collate.c (collate_output): Likewise.
3335
ac64195c
DD
33362019-03-21 DJ Delorie <dj@redhat.com>
3337
3338 [BZ #24372]
3339 * iconv/iconvconfig.c (write_output): Replace floating point math
3340 with integer math to avoid imprecise results.
3341 * locale/programs/ld-collate.c (collate_output): Likewise.
3342
61f5e947
SL
33432019-03-21 Stefan Liebler <stli@linux.ibm.com>
3344
3345 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3346 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3347
57ada43c 33482019-03-20 mansayk <6688000@gmail.com>
3349
3350 [BZ #24296]
3351 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3352 (abday): Likewise, but remove the trailing dots.
3353
a2e57f89
JM
33542019-03-19 Joseph Myers <joseph@codesourcery.com>
3355
3356 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3357 macro.
3358 (HWCAP_PACA): Likewise.
3359 (HWCAP_PACG): Likewise.
3360 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3361 Increase to 32.
3362 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3363
e87d8ada
ST
33642019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3365
3366 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3367 should be handled.
3368
477e739b
JM
33692019-03-15 Joseph Myers <joseph@codesourcery.com>
3370
3371 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3372 version to 5.0.
3373 (old_getpagesize): New syscall.
3374
238d60a1
FY
33752019-03-15 Felix Yan <felixonmars@archlinux.org>
3376
3377 [BZ #24293]
3378 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3379 * localedata/locales/cmn_TW (era): Likewise.
3380 * localedata/locales/hak_TW (era): Likewise.
3381 * localedata/locales/lzh_TW (era): Likewise.
3382 * localedata/locales/nan_TW (era): Likewise.
3383
5dde9ef7
DD
33842019-03-14 Adam Maris <amaris@redhat.com>
3385
3386 * malloc/malloc.c (_int_malloc): Check for large bin list
3387 corruption when inserting unsorted chunk.
3388
a0a0dc83
FW
33892019-03-14 Florian Weimer <fweimer@redhat.com>
3390
3391 Remove obsolete, never-implemented XSI STREAMS declarations.
3392 * manual/terminal.texi (Allocation): Remove portability note and
3393 adjust example.
3394 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3395 _SC_STREAMS.
3396 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3397 * sysdeps/unix/inet/Subdirs (streams): Remove.
3398 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3399 (conformtest-headers-UNIX98): Likewise.
3400 (conformtest-headers-XOPEN2K): Likewise.
3401 (conformtest-headers-POSIX2008): Likewise.
3402 * posix/compat-streams.c: New file.
3403 * posix/Makefile (routines): Add it.
3404 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3405 getpmsg, isastream, putmsg, putpmsg.
3406 (GLIBC_2.30): New section.
3407 * bits/stropts.h: Remove file.
3408 * bits/xtitypes.h: Likewise.
3409 * conform/data/stropts.h-data: Likewise.
3410 * include/stropts.h: Likewise.
3411 * include/sys/stropts.h: Likewise.
3412 * include/xtitypes.h: Likewise.
3413 * streams/Makefile: Likewise.
3414 * streams/fattach.c: Likewise.
3415 * streams/fdetach.c: Likewise.
3416 * streams/getmsg.c: Likewise.
3417 * streams/getpmsg.c: Likewise.
3418 * streams/isastream.c: Likewise.
3419 * streams/putmsg.c: Likewise.
3420 * streams/putpmsg.c: Likewise.
3421 * streams/stropts.h: Likewise.
3422 * streams/sys/stropts.h: Likewise.
3423 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3424 * sysdeps/s390/bits/xtitypes.h: Likewise.
3425 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3426 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3427 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3428 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3429 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3430 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3431 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3432 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3433 * sysdeps/x86/bits/xtitypes.h: Likewise.
3434
081bdf94
FW
34352019-03-14 Florian Weimer <fweimer@redhat.com>
3436
3437 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3438 libnss_files.
3439 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3440 but not with libnss_files.
3441 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3442
97f8225d
ZW
34432019-03-14 Zack Weinberg <zackw@panix.com>
3444
3445 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3446 Specify encoding="utf-8" when opening headers to check.
3447
0c1041ee
JM
34482019-03-13 Joseph Myers <joseph@codesourcery.com>
3449
3450 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3451 version to 5.0.
3452 (Context.checkout_tar): Handle variable major version for Linux
3453 kernel.
3454
043440e7
FW
34552019-03-13 Florian Weimer <fweimer@redhat.com>
3456
3457 [BZ #24047]
3458 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3459
29218b26
ZW
34602019-03-13 Zack Weinberg <zackw@panix.com>
3461
3462 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3463 Move to stdlib.
3464 * include/inttypes.h: Adjust to match.
3465 * include/stdint.h: New wrapper.
3466
711a322a
ZW
34672019-03-13 Zack Weinberg <zackw@panix.com>
3468
3469 * scripts/check-obsolete-constructs.py: New test script.
3470 * scripts/check-installed-headers.sh: Remove tests for
3471 obsolete typedefs, superseded by check-obsolete-constructs.py.
3472 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3473 as a special test. Update commentary.
3474 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3475 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3476 Update commentary.
3477 * posix/sys/types.h (__u_intN_t): Remove.
3478 (u_int8_t): Typedef using __uint8_t.
3479 (u_int16_t): Typedef using __uint16_t.
3480 (u_int32_t): Typedef using __uint32_t.
3481 (u_int64_t): Typedef using __uint64_t.
3482
7c651308
SL
34832019-03-13 Stefan Liebler <stli@linux.ibm.com>
3484
3485 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3486 call _dl_procinfo.
3487 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3488 Ignore types other than AT_HWCAP.
3489 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3490 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3491 Likewise.
3492 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3493 in the case of falling back to generic output mechanism.
3494 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3495 Likewise.
3496
38b52865
FW
34972019-03-12 Florian Weimer <fweimer@redhat.com>
3498
3499 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3500
08504de7
FW
35012019-03-12 Florian Weimer <fweimer@redhat.com>
3502
3503 [BZ #24047]
3504 resolv: Enable full ICMP errors for UDP DNS sockets
3505 * resolv/res_enable_icmp.c: New file.
3506 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3507 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3508 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3509 socket.
3510
5fbcd763
MH
35112019-03-11 Mao Han <han_mao@c-sky.com>
3512
3513 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3514 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3515
c4e5f34b
MH
35162019-03-11 Mao Han <han_mao@c-sky.com>
3517
3518 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3519 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3520 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3521
827e30f3
MH
35222019-03-11 Mao Han <han_mao@c-sky.com>
3523
3524 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3525 directly.
3526 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3527 definition.
3528
6229c9bf
MH
35292019-03-11 Mao Han <han_mao@c-sky.com>
3530
3531 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3532 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3533 in mcontext_t
3534
86bdd49d
MF
35352019-03-08 Mike FABIAN <mfabian@redhat.com>
3536
3537 [BZ #24307]
3538 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3539 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3540 Unicode 12.0.0.
3541 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3542 * localedata/unicode-gen/PropList.txt: Likewise.
3543 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3544 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3545 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3546 * localedata/charmaps/UTF-8: Regenerate.
3547 * localedata/locales/i18n_ctype: Likewise.
3548 * localedata/locales/tr_TR: Likewise.
3549 * localedata/locales/translit_circle: Likewise.
3550 * localedata/locales/translit_cjk_compat: Likewise.
3551 * localedata/locales/translit_combining: Likewise.
3552 * localedata/locales/translit_compat: Likewise.
3553 * localedata/locales/translit_font: Likewise.
3554 * localedata/locales/translit_fraction: Likewise.
3555
c5f65462
JM
35562019-03-07 Joseph Myers <joseph@codesourcery.com>
3557
3558 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3559 than after operators.
3560 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3561 (setitimer_locked): Likewise.
3562 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3563 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3564 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3565 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3566 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3567 (PPC_CPU_SUPPORTED): Likewise.
3568 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3569 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3570 (stat_overflow): Likewise.
3571 (statfs_overflow): Likewise.
3572 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3573 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3574 (eq_ttyname_r): Likewise.
3575 (run_chroot_tests): Likewise.
3576
27a2f2f3
FW
35772019-03-07 Florian Weimer <fweimer@redhat.com>
3578
3579 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3580 header check.
3581
ae514971 35822019-03-07 Martin Liska <mliska@suse.cz>
3583
3584 * math/Makefile: Change location where math-vector-fortran.h is
3585 installed.
3586 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3587 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3588 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3589 * scripts/check-installed-headers.sh: Skip Fortran header files.
3590 * scripts/check-wrapper-headers.py: Likewise.
3591
0ddb7ea8
AZ
35922019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3593
3594 * nptl/nptl-init.c (__have_futex_clock_realtime,
3595 __have_futex_clock_realtime): Remove definition.
3596 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3597 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3598 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3599 __ASSUME_FUTEX_CLOCK_REALTIME support.
3600 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3601 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3602 * sysdeps/unix/sysv/linux/kernel-features.h
3603 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3604 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3605 Adjust comment.
3606
590675c0
GG
36072019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3608
3609 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3610 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3611 __GI___wcscpy and wcscpy.
3612
de71ee7b
FW
36132019-03-04 Florian Weimer <fweimer@redhat.com>
3614
3615 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3616 declaration.
3617 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3618 defined.
3619
ce6ddae0
SL
36202019-03-04 Stefan Liebler <stli@linux.ibm.com>
3621
3622 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3623 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3624
31efface
TS
36252019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3626
3627 [BZ #24162]
3628 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3629 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3630
f0eaf862
GG
36312019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3632
3633 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3634 tests.
3635 (do_test): Likewise.
3636 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3637 (do_test_call_varg): Likewise.
3638 (do_test_call_rarg): Likewise.
3639 * sysdeps/ieee754/ldbl-opt/Makefile
3640 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3641 tst-nldbl-error.
3642 ($(objpfx)tst-nldbl-warn.c): New rule.
3643 ($(objpfx)tst-nldbl-error.c): Likewise.
3644 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3645 New variables.
3646
d11086a9
GG
36472019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3648
3649 [BZ #23984]
3650 * include/bits/error-ldbl.h: New file.
3651 * include/error.h: Include stdarg.h. Declare internal functions
3652 __error_internal and __error_at_line_internal.
3653 * misc/Makefile (headers): Add bits/error-ldbl.h.
3654 * misc/bits/error-ldbl.h: New file.
3655 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3656 avoid the inclusion of bits/error.h.
3657 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3658 and __nldbl_error_at_line.
3659 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3660 (__nldbl_error, __ndlbl_error_at_line): New functions.
3661 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3662 Redirect error and error_at_line.
3663 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3665 Likewise.
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3667 Likewise.
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3669 Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3671 Likewise.
3672 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3673 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3674 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3675
90188e7d
GG
36762019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3677
3678 [BZ #23984]
3679 * include/bits/err-ldbl.h: New file.
3680 * include/err.h: Add prototypes for the internal functions:
3681 __vwarnx_internal and __vwarn_internal.
3682 * misc/Makefile (headers): Add bits/err-ldbl.h.
3683 * misc/bits/err-ldbl.h: New file.
3684 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3685 defined, i.e.: when -mlong-double-64 is in use.
3686 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3687 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3688 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3689 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3690 (VA_CALL): New macro.
3691 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3692 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3693 functions.
3694 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3695 declare prototypes for the new functions.
3696 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3698 Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3700 Likewise.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3702 Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3704 Likewise.
3705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3706 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3708
ea2d89d0
GG
37092019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3710
3711 * sysdeps/ieee754/ldbl-opt/Makefile
3712 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3713 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3714 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3715
6e1f6440
GG
37162019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3717
3718 [BZ #23983]
3719 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3720 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3721 * argp/bits/argp-ldbl.h: New file.
3722 * include/argp.h: Include stdarg.h. Add prototypes for internal
3723 functions: __argp_error_internal and __argp_failure_internal.
3724 * include/bits/argp-ldbl.h: New file.
3725 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3726 __nldbl_argp_error and __nldbl_argp_failure.
3727 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3728 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3729 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3730 Redirect argp_error and argp_failure calls.
3731 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3733 Likewise.
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3735 Likewise.
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3737 Likewise.
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3739 Likewise.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3741 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3742 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3743
c259196b
FW
37442019-03-01 Florian Weimer <fweimer@redhat.com>
3745
3746 [BZ #20419]
3747 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3748 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3749 code, to avoid creating an ABI tag note.
3750 (modules-names-nobuild): Add tst-big-note-lib.
3751
928b305d
SL
37522019-03-01 Stefan Liebler <stli@linux.ibm.com>
3753
3754 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3755 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3756
36f30c10
FW
37572019-03-01 Florian Weimer <fweimer@redhat.com>
3758
3759 [BZ #20271]
3760 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3761 (__netlink_assert_response): Add additional missing newlines.
3762
462e83a4
JM
37632019-02-28 Joseph Myers <joseph@codesourcery.com>
3764
3765 * sysdeps/powerpc/powerpc32/dl-machine.c
3766 (__elf_machine_fixup_plt): Use space before '('.
3767 (__process_machine_rela): Likewise.
3768 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3769 Likewise.
3770 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3771 Likewise.
3772 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3773 Likewise.
3774 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3775 (pattern): Likewise.
3776 (delta): Likewise.
3777 (check_result): Likewise.
3778 (check_excepts): Likewise.
3779 (check_op): Likewise.
3780 (fail_xr): Likewise.
3781 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3782 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3783 (SCNHSZ): Likewise.
3784 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3785 Likewise.
3786 (ARGS): Likewise.
3787 (__makecontext): Likewise.
3788 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3789 Likewise.
3790
cc3e573c
FW
37912019-02-28 Florian Weimer <fweimer@redhat.com>
3792
3793 [BZ #23937]
3794 elf: Add test with a local IFUNC resolver.
3795 * elf/ifuncmain9.c: New file.
3796 * elf/ifuncmain9pic.c: Likewise.
3797 * elf/ifuncmain9picstatic.c: Likewise.
3798 * elf/ifuncmain9pie.c: Likewise.
3799 * elf/ifuncmain9static.c: Likewise.
3800 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3801 ifuncmain9static, ifuncmain9picstatic.
3802 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3803 Add ifuncmain9, ifuncmain9pic.
3804 * elf/Makefile [multi-arch && build-shared && have-fpie]
3805 (ifunc-pie-tests): Add ifuncmain9pie.
3806 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3807 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3808 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3809
92ad88fe
L
38102019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3811
3812 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3813 * configure: Regenerated.
3814 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3815
6bd4d02e
AZ
38162019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3817
3818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3819 symbol as __wcspcy instead of wcscpy.
3820
1b218417
ST
38212019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3822
3823 * include/stdio.h (__renameat2): New hidden prototype.
3824 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3825 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3826 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3827 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3828
c4f50205
JM
38292019-02-27 Joseph Myers <joseph@codesourcery.com>
3830
f627dd4d
JM
3831 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3832 if statement.
3833
c4f50205
JM
3834 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3835 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3836 * benchtests/bench-strlen.c (do_test): Likewise.
3837 (test_main): Likewise.
3838 * catgets/gencat.c (read_old): Likewise.
3839 * elf/cache.c (load_aux_cache): Likewise.
3840 * iconvdata/bug-iconv8.c (do_test): Likewise.
3841 * math/test-tgmath-ret.c (do_test): Likewise.
3842 * nis/nis_call.c (rec_dirsearch): Likewise.
3843 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3844 * nptl/tst-audit-threads.c (do_test): Likewise.
3845 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3846 * nss/nss_test1.c (init): Likewise.
3847 * nss/test-netdb.c (test_hosts): Likewise.
3848 * posix/execvpe.c (maybe_script_execute): Likewise.
3849 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3850 * stdio-common/tst-printf.c (do_test): Likewise.
3851 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3852 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3853 * stdlib/qsort.c (STACK_SIZE): Likewise.
3854 * stdlib/test-canon.c (do_test): Likewise.
3855 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3856 * string/memcmp.c (OPSIZ): Likewise.
3857 * string/test-strcpy.c (do_test): Likewise.
3858 (do_random_tests): Likewise.
3859 * string/test-strlen.c (do_test): Likewise.
3860 (test_main): Likewise.
3861 * string/test-strrchr.c (do_test): Likewise.
3862 (do_random_tests): Likewise.
3863 * string/tester.c (test_memrchr): Likewise.
3864 (test_memchr): Likewise.
3865 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3866 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3867 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3868 (read_encoded_value_with_base): Likewise.
3869 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3870 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3871 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3872 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3873 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3874 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3875 Likewise.
3876 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3877 Likewise.
3878 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3879 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3880 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3881 Likewise.
3882 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3883 Likewise.
3884 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3885 Likewise.
3886 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3887 Likewise.
3888 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3889 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3890 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3891 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3892 * time/test_time.c (main): Likewise.
3893
7b3fb620
AZ
38942019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3895
457208b1
AZ
3896 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3897
30a7e208
AZ
3898 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3899 wmemcpy.
3900
ddf21ec7
AZ
3901 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3902 wmemcpy.
3903
4d801563
AZ
3904 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3905
81a14439
AZ
3906 * include/wchar.h (__wcscpy): New prototype.
3907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3908 (__wcscpy): Route internal symbol to generic implementation.
3909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3910 Add internal __wcscpy alias.
3911 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3912 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3913 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3914 * wcsmbs/wcscpy.c (wcscpy): Add
3915 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3916 use generic implementation.
3917 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3918
39ef0744
AZ
3919 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3920 wmemset.
3921
7b3fb620
AZ
3922 * sysdeps/m68k/wcpcpy.c: Remove file.
3923 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3924
e0cb7b61
JM
39252019-02-26 Joseph Myers <joseph@codesourcery.com>
3926
aa0e4663
JM
3927 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3928 than after operators.
3929 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3930 * sysdeps/mach/hurd/getcwd.c
3931 (__hurd_canonicalize_directory_name_internal): Likewise.
3932 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3933 (pthread_mutex_consistent): Likewise.
3934 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3935 Likewise.
3936 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3937 (__pthread_mutex_transfer_np): Likewise.
3938 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3939 (__pthread_mutex_unlock): Likewise.
3940 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3941 (mtx_owned_p): Likewise.
3942 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3943 (pthread_mutexattr_getrobust): Likewise.
3944 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3945 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3946 Likewise.
3947 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3948 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3949 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3950 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3951 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3952 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3953 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3954 Likewise.
3955 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3956 Likewise.
3957 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3958 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3959 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3960 (____longjmp_chk): Likewise.
3961 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3962 Likewise.
3963 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3964 (INTERNAL_SYSCALL): Likewise.
3965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3966 (INTERNAL_SYSCALL): Likewise.
3967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3968 (__get_clockfreq_via_cpuinfo): Likewise.
3969
e0cb7b61
JM
3970 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3971 comments.
3972 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3973 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3974 (WORD_COPY_BWD): Likewise.
3975 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3977 Likewise.
3978 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3979 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3980 comment.
3981 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3982
a04549c1
JM
39832019-02-25 Joseph Myers <joseph@codesourcery.com>
3984
3985 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3986 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3987 rather than after operators.
3988 * elf/cache.c (print_cache): Likewise.
3989 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3990 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3991 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3992 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3993 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3994 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3995 (reauth_proc): Likewise.
3996 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3997 (__file_name_split_at): Likewise.
3998 (__directory_name_split_at): Likewise.
3999 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4000 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4001 * iconv/gconv_dl.c (do_print): Likewise.
4002 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4003 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4004 * locale/setlocale.c (new_composite_name): Likewise.
4005 * malloc/memusagestat.c (main): Likewise.
4006 * misc/fstab.c (fstab_convert): Likewise.
4007 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4008 Likewise.
4009 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4010 (getgrent_next_file): Likewise.
4011 (internal_getgrnam_r): Likewise.
4012 (internal_getgrgid_r): Likewise.
4013 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4014 Likewise.
4015 (internal_getgrent_r): Likewise.
4016 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4017 (getpwent_next_nss): Likewise.
4018 (getpwent_next_file): Likewise.
4019 (internal_getpwnam_r): Likewise.
4020 (internal_getpwuid_r): Likewise.
4021 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4022 Likewise.
4023 (getspent_next_nss): Likewise.
4024 (internal_getspnam_r): Likewise.
4025 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4026 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4027 * string/strchr.c (STRCHR): Likewise.
4028 * string/strchrnul.c (STRCHRNUL): Likewise.
4029 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4030 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4031 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4032 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4033 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4034 Likewise.
4035 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4036 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4037 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4038 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4039 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4040 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4041 (open_file): Likewise.
4042 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4043 (pthread_mutexattr_setprotocol): Likewise.
4044 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4045 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4046 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4047 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4048 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4049 Likewise.
4050 (elf_machine_rela): Likewise.
4051 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4052 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4053 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4054 * sysdeps/posix/rename.c (rename): Likewise.
4055 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4056 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4057 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4058 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4059 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4060 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4061 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4062 Likewise.
4063 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4064 Likewise.
4065 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4066 * time/tzfile.c (__tzfile_compute): Likewise.
4067
34a5a146
JM
40682019-02-22 Joseph Myers <joseph@codesourcery.com>
4069
4070 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4071 rather than after operators.
4072 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4073 * crypt/md5.c (md5_finish_ctx): Likewise.
4074 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4075 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4076 * elf/cache.c (load_aux_cache): Likewise.
4077 * elf/dl-load.c (open_verify): Likewise.
4078 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4079 * elf/readelflib.c (process_elf_file): Likewise.
4080 * elf/rtld.c (dl_main): Likewise.
4081 * elf/sprof.c (generate_call_graph): Likewise.
4082 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4083 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4084 * hurd/dtable.c (reauth_dtable): Likewise.
4085 * hurd/getdport.c (__getdport): Likewise.
4086 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4087 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4088 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4089 Likewise.
4090 * hurd/hurdioctl.c (fioctl): Likewise.
4091 * hurd/hurdselect.c (_hurd_select): Likewise.
4092 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4093 (STOPSIGS): Likewise.
4094 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4095 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4096 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4097 * hurd/msgportdemux.c (msgport_server): Likewise.
4098 * hurd/setauth.c (_hurd_setauth): Likewise.
4099 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4100 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4101 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4102 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4103 * login/tst-utmp.c (do_check): Likewise.
4104 (simulate_login): Likewise.
4105 * mach/lowlevellock.h (lll_lock): Likewise.
4106 (lll_trylock): Likewise.
4107 * math/test-fenv.c (ALL_EXC): Likewise.
4108 * math/test-fenvinline.c (ALL_EXC): Likewise.
4109 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4110 * nis/nis_call.c (__do_niscall3): Likewise.
4111 * nis/nis_callback.c (cb_prog_1): Likewise.
4112 * nis/nis_defaults.c (searchaccess): Likewise.
4113 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4114 * nis/nis_ismember.c (internal_ismember): Likewise.
4115 * nis/nis_local_names.c (nis_local_principal): Likewise.
4116 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4117 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4118 Likewise.
4119 * nis/ypclnt.c (yp_match): Likewise.
4120 (yp_first): Likewise.
4121 (yp_next): Likewise.
4122 (yp_master): Likewise.
4123 (yp_order): Likewise.
4124 * nscd/hstcache.c (cache_addhst): Likewise.
4125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4126 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4127 (internal_getpwuid_r): Likewise.
4128 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4129 * posix/glob.h (__GLOB_FLAGS): Likewise.
4130 * posix/regcomp.c (peek_token): Likewise.
4131 (peek_token_bracket): Likewise.
4132 (parse_expression): Likewise.
4133 * posix/regexec.c (sift_states_iter_mb): Likewise.
4134 (check_node_accept_bytes): Likewise.
4135 * posix/tst-spawn3.c (do_test): Likewise.
4136 * posix/wordexp-test.c (testit): Likewise.
4137 * posix/wordexp.c (parse_tilde): Likewise.
4138 (exec_comm): Likewise.
4139 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4140 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4141 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4142 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4143 * stdio-common/tst-fileno.c (do_test): Likewise.
4144 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4145 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4146 * stdlib/strtod_l.c (round_and_return): Likewise.
4147 (____STRTOF_INTERNAL): Likewise.
4148 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4149 * string/strcspn.c (STRCSPN): Likewise.
4150 * string/test-memmem.c (simple_memmem): Likewise.
4151 * termios/tcsetattr.c (tcsetattr): Likewise.
4152 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4153 * time/asctime.c (asctime_internal): Likewise.
4154 * time/strptime_l.c (__strptime_internal): Likewise.
4155 * time/sys/time.h (timercmp): Likewise.
4156 * time/tzfile.c (__tzfile_compute): Likewise.
4157
b0b50fe0
PF
41582019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4159
b39d961c
TS
4160 [BZ #21915]
4161 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 4162
f43b8dd5
GG
41632019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4164
4165 * argp/argp-help.c (__argp_error_internal): New function,
4166 renamed from __argp_error, but that takes a 'mode_flags'
4167 parameter to control the format of long double parameters.
4168 (__argp_error): Converted into a call __argp_error_internal.
4169 (__argp_failure_internal): New function, renamed from
4170 __argp_failure, but that takes a 'mode_flags' parameter.
4171 (__argp_failure): Converted into a call __argp_failure_internal.
4172 * misc/err.c (__vwarnx_internal): New function, renamed from
4173 vwarnx, but that takes a 'mode_flags' parameter.
4174 (vwarnx): Converted into a call to __vwarnx_internal.
4175 (__vwarn_internal): New function, renamed from vwarn, but that
4176 takes a 'mode_flags' parameter.
4177 (vwarn): Converted into a call to __vwarn_internal.
4178 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4179 call to __vfxprintf with 'mode_flags'.
4180 (__error_internal): New function, renamed from error, but that
4181 takes a 'mode_flags' parameter.
4182 (error): Converted into a call to __error_internal.
4183 (__error_at_line_internal): New function, renamed from
4184 error_at_line, but that takes a 'mode_flags' parameter.
4185 (error_at_line): Converted into a call to
4186 __error_at_line_internal.
4187 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4188 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4189 Likewise.
4190
dc0afac3 41912019-02-20 Martin Liska <mliska@suse.cz>
4192
4193 * math/Makefile: Install math-vector-fortran.h.
4194 * bits/math-vector-fortran.h: New file.
4195 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4196
4a2dd41c
GG
41972019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4198
4199 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4200 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4201
04de9302
WS
42022019-02-19 Wolfram Sang <wsa@the-dreams.de>
4203
4204 * nptl/pthread_mutex_trylock.c: Fix comment.
4205
b026ce1e
CD
42062019-02-19 Carlos O'Donell <carlos@redhat.com>
4207
4208 * nptl/pthread_tryjoin.c: Fix comment.
4209
8c9289b6
JM
42102019-02-18 Joseph Myers <joseph@codesourcery.com>
4211
4212 [BZ #24231]
4213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4214 after R_SPARC_H34 case.
4215
308e022f
FW
42162019-02-18 Florian Weimer <fweimer@redhat.com>
4217
4218 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4219 (getanswer): Do not call Dprintf.
4220 (res_gethostbyname2_context): Likewise.
4221 (res_gethostbyaddr_context): Likewise.
4222
a5406364
FW
42232019-02-18 Florian Weimer <fweimer@redhat.com>
4224
4225 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4226 declaration.
4227 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4228 Remove definitions.
4229 * libio/stdfiles.c: Update comment.
4230 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4231 set _IO_stdin, _IO_stdout, _IO_stderr.
4232 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4233 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4234 inline function.
4235 (_IO_deallocate_file): New inline function.
4236 * libio/iolibio.h (_IO_vprintf): Remove definition.
4237 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4238 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4239 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4240 _IO_legacy_file.
4241 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4242 __builtin_expect. Use _IO_legacy_file.
4243
6c29942c
SL
42442019-02-18 Stefan Liebler <stli@linux.ibm.com>
4245
4246 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4247 Initialize ctid with a known value and remove update of ctid
4248 after clone.
4249 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4250 as assumed current value of ctid_ptr.
4251
225d9445 42522019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
4253
4254 Check that non-sysdeps headers have wrapper headers.
4255 * scripts/check-wrapper-headers.py: New file.
4256 * Makefile (tests-special): Add check-wrapper-headers.out.
4257 (check-wrapper-headers.out): New target.
4258 * Rules (tests-special): Add check-wrapper-headers.out.
4259 (check-wrapper-headers.out): New target.
4260
225d9445 42612019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
4262
4263 Add missing header wrappers under include/.
4264 * include/ar.h: New file.
4265 * include/bits/mqueue2.h: Likewise.
4266 * include/bits/stdio.h: Likewise.
4267 * include/bits/stdio2.h: Likewise.
4268 * include/fstab.h: Likewise.
4269 * include/fts.h: Likewise.
4270 * include/lastlog.h: Likewise.
4271 * include/netinet/icmp6.h: Likewise.
4272 * include/netinet/igmp.h: Likewise.
4273 * include/netinet/ip6.h: Likewise.
4274 * include/re_comp.h: Likewise.
4275 * include/regexp.h: Likewise.
4276 * include/rpcsvc/bootparam.h: Likewise.
4277 * include/rpcsvc/yp_prot.h: Likewise.
4278 * include/sys/random.h: Likewise.
4279 * include/sys/stropts.h: Likewise.
4280 * include/sys/ttychars.h: Likewise.
4281 * include/sys/vfs.h: Likewise.
4282 * include/wait.h: Likewise.
4283
225d9445 42842019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
4285
4286 * nptl_db/proc_service.h: Move to ...
4287 * sysdeps/nptl/proc_service.h: ... here.
4288 * nptl_db/thread_db.h: Move to ...
4289 * sysdeps/nptl/thread_db.h: ... here.
4290 * nptl/descr.h: Include <thread_db.h>.
4291
e442e40d
AZ
42922019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4293
4294 * io/Makefile (tests): Add tst-lockf.
4295 * io/lockf.c (lockf): Use __fcntl and only define for
4296 !__OFF_T_MATCHES_OFF64_T.
4297 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4298 __OFF_T_MATCHES_OFF64_T case.
4299 * io/tst-lockf.c: New file.
4300 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4301 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4302 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4303 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4304 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4306 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4307 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4308 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4309
bc10e22c
FW
43102019-02-15 Florian Weimer <fweimer@redhat.com>
4311
4312 [BZ #24211]
4313 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4314 pd->result after the thread descriptor has been freed.
4315
365f05c7
JM
43162019-02-15 Joseph Myers <joseph@codesourcery.com>
4317
8a11f970
JM
4318 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4319 from function return type.
4320
365f05c7
JM
4321 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4322
6b5c8607 43232019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
4324
4325 * scripts/test_printers_common.py: Set TERM to a known harmless
4326 value.
4327
712182c8
JM
43282019-02-14 Joseph Myers <joseph@codesourcery.com>
4329
4330 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4331 (xdr_u_int): Likewise.
4332 (xdr_enum): Likewise.
4333 (xdr_bytes): Reword fall-through comment.
4334 (xdr_string): Likewise.
4335
eb76e5b4
AZ
43362019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4337
4338 [BZ #2421]
4339 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4340 (tests): Add tst-join8 tst-join9.
4341 * nptl/lll_timedwait_tid.c: Remove file.
4342 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4343 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4344 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4345 * nptl/pthread_join_common.c (timedwait_tid): New function.
4346 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4347 is set.
4348 * nptl/tst-join5.c (thread_join): New function.
4349 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4350 check.
4351 * nptl/tst-join8.c: New file.
4352 * nptl/tst-join9.c: Likewise.
4353 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4354 lll_futex_timed_wait_cancel): Add generic macros.
4355 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4356 Remove definitions.
4357 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4359 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4360 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4361 Remove function.
4362 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4363 Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4365 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4366 (lll_futex_timed_wait_cancel): New macro.
4367
3904fd85
WD
43682019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4369
4370 * benchtests/Makefile: Add malloc-simple benchmark.
4371 * benchtests/bench-malloc-simple.c: New benchmark.
4372
24ca04fe
SP
43732019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4374
4375 * benchtests/bench-memmove.c (do_one_test): Remove unused
4376 ORIG_SRC.
4377 (do_test): Adjust.
4378 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4379 ORIG_SRC.
4380 (do_test): Adjust.
4381
85bd1ddb
JW
43822019-01-13 Jim Wilson <jimw@sifive.com>
4383
4384 [BZ #24040]
4385 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4386 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4387 (func): New.
4388 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4389 call func directly.
4390 * nptl/Makefile (tests): Add tst-unwind-thread.
4391 (CFLAGS-tst-unwind-thread.c): Define.
4392 * nptl/tst-unwind-thread.c: New file.
4393 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4394 as undefined.
4395
86140c62
JM
43962019-02-13 Joseph Myers <joseph@codesourcery.com>
4397
10756268
JM
4398 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4399 comment wording.
4400 * nis/nis_call.c (__do_niscall3): Likewise.
4401
05383720
JM
4402 * catgets/gencat.c (normalize_line): Use braces around empty
4403 'else' body.
4404 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4405 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4406 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4407 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4408 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4409 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4410 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4411 definition.
4412
86140c62
JM
4413 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4414 execlp returns.
4415
16f87cfd
WD
44162019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4417
4418 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4419 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4420 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4421 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4422 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4423 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4424 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4425 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4426 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4427 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4428 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4429 * benchtests/bench-bcopy.c: Delete file.
4430 * benchtests/bench-bzero.c: Likewise.
4431 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4432 (simple_memccpy): Remove.
4433 (generic_memccpy): Add function.
4434 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4435 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4436 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4437 (generic_mempcpy): Add new function.
4438 * benchtests/bench-memset.c (simple_bzero): Remove.
4439 (builtin_bzero): Remove.
4440 (builtin_memset): Remove.
4441 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4442 (generic_rawmemchr): Add new function.
4443
0c6d82e9
FW
44442019-02-12 Florian Weimer <fweimer@redhat.com>
4445
4446 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4447
b3fbfe81
AZ
44482019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4449
4450 [BZ #24122]
4451 * elf/Makefile (tests): Add tst-audit13.
4452 (modules-names): Add tst-audit13mod1.
4453 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4454 rule.
4455 * elf/tst-audit13.c: New file.
4456 * elf/tst-audit13mod1.c: Likewise.
4457
3b856d09
FW
44582019-02-12 Florian Weimer <fweimer@redhat.com>
4459
4460 [BZ #24122]
4461 * elf/rtld.c (unload_audit_module): New function.
4462 (report_audit_module_load_error): Likewise.
4463 (load_audit_module): Likewise. Extracted from dl_main. Call
4464 _dl_close if the laversion symbol cannot be found. Use early
4465 returns for error handling. Add malloc error check. Check for a
4466 zero return value from la_version. Remove spurious comment about
4467 static TLS initialization. Remove useless casts.
4468 (notify_audit_modules_of_loaded_object): New function. Extracted
4469 from dl_main.
4470 (load_audit_module): Likewise.
4471 (dl_main): Call load_audit_modules.
4472
32db86d5
JM
44732019-02-12 Joseph Myers <joseph@codesourcery.com>
4474
4475 * elf/dl-exception.c (_dl_exception_create_format): Add
4476 fall-through comments.
4477 * elf/ldconfig.c (parse_conf_include): Likewise.
4478 * elf/rtld.c (print_statistics): Likewise.
4479 * locale/programs/charmap.c (parse_charmap): Likewise.
4480 * misc/mntent_r.c (__getmntent_r): Likewise.
4481 * posix/wordexp.c (parse_arith): Likewise.
4482 (parse_backtick): Likewise.
4483 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4484 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4485 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4486
a51bc4fe
PC
44872019-02-11 Paul A. Clarke <pc@us.ibm.com>
4488
4489 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4490 Use float instead of double.
4491
fb25b135
TS
44922019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4493
4494 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4495
32ea7299
JM
44962019-02-08 Joseph Myers <joseph@codesourcery.com>
4497
4498 * sysdeps/powerpc/bits/mathinline.h: Remove.
4499
eef4d4f8
FW
45002019-02-08 Florian Weimer <fweimer@redhat.com>
4501
4502 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4503 * math/bits/math-finite.h: Move to ...
4504 * bits/math-finite.h: ... here.
4505
fdfbd47d
FW
45062019-02-08 Florian Weimer <fweimer@redhat.com>
4507
4508 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4509 * bits/unistd_ext.h: here.
4510
11eb21c4
PF
45112019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4512
4513 [BZ #21915]
4514 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4515 * nss/tst-nss-files-hosts-long.c: New file.
4516 * nss/tst-nss-files-hosts-long.root: New directory.
4517 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4518 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4519
e47d82c9
FW
45202019-02-08 Florian Weimer <fweimer@redhat.com>
4521
4522 * include/bits/unistd_ext.h: Remove file.
4523 * posix/bits/unistd_ext.h: Move to ...
4524 * sysdeps/generic/bits/unistd_ext.h: ... here.
4525
8f89ab21
FW
45262019-02-08 Florian Weimer <fweimer@redhat.com>
4527
4528 * include/bits/unistd_ext.h: New file.
4529
144a794e
TS
45302019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4531
4532 * time/tst-strftime2.c: Use array_length macros instead of magic
4533 numbers.
4534
669ff911
FW
45352019-02-08 Florian Weimer <fweimer@redhat.com>
4536
4537 [BZ #24161]
4538 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4539 argument.
4540 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4541 locking if the new do_locking argument is true.
4542 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4543 __run_fork_handlers.
4544
d0bd87d4 45452019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
4546
4547 [BZ #6399]
4548 Linux: Add gettid system call wrapper.
4549 * posix/Makefile (headers): Add bits/unistd_ext.h.
4550 * posix/bits/unistd_ext.h: New file.
4551 * posix/unistd.h: Include it.
4552 * manual/process.texi (Process Identification): Document gettid.
4553 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4554 tst-gettid, tst-gettid-kill.
4555 (tst-gettid): Link with $(shared-thread-library).
4556 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4557 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4558 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4559 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4560 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4561 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4562 Add gettid.
4563 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4564 Likewise.
4565 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4566 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4567 Likewise.
4568 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4569 Likewise.
4570 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4571 Likewise.
4572 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4573 Likewise.
4574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4575 Likewise.
4576 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4577 Likewise.
4578 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4579 Likewise.
4580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4581 (GLIBC_2.30): Likewise.
4582 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4583 (GLIBC_2.30): Likewise.
4584 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4585 (GLIBC_2.30): Likewise.
4586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4587 (GLIBC_2.30): Likewise.
4588 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4589 Likewise.
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4591 (GLIBC_2.30): Likewise.
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4593 (GLIBC_2.30): Likewise.
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4595 (GLIBC_2.30): Likewise.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4597 (GLIBC_2.30): Likewise.
4598 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4599 Likewise.
4600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4601 Likewise.
4602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4603 Likewise.
4604 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4605 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4606 Likewise.
4607 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4608 Likewise.
4609 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4610 Likewise.
4611 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4612 Likewise.
4613 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4614
225d9445 46152019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
4616
4617 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4618 compatibility symbols.
4619
823624bd
SL
46202019-02-07 Stefan Liebler <stli@linux.ibm.com>
4621
4622 [BZ #24180]
4623 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4624 Add compiler barriers and comments.
4625
8311c83f
FW
46262019-02-07 Florian Weimer <fweimer@redhat.com>
4627
4628 * include/array_length.h (array_length): Do not use a statement
4629 expression and _Static_assert, so that array_length can be used at
4630 file scope and as a constant expression.
4631
94b63e66
FW
46322019-02-07 Florian Weimer <fweimer@redhat.com>
4633
4634 * support/xdlfcn.h (xdlmopen): Declare.
4635 * support/xdlmopen.c: New file.
4636 * support/Makefile (libsupport-routines): Add xdlmopen.
4637
c2d8f0b7
JM
46382019-02-06 Joseph Myers <joseph@codesourcery.com>
4639
4640 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4641 before return type, without separate inline.
4642 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4643 * elf/dl-tunables.h (tunable_is_name): Likewise.
4644 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4645 (do_set_top_pad): Likewise.
4646 (do_set_mmap_threshold): Likewise.
4647 (do_set_mmaps_max): Likewise.
4648 (do_set_mallopt_check): Likewise.
4649 (do_set_perturb_byte): Likewise.
4650 (do_set_arena_test): Likewise.
4651 (do_set_arena_max): Likewise.
4652 (do_set_tcache_max): Likewise.
4653 (do_set_tcache_count): Likewise.
4654 (do_set_tcache_unsorted_limit): Likewise.
4655 * nis/nis_subr.c (count_dots): Likewise.
4656 * nptl/allocatestack.c (advise_stack_range): Likewise.
4657 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4658 (do_sin): Likewise.
4659 (reduce_sincos): Likewise.
4660 (do_sincos): Likewise.
4661 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4662 (do_set_elision_enable): Likewise.
4663 (TUNABLE_CALLBACK_FNDECL): Likewise.
4664
3b935595
FW
46652019-02-06 Florian Weimer <fweimer@redhat.com>
4666
4667 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4668 (xdlsym): Use dlerror to detect a NULL symbol.
4669
b4333340
FW
46702019-02-06 Florian Weimer <fweimer@redhat.com>
4671
4672 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4673 <stap-probe.h>.
4674 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4675
b6d8a999
SL
46762019-02-06 Stefan Liebler <stli@linux.ibm.com>
4677
4678 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4679
94eeeec0
SL
46802019-02-06 Stefan Liebler <stli@linux.ibm.com>
4681
4682 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4683 __wmemcmp and weak alias to wmemcmp.
4684
bc79db3f
SL
46852019-02-06 Stefan Liebler <stli@linux.ibm.com>
4686
4687 [BZ #23403]
4688 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4689 TLS_TCB_AT_TP tls variant.
4690 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4691 Add alignment checks.
4692 * support/Makefile (libsupport-routines): Add xposix_memalign and
4693 xpthread_setstack.
4694 * support/support.h: Add xposix_memalign.
4695 * support/xthread.h: Add xpthread_attr_setstack.
4696 * support/xposix_memalign.c: New File.
4697 * support/xpthread_attr_setstack.c: Likewise.
4698
f1ac7455
FW
46992019-02-05 Florian Weimer <fweimer@redhat.com>
4700
4701 [BZ #24164]
4702 arm: Use "nr" constraint for Systemtap probes, to avoid the
4703 compiler using memory operands for constants, due to the "o"
4704 alternative in the default "nor" constraint.
4705 * include/stap-probe.h [USE_STAP_PROBE]: Include
4706 <stap-probe-machine.h>
4707 * sysdeps/generic/stap-probe-machine.h: New file.
4708 * sysdeps/arm/stap-probe-machine.h: Likewise.
4709
7a0dcfc6
JM
47102019-02-04 Joseph Myers <joseph@codesourcery.com>
4711
77dc0d86
JM
4712 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4713 with 0, not tcache->entries[tc_idx].
4714
7a0dcfc6
JM
4715 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4716 once.
4717
65f7767a
AS
47182019-02-04 Andreas Schwab <schwab@suse.de>
4719
4720 [BZ #16976]
4721 [BZ #17396]
4722 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4723 looking up collating elements match against (wide) character
4724 sequence instead of name. Correct alignment adjustment.
4725 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4726 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4727 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4728 (LOCALES): Add cs_CZ.ISO-8859-2.
4729 * posix/tst-fnmatch4.c: New file.
4730 * posix/tst-fnmatch5.c: New file.
4731 * include/wchar.h (__wmemcmp): Declare.
4732 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4733 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4734 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4735 * sysdeps/s390/wmemcmp.c: Likewise.
4736
3f635fb4
L
47372019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4738
4739 [BZ #24155]
4740 CVE-2019-7309
4741 * NEWS: Updated for CVE-2019-7309.
4742 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4743 upper 32 bits of RDX register for x32. Use unsigned Jcc
4744 instructions, instead of signed.
4745 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4746 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4747
2ab5741b
FW
47482019-02-04 Florian Weimer <fweimer@redhat.com>
4749
4750 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4751 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4752 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4753 Likewise.
4754 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4755 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4756 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4757 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4758 Likewise.
4759 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4760 Likewise.
4761 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4762 Likewise.
4763 (posix_spawn_file_actions_addopen): Likewise.
4764 (posix_spawn_file_actions_addclose): Likewise.
4765 (posix_spawn_file_actions_adddup2): Likewise.
4766 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4767 qualifiers.
4768 (posix_spawn_file_actions_addfchdir_np): Likewise.
4769
8692ebdb
DN
47702019-02-04 David Newall <glibc@davidnewall.com>
4771
4772 elf: Implement --preload option for the dynamic linker.
4773 * elf/rtld.c (preloadarg): New variable.
4774 (handle_preload_list): Pass through “where” argument to
4775 do_preload.
4776 (dl_main): Handle "--preload" and add second call to
4777 handle_preload_list.
4778 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4779 (tst-rtld-preload-OBJS): Set variable.
4780 (tst-rtld-preload.out): New target.
4781 * elf/tst-rtld-preload.sh: New file.
4782
5e10136b
MM
47832019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4784
4785 * Makefile (testrun.sh): Exit in case of incorrect argument.
4786
221baae0
FW
47872019-02-04 Florian Weimer <fweimer@redhat.com>
4788
4789 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4790 alignment gaps.
4791
b8c72381
FW
47922019-02-03 Florian Weimer <fweimer@redhat.com>
4793
4794 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4795 implicit overflow checks.
4796
11f382ee
AJ
47972019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4798
4799 * stdlib/isomac.c: Include <unistd.h>.
4800
77c7d55e
FW
48012019-02-03 Florian Weimer <fweimer@redhat.com>
4802
4803 * include/time.h (__tzfile_default): Use int, not long int, for
4804 the GMT offsets.
4805 * time/tzfile.c (struct ttinfo): Change type of the offset member
4806 to int.
4807 (__tzfile_read): Remove useless cast.
4808 (__tzfile_default): Adjust prototype.
4809 * time/tzset.c (tz_rule): Change type of the offset member to int.
4810 (parse_offset): Change the type of the sign variable to int.
4811
ee9941f9
FW
48122019-02-03 Florian Weimer <fweimer@redhat.com>
4813
4814 [BZ #24153]
4815 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4816 * libio/getchar.c (getchar): Likewise.
4817 * libio/getchar_u.c (getchar_unlocked): Likewise.
4818 * libio/getwchar.c (getwchar): Likewise.
4819 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4820 * libio/iogets.c (_IO_gets): Likewise.
4821 * libio/vscanf.c (_IO_vscanf): Likewise.
4822 * libio/vwscanf.c (__vwscanf): Likewise.
4823 * libio/tst-bz24153.c: New file.
4824 * libio/Makefile (tests): Add it.
4825
c70824b9
FW
48262019-02-02 Florian Weimer <fweimer@redhat.com>
4827
4828 [BZ #14829]
4829 * manual/resource.texi (Basic Scheduling Functions): Add
4830 portability note. Change process to task throughout the section.
4831 Remove incorrect comment about sched_yield as it affects
4832 tasks/threads, not entire processes.
4833 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4834 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4835
4dcbbc3b
JM
48362019-02-01 Joseph Myers <joseph@codesourcery.com>
4837
4838 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4839 * configure: Regenerated.
4840 * manual/install.texi (Tools for Compilation): Update minimum GCC
4841 version.
4842 * INSTALL: Regenerated.
4843
6175507c
FW
48442019-02-01 Florian Weimer <fweimer@redhat.com>
4845
4846 * support/support_test_compare_string.c
4847 (support_test_compare_string): Use "string" in error message.
4848 * support/tst-test_compare_string.c (do_test): Adjust.
4849
baef1943
FW
48502019-02-01 Florian Weimer <fweimer@redhat.com>
4851
4852 * support/support_format_address_family.c
4853 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4854
395599f0
FW
48552019-02-01 Florian Weimer <fweimer@redhat.com>
4856
4857 * manual/socket.texi (Internet Address Formats): Clarify the byte
4858 order of struct sockaddr_in, struct sockaddr_in6. Document
4859 sin6_flowinfo and sin6_scope_id.
4860
b06f4c00
WD
48612019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4862
4863 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4864 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4865 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4866 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4867 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4868 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4869
83d1cc42
FX
48702019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4871
4872 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4873 [!MEMCHR](MEMCHR): Set to __memchr.
4874 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4875 Add memchr_generic and memchr_nosimd.
4876 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4877 (__libc_ifunc_impl_list): Add memchr ifuncs.
4878 * sysdeps/aarch64/multiarch/memchr.c: New file.
4879 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4880 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4881
c7d3890f
FX
48822019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4883
4884 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4885 Add memset_emag.
4886 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4887 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4888 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4889 Add IS_EMAG check for ifunc dispatch.
4890 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4891 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4892
07c3d1ec
FX
48932019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4894
4895 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4896 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4897 Add emag.
4898 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4899 New macro.
4900
114f792e
SL
49012019-02-01 Stefan Liebler <stli@linux.ibm.com>
4902
4903 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4904
d5627550
VG
49052019-01-31 Vineet Gupta <vgupta@synopsys.com>
4906
4907 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4908 syscall-template file.
4909
5fc9ed4c
CD
49102019-01-31 Carlos O'Donell <carlos@redhat.com>
4911 Torvald Riegel <triegel@redhat.com>
4912 Rik Prohaska <prohaska7@gmail.com>
4913
4914 [BZ# 23844]
4915 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4916 tst-rwlock-trywrlock-stall.
4917 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4918 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4919 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4920 Set __wrphase_fute to 1 only if we started the write phase.
4921 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4922 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4923 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4924 * support/xpthread_rwlock_destroy.c: New file.
4925 * support/xthread.h: Declare xpthread_rwlock_destroy.
4926
932329a5
JM
49272019-02-01 Joseph Myers <joseph@codesourcery.com>
4928
4929 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4930 version to 4.0.2.
4931
5f10701f
PP
49322019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4933
4934 [BZ #24051]
4935 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4936 * libio/fileops.c (_IO_new_file_underflow): Likewise
4937 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4938 * libio/putchar.c (putchar): Likewise.
4939 * libio/putchar_u.c (putchar_unlocked): Likewise.
4940 * libio/putwchar.c (putchar): Likewise.
4941 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4942 * libio/tst-bz24051.c: New test.
4943 * libio/Makefile (tests): Add tst-bz24051
4944
583dd860
PE
49452019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4946
b626c5aa 4947 CVE-2019-9169
583dd860
PE
4948 regex: fix read overrun [BZ #24114]
4949 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4950 https://debbugs.gnu.org/34140
4951 * posix/regexec.c (proceed_next_node):
4952 Do not read past end of input buffer.
4953
2bac7daa
FW
49542019-01-31 Florian Weimer <fweimer@redhat.com>
4955
4956 [BZ #24059]
4957 * nss/nss_files/files-alias.c (get_next_alias): Handle
4958 continuation line without newline at the end.
4959 * nss/tst-nss-files-alias-truncated.c: New file.
4960 * nss/Makefile [$(build-shared)] (tests): Add
4961 tst-nss-files-alias-truncated.
4962 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4963 * support/namespace.h (struct support_chroot_configuration): Add
4964 aliases member.
4965 (struct support_chroot): Add path_aliases member.
4966 * support/support_chroot.c (support_chroot_create): Handle
4967 aliases.
4968 (support_chroot_free): Free path_aliases.
4969
330c9d0d
SP
49702019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4971
de44ab67
SP
4972 * version.h (RELEASE): Set to "development".
4973 (VERSION): Set to "2.29.9000".
4974 * NEWS: Add section for 2.30.
4975
56c86f5d
SP
4976 * version.h (RELEASE): Set to "stable".
4977 (VERSION): Set to "2.29".
4978 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4979
330c9d0d
SP
4980 * NEWS: Add the list of bugs fixed in 2.29.
4981 * manual/contrib.texi: Update contributors list with some more
4982 names.
4983 * manual/install.texi: Update latest versions of packages
4984 tested.
4985 * INSTALL: Regenerated.
4986
e1e47c91
SP
49872019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4988
4989 * po/be.po: Update translations.
4990 * po/bg.po: Likewise.
4991 * po/ca.po: Likewise.
4992 * po/cs.po: Likewise.
4993 * po/da.po: Likewise.
4994 * po/de.po: Likewise.
4995 * po/el.po: Likewise.
4996 * po/eo.po: Likewise.
4997 * po/es.po: Likewise.
4998 * po/fi.po: Likewise.
4999 * po/fr.po: Likewise.
5000 * po/gl.po: Likewise.
5001 * po/hr.po: Likewise.
5002 * po/hu.po: Likewise.
5003 * po/ia.po: Likewise.
5004 * po/id.po: Likewise.
5005 * po/it.po: Likewise.
5006 * po/ja.po: Likewise.
5007 * po/ko.po: Likewise.
5008 * po/lt.po: Likewise.
5009 * po/nb.po: Likewise.
5010 * po/nl.po: Likewise.
5011 * po/pl.po: Likewise.
5012 * po/pt_BR.po: Likewise.
5013 * po/ru.po: Likewise.
5014 * po/rw.po: Likewise.
5015 * po/sk.po: Likewise.
5016 * po/sl.po: Likewise.
5017 * po/sv.po: Likewise.
5018 * po/tr.po: Likewise.
5019 * po/uk.po: Likewise.
5020 * po/vi.po: Likewise.
5021 * po/zh_CN.po: Likewise.
5022 * po/zh_TW.po: Likewise.
5023
8d016826
UB
50242019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5025
5026 [BZ #24130]
5027 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5028 of $f3 register on $y_is_neg path.
5029
a0bb5abd
ST
50302019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5031
b96e22d0 5032 [BZ #24110]
a0bb5abd
ST
5033 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5034 sigaltstack.ss_flags.
5035
b22eed37
TS
50362019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5037
5038 [BZ #23758]
5039 * manual/time.texi (strftime): Document "%Ey".
5040 * time/strftime_l.c (__strftime_internal): Set the default width
5041 padding with zero of "%Ey" to 2.
5042
32f600a2
TS
5043 [BZ #24096]
5044 * manual/time.texi (strftime): Document "%EC" and "%EY".
5045 * time/Makefile (tests): Add tst-strftime2.
5046 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5047 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5048 override padding for "%Ey".
5049 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5050 "%Ey" in the subformat as if decorated with that flag.
5051 * time/tst-strftime2.c: New file.
5052
8e889c5d
AZ
50532019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5054
3367acdb
AZ
5055 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5056 are not defined.
5057
8e889c5d
AZ
5058 [BZ #24122]
5059 * elf/Makefile (tests): Add tst-audit13.
5060 (modules-names): Add tst-audit13mod1.
5061 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5062 rule.
5063 * elf/rtld.c (dl_main): Handle invalid audit module version.
5064 * elf/tst-audit13.c: New file.
5065 * elf/tst-audit13mod1.c: Likewise.
5066
a95dc01c
ST
50672019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5068
5069 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5070 returned by __hurd_at_flags.
ee4d7902
ST
5071 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5072 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5073 directly instead of __hurd_file_name_lookup.
a95dc01c 5074
712f1167
JM
50752019-01-21 Joseph Myers <joseph@codesourcery.com>
5076
5077 * scripts/build-many-glibcs.py (Context.checkout): Default
5078 binutils version to 2.32 branch.
5079
108bc404
FW
50802019-01-21 Florian Weimer <fweimer@redhat.com>
5081
5082 [BZ #20018]
5083 CVE-2016-10739
5084 resolv: Reject trailing characters in host names
5085 * include/arpa/inet.h (__inet_aton_exact): Declare.
5086 (inet_aton): Remove hidden prototype. No longer used internally.
5087 * nscd/gai.c (__inet_aton): Do not define.
5088 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5089 * nss/digits_dots.c (__inet_aton): Likewise.
5090 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5091 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5092 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5093 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5094 (tst-resolv-trailing): Likewise.
5095 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5096 libc.
5097 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5098 Make static. Add endp parameter.
5099 (__inet_aton_exact): New function.
5100 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5101 (__inet_addr): Call inet_aton_end.
5102 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5103 not just IPv6. Call __inet_aton_exact.
5104 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5105 (tests): Make const. Add additional test cases with trailing
5106 characters.
5107 (do_test): Use array_length.
5108 * resolv/tst-inet_aton_exact.c: New file.
5109 * resolv/tst-resolv-trailing.c: Likewise.
5110 * resolv/tst-resolv-nondecimal.c: Likewise.
5111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5112
5165de69
L
51132019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5114
5115 [BZ# 24097]
5116 CVE-2019-6488
5117 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5118 Clear the upper 32 bits of RSI register.
5119 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5120 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5121 and tst-size_t-wcsnlen.
5122 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5123 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5124
c7c54f65
L
51252019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5126
5127 [BZ# 24097]
5128 CVE-2019-6488
5129 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5130 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5132 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5133 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5134
ee915088
L
51352019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5136
5137 [BZ# 24097]
5138 CVE-2019-6488
5139 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5141 * sysdeps/x86_64/strcmp.S: Likewise.
5142 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5143 tst-size_t-strncmp and tst-size_t-wcsncmp.
5144 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5145 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5146 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5147
82d0b4a4
L
51482019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5149
5150 [BZ# 24097]
5151 CVE-2019-6488
5152 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5153 RDX_LP for length. Clear the upper 32 bits of RDX register.
5154 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5155 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5156 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5157 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5158
ecd8b842
L
51592019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 [BZ# 24097]
5162 CVE-2019-6488
5163 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5164 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5165 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5166 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5167
231c5676
L
51682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5169
5170 [BZ# 24097]
5171 CVE-2019-6488
5172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5173 length. Clear the upper 32 bits of RDX register.
5174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5175 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5176 Likewise.
5177 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5178 Likewise.
5179 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5180 tst-size_t-wmemchr.
5181 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5182
b304fc20
L
51832019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5184
5185 [BZ# 24097]
5186 CVE-2019-6488
5187 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5188 length. Clear the upper 32 bits of RDX register.
5189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5190 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5191 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5192 tst-size_t-wmemcmp.
5193 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5194 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5195
97700a34
L
51962019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 [BZ# 24097]
5199 CVE-2019-6488
5200 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5201 upper 32 bits of RDX register.
5202 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5203 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5204 tst-size_t-wmemchr.
5205 * sysdeps/x86_64/x32/test-size_t.h: New file.
5206 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5207 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5208
6ca53a24
FW
52092019-01-18 Florian Weimer <fweimer@redhat.com>
5210
5211 [BZ #24112]
5212 resolv: Do not send queries for non-host-names in nss_dns.
5213 * resolv/nss_dns/dns-host.c (check_name): New function.
5214 (_nss_dns_gethostbyname2_r): Use it.
5215 (_nss_dns_gethostbyname_r): Likewise.
5216 (_nss_dns_gethostbyname4_r): Likewise.
5217
5e30b8ef
FW
52182019-01-21 Florian Weimer <fweimer@redhat.com>
5219
5220 * resolv/inet_addr.c: Reformat to GNU style.
5221 (__inet_addr, __inet_aton): Update comment.
5222
71effcea
FW
52232019-01-18 Florian Weimer <fweimer@redhat.com>
5224
5225 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5226 ("malloc: Use current (C11-style) atomics for fastbin access").
5227 This commit introduces a substantial performance regression on
5228 POWER and Aarch64.
5229 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5230 (REMOVE_FB): Define.
5231 (_int_malloc): Use it and reindent.
5232 (_int_free): Use CAS loop with
5233 catomic_compare_and_exchange_val_rel.
5234 (malloc_consolidate): Use atomic_exchange_acq.
5235
5236
562f4362
L
52372019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5238
5239 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5240 -Wl,-z,now.
5241 (LDFLAGS-tst-minsigstksz-2): Likewise.
5242 (LDFLAGS-tst-minsigstksz-3): Likewise.
5243 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5244 (LDFLAGS-tst-minsigstksz-4): Likewise.
5245
80dfa298
TS
52462019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5247
5248 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5249 than "alternate".
5250
008b598e
PC
52512019-01-16 Paul A. Clarke <pc@us.ibm.com>
5252
5253 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5254
fbbc9a4e
ZW
52552019-01-16 Zack Weinberg <zackw@panix.com>
5256
6b5c8607
TS
5257 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5258 (xget_sigstack_location): New test support functions.
5259 * support/xsigstack.c: New file, implementing them.
5260 * support/tst-xsigstack.c: New test for them.
5261 * support/Makefile: Update.
fbbc9a4e 5262
6b5c8607
TS
5263 * signal/tst-minsigstksz-1.c
5264 * signal/tst-minsigstksz-2.c
5265 * signal/tst-minsigstksz-3.c
5266 * signal/tst-minsigstksz-3a.c
5267 * signal/tst-minsigstksz-4.c: New tests.
5268 * signal/Makefile: Run them.
fbbc9a4e 5269
5f1135e4
SP
52702019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5271
5272 * po/libc.pot: Regenerate.
5273
ecdacd34
TMQMF
52742019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5275
5276 * math/libm-test-fma.inc (fma_test_data): Set
5277 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5278
56054664
RA
52792019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5280
5281 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5282 (do_test): Changed __vector __int128_t to __vector unsigned int.
5283
1a153e47
LS
52842019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5285
5286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5287 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5288 stpcpy-avx2 and stpncpy-avx2.
5289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5290 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5291 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5292 and __stpncpy_avx2.
5293 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5294 ifunc-strcpy.h}: rename header for a more generic name.
5295 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5296 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5297 AVX unaligned load is fast and vzeroupper is preferred.
5298 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5299 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5300 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5301 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5302 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5303 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5304
a1b02ae7
DL
53052019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5306
5307 * argp/argp-help.c: Fix typo in comment.
5308 * misc/sys/cdefs.h: Likewise.
5309 * posix/regexec.c (sift_states_iter_mb): Likewise.
5310 * socket/sockatmark.c: Likewise.
5311 * socket/sys/socket.h: Likewise.
5312 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5313 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5314 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5315 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5316 * sysdeps/unix/sockatmark.c: Likewise.
5317 * time/strptime_l.c: Likewise.
5318
5cbbf01e
TS
53192019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5320
5321 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5322 missing space after the cast of "_NL_CURRENT".
5323
0bc9bdf1
RA
53242019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5325
5326 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5327 ifdef to fix read of VSCR.
5328 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5329 tst-ucontext-ppc64-vscr.c to test list.
5330 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5331
5494af04
AH
53322019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5333
5334 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5335 fall-through.
5336
e17f63ff
JW
53372019-01-09 Jim Wilson <jimw@sifive.com>
5338
5339 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5340
02f440c1
WD
53412019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5342
5343 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5344 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5345 __memcpy_falkor for ares.
5346 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5347 Add new define.
5348 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5349 Add ares cpu.
5350
69da3c9e
L
53512019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5352
5353 [BZ #24066]
5354 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5355 4_FP_W_TYPEs are used for IEEE quad precision.
5356 * soft-fp/extendhftf2.c: Likewise.
5357 * soft-fp/extendsftf2.c: Likewise.
5358 * soft-fp/extendxftf2.c: Likewise.
5359 * soft-fp/trunctfdf2.c: Likewise.
5360 * soft-fp/trunctfhf2.c: Likewise.
5361 * soft-fp/trunctfsf2.c: Likewise.
5362 * soft-fp/trunctfxf2.c: Likewise.
5363 * sysdeps/alpha/ots_cvttx.c: Likewise.
5364 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5365 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5366 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5367 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5368 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5369 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5370 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5371 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5372 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5373 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5374 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5375 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5376 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5377 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5378 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5379 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5380 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5381
2ef42716
AJ
53822019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5383
5384 [BZ #24024]
5385 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5386 code with -fmath-errno.
5387 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5388 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5389 * string/test-strerror-errno.c: New file.
5390
7395f3a0
AJ
53912019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5392
5393 [BZ #24046]
5394 * localedata/locales/en_US (date_fmt): Add, set to
5395 "%a %d %b %Y %r %Z".
5396
010fe231
FW
53972019-01-07 Florian Weimer <fweimer@redhat.com>
5398
5399 [BZ #24063]
5400 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5401 instead of @var{errno}.
5402 (Parsing of Integers): Likewise.
5403 (Parsing of Floats): Likewise.
5404 * manual/filesys.texi (Working with Directory Trees): Likewise.
5405 (Temporary Files): Likewise.
5406 * manual/job.texi (Terminal Access Functions): Likewise.
5407 * manual/llio.texi (Synchronizing I/O): Likewise.
5408 * manual/math.texi (SVID Random): Likewise.
5409 * manual/message.texi (The catgets Functions): Likewise.
5410 (Translation with gettext): Likewise.
5411 (Locating gettext catalog): Likewise.
5412 (Charset conversion in gettext): Likewise.
5413 * manual/nss.texi (NSS Module Function Internals): Likewise.
5414 * manual/search.texi (Hash Search Function): Likewise.
5415 * manual/setjmp.texi (System V contexts): Likewise.
5416 * manual/time.texi (Sleeping): Likewise.
5417 * manual/users.texi (Lookup User): Likewise.
5418 (Lookup Group): Likewise.
5419
b79dc8d0
AZ
54202019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5421
5422 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5423 fix typo.
5424
890461fe 54252019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
5426
5427 [BZ #19444]
5428 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5429 __builtin_unreachable for default case in switch.
5430 (__ieee754_yn): Likewise.
5431 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5432 (__ieee754_ynl): Likewise.
5433 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5434 (__ieee754_ynl): Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5436 (__ieee754_ynl): Likewise.
5437
8b18d418
SN
54382019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5439
5440 * manual/maint.texi: Use @{ and @}.
5441
4392898d
FW
54422019-01-04 Florian Weimer <fweimer@redhat.com>
5443
5444 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5445 function.
5446 (do_in_chroot_1): Call it.
5447 (run_chroot_tests):
5448 Improve error reporting in case it is not possible to create a
5449 collision for the PTY name required by the test.
5450
17cc27d5
AZ
54512019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5452
ce7eb0e9
AZ
5453 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5454 lll_wait_tid with timeout.
5455 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5456 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5457 futex_reltimed_wait_cancelable for cancelabla mode.
5458 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5459 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5460 macros.
5461 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5462 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5463 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5464 SYSCALL_CANCEL_NCS): New macro.
5465 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5466 (lll_timedwait_tid): Remove macro.
5467 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5468 Likewise.
5469 (lll_timedwait_tid): Likewise.
5470 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5471 Likewise.
5472 (lll_timedwait_tid): Likewise.
5473 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5474 Likewise.
5475 (lll_timedwait_tid): Likewise.
5476 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5477 Use INTERNAL_SYSCALL_CANCEL.
5478 * sysdeps/unix/sysv/linux/futex-internal.h
5479 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5480 instead of __pthread_{enable,disable}_asynccancel.
5481 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5482 (lll_futex_wait_cancel): New macro.
5483
0b13e255
AZ
5484 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5485 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5486
85c828a4
AZ
5487 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5488 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5489
d0d7f85f
AZ
5490 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5491 in backtrace analysis.
5492 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5493 side-effects.
5494 (tf_send): Likewise.
5495
17cc27d5
AZ
5496 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5497 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5498 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5499 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5500 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5501 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5502 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5503 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5504 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5505 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5506 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5507 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5508 Likewise.
5509 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5510 tst-cancel-wrappers.sh.
5511 (generated): Remove tst-cancel-wrappers.out.
5512 (tst-cancel-wrappers.out): Remove rule.
5513 * nptl/tst-cancel-wrappers.sh: Remove file.
5514
7d7af8f1
SN
55152019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5516
5517 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5518 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5519 Update.
5520
805334b2
AZ
55212019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5522
5523 [BZ #23640]
5524 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5525 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5526 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5527 close-on-exec reset for adddup2 file action.
5528 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5529
03992356
ZW
55302019-01-03 Zack Weinberg <zackw@panix.com>
5531
5532 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5533 parameter. Only use deprecated scanf when __USE_GNU is defined
5534 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5535 than 201103L, whichever is relevant for the language being compiled.
5536
5537 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5538 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5539 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5540 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5541 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5542
5543 * libio/iovsscanf.c
5544 * libio/fwscanf.c
5545 * libio/iovswscanf.c
5546 * libio/swscanf.c
5547 * libio/vscanf.c
5548 * libio/vwscanf.c
5549 * libio/wscanf.c
5550 * stdio-common/fscanf.c
5551 * stdio-common/scanf.c
5552 * stdio-common/vfscanf.c
5553 * stdio-common/vfwscanf.c
5554 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5555 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5556 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5557 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5558 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5559 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5560 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5561 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5562 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5563 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5564 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5565 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5566 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5567 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5568 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5569
5570 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5571 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5572 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5573 not sscanf.
5574 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5575 with a preprocessor macro.
5576
5577 * stdio-common/bug21.c, stdio-common/scanf14.c:
5578 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5579 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5580 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5581 to xscanf, xfscanf, xsscanf.
5582
5583 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5584 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5585 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5586 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5587 xfscanf, xsscanf.
5588 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5589 override feature selection macros or provide definitions of u_char etc.
5590 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5591 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5592 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5593 with -std=gnu89.
5594
8083afa5
AZ
55952019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5596
6f343c1f
AZ
5597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5598 bits/termios-misc.h.
5599 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5600 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5601 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5603 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5604 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5605
51f4beb0
AZ
5606 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5607 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5608 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5609 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5610 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5611 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5612 termios-misc.h.
5613 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5614 (sysdep_headers): Add termios-misc.h.
5615
f69c5cb2
AZ
5616 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5617 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5618 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5619
3aa4a07e
AZ
5620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5621 termios-tcflow.h.
5622 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5623 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5624 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5625 TCSAFLUSH): Move to termios-tcflow.h.
5626 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5627 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5628 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5629 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5630
22679ddf
AZ
5631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5632 termios-c_lflag.h.
5633 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5634 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5635 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5636 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5637 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5638 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5639 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5640 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5641 Likewise.
5642 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5643 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5644 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5645 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5646
72eb6ecc
AZ
5647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5648 termios-c_cflag.h.
5649 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5650 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5651 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5652 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5653 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5654 termios-c_cflag.h.
5655 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5656 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5658 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5659
9c5d0d02
AZ
5660 [BZ #23783]
5661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5662 termios-baud.h.
5663 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5664 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5665 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5667 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5668 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5669 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5670 __MAX_BAUD): Move to termios-baud.h.
5671 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5672 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5673 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5676
7b832018
AZ
5677 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5678 termios-c_oflag.h.
5679 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5680 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5681 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5683 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5684 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5685 termios-c_oflag.h.
5686 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5687 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5688 FFR1): Likewise.
5689 [USE_MISC] (XTABS): Likewise.
5690 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5691 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5693 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5694
3127003e
AZ
5695 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5696 termios-c_iflag.h.
5697 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5698 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5699 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5700 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5701 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5702 IUTF8): Move to termios-c_iflag.h.
5703 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5704 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5707
48c1dd96
AZ
5708 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5709 termios-cc.h.
5710 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5711 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5712 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5713 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5714 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5715 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5716 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5717 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5718 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5719 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5720 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5721 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5722
e5a50db3
AZ
5723 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5724 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5725 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5726 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5728 termios-struct.h.
5729 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5730 termios-struct.h.
5731 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5732 Likewise.
5733 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5734 Likewise.
5735 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5736 Likewise.
5737 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5738 Likewise.
5739 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5740 _HAVE_C_OSPEED): Define.
5741 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5742 _HAVE_C_OSPEED): Likewise.
5743 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5744 _HAVE_C_OSPEED): Likewise.
5745 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5746 (cfsetospeed): Check for define value instead of existence.
5747 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5748 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5749 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5750 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5751 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5752
8083afa5
AZ
5753 [BZ #17783]
5754 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5755 Define.
5756 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5757 (TIOCSER_TEMT): Likewise.
5758 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5759 (TEOCSER_TEMT): Likewise.
5760
4d7d7dc6
P
57612019-01-02 PanderMusubi <pander@users.sourceforge.net>
5762
5763 [BZ #24011]
5764 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5765
8e291a29
JM
57662019-01-02 Joseph Myers <joseph@codesourcery.com>
5767
5768 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5769
55137f7d
ST
57702019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5771
5772 * sysdeps/htl/pt-barrierattr-setpshared.c
5773 (pthread_barrierattr_setpshared): Add stub warning.
5774 * sysdeps/htl/pt-condattr-setpshared.c
5775 (pthread_condattr_setpshared): Likewise.
5776 * sysdeps/htl/pt-mutexattr-setpshared.c
5777 (pthread_mutexattr_setpshared): Likewise.
5778 * sysdeps/htl/pt-rwlockattr-setpshared.c
5779 (pthread_rwlockattr_setpshared): Likewise.
5780 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5781 (pthread_mutexattr_setpshared): Likewise.
5782
2ce09e01
JM
57832019-01-02 Joseph Myers <joseph@codesourcery.com>
5784
acb55dcb
JM
5785 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5786 constants to match with Linux 4.20.
5787
2ce09e01
JM
5788 * sysdeps/mips/mips32/libm-test-ulps: Update.
5789 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5790
fe20bb1d
AJ
57912019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5792
5793 [BZ #24034]
5794 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5795 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5796 than __typeof (...) for the a_ptr variable.
5797
2d9837c1
GG
57982019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5799
5800 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5801 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5802 * libio/Makefile (tests): Add tst-sprintf-ub and
5803 tst-sprintf-chk-ub.
5804 (CFLAGS-tst-sprintf-ub.c): New variable.
5805 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5806 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5807 destination buffer and check for overflows in fortified mode.
5808 * libio/libioP.h (PRINTF_CHK): New macro.
5809 * libio/tst-sprintf-chk-ub.c: New file.
5810 * libio/tst-sprintf-ub.c: Likewise.
5811
d5c6df0b 58122019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
5813
5814 [BZ #24018]
5815 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5816 failure.
5817
66081e38
FW
58182019-01-02 Florian Weimer <fweimer@redhat.com>
5819
5820 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5821
04277e02
JM
58222019-01-01 Joseph Myers <joseph@codesourcery.com>
5823
6ef3d225
JM
5824 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5825 macro.
5826
e3d4e292
JM
5827 * sysdeps/unix/sysv/linux/netpacket/packet.h
5828 (PACKET_IGNORE_OUTGOING): New macro.
5829
f4507797
JM
5830 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5831 macro.
5832
47ad5e1a
JM
5833 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5834 version to 4.20.
5835 (riscv_flush_icache): New syscall.
5836
7628a1b0
JM
5837 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5838 trailing whitespace removed.
5839 * scripts/config.guess: Update to version 2019-01-01.
5840 * scripts/config.sub: Update to version 2019-01-01.
5841 * scripts/move-if-change: Update from gnulib.
5842
c9123888
JM
5843 * NEWS: Update copyright dates.
5844 * catgets/gencat.c (print_version): Likewise.
5845 * csu/version.c (banner): Likewise.
5846 * debug/catchsegv.sh: Likewise.
5847 * debug/pcprofiledump.c (print_version): Likewise.
5848 * debug/xtrace.sh (do_version): Likewise.
5849 * elf/ldconfig.c (print_version): Likewise.
5850 * elf/ldd.bash.in: Likewise.
5851 * elf/pldd.c (print_version): Likewise.
5852 * elf/sotruss.sh: Likewise.
5853 * elf/sprof.c (print_version): Likewise.
5854 * iconv/iconv_prog.c (print_version): Likewise.
5855 * iconv/iconvconfig.c (print_version): Likewise.
5856 * locale/programs/locale.c (print_version): Likewise.
5857 * locale/programs/localedef.c (print_version): Likewise.
5858 * login/programs/pt_chown.c (print_version): Likewise.
5859 * malloc/memusage.sh (do_version): Likewise.
5860 * malloc/memusagestat.c (print_version): Likewise.
5861 * malloc/mtrace.pl: Likewise.
5862 * manual/libc.texinfo: Likewise.
5863 * nptl/version.c (banner): Likewise.
5864 * nscd/nscd.c (print_version): Likewise.
5865 * nss/getent.c (print_version): Likewise.
5866 * nss/makedb.c (print_version): Likewise.
5867 * posix/getconf.c (main): Likewise.
5868 * scripts/test-installation.pl: Likewise.
5869 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5870
04277e02
JM
5871 * All files with FSF copyright notices: Update copyright dates
5872 using scripts/update-copyrights.
5873 * locale/programs/charmap-kw.h: Regenerated.
5874 * locale/programs/locfile-kw.h: Likewise.
5875
e740e5b1
JM
58762018-12-31 Joseph Myers <joseph@codesourcery.com>
5877
5878 * timezone/zdump.c: Update from tzcode 2018i.
5879 * timezone/zic.c: Likewise.
5880
9b7f98b3
PE
58812018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5882
5883 regex: improve Gnulib port to AIX
5884 From the glibc point of view, this removes duplicate macro
5885 definitions and is obviously safe.
5886 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5887 * posix/regex_internal.h:
5888 (__attribute__, __attribute_warn_unused_result__):
5889 Remove; already defined elsewhere.
5890
b50dd3bc
FW
58912018-12-31 Florian Weimer <fw@deneb.enyo.de>
5892
5893 [BZ #24027]
5894 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5895 copying operation. (ncopies had the wrong type, resulting in an
5896 integer wraparound and too few elements being copied.)
5897
0b9c8490
L
58982018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5899
5900 [BZ #24022]
5901 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5902 <asm/syscalls.h> exists with __has_include__ before including it.
5903
01047fa6
JM
59042018-12-31 Joseph Myers <joseph@codesourcery.com>
5905
5906 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5907 version to 4.20.
5908
6b5c8607 59092018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
5910
5911 * hurd/lookup-retry: Include <unistd.h>.
5912 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5913 Release it on return. Handle "pid" magical lookup retry.
5914
989182c4
RL
59152018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5916
5917 [BZ #10496]
5918 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5919 (t_fmt_ampm): Likewise.
5920 * localedata/locales/aa_ER (t_fmt): Likewise.
5921 (t_fmt_ampm): Likewise.
5922 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5923 (t_fmt_ampm): Likewise.
5924 * localedata/locales/aa_ET (t_fmt): Likewise.
5925 (t_fmt_ampm): Likewise.
5926 * localedata/locales/am_ET (t_fmt): Likewise.
5927 (t_fmt_ampm): Likewise.
5928 * localedata/locales/byn_ER (t_fmt): Likewise.
5929 (t_fmt_ampm): Likewise.
5930 * localedata/locales/om_ET (t_fmt): Likewise.
5931 (t_fmt_ampm): Likewise.
5932 * localedata/locales/sid_ET (t_fmt): Likewise.
5933 (t_fmt_ampm): Likewise.
5934 * localedata/locales/so_DJ (t_fmt): Likewise.
5935 (t_fmt_ampm): Likewise.
5936 * localedata/locales/so_ET (t_fmt): Likewise.
5937 (t_fmt_ampm): Likewise.
5938 * localedata/locales/so_SO (t_fmt): Likewise.
5939 (t_fmt_ampm): Likewise.
5940 * localedata/locales/ti_ER (t_fmt): Likewise.
5941 (t_fmt_ampm): Likewise.
5942 * localedata/locales/ti_ET (t_fmt): Likewise.
5943 (t_fmt_ampm): Likewise.
5944 * localedata/locales/tig_ER (t_fmt): Likewise.
5945 (t_fmt_ampm): Likewise.
5946 * localedata/locales/wal_ET (t_fmt): Likewise.
5947 (t_fmt_ampm): Likewise.
5948
5949 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5950 * localedata/locales/ar_IN (t_fmt): Likewise.
5951 * localedata/locales/bhb_IN (t_fmt): Likewise.
5952 * localedata/locales/bho_IN (t_fmt): Likewise.
5953 * localedata/locales/bi_VU (t_fmt): Likewise.
5954 * localedata/locales/bn_BD (t_fmt): Likewise.
5955 * localedata/locales/bn_IN (t_fmt): Likewise.
5956 * localedata/locales/brx_IN (t_fmt): Likewise.
5957 * localedata/locales/doi_IN (t_fmt): Likewise.
5958 * localedata/locales/en_HK (t_fmt): Likewise.
5959 (t_fmt_ampm): Likewise.
5960 * localedata/locales/en_IN (t_fmt): Likewise.
5961 * localedata/locales/en_PH (t_fmt): Likewise.
5962 * localedata/locales/gu_IN (t_fmt): Likewise.
5963 * localedata/locales/hi_IN (t_fmt): Likewise.
5964 * localedata/locales/hif_FJ (t_fmt): Likewise.
5965 * localedata/locales/hne_IN (t_fmt): Likewise.
5966 * localedata/locales/kn_IN (t_fmt): Likewise.
5967 * localedata/locales/kok_IN (t_fmt): Likewise.
5968 * localedata/locales/ks_IN (t_fmt): Likewise.
5969 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5970 * localedata/locales/mag_IN (t_fmt): Likewise.
5971 * localedata/locales/mai_IN (t_fmt): Likewise.
5972 * localedata/locales/mjw_IN (t_fmt): Likewise.
5973 * localedata/locales/ml_IN (t_fmt): Likewise.
5974 * localedata/locales/mni_IN (t_fmt): Likewise.
5975 * localedata/locales/mr_IN (t_fmt): Likewise.
5976 * localedata/locales/ms_MY (t_fmt): Likewise.
5977 * localedata/locales/pa_IN (t_fmt): Likewise.
5978 * localedata/locales/raj_IN (t_fmt): Likewise.
5979 * localedata/locales/sa_IN (t_fmt): Likewise.
5980 * localedata/locales/sat_IN (t_fmt): Likewise.
5981 * localedata/locales/sd_IN (t_fmt): Likewise.
5982 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5983 * localedata/locales/tcy_IN (t_fmt): Likewise.
5984 * localedata/locales/the_NP (t_fmt): Likewise.
5985 * localedata/locales/to_TO (t_fmt): Likewise.
5986 * localedata/locales/ur_IN (t_fmt): Likewise.
5987
5988 * localedata/locales/hif_FJ (d_t_fmt): Set to
5989 "%A %d %b %Y %I:%M:%S %p".
5990 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5991
5992 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5993 * localedata/locales/ar_BH (t_fmt): Likewise.
5994 * localedata/locales/ar_DZ (t_fmt): Likewise.
5995 * localedata/locales/ar_EG (t_fmt): Likewise.
5996 * localedata/locales/ar_IQ (t_fmt): Likewise.
5997 * localedata/locales/ar_JO (t_fmt): Likewise.
5998 * localedata/locales/ar_KW (t_fmt): Likewise.
5999 * localedata/locales/ar_LB (t_fmt): Likewise.
6000 * localedata/locales/ar_LY (t_fmt): Likewise.
6001 * localedata/locales/ar_OM (t_fmt): Likewise.
6002 * localedata/locales/ar_QA (t_fmt): Likewise.
6003 * localedata/locales/ar_SD (t_fmt): Likewise.
6004 * localedata/locales/ar_SS (t_fmt): Likewise.
6005 * localedata/locales/ar_SY (t_fmt): Likewise.
6006 * localedata/locales/ar_TN (t_fmt): Likewise.
6007 * localedata/locales/ar_YE (t_fmt): Likewise.
6008
6009 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6010 (t_fmt_ampm): Likewise.
6011 * localedata/locales/gez_ET (t_fmt): Likewise.
6012 (t_fmt_ampm): Likewise.
6013
6014 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6015 (t_fmt_ampm): Likewise.
6016 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6017
6018 * localedata/locales/zh_HK (t_fmt):
6019 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6020
6021 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6022 because this locale does not use the 12-hour clock.
6023 (t_fmt): Set to "%Z %H:%M:%S".
6024 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6025
6026 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6027 because this locale does not use the 12-hour clock.
6028 (t_fmt): Set to "%H:%M:%S %Z".
6029 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6030
6031 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6032 because this locale does not use the 12-hour clock.
6033 (t_fmt): Set to "%T".
6034 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6035 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6036
6037 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6038 because this locale does not use the 12-hour clock.
6039 (t_fmt): Set to "%H:%M:%S %Z".
6040 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6041
6042 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6043 because this locale does not use the 12-hour clock.
6044 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6045 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6046
27841a7d
RL
60472018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6048
6049 [BZ #10496]
6050 [BZ #23724]
6051 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6052 (t_fmt_ampm): Likewise.
6053 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6054 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6055 (d_fmt): Set to "%-d.%-m.%y".
6056
0253580a
AZ
60572018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6058
6059 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6060 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6061 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6062 Likewise.
6063 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6064 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6065 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6066 function.
6067 * support/blob_repeat.c (check_mul_overflow_size_t,
6068 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6069
09104e5b
AJ
60702018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6071
6072 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6073
c0feb731
PE
60742018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6075
6076 regex: simplify Gnulib port
6077 This simplifies the code, by removing stuff intended for porting
6078 to Gnulib but no longer needed there.
6079 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6080 uses of libc_hidden_def, weak_alias.
6081 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6082 _Restrict_ except for public-facing headers.
6083 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6084 Remove; already defined elsewhere.
6085 * posix/regex.c, posix/regex_internal.h:
6086 Use __GNUC_PREREQ instead of rolling our own.
6087 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6088
5289f1f5
WD
60892018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6090
6091 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 6092 (memchr_strlen): New function.
5289f1f5 6093
ba4b8fab
L
60942018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6095
6096 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6097 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6098 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6099
9412979a
L
61002018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6101
6102 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6103
8700a785
L
61042018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6105
6106 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6107 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6108 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6109 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6110 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6111 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6112 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6113
57b3ff8e
JM
61142018-12-21 Joseph Myers <joseph@codesourcery.com>
6115
6116 [BZ #24023]
6117 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6118 PLT reference in libc.so.
6119 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6120 _Q_lltoq and _Q_qtod PLT references in libc.so.
6121
90d3320d
WD
61222018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6123
6124 * benchtests/bench-memchr.c: Cleanup defines.
6125 * benchtests/bench-memcmp.c: Likewise.
6126 * benchtests/bench-memset.c: Likewise.
6127 * benchtests/bench-memset-large.c: Likewise.
6128 * benchtests/bench-memset-walk.c: Likewise.
6129 * benchtests/bench-stpcpy.c: Likewise.
6130 * benchtests/bench-stpncpy.c: Likewise.
6131 * benchtests/bench-strcat.c: Likewise.
6132 * benchtests/bench-strchr.c: Likewise.
6133 * benchtests/bench-strcmp.c: Likewise.
6134 * benchtests/bench-strcpy.c: Likewise.
6135 * benchtests/bench-strcspn.c: Likewise.
6136 * benchtests/bench-string.h: Likewise.
6137 * benchtests/bench-strlen.c: Likewise.
6138 * benchtests/bench-strncat.c: Likewise.
6139 * benchtests/bench-strncmp.c: Likewise.
6140 * benchtests/bench-strncpy.c: Likewise.
6141 * benchtests/bench-strnlen.c: Likewise.
6142 * benchtests/bench-strpbrk.c: Likewise.
6143 * benchtests/bench-strrchr.c: Likewise.
6144 * benchtests/bench-strspn.c: Likewise.
6145
192963be
JM
61462018-12-21 Joseph Myers <joseph@codesourcery.com>
6147
5d025ea6
JM
6148 * stdlib/longlong.h: Update from GCC.
6149
192963be
JM
6150 [BZ #23993]
6151 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6152 * configure: Regenerated.
6153 * manual/install.texi (Tools for Compilation): Update minimum GCC
6154 version.
6155 * INSTALL: Regenerated.
6156
6b5c8607 61572018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
6158
6159 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6160
6b5c8607 61612018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
6162
6163 * malloc/malloc.c (mremap_chunk): Additional checks.
6164
5f72b005
MH
61652018-12-21 Mao Han <han_mao@c-sky.com>
6166
6167 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6168 * scripts/build-many-glibcs.py: Add C-SKY targets.
6169 * sysdeps/csky/Implies: New file.
6170 * sysdeps/csky/Makefile: Likewise.
6171 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6172 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6173 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6174 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6175 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6176 * sysdeps/csky/abiv2/memmove.S: Likewise.
6177 * sysdeps/csky/abiv2/memset.S: Likewise.
6178 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6179 * sysdeps/csky/abiv2/start.S: Likewise.
6180 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6181 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6182 * sysdeps/csky/abiv2/strlen.S: Likewise.
6183 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6184 * sysdeps/csky/abort-instr.h: Likewise.
6185 * sysdeps/csky/atomic-machine.h: Likewise.
6186 * sysdeps/csky/bits/endian.h: Likewise.
6187 * sysdeps/csky/bits/fenv.h: Likewise.
6188 * sysdeps/csky/bits/link.h: Likewise.
6189 * sysdeps/csky/bits/setjmp.h: Likewise.
6190 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6191 * sysdeps/csky/bsd-setjmp.S: Likewise.
6192 * sysdeps/csky/configure: Likewise.
6193 * sysdeps/csky/configure.ac: Likewise.
6194 * sysdeps/csky/dl-machine.h: Likewise.
6195 * sysdeps/csky/dl-procinfo.c: Likewise.
6196 * sysdeps/csky/dl-procinfo.h: Likewise.
6197 * sysdeps/csky/dl-sysdep.h: Likewise.
6198 * sysdeps/csky/dl-tls.h: Likewise.
6199 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6200 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6201 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6202 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6203 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6204 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6205 * sysdeps/csky/fpu/fegetround.c: Likewise.
6206 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6207 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6208 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6209 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6210 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6211 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6212 * sysdeps/csky/fpu/fesetround.c: Likewise.
6213 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6214 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6215 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6216 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6217 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6218 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6219 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6220 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6221 * sysdeps/csky/fpu_control.h: Likewise.
6222 * sysdeps/csky/gccframe.h: Likewise.
6223 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6224 * sysdeps/csky/ldsodefs.h: Likewise.
6225 * sysdeps/csky/libc-tls.c: Likewise.
6226 * sysdeps/csky/linkmap.h: Likewise.
6227 * sysdeps/csky/machine-gmon.h: Likewise.
6228 * sysdeps/csky/memusage.h: Likewise.
6229 * sysdeps/csky/nofpu/Implies: Likewise.
6230 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6231 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6232 * sysdeps/csky/nptl/Makefile: Likewise.
6233 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6234 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6235 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6236 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6237 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6238 * sysdeps/csky/nptl/tls.h: Likewise.
6239 * sysdeps/csky/preconfigure: Likewise.
6240 * sysdeps/csky/sfp-machine.h: Likewise.
6241 * sysdeps/csky/sotruss-lib.c: Likewise.
6242 * sysdeps/csky/stackinfo.h: Likewise.
6243 * sysdeps/csky/sysdep.h: Likewise.
6244 * sysdeps/csky/tininess.h: Likewise.
6245 * sysdeps/csky/tst-audit.h: Likewise.
6246 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6247 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6248 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6249 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6250 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6251 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6252 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6253 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6254 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6255 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6256 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6257 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6258 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6259 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6260 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6261 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6262 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6263 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6264 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6265 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6266 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6267 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6268 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6269 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6270 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6271 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6272 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6273 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6274 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6275 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6276 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6277 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6278 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6279 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6280 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6281 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6282 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6283 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6284 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6285 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6286 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6287 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6288 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6289 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6290
6b5c8607 62912018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
6292
6293 * include/time.h (__difftime64): Add.
6294 * time/difftime.c (subtract): convert to 64-bit time.
6295 * time/difftime.c (__difftime64): Add.
6296 * time/difftime.c (__difftime): Wrap around __difftime64.
6297
ab416931
L
62982018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6299
6300 * manual/examples/add.c: Remove redundant "if not".
6301 * manual/examples/argp-ex1.c: Likewise.
6302 * manual/examples/argp-ex2.c: Likewise.
6303 * manual/examples/argp-ex3.c: Likewise.
6304 * manual/examples/argp-ex4.c: Likewise.
6305 * manual/examples/atexit.c: Likewise.
6306 * manual/examples/db.c: Likewise.
6307 * manual/examples/dir.c: Likewise.
6308 * manual/examples/dir2.c: Likewise.
6309 * manual/examples/execinfo.c: Likewise.
6310 * manual/examples/filecli.c: Likewise.
6311 * manual/examples/filesrv.c: Likewise.
6312 * manual/examples/fmtmsgexpl.c: Likewise.
6313 * manual/examples/genpass.c: Likewise.
6314 * manual/examples/inetcli.c: Likewise.
6315 * manual/examples/inetsrv.c: Likewise.
6316 * manual/examples/isockad.c: Likewise.
6317 * manual/examples/longopt.c: Likewise.
6318 * manual/examples/memopen.c: Likewise.
6319 * manual/examples/memstrm.c: Likewise.
6320 * manual/examples/mkdirent.c: Likewise.
6321 * manual/examples/mkfsock.c: Likewise.
6322 * manual/examples/mkisock.c: Likewise.
6323 * manual/examples/mygetpass.c: Likewise.
6324 * manual/examples/pipe.c: Likewise.
6325 * manual/examples/popen.c: Likewise.
6326 * manual/examples/rprintf.c: Likewise.
6327 * manual/examples/search.c: Likewise.
6328 * manual/examples/select.c: Likewise.
6329 * manual/examples/setjmp.c: Likewise.
6330 * manual/examples/sigh1.c: Likewise.
6331 * manual/examples/sigusr.c: Likewise.
6332 * manual/examples/stpcpy.c: Likewise.
6333 * manual/examples/strdupa.c: Likewise.
6334 * manual/examples/strftim.c: Likewise.
6335 * manual/examples/subopt.c: Likewise.
6336 * manual/examples/swapcontext.c: Likewise.
6337 * manual/examples/termios.c: Likewise.
6338 * manual/examples/testopt.c: Likewise.
6339 * manual/examples/testpass.c: Likewise.
6340 * manual/examples/timeval_subtract.c: Likewise.
6341
515f463f
JM
63422018-12-19 Joseph Myers <joseph@codesourcery.com>
6343
da75c1b1
JM
6344 * sysdeps/x86/fpu/math_private.h: New file.
6345 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6346
515f463f
JM
6347 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6348 definition.
6349 (cosh): Likewise.
6350 (tanh): Likewise.
6351
1616d034
TMQMF
63522018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6353
6354 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6355 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6356 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6357 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6358 fields.
6359 (_dl_show_auxv): Give a special treatment to
6360 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6361 and AT_L3_CACHEGEOMETRY.
6362 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6363 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6364 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6365 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6366
61595e3d
AS
63672018-12-19 Andreas Schwab <schwab@suse.de>
6368
6369 * nscd/connections.c (check_use): Don't abort on invalid len.
6370
bbb7dc84
ST
63712018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6372
6373 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6374 values in the 64bit value cases.
6375
6b5c8607 63762018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 6377
c4c2836a
AA
6378 * include/time.h
6379 (__ctime64_r): Add.
6380 * time/ctime_r.c
6381 (__ctime64_r): Add.
6382 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6383
7755e504
AA
6384 * include/time.h
6385 (__ctime64): Add.
6386 * time/gmtime.c
6387 (__ctime64): Add.
6388 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6389
a1d346ce
AA
6390 * include/time.h
6391 (__gmtime64_r): Add.
6392 * time/gmtime.c
6393 (__gmtime64_r): Add.
6394 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6395
131db8b0
AA
6396 * include/time.h
6397 (__gmtime64): Add.
6398 * time/gmtime.c
6399 (__gmtime64): Add.
6400 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6401
64c2277d
AA
6402 * include/time.h
6403 (__localtime64_r): Add.
6404 * time/localtime.c
6405 (__localtime64_r): Add.
6406 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6407
56b98bf1
AZ
64082018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6409
64dd7a16
AZ
6410 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6411 kernel_sigction definition.
6412
8b1d5da5
AZ
6413 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6414
f9eabb19
AZ
6415 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6416
56b98bf1
AZ
6417 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6418 __syscall_rt_sigaction.
6419 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6420 (kernel_sigaction): Use Linux generic defintion.
6421 (STUB): Define.
6422 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6423 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6424 (__syscall_rt_sigaction): Remove implementation.
6425 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6426 hidden.
6427 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6428 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6429 INTERNAL_SYSCALL): Remove definitions.
6430 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6431 action and signal set size.
6432 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6433 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6434
43a45c2d
AZ
64352018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6436 James Clarke <jrtc27@jrtc27.com>
6437
dfa6216f 6438 [BZ #23967]
43a45c2d
AZ
6439 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6440 Define if SA_RESTORER is defined.
6441 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6442 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6443 already defined.
6444 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6445 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6446 definitions.
6447 (HAS_SA_RESTORER): Define.
6448 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6449 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6450 (HAS_SA_RESTORER): Define.
6451 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6452 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6453 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6454 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6455 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6456
646ce7e0
JM
64572018-12-18 Joseph Myers <joseph@codesourcery.com>
6458
6459 * sysdeps/unix/sysv/linux/kernel-features.h
6460 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6461 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6462 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6463 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6464 (__ASSUME_ST_INO_64_BIT): Likewise.
6465 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6466 <kernel-features.h>.
6467 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6468 Remove conditional code.
6469 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6470 <kernel-features.h>.
6471 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6472 Remove conditional code.
6473 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6474 <kernel-features.h>.
6475 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6476 Remove conditional code.
6477 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6478 <kernel-features.h>.
6479 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6480 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6481
80190d2b
SL
64822018-12-18 Stefan Liebler <stli@linux.ibm.com>
6483
6484 * sysdeps/s390/multiarch/ifunc-resolve.h
6485 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6486 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6487 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6488 Delete macro definition.
6489 (s390_libc_ifunc_init): Rename to
6490 s390_libc_ifunc_expr_stfle_init.
6491 * sysdeps/s390/bzero: Use
6492 s390_libc_ifunc_expr_stfle_init instead of
6493 s390_libc_ifunc_init.
6494 * sysdeps/s390/memcmp.c: Likewise.
6495 * sysdeps/s390/memcpy.c: Likewise.
6496 * sysdeps/s390/mempcpy.c: Likewise.
6497 * sysdeps/s390/memset.c: Likewise.
6498
12f0dcb8
SL
64992018-12-18 Stefan Liebler <stli@linux.ibm.com>
6500
6501 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6502 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6503
25654a8c
SL
65042018-12-18 Stefan Liebler <stli@linux.ibm.com>
6505
6506 * sysdeps/s390/multiarch/Makefile
6507 (sysdep_routines): Remove wmemcmp variants.
6508 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6509 * sysdeps/s390/multiarch/ifunc-impl-list.c
6510 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6511 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6512 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6513 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6514 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6515 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6516 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6517 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6518
d2a7436c
SL
65192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6520
6521 * sysdeps/s390/multiarch/Makefile
6522 (sysdep_routines): Remove wmemset variants.
6523 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6524 * sysdeps/s390/multiarch/ifunc-impl-list.c
6525 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6526 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6527 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6528 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6529 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6530 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6531 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6532 * sysdeps/s390/ifunc-wmemset.h: New file.
6533
c62534ae
SL
65342018-12-18 Stefan Liebler <stli@linux.ibm.com>
6535
6536 * sysdeps/s390/multiarch/Makefile
6537 (sysdep_routines): Remove wmemchr variants.
6538 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6539 * sysdeps/s390/multiarch/ifunc-impl-list.c
6540 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6541 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6542 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6543 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6544 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6545 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6546 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6547 * sysdeps/s390/ifunc-wmemchr.h: New file.
6548
79b44cf6
SL
65492018-12-18 Stefan Liebler <stli@linux.ibm.com>
6550
6551 * sysdeps/s390/multiarch/Makefile
6552 (sysdep_routines): Remove wcscspn variants.
6553 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6554 * sysdeps/s390/multiarch/ifunc-impl-list.c
6555 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6556 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6557 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6558 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6559 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6560 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6561 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6562 * sysdeps/s390/ifunc-wcscspn.h: New file.
6563
8e87c1f6
SL
65642018-12-18 Stefan Liebler <stli@linux.ibm.com>
6565
6566 * sysdeps/s390/multiarch/Makefile
6567 (sysdep_routines): Remove wcspbrk variants.
6568 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6569 * sysdeps/s390/multiarch/ifunc-impl-list.c
6570 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6571 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6572 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6573 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6574 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6575 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6576 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6577 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6578
8507e831
SL
65792018-12-18 Stefan Liebler <stli@linux.ibm.com>
6580
6581 * sysdeps/s390/multiarch/Makefile
6582 (sysdep_routines): Remove wcsspn variants.
6583 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6584 * sysdeps/s390/multiarch/ifunc-impl-list.c
6585 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6586 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6587 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6588 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6589 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6590 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6591 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6592 * sysdeps/s390/ifunc-wcsspn.h: New file.
6593
4753713a
SL
65942018-12-18 Stefan Liebler <stli@linux.ibm.com>
6595
6596 * sysdeps/s390/multiarch/Makefile
6597 (sysdep_routines): Remove wcsrchr variants.
6598 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6599 * sysdeps/s390/multiarch/ifunc-impl-list.c
6600 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6601 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6602 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6603 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6604 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6605 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6606 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6607 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6608
c09c1b6f
SL
66092018-12-18 Stefan Liebler <stli@linux.ibm.com>
6610
6611 * sysdeps/s390/multiarch/Makefile
6612 (sysdep_routines): Remove wcschrnul variants.
6613 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6614 * sysdeps/s390/multiarch/ifunc-impl-list.c
6615 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6616 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6617 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6618 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6619 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6620 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6621 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6622 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6623
cf3ccc31
SL
66242018-12-18 Stefan Liebler <stli@linux.ibm.com>
6625
6626 * sysdeps/s390/multiarch/Makefile
6627 (sysdep_routines): Remove wcschr variants.
6628 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6629 * sysdeps/s390/multiarch/ifunc-impl-list.c
6630 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6631 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6632 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6633 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6634 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6635 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6636 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6637 * sysdeps/s390/ifunc-wcschr.h: New file.
6638
e9873e1d
SL
66392018-12-18 Stefan Liebler <stli@linux.ibm.com>
6640
6641 * sysdeps/s390/multiarch/Makefile
6642 (sysdep_routines): Remove wcsncmp variants.
6643 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6644 * sysdeps/s390/multiarch/ifunc-impl-list.c
6645 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6646 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6647 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6648 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6649 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6650 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6651 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6652 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6653
3459e23d
SL
66542018-12-18 Stefan Liebler <stli@linux.ibm.com>
6655
6656 * sysdeps/s390/multiarch/Makefile
6657 (sysdep_routines): Remove wcscmp variants.
6658 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6659 * sysdeps/s390/multiarch/ifunc-impl-list.c
6660 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6661 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6662 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6663 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6664 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6665 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6666 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6667 * sysdeps/s390/ifunc-wcscmp.h: New file.
6668
814a76e1
SL
66692018-12-18 Stefan Liebler <stli@linux.ibm.com>
6670
6671 * sysdeps/s390/multiarch/Makefile
6672 (sysdep_routines): Remove wcsncat variants.
6673 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6674 * sysdeps/s390/multiarch/ifunc-impl-list.c
6675 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6676 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6677 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6678 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6679 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6680 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6681 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6682 * sysdeps/s390/ifunc-wcsncat.h: New file.
6683
3389cae4
SL
66842018-12-18 Stefan Liebler <stli@linux.ibm.com>
6685
6686 * sysdeps/s390/multiarch/Makefile
6687 (sysdep_routines): Remove wcscat variants.
6688 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6689 * sysdeps/s390/multiarch/ifunc-impl-list.c
6690 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6691 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6692 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6693 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6694 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6695 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6696 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6697 * sysdeps/s390/ifunc-wcscat.h: New file.
6698
c3081bcb
SL
66992018-12-18 Stefan Liebler <stli@linux.ibm.com>
6700
6701 * sysdeps/s390/multiarch/Makefile
6702 (sysdep_routines): Remove wcpncpy variants.
6703 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6704 * sysdeps/s390/multiarch/ifunc-impl-list.c
6705 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6706 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6707 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6708 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6709 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6710 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6711 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6712 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6713
0966dd86
SL
67142018-12-18 Stefan Liebler <stli@linux.ibm.com>
6715
6716 * sysdeps/s390/multiarch/Makefile
6717 (sysdep_routines): Remove wcsncpy variants.
6718 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6719 * sysdeps/s390/multiarch/ifunc-impl-list.c
6720 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6721 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6722 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6723 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6724 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6725 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6726 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6727 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6728
0582e428
SL
67292018-12-18 Stefan Liebler <stli@linux.ibm.com>
6730
6731 * sysdeps/s390/multiarch/Makefile
6732 (sysdep_routines): Remove wcpcpy variants.
6733 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6734 * sysdeps/s390/multiarch/ifunc-impl-list.c
6735 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6736 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6737 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6738 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6739 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6740 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6741 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6742 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6743
804f2e5c
SL
67442018-12-18 Stefan Liebler <stli@linux.ibm.com>
6745
6746 * sysdeps/s390/multiarch/Makefile
6747 (sysdep_routines): Remove wcscpy variants.
6748 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6749 * sysdeps/s390/multiarch/ifunc-impl-list.c
6750 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6751 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6752 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6753 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6754 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6755 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6756 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6757 * sysdeps/s390/ifunc-wcscpy.h: New file.
6758
c7e7cd26
SL
67592018-12-18 Stefan Liebler <stli@linux.ibm.com>
6760
6761 * sysdeps/s390/multiarch/Makefile
6762 (sysdep_routines): Remove wcsnlen variants.
6763 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6764 * sysdeps/s390/multiarch/ifunc-impl-list.c
6765 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6766 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6767 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6768 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6769 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6770 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6771 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6772 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6773
2e02d0b7
SL
67742018-12-18 Stefan Liebler <stli@linux.ibm.com>
6775
6776 * sysdeps/s390/multiarch/Makefile
6777 (sysdep_routines): Remove wcslen variants.
6778 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6779 * sysdeps/s390/multiarch/ifunc-impl-list.c
6780 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6781 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6782 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6783 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6784 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6785 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6786 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6787 * sysdeps/s390/ifunc-wcslen.h: New file.
6788
89bfcbdf
SL
67892018-12-18 Stefan Liebler <stli@linux.ibm.com>
6790
6791 * sysdeps/s390/multiarch/Makefile
6792 (sysdep_routines): Remove memrchr variants.
6793 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6794 * sysdeps/s390/multiarch/ifunc-impl-list.c
6795 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6796 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6797 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6798 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6799 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6800 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6801 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6802 * sysdeps/s390/ifunc-memrchr.h: New file.
6803
196655ba
SL
68042018-12-18 Stefan Liebler <stli@linux.ibm.com>
6805
6806 * sysdeps/s390/multiarch/Makefile
6807 (sysdep_routines): Remove memccpy variants.
6808 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6809 * sysdeps/s390/multiarch/ifunc-impl-list.c
6810 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6811 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6812 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6813 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6814 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6815 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6816 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6817 * sysdeps/s390/ifunc-memccpy.h: New file.
6818
4c7b3cec
SL
68192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6820
6821 * sysdeps/s390/multiarch/Makefile
6822 (sysdep_routines): Remove rawmemchr variants.
6823 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6824 * sysdeps/s390/multiarch/ifunc-impl-list.c
6825 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6826 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6827 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6828 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6829 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6830 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6831 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6832 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6833
581a051c
SL
68342018-12-18 Stefan Liebler <stli@linux.ibm.com>
6835
6836 * sysdeps/s390/multiarch/Makefile
6837 (sysdep_routines): Remove memchr variants.
6838 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6839 * sysdeps/s390/multiarch/ifunc-impl-list.c
6840 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6841 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6842 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6843 * sysdeps/s390/multiarch/memchr.c: Move to ...
6844 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6845 * sysdeps/s390/ifunc-memchr.h: New file.
6846 * sysdeps/s390/s390-64/memchr.S: Move to ...
6847 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6848 for 31/64bit and ifunc handling.
6849 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6850 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6851 * sysdeps/s390/s390-32/memchr.S: Likewise.
6852
5d2ec20a
SL
68532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6854
6855 * sysdeps/s390/multiarch/Makefile
6856 (sysdep_routines): Remove strcspn variants.
6857 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6858 * sysdeps/s390/multiarch/ifunc-impl-list.c
6859 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6860 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6861 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6862 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6863 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6864 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6865 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6866 * sysdeps/s390/ifunc-strcspn.h: New file.
6867
572cca93
SL
68682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6869
6870 * sysdeps/s390/multiarch/Makefile
6871 (sysdep_routines): Remove strpbrk variants.
6872 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6873 * sysdeps/s390/multiarch/ifunc-impl-list.c
6874 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6875 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6876 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6877 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6878 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6879 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6880 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6881 * sysdeps/s390/ifunc-strpbrk.h: New file.
6882
483fc569
SL
68832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6884
6885 * sysdeps/s390/multiarch/Makefile
6886 (sysdep_routines): Remove strspn variants.
6887 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6888 * sysdeps/s390/multiarch/ifunc-impl-list.c
6889 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6890 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6891 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6892 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6893 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6894 * sysdeps/s390/multiarch/strspn.c: Move to ...
6895 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6896 * sysdeps/s390/ifunc-strspn.h: New file.
6897
26ea8760
SL
68982018-12-18 Stefan Liebler <stli@linux.ibm.com>
6899
6900 * sysdeps/s390/multiarch/Makefile
6901 (sysdep_routines): Remove strrchr variants.
6902 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6903 * sysdeps/s390/multiarch/ifunc-impl-list.c
6904 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6905 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6906 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6907 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6908 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6909 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6910 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6911 * sysdeps/s390/ifunc-strrchr.h: New file.
6912
a1361e65
SL
69132018-12-18 Stefan Liebler <stli@linux.ibm.com>
6914
6915 * sysdeps/s390/multiarch/Makefile
6916 (sysdep_routines): Remove strchrnul variants.
6917 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6918 * sysdeps/s390/multiarch/ifunc-impl-list.c
6919 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6920 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6921 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6922 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6923 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6924 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6925 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6926 * sysdeps/s390/ifunc-strchrnul.h: New file.
6927
32f12653
SL
69282018-12-18 Stefan Liebler <stli@linux.ibm.com>
6929
6930 * sysdeps/s390/multiarch/Makefile
6931 (sysdep_routines): Remove strchr variants.
6932 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6933 * sysdeps/s390/multiarch/ifunc-impl-list.c
6934 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6935 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6936 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6937 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6938 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6939 * sysdeps/s390/multiarch/strchr.c: Move to ...
6940 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6941 * sysdeps/s390/ifunc-strchr.h: New file.
6942
316b8842
SL
69432018-12-18 Stefan Liebler <stli@linux.ibm.com>
6944
6945 * sysdeps/s390/multiarch/Makefile
6946 (sysdep_routines): Remove strncmp variants.
6947 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6948 * sysdeps/s390/multiarch/ifunc-impl-list.c
6949 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6950 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6951 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6952 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6953 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6954 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6955 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6956 * sysdeps/s390/ifunc-strncmp.h: New file.
6957
cdab85fe
SL
69582018-12-18 Stefan Liebler <stli@linux.ibm.com>
6959
6960 * sysdeps/s390/multiarch/Makefile
6961 (sysdep_routines): Remove strcmp variants.
6962 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6963 * sysdeps/s390/multiarch/ifunc-impl-list.c
6964 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6965 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6966 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6967 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6968 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6969 * sysdeps/s390/ifunc-strcmp.h: New file.
6970 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6971 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6972 for 31/64bit and ifunc handling.
6973 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6974 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6975 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6976
b9353351
SL
69772018-12-18 Stefan Liebler <stli@linux.ibm.com>
6978
6979 * sysdeps/s390/multiarch/Makefile
6980 (sysdep_routines): Remove strncat variants.
6981 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6982 * sysdeps/s390/multiarch/ifunc-impl-list.c
6983 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6984 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6985 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6986 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6987 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6988 * sysdeps/s390/multiarch/strncat.c: Move to ...
6989 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6990 * sysdeps/s390/ifunc-strncat.h: New file.
6991
8e5a0afb
SL
69922018-12-18 Stefan Liebler <stli@linux.ibm.com>
6993
6994 * sysdeps/s390/multiarch/Makefile
6995 (sysdep_routines): Remove strcat variants.
6996 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6997 * sysdeps/s390/multiarch/ifunc-impl-list.c
6998 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6999 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7000 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7001 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7002 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7003 * sysdeps/s390/multiarch/strcat.c: Move to ...
7004 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7005 * sysdeps/s390/ifunc-strcat.h: New file.
7006
25218822
SL
70072018-12-18 Stefan Liebler <stli@linux.ibm.com>
7008
7009 * sysdeps/s390/multiarch/Makefile
7010 (sysdep_routines): Remove stpncpy variants.
7011 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7012 * sysdeps/s390/multiarch/ifunc-impl-list.c
7013 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7014 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7015 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7016 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7017 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7018 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7019 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7020 * sysdeps/s390/ifunc-stpncpy.h: New file.
7021
d1bdbf38
SL
70222018-12-18 Stefan Liebler <stli@linux.ibm.com>
7023
7024 * sysdeps/s390/multiarch/Makefile
7025 (sysdep_routines): Remove strncpy variants.
7026 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7027 * sysdeps/s390/multiarch/ifunc-impl-list.c
7028 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7029 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7030 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7031 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7032 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7033 * sysdeps/s390/ifunc-strncpy.h: New file.
7034 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7035 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7036 and adjust ifunc handling.
7037 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7038 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7039 and adjust ifunc handling.
7040 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7041 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7042
97044931
SL
70432018-12-18 Stefan Liebler <stli@linux.ibm.com>
7044
7045 * sysdeps/s390/multiarch/Makefile
7046 (sysdep_routines): Remove stpcpy variants.
7047 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7048 * sysdeps/s390/multiarch/ifunc-impl-list.c
7049 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7050 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7051 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7052 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7053 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7054 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7055 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7056 * sysdeps/s390/ifunc-stpcpy.h: New file.
7057
914a4e05
SL
70582018-12-18 Stefan Liebler <stli@linux.ibm.com>
7059
7060 * sysdeps/s390/multiarch/Makefile
7061 (sysdep_routines): Remove strcpy variants.
7062 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7063 * sysdeps/s390/multiarch/ifunc-impl-list.c
7064 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7065 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7066 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7067 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7068 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7069 * sysdeps/s390/ifunc-strcpy.h: New file.
7070 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7071 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7072 for 31/64bit and ifunc handling.
7073 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7074 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7075 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7076
de10e44d
SL
70772018-12-18 Stefan Liebler <stli@linux.ibm.com>
7078
7079 * sysdeps/s390/multiarch/Makefile
7080 (sysdep_routines): Remove strnlen variants.
7081 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7082 * sysdeps/s390/multiarch/ifunc-impl-list.c
7083 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7084 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7085 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7086 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7087 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7088 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7089 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7090 * sysdeps/s390/ifunc-strnlen.h: New file.
7091
ff3ca374
SL
70922018-12-18 Stefan Liebler <stli@linux.ibm.com>
7093
7094 * sysdeps/s390/multiarch/Makefile
7095 (sysdep_routines): Remove strlen variants.
7096 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7097 * sysdeps/s390/multiarch/ifunc-impl-list.c
7098 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7099 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7100 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7101 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7102 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7103 * sysdeps/s390/multiarch/strlen.c: Move to ...
7104 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7105 * sysdeps/s390/ifunc-strlen.h: New file.
7106
d2c4c403
SL
71072018-12-18 Stefan Liebler <stli@linux.ibm.com>
7108
7109 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7110 * sysdeps/s390/multiarch/ifunc-impl-list.c
7111 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7112 * sysdeps/s390/ifunc-memmem.h: New file.
7113 * sysdeps/s390/memmem.c: Likewise.
7114 * sysdeps/s390/memmem-c.c: Likewise.
7115 * sysdeps/s390/memmem-vx.c: Likewise.
7116
8c25dddd
SL
71172018-12-18 Stefan Liebler <stli@linux.ibm.com>
7118
7119 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7120 * sysdeps/s390/multiarch/ifunc-impl-list.c
7121 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7122 * sysdeps/s390/ifunc-strstr.h: New file.
7123 * sysdeps/s390/strstr.c: Likewise.
7124 * sysdeps/s390/strstr-c.c: Likewise.
7125 * sysdeps/s390/strstr-vx.c: Likewise.
7126
cdd927d9
SL
71272018-12-18 Stefan Liebler <stli@linux.ibm.com>
7128
7129 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7130 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7131 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7132 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7133 New defines.
7134 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7135 * sysdeps/s390/memmove-c.c: New file.
7136 * sysdeps/s390/memmove.c: Likewise.
7137 * sysdeps/s390/multiarch/ifunc-impl-list.c
7138 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7139
2ee1bc57
SL
71402018-12-18 Stefan Liebler <stli@linux.ibm.com>
7141
7142 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7143 * sysdeps/s390/configure.ac: Add check for z13 support.
7144 * sysdeps/s390/configure: Regenerated.
7145
d097d976
SL
71462018-12-18 Stefan Liebler <stli@linux.ibm.com>
7147
7148 * sysdeps/s390/memcopy.h: New file.
7149
e099aab0
SL
71502018-12-18 Stefan Liebler <stli@linux.ibm.com>
7151
7152 * sysdeps/s390/s390-32/bcopy.S: Remove.
7153 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7154
18eb862d
SL
71552018-12-18 Stefan Liebler <stli@linux.ibm.com>
7156
7157 * sysdeps/s390/ifunc-memcpy.h: New File.
7158 * sysdeps/s390/memcpy.S: Move to ...
7159 * sysdeps/s390/memcpy-z900.S ... here.
7160 Move implementations from memcpy-s390x.s to here.
7161 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7162 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7163 Remove memcpy/mempcpy variants.
7164 * sysdeps/s390/Makefile (sysdep_routines):
7165 Add memcpy/mempcpy variants.
7166 * sysdeps/s390/multiarch/ifunc-impl-list.c
7167 (__libc_ifunc_impl_list): Adjust ifunc variants for
7168 memcpy and mempcpy.
7169 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7170 to ...
7171 * sysdeps/s390/memcpy.c: ... here.
7172 Adjust ifunc variants for memcpy.
7173 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7174 * sysdeps/s390/mempcpy.c: ... here.
7175 Adjust ifunc variants for mempcpy.
7176 * sysdeps/s390/mempcpy.S: Delete file.
7177
df3eb8de
SL
71782018-12-18 Stefan Liebler <stli@linux.ibm.com>
7179
7180 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7181 * sysdeps/s390/memcpy.S: ... here.
7182 Adjust to be usable for 31/64bit.
7183 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7184 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7185 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7186 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7187 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7188 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7189 Adjust to be usable for 31/64bit.
7190 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7191 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7192 * sysdeps/s390/multiarch/memcpy.c: ... here.
7193 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7194
b7e024a8
SL
71952018-12-18 Stefan Liebler <stli@linux.ibm.com>
7196
7197 * sysdeps/s390/ifunc-memcmp.h: New File.
7198 * sysdeps/s390/memcmp.S: Move to ...
7199 * sysdeps/s390/memcmp-z900.S ... here.
7200 Move implementations from memcmp-s390x.s to here.
7201 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7202 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7203 Remove memcmp variants.
7204 * sysdeps/s390/Makefile (sysdep_routines):
7205 Add memcmp variants.
7206 * sysdeps/s390/multiarch/ifunc-impl-list.c
7207 (__libc_ifunc_impl_list): Adjust ifunc variants for
7208 memcmp.
7209 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7210 to ...
7211 * sysdeps/s390/memcmp.c: ... here.
7212 Adjust ifunc variants for memcmp.
7213
6c6b8c74
SL
72142018-12-18 Stefan Liebler <stli@linux.ibm.com>
7215
7216 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7217 * sysdeps/s390/memcmp.S: ... here.
7218 Adjust to be usable for 31/64bit.
7219 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7220 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7221 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7222 Remove memcmp.
7223 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7224 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7225 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7226 Adjust to be usable for 31/64bit.
7227 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7228 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7229 * sysdeps/s390/multiarch/memcmp.c: ... here.
7230 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7231
07be3928
SL
72322018-12-18 Stefan Liebler <stli@linux.ibm.com>
7233
7234 * sysdeps/s390/s390-32/bzero.S: Delete file.
7235 * sysdeps/s390/s390-64/bzero.S: Likewise.
7236 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7237 * sysdeps/s390/bzero.c: New file.
7238 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7239 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7240 * sysdeps/s390/multiarch/ifunc-impl-list.c
7241 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7242
712a254a
SL
72432018-12-18 Stefan Liebler <stli@linux.ibm.com>
7244
7245 * sysdeps/s390/ifunc-memset.h: New File.
7246 * sysdeps/s390/memset.S: Move to ...
7247 * sysdeps/s390/memset-z900.S ... here.
7248 Move implementations from memset-s390x.s to here.
7249 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7250 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7251 Remove memset variants.
7252 * sysdeps/s390/Makefile (sysdep_routines):
7253 Add memset variants.
7254 * sysdeps/s390/multiarch/ifunc-impl-list.c
7255 (__libc_ifunc_impl_list): Adjust ifunc variants for
7256 memset.
7257 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7258 to ...
7259 * sysdeps/s390/memset.c: ... here.
7260 Adjust ifunc variants for memset.
7261
5f1743d1
SL
72622018-12-18 Stefan Liebler <stli@linux.ibm.com>
7263
7264 * sysdeps/s390/s390-64/memset.S: Move to ...
7265 * sysdeps/s390/memset.S: ... here.
7266 Adjust to be usable for 31/64bit.
7267 * sysdeps/s390/s390-32/memset.S: Delete File.
7268 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7269 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7270 Remove memset.
7271 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7272 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7273 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7274 Adjust to be usable for 31/64bit.
7275 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7276 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7277 * sysdeps/s390/multiarch/memset.c: ... here.
7278 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7279
e8023f26
SL
72802018-12-18 Stefan Liebler <stli@linux.ibm.com>
7281
7282 * sysdeps/s390/multiarch/ifunc-resolve.h
7283 (s390_libc_ifunc_init, s390_libc_ifunc,
7284 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7285
b8686c0d
SL
72862018-12-18 Stefan Liebler <stli@linux.ibm.com>
7287
7288 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7289 * sysdeps/s390/configure.ac: Add check for z10 support.
7290 * sysdeps/s390/configure: Regenerated.
7291
cd815050
L
72922018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7293
7294 * sysdeps/i386/atomic-machine.h: Merged with ...
7295 * sysdeps/x86_64/atomic-machine.h: To ...
7296 * sysdeps/x86/atomic-machine.h: This. New file.
7297
053c52b1
FW
72982018-12-18 Florian Weimer <fweimer@redhat.com>
7299
7300 Rewrite locale/gen-translit.pl in Python.
7301 * locale/Makefile (generated): Add C-translit.h.
7302 (before-compile): Add $(objpfx)C-translit.h.
7303 (C-translit.h): Move to $(objpfx). Create target directory.
7304 Build using Python script.
7305 * locale/gen-translit.py: New file.
7306 * locale/gen-translit.pl: Remove file.
7307 * locale/C-translit.h.in: Change comment character to '#' for
7308 easier parsing without a C preprocessor.
7309 * locale/C-translit.h: Remove generated file.
7310 * manual/install.texi (Tools for Compilation): Do not mention
7311 C-translit.h.
7312 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7313 Remove locale/C-translit.h.
7314 * scripts/update-copyrights: Likewise.
7315 * INSTALL: Regenerate.
7316
40e6c1ec
FW
73172018-12-18 Florian Weimer <fweimer@redhat.com>
7318
7319 [BZ #23995]
7320 * localedata/locales/bi_VU: Remove executable bit from file.
7321
6b5c8607 73222018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
7323
7324 * include/time.h
7325 (__localtime64): Add.
7326 * manual/maint.texi: Document Y2038 symbol handling.
7327 * time/localtime.c
7328 (__localtime64): Add.
bfb79db4 7329 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 7330
df648905
JM
73312018-12-17 Joseph Myers <joseph@codesourcery.com>
7332
551e81d9
JM
7333 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7334 Do not clobber r12.
7335
df648905
JM
7336 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7337 to allow extra macros from first or second sources.
7338 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7339 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7340 (tests-special): Add $(objpfx)tst-mman-consts.out.
7341 ($(objpfx)tst-mman-consts.out): New makefile target.
7342
6bbfc5c0
MH
73432018-12-17 Mao Han <han_mao@c-sky.com>
7344
7345 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7346 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7347 without stat64 system call support.
7348 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7349 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7350 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7351 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7352 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7353 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7354 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7355 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7356 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7357 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7358 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7359
ef202e53
PE
73602018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7361
7362 regex: fix storage-exhaustion error
7363 [BZ #18040]
7364 * posix/regexec.c (get_subexp):
7365 Do not continue if storage is exhausted.
7366
077caf61
AG
73672018-12-15 Assaf Gordon <assafgordon@gmail.com>
7368
7369 regex: fix heap-use-after-free error
7370 [BZ #18040]
7371 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7372 https://debbugs.gnu.org/32592
7373 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7374 call extend_buffers which reallocates the re_string_t internal buffer.
7375 Local variable 'buf' was not updated in such case, resulting in
7376 use-after-free.
7377 * posix/regexec.c (get_subexp): Update 'buf' after call to
7378 get_subexp_sub.
7379
0c1719e6
FW
73802018-12-15 Florian Weimer <fweimer@redhat.com>
7381
7382 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7383 (minimum_stride_size): Use it.
7384 (support_blob_repeat_allocate): Likewise.
7385
033a2c0a
JM
73862018-12-14 Joseph Myers <joseph@codesourcery.com>
7387
7388 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7389 definition.
7390 (acosh): Likewise.
7391 (atanh): Likewise.
7392
e361dc04
FW
73932018-12-14 Florian Weimer <fweimer@redhat.com>
7394
7395 * manual/process.texi (Process Creation Concepts): Remove
7396 documentation of process (ID) lifetime. List more process
7397 creation functions. Reference Process Identification section.
7398 (Process Identification): Add information about process ID
7399 lifetime. Describe Linux thread/task IDs.
7400 * manual/signal.texi (Signaling Another Process): Mention that the
7401 signal is always sent to the process.
7402
bd51ff5e
GG
74032018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7404
7405 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7406 and tst-ldbl-efgcvt.
7407 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7408 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7409 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7410 (fcvt_tests, output_error, output_r_error, do_test): Use the
7411 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7412 select the type of floating-point variables and arguments; to
7413 produce extra tests for double and conversion specifiers for
7414 printf; and to set the names of called functions.
7415 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7416 in tst-efgcvt-template.c.
7417 * misc/tst-ldbl-efgcvt.c: Likewise.
7418
268bb71e
SL
74192018-12-14 Stefan Liebler <stli@linux.ibm.com>
7420
7421 * nss/Makefile (tst-nss-test3.out): New rule.
7422
db6df070
JM
74232018-12-13 Joseph Myers <joseph@codesourcery.com>
7424
7425 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7426 clobber sp.
7427
ade8b817
CD
74282018-12-13 fanjinke <fanjinke@hygon.cn>
7429
7430 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7431 "HygonGenuine".
7432
3d265911
AS
74332018-12-13 Andreas Schwab <schwab@suse.de>
7434
f21e8f8c 7435 [BZ #23861]
3d265911 7436 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
7437 (__pthread_rwlock_rdlock_full): Update expected value for
7438 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7439 * nptl/tst-rwlock-pwn.c: New file.
7440 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 7441
bf8ae8c0
JM
74422018-12-12 Joseph Myers <joseph@codesourcery.com>
7443
7444 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7445 definition.
7446
de099757
LS
74472018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7448
7449 * benchtests/scripts/compare_bench.py (do_compare): write to
7450 stderr in casestat is not present.
7451 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7452 stderr in case timings field is not present. Also string showing
7453 the output filename goes into the stderr.
7454
1990185f
LS
74552018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7456
7457 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7458 and ZeroDivisorError exceptions.
7459 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7460 argument to loop through user provided statistics.
7461 * benchtests/scripts/compare_bench.py (main): Include the --stats
7462 argument.
7463
587426d4
LS
74642018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7465
7466 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7467 instead of return.
7468
46703efa
FW
74692018-12-12 Florian Weimer <fweimer@redhat.com>
7470
7471 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7472 clause to copyright header.
7473
1d880d4a
TMQMF
74742018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7475
7476 [BZ #23614]
7477 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7478 registers saved in the stack frame.
7479 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7480 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7481
1a502f52
GG
74822018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7483
7484 * include/bits/monetary-ldbl.h: New file.
7485 * include/bits/printf-ldbl.h: Likewise.
7486 * include/bits/stdio-ldbl.h: Likewise.
7487 * include/bits/stdlib-ldbl.h: Likewise.
7488 * include/bits/syslog-ldbl.h: Likewise.
7489 * include/bits/wchar-ldbl.h: Likewise.
7490
df682d1d
GG
74912018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7492
7493 * libio/libio.h: Remove redirection for _IO_vfprintf.
7494
c2c082c1
AS
74952018-12-11 Andreas Schwab <schwab@suse.de>
7496
7497 * Makerules: Remove all references to abilist-pattern.
7498 (update-all-abi): Simplify find expression.
7499
505b5b29
SN
75002018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7501
7502 [BZ #23961]
7503 * math/auto-libm-test-in: Add new test case.
7504 * math/auto-libm-test-out-pow: Regenerated.
7505 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7506
304c61a2
DD
75072018-12-10 DJ Delorie <dj@redhat.com>
7508
7509 [BZ #23948]
7510 * support/test-container.c: Move postclean step to before we
7511 change namespaces.
7512
a8110b72
JM
75132018-12-10 Joseph Myers <joseph@codesourcery.com>
7514
cb7be159
JM
7515 * scripts/gen-as-const.py (main): Handle --python option.
7516 * scripts/gen-py-const.awk: Remove.
7517 * Makerules (py-const-script): Use gen-as-const.py.
7518 ($(py-const)): Likewise.
7519 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7520 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7521 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7522 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7523 ~PTHREAD_MUTEX_NO_ELISION_NP.
7524 * manual/README.pretty-printers: Update reference to
7525 gen-py-const.awk.
7526
a8110b72
JM
7527 * scripts/glibcextract.py: New file.
7528 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7529 or tempfile. Import glibcexctract.
7530 (compute_c_consts): Remove. Moved to glibcextract.py.
7531 (gen_test): Update reference to compute_c_consts.
7532 (main): Likewise.
7533 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7534 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7535 * sysdeps/unix/sysv/linux/Makefile
7536 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7537 Redirect stderr as well as stdout.
7538
f9ba9eb8
RÁE
75392018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7540
7541 [BZ #19767]
7542 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
7543 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7544 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 7545 ALWAYS_USE_VSYSCALL.
b39d961c 7546 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
7547 ALWAYS_USE_VSYSCALL.
7548 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7549 ALWAYS_USE_VSYSCALL.
7550
8d20a2f4
FW
75512018-12-10 Florian Weimer <fweimer@redhat.com>
7552
7553 [BZ #23972]
7554 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7555 offset instead of count for clarity. Fix typo in comment.
7556 (__old_getdents64): Keep track of previous offset. Use it to call
7557 handle_overflow.
7558 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7559 that d_off is never zero.
7560
80472e2f
AS
75612018-12-10 Andreas Schwab <schwab@suse.de>
7562
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7564 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7566 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7567 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7568
0afcb29d
JM
75692018-12-10 Joseph Myers <joseph@codesourcery.com>
7570
7571 * timezone/private.h: Update from tzcode 2018g.
7572 * timezone/tzfile.h: Likewise.
7573 * timezone/tzselect.ksh: Likewise.
7574 * timezone/zdump.c: Likewise.
7575 * timezone/zic.c: Likewise.
7576
b93f4052
PP
75772018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7578
7579 [BZ #23490]
7580 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7581 (do_test): Adjust buffer size and fix format.
7582
7c9a7c68
DD
75832018-12-07 DJ Delorie <dj@redhat.com>
7584
7585 [BZ #23907]
7586 * malloc/tst-tcfree3.c: New.
7587 * malloc/Makefile: Add it.
7588
37caec3a
L
75892018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7590
7591 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7592
10446f5d
GG
75932018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7594
7595 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7596 used as a mask for the mode argument of __vfscanf_internal and
7597 __vfwscanf_internal.
7598 * stdio-common/vfscanf-internal.c
7599 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7600 (__strtof128_internal): Define to __wcstof128_internal.
7601 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7602 __strtof128_internal or __wcstof128_internal when the format of
7603 long double is the same as _Float128.
7604
45f33aac
ST
76052018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7606
7607 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7608 * posix/confstr.c (confstr): Rename to __confstr.
7609 (__confstr): Add hidden def.
7610 (confstr): Add weak alias for __confstr.
7611 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7612 confstr.
7613
a092ca94
L
76142018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7615
7616 * NEWS: Mention getcpu.
7617 * include/sched.h (__getcpu): New libc_hidden_proto.
7618 * manual/resource.texi: Document getcpu.
7619 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7620 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7621 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7622 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7623 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7624 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7625 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7626 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7627 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7628 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7629 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7630 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7631 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7632 Likewise.
7633 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7634 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7635 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7637 Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7639 Likewise.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7641 Likewise.
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7643 Likewise.
7644 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7645 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7646 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7647 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7648 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7650 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7651 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7652 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7653 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7654 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7655 Also check getcpu.
7656
7c857b6f
ST
76572018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7658
7659 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7660 functions.
7661 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7662
3a3fb755
FW
76632018-12-07 Florian Weimer <fweimer@redhat.com>
7664
7665 [BZ #17405]
7666 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7667 * posix/Versions (GLIBC_2.29): Export
7668 posix_spawn_file_actions_addfchdir_np.
7669 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7670 * posix/spawn_faction_destroy.c
7671 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7672 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7673 and the field action.fchdir_action.
7674 * posix/tst-spawn-chdir.c (add_chdir): New function.
7675 (do_test): Add do_fchdir loop. Call add_chdir.
7676 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7677 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7678 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7679 posix_spawn_file_actions_addfchdir_np.
7680 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7681 Likewise.
7682 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7683 Likewise.
7684 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7685 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7686 Likewise.
7687 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7688 Likewise.
7689 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7690 Likewise.
7691 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7692 Likewise.
7693 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7694 Likewise.
7695 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7696 Likewise.
7697 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7698 (GLIBC_2.29): Likewise.
7699 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7700 (GLIBC_2.29): Likewise.
7701 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7702 (GLIBC_2.29): Likewise.
7703 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7704 (GLIBC_2.29): Likewise.
7705 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7706 Likewise.
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7708 (GLIBC_2.29): Likewise.
7709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7710 (GLIBC_2.29): Likewise.
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7712 (GLIBC_2.29): Likewise.
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7714 (GLIBC_2.29): Likewise.
7715 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7716 Likewise.
7717 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7718 Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7720 Likewise.
7721 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7722 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7723 Likewise.
7724 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7725 Likewise.
7726 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7727 Likewise.
7728 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7729 Likewise.
7730
c37cd439
JM
77312018-12-06 Joseph Myers <joseph@codesourcery.com>
7732
7733 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7734 trailing whitespace removed.
7735 * scripts/config.guess: Update to version 2018-11-28.
7736 * scripts/config.sub: Update to version 2018-11-28.
7737 * scripts/install-sh: Update to version 2018-03-11.20.
7738 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7739 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7740
899478c2
FW
77412018-12-07 Florian Weimer <fweimer@redhat.com>
7742
7743 [BZ #23927]
7744 CVE-2018-19591
7745 * inet/tst-if_index-long.c: New file.
7746 * inet/Makefile (tests): Add tst-if_index-long.
7747
f255336a
FW
77482018-12-07 Florian Weimer <fweimer@redhat.com>
7749
7750 * support/check.h (support_record_failure_is_failed): Declare.
7751 * support/descriptors.h: New file.
7752 * support/support_descriptors.c: Likewise.
7753 * support/tst-support_descriptors.c: Likewise.
7754 * support/support_record_failure.c
7755 (support_record_failure_is_failed): New function.
7756 * support/Makefile (libsupport-routines): Add support_descriptors.
7757 (tests): Add tst-support_descriptors.
7758
35caceb1
ZW
77592018-12-05 Zack Weinberg <zackw@panix.com>
7760 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7761
7762 * stdio-common/vfprintf-internal.c
7763 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7764 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7765 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7766 and __no_long_double.
7767 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7768 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7769 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7770 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7771 and __nldbl_*syslog* functions.
7772 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7773 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7774 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7775 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7776 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7777 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7778 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7779 (__nldbl_vwprintf, __nldbl_wprintf):
7780 Directly call the appropriate __v*printf_internal routine, passing
7781 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7782 variable names.
7783 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7784 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7785 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7786 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7787 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7788 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7789 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7790 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7791 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7792 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7793 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7794 (__nldbl_syslog, __nldbl_vsyslog):
7795 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7796 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7797 appropriate.
7798 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7799 appropriate.
7800
4e2f43f8
ZW
78012018-12-05 Zack Weinberg <zackw@panix.com>
7802 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7803
7804 [BZ #11319]
7805 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7806 Moved here from debug/vsprintf_chk.c.
7807 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7808 and completion logic for the strfile to match exactly what
7809 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7810 _IO_str_init_static_internal instead of maxlen-1.
7811 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7812 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7813 __vsprintf_internal.
7814
7815 * debug/vsprintf_chk.c (__vsprintf_chk)
7816 * debug/sprintf_chk.c (__sprintf_chk):
7817 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7818 'flags' argument is positive, and slen as maxlen. No need to lock
7819 the FILE and/or construct a temporary FILE. Minimize and normalize
7820 header inclusions and variable names. Do not libc_hidden_def anything.
7821
7822 * debug/asprintf_chk.c (__asprintf_chk)
7823 * debug/dprintf_chk.c (__dprintf_chk)
7824 * debug/fprintf_chk.c (__fprintf_chk)
7825 * debug/fwprintf_chk.c (__fwprintf_chk)
7826 * debug/printf_chk.c (__printf_chk)
7827 * debug/snprintf_chk.c (__snprintf_chk)
7828 * debug/swprintf_chk.c (__swprintf_chk)
7829 * debug/vasprintf_chk.c (__vasprintf_chk)
7830 * debug/vdprintf_chk.c (__vdprintf_chk)
7831 * debug/vfprintf_chk.c (__vfprintf_chk)
7832 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7833 * debug/vprintf_chk.c (__vprintf_chk)
7834 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7835 * debug/vswprintf_chk.c (__vswprintf_chk)
7836 * debug/vwprintf_chk.c (__vwprintf_chk)
7837 * debug/wprintf_chk.c (__wprintf_chk):
7838 Directly call the corresponding vxxprintf_internal function, passing
7839 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7840 the FILE and/or construct a temporary FILE. Minimize and normalize
7841 header inclusions and variable names. Do not libc_hidden_def anything.
7842
7843 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7844 __obstack_vprintf_internal.
7845 (__obstack_vprintf_chk): Convert into a wrapper that calls
7846 __obstack_vprintf_internal (these two functions already had the
7847 same code) and move to new file...
7848 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7849 file.
7850 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7851 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7852 * debug/Makefile (routines): Add vobprintf_chk.
7853
7854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7855 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7856 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7857 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7858 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7859 (__nldbl___obstack_vfprintf_chk):
7860 Directly call the corresponding vxxprintf_internal function,
7861 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7862 duplicate comparison of slen with 0 or maxlen from the corresponding
7863 non-__nldbl function.
7864
7865 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7866 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7867 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7868 Remove libc_hidden_proto.
7869
7870 * stdio-common/vfprintf-internal.c
7871 (__vfprintf_internal, __vfwprintf_internal):
7872 Do not check _IO_FLAGS2_FORTIFY.
7873 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7874 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7875 a comment explaining why it has the maxlen argument.
7876 (_IO_acquire_lock_clear_flags2_fct): Remove.
7877 (_IO_acquire_lock_clear_flags2): Remove.
7878 (_IO_release_lock): Remove conditional statement which will
7879 now never execute.
7880 (_IO_acquire_lock): Remove variable which is now unused.
7881 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7882 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7883
7884 * stdio-common/Makefile (tests): Add tst-bz11319 and
7885 tst-bz11319-fortify2.
7886 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7887 * stdio-common/tst-bz11319-fortify2.c: New file.
7888 * stdio-common/tst-bz11319.c: Likewise.
7889
124fc732
ZW
78902018-12-05 Zack Weinberg <zackw@panix.com>
7891 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7892
7893 * misc/syslog.c: Include libioP.h, not iolibio.h.
7894 (__vsyslog_internal): New function with the former body of
7895 __vsyslog_chk; takes mode_flags argument same as
7896 __v*printf_internal. Call __vfprintf_internal directly.
7897
7898 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7899 Remove libc_hidden_def.
7900 (__syslog, __syslog_chk): Use __vsyslog_internal.
7901 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7902
7903 * include/sys/syslog.h: Add multiple inclusion guard.
7904 Add prototype for __vsyslog_internal.
7905 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7906
7907 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7908 Use __vsyslog_internal.
7909
698fb75b
ZW
79102018-12-05 Zack Weinberg <zackw@panix.com>
7911 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7912
7913 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7914 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7915 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7916 New functions.
7917 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7918 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7919
7920 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7921 Include wctype.h here if COMPILE_WPRINTF is defined.
7922 Define __vfprintf_internal or __vfwprintf_internal, depending
7923 on COMPILE_WPRINTF.
7924 Temporarily, on entry to this function, update mode_flags
7925 according to the environmental settings corresponding to
7926 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7927 Throughout, check mode_flags instead of __ldbl_is_dbl and
7928 _IO_FLAGS2_FORTIFY on the destination FILE.
7929 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7930 Include vfprintf-internal.c. Don't include wctype.h.
7931 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7932 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7933 and vfprintf.
7934 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7935 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7936 and vfwprintf.
7937 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7938
7939 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7940 and add mode_flags argument; use __vfprintf_internal.
7941 (__vdprintf): New function. Alias vdprintf to this.
7942 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7943 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7944 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7945 (__obstack_printf): Use __obstack_printf_internal.
7946 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7947 public aliases __vsnprintf and vsnprintf.
7948 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7949 called internally.
7950 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7951 public aliases _IO_vsprintf and vsprintf.
7952 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7953 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7954 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7955 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7956 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7957
7958 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7959 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7960 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7961 * stdio-common/printf.c: Use __vfprintf_internal.
7962
7963 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7964 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7965 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7966
7967 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7968 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7969 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7970 __vfwprintf_internal.
7971
7972 * libio/libio.h: Remove libc_hidden_proto and declaration for
7973 _IO_vfprintf.
7974 Remove declaration of _IO_vfwprintf.
7975 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7976 _IO_vsprintf.
7977 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7978 _IO_obstack_printf.
7979 * include/stdio.h: Add prototype for __vasprintf.
7980 (__vsnprintf): Remove declaration, because there are no more
7981 internal calls.
7982 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7983 declaration, because there are no more internal calls.
7984
7985 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7986 __vsnprintf_internal, instead of _IO_vsnprintf.
7987 * argp/argp-help.c (__argp_error, __argp_failure): Use
7988 __vasprintf_internal, instead of _IO_vasprintf.
7989 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7990 redefine, because there are no more internal calls.
7991
d91798b3
ZW
79922018-12-05 Zack Weinberg <zackw@panix.com>
7993 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7994
7995 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7996 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7997 Include libio/strfile.h instead of libioP.h.
7998 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7999 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8000 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8001 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8002 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8003 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8004 necessary. Do not set __no_long_double. Normalize variable names.
8005 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8006 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8007 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8008 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8009 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8010 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8011 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8012 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8013 Do not set __no_long_double. Normalize variable names.
8014
b87eb3f8
ZW
80152018-12-05 Zack Weinberg <zackw@panix.com>
8016 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8017
8018 * stdio-common/isoc99_scanf.c
8019 * stdio-common/isoc99_fscanf.c
8020 * stdio-common/isoc99_sscanf.c
8021 * stdio-common/isoc99_vscanf.c
8022 * stdio-common/isoc99_vfscanf.c
8023 * stdio-common/isoc99_vsscanf.c
8024 * wcsmbs/isoc99_wscanf.c
8025 * wcsmbs/isoc99_fwscanf.c
8026 * wcsmbs/isoc99_swscanf.c
8027 * wcsmbs/isoc99_vwscanf.c
8028 * wcsmbs/isoc99_vfwscanf.c
8029 * wcsmbs/isoc99_vswscanf.c:
8030 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8031 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8032 No need to lock and unlock the FILE passed to that function.
8033
8034 * stdio-common/vfscanf-internal.c
8035 (__vfscanf_internal, __vfwscanf_internal):
8036 Don't look at _IO_FLAGS2_SCANF_STD.
8037 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8038 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8039 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8040
349718d4
ZW
80412018-12-05 Zack Weinberg <zackw@panix.com>
8042 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8043
8044 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8045 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8046 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8047 * libio/strfile.h: Add multiple inclusion guard.
8048 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8049
8050 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8051 consistency with the other version of this file.
8052 (ldbl_compat_symbol): New macro.
8053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8054 New macro.
8055
8056 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8057 Define __vfscanf_internal or __vfwscanf_internal, depending on
8058 COMPILE_WSCANF; don't define any other public symbols.
8059 Remove errval and code to set errp.
8060 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8061 as the mode_flags argument.
8062 (encode_error, conv_error, input_error): Don't set errval.
8063 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8064 Include vfscanf-internal.c.
8065 * stdio-common/vfscanf.c: New file defining the public entry
8066 point vfscanf, which calls __vfscanf_internal.
8067 * stdio-common/vfwscanf.c: New file defining the public entry
8068 point vfwscanf, which calls __vfwscanf_internal.
8069
8070 * stdio-common/iovfscanf.c: New file.
8071 * stdio-common/iovfwscanf.c: Likewise.
8072
8073 * stdio-common/Makefile (routines): Add vfscanf-internal,
8074 vfwscanf-internal, iovfscanf, iovfwscanf.
8075 * stdio-common/Versions: Mention GLIBC_2.29, so that
8076 it can be used in SHLIB_COMPAT expressions.
8077 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8078 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8079 Call __vfscanf_internal, instead of _IO_vfscanf.
8080 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8081 _IO_vfscanf.
8082 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8083 _IO_vfwscanf.
8084
8085 * libio/iovsscanf.c: Clean up includes, when possible. Use
8086 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8087 __vfscanf_internal or __vfwscanf_internal directly.
8088 * libio/iovswscanf.c: Likewise.
8089 * libio/swscanf.c: Likewise.
8090 * libio/vscanf.c: Likewise.
8091 * libio/vwscanf.c: Likewise.
8092 * libio/wscanf.c: Likewise.
8093 * stdio-common/isoc99_fscanf.c: Likewise.
8094 * stdio-common/isoc99_scanf.c: Likewise.
8095 * stdio-common/isoc99_sscanf.c: Likewise.
8096 * stdio-common/isoc99_vfscanf.c: Likewise.
8097 * stdio-common/isoc99_vscanf.c: Likewise.
8098 * stdio-common/isoc99_vsscanf.c: Likewise.
8099 * stdio-common/scanf.c: Likewise.
8100 * stdio-common/sscanf.c: Likewise.
8101 * wcsmbs/isoc99_fwscanf.c: Likewise.
8102 * wcsmbs/isoc99_swscanf.c: Likewise.
8103 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8104 * wcsmbs/isoc99_vswscanf.c: Likewise.
8105 * wcsmbs/isoc99_vwscanf.c: Likewise.
8106 * wcsmbs/isoc99_wscanf.c: Likewise.
8107
6b5c8607 81082018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
8109
8110 * include/time.h
8111 (__tz_compute): Replace time_t with __time64_t.
8112 (__tz_convert): Replace time_t* with __time64_t.
8113 (__offtime): Replace time_t* with __time64_t.
8114 * time/gmtime.c
8115 (__gmtime_r): Adjust call to __tz_convert.
8116 (gmtime): Likewise.
8117 * time/localtime.c
8118 (__localtime_r): Likewise.
8119 (localtime): Likewise.
8120 * time/offtime.c: Replace time_t with __time64_t.
8121 * time/tzset.c: Likewise.
8122
bd598da9
JM
81232018-12-04 Joseph Myers <joseph@codesourcery.com>
8124
8125 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8126 dynamic linker unless [$(run-built-tests) = yes].
8127
b2e93de0
DD
81282018-12-03 DJ Delorie <dj@delorie.com>
8129
8130 * support/test-container.c (check_for_unshare_hints): New.
8131 (main): Call it if unshare fails. Add support for "su" scriptlet
8132 command.
8133
477a02f6
JM
81342018-12-03 Joseph Myers <joseph@codesourcery.com>
8135
8136 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8137 'START' to indicate that start text should be output.
8138 (gen_test): Likewise.
8139 (main): Generate 'START' for first symbol or '--' line, or at end
8140 of input if not previously generated.
8141
6af956e5
RÁE
81422018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8143
8144 [BZ #19767]
8145 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8146 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8147 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8148 ALWAYS_USE_VSYSCALL.
8149
f5ec0ea9
AZ
81502018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8151
8152 [BZ #23913]
8153 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8154 new_argv by one.
8155
8cebd4ff
CD
81562018-12-03 Carlos O'Donell <carlos@redhat.com>
8157
8158 [BZ #23923]
8159 * locale/programs/localedef.c: Declare boolean hard_links default true.
8160 (options): Add --no-hard-links option.
8161 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8162 * locale/programs/localedef.h: Declare prototype for hard_links.
8163 * locale/programs/locfile.c (write_locale_data): Don't use hard
8164 links if hard_links is false.
8165
c22e4c2a
L
81662018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8167
8168 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8169 cpu_features_basic.
8170 (__cache_sysconf): Likewise.
8171 (init_cacheinfo): Likewise.
8172 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8173 populate COMMON_CPUID_INDEX_80000007 and
8174 COMMON_CPUID_INDEX_80000008.
8175 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8176 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8177 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8178 (init_cpu_features): Use _Static_assert on
8179 index_arch_Fast_Unaligned_Load.
8180 __get_cpuid_registers and __get_arch_feature. Updated for
8181 cpu_features_basic. Set stepping in cpu_features.
8182 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8183 (FEATURE_INDEX_2): New.
8184 (FEATURE_INDEX_MAX): Changed to enum.
8185 (COMMON_CPUID_INDEX_D_ECX_1): New.
8186 (COMMON_CPUID_INDEX_80000007): Likewise.
8187 (COMMON_CPUID_INDEX_80000008): Likewise.
8188 (cpuid_registers): Likewise.
8189 (cpu_features_basic): Likewise.
8190 (CPU_FEATURE_USABLE): Likewise.
8191 (bit_arch_XXX_Usable): Likewise.
8192 (cpu_features): Use cpuid_registers and cpu_features_basic.
8193 (bit_arch_XXX): Reweritten.
8194 (bit_cpu_XXX): Likewise.
8195 (index_cpu_XXX): Likewise.
8196 (reg_XXX): Likewise.
8197 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8198 <support/check.h>.
8199 (CHECK_CPU_FEATURE): New.
8200 (CHECK_CPU_FEATURE_USABLE): Likewise.
8201 (cpu_kinds): Likewise.
8202 (do_test): Print vendor, family, model and stepping. Check
8203 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8204 (TEST_FUNCTION): Removed.
8205 Include <support/test-driver.c> instead of
8206 "../../test-skeleton.c".
8207 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8208 Check POPCNT instead of POPCOUNT.
8209 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8210
7b36d26b
ST
82112018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8212
8213 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8214 there is no element in `consts'.
8215
02cd5c1a
FW
82162018-12-01 Florian Weimer <fweimer@redhat.com>
8217
8218 * support/support_capture_subprocess.c
8219 (support_capture_subprocess): Check that pipe descriptors have
8220 expected values. Close original pipe descriptors in subprocess.
8221
fc493bc9
ST
82222018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8223
8224 [BZ #23032]
8225 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8226 attr with __pthread_default_barrierattr.
8227 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8228 attr with __pthread_default_condattr.
8229 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8230 attr with __pthread_default_mutexattr.
8231 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8232 attr with __pthread_default_rwlockattr.
8233
6310e6be
KW
82342018-12-01 Kemi Wang <kemi.wang@intel.com>
8235
8236 * manual/tunables.texi (POSIX Thread Tunables): New node.
8237 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8238 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8239 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8240 __pthread_tunables_init.
8241 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8242 (max_adaptive_count): Define.
8243 * nptl/pthread_mutex_conf.c: New file.
8244 * nptl/pthread_mutex_conf.h: New file.
8245 * sysdeps/generic/adaptive_spin_count.h: New file.
8246 * sysdeps/nptl/dl-tunables.list: New file.
8247 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8248 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8249 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8250 Likewise.
8251
8e67b39e
PP
82522018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8253
8254 [BZ #20544]
8255 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8256 * stdlib/on_exit.c (__on_exit): Likewise.
8257 * stdlib/Makefile (tests): Add tst-bz20544.
8258 * stdlib/tst-bz20544.c: New test.
8259
15b8d67e
RÁE
82602018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8261
8262 [BZ #19767]
8263 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8264 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8265 New.
8266
5e63c240
FW
82672018-11-30 Florian Weimer <fweimer@redhat.com>
8268
8269 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8270 Extend error logging.
8271 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8272 symbol.
8273
71058602 82742018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 8275
5fb7fc96
AZ
8276 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8277 __sigismember instead of sigismember.
8278 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8279 cancel_handler): New definitions.
8280 (do_system): Use posix_spawn instead of fork and execl and remove
8281 reentracy code.
8282 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8283 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8284 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8285 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8286 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8287 * sysdeps/unix/sysv/linux/system.c: Likewise.
8288
14d0e87d
AZ
8289 [BZ #22834]
8290 [BZ #17490]
8291 * NEWS: Add new semantic for atfork with popen and system.
8292 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8293 fork and execl.
8294
e5d262ef
TMQMF
82952018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8296
8297 [BZ #23690]
8298 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8299 modification order when accessing reloc_result->addr.
8300 * include/link.h (reloc_result): Add field init.
8301 * nptl/Makefile (tests): Add tst-audit-threads.
8302 (modules-names): Add tst-audit-threads-mod1 and
8303 tst-audit-threads-mod2.
8304 Add rules to build tst-audit-threads.
8305 * nptl/tst-audit-threads-mod1.c: New file.
8306 * nptl/tst-audit-threads-mod2.c: Likewise.
8307 * nptl/tst-audit-threads.c: Likewise.
8308 * nptl/tst-audit-threads.h: Likewise.
8309
7e1d4240
JM
83102018-11-30 Joseph Myers <joseph@codesourcery.com>
8311
8312 * scripts/gen-as-const.py: New file.
8313 * scripts/gen-as-const.awk: Remove.
8314 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8315 gen-as-const.py.
8316 ($(objpfx)test-as-const-%.c): Likewise.
8317
ce7387cc
L
83182018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8319
8320 * elf/dl-exception.c: Include <_itoa.h>.
8321
c6a5bdc1
ST
83222018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8323
8324 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8325 returned by __f_setlk.
8326
a5275ba5
L
83272018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8328 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8329
8330 * elf/Makefile (tests-internal): Add tst-create_format1.
8331 * elf/dl-exception.c (_dl_exception_create_format): Support
8332 %x, %lx and %zx.
8333 * elf/tst-create_format1.c: New file.
8334
3a67e81d
CAC
83352018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8336
8337 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8338 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8339 gnulib.)
8340 * argp/argp-help.c (__argp_failure): Likewise.
8341
4975f0c3
MH
83422018-11-29 Mao Han <han_mao@c-sky.com>
8343
8344 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8345 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8346 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8347 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8348 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8349 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8350 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8351 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8352 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8353 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8354 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8355 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8356 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8357 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8358 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8359 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8360 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8361 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8362 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8363 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8364 (R_CKCORE_TLS_TPOFF32): New defines.
8365
250102c8
FW
83662018-11-29 Florian Weimer <fweimer@redhat.com>
8367
8368 * posix/Makefile (before-compile): Remove testcases.h and
8369 ptestcases.h.
8370 (generated): Add testcases.h and ptestcases.h.
8371 (testcases.h, ptestcases.h): Move to $(objpfx).
8372 (runtests.o): Add dependency on testcases.h.
8373 (runptests.o): Add dependency on ptestcases.h.
8374 * posix/testcases.h, posix/ptestcases.h: Remove files.
8375 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8376 not touch posix/testcases.h and posix/ptestcases.h.
8377
96cd0558
FW
83782018-11-28 Florian Weimer <fweimer@redhat.com>
8379
8380 support: Add signal support to support_capture_subprocess_check.
8381 * support/capture_subprocess.h (support_capture_subprocess_check):
8382 Adjust comment and rename parameter.
8383 * support/support_capture_subprocess_check.c
8384 (print_actual_status): New function.
8385 (support_capture_subprocess_check): Support negative
8386 status_or_signal. Call print_actual_status.
8387 * support/tst-support_capture_subprocess.c (do_test): Call
8388 support_capture_subprocess_check.
8389 * libio/tst-vtables-common.c (termination_status)
8390 (init_termination_status): Remove.
8391 (check_for_termination): Adjust support_capture_subprocess_check
8392 call.
8393 (do_test): Remove call to init_termination_status.
8394
530504e3
JM
83952018-11-28 Joseph Myers <joseph@codesourcery.com>
8396
8397 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8398 source directory instead of a copy.
8399 (CommandList.create_copy_dir): Remove.
8400
9a0b6970
SL
84012018-11-28 Stefan Liebler <stli@linux.ibm.com>
8402
8403 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8404
47d8d9a2
FW
84052018-11-28 Florian Weimer <fweimer@redhat.com>
8406
8407 * support/support.h (support_quote_string): Do not use str
8408 parameter name.
8409
b473b7d8
JM
84102018-11-27 Joseph Myers <joseph@codesourcery.com>
8411
8412 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8413 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8414
c74a91de
FW
84152018-11-27 Florian Weimer <fweimer@redhat.com>
8416
8417 * support/support.h (support_quote_string): Declare.
8418 * support/support_quote_string.c: New file.
8419 * support/tst-support_quote_string.c: Likewise.
8420 * support/Makefile (libsupport-routines): Add
8421 support_quote_string.
8422 (tests): Add tst-support_quote_string.
8423
d527c860
FW
84242018-11-27 Florian Weimer <fweimer@redhat.com>
8425
8426 [BZ #23927]
8427 CVE-2018-19591
8428 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8429 descriptor leak in case of ENODEV error.
8430
979cfed0
RÁE
84312018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8432
8433 [BZ #19767]
8434 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8435 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8437
ce035c6e
CD
84382018-11-26 Carlos O'Donell <carlos@redhat.com>
8439
8440 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8441 Error for unknown lines.
8442
2bd0bfcc
JM
84432018-11-26 Joseph Myers <joseph@codesourcery.com>
8444
8445 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8446 Touch additional files.
8447
affec03b
FW
84482018-11-26 Florian Weimer <fweimer@redhat.com>
8449
8450 [BZ #23907]
8451 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8452 double-frees.
8453
8ae74ead
RÁE
84542018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8455
8456 [BZ #19767]
8457 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8458 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8459 SHARED. Include sysdep.h.
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8461 ALWAYS_USE_VSYSCALL.
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8463 ALWAYS_USE_VSYSCALL.
8464
1e8bdc3a
RÁE
84652018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8466
8467 [BZ #19767]
8468 * nptl/Makefile (tests-static): Add tst-cond11-static.
8469 (tests): Likewise.
8470 * nptl/tst-cond11-static.c: New File.
8471 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8472 tst-affinity-static.
8473 (tests): Likewise.
8474 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8475 instead of SHARED.
8476 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8477 (USE_VSYSCALL): Likewise.
8478 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8479 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8480 instead of SHARED.
8481 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8482 SHARED.
8483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8484 New.
8485
1283c478
JM
84862018-11-23 Joseph Myers <joseph@codesourcery.com>
8487
8488 [BZ #23915]
8489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8490 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8491 Undefine.
8492
c089fd80
L
84932018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8494
8495 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8496 (tst-cet-legacy-1a-ARGS): New.
8497 ($(objpfx)tst-cet-legacy-1a): New target.
8498 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8499
cc6c89fa
JM
85002018-11-22 Joseph Myers <joseph@codesourcery.com>
8501
95edd05c
JM
8502 * conform/conformtest.py (CompileSubTest.__init__): Set
8503 self.run_early to False.
8504 (ExecuteSubTest.__init__): Likewise.
8505 (HeaderTests.run): Try running all non-optional, non-XFAILed
8506 compilation tests in a single execution of the compiler.
8507
cc6c89fa
JM
8508 * conform/conformtest.py (CompileSubTest): New class.
8509 (ExecuteSubTest): Likewise.
8510 (ElementTest.run): Rename to gen_subtests. Append tests to
8511 self.subtests instead of running them.
8512 (ConstantTest.run): Likewise.
8513 (SymbolTest.run): Likewise.
8514 (TypeTest.run): Likewise.
8515 (TagTest.run): Likewise.
8516 (FunctionTest.run): Likewise.
8517 (VariableTest.run): Likewise.
8518 (MacroFunctionTest.run): Likewise.
8519 (MacroStrTest.run): Likewise.
8520 (HeaderTests.handle_test_line): Generate subtests for tests.
8521 (HeaderTests.run): Run subtests for tests.
8522
a502c529
SN
85232018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8524
8525 * math/Versions (GLIBC_2.29): Add pow.
8526 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8527 symbol.
8528 * math/w_pow.c: New file.
8529 * sysdeps/i386/fpu/w_pow.c: New file.
8530 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8532 and add necessary aliases.
8533 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8534 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8535 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8537 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8538 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8539 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8540 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8541 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8542 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8543 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8544 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8545 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8546 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8547 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8552 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8553 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8554 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8555 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8556 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8557 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8558 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8559 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8560 __pow.
8561 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8562 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8563 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8564
718d6542
SN
85652018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8566
8567 * math/Versions (GLIBC_2.29): Add log2.
8568 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8569 symbol.
8570 * math/w_log2.c: New file.
8571 * sysdeps/i386/fpu/w_log2.c: New file.
8572 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8573 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8574 and add necessary aliases.
8575 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8576 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8577 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8578 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8580 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8581 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8582 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8583 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8584 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8585 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8586 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8587 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8588 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8589 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8594 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8595 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8596 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8597 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8598 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8599 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8600 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8601
f29b7c49
SN
86022018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8603
8604 * math/Versions (GLIBC_2.29): Add log.
8605 * math/w_log_compat.c (__log_compat): Change to versioned compat
8606 symbol.
8607 * math/w_log.c: New file.
8608 * sysdeps/i386/fpu/w_log.c: New file.
8609 * sysdeps/ia64/fpu/e_log.S: Update.
8610 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8611 and add necessary aliases.
8612 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8613 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8614 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8615 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8616 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8617 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8618 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8619 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8620 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8621 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8622 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8623 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8624 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8625 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8626 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8631 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8632 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8633 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8634 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8635 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8636 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8637 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8638 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8639 __log.
8640 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8641 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8642 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8643 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8644
c20a1056
SN
86452018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8646
8647 * math/Versions (GLIBC_2.29): Add exp and exp2.
8648 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8649 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8650 * math/w_exp_compat.c (__exp_compat): Likewise.
8651 * math/w_exp.c: New file.
8652 * math/w_exp2.c: New file.
8653 * sysdeps/i386/fpu/w_exp.c: New file.
8654 * sysdeps/i386/fpu/w_exp2.c: New file.
8655 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8656 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8657 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8658 and add necessary aliases.
8659 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8660 and add necessary aliases.
8661 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8662 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8663 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8664 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8665 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8666 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8667 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8668 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8669 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8670 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8671 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8672 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8673 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8674 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8675 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8676 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8677 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8682 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8683 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8684 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8685 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8686 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8687 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8688 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8689 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8690 (__ieee754_exp): Rename to __exp.
8691 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8692 (__ieee754_exp): Rename to __exp.
8693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8694 (__ieee754_exp): Rename to __exp.
8695 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8696 __exp.
8697 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8698
bcdaad21
DD
86992018-11-20 DJ Delorie <dj@redhat.com>
8700
8701 * malloc/malloc.c (tcache_entry): Add key field.
8702 (tcache_put): Set it.
8703 (tcache_get): Likewise.
8704 (_int_free): Check for double free in tcache.
8705 * malloc/tst-tcfree1.c: New.
8706 * malloc/tst-tcfree2.c: New.
8707 * malloc/Makefile: Run the new tests.
8708 * manual/probes.texi: Document memory_tcache_double_free probe.
8709
8710 * dlfcn/dlerror.c (check_free): Prevent double frees.
8711
5770c0ad
WD
87122018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8713
8714 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8715
9a62a939
JM
87162018-11-20 Joseph Myers <joseph@codesourcery.com>
8717
8718 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8719 in tests. Use names for format arguments.
8720 (ConstantTest.run): Likewise.
8721 (SymbolTest.run): Likewise.
8722 (TypeTest.run): Likewise.
8723 (TagTest.run): Likewise.
8724 (FunctionTest.run): Likewise.
8725 (VariableTest.run): Likewise.
8726 (MacroFunctionTest.run): Likewise.
8727 (MacroStrTest.run): Likewise.
8728 (HeaderTests.__init__): Set self.num_tests.
8729 (HeaderTests.handle_test_line): Set test.num. Increment
8730 self.num_tests.
8731
b15b1a95
ST
87322018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8733
8734 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8735 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8736 SEEK_SET.
8737
0c7f97ae
MH
87382018-11-19 Mao Han <han_mao@c-sky.com>
8739
8740 * scripts/config.guess: Update to version 2018-08-29.
8741 * scripts/config.sub: Update to version 2018-08-29.
8742
35e3fbc4
FW
87432018-11-19 Florian Weimer <fweimer@redhat.com>
8744
8745 support: Print timestamps in timeout handler.
8746 * support/support_test_main.c (print_timestamp): New function.
8747 (signal_handler): Use it to print the termination time and the
8748 time of the last write to standard output.
8749
c75772e3
ZW
87502018-11-16 Zack Weinberg <zackw@panix.com>
8751 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8752
8753 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8754 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8755 argument.
8756 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8757 and add flags argument. Check flags instead of __ldbl_is_dbl when
8758 deciding whether to set is_long_double.
8759 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8760 passing zero for flags argument.
8761 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8762
8763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8764 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8765 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8766 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8767 variable names. Remove libc_hidden_def/libc_hidden_proto from
8768 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8769 longer called from within the library.
8770 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8771 for __nldbl___vstrfmon_l, declare it explicitly.
8772
8773 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8774
346ef23f
ST
87752018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8776
8777 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8778 macros
8779 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8780 F_SETLK64, F_SETLKW64, respectively.
8781 * sysdeps/mach/hurd/f_setlk.c: New file.
8782 * sysdeps/mach/hurd/f_setlk.h: New file.
8783 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8784 f_setlk.
8785 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8786 (__libc_fcntl): Move non-flock operations to...
8787 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8788 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8789
de20b81a
PE
87902018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8791
5d8af156
PE
8792 mktime: DEBUG_MKTIME cleanup
8793 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8794 And it’s no longer needed now that glibc and Gnulib both have
8795 their own testing mechanisms for mktime.
8796 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8797
86aece3b
PE
8798 mktime: fix non-EOVERFLOW errno handling
8799 [BZ#23789]
8800 mktime was not properly reporting failures when the underlying
8801 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8802 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8803 The problem could happen on non-glibc platforms, with Gnulib.
8804 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8805 (tm_diff): ... this simpler function, which does not change errno.
8806 All callers changed to deal with errno themselves.
8807 (ranged_convert, __mktime_internal): Return failure immediately if
8808 the underlying function reports any failure other than EOVERFLOW.
8809 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8810 gap code fails.
8811
f6b3331b
PE
8812 mktime: fix bug with Y2038 DST transition
8813 [BZ#23789]
8814 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8815 mishandle a DST transition that jumps over the Y2038 boundary.
8816 No such DST transitions are known so this is only a theoretical
8817 bug, but we might as well do things right.
8818
efbdddc3
PE
8819 mktime: make more room for overflow
8820 [BZ#23789]
8821 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8822 This is so that we can add tm_diff results to a previous guess,
8823 which will be useful in a later patch.
8824
6c90d759
PE
8825 mktime: simplify offset guess
8826 [BZ#23789]
8827 * time/mktime.c (__mktime_internal): Omit excess precision.
8828
32c12f3f
PE
8829 mktime: new test for mktime failure
8830 [BZ#23789]
8831 Based on a test suggested by Albert Aribaud in:
8832 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8833 * time/Makefile (tests): Add bug-mktime4.
8834 * time/bug-mktime4.c: New file.
8835
de20b81a
PE
8836 mktime: fix EOVERFLOW bug
8837 [BZ#23789]
8838 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8839 Include libc-config.h, not config.h, for __set_errno.
8840 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8841
8c6c3fb0
ST
88422018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8843
8844 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8845 __attribute_copy__ to copy attributes from name. Drop static qualifier
8846 to avoid warnings about leaf attribute not having effect on static
8847 functions.
8848
6923f6db
FW
88492018-11-13 Florian Weimer <fweimer@redhat.com>
8850
8851 * malloc/malloc.c (fastbin_push_entry): New function.
8852 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8853 (REMOVE_FB): Remove macro.
8854 (_int_malloc): Use fastbin_pop_entry and reindent.
8855 (_int_free): Use fastbin_push_entry.
8856 (malloc_consolidate): Use atomic_exchange_acquire.
8857
53f5c659
JM
88582018-11-13 Joseph Myers <joseph@codesourcery.com>
8859
0c096dcf
JM
8860 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8861 alias attribute, not with strong_alias.
8862
9c4b457e
JM
8863 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8864 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8865 with additional parameter thread.
8866 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8867 in terms of __hidden_ver2.
8868 (hidden_tls_def): New macro.
8869 (libc_hidden_tls_def): Likewise.
8870 (rtld_hidden_tls_def): Likewise.
8871 (libm_hidden_tls_def): Likewise.
8872 (libmvec_hidden_tls_def): Likewise.
8873 (libresolv_hidden_tls_def): Likewise.
8874 (librt_hidden_tls_def): Likewise.
8875 (libdl_hidden_tls_def): Likewise.
8876 (libnss_files_hidden_tls_def): Likewise.
8877 (libnsl_hidden_tls_def): Likewise.
8878 (libnss_nisplus_hidden_tls_def): Likewise.
8879 (libutil_hidden_tls_def): Likewise.
8880 (libutil_hidden_tls_def): Likweise.
8881 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8882 libc_hidden_tls_def.
8883 (__sim_disabled_exceptions_thread): Likewise.
8884 (__sim_round_mode_thread): Likewise.
8885
53f5c659
JM
8886 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8887 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8888 copy attributes from name.
8889
092dfde6
JM
88902018-11-12 Joseph Myers <joseph@codesourcery.com>
8891
f578f97b
JM
8892 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8893 Use __attribute_copy__ to copy attributes from name.
8894
9a7c643a
JM
8895 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8896 with __hidden_ver1 call.
8897 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8898 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8899 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8900 (__cosf): Do not declare here.
8901 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8902 (__sincosf): Do not declare here.
8903 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8904 (__sinf): Do not declare here.
8905
092dfde6
JM
8906 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8907 (__BIG_ENDIAN): Likewise.
8908 (__BYTE_ORDER): Likewise.
8909 (strong_alias): Likewise.
8910 (_strong_alias): Likewise.
8911
1ecba1fa
FW
89122018-11-12 Florian Weimer <fweimer@redhat.com>
8913
8914 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8915 function. Move after the definition of in_smallbin_range. Do not
8916 use __builtin_expect for paths that lead to a noreturn function.
8917 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8918 because it is unclear whether this is in fact an unlikely
8919 condition.
8920 (_int_malloc, _int_free): Adjust.
8921 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8922 variables.
8923 * malloc/arena.c (heap_trim): Likewise.
8924
434c34bd
ST
89252018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8926
8927 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8928 it, free it if needed.
8929 (reauthenticate): Test and use ccwdir.
8930 (child_init_port): In non-resetids case, test and use ccwdir.
8931 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
8932 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8933 * hurd/hurd/port.h (_hurd_port_move): New function.
8934 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8935 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
8936 * hurd/Versions (_hurd_port_move): Export function.
8937 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8938 symbol.
58bb655a
ST
8939 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8940 of dtablesize for allocating dtable_cloexec.
434c34bd 8941
1626a1cf
MS
89422018-11-09 Martin Sebor <msebor@redhat.com>
8943
8944 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8945 it's already defined.
8946 (_strong_alias): Use __attribute_copy__.
8947 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8948 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8949 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8950 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8951 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8952 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8953 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8954 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8955 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8956 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8957 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8958 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8959 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8960 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8961 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8962 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8963 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8964 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8965 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8966
968ed530
GG
89672018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8968
8969 * misc/tst-efgcvt.c: Include support/check.h and
8970 support/test-driver.c. Do not include test-skeleton.c.
8971 (error_count): Remove.
8972 (output_error): Replace increments to error_count with calls to
8973 support_record_failure.
8974 (output_r_error): Likewise.
8975 (special): Likewise.
8976 (do_test): Unconditionally return zero.
8977 (TEST_FUNCTION): Remove.
8978
c3ec0972
JM
89792018-11-09 Joseph Myers <joseph@codesourcery.com>
8980
91faaa93
JM
8981 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8982 not $(@D)/scratch.
8983 ($(linknamespace-header-tests)): Likewise.
8984
c3ec0972
JM
8985 * conform/conformtest.py: New file.
8986 * conform/conformtest.pl: Remove.
8987 * conform/GlibcConform.pm: Likewise.
8988 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8989 (KEYWORDS_C99): Likewise.
8990 (KEYWORDS): Likewise.
8991 * conform/Makefile ($(conformtest-header-tests)): Use
8992 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8993 option. Use --header instead of --headers.
8994 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8995 function entries.
8996 * conform/data/spawn.h-data: Likewise.
8997 * conform/data/fcntl.h-data (openat): Add space after function
8998 name.
8999 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9000 (wcscasecmp_l): Likewise.
9001 * conform/data/termios.h-data (c_cc): Add space after element
9002 name.
9003
43257c33
GG
90042018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9005
9006 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9007 instead of manually comparing and reporting mismatching strings.
9008 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9009 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9010
e5de3b5b
JM
90112018-11-08 Joseph Myers <joseph@codesourcery.com>
9012
9013 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9014 __ASSUME_SOCKETCALL.
9015 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9016 (__ASSUME_SOCKETCALL): Remove.
9017 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9018 (__ASSUME_SOCKETCALL): Likewise.
9019 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9020 (__ASSUME_SOCKETCALL): Likewise.
9021 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9022 (__ASSUME_SOCKETCALL): Likewise.
9023 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9024 (__ASSUME_SOCKETCALL): Likewise.
9025 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9026 (__ASSUME_SOCKETCALL): Likewise.
9027 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9028 (__ASSUME_SOCKETCALL): Likewise.
9029
d524fa6c
L
90302018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9031
9032 [BZ #23509]
9033 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9034 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9035 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9036 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9037 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9038 lc_unknown.
9039
ac806026
AH
90402018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9041
9042 [BZ #17630]
9043 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9044
596cc360
JM
90452018-11-07 Joseph Myers <joseph@codesourcery.com>
9046
9047 [BZ #23867]
9048 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9049 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9051 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9052
00c86a37
AZ
90532018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9054
9055 * support/support_test_compare_string.c
9056 (support_test_compare_string): Fix printf format.
9057
1df872fd
FW
90582018-11-07 Florian Weimer <fweimer@redhat.com>
9059
9060 Implement TEST_COMPARE_STRING.
9061 * support/check.h (TEST_COMPARE_STRING): Define.
9062 (support_test_compare_string): Declare.
9063 * support/Makefile (libsupport-routines): Add
9064 support_test_compare_string.
9065 (tests): Add tst-test_compare_string.
9066 * support/support_test_compare_string.c: New file.
9067 * support/tst-test_compare_string.c: Likewise.
9068
295132ff
AS
90692018-11-07 Andreas Schwab <schwab@suse.de>
9070
9071 [BZ #23864]
9072 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9073 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9074 Undef.
9075
e143ceba
JM
90762018-11-06 Joseph Myers <joseph@codesourcery.com>
9077
9078 [BZ #23862]
9079 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9080 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9081 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9082 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9083 Likewise.
9084
4a938cb2
FW
90852018-11-06 Florian Weimer <fweimer@redhat.com>
9086
9087 [BZ #17405]
9088 * posix/Makefile (routines): Add spawn_faction_addchdir.
9089 (tests): Add tst-spawn-chdir.
9090 * posix/Versions (GLIBC_2.29): Add
9091 posix_spawn_file_actions_addchdir_np.
9092 * posix/spawn_faction_addchdir.c: New file.
9093 * posix/spawn_faction_destroy.c
9094 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9095 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9096 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9097 chdir_action.
9098 * posix/tst-spawn-chdir.c: New file.
9099 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9100 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9101 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9102 posix_spawn_file_actions_addchdir_np.
9103 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9104 Likewise.
9105 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9106 Likewise.
9107 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9108 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9109 Likewise.
9110 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9111 Likewise.
9112 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9113 Likewise.
9114 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9115 Likewise.
9116 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9117 Likewise.
9118 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9119 Likewise.
9120 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9121 (GLIBC_2.29): Likewise.
9122 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9123 (GLIBC_2.29): Likewise.
9124 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9125 (GLIBC_2.29): Likewise.
9126 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9127 (GLIBC_2.29): Likewise.
9128 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9129 Likewise.
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9131 (GLIBC_2.29): Likewise.
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9133 (GLIBC_2.29): Likewise.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9135 (GLIBC_2.29): Likewise.
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9137 (GLIBC_2.29): Likewise.
9138 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9139 Likewise.
9140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9141 Likewise.
9142 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9143 Likewise.
9144 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9145 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9146 Likewise.
9147 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9148 Likewise.
9149 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9150 Likewise.
9151 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9152 Likewise.
9153
7597b0c7
GG
91542018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9155
9156 * misc/Makefile (tests): Add tst-ldbl-error.
9157 * misc/tst-ldbl-error.c: New file.
9158
9771e6cb
GG
91592018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9160
9161 * misc/Makefile (tests): Add tst-ldbl-warn.
9162 * misc/tst-ldbl-warn.c: New file.
9163
2c03961f
GG
91642018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9165
9166 * argp/Makefile (tests): Add tst-ldbl-argp.
9167 * argp/tst-ldbl-argp.c: New file.
9168
6d6ee046
AS
91692018-11-05 Arjun Shankar <arjun@redhat.com>
9170
9171 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9172 __gconv_path_elem and call __gconv_get_path unconditionally.
9173
bd3b0fba
AS
91742018-11-05 Andreas Schwab <schwab@suse.de>
9175
9176 [BZ #22927]
9177 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9178 creating the first helper thread failed.
9179
2e96e980
ST
91802018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9181
9182 * sysdeps/mach/hurd/msync.c: New file.
9183
6e36266c
FW
91842018-11-02 Florian Weimer <fweimer@redhat.com>
9185
9186 * support/shell-container.c (copy_func): Call
9187 support_copy_file_range instead of copy_file_range to support
9188 cross-device copies.
9189
599f7bee
FW
91902018-11-02 Florian Weimer <fweimer@redhat.com>
9191
9192 * support/test-container.c: Include <libc-pointer-arith.h> for
9193 ALIGN_UP.
9194
ff48ea67
ZL
91952018-11-01 Zong Li <zong@andestech.com>
9196
af1d5782
ZL
9197 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9198 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9199 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9200 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9201
ff48ea67
ZL
9202 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9203 variable to avoid overlap arguments.
9204
daea71c2
JM
92052018-11-01 Joseph Myers <joseph@codesourcery.com>
9206
eac4405a
JM
9207 * posix/bug-regex22.c (main): Use puts with distinct error
9208 messages for unexpected success of re_compile_pattern, not printf
9209 with NULL argument to %s.
9210
6f30e59f
JM
9211 * stdio-common/bug22.c: Include <libc-diag.h>.
9212 (do_test): Disable -Wformat-overflow= warnings around fprintf
9213 calls outputting more than INT_MAX characters.
9214 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9215 around printf call with NULL %s argument.
9216
daea71c2
JM
9217 [BZ #23848]
9218 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9219 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9220 Undefine.
9221 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9222 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9223 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9224 (__ASSUME_SENDTO_SYSCALL): Likewise.
9225 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9226 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9227 [!__arch64__].
9228 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9229 (__ASSUME_CONNECT_SYSCALL): Likewise.
9230 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9231 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9232 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9233 Define.
9234 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9235 Likewise.
9236 [__LINUX_KERNEL_VERSION >= 0x040400]
9237 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9239 Remove.
9240 (listen): Likewise.
9241 (setsockopt): Likewise.
9242
8e3c00db
FN
92432018-11-01 Fredrik Noring <noring@nocrew.org>
9244
9245 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9246 with the ISA override.
9247
9c3dbdbe
RAE
92482018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9249
9250 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9251 #endif.
9252
e3a88b3e
ST
92532018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9254
a67377e7 9255 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 9256 translate the error message.
a67377e7
ST
9257 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9258 printing trailing whitespaces refused by git.
9259 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9260 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 9261 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 9262
3ca235ed
JM
92632018-10-30 Joseph Myers <joseph@codesourcery.com>
9264
9265 * conform/linknamespace.py: New file.
9266 * conform/linknamespace.pl: Remove file.
9267 * conform/Makefile ($(linknamespace-header-tests)): Use
9268 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9269 option.
9270
60708030
FW
92712018-10-30 Florian Weimer <fweimer@redhat.com>
9272
9273 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9274 memory leaks.
9275
a91e9301
FW
92762018-10-30 Florian Weimer <fweimer@redhat.com>
9277
9278 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9279
07da99aa
FW
92802018-10-30 Florian Weimer <fweimer@redhat.com>
9281
9282 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9283 support_blob_repeat.
9284
f5e7e959
FW
92852018-10-30 Florian Weimer <fweimer@redhat.com>
9286
9287 Avoid spurious test failures in stdlib/test-bz22786.
9288 * support/Makefile (libsupport-routines): Add blob_repeat.
9289 (tests): Add tst-support_blob_repeat.
9290 * support/blob_repeat.h: New file.
9291 * support/blob_repeat.c: Likewise.
9292 * support/tst-support_blob_repeat.c: Likewise.
9293 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9294 support_blob_repeat_allocate.
9295
2dd12baa
AS
92962018-10-30 Andreas Schwab <schwab@suse.de>
9297
9298 [BZ #23125]
9299 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9300 Don't use tail call.
9301 * elf/tst-unwind-main.c: New file.
9302 * elf/Makefile (tests): Add tst-unwind-main.
9303 (CFLAGS-tst-unwind-main.c): Define.
9304
6b5c8607 93052018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
9306
9307 [BZ #23791]
9308 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9309 n_cs_precedes to 0.
9310 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9311
c6982f7e
JM
93122018-10-29 Joseph Myers <joseph@codesourcery.com>
9313
954cf3c2
JM
9314 * conform/glibcconform.py: Do not import shutil.
9315 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9316 of mkdtemp.
9317
c6982f7e
JM
9318 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9319 critic_missing for versions before 3.4.
9320 * configure: Regenerated.
9321 * manual/install.texi (Tools for Compilation): Document
9322 requirement for Python to build glibc.
9323 * INSTALL: Regenerated.
9324 * Rules [PYTHON]: Make code unconditional.
9325 * benchtests/Makefile [PYTHON]: Likewise.
9326 * conform/Makefile [PYTHON]: Likewise.
9327 * manual/Makefile [PYTHON]: Likewise.
9328 * math/Makefile [PYTHON]: Likewise.
9329
46a7f24c
ST
93302018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9331
9332 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 9333 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 9334 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
9335 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9336 _hurd_intr_rpc_msg_about_to global point to start of controlled
9337 assembly snippet. Make it check canceled flag.
9338 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9339 the _hurd_intr_rpc_msg_about_to point.
9340 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9341 issue, remove cancel flag check.
46a7f24c 9342
e5b8756d
JM
93432018-10-26 Joseph Myers <joseph@codesourcery.com>
9344
9345 * scripts/build-many-glibcs.py: Remove compatibility for missing
9346 os.cpu_count and re.fullmatch.
9347
ba5b14c7
SN
93482018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9349
9350 [BZ #23822]
9351 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9352 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9353 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9354
fe61f17c
JM
93552018-10-25 Joseph Myers <joseph@codesourcery.com>
9356
9357 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9358 macro.
9359
7c5e34d7
FW
93602018-10-25 Florian Weimer <fweimer@redhat.com>
9361
9362 [BZ #23562]
9363 [BZ #23821]
9364 XFAIL siginfo_t si_band conform test on sparc64.
9365 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9366 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9367 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9368 (conformtest-xfail-conds): Add sparc64-linux.
9369 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9370 sparc64.
9371 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9372
5b784e88
JM
93732018-10-25 Joseph Myers <joseph@codesourcery.com>
9374
9375 * elf/elf.h (NT_MIPS_DSP): New macro.
9376 (NT_MIPS_FP_MODE): Likewise.
9377
41432ebe
ZL
93782018-10-25 Zong Li <zong@andestech.com>
9379
9380 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9381 name by adding the file extension (.so).
9382
d026efea
ST
93832018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9384
9385 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9386 (test-xfail-ISO11/threads.h/linknamespace,
9387 test-xfail-ISO11/threads.h/conform): Add.
9388
b71ac2b9
JM
93892018-10-24 Joseph Myers <joseph@codesourcery.com>
9390
9391 * math/gen-libm-test.py: Import os.
9392 (ALL_FLOATS_MANUAL): New constant.
9393 (ALL_FLOATS_SUFFIX): Likewise.
9394 (Ulps.all_functions): New function.
9395 (real_all_ulps): Likewise.
9396 (generate_err_table_sub): Likewise.
9397 (generate_err_table): Likewise.
9398 (main): Handle -s and -m options.
9399 * manual/libm-err-tab.pl: Remove.
9400 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9401 instead of libm-err-tab.pl.
9402 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9403 != no].
9404 * manual/install.texi (Tools for Compilation): Document
9405 requirement for Python to build manual.
9406 * INSTALL: Regenerated.
9407
6b5c8607 94082018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
9409
9410 * bits/time64.h: New file.
9411 * include/time.h: Replace internal_time_t with __time64_t.
9412 * posix/bits/types (__time64_t): Add.
9413 * stdlib/Makefile: Add bits/time64.h to includes.
9414 * time/tzfile.c: Replace internal_time_t with __time64_t.
9415
97d91fcc 94162018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
9417
9418 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9419 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9420 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9421 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9422 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9423 prototype.
9424 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9425 * posix/spawn_faction_addclose.c
9426 (__posix_spawn_file_actions_addclose): Add hidden definition.
9427 * posix/spawn_faction_adddup2.c
9428 (__posix_spawn_file_actions_adddup2): Likewise.
9429 * posix/spawn_faction_destroy.c
9430 (__posix_spawn_file_actions_destroy): Likewise.
9431 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9432 Likewise.
9433 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9434 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9435 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9436 Likewise.
9437 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9438 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9439 Likewise.
9440
2954daf0
AS
94412018-10-24 Andreas Schwab <schwab@suse.de>
9442
9443 [BZ #18093]
9444 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9445 format cache.
9446 * elf/cache.c (print_cache): Likewise.
9447
6b5c8607 94482018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
9449
9450 * bits/timesize.h: New file.
9451 * stdlib/Makefile (headers): Add bits/timesize.h.
9452 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9453 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9454 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9455 (__SEM_PAD_AFTER_TIME): Likewise.
9456 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9457 (__SHM_PAD_AFTER_TIME): Likewise.
9458 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9459 (__MSQ_PAD_BEFORE_TIME): Likewise.
9460 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9461 (__SEM_PAD_BEFORE_TIME): Likewise.
9462 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9463 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9464 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
9465 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9466 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9467 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
9468 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9469 (__SEM_PAD_BEFORE_TIME): Likewise.
9470 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9471 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9472 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9473 (__MSQ_PAD_BEFORE_TIME): Likewise.
9474 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9475 (__SEM_PAD_BEFORE_TIME): Likewise.
9476 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9477 (__SHM_PAD_BEFORE_TIME): Likewise.
9478 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9479 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9480 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9481
7cc65773
L
94822018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9483
9484 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9485 USE_RDTSCP is defined.
9486 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9487 USE_RDTSCP is defined.
9488
c3d8dc45
AZ
94892018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9490
18ad0de6
AZ
9491 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9492 defined.
9493
c3d8dc45
AZ
9494 [BZ #23709]
9495 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9496 independently of other flags.
9497
f1034472
FW
94982018-10-23 Florian Weimer <fweimer@redhat.com>
9499
9500 * time/tst-mktime2.c (N_STRINGS): Remove.
9501 (set_timezone): New function.
9502 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9503 (mktime_test1): Report localtime failure and check errno value.
9504 Use TEST_COMPARE.
9505 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9506 (do_test): Remove alarm call. Use set_timezone and array_length.
9507
367d7cc2
AS
95082018-10-23 Andreas Schwab <schwab@suse.de>
9509
9510 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9511 (__start_context): Use END instead of PSEUDO_END.
9512
be8ff03f
JM
95132018-10-22 Joseph Myers <joseph@codesourcery.com>
9514
029ad711
JM
9515 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9516 version to 4.19.
9517
8190520f
JM
9518 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9519 version to 4.19.
9520
be8ff03f
JM
9521 [BZ #23793]
9522 * wcsmbs/c32rtomb.c: New file.
9523 * wcsmbs/mbrtoc32.c: Likewise.
9524 * wcsmbs/tst-c32-state.c: Likewise.
9525 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9526 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9527 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9528 (tests): Add tst-c32-state.
9529 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9530 $(gen-locales).
9531
2dd8e58c
L
95322018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9535 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9536
d0a74159
JM
95372018-10-19 Joseph Myers <joseph@codesourcery.com>
9538
9539 [BZ #23794]
9540 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9541 pair and return 0 in that case, and use saved character to
9542 interpret following character.
9543 * wcsmbs/tst-c16-surrogate.c: New file.
9544 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9545 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9546 Depend on $(gen-locales)
9547
f997b4be
IYM
95482018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9549
9550 [BZ #23562]
9551 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9552 (struct siginfo_t): Use correct type for si_band.
9553
53b2bb87
FW
95542018-10-19 Florian Weimer <fweimer@redhat.com>
9555
9556 [BZ #23689]
9557 * resource/bits/types/struct_rusage.h (struct rusage): Update
9558 comment on struct. Remove extraneous field comment.
9559
0a271c8f
DM
95602018-10-18 David S. Miller <davem@davemloft.net>
9561
94a3a27f
DM
9562 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9563 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9564 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9565 sysdep_routines in subdir elf.
9566 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9567 version for __vdso_clock_gettime.
9568 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9569 Define.
9570 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9571 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9572
0a271c8f
DM
9573 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9574
72771e53
L
95752018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9576
9577 * sysdeps/i386/init-arch.h: Removed.
9578 * sysdeps/i386/i586/init-arch.h: Likewise.
9579 * sysdeps/i386/i686/init-arch.h: Likewise.
9580 * sysdeps/i386/i686/hp-timing.h: Likewise.
9581 * sysdeps/x86_64/hp-timing.h: Likewise.
9582 * sysdeps/i386/isa.h: New file.
9583 * sysdeps/i386/i586/isa.h: Likewise.
9584 * sysdeps/i386/i686/isa.h: Likewise.
9585 * sysdeps/x86_64/isa.h: Likewise.
9586 * sysdeps/x86/hp-timing.h: New file.
9587 * sysdeps/x86/init-arch.h: Include <isa.h>.
9588
c2b7ccad
JM
95892018-10-17 Joseph Myers <joseph@codesourcery.com>
9590
9591 * math/libm-test-pow.inc (pow_test_data): Do not allow
9592 divide-by-zero exception for pow(+/- 0, -Inf).
9593
26756e57
ZW
95942018-10-17 Zack Weinberg <zackw@panix.com>
9595
9596 * manual/job.texi (Job Control is Optional): Remove node, as
9597 job control has not been optional in quite some time.
9598 (Job Control): Mention briefly that systems older than
9599 POSIX.1-2001 might not support job control.
9600 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9601 defined on systems conforming to POSIX.1-2001.
9602
c5288d37
AS
96032018-10-17 Arjun Shankar <arjun@redhat.com>
9604
9605 [BZ #22062]
9606 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9607 indentation.
9608 * (__gconv_read_conf): Mark function static.
9609 * (once): New static variable.
9610 * (__gconv_load_conf): New function.
9611 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9612 * iconv/gconv_db.c (once): Remove static variable.
9613 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9614 __gconv_read_conf.
9615 * (__gconv_find_transform): Likewise.
9616 * iconv/tst-iconv-mt.c: New test.
9617 * iconv/Makefile: Add tst-iconv_mt.
9618
8c8d2a8a
JM
96192018-10-17 Joseph Myers <joseph@codesourcery.com>
9620
9621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
9622 bits/shm-pad.h.
9623 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9624 (shmatt_t): Define as __syscall_ulong_t.
9625 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9626 and [__SHM_PAD_AFTER_TIME].
9627 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9628 Define shm_segsz and associated padding based on
9629 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9630 Use __syscall_ulong_t instead of unsigned long int.
9631 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9632 unsigned long int.
9633 [__USE_MISC] (struct shm_info): Likewise.
9634 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9635 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9636 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9637 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9638 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9639 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9640 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9641 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9642 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9643 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9644 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9645
9646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
9647 bits/shmlba.h.
9648 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9649 (SHMLBA): Remove macro.
9650 (__getpagesize): Remove function declaration.
9651 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9652 <bits/shmlba.h>.
9653 (SHMLBA): Remove macro.
9654 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9655 <bits/shmlba.h>.
9656 (SHMLBA): Remove macro.
9657 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9658 <bits/shmlba.h>.
9659 (SHMLBA): Remove macro.
9660 (__getpagesize): Remove function declaration.
9661 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9662 <bits/shmlba.h>.
9663 (SHMLBA): Remove macro.
9664 (__getshmlba): Remove function declaration.
9665 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9666 (SHMLBA): Remove macro.
9667 (__getpagesize): Remove function declaration.
9668 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9669 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9670 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9671 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9672 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9673 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9674 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9675 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9676 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9678
403b4feb
SL
96792018-10-17 Stefan Liebler <stli@linux.ibm.com>
9680
9681 [BZ #23275]
9682 * nptl/tst-mutex10.c: New File.
9683 * nptl/Makefile (tests): Add tst-mutex10.
9684 (tst-mutex10-ENV): New variable.
9685 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9686 Ensure that elision path is used if elision is available.
9687 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9688 Likewise.
9689 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9690 Likewise.
9691 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9692 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9693 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9694 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9695 Likewise.
9696 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9697 (__pthread_mutex_cond_lock_adjust): Likewise.
9698 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9699 Likewise.
9700 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9701 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9702 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9703 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9704 Add comments.
9705 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9706 Use atomic_load_relaxed and atomic_store_relaxed.
9707 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9708 Use atomic_store_relaxed.
9709
ce5a7de6
AS
97102018-10-17 Andreas Schwab <schwab@suse.de>
9711
9712 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9713 * crypt/badsalttest.c (TIMEOUT): Likewise.
9714 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9715 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9716 * io/test-lfs.c (TIMEOUT): Likewise.
9717 * libio/tst-atime.c (TIMEOUT): Likewise.
9718 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9719 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9720 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9721 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9722 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9723 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9724 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9725 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9726 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9727 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9728 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9729 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9730 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9731 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9732 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9733 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9734 * nptl/tst-once2.c (TIMEOUT): Likewise.
9735 * nptl/tst-once3.c (TIMEOUT): Likewise.
9736 * nptl/tst-once4.c (TIMEOUT): Likewise.
9737 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9738 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9739 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9740 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9741 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9742 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9743 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9744 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9745 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9746 * posix/tst-chmod.c (TIMEOUT): Likewise.
9747 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9748 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9749 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9750 * posix/tst-regex2.c (TIMEOUT): Likewise.
9751 * posix/tst-waitid.c (TIMEOUT): Likewise.
9752 * rt/tst-aio.c (TIMEOUT): Likewise.
9753 * rt/tst-aio10.c (TIMEOUT): Likewise.
9754 * rt/tst-aio4.c (TIMEOUT): Likewise.
9755 * rt/tst-aio5.c (TIMEOUT): Likewise.
9756 * rt/tst-aio6.c (TIMEOUT): Likewise.
9757 * rt/tst-aio64.c (TIMEOUT): Likewise.
9758 * rt/tst-aio7.c (TIMEOUT): Likewise.
9759 * rt/tst-aio9.c (TIMEOUT): Likewise.
9760 * rt/tst-clock.c (TIMEOUT): Likewise.
9761 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9762 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9763 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9764 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9765 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9766 * rt/tst-timer4.c (TIMEOUT): Likewise.
9767 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9768 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9769 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9770 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9771 * time/tst-ftime.c (TIMEOUT): Likewise.
9772 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9773
6b5c8607 97742018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
9775
9776 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9777 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9778 for thunderX2.
9779
bcdb1bfa
JM
97802018-10-15 Joseph Myers <joseph@codesourcery.com>
9781
9782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9783 bits/sem-pad.h.
9784 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9785 instead of <bits/wordsize.h>.
9786 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9787 and [__SEM_PAD_AFTER_TIME].
9788 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9789 __syscall_ulong_t instead of unsigned long int.
9790 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9791 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9792 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9794 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9795 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9796 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9797 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9798 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9799 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9800 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9801
f4efbdfb
PE
98022018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9803
620a5d4c
PE
9804 regex: simplify by using intprops.h
9805 [BZ#23744]
9806 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9807 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9808 intprops.h defines them.
9809
f4efbdfb
PE
9810 regex: __builtin_expect → __glibc_unlikely
9811 [BZ#23744]
9812 This refactoring was prompted by a problem when the regex code is
9813 used as part of Gnulib and when the builder’s compiler does not grok
9814 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9815 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9816 Although this refactoring does not fix the problem directly,
9817 we might as well have Gawk use the now-preferred glibc style for when
9818 __builtin_expect is unavailable.
9819 * posix/regex_internal.h (BE): Remove.
9820 All uses replaced by __glibc_unlikely or __glibc_likely.
9821
9f9feb6d
JM
98222018-10-11 Joseph Myers <joseph@codesourcery.com>
9823
9824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9825 bits/msq-pad.h.
9826 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9827 instead of <bits/wordsize.h>.
9828 (msgqnum_t): Define as __syscall_ulong_t.
9829 (msglen_t): Likewise.
9830 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9831 and [__MSQ_PAD_AFTER_TIME].
9832 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9833 __syscall_ulong_t instead of unsigned long int.
9834 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9835 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9836 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9837 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9838 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9839 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9840 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9841 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9842 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9843 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9844 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9845
b9c0f6c1
JM
98462018-10-10 Joseph Myers <joseph@codesourcery.com>
9847
2a4b25fa
JM
9848 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9849 (struct shmid_ds): Condition padding after time fields on
9850 [__WORDSIZE == 32].
9851 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9852 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9853 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9854
19e62f26
JM
9855 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9856 (struct semid_ds): Condition padding after time fields on
9857 [__WORDSIZE == 32].
9858 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9859 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9860 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9861 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9862
b9c0f6c1
JM
9863 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9864 (struct msqid_ds): Condition padding after time fields on
9865 [__WORDSIZE == 32].
9866 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9867 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9868 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9869 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9870
97785a61
SN
98712018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9872
9873 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9874
ed643089
SN
98752018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9876
9877 * libio/tst-readline.c (TIMEOUT): Define.
9878
5a580643
PE
98792018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9880
9881 mktime fix for Gnulib + coreutils
9882 [BZ#23745]
9883 This fix affects only Gnulib. Problem discovered when
9884 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9885 * time/mktime.c:
9886 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9887 Do not define since it is not used. Defining an unused static
9888 function prompts a warning from GCC when Coreutils is configured
9889 with --enable-gcc-warnings.
9890
c892ae04
LS
98912018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9892
9893 * benchtests/scripts/compare_bench.py (main): set float type on
9894 threshold argument.
9895
a68ec8ea
RL
98962018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9897
9898 [BZ #23740]
9899 * localedata/locales/kl_GL (mon): Update, the relative case.
9900 (alt_mon): Add, fill with month names in the nominative case.
9901 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9902 (d_fmt): Set to "%b %d %Y".
9903
a1987621
JM
99042018-10-04 Joseph Myers <joseph@codesourcery.com>
9905
47c49251
JM
9906 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9907 <bits/mman-linux.h>.
9908 (PROT_READ): Don't define here.
9909 (PROT_WRITE): Likewise.
9910 (PROT_EXEC): Likewise.
9911 (PROT_NONE): Likewise.
9912 (PROT_GROWSDOWN): Likewise.
9913 (PROT_GROWSUP): Likewise.
9914 (MAP_SHARED): Likewise.
9915 (MAP_PRIVATE): Likewise.
9916 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9917 [__USE_MISC] (MAP_FILE): Likewise.
9918 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9919 [__USE_MISC] (MAP_ANON): Likewise.
9920 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9921 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9922 (MCL_CURRENT): Likewise.
9923 (MCL_FUTURE): Likewise.
9924 (MCL_ONFAULT): Likewise.
9925 [__USE_MISC] (MADV_NORMAL): Likewise.
9926 [__USE_MISC] (MADV_RANDOM): Likewise.
9927 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9928 [__USE_MISC] (MADV_WILLNEED): Likewise.
9929 [__USE_MISC] (MADV_DONTNEED): Likewise.
9930 [__USE_MISC] (MADV_FREE): Likewise.
9931 [__USE_MISC] (MADV_REMOVE): Likewise.
9932 [__USE_MISC] (MADV_DONTFORK): Likewise.
9933 [__USE_MISC] (MADV_DOFORK): Likewise.
9934 [__USE_MISC] (MADV_HWPOISON): Likewise.
9935 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9936 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9937 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9938 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9939 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9940 (__MAP_ANONYMOUS): New macro.
9941 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9942 <bits/mman-linux.h> inclusion.
9943 (MAP_FIXED): Likewise.
9944 (MS_SYNC): Likewise.
9945 (MS_ASYNC): Likewise.
9946 (MS_INVALIDATE): Likewise.
9947 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9948 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9949 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9950 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9951 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9952 [__USE_MISC] (MADV_DODUMP): Likewise.
9953 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9954 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9955
a1987621
JM
9956 [BZ #23735]
9957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9958 Define.
9959 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9960 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9961 Add test-nldbl-redirect.
9962 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9963 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9964 $(objpfx)libnldbl_nonshared.a.
9965
e7624d70
SL
99662018-10-04 Stefan Liebler <stli@linux.ibm.com>
9967
9968 * support/support.h (support_objdir_elf_ldso): New variable.
9969 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9970 * support/Makefile (CFLAGS-support_paths.c): Add definition
9971 for OBJDIR_ELF_LDSO_PATH.
9972 * support/test-container.c (main): Search for the ld.so
9973 which is also used by the testsuite.
9974
dae3ed95
RL
99752018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9976
9977 [BZ #20209]
9978 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9979 should be "sap" rather than "sab".
9980 (day): Fix spelling of Sunday, should be "sapaat" rather than
9981 "sabaat".
9982
f346b5b3
JM
99832018-10-02 Joseph Myers <joseph@codesourcery.com>
9984
9985 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9986
4a06ceea
MJ
99872018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9988
9989 [BZ #19444]
9990 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9991 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9992 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9993
a06fc4a5
AZ
99942018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9995
9996 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9997
a1ccc065
L
99982018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9999
10000 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10001 Add -mrtm.
10002 (CFLAGS-elision-unlock.c): Likewise.
10003 (CFLAGS-elision-timed.c): Likewise.
10004 (CFLAGS-elision-trylock.c): Likewise.
10005 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10006
0b727ed4
AZ
100072018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10008
10009 [BZ #21037]
10010 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10011 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10012 new fd_to_filename interface.
10013 * libio/freopen64.c (freopen64): Likewise.
10014 * libio/tst-memstream.h: New file.
10015 * libio/tst-memstream4.c: Likewise.
10016 * libio/tst-wmemstream4.c: Likewise.
10017 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10018 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10019 and remove internal dynamic allocation.
10020
d0e91e8c
JM
100212018-10-01 Joseph Myers <joseph@codesourcery.com>
10022
10023 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10024 (MREMAP_MAYMOVE): Do not define here.
10025 [__USE_GNU] (MREMAP_FIXED): Likewise.
10026 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10027 (MREMAP_MAYMOVE): Define here instead.
10028 [__USE_GNU] (MREMAP_FIXED): Likewise.
10029 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10030 (MREMAP_MAYMOVE): Remove.
10031 [__USE_GNU] (MREMAP_FIXED): Likewise.
10032
c52944e8
JM
100332018-09-28 Joseph Myers <joseph@codesourcery.com>
10034
10035 * math/fromfp.h: Do not include <math_private.h>.
10036 * math/s_cacosh_template.c: Likewise.
10037 * math/s_casin_template.c: Likewise.
10038 * math/s_casinh_template.c: Likewise.
10039 * math/s_ccos_template.c: Likewise.
10040 * math/s_cproj_template.c: Likewise.
10041 * math/s_fdim_template.c: Likewise.
10042 * math/s_fmaxmag_template.c: Likewise.
10043 * math/s_fminmag_template.c: Likewise.
10044 * math/s_iseqsig_template.c: Likewise.
10045 * math/s_ldexp_template.c: Likewise.
10046 * math/s_nextdown_template.c: Likewise.
10047 * math/w_log1p_template.c: Likewise.
10048 * math/w_scalbln_template.c: Likewise.
10049 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10050 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10051 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10052 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10053 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10054 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10055 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10056 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10057 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10058 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10059 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10060 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10061 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10062 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10063 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10064 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10065 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10070 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10071 * sysdeps/ieee754/k_standardf.c: Likewise.
10072 * sysdeps/ieee754/k_standardl.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10075 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10081 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10082 * sysdeps/ieee754/s_signgam.c: Likewise.
10083 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10084 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10085 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10086 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10087 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10088 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10089 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10090 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10091 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10092 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10093 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10094 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10095 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10096 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10097 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10098 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10099 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10100 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10101 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10102 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10103 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10104 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10105 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10106 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10107 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10108 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10109 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10110 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10111 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10112 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10113 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10114 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10115 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10116 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10117 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10118 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10119 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10120 <math_private.h>.
10121 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10122
7b1f9406
L
101232018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10124
10125 [BZ #23716]
10126 * sysdeps/i386/dl-cet.c: Removed.
10127 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10128 prototype.
10129 (_dl_runtime_profile_shstk): Likewise.
10130 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10131 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10132
7a16bdbb
AZ
101332018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10134
10135 [BZ #23579]
10136 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10137 do_test_with_invalid_iov): New tests.
10138 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10139 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10140 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10141 errno is ENOSYS.
10142 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10143 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10144 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10145
9755bc46
JM
101462018-09-27 Joseph Myers <joseph@codesourcery.com>
10147
81dca813
JM
10148 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10149 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10150 (MATH_REDIRECT_BINARY_ARGS): New macro.
10151 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10152 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10153 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10154 header inclusion.
10155 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10157 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10158 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10163 Likewise.
10164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10165 Likewise.
10166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10168 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10169 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10171 Likewise.
10172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10173 Likewise.
10174 * sysdeps/generic/math_private_calls.h
10175 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10176 Do not declare and define as an inline function.
10177 * math/divtc3.c (__divtc3): Use copysign functions instead of
10178 __copysign variants.
10179 * math/multc3.c (__multc3): Likewise.
10180 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10181 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10182 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10183 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10184 Likewise.
10185 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10186 (__ieee754_yn): Likewise.
10187 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10188 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10189 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10190 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10191 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10192 (__sin): Likewise.
10193 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10194 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10195 Likewise.
10196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10197 Likewise.
10198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10199 Likewise.
10200 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10201 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10202 Likewise.
10203 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10204 (__ieee754_ynf): Likewise.
10205 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10206 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10207 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10209 Likewise.
10210 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10211 (__ieee754_ynl): Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10214 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10215 Likewise.
10216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10217 (__ieee754_ynl): Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10221 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10222 Likewise.
10223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10224 (__ieee754_ynl)
10225 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10226 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10227 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10228 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10229 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10230
9755bc46
JM
10231 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10232 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10233 using MATH_REDIRECT.
10234 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10235 header inclusion.
10236 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10239 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10240 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10247 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10248 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10250 (round): Redirect to __round.
10251 (__roundl): Call round instead of __round.
10252 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10253 Remove macro.
10254 [_ARCH_PWR5X] (__roundf): Likewise.
10255 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10256 functions instead of __round variants.
10257 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10259 Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10261 Likewise.
10262 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10263 Likewise.
10264 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10266 __lroundl.
10267 (__ieee754_expl): Call roundl instead of __roundl.
10268
f841c97e
AS
102692018-09-27 Andreas Schwab <schwab@suse.de>
10270
10271 [BZ #23717]
10272 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10273 (do_test): Make st1 static.
10274
6ca8284e
AS
102752018-09-26 Andreas Schwab <schwab@suse.de>
10276
10277 [BZ #23707]
10278 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10279 * elf/Makefile (tests): Add tst-unwind-ctor.
10280 (modules-names): Add tst-unwind-ctor-lib.
10281 ($(objpfx)tst-unwind-ctor): Depend on
10282 $(objpfx)tst-unwind-ctor-lib.so.
10283
61d8b5fe
JM
102842018-09-26 Joseph Myers <joseph@codesourcery.com>
10285
10286 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10287 file. Most contents moved from ....
10288 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10289 and include <bits/mman-map-flags-generic.h>.
10290 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10291 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10292 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10293 <bits/mman-map-flags-generic.h>.
10294 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10295 macros defined in <bits/mman-map-flags-generic.h>.
10296 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10297 <bits/mman-map-flags-generic.h>.
10298 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10299 defined in <bits/mman-map-flags-generic.h>.
10300
46341286
AS
103012018-09-26 Andreas Schwab <schwab@suse.de>
10302
10303 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10304 output.
10305
b5c45e83
AZ
103062018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10307 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10308 Fangrui Song <maskray@google.com>
10309
10310 [BZ #20480]
10311 * config.make.in (have-textrel_ifunc): New define.
10312 * configure.ac: Add check if linker supports textrel relocation with
10313 ifunc.
10314 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10315 tst-ifunc-textrel.
10316 (CFLAGS-tst-ifunc-textrel.c): New rule.
10317 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10318 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10319 * elf/tst-ifunc-textrel.c: New file.
10320
8ea4d2b7
JM
103212018-09-25 Joseph Myers <joseph@codesourcery.com>
10322
d62f9ec0
JM
10323 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10324 <bits/procfs-prregset.h>.
10325 (prgregset_t): Define using __prgregset_t.
10326 (prfpregset_t): Define using __prfpregset_t.
10327 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10328 (sysdep_headers): Add bits/procfs-prregset.h.
10329 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10330 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10331 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10332 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10333
d0d8eb43
JM
10334 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10335 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10336 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10337 pr_uid and pr_gid.
10338 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10339 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10340 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10341 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10342 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10343 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10344 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10345 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10346 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10347 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10348 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10349 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10350 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10351 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10352 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10353 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10354 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10355 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10356 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10357 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10358 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10359 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10360 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10361 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10362
8ea4d2b7
JM
10363 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10364 AArch64 version. Include <bits/procfs.h>.
10365 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10366 (sysdep_headers): Add bits/procfs.h.
10367 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10368 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10369 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10370 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10371 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10372 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10373 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10374 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10375 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10376 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10377 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10378 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10379 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10380 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10381 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10382 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10383 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10384
c7027166
AZ
103852018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10386
10387 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10388 Use libsupport.
10389
335a3b0a
AS
103902018-09-25 Arjun Shankar <arjun@redhat.com>
10391
10392 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10393 (__gconv_max_path_elem_len): Likewise.
10394 (__gconv_nmodules): Likewise.
10395 (__gconv_get_path): Likewise.
10396 (path_elem): Move to ...
10397 * iconv/gconv_conf.c: ... here.
10398 (__gconv_get_path): Mark function static.
10399 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10400 * iconv/gconv_open.c: ... here.
10401
462d348c
AS
104022018-09-24 Andreas Schwab <schwab@suse.de>
10403
10404 * scripts/haveversions.awk: New file.
10405 * Makerules ($(common-objpfx)Versions.def)
10406 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10407 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10408 Move rules ...
10409 * Makeconfig ($(common-objpfx)Versions.def)
10410 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10411 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10412 ... here.
10413 ($(common-objpfx)Versions.mk): New rule. Include it.
10414 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10415 Emit error if build-obsolete-nsl = yes.
10416 * manual/install.texi (Configuring and compiling): Describe
10417 --enable-obsolete-nsl as unavaiable after version 2.28.
10418 * INSTALL: Regenerate.
10419
f0458cf4
AZ
104202018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10421
10422 * NEWS: Add note about new TLE support on powerpc64le.
10423 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10424 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10425 __ununsed1.
10426 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10427 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10428 * sysdeps/powerpc/powerpc32/sysdep.h,
10429 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10430 ABORT_TRANSACTION): Remove macros.
10431 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10432 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10433 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10435 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10436 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10437 usage.
10438 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10439
434d45fd
RL
104402018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10441
10442 [BZ #10425]
10443 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10444 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10445 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10446 which is the same as in it_IT.
10447 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10448 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10449
d90c9b1a
JM
104502018-09-20 Joseph Myers <joseph@codesourcery.com>
10451
7abf97be
JM
10452 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10453 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10454 using MATH_REDIRECT.
10455 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10456 header inclusion.
10457 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10459 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10461 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10467 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10468 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10469 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10470 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10471 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10472 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10473 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10475 (ceil): Redirect to __ceil.
10476 (floor): Redirect to __floor.
10477 (trunc): Redirect to __trunc.
10478 (__truncl): Call trunc instead of __trunc.
10479 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10480 Remove macro.
10481 [_ARCH_PWR5X] (__truncf): Likewise.
10482 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10483 trunc functions instead of __trunc variants.
10484 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10485 Likewise.
10486 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10487 Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10489 Likewise.
10490 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10491 Likewise.
10492
d90c9b1a
JM
10493 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10494 [__i586__ || __pentium__].
10495 [__i486__]: Handle explicitly.
10496 (HAS_CPUID): Define to 1 if above macros are undefined.
10497 (HAS_I586): Likewise.
10498 (HAS_I686): Likewise.
10499
db9a8ad4
FW
105002018-09-20 Florian Weimer <fweimer@redhat.com>
10501
10502 * misc/tst-gethostid.c: New file.
10503 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10504 (tst-gethostid): Link with -ldl.
10505
1214ba06
MY
105062018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10507
10508 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10509 value from gethostbyname_r.
10510
791b350d
CD
105112018-09-19 Carlos O'Donell <carlos@redhat.com>
10512
10513 * stdlib/tst-setcontext9.c (f1): Rename to...
10514 (f1a): ... this.
10515 (f1b): New function implementing lower half of f1 in alternate stack.
10516
8e6fd2bd
PE
105172018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10518
e1080e7e
PE
10519 Fix mktime localtime offset confusion
10520 [BZ #23603]
10521 * include/time.h (__mktime_internal): The localtime offset is now
10522 of type long int instead of time_t. This is the longstanding type
10523 in glibc, and it is more than enough to represent difference
10524 between localtime and gmtime even if it is 32 bits and time_t is
10525 64. Changing it now will let us avoid an unnecessary change when
10526 time_t is widened to 64 bits on 32-bit platforms.
10527 * time/mktime-internal.h (mktime_offset_t): Now long int.
10528
8e6fd2bd
PE
10529 Merge mktime, timegm from upstream Gnulib
10530 [BZ #23603][BZ #16346]
10531 This fixes some obscure problems with integer overflow.
10532 Although it looks scary, it is almost all a byte-for-byte copy
10533 from Gnulib, and the Gnulib code has been tested reasonably well.
10534 * include/intprops.h: New file, copied from Gnulib.
10535 * include/verify.h, time/mktime-internal.h:
10536 New tiny files, simplified from Gnulib.
10537 * time/mktime.c: Copy from Gnulib. This has the following changes:
10538 Do not include config.h if DEBUG_MKTIME is nonzero.
10539 Include stdbool.h, intprops.h, verify.h.
10540 Include string.h only if needed.
10541 Include stdlib.h on MS-Windows.
10542 Include mktime-internal.h.
10543 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10544 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10545 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10546 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10547 simplify later conditionals; default the others to zero. Use
10548 these conditionals to express only the code needed on the current
10549 platform. In uses of these conditionals, explicitly spell out how
10550 _LIBC affects things, so it’s easier to review from a glibc
10551 viewpoint.
10552 (WRAPV): Remove; no longer needed now that we have
10553 systematic overflow checking.
10554 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10555 compartmentalize tzset issues. Move system-dependent tzsettish
10556 code here from mktime.
10557 (verify): Remove; now done by verify.h. All uses changed.
10558 (long_int): Use a more-conservative definition, to avoid
10559 integer overflow.
10560 (SHR): Remove, replacing with ...
10561 (shr): New function, which means we needn’t worry about side
10562 effects in args, and conversion analysis is simpler.
10563 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10564 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10565 (time_t_avg, time_t_add_ok): Remove.
10566 (mktime_min, mktime_max): New constants.
10567 (leapyear, isdst_differ): Use bool for booleans.
10568 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10569 Use long_int, not time_t, for mktime differences.
10570 (long_int_avg): New function, replacing time_t_avg.
10571 INT_ADD_WRAPV replaces time_t_add_ok.
10572 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10573 All uses changed.
10574 (convert_time): New function.
10575 (ranged_convert): Use it.
10576 (__mktime_internal): Last arg now points to mktime_offset_t, not
10577 time_t. All uses changed. This is a no-op on glibc, where
10578 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10579 offset guess. Directly check for integer overflow instead of
10580 using a heuristic that works only 99.9...% of the time.
10581 Access *OFFSET only once, to avoid an unlikely race if the
10582 compiler delays a load and if this cascades into a signed integer
10583 overflow.
10584 (mktime): Move tzsettish code to my_tzset, and move
10585 localtime_offset to within mktime so that it doesn’t
10586 need a separate ifdef.
10587 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10588 instead of localtime.
10589 * time/timegm.c: Copy from Gnulib. This has the following changes:
10590 Include mktime-internal.h.
10591 [!_LIBC]: Include config.h and time.h. Do not include
10592 timegm.h or time_r.h. Make __mktime_internal a macro,
10593 and include mktime-internal.h to get its declaration.
10594 (timegm): Temporary is now mktime_offset_t, not time_t.
10595 This affects only Gnulib.
10596
83a552b0
WD
105972018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10598
10599 [BZ #23637]
10600 * string/test-strstr.c (pr23637): New function.
10601 (test_main): Add tests with longer needles.
10602 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10603 * string/strstr.c (AVAILABLE): Likewise.
10604
d7347278
SN
106052018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10606
10607 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10608
424c4f60
SN
106092018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10610
10611 * NEWS: Mention pow improvements.
10612 * math/Makefile (type-double-routines): Add e_pow_log_data.
10613 * sysdeps/generic/math_private.h (__exp1): Remove.
10614 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10615 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10616 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10617 contraction.
10618 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10619 (exp_inline): Remove.
10620 (__ieee754_exp): Only single double input is handled.
10621 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10622 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10623 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10624 (__pow_log_data): Define.
10625 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10626 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10627 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10628 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10629 contraction.
10630 (CFLAGS-e_pow-fma4.c): Likewise.
10631
e4e4fde5
PE
106322018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10633
dab9c348
PE
10634 Simplify tzfile fstat failure code
10635 [BZ #21716]
10636 * time/tzfile.c (__tzfile_read): Simplify slightly.
10637
e4e4fde5
PE
10638 Fix tzfile low-memory assertion failure
10639 [BZ #21716]
10640 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10641 when registering time zone abbreviations.
10642
50bc59ca
JM
106432018-09-18 Joseph Myers <joseph@codesourcery.com>
10644
d3a43e49
JM
10645 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10646 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10647 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10648 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10649 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10650 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10651 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10652 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10654
50bc59ca
JM
10655 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10656 __ceil.
10657 (__ceill): Call ceil instead of __ceil.
10658 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10659 __floor.
10660 (__floorl): Call floor instead of __floor.
10661
89983cb3
JM
106622018-09-17 Joseph Myers <joseph@codesourcery.com>
10663
71223ef9
JM
10664 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10665 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10666 using MATH_REDIRECT.
10667 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10668 header inclusion.
10669 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10672 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10673 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10674 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10675 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10676 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10681 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10682 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10685 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10686 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10687 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10688 Remove macro.
10689 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10690 functions instead of __ceil variants.
10691 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10692 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10693 Likewise.
10694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10695 Likewise.
10696 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10697 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10698 Likewise.
10699 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10700 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10701
89983cb3
JM
10702 [BZ #21286]
10703 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10704 constant.
10705 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10706 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10707 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10708 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10709 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10710 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10711 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10712 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10713 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10714 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10715 (ILL_BADIADDR): Remove constant.
10716 (TRAP_BRANCH): Likewise.
10717 (TRAP_HWBKPT): Likewise.
10718
e44acb20
JM
107192018-09-14 Joseph Myers <joseph@codesourcery.com>
10720
3f7f1d18
JM
10721 [BZ #23656]
10722 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10723 Remove [_MIPS_SIM = _ABIN32] conditional case.
10724 (struct elf_prpsinfo): Likewise.
10725
d59f3e5e
JM
10726 [BZ #23649]
10727 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10728 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10729 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10730 Likewise.
10731 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10732 elf_prpsinfo): Likewise.
10733 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10734 elf_prpsinfo): Likewise.
10735 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10736 Likewise.
10737
f29b6f17
JM
10738 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10739 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10740 using MATH_REDIRECT.
10741 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10742 header inclusion.
10743 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10744 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10745 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10746 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10749 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10750 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10753 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10754 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10755 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10756 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10757 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10758 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10759 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10760 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10761 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10766 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10767 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10768 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10769 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10770 __rint variants.
10771 * math/e_scalbf.c (invalid_fn): Likewise.
10772 * math/e_scalbl.c (invalid_fn): Likewise.
10773 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10774 Likewise.
10775 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10776 Likewise.
10777 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10778 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10779 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10780 Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10782 Likewise.
10783 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10784 Likewise.
10785 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10786 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10787
e44acb20
JM
10788 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10789 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10790 New macro.
10791 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10792 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10793 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10794 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10795 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10796 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10797 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10798 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10799 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10800 && !NO_MATH_REDIRECT] (floor): Likewise.
10801 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10802 header inclusion.
10803 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10806 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10810 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10815 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10816 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10819 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10820 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10821 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10822 Remove macro.
10823 [_ARCH_PWR5X] (__floorf): Likewise.
10824 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10825 inline function.
10826 [__SSE4_1__] (__floorf): Likewise.
10827 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10828 instead of __floor variants.
10829 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10830 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10831 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10832 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10833 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10834 * math/w_tgamma_compat.c (__tgamma): Likewise.
10835 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10836 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10837 * math/w_tgammal_compat.c (__tgammal): Likewise.
10838 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10839 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10840 Likewise.
10841 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10842 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10843 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10844 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10845 Likewise.
10846 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10847 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10848 Likewise.
10849 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10851 Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10854 Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10857 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10858 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10859 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10860 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10861
221e4bab
JM
108622018-09-12 Joseph Myers <joseph@codesourcery.com>
10863
10864 * elf/Makefile (modules-names-tests): New variable.
10865
3e08ff54
SN
108662018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10867
10868 * NEWS: Mention log2 improvements.
10869 * math/Makefile (type-double-routines): Add e_log2_data.
10870 * sysdeps/i386/fpu/e_log2_data.c: New file.
10871 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10872 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10873 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10874 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10876 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10877
f41b0a43
SN
108782018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10879
10880 * NEWS: Mention log improvement.
10881 * math/Makefile (type-double-routines): Add e_log_data.
10882 * sysdeps/i386/fpu/e_log_data.c: New file.
10883 * sysdeps/ia64/fpu/e_log_data.c: New file.
10884 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10885 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10886 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10887 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10888 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10889 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10890
5a274db4
L
108912018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10892 Xuepeng Guo <xuepeng.guo@intel.com>
10893
10894 [BZ #23606]
10895 * sysdeps/i386/start.S: Include <sysdep.h>
10896 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10897 enabled. Add cfi_undefined (eip).
10898
b1176270
JM
108992018-09-11 Joseph Myers <joseph@codesourcery.com>
10900
4e7fbdd7
JM
10901 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10902 (MOVQ): Likewise.
10903 (EXTRACT_WORDS64): Likewise.
10904 (INSERT_WORDS64): Likewise.
10905 (GET_FLOAT_WORD): Likewise.
10906 (SET_FLOAT_WORD): Likewise.
10907
b1176270
JM
10908 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10909 argument.
10910 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10911 build, but not for second build if --full-gcc. Use
10912 --enable-languages=all for second build if --full-gcc.
10913 (get_parser): Add --full-gcc option.
10914 (main): Update call to Context.
10915
527f355e
RL
109162018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10917
10918 [BZ #10797]
10919 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10920 Single Quotation Mark).
10921 (thousands_sep): Likewise.
10922 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10923 * localedata/locales/it_IT (thousands_sep): Use ".".
10924 (grouping): Use "3;3".
10925
7244f13d
JM
109262018-09-10 Joseph Myers <joseph@codesourcery.com>
10927
10928 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10929 x86_64 and i686 configs using --enable-obsolete-rpc
10930 --enable-obsolete-nsl.
10931
38245425
SL
109322018-09-06 Stefan Liebler <stli@linux.ibm.com>
10933
10934 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10935
28669f86
SL
109362018-09-06 Stefan Liebler <stli@linux.ibm.com>
10937
10938 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10939 Increment size of new_argv by one.
10940
a33650d1
RL
109412018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10942
10943 [BZ #17426]
10944 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10945 * localedata/locales/ar_IN (d_fmt): Likewise.
10946 * localedata/locales/bhb_IN (d_fmt): Likewise.
10947 * localedata/locales/bho_IN (d_fmt): Likewise.
10948 * localedata/locales/bn_BD (d_fmt): Likewise.
10949 * localedata/locales/bn_IN (d_fmt): Likewise.
10950 * localedata/locales/doi_IN (d_fmt): Likewise.
10951 * localedata/locales/gu_IN (d_fmt): Likewise.
10952 * localedata/locales/hi_IN (d_fmt): Likewise.
10953 * localedata/locales/hne_IN (d_fmt): Likewise.
10954 * localedata/locales/kn_IN (d_fmt): Likewise.
10955 * localedata/locales/mag_IN (d_fmt): Likewise.
10956 * localedata/locales/mai_IN (d_fmt): Likewise.
10957 * localedata/locales/mjw_IN (d_fmt): Likewise.
10958 * localedata/locales/ml_IN (d_fmt): Likewise.
10959 * localedata/locales/mni_IN (d_fmt): Likewise.
10960 * localedata/locales/mr_IN (d_fmt): Likewise.
10961 * localedata/locales/pa_IN (d_fmt): Likewise.
10962 * localedata/locales/raj_IN (d_fmt): Likewise.
10963 * localedata/locales/sat_IN (d_fmt): Likewise.
10964 * localedata/locales/sd_IN (d_fmt): Likewise.
10965 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10966 * localedata/locales/ta_IN (d_fmt): Likewise.
10967 * localedata/locales/ta_LK (d_fmt): Likewise.
10968 * localedata/locales/tcy_IN (d_fmt): Likewise.
10969 * localedata/locales/ur_IN (d_fmt): Likewise.
10970
10971 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10972 * localedata/locales/ks_IN (d_fmt): Likewise.
10973 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10974
10975 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10976 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10977 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10978 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10979
d114e6a7
SN
109802018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10981
10982 * NEWS: Mention exp and exp2 improvements.
10983 * math/Makefile (libm-support): Remove t_exp.
10984 (type-double-routines): Add math_err and e_exp_data.
10985 * sysdeps/aarch64/libm-test-ulps: Update.
10986 * sysdeps/arm/libm-test-ulps: Update.
10987 * sysdeps/i386/fpu/e_exp_data.c: New file.
10988 * sysdeps/i386/fpu/math_err.c: New file.
10989 * sysdeps/i386/fpu/t_exp.c: Remove.
10990 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10991 * sysdeps/ia64/fpu/math_err.c: New file.
10992 * sysdeps/ia64/fpu/t_exp.c: Remove.
10993 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10994 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10995 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10997 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10998 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10999 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11000 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11001 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11002 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11003 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11004 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11005 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11006 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11009
b9d8c474
JM
110102018-09-05 Joseph Myers <joseph@codesourcery.com>
11011
b7cdc2ae
JM
11012 * sysdeps/alpha/fpu/math_private.h: Remove.
11013
b9d8c474
JM
11014 * sysdeps/generic/math_private.h
11015 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11016 Move this inline function ....
11017 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11018 * include/math.h [!_ISOMAC]: To here....
11019
418d99e6
JM
110202018-09-04 Joseph Myers <joseph@codesourcery.com>
11021
11022 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11023 code ....
11024 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11025 * include/fenv.h [!_ISOMAC]: ... to here.
11026 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11027 (feraiseexcept): Likewise.
11028 * math/fromfp.h: Do not include <fenv_private.h>.
11029 * math/s_cexp_template.c: Likewise.
11030 * math/s_csin_template.c: Likewise.
11031 * math/s_csinh_template.c: Likewise.
11032 * math/s_ctan_template.c: Likewise.
11033 * math/s_ctanh_template.c: Likewise.
11034 * math/s_iseqsig_template.c: Likewise.
11035 * math/w_acos_compat.c: Likewise.
11036 * math/w_acosf_compat.c: Likewise.
11037 * math/w_acosl_compat.c: Likewise.
11038 * math/w_asin_compat.c: Likewise.
11039 * math/w_asinf_compat.c: Likewise.
11040 * math/w_asinl_compat.c: Likewise.
11041 * math/w_j0_compat.c: Likewise.
11042 * math/w_j0f_compat.c: Likewise.
11043 * math/w_j0l_compat.c: Likewise.
11044 * math/w_j1_compat.c: Likewise.
11045 * math/w_j1f_compat.c: Likewise.
11046 * math/w_j1l_compat.c: Likewise.
11047 * math/w_jn_compat.c: Likewise.
11048 * math/w_jnf_compat.c: Likewise.
11049 * math/w_log10_compat.c: Likewise.
11050 * math/w_log10f_compat.c: Likewise.
11051 * math/w_log10l_compat.c: Likewise.
11052 * math/w_log2_compat.c: Likewise.
11053 * math/w_log2f_compat.c: Likewise.
11054 * math/w_log2l_compat.c: Likewise.
11055 * math/w_log_compat.c: Likewise.
11056 * math/w_logf_compat.c: Likewise.
11057 * math/w_logl_compat.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11063 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11064 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11065 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11066 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11067 * sysdeps/ieee754/k_standardl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11080 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11081 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11085 * math/w_ilogb_template.c: Include <fenv.h> instead of
11086 <fenv_private.h>.
11087 * math/w_llogb_template.c: Likewise.
11088 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11089 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11090
70e2ba33
JM
110912018-09-03 Joseph Myers <joseph@codesourcery.com>
11092
11093 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11094 * math/fromfp.h: Include <fenv_private.h>.
11095 * math/math-narrow.h: Likewise.
11096 * math/s_cexp_template.c: Likewise.
11097 * math/s_csin_template.c: Likewise.
11098 * math/s_csinh_template.c: Likewise.
11099 * math/s_ctan_template.c: Likewise.
11100 * math/s_ctanh_template.c: Likewise.
11101 * math/s_iseqsig_template.c: Likewise.
11102 * math/w_acos_compat.c: Likewise.
11103 * math/w_acosf_compat.c: Likewise.
11104 * math/w_acosl_compat.c: Likewise.
11105 * math/w_asin_compat.c: Likewise.
11106 * math/w_asinf_compat.c: Likewise.
11107 * math/w_asinl_compat.c: Likewise.
11108 * math/w_ilogb_template.c: Likewise.
11109 * math/w_j0_compat.c: Likewise.
11110 * math/w_j0f_compat.c: Likewise.
11111 * math/w_j0l_compat.c: Likewise.
11112 * math/w_j1_compat.c: Likewise.
11113 * math/w_j1f_compat.c: Likewise.
11114 * math/w_j1l_compat.c: Likewise.
11115 * math/w_jn_compat.c: Likewise.
11116 * math/w_jnf_compat.c: Likewise.
11117 * math/w_llogb_template.c: Likewise.
11118 * math/w_log10_compat.c: Likewise.
11119 * math/w_log10f_compat.c: Likewise.
11120 * math/w_log10l_compat.c: Likewise.
11121 * math/w_log2_compat.c: Likewise.
11122 * math/w_log2f_compat.c: Likewise.
11123 * math/w_log2l_compat.c: Likewise.
11124 * math/w_log_compat.c: Likewise.
11125 * math/w_logf_compat.c: Likewise.
11126 * math/w_logl_compat.c: Likewise.
11127 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11128 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11129 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11130 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11155 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11156 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11157 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11158 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11159 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11160 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11161 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11162 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11163 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11164 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11165 * sysdeps/ieee754/k_standardl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11197 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11202 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11203 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11204 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11205 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11206 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11207 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11208 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11209 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11210 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11211 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11212 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11213 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11214 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11215 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11216 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11217 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11218 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11219 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11220 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11221 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11222 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11223 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11224 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11225 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11226 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11227 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11228 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11229 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11230 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11231 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11232 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11233 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11234 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11235 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11236 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11237
a6e8926f
PP
112382018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11239
11240 [BZ #20271]
11241 * include/stdio.h (__libc_fatal): Mention newline in comment.
11242 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11243 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11244 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11245 * nss/nsswitch.c (__nss_next2): Likewise.
11246 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11247 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11248 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11249 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11250 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11251 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11252 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11253 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11254 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11255 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11256 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11257 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11258 (__netlink_assert_response): Likewise.
11259
2bbd06bc
JM
112602018-08-31 Joseph Myers <joseph@codesourcery.com>
11261
11262 * conform/glibcconform.py: New file.
11263 * conform/list-header-symbols.py: Likewise.
11264 * conform/list-header-symbols.pl: Remove.
11265 * conform/Makefile (tests-special): Only add linknamespace tests
11266 if [PYTHON].
11267 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11268
81b9d87b
L
112692018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11270
11271 [BZ #23597]
11272 * support/Makefile (libsupport-routines): Add
11273 support_copy_file_range and xcopy_file_range.
11274 * support/support.h: Include <sys/types.h>.
11275 (support_copy_file_range): New prototype.
11276 * support/support_copy_file_range.c: New file. Copied and
11277 modified from io/copy_file_range-compat.c.
11278 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11279 instead of copy_file_range.
11280 * support/xcopy_file_range.c: New file.
11281 * support/xunistd.h (xcopy_file_range): New prototype.
11282
d330f31a
CD
112832018-08-30 Carlos O'Donell <carlos@redhat.com>
11284
11285 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11286 xpthread_create and xpthread_join.
11287
2bda273a
FW
112882018-08-30 Florian Weimer <fweimer@redhat.com>
11289
11290 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11291
3bad2358
SL
112922018-08-30 Stefan Liebler <stli@linux.ibm.com>
11293
11294 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11295 if malloc fails.
11296
09c12efc
JM
112972018-08-29 Joseph Myers <joseph@codesourcery.com>
11298
11299 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11300 and minus_oflow as non-finite.
11301
ff6b2450
JM
113022018-08-28 Joseph Myers <joseph@codesourcery.com>
11303
11304 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11305 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11306 moved to fenv_private.h except for ...
11307 (TOINT_INTRINSICS): Kept in math_private.h.
11308 (roundtoint): Likewise.
11309 (converttoint): Likewise.
11310 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11311 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11312 * sysdeps/arm/math_private.h: Remove.
11313 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11314 ....
11315 * sysdeps/generic/math_private.h: ... this file. Include
11316 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11317 Include <fenv_private.h>. Remove functions and macros moved to
11318 fenv_private.h.
11319 * sysdeps/i386/fpu/math_private.h: Remove.
11320 * sysdeps/mips/math_private.h: Move to ....
11321 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11322 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11323 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11324 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11325 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11326 * sysdeps/powerpc/fpu/math_private.h: Do not include
11327 <fenv_private.h>.
11328 * sysdeps/riscv/rvf/math_private.h: Move to ....
11329 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11330 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11331 <fenv_private.h>.
11332 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11333 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11334 * sysdeps/sparc/fpu/math_private.h: Remove.
11335 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11336 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11337 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11338 <fenv_private.h>.
11339 * sysdeps/x86_64/fpu/math_private.h: Do not include
11340 <sysdeps/i386/fpu/fenv_private.h>.
11341
761404b7
FW
113422018-08-28 Florian Weimer <fweimer@redhat.com>
11343
11344 [BZ #23578]
11345 * posix/tst-regcomp-truncated.c: New file.
11346 * posix/Makefile (tests): Add it.
11347 (tst-regcomp-truncated.out): Depend on generated locales.
11348
d6c44c3d
FW
113492018-08-28 Florian Weimer <fweimer@redhat.com>
11350
11351 * support/test-container.c (main): Treat unshare failure with
11352 EPERM as an unsupported test.
11353
745664bd
FW
113542018-08-28 Florian Weimer <fweimer@redhat.com>
11355
11356 [BZ #23520]
11357 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11358 * nscd/netgroupcache.c
11359 (addgetnetgrentX): Add tofreep parameter. Do not free
11360 heap-allocated buffer.
11361 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11362 (addgetnetgrentX_ignore): New function.
11363 (addgetnetgrent): Call it.
11364 (readdgetnetgrent): Likewise.
11365
c8dd67e7
RS
113662018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11367
11368 * string/memmem.c: Use memcmp for first match.
11369
5abedf97
RL
113702018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11371
11372 [BZ #17426]
11373 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11374
86de0499
DD
113752018-08-27 DJ Delorie <dj@redhat.com>
11376
11377 * support/Makefile (others): Don't list programs explicitly as a
11378 dependency of "others".
11379
c3ab2110
JM
113802018-08-27 Joseph Myers <joseph@codesourcery.com>
11381
11382 * sysdeps/generic/math-tests-trap-force.h: New file.
11383 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11384 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11385 * sysdeps/powerpc/math-tests.h: Remove file.
11386 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11387
6b5c8607
TS
113882018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11389 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
11390
11391 [BZ #23538]
11392 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11393 Update r to include the set wake-request flag if waiters are
11394 remaining after spinning.
11395
4061791f
JM
113962018-08-27 Joseph Myers <joseph@codesourcery.com>
11397
11398 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11399
bc680b33
PE
114002018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11401
761404b7 11402 [BZ #23578]
bc680b33
PE
11403 regex: fix uninitialized memory access
11404 I introduced this bug into gnulib in commit
11405 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11406 eventually it was merged into glibc. The bug was found by
11407 project-repo <bugs@feusi.co> and reported here:
11408 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11409 Diagnosis and draft fix reported by Assaf Gordon here:
11410 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11411 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11412 * posix/regex_internal.c (build_wcs_upper_buffer):
11413 Fix bug when mbrtowc returns 0.
11414
02458a52
CD
114152018-08-24 Carlos O'Donell <carlos@redhat.com>
11416
11417 * po/be.po: Update translation.
11418
acc2842a
DD
114192018-08-24 DJ Delorie <dj@delorie.com>
11420
11421 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11422 $(libunwind).
11423
6c3a8a9d
PP
114242018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11425
b39d961c
TS
11426 [BZ #23400]
11427 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11428 create temporary files in source tree.
6c3a8a9d 11429
895ef79e
JM
114302018-08-24 Joseph Myers <joseph@codesourcery.com>
11431
11432 * sysdeps/generic/math-tests-trap.h: New file.
11433 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11434 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11435 * sysdeps/aarch64/math-tests.h: Remove file.
11436 * sysdeps/arm/math-tests.h: Likewise.
11437 * sysdeps/riscv/math-tests.h: Likewise.
11438 * sysdeps/aarch64/math-tests-trap.h: New file.
11439 * sysdeps/arm/math-tests-trap.h: Likewise.
11440 * sysdeps/riscv/math-tests-trap.h: Likewise.
11441
ca3aac57
WD
114422018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11443
11444 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11445 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11446 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11447 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11448 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11449 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11453 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11454 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11456 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11457 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11458 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11459 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11460 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11461 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11462
60bcac09
JM
114632018-08-23 Joseph Myers <joseph@codesourcery.com>
11464
11465 * sysdeps/generic/math-tests-exceptions.h: New file.
11466 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11467 (EXCEPTION_TESTS_float): Do not define here.
11468 (EXCEPTION_TESTS_double): Likewise.
11469 (EXCEPTION_TESTS_long_double): Likewise.
11470 (EXCEPTION_TESTS_float128): Likewise.
11471 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11472 Likewise.
11473 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11474 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11475 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11476 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11477 * sysdeps/mips/math-tests.h: Likewise.
11478 * sysdeps/nios2/math-tests.h: Likewise.
11479 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11480 (EXCEPTION_TESTS_float): Do not define here.
11481 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11482 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11483 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11484
3bded567
WD
114852018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11486
11487 * NEWS: Move optimized sinf entry to 2.29.
11488
900fb446
WD
114892018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11490
11491 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11492
561b0bec
DD
114932018-08-22 DJ Delorie <dj@redhat.com>
11494
11495 * Makefile (testroot.pristine): New rules to initialize the
11496 test-in-container "testroot".
11497 * Makerules (all-testsuite): Add tests-container.
11498 * Rules (tests-expected): Add tests-container.
11499 (binaries-all-tests): Likewise.
11500 (tests-container): New, run these tests in the testroot container.
11501 * support/Makefile (others): Add *-container, support_paths.c,
11502 xmkdirp, and links-dso-program.
11503 * support/links-dso-program-c.c: New.
11504 * support/links-dso-program.cc: New.
11505 * support/test-container.c: New.
11506 * support/shell-container.c: New.
11507 * support/echo-container.c: New.
11508 * support/true-container.c: New.
11509 * support/xmkdirp.c: New.
11510 * support/xsymlink.c: New.
11511 * support/support_paths.c: New.
11512 * support/support.h: Add support paths prototypes.
11513 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11514
11515 * nss/tst-nss-test3.c: Convert to test-in-container.
11516 * nss/tst-nss-test3.root/: New.
11517
b35d3509
PE
115182018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11519
11520 regex: port Gnulib code to z/OS POSIX environment
11521 Problem reported by Arnold Robbins in:
11522 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11523 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11524 Undef.
11525
16a25138
JM
115262018-08-22 Joseph Myers <joseph@codesourcery.com>
11527
debc4c98
JM
11528 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11529 (ROUNDING_TESTS_double): Remove.
11530 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11531 (ROUNDING_TESTS_double): Remove.
11532 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11533 (ROUNDING_TESTS_double): Remove.
11534 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11535 (ROUNDING_TESTS_float): Remove.
11536 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11537 (ROUNDING_TESTS_float): Remove.
11538 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11539 (ROUNDING_TESTS_float): Remove.
11540 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11541 !TEST_MATHVEC here.
11542 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11543 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11544
16a25138
JM
11545 * sysdeps/generic/math-tests-rounding.h: New file.
11546 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11547 (ROUNDING_TESTS_float): Do not define here.
11548 (ROUNDING_TESTS_double): Likewise.
11549 (ROUNDING_TESTS_long_double): Likewise.
11550 (ROUNDING_TESTS_float128): Likewise.
11551 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11552 (ROUNDING_TESTS_double): Undefine before defining.
11553 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11554 (ROUNDING_TESTS_double): Undefine before defining.
11555 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11556 (ROUNDING_TESTS_double): Undefine before defining.
11557 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11558 (ROUNDING_TESTS_float): Undefine before defining.
11559 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11560 (ROUNDING_TESTS_float): Undefine before defining.
11561 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11562 (ROUNDING_TESTS_float): Undefine before defining.
11563 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11564 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11565 not define here.
11566 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11567 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11568 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11569 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11570 (ROUNDING_TESTS_float): Do not define here.
11571 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11572 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11573 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11574 (ROUNDING_TESTS_float): Likewise.
11575 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11576 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11577 * sysdeps/mips/math-tests.h [__mips_soft_float]
11578 (ROUNDING_TESTS_float): Likewise.
11579 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11580 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11581 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11582 (ROUNDING_TESTS_double): Likewise.
11583 (ROUNDING_TESTS_long_double): Likewise.
11584
38b0593e
TK
115852018-08-21 Tobias Klauser <tklauser@distanz.ch>
11586
11587 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11588 (PF_XDP): New macro.
11589 (AF_XDP): New macro.
11590 (SOL_XDP): New macro.
11591
5cd7dbde
JM
115922018-08-21 Joseph Myers <joseph@codesourcery.com>
11593
11594 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11595 (TCP_INQ): Likewise.
11596 (TCP_CM_INQ): Likewise.
11597 (TCP_REPAIR_ON): Likewise.
11598 (TCP_REPAIR_OFF): Likewise.
11599 (TCP_REPAIR_OFF_NO_WP): Likewise.
11600 (struct tcp_zerocopy_receive): New type.
11601
aa42b3db
FW
116022018-08-21 Florian Weimer <fweimer@redhat.com>
11603
11604 * support/support.h (support_descriptor_supports_holes): Declare.
11605 * support/Makefile (libsupport-routines): Add
11606 support_descriptor_supports_holes.
11607 * support/support_descriptor_supports_holes.c: New file.
11608 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11609 and stop testing if holes are not supported.
11610 * io/test-lfs.c (do_prepare): Likewise.
11611 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11612 Likewise.
11613 * timezone/tst-tzset.c (create_tz_file): Likewise.
11614 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11615 variable.
11616 (do_prepare): Set it.
11617 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11618
c7627f41
FW
116192018-08-21 Florian Weimer <fweimer@redhat.com>
11620
11621 [BZ #17248]
11622 * Makeconfig (+cflags): Do not sort (and deduplicate).
11623
ef939d92
FW
116242018-08-21 Florian Weimer <fweimer@redhat.com>
11625
11626 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11627 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11628
88ffb39d
FW
116292018-08-20 Florian Weimer <fweimer@redhat.com>
11630
11631 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11632 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11633
17419540
JM
116342018-08-20 Joseph Myers <joseph@codesourcery.com>
11635
e6edd40d
JM
11636 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11637 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11638 and ssi_arch members.
11639
17419540
JM
11640 * elf/elf.c (NT_VMCOREDD): New macro.
11641 (AT_MINSIGSTKSZ): Likewise.
11642
fa78896b
RS
116432018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11644
11645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11646 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11647 s_cosf-ppc64 and s_cosf-power8.
11648 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11649 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11650 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11651 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11658 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11659 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11660
86a6c75a
FW
116612018-08-17 Florian Weimer <fweimer@redhat.com>
11662
11663 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11664
35cfefd9
FW
116652018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11666
11667 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11668
6413fcde
FW
116692018-08-16 Florian Weimer <fweimer@redhat.com>
11670
11671 * configure.ac: Add --with-nonshared-cflags option.
11672 * config.make.in (extra-nonshared-cflags): Set variable.
11673 * Makeconfig (CFLAGS-.oS): Use it.
11674 * manual/install.texi (Configuring and compiling): Document
11675 --with-nonshared-cflags.
11676 * configure: Regenerate.
11677 * INSTALL: Likewise.
11678
93a2584c
FW
116792018-08-16 Florian Weimer <fweimer@redhat.com>
11680
11681 * Makeconfig (ASFLAGS): Always append required assembler flags.
11682
f6f275d2 116832018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
11684
11685 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11686 (malloc_consolidate): Likewise.
11687
30a17d8c
PC
116882018-08-16 Pochang Chen <johnchen902@gmail.com>
11689
11690 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11691
953a5a4a
SP
116922018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11693
34f86d61
SP
11694 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11695 every strlen call.
11696
953a5a4a
SP
11697 * benchtests/bench-strlen.c: Print performance numbers in json.
11698
7793ad7a
RS
116992018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11700
11701 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11702 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11703 only for little endian.
11704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11705 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11706 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11708 Add check for little endian.
11709 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11710 (__strcmp_power9): Add check for little endian.
11711 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11712 Add check for little endian.
11713 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11714 (__strncmp_power9): Add check for little endian.
11715 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11716 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11717 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11718 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11719 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11720
436e4d5b
SP
117212018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11722
11723 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11724 [!STRLEN](STRLEN): Set to __strlen.
11725 * sysdeps/aarch64/multiarch/strlen.c: New file.
11726 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11727 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11728 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11729 (__libc_ifunc_impl_list): Add strlen.
11730 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11731 strlen_generic and strlen_asimd.
11732
126c4e3f
WD
117332018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11734
11735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11736 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11737 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11738
49acec17
WD
117392018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11740
11741 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11742
fdb16de3
FW
117432018-08-14 Florian Weimer <fweimer@redhat.com>
11744
11745 [BZ #23519]
11746 * include/stdio.h (__vfxprintf): Declare.
11747 * stdio-common/fxprintf.c (__vfxprintf): New function.
11748 (__fxprintf): Call it.
11749 * misc/err.c (convert_and_print): Remove function.
11750 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11751 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11752 * misc/Makefile (tests): Add tst-warn-wide.
11753 * misc/tst-warn-wide.c: New file.
11754
599cf397
WD
117552018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11756 Szabolcs Nagy <szabolcs.nagy@arm.com>
11757
11758 * NEWS: Mention sinf, cosf, sincosf.
11759 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11760 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11761 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11762 constants rather than including generic sincosf.h.
11763 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11764 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11765 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11766 (reduced_cos): Remove.
11767 (sinf_poly): New function.
11768 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11769
e95c6f61
FW
117702018-08-14 Florian Weimer <fweimer@redhat.com>
11771
11772 [BZ #23521]
11773 [BZ #23522]
11774 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11775 processing, bail out if no room, and close the stream before
11776 returning ERANGE.
11777 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11778 (tst-nss-files-alias-leak): Link with libdl.
11779 (tst-nss-files-alias-leak.out): Depend on nss_files.
11780
11781 * nss/tst-nss-files-alias-leak.c: New file.
11782
2d7acfac
FW
117832018-08-14 Florian Weimer <fweimer@redhat.com>
11784
11785 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11786 server_user, stat_user.
11787
f3cd0904
JM
117882018-08-13 Joseph Myers <joseph@codesourcery.com>
11789
17b26500
JM
11790 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11791 version to 4.18.
11792 (io_pgetevents): New syscall.
11793 (rseq): Likewise.
11794
3c1622eb
JM
11795 * manual/install.texi (Configuring and compiling): Do not list
11796 tools used for testing pretty printers here.
11797 (Tools for Compilation): List Python, PExpect and GDB here.
11798 Update descriptions of uses of Perl and Python.
11799 * INSTALL: Regenerate.
11800
f3cd0904
JM
11801 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11802 version to 4.18.
11803
b7b52b9d
FW
118042018-08-13 Florian Weimer <fweimer@redhat.com>
11805
11806 * misc/error.c (error): Add missing va_end call.
11807 (error_at_line): Likewise.
11808
01780188
FW
118092018-08-13 Florian Weimer <fweimer@redhat.com>
11810
11811 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11812
44727aec
SP
118132018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11814
8cac1f26
SP
11815 * benchtests/scripts/benchout.schema.json (properties): Add
11816 new properties.
11817
44727aec
SP
11818 * benchtests/bench-skeleton.c (main): Add duration and
11819 iterations attributes.
11820
c77bf91b
PE
118212018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11822
11823 regex: Gnulib unibyte RRI uses bytes not chars
11824 Adjust the non-glibc code to agree with what Gawk needs for
11825 rational range interpretation (RRI) for regular expression ranges.
11826 In unibyte locales, Gawk wants ranges to use the underlying byte
11827 rather than the character code point. This change does not affect
11828 glibc proper.
11829 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11830 In unibyte locales, use the byte value rather than
11831 running it through btowc.
11832
2ce7ba7d
JM
118332018-08-10 Joseph Myers <joseph@codesourcery.com>
11834
11835 * sysdeps/generic/math-tests-snan.h: New file.
11836 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11837 (SNAN_TESTS_float): Do not define here.
11838 (SNAN_TESTS_double): Likewise.
11839 (SNAN_TESTS_long_double): Likewise.
11840 (SNAN_TESTS_float128): Likewise.
11841 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11842 * sysdeps/i386/fpu/math-tests.h: Remove file.
11843 * sysdeps/ia64/math-tests-snan.h: New file.
11844 * sysdeps/ia64/math-tests.h: Remove file.
11845 * sysdeps/x86/math-tests.h: Likewise.
11846 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11847
ea5c662c
WD
118482018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11849 Szabolcs Nagy <szabolcs.nagy@arm.com>
11850
11851 * math/Makefile: Add s_sincosf_data.c.
11852 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11853 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11854 (sincosf_poly): Likewise.
11855 (reduce_small): Likewise.
11856 (reduce_large): Likewise.
11857 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11858 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11859 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11860 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11861
43cfdf8f
SN
118622018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11863 Szabolcs Nagy <szabolcs.nagy@arm.com>
11864
11865 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11866 (converttoint): Use lround.
11867 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11868 document the semantics when TOINT_INTRINSICS is set.
11869 (converttoint): Likewise.
11870 (TOINT_RINT): Remove.
11871 (TOINT_SHIFT): Remove.
11872 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11873 path.
11874
69065288
FW
118752018-08-10 Florian Weimer <fweimer@redhat.com>
11876
11877 [BZ #23497]
11878 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11879 function.
11880 (__old_getdents64): Use getdents64. Convert entries without
11881 moving them.
11882 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11883 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11884 tst-readdir64-compat.
11885
8f135efc
IL
118862018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11887
11888 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11889 Fix unwind.
11890
71c01af5
IL
118912018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11892
11893 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11894 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11895 code to s390x-mcount.h and #include it.
11896 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11897 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11898 (__fentry__): Add.
11899
8d997d22
IL
119002018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11901
11902 * stdlib/Versions: Remove __fentry__.
11903 * sysdeps/i386/Versions: Add __fentry__.
11904 * sysdeps/x86_64/Versions: Add __fentry__.
11905
69e2444a
IL
119062018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11907
11908 * sysdeps/s390/Makefile: Register the new tests.
11909 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11910 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11911 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11912 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11913 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11914 * sysdeps/s390/tst-dl-runtime.c: New file.
11915
bde6320f
IL
119162018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11917
11918 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11919 Do not clobber R0.
11920
5755f5e4
IL
119212018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11922
11923 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11924 Do not clobber R0.
11925
c8ad8522
IL
119262018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11927
11928 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11929 Do not clobber R0.
11930
b215eee1
IL
119312018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11932
11933 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11934 Do not clobber R0.
11935
329c6fec
IL
119362018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11937
11938 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11939 Use symbolic offsets for stack variables.
11940
0fb7afa2
IL
119412018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11942
11943 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11944 Use symbolic offsets for stack variables.
11945
6954059a
IL
119462018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11947
11948 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11949 Use symbolic offsets for stack variables.
11950
c7099673
IL
119512018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11952
11953 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11954 Use symbolic offsets for stack variables.
11955
2813e41e
JM
119562018-08-09 Joseph Myers <joseph@codesourcery.com>
11957
11958 * math/gen-libm-test.py: New file.
11959 * math/gen-libm-test.pl: Remove.
11960 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11961 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11962 gen-libm-test.pl.
11963 ($(libm-test-c-noauto-obj)): Likewise.
11964 ($(libm-test-c-auto-obj)): Likewise.
11965 ($(libm-test-c-narrow-obj)): Likewise.
11966 (regen-ulps): Likewise.
11967 * math/README.libm-test: Update references to gen-libm-test.pl.
11968 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11969 referencing gen-libm-test.pl.
11970 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11971 * math/libm-test-support.c: Likewise.
11972 * math/libm-test-support.h: Likewise.
11973 * sysdeps/generic/libm-test-ulps: Likewise.
11974
be64b194
SP
119752018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11976
11977 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11978 Fix value.
11979
140137fb
JM
119802018-08-08 Joseph Myers <joseph@codesourcery.com>
11981
11982 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11983 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11984
b5403eca
ST
119852018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11986
11987 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11988 symbols.
8ac0f9e6
ST
11989 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11990 __pthread_setspecific): Add hidden proto.
11991 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11992 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 11993
014efdd7
SP
119942018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11995
11996 * benchtests/bench-string.h (buf1_size, buf2_size): New
11997 variables.
11998 (init_sizes): New function.
11999 (test_init): Use it.
12000 (alloc_buf, exit_error): New functions.
12001 (alloc_bufs): Use ALLOC_BUF.
12002 (realloc_bufs): Remove.
12003 * benchtests/bench-memcmp.c (do_test): Adjust.
12004 * benchtests/bench-memset-large.c (do_test): Likewise.
12005 * benchtests/bench-memset-walk.c (do_test): Likewise.
12006 * benchtests/bench-memset.c (do_test): Likewise.
12007 * benchtests/bench-strncmp.c (do_test): Likewise.
12008
92a4cba7
AS
120092018-08-06 Andreas Schwab <schwab@suse.de>
12010
12011 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12012 of CONST_THREAD_AREA.
12013
fb4c32ae
L
120142018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12017 (STATE_SAVE_MASK): Likewise.
12018 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12019 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12020 (STATE_SAVE_MASK): Likewise.
12021 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12022 instead of <cpu-features.h>.
12023
bf418187
DD
120242018-08-03 DJ Delorie <dj@redhat.com>
12025
12026 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 12027 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 12028
bb17621a
DD
12029 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12030
ea705eb5
JM
120312018-08-03 Joseph Myers <joseph@codesourcery.com>
12032
12033 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12034 after TEST_* calls.
12035 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12036 * math/libm-test-logb.inc (logb_test_data): Likewise.
12037
284f42bc
WD
120382018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12039
12040 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12041 * string/strstr.c (AVAILABLE): Likewise.
12042
430388d5
L
120432018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12044
12045 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12046 <init-arch.h>.
12047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12048 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12049 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12050
c5760aa9
CD
120512018-08-03 Carlos O'Donell <carlos@redhat.com>
12052
12053 * po/be.po: Update translation.
12054
6b535b84
CD
12055 * po/be.po: Update translation.
12056
ae67f2e5
L
120572018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12058
12059 * sysdeps/x86/cpu-features-offsets.sym
12060 (rtld_global_ro_offsetof): Removed.
12061 (CPU_FEATURES_SIZE): Likewise.
12062 (CPUID_OFFSET): Likewise.
12063 (CPUID_SIZE): Likewise.
12064 (CPUID_EAX_OFFSET): Likewise.
12065 (CPUID_EBX_OFFSET): Likewise.
12066 (CPUID_ECX_OFFSET): Likewise.
12067 (CPUID_EDX_OFFSET): Likewise.
12068 (FAMILY_OFFSET): Likewise.
12069 (MODEL_OFFSET): Likewise.
12070 (FEATURE_OFFSET): Likewise.
12071 (FEATURE_SIZ): Likewise.
12072 (COMMON_CPUID_INDEX_1): Likewise.
12073 (COMMON_CPUID_INDEX_7): Likewise.
12074 (FEATURE_INDEX_1): Likewise.
12075 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12076
6b5c8607 120772018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
12078
12079 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12080 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12081 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12082 (install-locales): Depend on install-locale-archive.
12083 (install-locale-archive): Define.
7b7adbd8 12084 (install-locale-files): Define.
08a5ee14
CD
12085 (build-one-locale): Define macro.
12086 * manual/install.texi (Running make install): Document.
12087 * manual/INSTALL: Regenerate.
12088
525691bd
SP
120892018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12090
d67d634b
SP
12091 * benchtests/scripts/compare_strings.py: Import traceback.
12092 (parse_file): Pretty-print error.
12093
525691bd
SP
12094 * NEWS: Mention the change.
12095 * elf/dl-tunables.list: Rename tune namespace to cpu.
12096 * sysdeps/powerpc/dl-tunables.list: Likewise.
12097 * sysdeps/x86/dl-tunables.list: Likewise.
12098 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12099 cpu.name.
12100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12101 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12102 * manual/README.tunables: Likewise.
12103 * manual/tunables.texi: Likewise.
12104 * sysdeps/powerpc/cpu-features.c: Likewise.
12105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12106 (init_cpu_features): Likewise.
12107 * sysdeps/x86/cpu-features.c: Likewise.
12108 * sysdeps/x86/cpu-features.h: Likewise.
12109 * sysdeps/x86/cpu-tunables.c: Likewise.
12110 * sysdeps/x86_64/Makefile: Likewise.
12111 * sysdeps/x86/dl-cet.c: Likewise.
12112
506d7fb1
JM
121132018-08-02 Joseph Myers <joseph@codesourcery.com>
12114
12115 [BZ #23479]
12116 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12117 [__mips_hard_float].
12118 (FE_UNDERFLOW): Likewise.
12119 (FE_OVERFLOW): Likewise.
12120 (FE_DIVBYZERO): Likewise.
12121 (FE_INVALID): Likewise.
12122 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12123 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12124 (FE_UPWARD): Likewise.
12125 (FE_DOWNWARD): Likewise.
12126 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12127 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12128 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12129 [__mips_hard_float].
12130 (FP_ROUNDMODE): Likewise.
12131 (FP_RND_NEAREST): Likewise.
12132 (FP_RND_ZERO): Likewise.
12133 (FP_RND_PINF): Likewise.
12134 (FP_RND_MINF): Likewise.
12135 (FP_EX_INVALID): Likewise.
12136 (FP_EX_OVERFLOW): Likewise.
12137 (FP_EX_UNDERFLOW): Likewise.
12138 (FP_EX_DIVZERO): Likewise.
12139 (FP_EX_INEXACT): Likewise.
12140 (FP_INIT_ROUNDMODE): Likewise.
12141 * sysdeps/mips/nofpu/fesetenv.c: New file.
12142 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12143
f6dcefbe
JM
121442018-08-01 Joseph Myers <joseph@codesourcery.com>
12145
12146 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12147 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12148 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12149 conditional on [FE_UPWARD].
12150
fa67ba06
PE
121512018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12152
12153 regex: fix memory leak in Gnulib
12154 Problem and fix reported by Assaf Gordon in:
12155 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12156 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12157 range_ends members too, as they are defined in 'struct
12158 re_charset_t' even if not _LIBC. This affects only Gnulib.
12159
82c80ac2
L
121602018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12161
12162 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12163 ...
12164 (get_common_indices): This.
12165 (init_cpu_features): Updated.
12166
c0e7e2c1
JM
121672018-08-01 Joseph Myers <joseph@codesourcery.com>
12168
46f8cf57
JM
12169 * sysdeps/generic/math-tests-snan-payload.h: New file.
12170 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12171 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12172 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12173 * sysdeps/generic/math-tests.h: Include
12174 <math-tests-snan-payload.h>.
12175 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12176 * sysdeps/hppa/math-tests.h: Remove file.
12177 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12178 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12179 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12180 Likewise.
12181
c0e7e2c1
JM
12182 * sysdeps/generic/math-tests-snan-cast.h: New file.
12183 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12184 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12185 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12186 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12187
74939c83
CD
121882018-08-01 Carlos O'Donel <carlos@redhat.com>
12189
b029723b
CD
12190 * version.h (RELEASE): Set to "development".
12191 (VERSION): Set to "2.28.9000".
12192 * NEWS (2.29): New section.
12193
3c03baca
CD
12194 * version.h (RELEASE): Set to "stable".
12195 (VERSION): Set to "2.28".
12196 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12197 * NEWS: Add the list of bugs fixed in 2.28.
12198
74939c83
CD
12199 * po/ca.po: Update to latest version.
12200 * po/cs.po: Likewise
12201 * po/da.po: Likewise
12202 * po/el.po: Likewise
12203 * po/eo.po: Likewise
12204 * po/es.po: Likewise
12205 * po/fi.po: Likewise
12206 * po/fr.po: Likewise
12207 * po/gl.po: Likewise
12208 * po/hu.po: Likewise
12209 * po/ia.po: Likewise
12210 * po/id.po: Likewise
12211 * po/it.po: Likewise
12212 * po/ja.po: Likewise
12213 * po/ko.po: Likewise
12214 * po/lt.po: Likewise
12215 * po/nb.po: Likewise
12216 * po/nl.po: Likewise
12217 * po/pt_BR.po: Likewise
12218 * po/ru.po: Likewise
12219 * po/rw.po: Likewise
12220 * po/sk.po: Likewise
12221 * po/sl.po: Likewise
12222 * po/tr.po: Likewise
12223 * po/zh_CN.po: Likewise
12224 * po/zh_TW.po: Likewise
12225
d4b54bdf
ST
122262018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12227
12228 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12229 initialization...
12230 (init): ... before initializing libpthread.
12231
42fc12ef
ST
12232 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12233 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12234 (__mach_setup_tls): ... new function.
12235 (mach_setup_tls): New alias.
12236 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12237 __mach_setup_thread.
12238 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12239 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12240 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12241 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12242
6cca855e
CD
122432018-07-31 Carlos O'Donell <carlos@redhat.com>
12244
f650932b
CD
12245 * manual/install.texi: Update versions.
12246 * INSTALL: Regenerate.
12247
6cca855e
CD
12248 * manual/contrib.texi (Contributors): Update contributions.
12249
07fdea47
CD
122502018-07-31 Carlos O'Donell <carlos@redhat.com>
12251
12252 * po/be.po: Update translations.
12253
63d5fad4
AZ
122542018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12255
12256 * sysdeps/sh/libm-test-ulps: Update.
12257
1ff712a6
CD
122582018-07-30 Carlos O'Donell <carlos@redhat.com>
12259
12260 * po/bg.po: Update translations.
12261 * po/de.po: Likewise.
12262 * po/hr.po: Likewise.
12263 * po/pt_BR.po: Likewise.
12264 * po/sv.po: Likewise.
12265 * po/vi.po: Likewise.
12266
98864ed0
L
122672018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12268
12269 [BZ #23467]
12270 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12271 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12272 (CFLAGS-tst-cet-property-1.o): New.
12273 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12274 ($(objpfx)tst-cet-property-2): Likewise.
12275 ($(objpfx)tst-cet-property-2.out): Likewise.
12276 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12277 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12278 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12279 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12280 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12281
c92a00d8
L
122822018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12283
12284 [BZ #23458]
12285 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12286
99bc6241
ST
122872018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12288
12289 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12290 __sbrk): Do not set attribute_hidden.
af86087f 12291 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
12292 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12293 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12294
bcb1c4af
CD
122952018-07-27 Carlos O'Donell <carlos@redhat.com>
12296
12297 * po/uk.po: Update translations.
12298 * po/cs.po: Likewise.
12299 * po/pl.po: Likewise.
12300
4591b7db
L
123012018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12304 parse beyond the note end.
12305
2c6da2f4
AZ
123062018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12307
12308 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12309 kernel does not support OFD locks.
12310 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12311
20365a31
ST
123122018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12313
12314 * sysdeps/mach/hurd/Versions (libc): Make __access and
12315 __access_noerrno external so they can override the ld symbols.
12316 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12317 __writev, __open64, __access_noerrno extern so they can be overrided.
12318 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12319 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12320
cb1a43db
CD
123212018-07-26 Carlos O'Donell <carlos@redhat.com>
12322
12323 * po/libc.pot: Regenerate.
12324
74759ae5
JM
123252018-07-26 Joseph Myers <joseph@codesourcery.com>
12326
12327 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12328
da80612d
L
123292018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12330
12331 [BZ #23459]
12332 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12333 function.
12334 (init_cpu_features): Call get_extended_indices for both Intel
12335 and AMD CPUs.
12336 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12337 Remove "for AMD" comment.
12338
65d87ade
L
123392018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12340
12341 [BZ # 23456]
12342 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12343 COMMON_CPUID_INDEX_80000001.
12344
c9dc4d51
SL
123452018-07-26 Stefan Liebler <stli@linux.ibm.com>
12346
12347 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12348 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12349
cfba5dbb
FW
123502018-07-26 Florian Weimer <fweimer@redhat.com>
12351
12352 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12353 aliases for symbols not in the implementation namespace.
12354
6b5c8607 123552018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
12356
12357 [BZ #23393]
12358 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12359 lowercase in LATIN script.
12360 * localedata/Makefile (test-input): Add en_US.UTF-8.
12361 * localedata/en_US.UTF-8.in: New file.
12362 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12363 and restore old tests.
12364 * posix/tst-regexloc.c (do_test): Add back range expression test.
12365
3fb455b3
L
123662018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12367
12368 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12369
d6499b70
AZ
123702018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12371
12372 * nptl/threads.h: Move to ...
12373 * sysdeps/nptl/threads.h: ... here.
12374 * sysdeps/hurd/stdc-predef.h: New file.
12375
08ac6bed
L
123762018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12377
12378 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12379 tst-cet-setcontext-1 if CET is enabled.
12380 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12381 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12382
9faaf938
AZ
123832018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12384
12385 * include/threads.h: Move to ...
12386 * sysdeps/nptl/threads.h: ... here.
12387 * sysdeps/htl/threads.h: New file.
12388 * conform/Makefile (linknamespace-libs-ISO11): Use
12389 static-thread-library instead of linking libpthread.
12390 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12391
d6b8f847
FW
123922018-07-25 Florian Weimer <fweimer@redhat.com>
12393
12394 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12395 nanoseconds into seconds.
12396 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12397 (do_test): Likewise.
12398 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12399 (do_test): Likewise. Avoid nanosecond overflow and spurious
12400 timeouts due to system load.
12401 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12402 (child_wait): Increment it.
12403 (do_test): Wait as long as necessary until all expected threads
12404 have arrived.
12405
25123a1c
L
124062018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12407 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12410 __ssp.
12411 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12412 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12413 (__push___start_context): New.
12414 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12415 <asm/prctl.h>.
12416 (__getcontext): Record the current shadow stack base. Save the
12417 caller's shadow stack pointer and base.
12418 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12419 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12420 (__push___start_context): New prototype.
12421 (__makecontext): Call __push___start_context to allocate a new
12422 shadow stack, push __start_context onto the new stack as well
12423 as the new shadow stack.
12424 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12425 <asm/prctl.h>.
12426 (__setcontext): Restore the target shadow stack.
12427 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12428 <asm/prctl.h>.
12429 (__swapcontext): Record the current shadow stack base. Save
12430 the caller's shadow stack pointer and base. Restore the target
12431 shadow stack.
12432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12433 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12434 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12435
375a4844
L
124362018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12439 tst-setcontext8 and tst-setcontext9.
12440 * stdlib/tst-setcontext6.c: New file.
12441 * stdlib/tst-setcontext7.c: Likewise.
12442 * stdlib/tst-setcontext8.c: Likewise.
12443 * stdlib/tst-setcontext9.c: Likewise.
12444
bd4f7903
L
124452018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 * stdlib/Makefile ((tests): Add tst-setcontext5.
12448 * stdlib/tst-setcontext5.c: New file.
12449
7e28f203
L
124502018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12451
12452 * stdlib/Makefile (tests): Add tst-setcontext4.
12453 * stdlib/tst-setcontext4.c: New file.
12454
8516ad2d
L
124552018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12456
12457 * stdlib/Makefile (tests): Add tst-swapcontext1.
12458 * stdlib/tst-swapcontext1.c: New test.
12459
fddcd003
L
124602018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12461
12462 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12463 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12464 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12465 and tst-cet-legacy-4c.
12466 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12467 and tst-cet-legacy-mod-4.
12468 (CFLAGS-tst-cet-legacy-2.c): New.
12469 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12470 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12471 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12472 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12473 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12474 ($(objpfx)tst-cet-legacy-1): Likewise.
12475 ($(objpfx)tst-cet-legacy-2): Likewise.
12476 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12477 ($(objpfx)tst-cet-legacy-2a): Likewise.
12478 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12479 ($(objpfx)tst-cet-legacy-4): Likewise.
12480 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12481 ($(objpfx)tst-cet-legacy-4a): Likewise.
12482 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12483 (tst-cet-legacy-4a-ENV): Likewise.
12484 ($(objpfx)tst-cet-legacy-4b): Likewise.
12485 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12486 (tst-cet-legacy-4b-ENV): Likewise.
12487 ($(objpfx)tst-cet-legacy-4c): Likewise.
12488 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12489 (tst-cet-legacy-4c-ENV): Likewise.
12490 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12491 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12492 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12493 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12494 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12495 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12496 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12497 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12498 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12499 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12500 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12501
9aa3113a
L
125022018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12503
12504 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12505 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12506 with ssp_base.
12507 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12508 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12509 with ssp_base.
12510
9c79cec8
AS
125112018-07-25 Andreas Schwab <schwab@suse.de>
12512
12513 [BZ #23442]
12514 * locale/weightwc.h (findidx): Handle the case where usrc is a
12515 prefix of cp but one character too short.
12516
969c3355
AZ
125172018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12518
12519 * NEWS: Add ISO C threads addition.
12520
e0f9c462
FW
125212018-07-24 Florian Weimer <fweimer@redhat.com>
12522
12523 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12524 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12525 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12526 4.13.
12527
394df381
L
125282018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12529
12530 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12531 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12532 <sys/prctl.h> and <asm/prctl.h>.
12533 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12534 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12535 and <asm/prctl.h>.
12536 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12537 ARCH_CET_LEGACY_BITMAP.
12538 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12539 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12540 * sysdeps/x86/libc-start.c: Include <startup.h>.
12541
46545530
FW
125422018-07-24 Florian Weimer <fweimer@redhat.com>
12543
12544 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12545 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12546
6b5c8607 125472018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 12548 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
12549 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12550
12551 [BZ #14092]
9d0a979e
RJ
12552 * manual/debug.texi: Update adjacent chapter name.
12553 * manual/probes.texi: Likewise.
12554 * manual/threads.texi (ISO C Threads): New section.
12555 (POSIX Threads): Convert to a section.
12556
125572018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12558 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12559
12560 [BZ# 14092]
0a07288b
AZ
12561 * nptl/Makefile (tests): Add new test files.
12562 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12563 * nptl/tst-cnd-basic.c: Likewise.
12564 * nptl/tst-cnd-broadcast.c: Likewise.
12565 * nptl/tst-cnd-timedwait.c: Likewise.
12566 * nptl/tst-mtx-basic.c: Likewise.
12567 * nptl/tst-mtx-recursive.c: Likewise.
12568 * nptl/tst-mtx-timedlock.c: Likewise.
12569 * nptl/tst-mtx-trylock.c: Likewise.
12570 * nptl/tst-thrd-basic.c: Likewise.
12571 * nptl/tst-thrd-detach.c: Likewise.
12572 * nptl/tst-thrd-sleep.c: Likewise.
12573 * nptl/tst-tss-basic.c: Likewise.
12574
ce7528f6
AZ
125752018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12576
c6dd669b
AZ
12577 [BZ #14092]
12578 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12579 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12580 symbols.
12581 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12594 Likewise.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12596 Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12598 Likewise.
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12609 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12610 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12611 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12612 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12613 Likewise.
12614 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12626 ikewise.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12629 Likewise.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12631 Likewise.
12632 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12640
78d40132
AZ
12641 [BZ #14092]
12642 * conform/data/threads.h-data (thread_local): New macro.
12643 (TSS_DTOR_ITERATIONS): Likewise.
12644 (tss_t): New type.
12645 (tss_dtor_t): Likewise.
12646 (tss_create): New function.
12647 (tss_get): Likewise.
12648 (tss_set): Likewise.
12649 (tss_delete): Likewise.
12650 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12651 tss_get, and tss_set objects.
12652 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12653 * nptl/tss_create.c: New file.
12654 * nptl/tss_delete.c: Likewise.
12655 * nptl/tss_get.c: Likewise.
12656 * nptl/tss_set.c: Likewise.
12657 * sysdeps/nptl/threads.h (thread_local): New define.
12658 (TSS_DTOR_ITERATIONS): Likewise.
12659 (tss_t): New typedef.
12660 (tss_dtor_t): Likewise.
12661 (tss_create): New prototype.
12662 (tss_get): Likewise.
12663 (tss_set): Likewise.
12664 (tss_delete): Likewise.
12665
918311a3
AZ
12666 [BZ #14092]
12667 * conform/data/threads.h-data (cnd_t): New type.
12668 (cnd_init): New function.
12669 (cnd_signal): Likewise.
12670 (cnd_broadcast): Likewise.
12671 (cnd_wait): Likewise.
12672 (cnd_timedwait): Likewise.
12673 (cnd_destroy): Likewise.
12674 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12675 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12676 object.
12677 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12678 * nptl/cnd_broadcast.c: New file.
12679 * nptl/cnd_destroy.c: Likewise.
12680 * nptl/cnd_init.c: Likewise.
12681 * nptl/cnd_signal.c: Likewise.
12682 * nptl/cnd_timedwait.c: Likewise.
12683 * nptl/cnd_wait.c: Likewise.
12684 * sysdeps/nptl/threads.h (cnd_t): New type.
12685 (cnd_init): New prototype.
12686 (cnd_signa): Likewise.
12687 (cnd_broadcast): Likewise.
12688 (cnd_wait): Likewise.
12689 (cnd_timedwait): Likewise.
12690 (cnd_destroy): Likewise.
12691
3c20a679
AZ
12692 [BZ #14092]
12693 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12694 (once_flag): New type.
12695 (call_once): New function.
12696 * nptl/Makefile (libpthread-routines): Add call_once object.
12697 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12698 * nptl/call_once.c: New file.
12699 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12700 (once_flag): New type.
12701 (call_once): New prototype.
12702
18d59c1b
AZ
12703 [BZ #14092]
12704 * conform/data/threads.h-data (mtx_plain): New constant.
12705 (mtx_recursive): Likewise.
12706 (mtx_timed): Likewise.
12707 (mtx_t): New type.
12708 (mtx_init): New function.
12709 (mtx_lock): Likewise.
12710 (mtx_timedlock): Likewise.
12711 (mtx_trylock): Likewise.
12712 (mtx_unlock): Likewise.
12713 (mtx_destroy): Likewise.
12714 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12715 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12716 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12717 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12718 * nptl/mtx_destroy.c: New file.
12719 * nptl/mtx_init.c: Likewise.
12720 * nptl/mtx_lock.c: Likewise.
12721 * nptl/mtx_timedlock.c: Likewise.
12722 * nptl/mtx_trylock.c: Likewise.
12723 * nptl/mtx_unlock.c: Likewise.
12724 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12725 (mtx_recursive): Likewise.
12726 (mtx_timed): Likewise.
12727 (mtx_t): New type.
12728 (mtx_init): New prototype.
12729 (mtx_lock): Likewise.
12730 (mtx_timedlock): Likewise.
12731 (mtx_trylock): Likewise.
12732 (mtx_unlock): Likewise.
12733 (mtx_destroy): Likewise.
12734
ce7528f6
AZ
12735 [BZ #14092]
12736 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12737 (linknamespace-libs-ISO11): Add libpthread.a.
12738 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12739 functions.
12740 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12741 * nptl/Makefile (headers): Add threads.h.
12742 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12743 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12744 thrd_yield.
12745 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12746 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12747 thrd_join, thrd_sleep, and thrd_yield symbols.
12748 * nptl/descr.h (struct pthread): Add c11 field.
12749 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12750 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12751 routine with expected function prototype.
12752 (__pthread_create_2_1): Add C11 threads check based on attribute
12753 value.
12754 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12755 * nptl/thrd_create.c: New file.
12756 * nptl/thrd_current.c: Likewise.
12757 * nptl/thrd_detach.c: Likewise.
12758 * nptl/thrd_equal.c: Likewise.
12759 * nptl/thrd_exit.c: Likewise.
12760 * nptl/thrd_join.c: Likewise.
12761 * nptl/thrd_priv.h: Likewise.
12762 * nptl/thrd_sleep.c: Likewise.
12763 * nptl/thrd_yield.c: Likewise.
12764 * include/threads.h: Likewise.
12765
e27f41ba
L
127662018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12767
12768 * bits/indirect-return.h: New file.
12769 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12770 * sysdeps/x86/bits/indirect-return.h: Likewise.
12771 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12772 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12773 (swapcontext): Add __INDIRECT_RETURN.
12774 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12775 (prepare_test_buffer): Use it.
12776
21526a50
AS
127772018-07-24 Andreas Schwab <schwab@suse.de>
12778
12779 [BZ #23448]
12780 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12781 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12782
3650e1d9
L
127832018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12784
12785 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12786 Redefine if shadow stack is enabled.
12787 (SYSCALL_ERROR_LABEL): Likewise.
12788 (__vfork): Pop shadow stack and jump back to to caller directly
12789 when shadow stack is in use.
12790 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12791 Redefine if shadow stack is enabled.
12792 (SYSCALL_ERROR_LABEL): Likewise.
12793 (__vfork): Pop shadow stack and jump back to to caller directly
12794 when shadow stack is in use.
12795
ca027e0f
L
127962018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12797
12798 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12799 enabled.
12800 (foo): Likewise.
12801 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12802 (foo): Likewise.
12803
b99f1c95
JM
128042018-07-20 Joseph Myers <joseph@codesourcery.com>
12805
12806 * scripts/build-many-glibcs.py (Context.checkout): Default
12807 binutils version to 2.31 branch.
12808
c8fabb84
ZL
128092018-07-20 Zong Li <zong@andestech.com>
12810
12811 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12812 URL of gcc's tarball.
12813
786658a0
FW
128142018-07-20 Florian Weimer <fweimer@redhat.com>
12815
12816 [BZ #23396]
12817 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12818 not compare an extra byte after the end of the weights.
12819
46f2474e
ST
128202018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12821
12822 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12823 to 1.
8ba1520e
ST
12824 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12825 hidden prototypes.
12826 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12827 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
12828 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12829 list of libraries whose stack executability is expected.
12830 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12831 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12832 variable.
12833 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12834 libc.so libpthread.so.
46f2474e 12835
60088242
TS
128362018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12837
12838 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12839 SOCK_NONBLOCK.
75d5e4a0
TS
12840 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12841 and SOCK_NONBLOCK.
de195be0
TS
12842 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12843 implement __pipe2.
12844 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 12845
1cf4ae7f
LS
128462018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12847
12848 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12849 library to improve command line parsing.
12850 (__main__): make schema file as optional parameter (--schema),
12851 defaulting to benchtests/scripts/benchout.schema.json.
12852 (main): move out of the parsing stuff to __main_  and leave it
12853 only as caller of main comparison functions.
12854
e84bd851
L
128552018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12856
12857 * NEWS: Add a note for Intel CET status.
12858 * manual/install.texi: Likewise.
12859 * INSTALL: Regenerated.
12860
df467d22
QP
128612018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12862
12863 [BZ #23140]
12864 * localedata/locales/oc_FR (mon): Rename to...
12865 (alt_mon): This, then update October (typo fix).
12866 (mon): New content (genitive case, month names preceded by
12867 "de" or "d’").
12868
12869 [BZ #23422]
12870 * localedata/locales/oc_FR (abday): Update all items.
12871 (day): Update Wednesday and Saturday (typo fixes).
12872 (abmon): Update all items, except May.
12873 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12874 (LC_IDENTIFICATION): Bump the revision number and date.
12875 Keep the "category" entries in alphabetic order.
12876 (LC_ADDRESS): Remove no longer needed comment.
12877 (LC_COLLATE): Use “copy "ca_ES"”.
12878 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12879 "name_mrs".
12880
5c112f1b
JM
128812018-07-18 Joseph Myers <joseph@codesourcery.com>
12882
12883 * grp/tst_fgetgrent.c: Include <unistd.h>.
12884 (main): Use mkstemp instead of tmpnam.
12885 * io/test-utime.c (main): Likewise.
12886 * posix/annexc.c (macrofile): Change to modifiable array.
12887 (main): Remove macrofile here.
12888 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12889 macrofile here.
12890 (check_header): Do not remove macrofile here.
12891 * posix/bug-getopt1.c: Include <stdlib.h>.
12892 (do_test): Use mkstemp instead of tmpnam.
12893 * posix/bug-getopt2.c: Include <stdlib.h>.
12894 (do_test): Use mkstemp instead of tmpnam.
12895 * posix/bug-getopt3.c: Include <stdlib.h>.
12896 (do_test): Use mkstemp instead of tmpnam.
12897 * posix/bug-getopt4.c: Include <stdlib.h>.
12898 (do_test): Use mkstemp instead of tmpnam.
12899 * posix/bug-getopt5.c: Include <stdlib.h>.
12900 (do_test): Use mkstemp instead of tmpnam.
12901 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12902 (main): Use mkstemp instead of tmpnam.
12903 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12904 (main): Use mkstemp instead of tmpnam.
12905 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12906 (main): use mkstemp instead of tmpnam.
12907 * stdlib/isomac.c (macrofile): Change to modifiable array.
12908 (main): Remove macrofile here.
12909 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12910 macrofile here.
12911 (check_header): Do not remove macrofile here.
12912
6d90776d
L
129132018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12914
12915 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12916 glibc.tune.x86_shstk.
12917
e6c69509
L
129182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12919
12920 * NEWS: Mention --enable-cet.
12921 * manual/install.texi: Document --enable-cet.
12922 * INSTALL: Regenerated.
12923
e2d40a88
L
129242018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12925
12926 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12927 Add _CET_NOTRACK before indirect jump to jump table.
12928
77a8ae09
L
129292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12930
12931 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12932 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12933 to jump table.
12934
90d15dc5
L
129352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12936
12937 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12938 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12939 to jump table.
12940
f1574581
L
129412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12942
12943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12944 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12945 to jump table.
12946
7fb61336
L
129472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12948
12949 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12950 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12951 to jump table.
12952
0a899af0
L
129532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12954
12955 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12956 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12957 to jump table.
12958 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12959
177824e2
L
129602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12961
12962 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12963 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12964 to jump table.
12965
00e7b76a
L
129662018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12967
12968 * sysdeps/i386/i686/multiarch/memset-sse2.S
12969 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12970 to jump table.
12971
7e119cd5
L
129722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12973
12974 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12975 indirect jump to jump table.
12976
03aaf49b
L
129772018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12980 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12981 to jump table.
12982 (MEMCPY): Likewise.
12983
811e9e52
L
129842018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12985
12986 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12987 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12988 to jump table.
12989 (MEMCPY): Likewise.
12990
8817df42
L
129912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12992
12993 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12994 _CET_NOTRACK before indirect jump to jump table.
12995
921595d1
L
129962018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12997
12998 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12999 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13000 to jump table.
13001
4ef60d95
L
130022018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13003
13004 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13005 indirect jump to jump table.
13006
61c4aad7
VT
130072018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13008
13009 [BZ #22241]
13010 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13011 (LOCALES): Likewise.
13012 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13013 * localedata/locales/sah_RU: New file.
13014 * localedata/sah_RU.UTF-8.in: New file.
13015
be9ccd27
L
130162018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13017
13018 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13019 "sysdep.h".
13020 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13021 _CET_ENDBR to indirect jump targets and adjust jump destination
13022 for _CET_ENDBR.
13023 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13024 "sysdep.h".
13025 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13026 _CET_ENDBR to indirect jump targets and adjust jump destination
13027 for _CET_ENDBR.
13028 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13029 "sysdep.h".
13030 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13031 _CET_ENDBR to indirect jump targets and adjust jump destination
13032 for _CET_ENDBR.
13033
5efc6777
L
130342018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13035
13036 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13037 _CET_ENDBR.
13038
562837c0
L
130392018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13042 _CET_ENDBR.
13043 (_dl_tlsdesc_undefweak): Likewise.
13044 (_dl_tlsdesc_dynamic): Likewise.
13045 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13046 (_dl_tlsdesc_resolve_rel): Likewise.
13047 (_dl_tlsdesc_resolve_rela): Likewise.
13048 (_dl_tlsdesc_resolve_hold): Likewise.
13049 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13050 (_dl_tlsdesc_undefweak): Likewise.
13051 (_dl_tlsdesc_dynamic): Likewise.
13052 (_dl_tlsdesc_resolve_rela): Likewise.
13053 (_dl_tlsdesc_resolve_hold): Likewise.
13054
124bcde6
L
130552018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13056
13057 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13058 (_fini): Likewise.
13059 * sysdeps/x86_64/crti.S (_init): Likewise.
13060 (_fini): Likewise.
13061
9145f033
RL
130622018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13063
13064 [BZ #23140]
13065 * localedata/locales/os_RU (mon): Rename to...
13066 (alt_mon): This.
13067 (mon): Import from CLDR (genitive case).
13068
ba2ea23d
L
130692018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13072 cet-tunables.h> when CET is enabled.
13073
f753fa7d
L
130742018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13075
6b5c8607 13076 [BZ #21598]
f753fa7d
L
13077 * configure.ac: Add --enable-cet.
13078 * configure: Regenerated.
13079 * elf/Makefille (all-built-dso): Add a comment.
13080 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13081 Include <dl-prop.h>.
13082 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13083 segment.
13084 * elf/dl-open.c: Include <dl-prop.h>.
13085 (dl_open_worker): Call _dl_open_check.
13086 * elf/rtld.c: Include <dl-prop.h>.
13087 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13088 _rtld_main_check.
13089 * sysdeps/generic/dl-prop.h: New file.
13090 * sysdeps/i386/dl-cet.c: Likewise.
13091 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13092 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13093 * sysdeps/x86/cet-tunables.h: Likewise.
13094 * sysdeps/x86/check-cet.awk: Likewise.
13095 * sysdeps/x86/configure: Likewise.
13096 * sysdeps/x86/configure.ac: Likewise.
13097 * sysdeps/x86/dl-cet.c: Likewise.
13098 * sysdeps/x86/dl-procruntime.c: Likewise.
13099 * sysdeps/x86/dl-prop.h: Likewise.
13100 * sysdeps/x86/libc-start.h: Likewise.
13101 * sysdeps/x86/link_map.h: Likewise.
13102 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13103 _CET_ENDBR.
13104 (_dl_runtime_profile): Likewise.
13105 (_dl_runtime_resolve_shstk): New.
13106 (_dl_runtime_profile_shstk): Likewise.
13107 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13108 if CET is enabled.
13109 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13110 (CFLAGS-.os): Likewise.
13111 (CFLAGS-.op): Likewise.
13112 (CFLAGS-.oS): Likewise.
13113 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13114 is enabled.
13115 (tests-special): Add $(objpfx)check-cet.out.
13116 (cet-built-dso): New.
13117 (+$(cet-built-dso:=.note)): Likewise.
13118 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13119 ($(objpfx)check-cet.out): New.
13120 (generated): Add check-cet.out.
13121 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13122 <cet-tunables.h>.
13123 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13124 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13125 (init_cpu_features): Call get_cet_status to check CET status
13126 and update dl_x86_feature_1 with CET status. Call
13127 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13128 (set_x86_shstk). Disable and lock CET in libc.a.
13129 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13130 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13131 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13132 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13133 (_CET_ENDBR): Define if not defined.
13134 (ENTRY): Add _CET_ENDBR.
13135 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13136 x86_shstk.
13137 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13138 _CET_ENDBR.
13139 (_dl_runtime_profile): Likewise.
13140
52b2a80f
RA
131412018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13142
13143 [BZ #21895]
13144 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13145 restore r2 on longjmp.
13146 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13147 test list.
13148 Added rules to build test tst-setjmp-bug21895-static.
13149 Added module setjmp-bug21895 and rules to build a shared object from it.
13150 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13151 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13152
3ae725df
WD
131532018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13154
13155 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13156 * benchtests/bench-strstr.c: Likewise.
13157 * string/memmem.c (FASTSEARCH): Define.
13158 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13159 Add support for FASTSEARCH.
13160 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13161 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13162 (FASTSEARCH): Define.
13163 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13164 * string/test-strstr.c: Likewise.
13165
31e422ca
L
131662018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13167
13168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13169 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13170
faaee1f0
L
131712018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13172 H.J. Lu <hongjiu.lu@intel.com>
13173
13174 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13175 (__longjmp): Restore shadow stack pointer if shadow stack is
13176 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13177 isn't defined for __longjmp_cancel.
13178 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13179 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13180 and SHADOW_STACK_POINTER_OFFSET is defined.
13181 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13182 (setjmp): Save shadow stack pointer if shadow stack is enabled
13183 and SHADOW_STACK_POINTER_OFFSET is defined.
13184 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13185 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13186 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13187 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13188 <jmp_buf-ssp.h>.
13189 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13190 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13191 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13192 Remove jmp_buf-ssp.sym.
13193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13194 <jmp_buf-ssp.h>.
13195 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13196 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13197 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13198 jmp_buf-ssp.sym.
13199 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13200 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13201 (__longjmp): Restore shadow stack pointer if shadow stack is
13202 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13203 isn't defined for __longjmp_cancel.
13204 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13205 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13206 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13207
ebff9c5c
L
132082018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13209
13210 [BZ #22563]
13211 * nptl/pthread_create.c: Include <tls-setup.h>.
13212 (__pthread_create_2_1): Call tls_setup_tcbhead.
13213 * sysdeps/generic/tls-setup.h: New file.
13214 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13215 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13216 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13217 Likewise.
13218 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13219 to feature_1.
13220 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13221 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13222 (X86_FEATURE_1_SHSTK): Likewise.
13223 (CET_ENABLED): Likewise.
13224 (IBT_ENABLED): Likewise.
13225 (SHSTK_ENABLED): Likewise.
13226
0a83bad2
RL
132272018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13228
13229 [BZ #23208]
13230 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13231 (LOCALES): Likewise.
13232 * localedata/dsb_DE.UTF-8.in: New file.
13233 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13234
046bfed9
FW
132352018-07-12 Florian Weimer <fweimer@redhat.com>
13236
13237 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13238 __mprotect, not mprotect.
13239
93304f5f
FW
132402018-07-11 Florian Weimer <fweimer@redhat.com>
13241
13242 * io/Makefile (headers): Add bits/statx.h.
13243
4beefeeb
MF
132442018-07-10 Mike FABIAN <mfabian@redhat.com>
13245
13246 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13247 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13248 and headers.
13249 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13250 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13251 for utf8_gen.py
13252
fd70af45
FW
132532018-07-10 Florian Weimer <fweimer@redhat.com>
13254
13255 * io/Makefile (routines): Add statx.
13256 (tests-internal): Add tst-statx.
13257 * io/Versions (GLIBC_2.28): Export statx.
13258 * io/bits/statx.h: New file.
13259 * io/sys/stat.h [__USE_GNU]: Include it.
13260 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13261 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13262 Define.
13263 * io/statx.c: New file.
13264 * io/statx_generic.: Likewise.
13265 * io/tst-statx.: Likewise.
13266 * include/bits/statx.h: Likewise.
13267 * sysdeps/unix/sysv/linux/kernel-features.h
13268 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13269 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13270 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13271 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13272 Undefine.
13273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13274 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13275 * sysdeps/unix/sysv/linux/statx.c: New file.
13276 * manual/filesys.texi: Note that statx is undocumented.
13277 * sysdeps/**/libc*.abilist: Update.
13278
b444e8f7
AZ
132792018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13280
13281 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13282 a kernel issue which lead to test failure in some cases.
13283
7b2f4ced
FW
132842018-07-10 Florian Weimer <fweimer@redhat.com>
13285
13286 [BZ #23036]
13287 * posix/regexec.c (check_node_accept_bytes): When comparing
13288 weights, do not compare an extra byte after the end of the
13289 weights.
13290
4fa34da6
FW
132912018-07-10 Florian Weimer <fweimer@redhat.com>
13292
13293 * libio/readline.c: Fix copyright year.
13294 * libio/tst-readline.c Likewise.
13295 * nss/tst-nss-files-hosts-getent.c: Likewise.
13296
916124ed
FW
132972018-07-06 Florian Weimer <fweimer@redhat.com>
13298
13299 [BZ #18991]
13300 * nss/nss_files/files-XXX.c (internal_getent): Use
13301 __libc_readline_unlocked. Seek back to the start of the line if
13302 parsing failes with ERANGE.
13303 (get_contents_ret, get_contents): Remove.
13304 * nss/tst-nss-files-hosts-getent.c: New file.
13305 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13306 (tst-nss-files-hosts-getent): Link with -ldl.
13307
3f5e3f5d
FW
133082018-07-06 Florian Weimer <fweimer@redhat.com>
13309
13310 * include/stdio.h (__libc_readline_unlocked): Declare.
13311 (__ftello64, __fseeko64): Declare aliases.
13312 * libio/readline.c: New file.
13313 * libio/tst-readline.c: Likewise.
13314 (routines): Add readline.
13315 (tests-internal): Add tst-readlime.
13316 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13317 __libc_readline_unlocked.
13318 * libio/fseeko.c (__fseeko): Rename from fseeko.
13319 (fseeko): Add alias.
13320 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13321 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13322 (fseeko64): Add alias.
13323 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13324 * libio/ftello64.c (__ftello64): Rename from ftello64.
13325 (ftello64): Add alias.
13326
397c54c1
SN
133272018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13328
13329 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13330 HWCAP_ATOMICS.
13331
d0cd7980
SN
133322018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13333
13334 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13335 Use dl_hwcap without masking.
13336 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13337 Remove HWCAP_CPUID.
13338
ddb3c626
FW
133392018-07-06 Florian Weimer <fweimer@redhat.com>
13340
13341 * conform/conformtest.pl (checknamespace): Escape literal braces
13342 in regular expressions.
13343
bce5911b
AP
133442018-07-06 Amit Pawar <amit.pawar@amd.com>
13345
13346 * sysdeps/x86/cpu-features.c (get_common_indeces):
13347 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13348 * sysdeps/x86/cpu-features.c (init_cpu_features):
13349 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13350
3a885c1f
FW
133512018-07-05 Florian Weimer <fweimer@redhat.com>
13352
13353 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13354 protector.
13355 (CFLAGS-elf-init.oS): Likewise.
13356
38cade0c
FW
133572018-07-05 Florian Weimer <fweimer@redhat.com>
13358 Carlos O'Donell <carlos@redhat.com>
13359
13360 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13361 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13362 with stack protector enabled because there is no risk of infinite
13363 recursion.
13364
9449a295
MR
133652018-07-05 Maciej W. Rozycki <macro@mips.com>
13366
13367 [BZ #19818]
13368 [BZ #23307]
13369 * libc-abis (ABSOLUTE): New ABI.
13370 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13371 * NEWS: Mention the new ABI.
13372
d6da5cb6
FW
133732018-07-05 Florian Weimer <fweimer@redhat.com>
13374
13375 [BZ # 17662]
13376 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13377 (RENAME_WHITEOUT): Define.
13378 [__USE_GNU] (renameat2): Declare.
13379 * stdio-common/Makefile (routines): Add renameat2.
13380 (tests): Add tst-renameat2.
13381 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13382 * stdio-common/renameat2.c: New file.
13383 * stdio-common/tst-renameat2.c: Likewise.
13384 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13385 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13386 undocumented.
13387 * sysdeps/unix/sysv/linux/kernel-features.h
13388 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13390 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13392 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13393 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13394 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13395 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13396 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13397 * include/stdio.h (__renameat): Add alias for renameat.
13398 * stdio-common/renameat.c (__renameat): Rename from renameat.
13399 Add hidden definition and alias.
13400 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13401 * sysdeps/mach/hurd/renameat.c: Likewise.
13402 * sysdeps/**/libc*.abilist: Add renameat2.
13403
1002d708
AZ
134042018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13405
13406 * posix/bug-regex33.c: Fix build after regex sync.
13407
34fdb893
CD
134082018-07-04 Carlos O'Donell <carlos@redhat.com>
13409
13410 [BZ #23164]
13411 * localedata/tst-langinfo-setlocale.c: New file.
13412 * localedata/tst-langinfo-setlocale-static.c: New file.
13413 * localedata/tst-langinfo-newlocale.c: New file.
13414 * localedata/tst-langinfo-newlocale-static.c: New file.
13415 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13416 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13417 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13418 (tests-static): Remove tst-langinfo-static. Add
13419 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13420 (tests-special): Remove $(objpfx)tst-langinfo.out,
13421 $(objpfx)tst-langinfo-static.out. Add
13422 $(objpfx)tst-langinfo-setlocale.out,
13423 $(objpfx)tst-langinfo-newlocale.out,
13424 $(objpfx)tst-langinfo-setlocale-static.out,
13425 $(objpfx)tst-langinfo-newlocale-static.out.
13426 ($(objpfx)tst-langinfo.out): Remove.
13427 ($(objpfx)tst-langinfo-static.out): Remove.
13428 ($(objpfx)tst-langinfo-newlocale.out): New target.
13429 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13430 (test-xfail-tst-langinfo-newlocale-static): Add.
13431 ($(objpfx)tst-langinfo-setlocale.out): New target.
13432 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13433 * localedata/tst-langinfo.c: Call test_locale.
13434 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13435 data.
13436
f2873d2d
FW
134372018-07-04 Florian Weimer <fweimer@redhat.com>
13438
13439 testrun.sh: Implement --tool=strace, --tool=valgrind
13440 * Makefile (testrun-script): Define variable.
13441 (testrun.sh): Use variable.
13442 * manual/install.texi (Tools for Compilation): make 4.0 or later
13443 is required.
13444 * configure.ac: Check for make 4.0 or later.
13445 * INSTALL: Regenerate.
13446 * configure: Likewise.
13447
eb04c213
AZ
134482018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13449
13450 [BZ #23233]
13451 [BZ #21163]
13452 [BZ #18986]
13453 [BZ #13762]
13454 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13455 * posix/PCRE.tests: Remove invalid test.
13456 * posix/bug-regex28.c: Fix expected values for used syntax.
13457 * posix/bug-regex37.c: New file.
13458 * posix/bug-regex38.c: Likewise.
13459 * posix/regcomp.c: Sync with gnulib.
13460 * posix/regex.c: Likewise.
13461 * posix/regex.h: Likewise.
13462 * posix/regex_internal.c: Likewise.
13463 * posix/regex_internal.h: Likewise.
13464 * posix/regexec.c: Likewise.
13465
b11643c2
MF
134662018-06-26 Mike FABIAN <mfabian@redhat.com>
13467
13468 [BZ #23308]
13469 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13470 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13471 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13472 * localedata/unicode-gen/PropList.txt: likewise.
13473 * localedata/unicode-gen/UnicodeData.txt: likewise.
13474 * localedata/charmaps/UTF-8: Regenerate.
13475 * localedata/locales/i18n_ctype: likewise.
13476 * localedata/locales/tr_TR: likewise.
13477 * localedata/locales/translit_circle: likewise.
13478 * localedata/locales/translit_cjk_compat: likewise.
13479 * localedata/locales/translit_combining: likewise.
13480 * localedata/locales/translit_compat: likewise.
13481 * localedata/locales/translit_font: likewise.
13482 * localedata/locales/translit_fraction: likewise.
13483
5a357506
FW
134842018-07-03 Florian Weimer <fweimer@redhat.com>
13485
13486 [BZ #23363]
13487 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13488 * stdio-common/tst-printf.sh: Adjust expected output.
13489 * LICENSES: Update.
13490
7279af00
AZ
134912018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13492
13493 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13494 symbol.
13495
b7b88cea
GG
134962018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13497
13498 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13499 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13500 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13501 * stdio-common/tst-printfsz-islongdouble.c: New file.
13502 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13504 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13505 [subdir == stdio-common] (tests-internal): Add
13506 test-printf-size-ieee128, and test-printf-size-ibm128.
13507 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13508 (CFLAGS-test-printf-size-ibm128.c): New variables.
13509 [subdir == stdio-common] (tests-special): Add
13510 $(objpfx)test-printf-size-ieee128.out and
13511 $(objpfx)test-printf-size-ibm128.out.
13512 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13513 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13514 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13515 __printf_sizeieee128.
13516 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13517 New file.
13518 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13519 Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13521 Likewise.
13522
2b445206
SN
135232018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13524
13525 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13526 (exp2f_inline): Likewise.
13527 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13528 (__math_uflowf): Likewise.
13529 (__math_may_uflowf): Likewise.
13530 (__math_divzerof): Likewise.
13531 (__math_invalidf): Likewise.
13532 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13533 (__math_oflowf): Likewise.
13534 (__math_uflowf): Likewise.
13535 (__math_may_uflowf): Likewise.
13536 (__math_divzerof): Likewise.
13537 (__math_invalidf): Likewise.
13538
2827ab99
CD
135392018-06-29 DJ Delorie <dj@redhat.com>
13540 Carlos O'Donell <carlos@redhat.com>
13541
13542 [BZ #23329]
13543 * include/libc-symbols.h: Comment the freeres framework.
13544 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13545 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13546 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13547 * dlfcn/dlerror.c: Include libc-symbols.h
13548 (__dlerror_main_freeres): New function.
13549 * dlfcn/dlfreeres.c: New file.
13550 * dlfcn/sdlfreeres.c: New file.
13551 * include/dlfcn.h: Declare __dlerror_main_freeres.
13552 * malloc/set-freeres.c: Declare __libdl_freeres, and
13553 __libpthread_freeres.
13554 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13555 the releavant libraries are loaded.
13556 * malloc/thread-freeres.c: Add comments.
13557 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13558 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13559 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13560 (__free_stacks): Rename to...
13561 (free_stacks): ...this. Mark static.
13562 (queue_stack): Call free_stacks.
13563 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13564 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13565 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13566 ptr_freeres element from struct.
13567 (pthread_functions): Remove .ptr_freeres from struct initializer.
13568 [SHARED] (nptl_freeres): Remove.
13569 * nptl/nptlfreeres.c: New file.
13570 * nptl/pthreadP.h
13571 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13572 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13573 attribute_hidden.
13574 (__free_stacks): Rename to...
13575 (__nptl_stacks_freeres): ...this.
13576 (__shm_directory_freeres): Declare.
13577 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13578 (__nptl_unwind_freeres): ...this.
13579 * resolv/res-close.c: Add comment.
13580 * resolv/resolv_conf.c: Include libc-symbols.h.
13581 * string/strerror_l.c: Include libc-symbols.h.
13582 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13583 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13584 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13585 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13586
37d3d244
RS
135872018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13588
13589 * stdlib/tst-strfmon_l.c: Add tests for long double.
13590
a1e0c5fa
MW
135912018-06-29 Michael Wolf <milupo@sorbzilla.de>
13592
13593 [BZ #23208]
13594 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13595 * localedata/locales/dsb_DE: New file.
13596
2e0c5de6
RL
135972018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13598
13599 [BZ #23140]
13600 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13601 genitive case).
13602 (alt_mon): New entry, import from CLDR (nominative case).
13603
cdb52c71
SL
136042018-06-29 Sylvain Lesage <severo@rednegra.net>
13605
13606 [BZ #22996]
13607 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13608
ce76a5cb
SP
136092018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13610
0aec4c1d
SP
13611 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13612 Use vector registers.
13613
ce76a5cb
SP
13614 * sysdeps/aarch64/multiarch/memmove_falkor.S
13615 (__memcpy_falkor): Use vector registers.
13616
7e8989d0
MS
136172018-06-29 Martin Sebor <msebor@redhat.com>
13618
13619 * manual/stdio.texi (Customizing Printf): Mention interaction
13620 with GCC built-ins.
13621
bac15a72
MR
136222018-06-29 Maciej W. Rozycki <macro@mips.com>
13623
13624 [BZ #23307]
13625 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13626 `st_value' is 0 if `st_shndx' is SHN_ABS.
13627 * elf/tst-absolute-zero.c: New file.
13628 * elf/tst-absolute-zero-lib.c: New file.
13629 * elf/tst-absolute-zero-lib.lds: New file.
13630 * elf/Makefile (tests): Add `tst-absolute-zero'.
13631 (modules-names): Add `tst-absolute-zero-lib'.
13632 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13633 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13634 ($(objpfx)tst-absolute-zero: New dependency.
13635
e69d994a
ZW
136362018-06-29 Zack Weinberg <zackw@panix.com>
13637
13638 * configure.ac: New command-line option --disable-crypt.
13639 Force --disable-nss-crypt when --disable-crypt is given, with a
13640 warning if it was explicitly enabled.
13641 * configure: Regenerate.
13642 * config.make.in: New boolean substitution variable $(build-crypt).
13643 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13644 when $(build-crypt).
13645 * manual/install.texi: Document --disable-crypt.
13646 * INSTALL: Regenerate.
13647
13648 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13649 which is never set.
13650 * conform/Makefile: Only include libcrypt.a in
13651 linknamespace-libs-xsi and linknamespace-libs-XPG4
13652 when $(build-crypt).
13653 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13654 USE_CRYPT to 1 when $(build-crypt).
13655 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13656 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13657 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13658
841785ba
ZW
136592018-06-29 Zack Weinberg <zackw@panix.com>
13660
13661 * crypt/crypt.h, posix/unistd.h: Update comments and
13662 prototypes for crypt and crypt_r.
13663
13664 * manual/crypt.texi (Cryptographic Functions): New initial
13665 exposition.
13666 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13667 (Unpredictable Bytes): Improve initial exposition. Clarify error
13668 behavior of getentropy and getrandom.
13669 * manual/examples/genpass.c: Generate a salt using getentropy
13670 instead of the current time. Use hash $5$ (SHA-2-256).
13671 * manual/examples/testpass.c: Demonstrate validation against
13672 hashes generated with three different one-way functions.
13673
13674 * manual/intro.texi: crypt.texi does not need an overview
13675 anymore.
13676
13677 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13678 * manual/terminal.texi: Consistently refer to "passphrases"
13679 * instead of "passwords", and to the "user database" instead
13680 * of the "password database".
13681 * manual/users.texi: Similarly. Add notes about how actual
13682 passphrase hashes are now stored in the shadow database.
13683 Remove 20-year-old junk todo note.
13684
6ab902e4
ZW
136852018-06-29 Zack Weinberg <zackw@panix.com>
13686
13687 * manual/crypt.texi: Use a normal top-level @node declaration.
13688 Move most of the introductory text to the 'crypt' section.
13689 Move the example programs below the @deftypefun for 'crypt_r'.
13690 Move the 'getpass' section...
13691 * manual/terminal.texi: ...here.
13692
b10a0acc
ZW
136932018-06-29 Zack Weinberg <zackw@panix.com>
13694 Florian Weimer <fweimer@redhat.com>
13695
13696 * posix/unistd.h: Do not declare encrypt.
13697 (_XOPEN_CRYPT): Remove macro definition.
13698 (crypt): Declare only for _USE_MISC.
13699 * stdlib/stdlib.h: Do not declare setkey.
13700 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13701 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13702
13703 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13704 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13705 into compat symbols. Don't define initial_perm if it's not
13706 going to be used.
13707 * crypt/cert.c: Link explicitly with the expected versions for
13708 setkey and encrypt. If they are not available at all, mark
13709 the test as unsupported.
13710
13711 * sunrpc/des_crypt.c: Unconditionally block linkage with
13712 cbc_crypt and ecb_crypt for new binaries.
13713 * sunrpc/des_soft.c: Unconditionally block linkage with
13714 des_setparity for new binaries.
13715
13716 * manual/crypt.texi: Remove the entire "DES Encryption"
13717 section. Also remove the paragraph talking about FIPS 140-2
13718 from the introduction.
13719 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13720 of libgcrypt for "real" encryption, not DES.
13721 * manual/conf.texi (Constants for Sysconf): Mention that
13722 _XOPEN_CRYPT is no longer impelemented.
13723
13724 * conform/data/unistd.h-data: Remove crypt function declaration.
13725
524d796d
FW
137262018-06-29 Florian Weimer <fweimer@redhat.com>
13727
13728 [BZ #23351]
13729 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13730 (disallow_malloc_check): Remove variable.
13731 (__malloc_check_init): Adjust.
13732 (malloc_set_state): Update comment.
13733 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13734 declarations.
13735
339124ab
RL
137362018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13737
13738 [BZ #23140]
13739 * localedata/locales/ast_ES (mon): Rename to...
13740 (alt_mon): This.
13741 (mon): Import from CLDR (genitive case).
13742
c1f86a33
DA
137432018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13744 Jakub Sitnicki <jkbs@redhat.com>
13745
13746 [BZ #21812]
13747 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13748 on NLM_F_DUMP_INTR.
13749
0b11b649
SN
137502018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13751
13752 * manual/llio.texi: Remove spurious space.
13753
c1c2848b
FW
137542018-06-28 Florian Weimer <fweimer@redhat.com>
13755
13756 [BZ #23349]
13757 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13758 _STRUCT_TIMESPEC.
13759
86a0f561
RS
137602018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13761
13762 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 13763 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
13764 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13765 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13766 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13767 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13768 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13769
780684eb
MR
137702018-06-27 Maciej W. Rozycki <macro@mips.com>
13771
13772 [BZ #23266]
13773 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13774 Copy and null-terminate entries that are not terminated, in
13775 addition to empty ones.
13776
c49e1822
FW
137772018-06-27 Florian Weimer <fweimer@redhat.com>
13778
13779 [BZ #18023]
b39d961c
TS
13780 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13781 (extend_alloca_account): Remove.
c49e1822
FW
13782 * manual/stdio.texi (Variable Arguments Output): Update comment.
13783
a833e627
JM
137842018-06-27 Joseph Myers <joseph@codesourcery.com>
13785
13786 * nptl/sockperf.c: Remove file.
13787
92d6aa85
FW
137882018-06-27 Florian Weimer <fweimer@redhat.com>
13789
13790 [BZ #18023]
13791 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13792 scratch_buffer instead of extend_alloca.
13793
890c2ced
FW
137942018-06-27 Florian Weimer <fweimer@redhat.com>
13795
13796 [BZ #18023]
13797 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13798 scratch_buffer instead of extend_alloca. Update comments.
13799
4272059d
FW
138002018-06-27 Florian Weimer <fweimer@redhat.com>
13801
13802 [BZ #18023]
13803 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13804 instead of extend_alloca.
13805
27f10a09
JM
138062018-06-26 Joseph Myers <joseph@codesourcery.com>
13807
13808 [BZ #13888]
13809 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13810 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13811 /tmp.
13812 * scripts/test-installation.pl: Put temporary files in build
13813 directory, not /tmp.
13814 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13815 (CFLAGS-bug4.c): Likewise.
13816 (CFLAGS-bug5.c): Likewise.
13817 (CFLAGS-test-fseek.c): Likewise.
13818 (CFLAGS-test-popen.c): Likewise.
13819 (CFLAGS-test_rdwr.c): Likewise.
13820 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13821 /tmp.
13822 * stdio-common/bug4.c (main): Likewise.
13823 * stdio-common/bug5.c (main): Likewise.
13824 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13825 * stdio-common/test-popen.c (do_test): Likewise.
13826 * stdio-common/test_rdwr.c (main): Likewise.
13827
05598a09
PF
138282018-06-26 Patsy Franklin <pfrankli@redhat.com>
13829
13830 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13831 (sem_open): Set sem.newsem.pad to zero for valgrind.
13832
06ab719d
AZ
138332018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13834
13835 [BZ #20251]
13836 * NEWS: Mention fcntl64 addition.
13837 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13838 * login/utmp_file.c: Likewise.
13839 * sysdeps/posix/fdopendir.c: Likewise.
13840 * sysdeps/posix/opendir.c: Likewise.
13841 * sysdeps/unix/pt-fcntl.c: Likewise.
13842 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13843 __fcntl64_nocancel_adjusted): New prototype.
13844 (__fcntl_nocancel_adjusted): Remove prototype.
13845 * io/Makefile (routines): Add fcntl64.
13846 (CFLAGS-fcntl64.c): New rule.
13847 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13848 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13849 * io/fcntl.h (fcntl64): Add prototype and redirect if
13850 __USE_FILE_OFFSET64 is defined.
13851 * io/fcntl64.c: New file.
13852 * manual/llio.text: Add a note for which commands fcntl acts a
13853 cancellation point.
13854 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13855 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13856 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13857 New symbols.
13858 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13859 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13860 non-LFS case.
13861 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13862 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13863 to __fcntl64_nocancel.
13864 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13865 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13866 to __fcntl64_nocancel.
13867 * sysdeps/generic/not-cancel.h: Likewise.
13868 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13869 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13870 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13871 (fcntl64): New symbol.
13872 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13873 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13877 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13883 fcntl64): Likewise.
13884 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13886 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13894 Likewise.
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13896 Likewise.
13897 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13900
124e0258
FW
139012018-06-26 Florian Weimer <fweimer@redhat.com>
13902
13903 Run thread shutdown functions in an explicit order.
13904 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13905 definition.
13906 (__libc_thread_freeres): Call thread shutdown functions
13907 explicitly.
13908 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13909 * include/string.h (__strerror_thread_freeres): Declare.
13910 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13911 arena_thread_freeres. No longer static. Remove thread shutdown
13912 hook registration.
13913 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13914 Declare.
13915 * resolv/res-close.c (__res_thread_freeres): Renamed from
13916 res_thread_freeres. No longer static. Remove thread shutdown
13917 hook registration.
13918 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13919 * resolv/resolv_conf.c (freeres): Remove incorrect section
13920 attribute and use libc_freeres_fn.
13921 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13922 strerror_thread_freeres. No longer static. Remove thread
13923 shutdown hook registration.
13924 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13925 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13926 shutdown hook registration.
13927 * Makerules (shlib.lds): Do not provide section boundary symbols
13928 for __libc_thread_subfreeres.
13929 * manual/memory.texi (Basic Allocation): Update comment.
13930
935d920e
FW
139312018-06-26 Florian Weimer <fweimer@redhat.com>
13932
13933 Remove always-defined _RPC_THREAD_SAFE_ macro.
13934 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13935 Do not define _RPC_THREAD_SAFE_.
13936 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13937 conditional.
13938 * sunrpc/clnt_perr.c: Likewise.
13939 * sunrpc/clnt_raw.c: Likewise.
13940 * sunrpc/clnt_simp.c: Likewise.
13941 * sunrpc/key_call.c: Likewise.
13942 * sunrpc/rpc_common.c: Likewise.
13943 * sunrpc/rpc_main.c: Likewise.
13944 * sunrpc/rpc_thread.c: Likewise.
13945 * sunrpc/svc.c: Likewise.
13946 * sunrpc/svc_raw.c: Likewise.
13947 * sunrpc/svc_simple.c: Likewise.
13948 * sumrpc/svcauth_des.c: Likewise.
13949
29055464
FW
139502018-06-26 Florian Weimer <fweimer@redhat.com>
13951
13952 * libio/Makefile (tests-internal): Add tst-vtables,
13953 tst-vtables-interposed.
13954 * libio/tst-vtables.c: New file.
13955 * libio/tst-vtables-common.c: Likewise.
13956 * libio/tst-vtables-interposed.c: Likewise.
13957
5c0202af
FW
139582018-06-26 Florian Weimer <fweimer@redhat.com>
13959
13960 * support/support_test_main.c (support_test_main): Only call
13961 setvbuf if not disables.
13962 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13963 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13964
c402355d
FW
139652018-06-26 Florian Weimer <fweimer@redhat.com>
13966
13967 [BZ #23313]
13968 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13969
43b1048a
FW
139702018-06-25 Florian Weimer <fweimer@redhat.com>
13971
13972 [BZ #18023]
13973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13974 Use struct scratch_buffer instead of extend_alloca.
13975
1599ed4e
FW
139762018-06-25 Florian Weimer <fweimer@redhat.com>
13977
13978 [BZ #18023]
13979 * nss/getent.c (initgroups_keys): Use dynarray instead of
13980 extend_alloca.
13981
a26fe163
FW
139822018-06-25 Florian Weimer <fweimer@redhat.com>
13983
13984 [BZ #18023]
13985 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13986 Use struct scratch_buffer instead of extend_alloca.
13987
90d9d9ce
FW
139882018-06-25 Florian Weimer <fweimer@redhat.com>
13989
13990 [BZ #18023]
13991 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13992 back to malloc directly, without stack allocations.
13993
6b7b2aba
FW
139942018-06-25 Florian Weimer <fweimer@redhat.com>
13995
13996 [BZ #18023]
13997 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13998 of extend_alloca.
13999
2f9f0d18
FW
140002018-06-25 Florian Weimer <fweimer@redhat.com>
14001
14002 [BZ #18023]
14003 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14004 of extend_alloca.
14005 * nscd/hstcache.c (addhstbyX): Likewise.
14006 * nscd/pwdcache.c (addpwbyX): Likewise.
14007 * nscd/servicescache.c (addservbyX): Likewise.
14008
318bad78
FW
140092018-06-25 Florian Weimer <fweimer@redhat.com>
14010
14011 [BZ #18023]
14012 * nscd/connections.c (read_cmdline): New function.
14013 (restart): Use it. Update comment.
14014
189699ab
RL
140152018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14016
14017 [BZ #23140]
14018 * localedata/locales/csb_PL (mon): Rename to...
14019 (alt_mon): This.
14020 (abmon): Rename to...
14021 (ab_alt_mon): This.
14022 (mon): Add with proper genitive forms, copy from Wikipedia.
14023 (abmon): Likewise.
14024
0ea3f13c
RL
140252018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14026
14027 [BZ #19485]
14028 * localedata/locales/csb_PL (mon): Fix typos:
14029 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14030 (yesstr): Add, value is "jo".
14031 (nostr): Add, value is "nié".
14032
d93f4ff1
TMQMF
140332018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14034
14035 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14036 all log1p and significand functions on m680x0.
14037 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14038 of s_significand.c..
14039 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14040 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14041 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14042 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14043 s_log1p.c and include it..
14044
f6299d2a
VC
140452018-06-21 Vincent Chen <vincentc@andestech.com>
14046
14047 * elf/elf.h (R_NDS32_NONE): New define.
14048 (R_NDS32_32_RELA): Likewise.
14049 (R_NDS32_COPY): Likewise.
14050 (R_NDS32_GLOB_DAT): Likewise.
14051 (R_NDS32_JUMP_SLOT): Likewise.
14052 (R_NDS32_RELATIVE): Likewise.
14053 (R_NDS32_TLS_TPOFF): Likewise.
14054 (R_NDS32_TLS_DESC): Likewise.
14055
61ab61c2
MW
140562018-06-21 Mark Wielaard <mark@klomp.org>
14057
14058 * elf/elf.h (R_BPF_MAP_FD): Removed.
14059 (R_BPF_64_64, R_BPF_64_32): New.
14060
f496b28e
FW
140612018-06-21 Florian Weimer <fweimer@redhat.com>
14062
14063 [BZ #23253]
14064 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14065 Renamed from libc_feholdsetround_ctx.
14066 (default_libc_feresetround_ctx): Renamed from
14067 libc_feresetround_ctx.
14068 (default_libc_feholdsetround_noex_ctx): Renamed from
14069 libc_feholdsetround_noex_ctx.
14070 (default_libc_feresetround_noex_ctx): Renamed from
14071 libc_feresetround_noex_ctx.
14072 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14073 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14074 forwardning to the old implementations under the new names.
14075 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14076 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14077 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14078 (libc_feresetround_ctx): Forward to default implements for i386
14079 and MATH_SET_BOTH_ROUNDING_MODES.
14080 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14081 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14082
1760daad
JM
140832018-06-20 Joseph Myers <joseph@codesourcery.com>
14084
99c7adf9
JM
14085 * string/tst-cmp.c: Include <libc-diag.h>.
14086 (strncmp_max): Disable -Wstringop-overflow= around call to
14087 strncmp.
14088 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14089 strncasecmp.
14090
1760daad
JM
14091 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14092 (main): Disable -Wunused-value around call to strpbrk.
14093 * string/bug-strspn1.c: Include <libc-diag.h>.
14094 (main): Disable -Wunused-value around call to strspn.
14095
209ae17c
TMQMF
140962018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14097 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14098
14099 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14100 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14101
badba23c
TMQMF
141022018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14103
5e79e029
TMQMF
14104 * math/Makefile (libm-calls): Move s_significandF to...
14105 (gen-libm-calls): ... here.
14106 * math/s_significand_template.c: New file.
14107 * math/s_significand.c: Removed.
14108 * math/s_significandf.c: Removed.
14109 * math/s_significandl.c: Removed.
14110 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14111 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14112
badba23c
TMQMF
14113 * math/e_exp2_template.c (declare_mgen_finite_alias,
14114 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14115 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14116 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14117
2d1c89a5
FW
141182018-06-20 Florian Weimer <fweimer@redhat.com>
14119
14120 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14121
646c2833
JM
141222018-06-19 Joseph Myers <joseph@codesourcery.com>
14123
14124 [BZ #23280]
14125 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14126 floating-point number to strtod functions rather than possibly
14127 negating result of those functions.
14128 * stdio-common/tst-scanf-round.c: New file.
14129 * stdio-common/Makefile (tests): Add tst-scanf-round.
14130 ($(objpfx)tst-scanf-round): Depend on $(libm).
14131
c77e4dc0
ST
141322018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14133
14134 * sysdeps/mach/hurd/localplt.data: Move to...
14135 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14136 R_386_GLOB_DAT like on Linux i386.
14137
91b2f3e5
JM
141382018-06-18 Joseph Myers <joseph@codesourcery.com>
14139
f2857da7
JM
14140 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14141 (SHM_STAT_ANY): New macro.
14142 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14143 (SHM_STAT_ANY): Likewise.
14144 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14145 (SHM_STAT_ANY): Likewise.
14146 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14147 (SHM_STAT_ANY): Likewise.
14148 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14149 (SHM_STAT_ANY): Likewise.
14150 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14151 (SHM_STAT_ANY): Likewise.
14152 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14153 (SHM_STAT_ANY): Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14155 (SHM_STAT_ANY): Likewise.
14156 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14157 (SHM_STAT_ANY): Likewise.
14158 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14159 (SHM_STAT_ANY): Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14161 (SHM_STAT_ANY): Likewise.
14162 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14163 (SHM_STAT_ANY): Likewise.
14164
176c7fee
JM
14165 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14166 (SEM_STAT_ANY): New macro.
14167 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14168 (SEM_STAT_ANY): Likewise.
14169 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14170 (SEM_STAT_ANY): Likewise.
14171 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14172 (SEM_STAT_ANY): Likewise.
14173 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14174 (SEM_STAT_ANY): Likewise.
14175 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14176 (SEM_STAT_ANY): Likewise.
14177 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14178 (SEM_STAT_ANY): Likewise.
14179 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14180 (SEM_STAT_ANY): Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14182 (SEM_STAT_ANY): Likewise.
14183 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14184 (SEM_STAT_ANY): Likewise.
14185
86bf0019
JM
14186 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14187 (MSG_STAT_ANY): New macro.
14188 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14189 (MSG_STAT_ANY): Likewise.
14190 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14191 (MSG_STAT_ANY): Likewise.
14192 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14193 (MSG_STAT_ANY): Likewise.
14194 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14195 (MSG_STAT_ANY): Likewise.
14196 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14197 (MSG_STAT_ANY): Likewise.
14198 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14199 (MSG_STAT_ANY): Likewise.
14200 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14201 (MSG_STAT_ANY): Likewise.
14202 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14203 (MSG_STAT_ANY): Likewise.
14204 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14205 (MSG_STAT_ANY): Likewise.
14206
91b2f3e5
JM
14207 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14208 (MAP_TYPE): Change value to 0x2b.
14209
3fe8fc79
FW
142102018-06-18 Florian Weimer <fweimer@redhat.com>
14211
14212 [BZ #15722]
14213 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14214 socket with SOCK_CLOEXEC.
14215
809dc95d
JM
142162018-06-18 Joseph Myers <joseph@codesourcery.com>
14217
14218 [BZ #23303]
14219 * sysdeps/powerpc/powerpc64/le/Makefile
14220 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14221 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14222 (gnulib-tests): Also add $(f128-loader-link) for
14223 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14224
298a8b59
ST
142252018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14226
14227 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14228 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14229 of sendfile.
14230 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14231 (sendfile64): New strong alias.
faf7bbc2
ST
14232 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14233 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14234 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
14235 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14236 attribute.
14237 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14238 ___pthread_get_cleanup_stack.
932d05f0 14239 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
14240 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14241 * mach/shortcut.awk: Make syscall stubs include
14242 <mach-shortcuts-hidden.h> and add hidden definition.
14243 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
14244 (__mach_msg): Add hidden prototype.
14245 * mach/msg.c: Include <mach.h>.
14246 (__mach_msg): Add hidden definition.
b0344cf5
ST
14247 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14248 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14249 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14250 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
14251 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14252 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
14253 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14254 prototype and definition.
14255 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14256 hidden target for _hurd_self_sigstate.
298a8b59 14257
b12c1e79
JM
142582018-06-15 Joseph Myers <joseph@codesourcery.com>
14259
14260 [BZ #23007]
14261 * stdlib/tst-strtod-nan-sign-main.c: New file.
14262 * stdlib/tst-strtod-nan-sign.c: Likewise.
14263 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14264 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14265 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14266 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14267 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14268
b0debe14
HB
142692018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14270
14271 [BZ #23007]
14272 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14273 appropriate sign.
14274
14beef75
FW
142752018-06-14 Florian Weimer <fweimer@redhat.com>
14276
14277 [BZ #23290]
14278 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14279 that the result stays within the ISO-8859-1 range.
14280 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14281 characters are defined in IBM273.
14282
c596630b
ST
142832018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14284
14285 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14286 __mach_task_self): Remove attribute_hidden.
14287
35ebb6b0
JM
142882018-06-14 Joseph Myers <joseph@codesourcery.com>
14289
14290 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14291 ignore -Wrestrict for one test.
14292
3c7b9f1f
SE
142932018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14294 Szabolcs Nagy <szabolcs.nagy@arm.com>
14295
14296 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14297
c59ee916
FW
142982018-06-14 Florian Weimer <fweimer@redhat.com>
14299
14300 * scripts/update-abilist.sh: Accept empty list of files to patch.
14301
43b5ff50
ST
143022018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14303
14304 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14305 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
14306 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14307 __libc_read and __libc_write to __read and __write.
c8c6e6d6 14308 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
14309 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14310 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14311 __thread_switch, __evc_wait): Move declarations to...
14312 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14313 attribute_hidden.
06d1a826
ST
14314 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14315 use PLT to call _hurd_self_sigstate.
43b5ff50 14316
fcd6b5ac
JM
143172018-06-13 Joseph Myers <joseph@codesourcery.com>
14318
14319 [BZ #23279]
14320 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14321 MAX_EXP as overflowing.
14322 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14323 overflow flag.
14324 (round_str): Output also whether result overflows in each rounding
14325 mode.
14326 * stdlib/tst-strtod-round-data: Add more tests.
14327 * stdlib/tst-strtod-round-data.h: Regenerated.
14328 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14329 (TEST): Handle extra arguments for overflow flags.
14330 (struct test_overflow): New type.
14331 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14332 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14333 (test_in_one_mode): Take argument with overflow information.
14334 (do_test): Update calls to test_in_one_mode.
14335
35df5a77
CD
143362018-06-12 Carlos O'Donell <carlos@redhat.com>
14337
a745c837
CD
14338 * elf/dl-load (_dl_dst_substitute): Correct comment.
14339 (_dl_dst_count): Likewise.
14340
35df5a77
CD
14341 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14342 lll_futex_timed_wait.
14343
48b12ed5
JM
143442018-06-12 Joseph Myers <joseph@codesourcery.com>
14345
14346 [BZ #23277]
14347 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14348 attribute.
14349 * math/test-nan-const.c: New file.
14350 * math/Makefile (tests): Add test-nan-const.
14351 (CFLAGS-test-nan-const.c): New variable.
14352
cb8f6aff
L
143532018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14354
14355 * benchtests/scripts/compare_strings.py (process_results): Add
14356 funcs argument. Compare only functions which are selected.
14357 (main): Check if base function is among selected functions.
14358 Pass selected functions to process_results.
14359 (__main__): Add -f/--functions argument.
14360
fc2ba803
HZ
143612018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14362 Hongbo Zhang <hongbo.zhang@linaro.org>
14363
14364 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14365 __memcpy_falkor for phecda core.
14366 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14367 __memmove_falkor for phecda core.
14368 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14369 __memset_falkor for phecda core.
14370 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14371 for phecda core.
14372 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14373 macro to identify phecda core.
14374
5aad5f61
CD
143752018-06-12 Carlos O'Donell <carlos@redhat.com>
14376 Andreas Schwab <schwab@suse.de>
14377 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 14378 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
14379
14380 [BZ #23102]
14381 [BZ #21942]
14382 [BZ #18018]
14383 [BZ #23259]
14384 CVE-2011-0536
14385 * elf/dl-dst.h: Remove DL_DST_COUNT.
14386 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14387 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14388 (is_dst): Comment. Support ELF gABI.
14389 (_dl_dst_count): Comment. Simplify and count DSTs.
14390 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14391 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14392 locals.
14393
329ea513
ZW
143942018-06-12 Zack Weinberg <zackw@panix.com>
14395
14396 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14397 * sysdeps/unix/sysv/linux/dl-sysdep.c
14398 Include not-cancel.h. Use __close_nocancel instead of __close,
14399 __open64_nocancel instead of __open, __read_nocancel instead of
14400 __libc_read, and __write_nocancel instead of __libc_write.
14401
14402 * csu/check_fds.c (check_one_fd)
14403 * sysdeps/posix/fdopendir.c (__fdopendir)
14404 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 14405 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
14406
14407 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14408 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 14409 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
14410 Use __open64_nocancel instead of __open_nocancel.
14411
14412 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14413 hidden_proto declarations to the end and issue them if either
14414 IS_IN(libc) or IS_IN(rtld).
14415 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14416 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14417 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14418 read_nocancel, waitpid_nocancel, write_nocancel.
14419
b39d961c
TS
14420 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14421 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14422 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 14423
b39d961c
TS
14424 * nptl/pt-fcntl.c: New file.
14425 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14426 (libpthread-routines): Add pt-fcntl.
14427 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14428 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
14429 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14430 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 14431 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
14432 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14433 to fcntl_nocancel.c.
14434 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14437 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14438
14439 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14440 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14441 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14442 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14443 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14444 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14445 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14446 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14447 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14448 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14449 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14450 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14451 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14452 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14453 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14454 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14455 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14456 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14457 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14458 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14459
b39d961c
TS
14460 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14461 libpthread-routines.
14462 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14463 defines nothing.
329ea513 14464
b39d961c
TS
14465 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14466 __libc_read, and __write instead of __libc_write. Define
14467 __open64 in addition to __open.
329ea513 14468
0221ce2a
L
144692018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14470
14471 [BZ #23250]
14472 [BZ #10686]
14473 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14474 to _private_tm[3] and add __glibc_reserved2.
14475 Add _Static_assert of offset of __private_ss == 0x30.
14476 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14477 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14478
e826574c
FW
144792018-06-12 Florian Weimer <fweimer@redhat.com>
14480
14481 x86: Make strncmp usable from rtld.
14482 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14483 __strncmp_ia32 if in libc (and not in rtld).
14484 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14485 strncmp if not in libc (and not to __strncmp_sse2).
14486
c4ad5782
RL
144872018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14488
14489 [BZ #23140]
14490 * localedata/locales/gd_GB (mon): Rename to...
14491 (alt_mon): This.
14492 (mon): Import from CLDR (genitive case).
14493 * localedata/locales/hsb_DE (mon): Rename to...
14494 (alt_mon): This.
14495 (mon): Import from CLDR (genitive case).
14496 * localedata/locales/wa_BE (mon): Rename to...
14497 (alt_mon): This.
14498 (mon): Add, fill with the proper genitive forms, but CLDR data
14499 is incomplete; completed according to the comments in this file.
14500 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14501
14502 * localedata/locales/wa_BE (country_name): Reword
14503 "Beljike" -> "Beldjike".
14504
ca121b11
JM
145052018-06-11 Joseph Myers <joseph@codesourcery.com>
14506
14507 [BZ #23272]
14508 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14509 cases of non-finite arguments.
14510 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14511
2b69fecb
JDA
145122018-06-10 John David Anglin <danglin@gcc.gnu.org>
14513
14514 [BZ #23174]
14515 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14516
283d9851
AZ
145172018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14518
14519 [BZ #23264]
14520 * include/unistd.h (__execvpex): New prototype.
14521 * posix/Makefile (tests): Add tst-spawn4.
14522 (tests-internal): Add tst-spawn4-compat.
14523 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14524 * posix/tst-spawn4-compat.c: New file.
14525 * posix/tst-spawn4.c: Likewise.
14526 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14527 binaries as shell scripts.
14528 * sysdeps/posix/spawni.c (__spawni): Likewise.
14529
67c05796
L
145302018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14531
14532 [BZ #23145]
14533 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14534 ($(all-built-dso:=.dynsym): New target.
14535 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14536 ($(objpfx)check-initfini.out): New target.
14537 (generated): Add check-initfini.out.
14538 * scripts/check-initfini.awk: New file.
14539 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14540 (_fini): Likewise.
14541 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14542 (_fini): Likewise.
14543 * sysdeps/arm/crti.S (_init): Mark as hidden.
14544 (_fini): Likewise.
14545 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14546 (_fini): Likewise.
14547 * sysdeps/i386/crti.S (_init): Mark as hidden.
14548 (_fini): Likewise.
14549 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14550 (_fini): Likewise.
14551 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14552 (_fini): Likewise.
14553 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14554 (_fini): Likewise.
14555 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14556 (_fini): Likewise.
14557 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14558 (_fini): Likewise.
14559 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14560 (_fini): Likewise.
14561 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14562 (_fini): Likewise.
14563 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14564 (_fini): Likewise.
14565 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14566 (_fini): Likewise.
14567 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14568 (_fini): Likewise.
14569 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14570 (_fini): Likewise.
14571 * sysdeps/sh/crti.S (_init): Mark as hidden.
14572 (_fini): Likewise.
14573 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14574 (_fini): Likewise.
14575 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14576 (_fini): Likewise.
14577
1c09524e
TMQMF
145782018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14579
14580 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14581 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14582 and TF redirection to KFtype and KF only when the default
14583 long double type is not the IEEE 128-bit floating point type.
14584
0e0577c9
JM
145852018-06-05 Joseph Myers <joseph@codesourcery.com>
14586
0c1c33b2
JM
14587 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14588 macro.
14589 (HWCAP_USCAT): Likewise.
14590 (HWCAP_ILRCPC): Likewise.
14591 (HWCAP_FLAGM): Likewise.
14592 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14593 Increase to 28.
14594 (_dl_aarch64_cap_flags): Add new flag names.
14595
bef1cbf4
JM
14596 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14597 (MAP_FIXED_NOREPLACE): New macro.
14598 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14599 (MAP_FIXED_NOREPLACE): Likewise.
14600 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14601 (MAP_FIXED_NOREPLACE): Likewise.
14602 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14603 (MAP_FIXED_NOREPLACE): Likewise.
14604 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14605 (MAP_FIXED_NOREPLACE): Likewise.
14606 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14607 (MAP_FIXED_NOREPLACE): Likewise.
14608 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14609 (MAP_FIXED_NOREPLACE): Likewise.
14610 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14611 (MAP_FIXED_NOREPLACE): Likewise.
14612 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14613 (MAP_FIXED_NOREPLACE): Likewise.
14614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14615 (MAP_FIXED_NOREPLACE): Likewise.
14616 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14617 (MAP_FIXED_NOREPLACE): Likewise.
14618 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14619 (MAP_FIXED_NOREPLACE): Likewise.
14620 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14621 (MAP_FIXED_NOREPLACE): Likewise.
14622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14623 (MAP_FIXED_NOREPLACE): Likewise.
14624 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14625 (MAP_FIXED_NOREPLACE): Likewise.
14626
0e0577c9
JM
14627 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14628 version to 4.17.
14629
ab3a0da0
JM
146302018-06-04 Joseph Myers <joseph@codesourcery.com>
14631
14632 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14633 version to 4.17
14634
d2d9dfb6
ST
146352018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14636
14637 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14638 int.
14639 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14640
a650b05e
LS
146412018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14642
14643 * benchtests/scripts/compare_string.py: (process_results) Catch
14644 exception in non-existent base_func and catch exception in
14645 non-existent attribute.
14646 (parse_file) Catch exception if input file does not exist.
14647
195abbf4
LS
146482018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14649
14650 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14651 options to avoid diff calculation and omit header, respectively.
14652 (main): process --no-diff and --no-header
14653
14570163
LS
146542018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14655 H.J. Lu <hongjiu.lu@intel.com>
14656
14657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14658 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14659 wcsncmp-sse2.
14660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14661 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14662 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14663 and __wcsncmp_sse2.
14664 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14665 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14666 AVX unaligned load is fast and vzeroupper is preferred.
14667 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14668 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14669 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14670 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14671 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14672 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14673 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14674 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14675 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14676 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14677 is undefined.
14678
e02c026f
FW
146792018-06-01 Florian Weimer <fweimer@redhat.com>
14680
14681 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14682 configuring with --disable-multi-arch, building with
14683 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14684 Haswell-era CPU.
14685
d8c19275
FW
146862018-06-01 Florian Weimer <fweimer@redhat.com>
14687
14688 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14689 results from building with “-march=x86-64 -mtune=generic
14690 -mfpmath=sse” and running on a Haswell-era CPU.
14691
0d2163eb
JM
146922018-06-01 Joseph Myers <joseph@codesourcery.com>
14693
14694 [BZ #18473]
14695 * soft-fp/sqrttf2.c: Remove file.
14696 * soft-fp/sqrtdf2.c: Move to ....
14697 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14698 <shlib-compat.h>.
14699 (__sqrtdf2): Make conditional on
14700 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14701 symbol.
14702 * soft-fp/sqrtsf2.c: Move to ....
14703 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14704 <shlib-compat.h>.
14705 (__sqrtsf2): Make conditional on
14706 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14707 symbol.
14708 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14709 (gcc-double-routines): Remove sqrtdf2.
14710 (gcc-quad-routines): Remove sqrttf2.
14711 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14712 Do not filter out sqrtsf2 and sqrtdf2.
14713 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14714 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14715
10450210
FW
147162018-06-01 Florian Weimer <fweimer@redhat.com>
14717
14718 * sysdeps/generic/libcidn.abilist: Remove file.
14719
4e8a6346
FW
147202018-06-01 Florian Weimer <fweimer@redhat.com>
14721
14722 [BZ #23236]
14723 * libio/strfile.h (struct _IO_str_fields): Rename members to
14724 discourage their use and add comment.
14725 (_IO_STR_DYNAMIC): Remove unused macro.
14726 * libio/strops.c (_IO_str_init_static_internal): Do not use
14727 callback pointers. Call malloc and free.
14728 (_IO_str_overflow): Do not use callback pointers. Call malloc
14729 and free.
14730 (enlarge_userbuf): Likewise.
14731 (_IO_str_finish): Call free.
14732 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14733 _allocate_buffer_unused.
14734 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14735 and free.
14736 (enlarge_userbuf): Likewise.
14737 (_IO_wstr_finish): Call free.
14738 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14739 _allocate_buffer_unused, _free_buffer_unused.
14740 * libio/memstream.c (__open_memstream): Likewise.
14741 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14742 * libio/wmemstream.c (open_wmemstream): Likewise.
14743
50d004c9
PP
147442018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14745
14746 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14747 AMD Ryzen 7 1800X.
14748
2c93fce7
RS
147492018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14750
14751 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14752 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14753 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14754 New file.
14755 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14756 Likewise.
14757 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14758
0ce2fa69
FW
147592018-05-29 Florian Weimer <fweimer@redhat.com>
14760
14761 * support/Makefile (libsupport-routines): Add
14762 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14763 xpthread_barrierattr_setpshared.
14764 * support/xpthread_barrierattr_destroy.c: New file.
14765 * support/xpthread_barrierattr_init.c: Likewise.
14766 * support/xpthread_barrierattr_setpshared.c: Likewise.
14767
7f7b5d8d
L
147682018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14769
14770 [BZ #23206]
14771 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14772 _r_debug and update DT_DEBUG for debugger.
14773
e4890300
FW
147742018-05-29 Florian Weimer <fweimer@redhat.com>
14775
14776 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14777 (tst-strtod5i.out): Likewise.
14778
2c753f3e
JM
147792018-05-25 Joseph Myers <joseph@codesourcery.com>
14780
b5453d9f
JM
14781 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14782 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14783 (sparc64-quad-routines): New variable. Moved from ....
14784 [$(subdir) = soft-fp] (sysdep_routines): Add
14785 $(sparc64-quad-routines). Moved from ....
14786 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14787 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14788 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14789 moved from ....
14790 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14791 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14792 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14793 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14794 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14795 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14796 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14797 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14798 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14799 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14800 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14801 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14802 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14803 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14804 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14805 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14806 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14807 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14808 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14809 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14810 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14811 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14812 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14813 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14814 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14815 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14816 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14817 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14818 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14819 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14820 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14821 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14822 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14823 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14824 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14825 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14826 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14827 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14829 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14830 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14831 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14832 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14833 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14834 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14835 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14836 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14837 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14838 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14839 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14840 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14841 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14842 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14843 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14844 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14845 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14846 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14847 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14848
2c753f3e
JM
14849 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14850 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14851 (sparc32-quad-routines): New variable. Moved from ....
14852 [$(subdir) = soft-fp] (sysdep_routines): Add
14853 $(sparc32-quad-routines). Moved from ....
14854 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14855 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14856 moved from ....
14857 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14858 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14859 * sysdeps/sparc/sparc32/q_add.c: ... here.
14860 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14861 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14862 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14863 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14864 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14865 * sysdeps/sparc/sparc32/q_div.c: ... here.
14866 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14867 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14868 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14869 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14870 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14871 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14872 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14873 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14874 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14875 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14876 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14877 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14878 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14879 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14880 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14881 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14882 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14883 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14884 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14885 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14886 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14887 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14888 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14889 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14890 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14891 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14892 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14893 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14894 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14895 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14896 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14897 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14898 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14899 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14900 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14901 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14902 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14903 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14904 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14905 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14906 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14907 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14908 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14909 * sysdeps/sparc/sparc32/q_util.c: ... here.
14910 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14911 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14912 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14913 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14914
c1dc1e1b
TMQMF
149152018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14916 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14917
14918 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14919 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14920 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14921 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14922
14186e8d
JM
149232018-05-24 Joseph Myers <joseph@codesourcery.com>
14924
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14926 powerpc/soft-fp.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14928 Likewise.
14929 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14930 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14931
fb0e10b8
GG
149322018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14933
14934 [BZ #23171]
14935 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14936 double version.
14937
1dfeb17e
JM
149382018-05-23 Joseph Myers <joseph@codesourcery.com>
14939
14940 * sysdeps/sh/Implies: Remove sh/soft-fp.
14941 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14942 * sysdeps/sh/sfp-machine.h: ... here.
14943
727b38df
L
149442018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14945
14946 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14947 (__mempcpy_erms): Skip zero length.
14948 (__memmove_erms): Likewise.
14949 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14950 (__memset_erms): Likewise.
14951
2834fb46
JM
149522018-05-23 Joseph Myers <joseph@codesourcery.com>
14953
14954 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14955 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14956 Add functions moved from ....
14957 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14958 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14959 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14960 from ....
14961 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14962 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14963 * sysdeps/alpha/e_sqrtl.c: ... here.
14964 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14965 * sysdeps/alpha/local-soft-fp.h: ... here.
14966 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14967 * sysdeps/alpha/ots_add.c: ... here.
14968 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14969 * sysdeps/alpha/ots_cmp.c: ... here.
14970 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14971 * sysdeps/alpha/ots_cmpe.c: ... here.
14972 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14973 * sysdeps/alpha/ots_cvtqux.c: ... here.
14974 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14975 * sysdeps/alpha/ots_cvtqx.c: ... here.
14976 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14977 * sysdeps/alpha/ots_cvttx.c: ... here.
14978 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14979 * sysdeps/alpha/ots_cvtxq.c: ... here.
14980 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14981 * sysdeps/alpha/ots_cvtxt.c: ... here.
14982 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14983 * sysdeps/alpha/ots_div.c: ... here.
14984 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14985 * sysdeps/alpha/ots_mul.c: ... here.
14986 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14987 * sysdeps/alpha/ots_nintxq.c: ... here.
14988 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14989 * sysdeps/alpha/ots_sub.c: ... here.
14990 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14991 * sysdeps/alpha/sfp-machine.h: ... here.
14992
7f9f1ecb
FW
149932018-05-23 Florian Weimer <fweimer@redhat.com>
14994
14995 [BZ #19728]
14996 [BZ #19729]
14997 [BZ #22247]
14998 CVE-2016-6261
14999 CVE-2016-6263
15000 CVE-2017-14062
15001 Switch to extern IDNA implementation (libidn2).
15002 * libidn: Remove subdirectory.
15003 * LICENSES: Do not mention licensing conditions for the removed
15004 libidn code.
15005 * config.h.in (HAVE_LIBIDN): Remove.
15006 * include/dlfcn.h (__libc_dlopen): Update comment.
15007 * include/idna.h: Remove file.
15008 * inet/Makefile (routines): Add idna.
15009 (tests-static, tests-internal): Add tst-idna_name_classify.
15010 (LOCALES): Generate locales for tests.
15011 (tst-idna_name_classify.out): Depend on generated locales.
15012 * inet/idna_name_classify.c: New file.
15013 * inet/tst-idna_name_classify.c: Likewise.
15014 * inet/net-internal.h (__idna_to_dns_encoding)
15015 (__idna_from_dns_encoding): Declare.
15016 * inet/net-internal.h (enum idna_name_classification): Define.
15017 (__idna_name_classify): Declare.
15018 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15019 __idna_from_dns_encoding.
15020 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15021 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15022 name as a fallback in case of encoding errors.
15023 (getnameinfo): Use DEPRECATED_NI_IDN.
15024 * inet/idna.c: New file.
15025 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15026 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15027 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15028 (modules-names): Add tst-no-libidn2.
15029 (extra-test-objs): Add tst-no-libidn2.os.
15030 (LDFLAGS-tst-no-libidn2.so): Set soname.
15031 (LOCALES): Set, and generate locales.
15032 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15033 (tst-resolv-ai_idn-latin1): Likewise.
15034 (tst-resolv-ai_idn-nolibidn2): Likewise.
15035 (tst-resolv-ai_idn.out): Depend on locales.
15036 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15037 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15038 tst-no-libidn2.so.
15039 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15040 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15041 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15042 * resolv/tst-resolv-ai_idn.c: New file.
15043 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15044 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15045 * resolv/tst-no-libidn2.c: Likewise.
15046 * support/support_format_addrinfo.c (format_ai_flags): Do not
15047 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15048 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15049 (gaih_inet): Call __idna_to_dns_encoding and
15050 __idna_from_dns_encoding, and use the original (punycode) name if
15051 __idna_from_dns_encoding fails due to an encoding error.
15052 (getaddrinfo): Use DEPRECATED_AI_IDN.
15053 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15054 * sysdeps/unix/inet/configure: Remove file.
15055 * sysdeps/unix/inet/configure.ac: Likewise.
15056
5f7b841d
FW
150572018-05-23 Florian Weimer <fweimer@redhat.com>
15058
15059 Implement allocate_once.
15060 * include/allocate_once.h: New file.
15061 * misc/allocate_once.c: Likewise.
15062 * misc/tst-allocate_once.c: Likewise.
15063 * misc/Makefile (routines): Add allocate_once.
15064 (tests-internal): Add tst-allocate_once.
15065 (generated): Add tst-allocate_once.mtrace,
15066 tst-allocate_once-mem.out.
15067 (tests-special): Add tst-allocate_once-mem.out.
15068 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15069 (tst-allocate_once-mem.out): Call mtrace.
15070 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15071
ed983107
L
150722018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15073
15074 [BZ #23196]
15075 * string/test-memcpy.c (do_test1): New function.
15076 (test_main): Call it.
15077
9aaaab7c
AS
150782018-05-23 Andreas Schwab <schwab@suse.de>
15079
15080 [BZ #23196]
15081 CVE-2018-11237
15082 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15083 (L(preloop_large)): Save initial destination pointer in %r11 and
15084 use it instead of %rax after the loop.
15085 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15086
5c5c0dd7
JM
150872018-05-22 Joseph Myers <joseph@codesourcery.com>
15088
8f145c77
JM
15089 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15090 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15091 -I../soft-fp. Moved from ....
15092 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15093 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15094 * sysdeps/aarch64/e_sqrtl.c: ... here.
15095 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15096 * sysdeps/aarch64/sfp-machine.h: ... here.
15097
3d6302a5
JM
15098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15099 -Wmaybe-uninitialized around access to fq[0].
15100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15101 Likewise.
15102
5c5c0dd7
JM
15103 [BZ #18471]
15104 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15105 aliases for non-libc case of versioned symbols.
15106 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15107 (llseek): Define as compat symbol if
15108 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15109 with link warning.
15110 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15111 Make into a compat symbol, disabled for minimum symbol version
15112 GLIBC_2.28 and later.
15113 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15114
ed0d6988
FW
151152018-05-22 Florian Weimer <fweimer@redhat.com>
15116
15117 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15118 not add -mpreferred-stack-boundary=4.
15119 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15120 (stack-align-test-flags): Likewise.
15121 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15122 Likewise.
15123 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15124 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15125 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15126 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15127 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15128 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15129 (CFLAGS-tst-align2.c): Likewise.
15130
e28e9b1e
L
151312018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15132
15133 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15134 (index_arch_Prefer_FSRM): Likewise.
15135 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15136 Also check Prefer_FSRM.
15137 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15138 Also return OPTIMIZE (erms) for Prefer_FSRM.
15139
1af30adc
L
151402018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15141
15142 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15143 (index_cpu_FSRM): Likewise.
15144 (reg_FSRM): Likewise.
15145
78274dc8
JM
151462018-05-18 Joseph Myers <joseph@codesourcery.com>
15147
7c67e6e8
JM
15148 * math/gen-tgmath-tests.py: Import sys.
15149 (Tests.__init__): Initialize macros_seen.
15150 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15151 if requested to do so for this macro.
15152 (Tests.add_all_tests): Take argument for macro for which to
15153 generate tests.
15154 (Tests.check_macro_list): New function.
15155 (main): Handle check-list argument and argument specifying macro
15156 for which to generate tests.
15157 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15158 [PYTHON] (tgmath3-macro-tests): Likewise.
15159 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15160 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15161 not test-tgmath3.c.
15162 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15163 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15164 to CFLAGS.
15165 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15166 [PYTHON] ($(foreach
15167 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15168 rule.
15169 [PYTHON] (tests-special): Add
15170 $(objpfx)test-tgmath3-macro-list.out.
15171 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15172
ebc129fd
JM
15173 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15174 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15175 later.
15176
78274dc8
JM
15177 [BZ #22639]
15178 * time/tzset.c (SECSPERDAY): Cast to time_t.
15179 * time/tst-y2039.c: New file.
15180 * time/Makefile (tests): Add tst-y2039.
15181
6f7fdeeb
LS
151822018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15183
15184 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15185 (PREFETCH_ONE_SET): Remove duplicate line.
15186
e363a91c
FW
151872018-05-17 Florian Weimer <fweimer@redhat.com>
15188
15189 * sysdeps/generic/math-type-macros-double.h: Include
15190 <math-nan-payload-double.h> after <libm-alias-double.h>.
15191 * sysdeps/generic/math-type-macros-float.h: Include
15192 <math-nan-payload-float.h> after <libm-alias-float.h>.
15193 * sysdeps/generic/math-type-macros-float128.h: Include
15194 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15195 * sysdeps/generic/math-type-macros-ldouble.h: Include
15196 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15197
dae6c43c
AS
151982018-05-17 Andreas Schwab <schwab@suse.de>
15199
15200 * resolv/res_send.c (__res_context_send): Don't set errno when
15201 returing error after malloc failure.
15202
0068c085
L
152032018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15204
15205 * nptl/allocatestack.c (allocate_stack): Remove the
15206 !__ASSUME_PRIVATE_FUTEX paths.
15207 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15208 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15209 Likewise.
15210 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15211 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15212 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15213 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15214 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15215 !__ASSUME_PRIVATE_FUTEX path.
15216 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15217 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15218 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15219 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15220 !__ASSUME_PRIVATE_FUTEX macros.
15221 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15222 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15223 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15224 * sysdeps/unix/sysv/linux/kernel-features.h
15225 (__ASSUME_PRIVATE_FUTEX): Removed.
15226
632a6cbe
JM
152272018-05-17 Joseph Myers <joseph@codesourcery.com>
15228
15229 * math/Makefile (libm-narrow-fns): Add div.
15230 (libm-test-funcs-narrow): Likewise.
15231 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15232 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15233 * math/gen-auto-libm-tests.c (test_functions): Add div.
15234 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15235 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15236 (NARROW_DIV_TRIVIAL): Likewise.
15237 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15238 macro.
15239 (__ddivl): Likewise.
15240 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15241 ddiv.
15242 (CFLAGS-nldbl-ddiv.c): New variable.
15243 (CFLAGS-nldbl-fdiv.c): Likewise.
15244 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15245 __nldbl_ddivl.
15246 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15247 prototype.
15248 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15249 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15250 * math/auto-libm-test-in: Add tests of div.
15251 * math/auto-libm-test-out-narrow-div: New generated file.
15252 * math/libm-test-narrow-div.inc: New file.
15253 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15256 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15257 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15258 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15265 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15267 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15268 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15269 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15270 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15272 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15273 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15274 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15275 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15276 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15277 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15278 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15279 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15280 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15281 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15297
8c78faa9
AZ
152982018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15299
15300 [BZ #23178]
15301 * nscd/nscd-client.h (sendfileall): Remove prototype.
15302 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15303 (handle_request): Use writeall instead of sendfileall.
15304 * nscd/aicache.c (addhstaiX): Likewise.
15305 * nscd/grpcache.c (cache_addgr): Likewise.
15306 * nscd/hstcache.c (cache_addhst): Likewise.
15307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15308 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15309 * nscd/pwdcache.c (cache_addpw): Likewise.
15310 * nscd/servicescache.c (cache_addserv): Likewise.
15311 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15312 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15314 Remove define.
15315
04958880
L
153162018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15317
15318 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15319 Include <string/strncat.c>.
15320 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15321 alias.
15322 (__GI___strncat): New hidden alias.
15323
c9992d13
JM
153242018-05-16 Joseph Myers <joseph@codesourcery.com>
15325
15326 * sysdeps/mips/mips32/libm-test-ulps: Update.
15327 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15328
2afece36
FW
153292018-05-16 Florian Weimer <fweimer@redhat.com>
15330
15331 * support/Makefile (libsupport-routines): Add support_quote_blob,
15332 support_test_compare_blob.
15333 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15334 * support/check.h (TEST_COMPARE_BLOB): Define.
15335 (support_test_compare_blob): Declare.
15336 * support/support.h (support_quote_blob): Declare.
15337 * support/support_quote_blob.c: New file.
15338 * support/support_test_compare_blob.c: Likewise.
15339 * support/tst-support_quote_blob.c: Likewise.
15340 * support/tst-test_compare_blob.c: Likewise.
15341
9761bf4d
FW
153422018-05-16 Florian Weimer <fweimer@redhat.com>
15343
15344 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15345 of <strtod_nan_double.h>.
15346 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15347 instead of SET_MANTISSA.
15348 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15349 of include <strtod_nan_float.h>.
15350 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15351 instead of <strtod_nan_ldouble.h>.
15352 * stdlib/strtod_nan_double.h: Move to ...
15353 * sysdeps/generic/math-nan-payload-double.h: ... here.
15354 (FLOAT): Remove definition.
15355 (SET_MANTISSA): Rename to ...
15356 (SET_NAN_PAYLOAD): ... this.
15357 * stdlib/strtod_nan_float.h: Move to ...
15358 * sysdeps/generic/math-nan-payload-float.h: ... here.
15359 (FLOAT): Remove definition.
15360 (SET_MANTISSA): Rename to ...
15361 (SET_NAN_PAYLOAD): ... this.
15362 * sysdeps/generic/math-type-macros-double.h: Include
15363 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15364 instead of <math-svid-compat.h>.
15365 * sysdeps/generic/math-type-macros-float.h: Include
15366 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15367 instead of <math-svid-compat.h>.
15368 * sysdeps/generic/math-type-macros-float128.h: Include
15369 <math-nan-payload-float128.h>.
15370 * sysdeps/generic/math-type-macros-ldouble.h: Include
15371 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15372 instead of <math-svid-compat.h>.
15373 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15374 check for definition.
15375 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15376 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15377 Include <ieee754_float128.h>.
15378 (FLOAT): Remove definition.
15379 (SET_MANTISSA): Rename to ...
15380 (SET_NAN_PAYLOAD): ... this.
15381 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15382 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15383 Do not include <float128_private.h>.
15384 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15386 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15387 (FLOAT): Remove definition.
15388 (SET_MANTISSA): Rename to ...
15389 (SET_NAN_PAYLOAD): ... this.
15390 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15391 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15392 (FLOAT): Remove definition.
15393 (SET_MANTISSA): Rename to ...
15394 (SET_NAN_PAYLOAD): ... this.
15395 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15396 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15397 (FLOAT): Remove definition.
15398 (SET_MANTISSA): Rename to ...
15399 (SET_NAN_PAYLOAD): ... this.
15400 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15401 of "../stdlib/strtod_nan_double.h".
15402 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15403 of "../stdlib/strtod_nan_float.h".
15404 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15405 instead of "../stdlib/strtod_nan_ldouble.h".
15406 * manual/arith.texi (Parsing of Floats): Adjust comment.
15407
69a01461
JM
154082018-05-16 Joseph Myers <joseph@codesourcery.com>
15409
15410 * math/Makefile (libm-narrow-fns): Add mul.
15411 (libm-test-funcs-narrow): Likewise.
15412 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15413 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15414 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15415 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15416 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15417 (NARROW_MUL_TRIVIAL): Likewise.
15418 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15419 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15420 macro.
15421 (__dmull): Likewise.
15422 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15423 dmul.
15424 (CFLAGS-nldbl-dmul.c): New variable.
15425 (CFLAGS-nldbl-fmul.c): Likewise.
15426 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15427 __nldbl_dmull.
15428 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15429 prototype.
15430 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15431 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15432 * math/auto-libm-test-in: Add tests of mul.
15433 * math/auto-libm-test-out-narrow-mul: New generated file.
15434 * math/libm-test-narrow-mul.inc: New file.
15435 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15438 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15439 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15440 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15446 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15447 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15448 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15449 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15450 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15451 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15452 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15454 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15479
a15529fd
L
154802018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15481
15482 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15483 with *%eax in call.
15484
98ee36c7
L
154852018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15486
15487 * sysdeps/i386/ldsodefs.h: Removed.
15488 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15489 * sysdeps/x86/ldsodefs.h: This.
15490 (La_i86_regs): New.
15491 (La_i86_retval): Likewise.
15492 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15493 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15494
e322ec32
L
154952018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15496
15497 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15498 unnecessary testl.
15499
0937e209
AM
155002018-05-13 Alan Modra <amodra@gmail.com>
15501
15502 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15503 R_PARISC_TLS_DTPOFF32 reloc addend.
15504
5db7d705
TMQMF
155052018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15506
15507 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15508 * math/math.h: Restrict the prototype definition for the functions
15509 issignaling(_Float128) and iszero(_Float128); and template
15510 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15511 __HAVE_FLOAT128_UNLIKE_LDBL.
15512 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15513 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15514 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15515 __f128() constants; define the type _Float128 as long double;
15516 and reuse long double in __CFLOAT128.
15517
b4d5b8b0
JM
155182018-05-11 Joseph Myers <joseph@codesourcery.com>
15519
15520 * sysdeps/generic/math_private.h: Do not include
15521 <math-barriers.h>.
15522 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15523 <math_private.h>.
15524 * math/fromfp.h: Include <math-barriers.h>.
15525 * math/math-narrow.h: Likewise.
15526 * math/s_nextafter.c: Likewise.
15527 * math/s_nexttowardf.c: Likewise.
15528 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15529 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15530 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15531 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15532 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15533 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15534 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15549 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15551 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15552 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15553 * sysdeps/ieee754/k_standardl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15570 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15571 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15574 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15575 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15576
fc79706a
FW
155772018-05-11 Florian Weimer <fweimer@redhat.com>
15578
15579 Use 64-bit epoch values in the time zone file parser.
15580 * include/time.h (internal_time_t): Define.
15581 (__tzfile_compute): Use it.
15582 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15583 member.
15584 (transitions): Switch to internal_time_t.
15585 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15586 types.
15587 (__tzfile_compute): Use internal_time_t for timer argument. Check
15588 for truncation before calling __offtime.
15589
89aacb51
FW
155902018-05-11 Florian Weimer <fweimer@redhat.com>
15591
15592 [BZ #23166]
15593 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15594 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15595 Likewise.
15596 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15597 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15598 export without --enable-obsolete-rpc.
15599 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15600 symbol. This should not have been exported, ever.
15601
bb066cb8
RL
156022018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15603
15604 [BZ #23152]
15605 * localedata/locales/gd_GB (abmon): Fix typo in May:
15606 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15607
70c97f84
SP
156082018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15609
db725a45
SP
15610 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15611 Use multiple registers to copy data in loop tail.
15612
70c97f84
SP
15613 * sysdeps/aarch64/multiarch/memmove_falkor.S
15614 (__memmove_falkor): Use multiple registers to move data in
15615 loop tail.
15616
8f5b00d3
JM
156172018-05-10 Joseph Myers <joseph@codesourcery.com>
15618
15619 * math/math-underflow.h: New file.
15620 * sysdeps/generic/math_private.h: Do not include <float.h>.
15621 (fabs_tg): Remove macro. Moved to math-underflow.h.
15622 (min_of_type_f): Likewise.
15623 (min_of_type_): Likewise.
15624 (min_of_type_l): Likewise.
15625 (min_of_type_f128): Likewise.
15626 (min_of_type): Likewise.
15627 (math_check_force_underflow): Likewise.
15628 (math_check_force_underflow_nonneg): Likewise.
15629 (math_check_force_underflow_complex): Likewise.
15630 * math/e_exp2_template.c: Include <math-underflow.h>.
15631 * math/k_casinh_template.c: Likewise.
15632 * math/s_catan_template.c: Likewise.
15633 * math/s_catanh_template.c: Likewise.
15634 * math/s_ccosh_template.c: Likewise.
15635 * math/s_cexp_template.c: Likewise.
15636 * math/s_clog10_template.c: Likewise.
15637 * math/s_clog_template.c: Likewise.
15638 * math/s_csin_template.c: Likewise.
15639 * math/s_csinh_template.c: Likewise.
15640 * math/s_csqrt_template.c: Likewise.
15641 * math/s_ctan_template.c: Likewise.
15642 * math/s_ctanh_template.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15648 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15649 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15651 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15652 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15660 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15663 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15664 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15665 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15666 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15667 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15668 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15669 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15670 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15671 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15672 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15673 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15674 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15711 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15713 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15721 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15722 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15723 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15727
9ed2e15f
JM
157282018-05-09 Joseph Myers <joseph@codesourcery.com>
15729
15730 * sysdeps/generic/math-barriers.h: New file.
15731 * sysdeps/generic/math_private.h [!math_opt_barrier]
15732 (math_opt_barrier): Move to math-barriers.h.
15733 [!math_opt_barrier] (math_force_eval): Likewise.
15734 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15735 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15736 math-barriers.h.
15737 (math_force_eval): Likewise.
15738 * sysdeps/alpha/fpu/math-barriers.h: New file.
15739 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15740 math-barriers.h.
15741 (math_force_eval): Likewise.
15742 * sysdeps/x86/fpu/math-barriers.h: New file.
15743 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15744 math-barriers.h.
15745 (math_force_eval): Likewise.
15746 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15747 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15748 multiple-include guard for rename.
15749 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15750 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15751 math-barriers.h.
15752 (math_force_eval): Likewise.
15753
5460617d
PP
157542018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15755
15756 [BZ #22786]
43d4f3d5 15757 CVE-2018-11236
5460617d
PP
15758 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15759 computation.
15760 * stdlib/Makefile (test-bz22786): New test.
15761 * stdlib/test-bz22786.c: New test.
15762
aaee3cd8
JM
157632018-05-09 Joseph Myers <joseph@codesourcery.com>
15764
15765 * include/math-narrow-eval.h: New file. Contents moved from ....
15766 * sysdeps/generic/math_private.h: ... here.
15767 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15768 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15769 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15770 * stdlib/strtod_l.c: Likewise.
15771 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15772 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15773 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15774 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15775 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15780 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15786 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15787 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15788 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15789 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15790 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15791 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15792 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15793 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15795 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15796 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15797 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15798 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15800
0555c477
AS
158012018-05-08 Andreas Schwab <schwab@suse.de>
15802
15803 * sysdeps/nptl/internaltypes.h: Fix comment.
15804
50d7d351
L
158052018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15808 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15809 hidden.
15810
543477f7
SP
158112018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15812
15813 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15814 of I into loop header.
15815 * benchtests/bench-memmove-walk.c
15816 (test_main): Likewise.
15817
158182018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
15819
15820 Revert:
15821 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15822 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15823
0065aaaa
PP
158242018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15825
15826 [BZ #20419]
15827 * elf/dl-load.c (open_verify): Fix stack overflow.
15828 * elf/Makefile (tst-big-note): New test.
15829 * elf/tst-big-note-lib.S: New.
15830 * elf/tst-big-note.c: New.
15831
b289cd9d
JM
158322018-05-04 Joseph Myers <joseph@codesourcery.com>
15833
15834 * scripts/abilist.awk: Ignore absolute symbols.
15835 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15836 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15837 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15838 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15839 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15840 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15841 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15842 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15843 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15844 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15845 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15846 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15867 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15868 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15874 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15875 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15876 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15877 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15878 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15880 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15881 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15882 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15883 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15884 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15885 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15886 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15887 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15889 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15900 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15901 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15902 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15903 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15904 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15905 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15906 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15907 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15913 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15914 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15915 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15916 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15917 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15918 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15919 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15927 Likewise.
15928 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15941 Likewise.
15942 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15956 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15957 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15969 Likewise.
15970 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15985 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15986 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15988 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15990 Likewise.
15991 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15996 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15997 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15998 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15999 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16002 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16003 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16004 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16005 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16006 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16007 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16008 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16009 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16010 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16011 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16012 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16013 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16014 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16015 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16016 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16017 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16018 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16023 Likewise.
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16029 Likewise.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16031 Likewise.
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16034 Likewise.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16037 Likewise.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16039 Likewise.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16043 Likewise.
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16045 Likewise.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16047 Likewise.
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16052 Likewise.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16059 Likewise.
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16062 Likewise.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16064 Likewise.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16066 Likewise.
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16068 Likewise.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16072 Likewise.
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16074 Likewise.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16076 Likewise.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16080 Likewise.
16081 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16088 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16089 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16090 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16091 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16094 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16095 Likewise.
16096 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16097 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16098 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16099 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16100 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16105 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16106 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16108 Likewise.
16109 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16110 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16113 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16114 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16117 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16118 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16119 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16120 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16121 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16122 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16123 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16124 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16125 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16126 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16127 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16128 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16134 Likewise.
16135 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16148 Likewise.
16149 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16163 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16164 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16165 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16166 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16168 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16169 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16170 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16172 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16173 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16174 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16175 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16176 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16177 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16178 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16179 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16180 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16181 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16182 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16187
16609018
SL
161882018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16189
16190 [BZ #23137]
16191 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16192 Use atomic_load_acquire to load __tid.
16193
556f5c46
L
161942018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16195
16196 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16197 Restore the pointer into %rdx, after syscall and use %rdx,
16198 instead of %rsi, to restore context.
16199
8b8f32b2
L
162002018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16201
16202 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16203 Pop the pointer into %rdx after syscall and use %rdx, instead
16204 of %rsi, to restore context.
16205
d6cc1829
L
162062018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16207
16208 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16209 handlers after setjmp.
16210 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16211 defined.
16212 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16213 <libc-pointer-arith.h>.
16214 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16215 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16216 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16217 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16218 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16219 * sysdeps/x86/__longjmp_cancel.S: New file.
16220 * sysdeps/x86/longjmp.c: Likewise.
16221 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16222
cf2478d5
AZ
162232018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16224
16225 * NEWS: Add ustat.h deprecation entry.
16226 * bits/ustat.h: Remove file.
16227 * misc/sys/ustat.h: Likewise.
16228 * misc/ustat.h: Likewise.
16229 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16230 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16231 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16232 compatibility mode.
16233 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16234 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16235 generic Linux implementation.
16236
dc115e1c
TMQMF
162372018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16238
16239 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16240 * math/w_expl_compat.c: Likewise.
16241 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16242
6b5c8607 162432018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
16244
16245 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16246
c57bf7c1
AZ
162472018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16248
16249 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16250 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16251 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16252 Remove.
16253 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16256 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16257 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16258 and SYSCALL_LL64.
16259
06135c33
TMQMF
162602018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16261
33927914
TMQMF
16262 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16263
06135c33
TMQMF
16264 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16265 * math/w_asin_template.c: Likewise.
16266 * math/w_atanh_template.c: Likewise.
16267
3a33b069
GG
162682018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16269
16270 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16271 to powerpc/powerpc64/be for big-endian.
16272 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16273 little-endian.
16274
16275 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16276 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16277 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16278 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16279 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16280 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16281 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16282 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16283 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16284 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16285 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16286 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16287 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16288 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16289 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16290 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16291 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16292 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16293 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16294 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16295 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16296 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16297 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16298 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16299 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16300 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16301 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16302 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16303 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16304 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16305 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16306 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16307
16308 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16309 adjusted to imply powerpc64 and older processors on powerpc64/be.
16310 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16311 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16312 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16313 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16314 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16315 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16316 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16317 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16318 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16319 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16320 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16321 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16322 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16323 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16324 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16325 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16326 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16327 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16328 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16329 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16330 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16331 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16332 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16333 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16334 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16335 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16336 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16337 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16338 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16339 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16340 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16341
16342 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16343 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16344 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16345 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16346
16347 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16348 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16349 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16350 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16351
16352 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16353 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16354 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16355 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16356 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16357 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16358 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16359 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16360 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16361 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16362 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16363
16364 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16365 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16366 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16367 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16368 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16369 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16370 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16371 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16372 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16373 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16374 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16375
16376 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16377 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16378 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16379 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16380 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16381 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16382 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16383 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16384 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16385 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16386 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16387 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16388
16389 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16390 and adjusted to imply olders processors.
16391 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16392 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16393 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16394 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16395 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16396 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16397 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16398 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16399 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16400 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16401 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16402
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16404 powerpc64/le.
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16406 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16407
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16409 powerpc64le.
16410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16412
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16414 powerpc64/be.
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16418
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16420 powerpc64 and adjusted.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16424 Likewise.
16425
a3fb6b6b
JM
164262018-04-27 Joseph Myers <joseph@codesourcery.com>
16427
16428 * sysdeps/tile: Remove.
16429 * sysdeps/unix/sysv/linux/tile: Likewise.
16430 * README (tilegx-*-linux-gnu): Remove from list of supported
16431 configurations.
16432 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16433 contribution of support for generic Linux kernel syscall
16434 interface.
16435 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16436 tilegx configurations.
16437 (Config.install_linux_headers): Do not handle tile.
16438 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16439 in comment.
16440 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16441 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16442 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16443 conditional undefine and redefine.
16444 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16445 in comment.
16446 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16447 conditional undefine and redefine.
16448
7a6f7478
AJ
164492018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16450
16451 * signal/tst-sigaction.c: New file to test BZ #23069.
16452 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16453
81b49e96
TMQMF
164542018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16455
16456 [BZ #22766]
16457 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16458 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16459 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16460 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16461
7d80f48e
AZ
164622018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16463
16464 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16465 _DIRENT_MATCHES_DIRENT64 is not defined.
16466 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16467 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16468 is defined.
16469 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16470 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16471
42a2bf58
JM
164722018-04-25 Joseph Myers <joseph@codesourcery.com>
16473
16474 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16475 version to GCC 8 branch.
16476
9320ca88
JM
164772018-04-24 Joseph Myers <joseph@codesourcery.com>
16478
5e14bb97
JM
16479 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16480 (check_no_hidden): Use type of original function when declaring
16481 alias.
16482
9320ca88
JM
16483 * sysdeps/unix/sysv/linux/sys/ptrace.h
16484 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16485 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16486 (struct __ptrace_seccomp_metadata): New type.
16487 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16488 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16489 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16490 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16492 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16494 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16495 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16496 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16498 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16499 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16500 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16501 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16502 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16503
af7e376b
AZ
165042018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16505
16506 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16507 defined.
16508 * dirent/versionsort.c (versionsort): Likewise.
16509 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16510 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16511 * dirent/versionsort64.c (versionsort64): Likewise.
16512 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16513 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16514 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16515 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16516 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16517 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16518 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16519 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16520 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16521 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16524 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16525 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16526
da5e0361
JM
165272018-04-23 Joseph Myers <joseph@codesourcery.com>
16528
16529 * elf/elf.h (NT_PPC_PKEY): New macro.
16530
6b5c8607 165312018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
16532
16533 [BZ #23094]
16534 * localedata/locales/hr_HR: fix thousands_sep and
16535 mon_thousands_sep
16536
573963e3
JM
165372018-04-20 Joseph Myers <joseph@codesourcery.com>
16538
16539 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16540 (XTABS): Define to TAB3.
16541
c0123b3b
AZ
165422018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16543
0900a849
AZ
16544 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16545
c0123b3b
AZ
16546 * dirent/scandir-tail-common.c: New file.
16547 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16548 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16549 * dirent/scandir.c: Use scandir-tail-common.c.
16550 * dirent/scandirat.c: Likewise.
16551 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16552 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16553 if _DIRENT_MATCHES_DIRENT64 is defined.
16554 * dirent/scandirat64.c (scandirat64): Likewise.
16555 * include/dirent.h (__scandir_tail): Only define iff
16556 _DIRENT_MATCHES_DIRENT64 is not defined.
16557 (__scandir64_tail): Define regardless.
16558 (__scandirat, scandirat64): Remove libc_hidden_proto.
16559 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16560 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16562 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16563 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16564 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16565 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16566
458b94f6
JM
165672018-04-20 Joseph Myers <joseph@codesourcery.com>
16568
16569 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16570 New macro.
16571 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16572 Increase to 24.
16573 (_dl_aarch64_cap_flags): Add asimdfhm.
16574
9f0437e8
CLT
165752018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16576
16577 * sysdeps/nios2/libm-test-ulps: Update.
16578
298d0e31
AZ
165792018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16580
50511ca4
AZ
16581 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16582 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16583
298d0e31
AZ
16584 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16585 requirements.
6b5c8607 16586 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
16587 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16588 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16589 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16590 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16591 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16592 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16593 use getdents64 syscalls as base.
16594 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16595 symbol if required.
16596 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16597 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16598 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16599 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16600 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16601 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16602 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16603 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16605 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16606 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16607
0085be14
SL
166082018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16609
16610 * scripts/test_printers_common.py (init_test): Disable lock elision.
16611
da796524
SL
166122018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16613
16614 * math/test-tgmath.c (count_double, count_float,
16615 count_ldouble, count_cdouble, count_cfloat,
16616 count_cldouble): Use volatile int.
16617
0dd25301
ST
166182018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16619
16620 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16621 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 16622 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
16623 i386-gnu.
16624 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16625 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16626 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16627 msqid_ds.msg_lrpid): Likewise.
16628 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16629 Likewise.
16630 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16631 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
16632 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16633 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16634 unsigned int.
16635 (struct statvfs64): Likewise.
f55a4fde
ST
16636 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16637 Likewise.
77b93390
ST
16638 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16639 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16640 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16641 instead of wait_queue.
16642 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16643 instead of vm_area_struct.
5cd2931a
ST
16644 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16645 struct sched_param definition to it.
e60c3f2b
ST
16646 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16647 * bits/types/struct_sched_param.h: New file.
16648 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16649 <bits/types/struct_sched_param.h> instead of <sched.h>.
16650 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
16651 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16652 generic version but include <bits/pthreadtypes.h> to make struct
16653 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
16654 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16655 non-compliant.
a564872d
ST
16656 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16657 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16658 [__USE_XOPEN] (OFDEL): New macro.
16659 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 16660 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
16661 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16662 prototypes.
16663 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16664 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
16665 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16666 non-compliant.
16667 * sysdeps/i386/sys/ucontext.h: Likewise.
16668 * sysdeps/m68k/sys/ucontext.h: Likewise.
16669 * sysdeps/mips/sys/ucontext.h: Likewise.
16670 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
16671 * sysdeps/mach/hurd/i386/Makefile
16672 (test-xfail-POSIX/fcntl.h/conform): Add.
16673 (test-xfail-POSIX/signal.h/conform): Add.
16674 (test-xfail-POSIX/semaphore.h/conform): Add.
16675 (test-xfail-POSIX/regex.h/conform): Add.
16676 (test-xfail-POSIX/aio.h/conform): Add.
16677 (test-xfail-POSIX/mqueue.h/conform): Add.
16678 (test-xfail-POSIX/sys/types.h/conform): Add.
16679 (test-xfail-UNIX98/fcntl.h/conform): Add.
16680 (test-xfail-UNIX98/netdb.h/conform): Add.
16681 (test-xfail-UNIX98/signal.h/conform): Add.
16682 (test-xfail-UNIX98/semaphore.h/conform): Add.
16683 (test-xfail-UNIX98/regex.h/conform): Add.
16684 (test-xfail-UNIX98/aio.h/conform): Add.
16685 (test-xfail-UNIX98/ftw.h/conform): Add.
16686 (test-xfail-UNIX98/mqueue.h/conform): Add.
16687 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16688 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16689 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16690 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16691 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16692 (test-xfail-UNIX98/sys/types.h/conform): Add.
16693 (test-xfail-UNIX98/stdlib.h/conform): Add.
16694 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16695 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16696 (test-xfail-POSIX2008/netdb.h/conform): Add.
16697 (test-xfail-POSIX2008/signal.h/conform): Add.
16698 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16699 (test-xfail-POSIX2008/regex.h/conform): Add.
16700 (test-xfail-POSIX2008/aio.h/conform): Add.
16701 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16702 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16703 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16704 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16705 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16706 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16707 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16708 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16709 (test-xfail-XOPEN2K/signal.h/conform): Add.
16710 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16711 (test-xfail-XOPEN2K/regex.h/conform): Add.
16712 (test-xfail-XOPEN2K/aio.h/conform): Add.
16713 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16714 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16715 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16716 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16717 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16718 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16719 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16720 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16721 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16722 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16723 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16724 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16725 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16726 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16727 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16728 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16729 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16730 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16731 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16732 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16733 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16734 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16735 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16736 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16737 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16738 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
16739 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16740 i386-gnu.
16741 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16742 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 16743
d6397de3
JM
167442018-04-18 Joseph Myers <joseph@codesourcery.com>
16745
16746 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16747 --enable-obsolete for powerpc-linux-gnuspe.
16748
8323a902
ST
167492018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16750
3dc0814c 16751 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 16752 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 16753 prototypes.
c5896a45
ST
16754 * sysdeps/mach/include/mach.h: Likewise.
16755 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16756 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 16757
743b9c2a
AZ
167582018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16759
16760 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16761 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16762 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16763 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16764
326e74e7
AS
167652018-04-16 Andreas Schwab <schwab@suse.de>
16766
16767 [BZ #19527]
16768 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16769
6b5c8607 167702018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
16771
16772 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16773 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16774
a700e7cb
DD
167752018-04-12 DJ Delorie <dj@redhat.com>
16776
16777 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16778 version to 4.16.
16779
d8abfab7
SL
167802018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16781
16782 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16783 (struct kernel_sigaction): Use the same definition on 31bit as is used
16784 on 64bit.
16785
583a27d5
FW
167862018-04-09 Florian Weimer <fweimer@redhat.com>
16787
16788 [BZ #23037]
16789 * resolv/res_send.c (send_dg): Use designated initializers instead
16790 of assignment to zero-initialize other fields of struct mmsghdr.
16791
243f59e5
AZ
167922018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16793
942de61a
AZ
16794 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16795 __READDIR_ALIAS): Undefine after usage.
16796 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16797 __READDIR_R_ALIAS): Likewise.
16798 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16799 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16800 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16801 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16802 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16803 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16804 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16805 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16806 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16807 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16808 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16809 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16810 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16811 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16812 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16813 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16814 * sysdeps/unix/sysv/linux/readdir.c: New file.
16815 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16816 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16817 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16818
243f59e5
AZ
16819 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16820
690c3475
AS
168212018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16822
16823 * manual/charset.texi (Converting a Character): Fix typo.
16824
6b5c8607 168252018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 16826
bbc2062a
AZ
16827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16828
fa7c6199
AZ
16829 * sysdeps/arm/libm-test-ulps: Update.
16830
b4a5d26d
AZ
16831 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16832 as base implementation.
16833 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16834 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16836 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16837 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16838 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16839 remove unrequired definitions and update comments.
16840 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16841 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16842 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16843 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16844 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16845 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16846 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16847 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16848 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16849 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16850 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16851 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16852 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16853 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16854 and RESET_SA_RESTORER hooks.
16855
db9e55ff
SL
168562018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16857
16858 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16859
cf138b0c
FW
168602018-04-05 Florian Weimer <fweimer@redhat.com>
16861
16862 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16863 integer overflow, memory leak on error, and indeterminate errno
16864 value. Add a null wide character to terminate the result string.
16865 * manual/charset.texi (Converting a Character): Mention embedded
16866 null bytes in the mbrtowc input string. Explain what happens in
16867 the -2 result case. Do not claim that mbrtowc is simple or
16868 obvious to use. Adjust the description of the code example. Use
16869 @code, not @var, for concrete variables.
16870
0f339252
FW
168712018-04-05 Florian Weimer <fweimer@redhat.com>
16872
16873 * manual/examples/mbstouwcs.c: New file.
16874 * manual/charset.texi (Converting a Character): Include it.
16875
e5f9508a
ST
168762018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16877
c120981d
ST
16878 * include/dirent.h (dirfd): Add hidden proto.
16879 * dirent/dirfd.c (dirfd): Add hidden def.
16880 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16881 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 16882
b2fd61ca
TMQMF
168832018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16884
16885 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16886 sin, cos and sincos to 1 ULP.
16887
10a446dd
MR
168882018-04-04 Maciej W. Rozycki <macro@mips.com>
16889
e7feec37
MR
16890 [BZ #19818]
16891 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16892 symbols.
16893 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16894 * elf/tst-absolute-sym.c: New file.
16895 * elf/tst-absolute-sym-lib.c: New file.
16896 * elf/tst-absolute-sym-lib.lds: New file.
16897 * elf/Makefile (tests): Add `tst-absolute-sym'.
16898 (modules-names): Add `tst-absolute-sym-lib'.
16899 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16900 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16901 ($(objpfx)tst-absolute-sym): New dependency.
16902
10a446dd
MR
16903 [BZ #19818]
16904 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16905 parameter.
16906 (SYMBOL_ADDRESS): New macro.
16907 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16908 SYMBOL_ADDRESS for symbol address calculation.
16909 * elf/dl-runtime.c (_dl_fixup): Likewise.
16910 (_dl_profile_fixup): Likewise.
16911 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16912 * elf/rtld.c (dl_main): Likewise.
16913 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16914 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16915 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16916 (elf_machine_rela): Likewise.
16917 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16918 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16919 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16920 (elf_machine_rela): Likewise.
16921 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16922 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16923 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16924 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16925 Likewise.
16926 (elf_machine_reloc): Likewise.
16927 (elf_machine_got_rel): Likewise.
16928 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16929 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16930 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16931 Likewise.
16932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16933 Likewise.
16934 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16935 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16936 Likewise.
16937 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16938 Likewise.
16939 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16941 Likewise.
16942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16943 Likewise.
16944 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16946
9185f86d
ZW
169472018-04-04 Zack Weinberg <zackw@panix.com>
16948
16949 * sysdeps/generic/internal-signals.h: Include signal.h,
16950 sigsetops.h, and stdbool.h.
16951 (__libc_signal_block_all): Actually block all signals.
16952 (__libc_signal_block_app): Likewise.
16953 (__libc_signal_restore_set): Actually restore the signal mask.
16954
b07367bc
FW
169552018-04-04 Florian Weimer <fweimer@redhat.com>
16956
16957 inet: Actually build and run tst-deadline.
16958 * inet/Makefile (tests-internal): Add tst-deadline and do not
16959 overwrite the variable.
16960 (tests-static-internal): Remove variable.
16961
f2652643
L
169622018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16963
16964 [BZ #22947]
16965 * bits/uio-ext.h (RWF_APPEND): New.
16966 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16967 * manual/llio.texi: Document RWF_APPEND.
16968 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16969 (RWF_SUPPORTED): Add RWF_APPEND.
16970
6b5c8607 169712018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
16972
16973 [BZ #22391]
16974 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16975 check for internal nptl signals.
16976 * nptl/sigaction.c (__sigaction): Likewise.
16977 * signal/sigaddset.c (sigaddset): Likewise.
16978 * signal/sigdelset.c (sigdelset): Likewise.
16979 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16980 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16981 value.
16982 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16983 to filter out internal nptl signals.
16984 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16985 also check realtime signals using standard macros.
16986 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16987 __is_internal_signal, __libc_signal_block_all,
16988 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16989 * sysdeps/nptl/sigfillset.c: Remove file.
16990 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16991 Change return to bool.
16992 (__clear_internal_signals): Remove SIGTIMER clean since it is
16993 equal to SIGCANEL on Linux.
16994 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16995 signal set was constructed using standard functions.
16996
511ed56f
ST
169972018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16998
92846492
ST
16999 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17000 ifname is too long.
e8ef51b1
ST
17001 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17002 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
17003 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17004 hidden def.
17005 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
17006 * signal/sigaddset.c: Include <sigsetopts.h>.
17007 * signal/sigdelset.c: Likewise.
511ed56f 17008
e88ecbbf
WD
170092018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17010
17011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17012 (__cos): Likewise.
17013 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17014 logic as sin and cos.
17015
aef3e255
WD
170162018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17017
17018 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17019 inputs. Return correct sign.
17020 (do_sincos): Remove small input check before do_sin, let do_sin set
17021 the sign.
17022 (__sin): Likewise.
17023 (__cos): Likewise.
17024
72f6e9a3
WD
170252018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17026
17027 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17028 (do_cos_slow): Likewise.
17029 (do_sin_slow): Likewise.
17030 (reduce_and_compute): Likewise.
17031 (slow): Likewise.
17032 (slow1): Likewise.
17033 (slow2): Likewise.
17034 (sloww): Likewise.
17035 (sloww1): Likewise.
17036 (sloww2): Likewise.
17037 (bslow): Likewise.
17038 (bslow1): Likewise.
17039 (bslow2): Likewise.
17040 (cslow2): Likewise.
17041
64909583
WD
170422018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17043
17044 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17045 (do_cos): Remove corp parameter and calculations.
17046 (do_sin): Likewise.
17047 (do_sincos): Remove cor variable.
17048 (__sin): Use do_sincos for huge inputs.
17049 (__cos): Likewise.
17050 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17051 (reduce_and_compute_sincos): Remove unused function.
17052
d9469deb
WD
170532018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17054
17055 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17056 reduce_sincos, improve accuracy to 136 bits.
17057 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17058 (__sin): Use improved reduction and simplified do_sincos calculation.
17059 (__cos): Likewise.
17060 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17061
7a5640f2
WD
170622018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17063
17064 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17065 (do_sincos_2): Likewise.
17066 (__sin): Remove middle range reduction case.
17067 (__cos): Likewise.
17068 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17069 reduction case.
17070
19a8b9a3
WD
170712018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17072
17073 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17075 inputs.
17076 (__cos): Likewise.
17077 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17078
f72aa11d
JM
170792018-04-03 Joseph Myers <joseph@codesourcery.com>
17080
17081 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 17082 version to 4.16
f72aa11d 17083
8e4754ed
AZ
170842018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17085
17086 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17087 Remove definitions.
17088 (opendir_oflags): Use O_DIRECTORY regardless.
17089 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17090 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17091
8e2666ea
ST
170922018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17093
17094 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17095 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17096 macros.
17097 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17098 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17099 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17100 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
17101 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17102 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 17103
ad2b41bf
ST
17104 * htl/Makefile: Bump licence to LGPL 2.1+.
17105 * htl/alloca_cutoff.c: Likewise.
17106 * htl/cthreads-compat.c: Likewise.
17107 * htl/lockfile.c: Likewise.
17108 * htl/pt-alloc.c: Likewise.
17109 * htl/pt-cancel.c: Likewise.
17110 * htl/pt-cleanup.c: Likewise.
17111 * htl/pt-create.c: Likewise.
17112 * htl/pt-dealloc.c: Likewise.
17113 * htl/pt-detach.c: Likewise.
17114 * htl/pt-exit.c: Likewise.
17115 * htl/pt-getattr.c: Likewise.
17116 * htl/pt-initialize.c: Likewise.
17117 * htl/pt-internal.h: Likewise.
17118 * htl/pt-join.c: Likewise.
17119 * htl/pt-self.c: Likewise.
17120 * htl/pt-setcancelstate.c: Likewise.
17121 * htl/pt-setcanceltype.c: Likewise.
17122 * htl/pt-sigmask.c: Likewise.
17123 * htl/pt-spin-inlines.c: Likewise.
17124 * htl/pt-testcancel.c: Likewise.
17125 * htl/pt-yield.c: Likewise.
17126 * htl/tests/test-1.c: Likewise.
17127 * htl/tests/test-10.c: Likewise.
17128 * htl/tests/test-11.c: Likewise.
17129 * htl/tests/test-12.c: Likewise.
17130 * htl/tests/test-13.c: Likewise.
17131 * htl/tests/test-14.c: Likewise.
17132 * htl/tests/test-15.c: Likewise.
17133 * htl/tests/test-16.c: Likewise.
17134 * htl/tests/test-17.c: Likewise.
17135 * htl/tests/test-2.c: Likewise.
17136 * htl/tests/test-3.c: Likewise.
17137 * htl/tests/test-4.c: Likewise.
17138 * htl/tests/test-5.c: Likewise.
17139 * htl/tests/test-6.c: Likewise.
17140 * htl/tests/test-7.c: Likewise.
17141 * htl/tests/test-8.c: Likewise.
17142 * htl/tests/test-9.c: Likewise.
17143 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17144 * sysdeps/htl/bits/cancelation.h: Likewise.
17145 * sysdeps/htl/bits/pthread-np.h: Likewise.
17146 * sysdeps/htl/bits/pthread.h: Likewise.
17147 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17148 * sysdeps/htl/bits/semaphore.h: Likewise.
17149 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17150 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17151 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17152 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17153 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17154 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17155 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17156 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17157 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17158 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17159 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17160 * sysdeps/htl/old_pt-atfork.c: Likewise.
17161 * sysdeps/htl/pt-atfork.c: Likewise.
17162 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17163 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17164 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17165 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17166 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17167 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17168 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17169 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17170 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17171 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17172 * sysdeps/htl/pt-attr-init.c: Likewise.
17173 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17174 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17175 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17176 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17177 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17178 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17179 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17180 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17181 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17182 * sysdeps/htl/pt-attr.c: Likewise.
17183 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17184 * sysdeps/htl/pt-barrier-init.c: Likewise.
17185 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17186 * sysdeps/htl/pt-barrier.c: Likewise.
17187 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17188 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17189 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17190 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17191 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17192 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17193 * sysdeps/htl/pt-cond-init.c: Likewise.
17194 * sysdeps/htl/pt-cond-signal.c: Likewise.
17195 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17196 * sysdeps/htl/pt-cond-wait.c: Likewise.
17197 * sysdeps/htl/pt-cond.c: Likewise.
17198 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17199 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17200 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17201 * sysdeps/htl/pt-condattr-init.c: Likewise.
17202 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17203 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17204 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17205 * sysdeps/htl/pt-equal.c: Likewise.
17206 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17207 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17208 * sysdeps/htl/pt-getschedparam.c: Likewise.
17209 * sysdeps/htl/pt-getspecific.c: Likewise.
17210 * sysdeps/htl/pt-init-specific.c: Likewise.
17211 * sysdeps/htl/pt-key-create.c: Likewise.
17212 * sysdeps/htl/pt-key-delete.c: Likewise.
17213 * sysdeps/htl/pt-key.h: Likewise.
17214 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17215 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17216 * sysdeps/htl/pt-mutex-init.c: Likewise.
17217 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17218 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17219 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17220 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17221 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17222 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17223 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17224 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17225 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17226 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17227 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17228 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17229 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17230 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17231 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17232 * sysdeps/htl/pt-mutexattr.c: Likewise.
17233 * sysdeps/htl/pt-once.c: Likewise.
17234 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17235 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17236 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17237 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17238 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17239 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17240 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17241 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17242 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17243 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17244 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17245 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17246 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17247 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17248 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17249 * sysdeps/htl/pt-setschedparam.c: Likewise.
17250 * sysdeps/htl/pt-setschedprio.c: Likewise.
17251 * sysdeps/htl/pt-setspecific.c: Likewise.
17252 * sysdeps/htl/pt-spin.c: Likewise.
17253 * sysdeps/htl/pt-startup.c: Likewise.
17254 * sysdeps/htl/pthread.h: Likewise.
17255 * sysdeps/htl/sem-close.c: Likewise.
17256 * sysdeps/htl/sem-destroy.c: Likewise.
17257 * sysdeps/htl/sem-getvalue.c: Likewise.
17258 * sysdeps/htl/sem-init.c: Likewise.
17259 * sysdeps/htl/sem-open.c: Likewise.
17260 * sysdeps/htl/sem-post.c: Likewise.
17261 * sysdeps/htl/sem-timedwait.c: Likewise.
17262 * sysdeps/htl/sem-trywait.c: Likewise.
17263 * sysdeps/htl/sem-unlink.c: Likewise.
17264 * sysdeps/htl/sem-wait.c: Likewise.
17265 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17266 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17267 * sysdeps/mach/htl/pt-block.c: Likewise.
17268 * sysdeps/mach/htl/pt-spin.c: Likewise.
17269 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17270 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17271 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17272 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17273 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17274 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17275 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17276 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17277 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17278 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17279 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17280 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17281 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17282 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17283 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17284 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17285 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17286 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17287 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17288 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17289 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17290 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17291 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17292 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17293 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17294 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17295 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17296 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17297 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17298 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17299 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17300 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17301 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17302 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17303 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17304 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17305 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17306 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17307 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17308 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17309 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17310 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17311 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17312
fb03b04b
ST
17313 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17314 * README: Remove the mention of out-of-tree patches needed for
17315 GNU/Hurd.
17316
fa9e1555
ST
17317 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17318 (UTIME_NOW, UTIME_OMIT): Define macros.
17319
f6fb29d2
ST
17320 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17321 instead of pthread_detach.
17322 (__cthread_fork): Call __pthread_create instead of pthread_create.
17323 (__cthread_keycreate): Call __pthread_key_create instead of
17324 pthread_key_create.
17325 (__cthread_getspecific): Call __pthread_getspecific instead of
17326 pthread_getspecific.
17327 (__cthread_setspecific): Call __pthread_setspecific instead of
17328 pthread_setspecific.
17329 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17330 __pthread_mutex_unlock instead of pthread_mutex_lock and
17331 pthread_mutex_unlock.
17332 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17333 ___pthread_get_cleanup_stack.
17334 (__pthread_get_cleanup_stack): New strong alias.
17335 * htl/pt-create.c: Include <pthreadP.h>.
17336 (entry_point): Call __pthread_exit instead of pthread_exit.
17337 (pthread_create): Rename to __pthread_create.
17338 (pthread_create): New strong alias.
17339 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17340 (pthread_detach): New strong alias.
17341 (__pthread_detach): Call __pthread_cond_broadcast instead of
17342 pthread_cond_broadcast.
fe9748cc
ST
17343 * htl/pt-exit.c: Include <pthreadP.h>.
17344 (__pthread_exit): Call __pthread_setcancelstate and
17345 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17346 __pthread_get_cleanup_stack.
f6fb29d2
ST
17347 * htl/pt-testcancel.c: Include <pthreadP.h>.
17348 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17349 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17350 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17351 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17352 pthread_attr_getstacksize.
17353 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17354 Rename to __pthread_attr_getstackaddr.
17355 (pthread_attr_getstackaddr): New strong alias.
17356 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17357 Rename to __pthread_attr_getstacksize.
17358 (pthread_attr_getstacksize): New strong alias.
17359 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17360 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17361 (pthread_attr_setstack): New strong alias.
17362 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17363 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17364 pthread_attr_getstacksize, pthread_attr_setstacksize and
17365 pthread_attr_setstackaddr.
17366 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17367 Rename to __pthread_attr_setstackaddr.
17368 (pthread_attr_setstackaddr): New strong alias.
17369 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17370 Rename to __pthread_attr_setstacksize.
17371 (pthread_attr_setstacksize): New strong alias.
17372 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17373 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17374 pthread_exit.
17375 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17376 (__pthread_key_create): New hidden def.
17377 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17378 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17379 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17380 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17381 __pthread_setspecific, __pthread_setcancelstate,
17382 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17383 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17384 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17385 declarations.
17386 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17387 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17388 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17389 (pthread_attr_setstackaddr): New strong alias.
17390 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17391 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17392 (pthread_attr_setstacksize): New strong alias.
17393 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17394 (call_exit): Call __pthread_exit instead of pthread_exit.
17395 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17396 (_pthread_mutex_init): New hidden definition.
17397 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17398 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17399 instead of pthread_attr_init and pthread_attr_setstack.
17400
dba2bdbe
ST
17401 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17402 __vm_deallocate instead of vm_allocate and vm_deallocate.
17403 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17404 setenv.
17405 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17406 of geteuid.
17407 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17408 strdup.
17409 * hurd/siginfo.c: Include <libioP.h>.
17410 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17411 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17412 munmap.
dba2bdbe
ST
17413 * mach/devstream.c: Include <libioP.h>.
17414 (dealloc_ref): Call __mach_port_deallocate instead of
17415 mach_port_deallocate.
17416 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17417 Call __mach_port_deallocate instead of mach_port_deallocate.
17418 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17419 pathconf.
17420 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17421 munmap.
17422 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17423 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17424 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17425 of munmap.
17426 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17427 of close.
17428 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17429 instead of sysconf.
17430 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17431 __clock_gettime instead of clock_gettime.
17432 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17433 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17434 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17435 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17436 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17437 tcgetattr.
17438 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17439 __clock_gettime and __nanosleep instead of clock_gettime and
17440 nanosleep.
7a8f45e3
ST
17441 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17442 __hurd_catch_signal.
17443 (hurd_catch_signal): New strong alias.
17444 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17445 __hurd_catch_signal instead of hurd_catch_signal.
17446 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17447 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17448 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17449 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17450 (_hurd_thread_sigstate): Add hidden def.
17451 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17452 mutex_unlock.
17453 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17454 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17455 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17456 __hurd_file_name_path_lookup.
17457 (hurd_file_name_path_lookup): New strong alias.
17458 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17459 hurd_file_name_path_lookup.
17460 * mach/errstring.c (mach_error_type): Add hidden def.
17461 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17462 * mach/mutex-init.c (__mutex_init): Add hidden def.
17463 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17464 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17465 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17466 * sysdeps/mach/hurd/getcwd.c
17467 (_hurd_canonicalize_directory_name_internal): Rename to
17468 __hurd_canonicalize_directory_name_internal.
17469 (_hurd_canonicalize_directory_name_internal): New strong alias.
17470 (__canonicalize_directory_name_internal, __getcwd): Call
17471 __hurd_canonicalize_directory_name_internal instead of
17472 _hurd_canonicalize_directory_name_internal.
17473 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17474 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17475 hidden defs.
17476 * sysdeps/hurd/include/hurd.h: New file.
17477 * sysdeps/hurd/include/hurd/fd.h: New file.
17478 * sysdeps/hurd/include/hurd/signal.h: New file.
17479 * sysdeps/mach/include/lock-intern.h: New file.
17480 * sysdeps/mach/include/mach.h: New file.
17481 * sysdeps/mach/include/mach/mig_support.h: New file.
17482 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
17483 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17484 prototype.
17485 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17486 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17487 _HEADER_H_HIDDEN_DEF macro.
17488 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17489 _hurd_fd_error_signal): Add hidden prototype.
17490 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17491 hidden def.
82dbf555
ST
17492 * libio/iolibio.h (_IO_puts): New hidden prototype.
17493 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
17494 * sysdeps/mach/hurd/localplt.data: New file.
17495
33574c17 174962018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
17497 Amos Jeffries <squid3@treenet.co.nz>
17498 David Michael <fedora.dm0@gmail.com>
17499 Marco Gerards <marco@gnu.org>
17500 Marcus Brinkmann <marcus@gnu.org>
17501 Neal H. Walfield <neal@gnu.org>
17502 Pino Toscano <toscano.pino@tiscali.it>
17503 Richard Braun <rbraun@sceen.net>
17504 Roland McGrath <roland@gnu.org>
17505 Samuel Thibault <samuel.thibault@ens-lyon.org>
17506 Thomas DiModica <ricinwich@yahoo.com>
17507 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
17508
17509 * htl: New directory.
17510 * sysdeps/htl: New directory.
17511 * sysdeps/hurd/htl: New directory.
17512 * sysdeps/i386/htl: New directory.
17513 * sysdeps/mach/htl: New directory.
17514 * sysdeps/mach/hurd/htl: New directory.
17515 * sysdeps/mach/hurd/i386/htl: New directory.
17516 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17517 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17518 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17519
03e2aa50
ST
175202018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17521
17522 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17523 signals in thread created for runing timers.
17524
1aa52ced
FW
175252018-04-01 Florian Weimer <fweimer@redhat.com>
17526
17527 * support/support_format_addrinfo.c (support_format_addrinfo):
17528 Include unknown error number in formatted result.
17529
4d76d3e5
FW
175302018-03-29 Florian Weimer <fweimer@redhat.com>
17531
17532 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17533 capture SIGBUS.
17534
d39c0a45
AZ
175352018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17536
17537 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17538 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17539 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17540 (__ASSUME_CLONE_BACKWARDS): Define.
17541
cc8a1620
JH
175422018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17543
57408435 17544 [BZ #23024]
cc8a1620
JH
17545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17546 early when linux sentinel value is set.
17547
8bfd94d0
ST
175482018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17549
17550 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17551
f178e59f
AS
175522018-03-27 Andreas Schwab <schwab@suse.de>
17553
17554 [BZ #23005]
17555 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17556 allocation of private copy of nsaddr_list fails.
17557
5f45f96a
JM
175582018-03-26 Joseph Myers <joseph@codesourcery.com>
17559
17560 [BZ #16552]
17561 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17562 * sysdeps/unix/sysv/linux/umount.c: ... here.
17563 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17564 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17565 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17566 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17568 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17569 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17570
3dfd23eb
AS
175712018-03-26 Andreas Schwab <schwab@suse.de>
17572
17573 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17574 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17575 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17576 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17577 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17578 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17579 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17580 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17581 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17582 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17583 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17584 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17585 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17586 (R_RISCV_NUM): Define.
17587
fa97d2ab
ST
175882018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17589
17590 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17591 TLS declaration of errno.
37be82a0
ST
17592 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17593 __libc_setup_tls.
17594 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17595 (ARCH_SETUP_TLS): Likewise.
17596 * sysdeps/mach/hurd/libc-start.h: New file copied from
17597 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
17598 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17599 instead of __libc_setup_tls.
37be82a0 17600 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
17601 __libc_setup_tls before initializing libpthread and running _hurd_init
17602 which starts the signal thread.
17603 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17604 Declare function.
2d813d7b 17605 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 17606
b8114edd
L
176072018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17608
17609 [BZ #22998]
17610 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17611 after it is defined.
17612
cd66c0e5
AS
176132018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17614 Max Horn <max@quendi.de>
17615
17616 [BZ #22644]
43d4f3d5 17617 CVE-2017-18269
cd66c0e5
AS
17618 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17619 branch conditions.
17620 * string/test-memmove.c (do_test2): New testcase.
17621
a4406139
JM
176222018-03-22 Joseph Myers <joseph@codesourcery.com>
17623
17624 * sysdeps/generic/frame.h: Remove file.
17625 * sysdeps/arm/frame.h: Likewise.
17626 * sysdeps/hppa/frame.h: Likewise.
17627 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17628 macro.
17629 (GET_FRAME): Likewise.
17630 (GET_STACK): Likewise.
17631 (CALL_SIGHANDLER): Likewise.
17632 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17633 Likewise.
17634 (GET_FRAME): Likewise.
17635 (GET_STACK): Likewise.
17636 (CALL_SIGHANDLER): Likewise.
17637 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17638 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17639 (GET_FRAME): Likewise.
17640 (GET_STACK): Likewise.
17641 (CALL_SIGHANDLER): Likewise.
17642 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17643 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17644 (GET_FRAME): Likewise.
17645 (GET_STACK): Likewise.
17646 (ADVANCE_STACK_FRAME): Likewise.
17647 (CALL_SIGHANDLER): Likewise.
17648 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17649 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17650 (GET_FRAME): Likewise.
17651 (GET_STACK): Likewise.
17652 (CALL_SIGHANDLER): Likewise.
17653 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17654 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17655 (GET_FRAME): Likewise.
17656 (GET_STACK): Likewise.
17657 (CALL_SIGHANDLER): Likewise.
17658 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17659 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17660 (GET_FRAME): Likewise.
17661 (GET_STACK): Likewise.
17662 (CALL_SIGHANDLER): Likewise.
17663 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17664 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17665 (GET_FRAME): Likewise.
17666 (GET_STACK): Likewise.
17667 (CALL_SIGHANDLER): Likewise.
17668 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17669 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17670 (GET_FRAME): Likewise.
17671 (GET_STACK): Likewise.
17672 (CALL_SIGHANDLER): Likewise.
17673 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17674 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17675 (GET_FRAME): Likewise.
17676 (GET_STACK): Likewise.
17677 (CALL_SIGHANDLER): Likewise.
17678 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17679 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17680 (GET_FRAME): Likewise.
17681 (GET_STACK): Likewise.
17682 (CALL_SIGHANDLER): Likewise.
17683 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17684 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17685 (GET_FRAME): Likewise.
17686 (GET_STACK): Likewise.
17687 (CALL_SIGHANDLER): Likewise.
17688 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17689 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17690 (GET_FRAME): Likewise.
17691 (GET_STACK): Likewise.
17692 (CALL_SIGHANDLER): Likewise.
17693 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17694 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17695 (FIRST_FRAME_POINTER): Likewise.
17696 (ADVANCE_STACK_FRAME): Likewise.
17697 (GET_STACK): Likewise.
17698 (GET_FRAME): Likewise.
17699 (CALL_SIGHANDLER): Likewise.
17700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17701 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17702 (ADVANCE_STACK_FRAME): Likewise.
17703 (GET_STACK): Likewise.
17704 (GET_FRAME): Likewise.
17705 (CALL_SIGHANDLER): Likewise.
17706 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17707 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17708 (GET_FRAME): Likewise.
17709 (GET_STACK): Likewise.
17710 (CALL_SIGHANDLER): Likewise.
17711 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17712 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17713 (GET_FRAME): Likewise.
17714 (GET_STACK): Likewise.
17715 (CALL_SIGHANDLER): Likewise.
17716
ffec7b27
JM
177172018-03-21 Joseph Myers <joseph@codesourcery.com>
17718
17719 * sysdeps/x86_64/backtrace.c: Move to ....
17720 * debug/backtrace.c: ... here.
17721 * sysdeps/aarch64/backtrace.c: Remove file.
17722 * sysdeps/alpha/backtrace.c: Likewise.
17723 * sysdeps/hppa/backtrace.c: Likewise.
17724 * sysdeps/ia64/backtrace.c: Likewise.
17725 * sysdeps/mips/backtrace.c: Likewise.
17726 * sysdeps/nios2/backtrace.c: Likewise.
17727 * sysdeps/riscv/backtrace.c: Likewise.
17728 * sysdeps/sh/backtrace.c: Likewise.
17729 * sysdeps/tile/backtrace.c: Likewise.
17730
8a07b0c4
JM
177312018-03-20 Joseph Myers <joseph@codesourcery.com>
17732
d0c5d731
JM
17733 [BZ #22987]
17734 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17735 function.
17736 (fdimf): Likewise.
17737 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17738
8a07b0c4
JM
17739 [BZ #17343]
17740 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17741 possibly overflowing computations.
17742
ceb54b9b
ST
177432018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17744
17745 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17746 values from Linux-specific section now that it is in the GNU section.
17747 * sysdeps/gnu/errlist.c: Regenerate.
17748
8d3f9e85
JM
177492018-03-20 Joseph Myers <joseph@codesourcery.com>
17750
17751 * math/Makefile (libm-narrow-fns): Add sub.
17752 (libm-test-funcs-narrow): Likewise.
17753 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17754 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17755 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17756 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17757 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17758 (NARROW_SUB_TRIVIAL): Likewise.
17759 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17760 macro.
17761 (__dsubl): Likewise.
17762 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17763 dsub.
17764 (CFLAGS-nldbl-dsub.c): New variable.
17765 (CFLAGS-nldbl-fsub.c): Likewise.
17766 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17767 __nldbl_dsubl.
17768 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17769 prototype.
17770 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17771 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17772 * math/auto-libm-test-in: Add tests of sub.
17773 * math/auto-libm-test-out-narrow-sub: New generated file.
17774 * math/libm-test-narrow-sub.inc: New file.
17775 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17778 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17779 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17780 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17789 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17790 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17791 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17792 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17794 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17796 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17803 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17816 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17817 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17821
d473f015
JM
178222018-03-19 Joseph Myers <joseph@codesourcery.com>
17823
17824 [BZ #20079]
17825 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17826
fbce6f72
WD
178272018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17828
17829 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17830
72e7ffc3
RB
178312018-03-18 Richard Braun <rbraun@sceen.net>
17832
17833 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17834 thread reference.
17835
542c20a1
AA
178362018-03-18 Agustina Arzille <avarzille@riseup.net>
17837
17838 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17839 (__libc_cleanup_fct): Define function.
17840 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17841 __libc_cleanup_end): Rewrite implementation using
17842 __attribute__ ((__cleanup__)).
17843 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
17844 * hurd/Makefile (routines): Add hurdlock.
17845 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17846 interface.
17847 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17848 * hurd/hurdpid.c: Include <lowlevellock.h>
17849 (_S_msg_proc_newids): Use lll_wait to synchronize.
17850 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17851 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17852 * mach/Makefile (lock-headers): Remove machine-lock.h.
17853 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17854 <machine-lock.h>.
17855 (__spin_lock_t): New type.
17856 (__SPIN_LOCK_INITIALIZER): New macro.
17857 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17858 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17859 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17860 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17861 (__mutex_init): Initialize with lll.
17862 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17863 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17864 needing lll.
17865 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17866 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17867 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17868 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17869 (__setpgid): Use lll for synchronization.
17870 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17871 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17872 instead of <cthreads.h>.
17873 (_IO_lock_inexpensive): New macro
17874 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17875 (__libc_lock_self0): New declaration.
17876 (__libc_lock_owner_self): New macro.
17877 (__libc_key_t): Remove type.
17878 (_LIBC_LOCK_INITIALIZER): New macro.
17879 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17880 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17881 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17882 __libc_lock_define_initialized_recursive,
17883 __rtld_lock_define_initialized_recursive,
17884 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17885 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17886 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17887 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17888 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17889 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17890 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17891 New macros.
17892 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17893 * hurd/hurdlock.c: New file.
17894 * hurd/hurdlock.h: New file.
17895 * mach/lowlevellock.h: New file
542c20a1 17896
9a37922e
ST
178972018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17898
17899 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
17900 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17901 when opening a symlink with O_NOFOLLOW.
72103e73
ST
17902 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17903 path when flags contains O_NOFOLLOW.
17904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17905 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
17906 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17907 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
17908 * sysdeps/mach/hurd/mlockall.c: New file.
17909 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 17910
34e6a869
ST
179112018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17912
17913 * hurd/hurdsig.c: Include <pthread.h>.
17914 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17915 get the signal thread stack layout.
dc33bef3
ST
17916 * hurd/Makefile (headers): Remove threadvar.h.
17917 (inline-headers): Remove threadvar.h.
17918 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17919 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17920 __hurd_threadvar_max, __hurd_errno_location.
17921 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17922 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17923 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17924 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17925 unless TLS is not initialized yet, in which case we do not need a
17926 critical section yet anyway.
17927 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17928 <machine-sp.h>.
17929 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17930 declarations.
17931 (__hurd_threadvar_index): Remove enum.
17932 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17933 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17934 inlines.
17935 (__hurd_reply_port0): New variable declaration.
17936 (__hurd_local_reply_port): New macro.
17937 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17938 (interrupted_reply_port_location): Add thread_t parameter. Use it
17939 with THREAD_TCB to access thread-local variables.
17940 (_hurdsig_abort_rpcs): Pass ss->thread to
17941 interrupted_reply_port_location.
17942 (_hurd_internal_post_signal): Likewise.
17943 (_hurdsig_init): Use presence of cthread_fork instead of
17944 __hurd_threadvar_stack_mask to start signal thread by hand.
17945 Remove signal thread threadvar initialization.
17946 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17947 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17948 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17949 of threadvar.
17950 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17951 __libc_lock_self0.
17952 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17953 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17954 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17955 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17956 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17957 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17958 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17959 define variables.
17960 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17961 <hurd/threadvar.h>.
17962 [IS_IN(rtld)] (rtld_errno): New variable.
17963 [IS_IN(rtld)] (__errno_location): New weak function.
17964 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17965 * sysdeps/mach/hurd/errno.c: Remove file.
17966 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17967 (__fork): Remove THREADVAR_SPACE macro and its use.
17968 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17969 variable.
17970 (init): Do not initialize threadvar.
17971 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17972 symbol.
17973 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17974 __hurd_local_reply_port instead of threadvar.
17975 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17976 _hurd_sigstate fields.
17977 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17978 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17979 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17980 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17981 instead of threadvar.
17982 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17983 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17984 (use_threadvar, global_reply_port): Remove variables.
17985 (__hurd_reply_port0): New variable.
17986 (__mig_get_reply_port): Use __hurd_local_reply_port and
17987 __hurd_reply_port0 instead of threadvar.
17988 (__mig_dealloc_reply_port): Likewise.
17989 (__mig_init): Do not initialize threadvar.
17990 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
17991 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17992 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17993 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17994 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17995 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17996 __cthread_setspecific.
17997 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17998 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17999 __cthread_t instead of cthread_fork, cthread_detach,
18000 pthread_getattr_np, pthread_attr_getstack.
18001 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18002 __cthread_keycreate.
18003 (cthread_getspecific): Rename to __cthread_getspecific.
18004 (cthread_setspecific): Rename to __cthread_setspecific.
18005 (__libc_getspecific): Use __cthread_getspecific instead of
18006 cthread_getspecific.
18007 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18008 __cthread_keycreate instead of cthread_keycreate.
18009 (__libc_setspecific): Use __cthread_setspecific instead of
18010 cthread_setspecific.
18011 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18012 Likewise.
dd28d4ba
ST
18013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18014 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18015 testing whether it is defined.
34e6a869 18016
f8baf2a2
ST
180172018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18018
18019 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18020 Define macro.
18021 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18022 * sysdeps/mach/i386/thread_state.h
18023 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18024 i386_THREAD_STATE.
18025 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18026 i386_THREAD_STATE.
18027 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18028
18029 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18030 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18031
18032 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18033 macros.
18034 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18035 descriptor instead of creating a new one.
18036 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18037
18038 * mach/setup-thread.c: Include <ldsodefs.h>.
18039 (__mach_setup_thread): Call _dl_allocate_tls, pass
18040 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18041 MACHINE_THREAD_STATE_FLAVOR, before getting
18042 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18043 MACHINE_THREAD_STATE_FLAVOR with the result.
18044 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18045 MACHINE_THREAD_STATE_FIX_NEW.
18046 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18047 too. Add original thread parameter.
18048
34ba96b8
JM
180492018-03-16 Joseph Myers <joseph@codesourcery.com>
18050
5d75b75f
JM
18051 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18052 Remove inline function.
18053
34ba96b8
JM
18054 * sysdeps/i386/fpu/libm-test-ulps: Update.
18055 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18056
22679b2c
WD
180572018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18058
18059 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18060 commit.
18061
c429a8d8
JM
180622018-03-15 Joseph Myers <joseph@codesourcery.com>
18063
18064 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18065 (__sincos_code): Remove define and undefine.
18066 [__FAST_MATH__] (__sincos): Remove inline function.
18067 [__FAST_MATH__] (__sincosf): Remove inline function.
18068 [__FAST_MATH__] (__sincosl): Remove inline function.
18069 (__atan2l): Remove inline functions.
18070 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18071 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18072 function.
18073 (floor): Remove inline function.
18074 (ceil): Likewise.
18075 [__FAST_MATH__] (__ldexp_code): Remove macro.
18076 [__FAST_MATH__] (ldexp): Remove inline function.
18077 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18078 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18079 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18080 [__USE_ISOC99] (__lrint_code): Remove macro.
18081 [__USE_ISOC99] (__llrint_code): Likewise.
18082 [__USE_ISOC99] (lrintf): Remove inline function.
18083 [__USE_ISOC99] (lrint): Likewise.
18084 [__USE_ISOC99] (lrintl): Likewise.
18085 [__USE_ISOC99] (llrint): Likewise.
18086 [__USE_ISOC99] (llrintf): Likewise.
18087 [__USE_ISOC99] (llrintl): Likewise.
18088
700593fd
WD
180892018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18090
18091 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18092 (__ieee754_sqrtf): Remove.
18093 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18094 (__ieee754_sqrtf): Remove.
18095 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18096 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18097 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18098 (__ieee754_sqrtf): Remove.
18099 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18100 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18101 (sqrtf): Remove.
18102 (sqrtl): Remove.
18103 (__ieee754_sqrt): Remove.
18104 (__ieee754_sqrtf): Remove.
18105 (__ieee754_sqrtl): Remove.
18106 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18107 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18108 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18109 (__ieee754_sqrtf): Remove.
18110 (__ieee754_sqrtl): Remove.
18111
f67a8147
WD
181122018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18113
18114 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18115 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18116 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18117 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18118 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18119 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18120 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18121 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18122 Likewise.
18123 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18124 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18125 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18126 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18127 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18128 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18129 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18130 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18131 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18133 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18134 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18140 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18152 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18153 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18154 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18155 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18156 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18158 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18159 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18160 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18161 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18162 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18163
1294b189
WD
181642018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18165
18166 * include/math.h (sqrt): Declare with asm redirect.
18167 (sqrtf): Likewise.
18168 (sqrtl): Likewise.
18169 (sqrtf128): Likewise.
18170 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18171 nonlib and libnldbl with -fmath-errno.
18172 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18173 * math/w_sqrt_template.c: Likewise.
18174 * math/w_sqrtf_compat.c: Likewise.
18175 * math/w_sqrtl_compat.c: Likewise.
18176 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18177 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18178 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18179 complex.h.
18180
f1c8185d
WD
181812018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18182
18183 * benchtests/Makefile: Define _ISOMAC.
18184 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18185 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18186 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18187 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18188 * benchtests/bench-timing.h: Define attribute_hidden.
18189
b47c3e76
SP
181902018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18191
18192 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18193 mov + lsr.
18194
807fee29
RL
181952018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18196
18197 [BZ #22963]
18198 * localedata/locales/cs_CZ (mon): Rename to...
18199 (alt_mon): This.
18200 (mon): Import from CLDR (genitive case).
18201
e7155a28
RL
182022018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18203
18204 [BZ #22937]
18205 * localedata/locales/el_CY (abmon): Rename to...
18206 (ab_alt_mon): This.
18207 (abmon): Import from CLDR (abbreviated genitive case).
18208 * localedata/locales/el_GR (abmon): Rename to...
18209 (ab_alt_mon): This.
18210 (abmon): Import from CLDR (abbreviated genitive case).
18211
71d7b121
RL
182122018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18213
18214 [BZ #22932]
18215 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18216
a00bffe8
RB
182172018-03-15 Robert Buj <robert.buj@gmail.com>
18218
18219 [BZ #22848]
18220 * localedata/locales/ca_ES (abmon): Rename to...
18221 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18222 (mon): Rename to...
18223 (alt_mon): This.
18224 (abmon): Import from CLDR (genitive case, month names preceded by
18225 "de" or "d’").
18226 (mon): Likewise.
18227 (abday): Synchronize with CLDR.
18228 (d_t_fmt): Likewise.
18229 (d_fmt): Likewise.
18230 (am_pm): Likewise.
18231
18232 (LC_TIME): Improve indentation.
18233 (LC_TELEPHONE): Likewise.
18234 (LC_NAME): Likewise.
18235 (LC_ADDRESS): Likewise.
18236
f9555d73
JM
182372018-03-14 Joseph Myers <joseph@codesourcery.com>
18238
18239 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18240 (lrintf): Remove definitions used only with old GCC.
18241 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18242 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18243 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18244 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18245 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18246 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18247 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18248 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18249 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18250 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18251 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18252 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18253 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18254 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18255 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18256 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18257 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18258 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18259 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18260 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18261 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18262 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18263 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18264 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18265 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18266 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18267 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18268 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18269
d46f84de
SP
182702018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18271
18272 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18273 instruction to unbreak builds with binutils 2.26 and older.
18274
7108f1f9
SP
182752018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18276
18277 * sysdeps/aarch64/strncmp.S (count): New macro.
18278 (strncmp): Store misaligned length in SRC1 in COUNT.
18279 (mutual_align): Adjust.
18280 (misaligned8): Load dword at a time when it is safe.
18281
2cc7bad0
ZW
182822018-03-12 Zack Weinberg <zackw@panix.com>
18283
18284 [BZ #1190]
18285 [BZ #19476]
18286 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18287 if the _IO_EOF_SEEN bit is already set; update commentary.
18288 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18289 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18290
18291 * support/support_openpty.c, support/tty.h: New files.
18292 * support/Makefile (libsupport-routines): Add support_openpty.
18293
18294 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18295 New test cases.
18296 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18297 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18298
778f1974
DL
182992018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18300
18301 * po/pt_BR.po: Update translations.
18302
6b5c8607 183032018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
18304
18305 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18306 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18307 get a port to the startup server.
18308
d3da750d
ZW
183092018-03-11 Zack Weinberg <zackw@panix.com>
18310
18311 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18312 before nldbl-compat.h.
18313
054b72cc
ZW
183142018-03-10 Zack Weinberg <zackw@panix.com>
18315
0d13dfa1
ZW
18316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18317 math.h or math_private.h.
18318
18319 * sysdeps/alpha/fpu/s_isnan.c
18320 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18321 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18322 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18323 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18324 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18325 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18326 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18327 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18328 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18331 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18332 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18334 Include math_private.h.
18335
18336 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18337 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18338 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18339 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18340 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18341 * sysdeps/powerpc/power7/fpu/s_logb.c:
18342 Include math.h and math_private.h.
18343
054b72cc
ZW
18344 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18345 uses of $at in .set noat / .set at.
18346
6253bacd
L
183472018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18348
18349 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18350 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18351 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18352 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18353 Likewise.
18354
229855e5
FW
183552018-03-09 Florian Weimer <fweimer@redhat.com>
18356
18357 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18358 in comment.
18359
9aa5c222
AJ
183602018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18361
18362 [BZ #22919]
18363 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18364 Add nop before __startcontext, add explaining comments.
18365
3dc21497
AZ
183662018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18367
e921c89e
AZ
18368 [BZ #22926]
18369 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18370 empty for __SPE__.
18371 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18372 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18373 Do not build hardware transactional code for __SPE__.
18374 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18375 (__lll_trylock_elision): Likewise.
18376 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18377 (__lll_unlock_elision): Likewise.
18378
d9f26dab 18379 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
18380 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18381 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18382 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18383 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18384 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18385 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18386 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18387 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18388 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18389 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18390 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18392 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18393 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18394 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18395 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18396 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18397 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18398 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18399 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18401 (__ASSUME_CLONE_BACKWARDS): Define.
18402 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18403 __clone2 if __NR_clone2 is defined.
18404 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18405 (__ASSUME_CLONE_BACKWARDS): Likewise.
18406 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18407 (__ASSUME_CLONE_BACKWARDS): Likewise.
18408 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18409 (__ASSUME_CLONE2): Likewise.
18410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18411 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18412 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18413 variants and the define architecture can use.
18414 (__ASSUME_CLONE_DEFAULT): Define as default.
18415 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18416 (__ASSUME_CLONE_BACKWARDS): Likewise.
18417 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18418 (__ASSUME_CLONE_BACKWARDS): Likewise.
18419 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18420 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18421
adc95fb0
SP
184222018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18423
4e54d918
SP
18424 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18425
30a81dae
SP
18426 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18427 time.
18428
adc95fb0
SP
18429 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18430 (do_test_limit): Likewise.
18431
18432 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18433 for every implementation.
18434 (do_test): Likewise.
18435
18436 * benchtests/bench-strncmp.c: Convert output to json.
18437
4e9066bc
ST
184382018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18439
18440 * io/futimens.c: Add missing start-of-file descriptive comment.
18441 * io/utime.c: Likewise.
18442 * misc/futimesat.c: Likewise.
18443 * misc/utimes.c: Likewise.
18444 * sysdeps/mach/hurd/futimesat.c: Likewise.
18445 * sysdeps/mach/hurd/utimes.c: Likewise.
18446 * sysdeps/posix/utime.c: Likewise.
18447 * sysdeps/posix/utimes.c: Likewise.
18448 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18449 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18450 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18451 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18452
ec1300cf
ST
184532018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18454
18455 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18456 hurd_futimes.
18457 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18458 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18459 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18460 (__futimens): Move implementation to...
18461 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18462 utime_tvalue_from_tspec): ... new helper functions.
18463 (hurd_futimens): New function.
18464 * sysdeps/mach/hurd/futimesat.c: New file.
18465 * sysdeps/mach/hurd/utimensat.c: New file.
18466
bbe762d1
FC
184672018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18468
18469 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18470 UTIME_OMIT): New macros.
18471 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18472 before reverting to converting time spec to time value and calling
18473 __file_utimes.
18474 * sysdeps/mach/hurd/utime-helper.c: New file.
18475 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18476 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18477 reverting to utime_tvalue_from_tval and __file_utimes.
18478 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18479 (__lutimes): Just call hurd_futimens after lookup.
18480 * sysdeps/mach/hurd/utimes.c: Likewise.
18481
a1ede3a4
ST
184822018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18483
18484 * bits/sigaction.h: Add include guard.
18485 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18486 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18487 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18488 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18489 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18490 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18491 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18492 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18493 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18494
6900d2ca
JM
184952018-03-05 Joseph Myers <joseph@codesourcery.com>
18496
18497 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18498 -Wmaybe-uninitialized for -Os.
18499 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18500 this disabling.
18501
68448be2
AZ
185022018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18503
5226a81f
AZ
18504 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18505 __INO_T_MATCHES_INO64_T is defined.
18506 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18507 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18508 of definition.
18509 * dirent/alphasort64.c: Likewise.
18510 * dirent/scandir.c: Likewise.
18511 * dirent/scandir64-tail.c: Likewise.
18512 * dirent/scandir64.c: Likewise.
18513 * dirent/scandirat.c: Likewise.
18514 * dirent/scandirat64.c: Likewise.
18515 * dirent/versionsort.c: Likewise.
18516 * dirent/versionsort64.c: Likewise.
18517 * include/dirent.h: Likewise.
18518
fbd01e6c
AZ
18519 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18520 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18521 for socketpair endpoint.
18522 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18523 WRITE_BUFFER_SIZE as buffer size for sending socket.
18524 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18525 issue on system where send is implemented with sendto syscall.
18526 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18527 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18528 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18529 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18530
68448be2
AZ
18531 [BZ #21269]
18532 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18533 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18534 sa_restorer for vDSO case.
18535 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18536
eb1ca47e
ST
185372018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18538
18539 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
18540 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18541 * hurd/hurd/ioctl.h: Include <mach/port.h>
18542 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
18543 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18544 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
18545 (headers): Move mach/param.h to bits/mach/param.h.
18546 * sysdeps/mach/i386/mach/param.h: Move file to ...
18547 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18548 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18549 of <mach/param.h>.
3403cb7d
ST
18550 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18551 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18552 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
18553 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18554 trivial, for C++ conformity.
44c6376c 18555 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
18556 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18557 Process mig output through $(migheadersed).
18558 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
18559 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18560 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18561 headers.
ba89615d
ST
18562 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18563 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18564 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18565 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18566 <bits/types/sigset_t.h>.
18567 [!defined __USE_GNU]: Do not #error out.
18568 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18569 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18570 Include <stddef.h> and <bits/types/sigset_t.h>
18571 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18572 instead of sighandler_t.
974393ea
ST
18573 * stdlib/errno.h (error_t): Move definition to...
18574 * bits/types/error_t.h: ... new header.
18575 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18576 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18577 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18578 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18579 * hurd/hurd.h: Include <bits/types/error_t.h>
18580 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18581 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18582 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18583 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18584 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18585 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 18586 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 18587
eaf6753f
AS
185882018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18589
18590 [BZ #22918]
18591 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18592 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18593 * nscd/gai.c (__nss_hosts_database): Readd definition.
18594 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18595 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18596 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18597
4dc23804
JM
185982018-03-02 Joseph Myers <joseph@codesourcery.com>
18599
18600 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18601 (ifunc_one): Likewise.
18602
1c81d55f
DD
186032018-03-01 DJ Delorie <dj@delorie.com>
18604
18605 [BZ #22342]
18606 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18607 key value.
18608
b717c14f
MR
186092018-03-01 Maciej W. Rozycki <macro@mips.com>
18610
18611 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18612 `match_pid' parameter.
18613 (td_ta_thr_iter): Update accordingly.
18614
1efe1358
FW
186152018-03-01 Florian Weimer <fweimer@redhat.com>
18616
18617 * nptl/Makefile (install-lib-ldscripts): Remove.
18618 (install): Remove rule.
18619 ($(inst_libdir)/libpthread.so): Likewise.
18620
a527f09c
MF
186212018-03-01 Mike FABIAN <mfabian@redhat.com>
18622
18623 [BZ #22896]
18624 * localedata/locales/an_ES: update month and day names,
18625 improve d_fmt, improve postal_fmt, add country_post,
18626 add country_isbn
18627
35d660b0
MF
186282018-03-01 Mike FABIAN <mfabian@redhat.com>
18629
18630 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18631 Ukrainian instead of Bulgarian.
18632
1a2f44a8
FW
186332018-03-01 Florian Weimer <fweimer@redhat.com>
18634
18635 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18636 reference.
18637
bd60ce86
FW
186382018-03-01 Florian Weimer <fweimer@redhat.com>
18639
18640 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18641 * nptl/Makefile (routines): Add pthread_atfork.
18642 (static-only-routines): Set to pthread_atfork.
18643 (libpthread-routines): Remove pthread_atfork.
18644 (libpthread-static-only-routines): Remove.
18645 (install): Update comment.
18646 (libpthread.so): Do not install libpthread_nonshared.a.
18647 (tests): Do not link with libpthread_nonshared.a.
18648 (generated): Remove libpthread_nonshared.a.
18649 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18650 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18651 with libpthread_nonshared.a.
18652
000f290f
JM
186532018-02-28 Joseph Myers <joseph@codesourcery.com>
18654
e2bcf6a8
JM
18655 [BZ #22902]
18656 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18657 (libc_feholdexcept_setroundf128): New macro.
18658 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18659
000f290f
JM
18660 [BZ #15105]
18661 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18662 libc_hidden_def.
18663 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18664 * include/inttypes.h: New file.
18665
02f2fead
JM
186662018-02-27 Joseph Myers <joseph@codesourcery.com>
18667
18668 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18669 -Os in two more places.
18670
874c56d7
MF
186712018-02-27 Mike FABIAN <mfabian@redhat.com>
18672
18673 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18674 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18675 be sorted correctly at the moment because of a bug.
18676
15973854
MF
186772018-02-27 Mike FABIAN <mfabian@redhat.com>
18678
18679 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18680 treat ñ as a primary different character, sync the collation
18681 for Spanish with CLDR.
18682 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18683 * localedata/Makefile: Add new test files.
18684 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18685 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18686 collation order.
18687 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18688 * localedata/am_ET.UTF-8.in: New test file.
18689 * localedata/az_AZ.UTF-8.in: Likewise.
18690 * localedata/be_BY.UTF-8.in: Likewise.
18691 * localedata/ber_DZ.UTF-8.in: Likewise.
18692 * localedata/ber_MA.UTF-8.in: Likewise.
18693 * localedata/bg_BG.UTF-8.in: Likewise.
18694 * localedata/br_FR.UTF-8.in: Likewise.
18695 * localedata/cmn_TW.UTF-8.in: Likewise.
18696 * localedata/crh_UA.UTF-8.in: Likewise.
18697 * localedata/csb_PL.UTF-8.in: Likewise.
18698 * localedata/cv_RU.UTF-8.in: Likewise.
18699 * localedata/cy_GB.UTF-8.in: Likewise.
18700 * localedata/dz_BT.UTF-8.in: Likewise.
18701 * localedata/eo.UTF-8.in: Likewise.
18702 * localedata/es_ES.UTF-8.in: Likewise.
18703 * localedata/fa_IR.UTF-8.in: Likewise.
18704 * localedata/fi_FI.UTF-8.in: Likewise.
18705 * localedata/fil_PH.UTF-8.in: Likewise.
18706 * localedata/fur_IT.UTF-8.in: Likewise.
18707 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18708 * localedata/ha_NG.UTF-8.in: Likewise.
18709 * localedata/ig_NG.UTF-8.in: Likewise.
18710 * localedata/ik_CA.UTF-8.in: Likewise.
18711 * localedata/kk_KZ.UTF-8.in: Likewise.
18712 * localedata/ku_TR.UTF-8.in: Likewise.
18713 * localedata/ky_KG.UTF-8.in: Likewise.
18714 * localedata/ln_CD.UTF-8.in: Likewise.
18715 * localedata/mi_NZ.UTF-8.in: Likewise.
18716 * localedata/ml_IN.UTF-8.in: Likewise.
18717 * localedata/mn_MN.UTF-8.in: Likewise.
18718 * localedata/mr_IN.UTF-8.in: Likewise.
18719 * localedata/mt_MT.UTF-8.in: Likewise.
18720 * localedata/nb_NO.UTF-8.in: Likewise.
18721 * localedata/om_KE.UTF-8.in: Likewise.
18722 * localedata/os_RU.UTF-8.in: Likewise.
18723 * localedata/ps_AF.UTF-8.in: Likewise.
18724 * localedata/ro_RO.UTF-8.in: Likewise.
18725 * localedata/ru_RU.UTF-8.in: Likewise.
18726 * localedata/sc_IT.UTF-8.in: Likewise.
18727 * localedata/se_NO.UTF-8.in: Likewise.
18728 * localedata/sq_AL.UTF-8.in: Likewise.
18729 * localedata/sv_SE.UTF-8.in: Likewise.
18730 * localedata/szl_PL.UTF-8.in: Likewise.
18731 * localedata/tg_TJ.UTF-8.in: Likewise.
18732 * localedata/tk_TM.UTF-8.in: Likewise.
18733 * localedata/tt_RU.UTF-8.in: Likewise.
18734 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18735 * localedata/ug_CN.UTF-8.in: Likewise.
18736 * localedata/uz_UZ.UTF-8.in: Likewise.
18737 * localedata/vi_VN.UTF-8.in: Likewise.
18738 * localedata/yi_US.UTF-8.in: Likewise.
18739 * localedata/yo_NG.UTF-8.in: Likewise.
18740 * localedata/zh_CN.UTF-8.in: Likewise.
18741 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18742 file and fix bugs in the collation.
18743 * localedata/locales/az_AZ: Likewise.
18744 * localedata/locales/be_BY: Likewise.
18745 * localedata/locales/ber_DZ: Likewise.
18746 * localedata/locales/ber_MA: Likewise.
18747 * localedata/locales/bg_BG: Likewise.
18748 * localedata/locales/br_FR: Likewise.
18749 * localedata/locales/br_FR@euro: Likewise.
18750 * localedata/locales/ca_ES: Likewise.
18751 * localedata/locales/cns11643_stroke: Likewise.
18752 * localedata/locales/crh_UA: Likewise.
18753 * localedata/locales/cs_CZ: Likewise.
18754 * localedata/locales/csb_PL: Likewise.
18755 * localedata/locales/cv_RU: Likewise.
18756 * localedata/locales/cy_GB: Likewise.
18757 * localedata/locales/da_DK: Likewise.
18758 * localedata/locales/dz_BT: Likewise.
18759 * localedata/locales/en_CA: Likewise.
18760 * localedata/locales/eo: Likewise.
18761 * localedata/locales/es_CU: Likewise.
18762 * localedata/locales/es_EC: Likewise.
18763 * localedata/locales/es_ES: Likewise.
18764 * localedata/locales/es_US: Likewise.
18765 * localedata/locales/et_EE: Likewise.
18766 * localedata/locales/fa_IR: Likewise.
18767 * localedata/locales/fi_FI: Likewise.
18768 * localedata/locales/fil_PH: Likewise.
18769 * localedata/locales/fur_IT: Likewise.
18770 * localedata/locales/gez_ER@abegede: Likewise.
18771 * localedata/locales/ha_NG: Likewise.
18772 * localedata/locales/hr_HR: Likewise.
18773 * localedata/locales/hsb_DE: Likewise.
18774 * localedata/locales/hu_HU: Likewise.
18775 * localedata/locales/ig_NG: Likewise.
18776 * localedata/locales/ik_CA: Likewise.
18777 * localedata/locales/is_IS: Likewise.
18778 * localedata/locales/iso14651_t1_pinyin: Likewise.
18779 * localedata/locales/kk_KZ: Likewise.
18780 * localedata/locales/ku_TR: Likewise.
18781 * localedata/locales/ky_KG: Likewise.
18782 * localedata/locales/ln_CD: Likewise.
18783 * localedata/locales/lt_LT: Likewise.
18784 * localedata/locales/lv_LV: Likewise.
18785 * localedata/locales/mi_NZ: Likewise.
18786 * localedata/locales/ml_IN: Likewise.
18787 * localedata/locales/mn_MN: Likewise.
18788 * localedata/locales/mr_IN: Likewise.
18789 * localedata/locales/mt_MT: Likewise.
18790 * localedata/locales/nb_NO: Likewise.
18791 * localedata/locales/om_KE: Likewise.
18792 * localedata/locales/os_RU: Likewise.
18793 * localedata/locales/pl_PL: Likewise.
18794 * localedata/locales/ps_AF: Likewise.
18795 * localedata/locales/ro_RO: Likewise.
18796 * localedata/locales/ru_RU: Likewise.
18797 * localedata/locales/ru_UA: Likewise.
18798 * localedata/locales/sc_IT: Likewise.
18799 * localedata/locales/se_NO: Likewise.
18800 * localedata/locales/si_LK: Likewise.
18801 * localedata/locales/sq_AL: Likewise.
18802 * localedata/locales/sv_FI: Likewise.
18803 * localedata/locales/sv_FI@euro: Likewise.
18804 * localedata/locales/sv_SE: Likewise.
18805 * localedata/locales/szl_PL: Likewise.
18806 * localedata/locales/tg_TJ: Likewise.
18807 * localedata/locales/ti_ER: Likewise.
18808 * localedata/locales/tk_TM: Likewise.
18809 * localedata/locales/tl_PH: Likewise.
18810 * localedata/locales/tr_TR: Likewise.
18811 * localedata/locales/tt_RU: Likewise.
18812 * localedata/locales/tt_RU@iqtelif: Likewise.
18813 * localedata/locales/ug_CN: Likewise.
18814 * localedata/locales/uk_UA: Likewise.
18815 * localedata/locales/uz_UZ: Likewise.
18816 * localedata/locales/uz_UZ@cyrillic: Likewise.
18817 * localedata/locales/vi_VN: Likewise.
18818 * localedata/locales/yi_US: Likewise.
18819 * localedata/locales/yo_NG: Likewise.
18820
ce6636b0
MF
188212018-02-27 Mike FABIAN <mfabian@redhat.com>
18822
18823 * gen-locales.mk: Make test files which contain @ modifiers in their
18824 name work.
18825 * localedata/gen-locale.sh: Likewise.
18826
ac3a3b4b
MF
188272018-02-27 Mike FABIAN <mfabian@redhat.com>
18828
18829 * posix/tst-fnmatch.input: Fix results for range expressions
18830 for non C locales.
18831 * posix/tst-regexloc.c: Do not use a range expression for
18832 de_DE.ISO-8859-1 locale.
18833
770cbe14
MF
188342018-02-27 Mike FABIAN <mfabian@redhat.com>
18835
18836 * posix/bug-regex5.c: Fix test case because with the new
18837 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18838 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18839 file.
18840
0fc355d9
MF
188412018-02-27 Mike FABIAN <mfabian@redhat.com>
18842
18843 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18844 downloaded from ISO, the collation order of @-. and space has changed.
18845 Therefore, this test file needed to be adapted.
18846 * localedata/fr_CA.UTF-8.in: Likewise.
18847 * localedata/fr_FR.UTF-8.in: Likewise.
18848 * localedata/uk_UA.UTF-8.in: Likewise.
18849
43f3893f
MF
188502018-02-27 Mike FABIAN <mfabian@redhat.com>
18851
18852 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18853 order of ȥ in the new iso14651_t1_common file.
18854 * localedata/pl_PL.UTF-8.in: Likewise.
18855
df74ef78
MF
188562018-02-27 Mike FABIAN <mfabian@redhat.com>
18857
18858 * localedata/locales/iso14651_t1_common: Add sections for various
18859 scripts to the iso14651_t1_common file.
18860
d5adfbad
MF
188612018-02-27 Mike FABIAN <mfabian@redhat.com>
18862
18863 * localedata/locales/iso14651_t1_common: Use the code point of a
18864 character in the fourth collation level instead of IGNORE for all
18865 entries which have IGNORE on all 4 levels.
18866
5f5a9610
MF
188672018-02-27 Mike FABIAN <mfabian@redhat.com>
18868
18869 * localedata/locales/iso14651_t1_common: Add some convenient collation
18870 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18871 rules similar to those in CLDR.
18872
8a97e900
MF
188732018-02-27 Mike FABIAN <mfabian@redhat.com>
18874
18875 * localedata/locales/iso14651_t1_common: The new version of this
18876 file downloaded from ISO contained several syntax errors which
18877 are fixed by this patch.
18878
bbdd2fba
MF
188792018-02-27 Mike FABIAN <mfabian@redhat.com>
18880
18881 * localedata/locales/iso14651_t1_common: replace all <U.....>
18882 with <U000.....> because glibc understands only 4 digit or 8 digit
18883
1569e551
MF
188842018-02-27 Mike FABIAN <mfabian@redhat.com>
18885
18886 * localedata/locales/iso14651_t1_common: Necessary changes
18887 to make the file downloaded from ISO usable by glibc.
18888
9479b6d5
MF
188892018-02-27 Mike FABIAN <mfabian@redhat.com>
18890
18891 [BZ #14095]
18892 * localedata/locales/iso14651_t1_common: Update file to
18893 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18894
03b540b3
ST
188952018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18896
18897 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18898 of <nptl/pthreadP.h>
18899 (thread_attr_compare): Move function to...
eb937a52 18900 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 18901 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 18902 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 18903
20602c72
JM
189042018-02-26 Joseph Myers <joseph@codesourcery.com>
18905
f54d8f73
JM
18906 * string/strcoll_l.c: Include <libc-diag.h>.
18907 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18908 declarations of seq1 and seq2.
18909
20602c72
JM
18910 [BZ #15105]
18911 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18912 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18913
f5f473a9
DL
189142018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18915
18916 [BZ #22433]
18917 [BZ #22807]
18918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18919 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18920 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18921 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18922 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18923 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18924
398c6fdd
TMQMF
189252018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18926
18927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18928 macros used in __ptrace_request.
18929
f5d1f629
L
189302018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 [BZ #22792]
18933 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18934 to $(CC).
18935 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18936 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18937 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18938 <tcb-offsets.h>.
18939
54412d20
JM
189402018-02-23 Joseph Myers <joseph@codesourcery.com>
18941
18942 [BZ #15105]
18943 * ctype/ctype.c (tolower): Use libc_hidden_def.
18944 (toupper): Likewise.
18945 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18946 [!_ISOMAC] (toupper): Likewise.
18947
81be4b5e
MF
189482018-02-23 Mike FABIAN <mfabian@redhat.com>
18949
18950 * localedata/Makefile: Remove --quiet argument when
18951 installing locales
18952
9d5cfd8e
MF
189532018-02-23 Mike FABIAN <mfabian@redhat.com>
18954
18955 [BZ #17438]
18956 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18957 in d_fmt.
18958 * localedata/locales/pt_PT (LC_TIME): likewise
18959
6c7269f3
MF
189602018-02-23 Mike FABIAN <mfabian@redhat.com>
18961
18962 [BZ #22646]
18963 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18964 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18965 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18966
92aabad9
AZ
189672018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18968
4cdc25a4
AZ
18969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18970
27761a10
AZ
18971 * nptl/Makefile (routines): Remove unregister-atfork.
18972 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18973 (fork_handler_alloc): Remove function.
18974 (fork_handlers, fork_handler_init): New variables.
18975 (__fork_lock): Rename to atfork_lock.
18976 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18977 to use a dynamic array to add/remove atfork handlers.
18978 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18979 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18980 Remove declaration.
18981 (fork_handler): Remove next, refcntr, and need_signal member.
18982 (__run_fork_handler_type): New enum.
18983 (__run_fork_handlers): New prototype.
18984 * nptl/register-atfork.c: Remove file.
18985 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18986
92aabad9
AZ
18987 * sysdeps/nptl/nptl-signals.h: Move to ...
18988 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18989 comments.
18990 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18991 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18992 unnecessary check for SIGTIMER.
18993 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18994 remove unnecessary removal of SIGTIMER.
18995 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18996 include-signals.h rename.
18997 * nptl/pthreadP.h: Likewise.
18998 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18999 __is_internal_signal instead of __nptl_is_internal_signal.
19000
6b5c8607 190012018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 19002
7e04eb29 19003 [BZ # 22884]
fdcc6253
AW
19004 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19005 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19006 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19007 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19008
8090720a
DD
190092018-02-22 DJ Delorie <dj@delorie.com>
19010
19011 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19012
6ca24c43
SP
190132018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19014
19015 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19016 do_misaligned, not misaligned8.
19017
e9537ddd
SE
190182018-02-22 Steve Ellcey <sellcey@cavium.com>
19019
19020 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19021 Add memcpy_thunderx2.
19022 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19023 Increment to 4.
19024 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19025 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19026 and IS_THUNDERX2PA checks.
19027 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19028 Use macro to set name appropriately.
19029 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19030 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19031 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19032 New macro.
19033 (IS_THUNDERX2): New macro.
19034
6e336476
SL
190352018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19036
19037 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19038
34957904
ZW
190392018-02-21 Zack Weinberg <zackw@panix.com>
19040
30bfee26
ZW
19041 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19042 Define here, unconditionally.
19043 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19044 * libio/libioP.h: Remove #if 0 blocks.
19045 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19046 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19047 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19048
19049 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19050 Assume weak_alias is always defined.
19051
19052 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19053 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19054 Remove #if 0 and #ifdef TODO blocks.
19055 Assume text_set_element is always defined.
19056
19057 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19058 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19059 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19060
df6c012b
ZW
19061 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19062 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19063 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19064 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19065 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19066 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19067 Reformat bit flags for _flags field to make occupancy clearer.
19068 Update commentary.
19069 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19070 Keep definitions consistent with those in libio/libio.h.
19071
19072 * libio/libio.h (_IO_file_flags): Remove macro.
19073 All uses changed to _flags.
19074
177aad3f
ZW
19075 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19076 (__HAVE_COLUMN, _IO_BE): Don't define.
19077 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19078 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19079 * libio/libioP.h (EOF): Don't define.
19080 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19081 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19082 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19083 testing _IO_UNIFIED_JUMPTABLES.
19084
9964a145
ZW
19085 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19086 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19087 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19088 (_IO_size_t): Delete; all uses changed to size_t.
19089 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19090 (_IO_off_t): Delete; all uses changed to off_t.
19091 (_IO_off64_t): Delete; all uses changed to off64_t.
19092 (_IO_pid_t): Delete; all uses changed to pid_t.
19093 (_IO_uid_t): Delete; all uses changed to uid_t.
19094 (_IO_wint_t): Delete; all uses changed to wint_t.
19095 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19096 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19097 (_IO_cookie_io_functions_t): Delete; all uses changed to
19098 cookie_io_functions_t.
19099 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19100 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19101 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19102 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19103
19104 * libio/iofopncook.c: Remove unnecessary forward declarations.
19105 * libio/iolibio.h: Correct outdated commentary.
19106 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19107 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19108 Remove unnecessary casts.
19109 * stdio-common/getline.c: Use _IO_getdelim directly.
19110 Don't redefine ssize_t.
19111 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19112 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19113 Remove outdated comments.
19114 * stdio-common/vfscanf.c: Don't redefine va_list.
19115
34957904
ZW
19116 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19117 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19118 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19119 which are always true, and __cplusplus, which is always false.
19120
30ac923d
JM
191212018-02-21 Joseph Myers <joseph@codesourcery.com>
19122
039c721a
JM
19123 [BZ #15105]
19124 [BZ #19463]
19125 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19126 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19127 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19128 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19129 libc_hidden_proto.
19130 [!_ISOMAC] (putc_unlocked): Likewise.
19131 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19132 define inline if [__USE_EXTERN_INLINES].
19133 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19134 putc_unlocked.
19135
30ac923d
JM
19136 [BZ #15105]
19137 [BZ #19463]
19138 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19139 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19140 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19141 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19142 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19143 getc_unlocked.
19144 * time/tzfile.c (__tzfile_read): Likewise.
19145
7ec5f946
MF
191462018-02-21 Mike FABIAN <mfabian@redhat.com>
19147
19148 [BZ #22517]
19149 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19150
0d217f40
RJ
191512018-02-21 Rical Jasan <ricaljasan@pacific.net>
19152
19153 * io/fcntl.h: Fix a typo in a comment.
19154
862b4502
RJ
191552018-02-21 Rical Jasan <ricaljasan@pacific.net>
19156
19157 [BZ #22862]
19158 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19159 define _DEFAULT_SOURCE.
19160 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19161
999a6dab
FW
191622018-02-21 Florian Weimer <fweimer@redhat.com>
19163
19164 [BZ #20890]
19165 * elf/cache.c (save_cache): Call fsync on temporary file before
19166 renaming it.
19167 (save_aux_cache): Call fdatasync on temporary file before renaming
19168 it.
19169
52a01100
FW
191702018-02-21 Florian Weimer <fweimer@redhat.com>
19171
19172 [BZ #22787]
19173 * include/caller.h: Remove file.
19174 * elf/dl-caller.c: Likewise.
19175 * elf/Makefile (dl-routines): Remove dl-caller.
19176 (shared-only-routines): Do not add dl-caller.
19177 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19178 __check_caller.
19179 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19180 member.
19181 (dl_open_worker): Do not call __check_caller.
19182 (_dl_open): Do not set caller_dl_open member.
19183 * elf/rtld.c (_rtld_global_ro): Do not initialize
19184 _dl_check_caller member.
19185 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19186 _dl_check_caller member.
19187 (_dl_check_caller): Remove declaration.
19188 * sysdeps/unix/sysv/linux/dl-execstack.c
19189 (_dl_make_stack_executable): Do not call __check_caller.
19190
b5bf62e4
ST
191912018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19192
19193 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 19194 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 19195
e8d190b9
RJ
191962018-02-20 Rical Jasan <ricaljasan@pacific.net>
19197
19198 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19199 description.
19200
6a3962c4
RJ
192012018-02-20 Rical Jasan <ricaljasan@pacific.net>
19202
da81ae64 19203 [BZ #16335]
6a3962c4
RJ
19204 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19205 of 199606L, 200112L, and 200809L.
19206 (_XOPEN_SOURCE): Document special values of 600 and 700.
19207 (_ISOC11_SOURCE): Document macro.
19208 (_ATFILE_SOURCE): Likewise.
19209 (_FORTIFY_SOURCE): Likewise.
19210
ec481ad8
JM
192112018-02-19 Joseph Myers <joseph@codesourcery.com>
19212
19213 [BZ #15105]
19214 [BZ #19463]
19215 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19216 and define as weak alias of __ferror_unlocked. Use
19217 libc_hidden_weak.
19218 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19219 libc_hidden_proto.
19220 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19221 function if [__USE_EXTERN_INLINES].
19222 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19223 ferror_unlocked.
19224
7d15ef84
RJ
192252018-02-19 Rical Jasan <ricaljasan@pacific.net>
19226
19227 [BZ #6889]
19228 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19229
f8d79582
AJ
192302018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19231
19232 [BZ #22818]
19233 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19234 the GLIBC_2.1 version.
19235
56456a2a
AJ
192362018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19237
19238 [BZ #21508]
19239 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19240 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19241 intl/tst-gettext-de.po from po/de.po by removing the
19242 POT-Creation-Date line.
19243 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19244 ../po/de.po.
19245 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19246 ../po/de.po.
19247
13768813
ST
192482018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19249
19250 * mach/Makefile (headers): Add mach/param.h.
19251 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19252 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
19253 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19254 (__ptsname_r): Move implementation to...
19255 (__ptsname_internal): ... new function. Add filling the STP
19256 structure.
13768813 19257
6aca1b61
JDA
192582018-02-17 John David Anglin <danglin@gcc.gnu.org>
19259
19260 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19261 idouble to 1 ULP.
19262
16efad51
RJ
192632018-02-16 Rical Jasan <ricaljasan@pacific.net>
19264
19265 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19266 syntax.
19267
87245073
SL
192682018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19269
19270 * nptl/Makefile (tst-mutex8-ENV): Delete.
19271 * nptl/tst-mutex8.c (check_type):
19272 Add runtime check if mutex will be elided.
19273
7fc03cf3
JM
192742018-02-15 Joseph Myers <joseph@codesourcery.com>
19275
db9881ec
JM
19276 [BZ #20980]
19277 [BZ #21234]
19278 * manual/install.texi (Configuring and compiling): Describe
19279 passing CC and CFLAGS on configure command line, not as
19280 environment variables. Use @code markup on those variables.
19281 Specify what options go in CC and what go in CFLAGS. Note the
19282 requirement to compile with optimization.
19283 * INSTALL: Regenerated.
19284
3785b31c
JM
19285 [BZ #18124]
19286 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19287 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19288 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19289 __sigprocmask instead of sigprocmask.
19290 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19291 Likewise.
19292 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19293 __sigsetjmp and sigprocmask.
19294
055ac2a7
JM
19295 [BZ #15105]
19296 * include/argz.h (argz_next): Use libc_hidden_proto.
19297 (__argz_next): Likewise.
19298 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19299 (argz_next): Use libc_hidden_weak.
19300
e4452a2d
JM
19301 [BZ #15105]
19302 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19303 libc_hidden_proto.
19304 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19305 libc_hidden_def.
19306
499b3153
JM
19307 [BZ #15105]
19308 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19309 libc_hidden_proto.
19310 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19311
7fc03cf3
JM
19312 [BZ #15105]
19313 [BZ #19463]
19314 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19315 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19316 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19317 (__feof_unlocked): New declaration, and inline function if
19318 [__USE_EXTERN_INLINES].
19319 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19320 instead of feof_unlocked.
19321 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19322 * nss/nsswitch.c (nss_parse_file): Likewise.
19323 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19324 Likewise.
19325 * time/getdate.c (__getdate_r): Likewise.
19326 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19327 Define as macro to call __feof_unlocked.
19328
0c8a67a5
WD
193292018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19330
19331 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19332
610ee1fc
WD
193332018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19334
19335 * math/Makefile: Remove mpexp.c and mplog.c
19336 * sysdeps/i386/fpu/mpexp.c: Delete file.
19337 * sysdeps/i386/fpu/mplog.c: Likewise.
19338 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19339 * sysdeps/ia64/fpu/mplog.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19341 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19342 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19343 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19344 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19345 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19346 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19347 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19348 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19349 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19350 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19351 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19352 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19353 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19354 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19355 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19356
8e7196c8
SL
193572018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19358
19359 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19360
4f55ad0b
AZ
193612018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19362
19363 * sysdeps/sh/libm-test-ulps: Update.
19364
261a851c
TMQMF
193652018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19366
19367 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19368 idouble to 1 ULP.
19369
e16deca6
ZW
193702018-02-12 Zack Weinberg <zackw@panix.com>
19371
19372 [BZ #19239]
19373 * posix/sys/types.h: Don't include sys/sysmacros.h.
19374 * misc/sys/sysmacros.h: Remove the conditional deprecation
19375 warnings for the macros defined by this header.
19376
de800d83
SN
193772018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19378
19379 * manual/probes.texi: Remove slowexp probes.
19380 * math/Makefile: Remove slowexp.
19381 * sysdeps/generic/math_private.h (__slowexp): Remove.
19382 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19383 document error bounds.
19384 * sysdeps/i386/fpu/slowexp.c: Remove.
19385 * sysdeps/ia64/fpu/slowexp.c: Remove.
19386 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19387 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19388 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19389 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19390 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19391 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19392 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19393 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19394 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19395 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19396 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19397
c3d466cb
WD
193982018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19399
19400 [BZ #13932]
19401 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19402 * benchtests/pow-inputs: Update comment for slow path cases.
19403 * manual/probes.texi (slowpow_p10): Delete removed probe.
19404 (slowpow_p10): Likewise.
19405 * math/Makefile: Remove halfulp.c and slowpow.c.
19406 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19407 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19408 (__halfulp): Remove.
19409 (__slowpow): Remove.
19410 * sysdeps/i386/fpu/halfulp.c: Delete file.
19411 * sysdeps/i386/fpu/slowpow.c: Likewise.
19412 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19413 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19415 improve comments and add error analysis.
19416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19417 (power1): Remove function:
19418 (log1): Remove error argument, add error analysis.
19419 (my_log2): Remove function.
19420 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19422 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19423 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19424 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19425 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19426 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19427 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19431 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19432 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19433 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19434
7bb087bd
ST
194352018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19436
19437 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19438 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19439
2fd4bbaa
DL
194402018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19441
19442 [BZ #22433]
19443 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19444 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19445 and PTRACE_SETHBPREGS.
19446
402ecba4
ZW
194472018-02-10 Zack Weinberg <zackw@panix.com>
19448
19449 [BZ #22830]
19450 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19451 correctly.
19452 * malloc/tst-malloc-stats-cancellation.c: New test case.
19453 * malloc/Makefile: Add new test case.
19454
4f5b921e
WD
194552018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19456
19457 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19458
a85b70db
JM
194592018-02-10 Joseph Myers <joseph@codesourcery.com>
19460
d8742dd8
JM
19461 * math/Makefile (libm-narrow-fns): Add add.
19462 (libm-test-funcs-narrow): Likewise.
19463 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19464 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19465 * math/gen-auto-libm-tests.c (test_functions): Add add.
19466 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19467 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19468 (NARROW_ADD_TRIVIAL): Likewise.
19469 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19470 macro.
19471 (__daddl): Likewise.
19472 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19473 dadd.
19474 (CFLAGS-nldbl-dadd.c): New variable.
19475 (CFLAGS-nldbl-fadd.c): Likewise.
19476 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19477 __nldbl_daddl.
19478 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19479 prototype.
19480 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19481 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19482 * math/auto-libm-test-in: Add tests of add.
19483 * math/auto-libm-test-out-narrow-add: New generated file.
19484 * math/libm-test-narrow-add.inc: New file.
19485 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19486 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19487 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19488 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19489 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19490 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19499 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19500 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19501 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19502 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19504 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19505 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19506 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19507 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19508 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19509 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19510 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19511 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19512 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19513 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19514 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19515 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19516 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19524 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19525 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19527 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19528 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19529 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19530 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19531
a85b70db
JM
19532 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19533 (f128-pairs): New variable.
19534 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19535 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19536 to CFLAGS.
19537 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19538 Also make tests add $(f128-loader-link) to gnulib-tests.
19539
6a1ff640
DD
195402018-02-09 DJ Delorie <dj@redhat.com>
19541
19542 [BZ #22827]
19543 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19544 64-bit ELF type for 64-bit ELF objects.
19545
bfd47587
JM
195462018-02-09 Joseph Myers <joseph@codesourcery.com>
19547
31958338
JM
19548 * math/libm-test-driver.c (snan_tests_arg): New variable.
19549 * math/libm-test-support.h (snan_tests_arg): New declaration.
19550 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19551
8e554659
JM
19552 * math/Makefile (test-type-pairs): New variable.
19553 (test-type-pairs-f64xf128-yes): Likewise.
19554 (tests): Add test-narrow-macros.
19555 (libm-test-funcs-narrow): New variable.
19556 (libm-test-c-narrow): Likewise.
19557 (generated): Add $(libm-test-c-narrow).
19558 (libm-tests-base-narrow): New variable.
19559 (libm-tests-narrow): Likewise.
19560 (libm-tests): Add $(libm-tests-narrow).
19561 (libm-tests-for-type): Handle $(libm-tests-narrow).
19562 (libm-test-c-narrow-obj): New variable.
19563 ($(libm-test-c-narrow-obj)): New rule.
19564 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19565 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19566 $(o-iterator) to set dependencies and CFLAGS.
19567 * math/gen-auto-libm-tests.c: Document use for narrowing
19568 functions.
19569 (output_for_one_input_case): Take argument NARROW.
19570 (generate_output): Likewise. Update call to
19571 output_for_one_input_case.
19572 (main): Take --narrow option. Update call to generate_output.
19573 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19574 (apply_lit): Update call to _apply_lit.
19575 (apply_arglit): New function.
19576 (parse_args): Handle "a" arguments.
19577 (parse_auto_input): Handle format names using ":".
19578 * math/README.libm-test: Document "a" parameter type.
19579 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19580 (ARG_TYPE_TRUE_MIN): Likewise.
19581 (ARG_TYPE_MAX): Likwise.
19582 (ARG_MIN_EXP): Likewise.
19583 (ARG_MAX_EXP): Likewise.
19584 (ARG_MANT_DIG): Likewise.
19585 (TEST_COND_arg_ibm128): Likewise.
19586 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19587 (TEST_COND_arg_fmt): New macro.
19588 (init_max_error): Update prototype.
19589 * math/libm-test-support.c (test_ibm128): New variable.
19590 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19591 instead of using [TEST_COND_ibm128] conditional.
19592 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19593 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19594 [TEST_NARROW] (TEST_MSG): New definition.
19595 (arg_plus_zero): New macro.
19596 (arg_minus_zero): Likewise.
19597 (arg_plus_infty): Likewise.
19598 (arg_minus_infty): Likewise.
19599 (arg_qnan_value_pl): Likewise.
19600 (arg_qnan_value): Likewise.
19601 (arg_snan_value_pl): Likewise.
19602 (arg_snan_value): Likewise.
19603 (arg_max_value): Likewise.
19604 (arg_min_value): Likewise.
19605 (arg_min_subnorm_value): Likewise.
19606 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19607 (RUN_TEST_LOOP_aa_f): New macro.
19608 (TEST_SUFF): New macro.
19609 (TEST_SUFF_STR): Likewise.
19610 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19611 (TEST_COND_any_ibm128): New macro.
19612 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19613 this_func. Update call to init_max_error.
19614 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19615 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19616 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19617 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19618 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19619 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19620 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19621 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19622 * math/test-math-vector.h (TEST_NARROW): Likewise.
19623 * math/test-arg-double.h: New file.
19624 * math/test-arg-float128.h: Likewise.
19625 * math/test-arg-float32x.h: Likewise.
19626 * math/test-arg-float64.h: Likewise.
19627 * math/test-arg-float64x.h: Likewise.
19628 * math/test-arg-ldouble.h: Likewise.
19629 * math/test-math-narrow.h: Likewise.
19630 * math/test-narrow-macros.c: Likewise.
19631 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19632 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19633 test-narrow-macros-ldbl-64.
19634 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19635
63716ab2
JM
19636 * math/bits/mathcalls-narrow.h: New file.
19637 * include/bits/mathcalls-narrow.h: Likewise.
19638 * math/math-narrow.h: Likewise.
19639 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19640 (__MATHCALL_NARROW_ARGS_2): Likewise.
19641 (__MATHCALL_NARROW_ARGS_3): Likewise.
19642 (__MATHCALL_NARROW_NORMAL): Likewise.
19643 (__MATHCALL_NARROW_REDIR): Likewise.
19644 (__MATHCALL_NARROW): Likewise.
19645 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19646 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19647 defined.
19648 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19649 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19650 (libm-narrow-fns): New variable.
19651 (libm-narrow-types-basic): Likewise.
19652 (libm-narrow-types-ldouble-yes): Likewise.
19653 (libm-narrow-types-float128-yes): Likewise.
19654 (libm-narrow-types-float128-alias-yes): Likewise.
19655 (libm-narrow-types): Likewise.
19656 (libm-routines): Add narrowing functions.
19657 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19658 (libc_feholdexcept_setroundf128): New macro.
19659 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19660 * sysdeps/ieee754/float128/float128_private.h: Include
19661 <math/math-narrow.h>.
19662 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19663 Undefine and redefine.
19664 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19665 (libm_alias_float_ldouble): Undefine and redefine.
19666 (libm_alias_double_ldouble): Likewise.
19667
bfd47587
JM
19668 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19669
3f8d9d58
WD
196702018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19671
19672 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19673 FPCR/FPSR.
19674
1f6676d7
RJ
196752018-02-09 Rical Jasan <ricaljasan@pacific.net>
19676
19677 * manual/creature.texi: Convert references to gcc.info to gcc.
19678 * manual/stdio.texi: Likewise.
19679 * manual/string.texi: Likewise.
19680
d80441dd
JM
196812018-02-07 Joseph Myers <joseph@codesourcery.com>
19682
15081be9
JM
19683 [BZ #17979]
19684 * posix/bits/types.h (__int_least8_t): New typedef.
19685 (__uint_least8_t): Likewise.
19686 (__int_least16_t): Likewise.
19687 (__uint_least16_t): Likewise.
19688 (__int_least32_t): Likewise.
19689 (__uint_least32_t): Likewise.
19690 (__int_least64_t): Likewise.
19691 (__uint_least64_t): Likewise.
19692 * sysdeps/generic/stdint.h (int_least8_t): Define using
19693 __int_least8_t.
19694 (int_least16_t): Define using __int_least16_t.
19695 (int_least32_t): Define using __int_least32_t.
19696 (int_least64_t): Define using __int_least64_t.
19697 (uint_least8_t): Define using __uint_least8_t.
19698 (uint_least16_t): Define using __uint_least16_t.
19699 (uint_least32_t): Define using __uint_least32_t.
19700 (uint_least64_t): Define using __uint_least64_t.
19701 * wcsmbs/uchar.h: Include <bits/types.h>.
19702 (char16_t): Define using __uint_least16_t conditional only on
19703 [!__USE_ISOCXX11].
19704 (char32_t): Define using __uint_least32_t conditional only on
19705 [!__USE_ISOCXX11].
19706 * wcsmbs/test-char-types.c: New file.
19707 * wcsmbs/Makefile (tests): Add test-char-types.
19708
d80441dd
JM
19709 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19710 version to 4.0.1.
19711
6c6c962a
ZW
197122018-02-07 Zack Weinberg <zackw@panix.com>
19713
63fb8f9a
ZW
19714 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19715 Delete all contents except for definitions of _G_HAVE_MMAP and
19716 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19717 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19718 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19719 change as above.
19720
19721 * libio/libio.h: Don't include bits/_G_config.h here.
19722 Include stddef.h with __need_wchar_t defined. Include
19723 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19724 Define _IO_iconv_t here, directly.
19725 Don't define _IO_HAVE_ST_BLKSIZE.
19726 * libio/libioP.h: Include _G_config.h here. Move include of
19727 shlib-compat.h up with rest of includes. Simplify conditionals
19728 controlling definition of _IO_JUMPS_OFFSET.
19729
19730 * csu/init.c: Remove always-true #if around entire file.
19731 Don't include stdio.h. Set _IO_stdin_used to hardwired
19732 constant 0x20001, and update commentary.
19733 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19734 Replace all uses of _G_va_list with __gnuc_va_list.
19735 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19736 instead of #if _IO_HAVE_ST_BLKSIZE.
19737 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19738 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19739 not #ifdef.
19740
6c6c962a
ZW
19741 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19742 multiple-include guard to match.
19743 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19744 into this file.
19745 Remove preprocessor conditionals that are always true and/or
19746 redundant to other preprocessor conditionals in the same nest.
19747 Include shlib-compat.h unconditionally.
19748 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19749 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19750 defined after including stdio.h.
19751 Use __BEGIN_DECLS/__END_DECLS.
19752
19753 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19754 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19755 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19756
a4fea3f2
ZW
197572018-02-07 Zack Weinberg <zackw@panix.com>
19758
19759 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19760 New single-type headers split from _G_config.h.
19761 * libio/bits/types/cookie_io_functions_t.h
19762 * libio/bits/types/struct_FILE.h
19763 New single-type headers split from libio.h.
19764
19765 * libio/Makefile: Install the above new headers. Don't install
19766 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19767 bits/libio-ldbl.h.
19768 * libio/_G_config.h, libio/libio.h: Delete file.
19769
19770 * libio/bits/libio.h: Remove improper-inclusion guard.
19771 Include stdio.h and don't repeat anything that it does.
19772 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19773 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19774 __io_read_fn as cookie_read_function_t,
19775 __io_write_fn as cookie_write_function_t,
19776 __io_seek_fn as cookie_seek_function_t,
19777 __io_close_fn as cookie_close_function_t,
19778 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19779 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19780 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 19781 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
19782 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19783 and _IO_ferror_unlocked.
19784 Move prototypes of __uflow and __overflow...
19785
19786 * libio/stdio.h: ...here. Don't include bits/libio.h.
19787 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 19788 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
19789 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19790 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19791 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19792 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19793 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19794 __ssize_t, not _IO_ssize_t. Unconditionally define
19795 BUFSIZ as 8192 and EOF as (-1).
19796
19797 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19798 macros from bits/types/struct_FILE.h instead of _IO_* macros
19799 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19800 instead of _IO_ssize_t.
19801 * libio/bits/stdio2.h: Similarly.
19802
19803 * libio/iolibio.h: Add multiple-include guard.
19804 Include bits/libio.h after stdio.h.
19805 * libio/libioP.h: Add multiple-include guard.
19806 Include stdio.h and bits/libio.h before iolibio.h.
19807
6c6c962a 19808 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
19809 * include/bits/types/cookie_io_functions_t.h
19810 * include/bits/types/struct_FILE.h: New wrappers.
19811
19812 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
19813 Get definitions of _G_fpos_t and _G_fpos64_t from
19814 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19815 respectively. Remove improper-inclusion guards.
a4fea3f2 19816
6c6c962a 19817 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 19818 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 19819 libio.h and _G_config.h.
a4fea3f2 19820
ce999220
JM
198212018-02-07 Joseph Myers <joseph@codesourcery.com>
19822
8b4a1182
JM
19823 [BZ #15105]
19824 [BZ #19463]
19825 * include/sys/sysmacros.h [!_ISOMAC]
19826 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19827 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19828 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19829 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19830 libc_hidden_proto.
19831 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19832 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19833 Likewise.
19834 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19835 Undefine and redefine to add use __gnu_dev_ prefix.
19836 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19837 Likewise.
19838 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19839 and define as hidden inline function.
19840 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19841 Likewise.
19842 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19843 Likewise.
19844 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19845 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19846 (gnu_dev_minor): Likewise.
19847 (gnu_dev_makedev): Likewise.
19848 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19849 makedev.
19850 * posix/wordexp.c (exec_comm_child): Likewise.
19851 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19852 instead of minor and __gnu_dev_major instead of major.
19853 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19854 __gnu_dev_major instead of major.
19855 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19856 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19857 instead of gnu_dev_minor.
19858 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19859 (SLAVE_P): Likewise.
19860 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19861 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19862 instead of major.
19863
ce999220
JM
19864 [BZ #21313]
19865 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19866 in another place.
19867 * locale/weightwc.h (findidx): Likewise.
19868
b7c83ca3
WD
198692018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19870
19871 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19872 (slowlog_inexact): Likewise
19873 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19874 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19875
388ff7bd
IG
198762018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19877
19878 [BZ #22797]
19879 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19880 missing second underscore to parameter name.
19881
663e7d78
JM
198822018-02-06 Joseph Myers <joseph@codesourcery.com>
19883
0d40d0ec
JM
19884 [BZ #14508]
19885 [BZ #15512]
19886 [BZ #17082]
19887 [BZ #20530]
19888 * bits/byteswap.h: Update file comment. Do not include
19889 <bits/byteswap-16.h>.
19890 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19891 constant.
19892 (__bswap_16): Define as inline function.
19893 (__bswap_constant_32): Reformat definition.
19894 (__bswap_32): Always define as inline function, not macro, using
19895 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19896 otherwise __bswap_constant_32.
19897 (__bswap_constant_64): Reformat definition. Do not use
19898 __extension__ here.
19899 (__bswap_64): Always define as inline function, not macro. Use
19900 __extension__ on function definition. Use __builtin_bswap64 if
19901 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19902 * string/test-endian-file-scope.c: New file.
19903 * string/test-endian-sign-conversion.c: Likewise.
19904 * string/Makefile (headers): Remove bits/byteswap-16.h.
19905 (tests): Add test-endian-file-scope and
19906 test-endian-sign-conversion.
19907 (CFLAGS-test-endian-sign-conversion.c): New variable.
19908 * bits/byteswap-16.h: Remove file.
19909 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19910 * sysdeps/ia64/bits/byteswap.h: Likewise.
19911 * sysdeps/m68k/bits/byteswap.h: Likewise.
19912 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19913 * sysdeps/s390/bits/byteswap.h: Likewise.
19914 * sysdeps/tile/bits/byteswap.h: Likewise.
19915 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19916 * sysdeps/x86/bits/byteswap.h: Likewise.
19917
383e87c9
JM
19918 [BZ #17721]
19919 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19920 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19921 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19922 199901L] (__restrict): Define to restrict.
19923
d92c2759
JM
19924 [BZ #19667]
19925 * string/testcopy.c: Include <support/support.h>. Do not include
19926 <malloc.h>. Use <support/test-driver.c>.
19927 (main): Rename to do_test. Make static. Use xmalloc instead of
19928 malloc.
19929
625fb764
JM
19930 [BZ #13575]
19931 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19932 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19933 (SSIZE_MAX): Define to INT_MAX.
19934 * posix/test-ssize-max.c: New file.
19935 * posix/Makefile (tests): Add test-ssize-max.
19936
02325d6c
JM
19937 [BZ #19668]
19938 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19939 <support/support.h>. Do not include <malloc.h>.
19940 (query_auxv): Use xmalloc instead of malloc.
19941
663e7d78
JM
19942 [BZ #14553]
19943 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19944 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19945 instead of loff_t.
19946
6b5c8607 199472018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
19948
19949 [BZ #18023]
19950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19951 Use scratch_buffer instead of extend_alloca.
19952
de6da571
ZW
199532018-02-06 Zack Weinberg <zackw@panix.com>
19954
26c07172
ZW
19955 * libio/stdio.h: Don't define getc or putc as macros.
19956 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19957 not _IO_getc and _IO_putc.
19958
de6da571
ZW
19959 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19960 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19961
92669d6e
JM
199622018-02-06 Joseph Myers <joseph@codesourcery.com>
19963
c2b84df9
JM
19964 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19965 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19966
41376f8c
JM
19967 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19968
d28bf648
JM
19969 [BZ #14890]
19970 * elf/elf.h (NT_PRFPREG): New macro.
19971 (NT_S390_VXRS_LOW): Likewise.
19972 (NT_S390_VXRS_HIGH): Likewise.
19973 (NT_S390_GS_CB): Likewise.
19974 (NT_S390_GS_BC): Likewise.
19975 (NT_S390_RI_CB): Likewise.
19976
e76def72
JM
19977 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19978 (MAP_SYNC): New macro.
19979 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19980 Likewise.
19981 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19982 (MAP_SYNC): Likewise.
19983 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19984 (MAP_SYNC): Likewise.
19985 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19986 (MAP_SYNC): Likewise.
19987 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19988 (MAP_SYNC): Likewise.
19989 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19990 (MAP_SYNC): Likewise.
19991 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19992 (MAP_SYNC): Likewise.
19993 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19994 Likewise.
19995 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19996 Likewise.
19997
92669d6e
JM
19998 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19999 (MAP_SHARED_VALIDATE): New macro.
20000 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20001 (MAP_SHARED_VALIDATE): Likewise.
20002
6a5cac49
L
200032018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20004
20005 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20006 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20007 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20008
b44e0dfb
L
200092018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20010
20011 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20012 (DT_NUM): Updated to 35.
20013
f886c16c
L
200142018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20015
20016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20017 __builtin_expect with __glibc_likely and __glibc_unlikely.
20018 (elf_machine_rela): Likewise.
20019 (elf_machine_lazy_rel): Likewise.
20020
06fbebff
L
200212018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20022
20023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 20024 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
20025 (elf_machine_lazy_rel): Likewise.
20026
371b220f
L
200272018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20028
20029 [BZ #22638]
20030 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20031 SHARED.
65805016 20032 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 20033
f649a1b8
AS
200342018-02-05 Andreas Schwab <schwab@suse.de>
20035
20036 [BZ #22761]
20037 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20038 string.
20039
9fdb340e
ST
200402018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20041
20042 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20043 not check against PTHREAD_STACK_MIN.
20044
09e56b9e
SM
200452018-02-02 Sean McKean <smckean83@gmail.com>
20046
20047 [BZ #22735]
20048 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20049
d4b4a00a
FW
200502018-02-02 Florian Weimer <fweimer@redhat.com>
20051
20052 [BZ #22753]
20053 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20054 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20055 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20056 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20057 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20058 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20059 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20060 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20061 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20062 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20063 * misc/tst-preadvwritev2.c (do_test): Call it.
20064 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20065
3dfcbfa1
SP
200662018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20067
84c94d2f
SP
20068 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20069
96e6a716
SP
20070 * benchtests/bench-memcmp.c: Print json instead of plain text.
20071
3dfcbfa1
SP
20072 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20073 every test run.
20074
049375e2
JM
200752018-02-01 Joseph Myers <joseph@codesourcery.com>
20076
39f898c6
JM
20077 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20078 version to 4.15.
20079 (s390_sthyi): New syscall.
20080
6f9a3dd8
JM
20081 * sysdeps/generic/ldbl-classify-compat.h: New file.
20082 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20083 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20084 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20085 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20086 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20087 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20088 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20089 <ldbl-classify-compat.h>.
20090 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20091 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20092 <ldbl-classify-compat.h>.
20093 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20094 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20095 <ldbl-classify-compat.h>.
20096 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20098 <ldbl-classify-compat.h>.
20099 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20101 <ldbl-classify-compat.h>.
20102 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20104 <ldbl-classify-compat.h>.
20105 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20106 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20107 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20108 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20109 * sysdeps/microblaze/math_private.h: Likewise.
20110 * sysdeps/nios2/math_private.h: Likewise.
20111 * sysdeps/sh/math_private.h: Likewise.
20112
eb65a3d5
JM
20113 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20114 * sysdeps/m68k/coldfire/math_private.h: ... here.
20115 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20116 * sysdeps/tile/math_private.h: Likewise.
20117 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20118 Remove macro.
20119 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20120 Likewise.
20121
8a6bb1d0
JM
20122 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20123 Remove macro.
20124 (libc_fetestexcept): Likewise.
20125 (libc_feupdateenv_test): Likewise.
20126 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20127 (libc_fetestexcept): Likewise.
20128 (libc_feupdateenv_test): Likewise.
20129 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20130 (libc_fetestexcept): Likewise.
20131 (libc_feupdateenv_test): Likewise.
20132 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20133 (libc_fetestexcept): Likewise.
20134 (libc_feupdateenv_test): Likewise.
20135
ae1fcb7b
JM
20136 * sysdeps/generic/math_private.h
20137 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20138 New inline function.
20139 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20140 Likewise.
20141
b1c347e2
JM
20142 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20143 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20144 * sysdeps/generic/math_private.h
20145 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20146 inline function.
20147 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20148 Likewise.
20149 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20150 Likewise.
20151 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20152 Likewise.
20153 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20154 Likewise.
20155 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20156 Likewise.
20157 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20158 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20159 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20160 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20161 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20162 (__fegetenv): Likewise.
20163 (fesetenv): Likewise.
20164 (__fesetenv): Likewise.
20165 (feupdateenv): Likewise.
20166 (__feupdateenv): Likewise.
20167 (fegetround): Likewise.
20168 (__fegetround): Likewise.
20169 (fesetround): Likewise.
20170 (__fesetround): Likewise.
20171
d23a4962
JM
20172 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20173 (feraiseexcept): New macro.
20174 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20175 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20176 Remove macro.
20177 (__feraiseexcept): Likewise.
20178 (feclearexcept): Likewise.
20179 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20180 (__feraiseexcept): Likewise.
20181 (feclearexcept): Likewise.
20182 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20183 (__feraiseexcept): Likewise.
20184 (feclearexcept): Likewise.
20185 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20186 (__feraiseexcept): Likewise.
20187 (feclearexcept): Likewise.
20188 (fetestexcept): Likewise.
20189
5f167950
JM
20190 * sysdeps/m68k/coldfire/math-tests.h: New file.
20191
ccc9035a
JM
20192 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20193 * sysdeps/m68k/bits/fenv.h: ... here.
20194 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20195 not define.
20196 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20197 Likewise.
20198 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20199 Likewise.
20200 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20201 Likewise.
20202 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20203 Likewise.
20204 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20205 Define to 0.
20206 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20207 (__FE_UNDEFINED): New enum constant.
20208 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20209 Do not define.
20210 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20211 Likewise.
20212 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20213 Likewise.
20214 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20215 to match generic bits/fenv.h.
20216 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20217 Do not define.
20218
049375e2
JM
20219 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20220 packed on bits.
20221 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20222 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20223 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20224 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20225
f1d73681
CD
202262018-02-01 Carlos O'Donell <carlos@redhat.com>
20227 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20228 Joseph Myers <joseph@codesourcery.com>
20229
20230 [BZ #21314]
20231 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20232 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20233 computation using c.
20234 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20235 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20236 computation using c.
20237
242cbc90
DL
202382018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20239
086ee48e
DL
20240 * version.h (RELEASE): Set to "development".
20241 (VERSION): Set to "2.27.9000".
20242 * NEWS (2.28): New section.
20243
23158b08
DL
20244 * version.h (RELEASE): Set to "stable".
20245 (VERSION): Set to "2.27".
20246 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20247
242cbc90
DL
20248 * NEWS: Add the list of bugs fixed in 2.27.
20249
673e2305
AZ
202502018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20251
20252 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20253 against PTHREAD_STACK_MIN.
20254
ced64e01
DL
202552018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20256
20257 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20258 New entries.
20259 (Rafal Luzynski, Andreas Schwab): Update.
20260
c10c9a5e
RL
202612018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20262
20263 [BZ #10871]
20264 * NEWS: List the languages which actually use the alternative
20265 months feature in this release. Also explain that "alt_mon" and
20266 "ab_alt_mon" are optional.
20267
650ba77a
IM
202682018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20269
20270 [BZ #22765]
20271 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20272
93493119
DL
202732018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20274
20275 * manual/install.texi (Tools for Compilation): Update the newest
20276 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20277 * INSTALL: Regenerated.
20278
363e4519 202792018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
20280
20281 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20282 instead of __builtin_expect.
20283
d7536874
FW
202842018-01-30 Florian Weimer <fweimer@redhat.com>
20285
20286 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20287 data.
20288 * nss/tst-nss-getpwent.c (do_test): Likewise.
20289
9a1b267d
RL
202902018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20291
20292 [BZ #10871]
20293 * localedata/locales/hr_HR (mon): Rename to...
20294 (alt_mon): This.
20295 (mon): Import from CLDR (genitive case).
20296 (d_t_fmt): Update the comment.
20297
9a179328
AS
202982018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20299
20300 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20301 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20302 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20303
e01e0ddc
ST
203042018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20305
20306 * mach/Versions: Fix version when __mach_host_self_ was added.
20307 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20308 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20309 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20310 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20311 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20312 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20313 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20314 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20315 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20316 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20317 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20318 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
20319 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20320 || to respect codestyle.
2aadb705
ST
20321 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20322 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
20323 * malloc/malloc.c: Include <assert.h>.
20324 (assert): Do not define.
20325 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
20326 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20327 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 20328 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 20329 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 20330
521877e1
PD
203312018-01-29 Darius Rad <darius@bluespec.com>
20332
20333 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20334
532cf290
PD
203352018-01-29 Palmer Dabbelt <palmer@sifive.com>
20336
20337 * sysdeps/init_array/crti.S (.section .init_array): Add
20338 PREINIT_FUNCTION when defined.
40ca951b 20339 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 20340 * config.h.in: Regenerate.
ba9e25a6
PD
20341 * manual/platform.texi: Add RISC-V documenation for
20342 __riscv_flush_icache.
c776fa11
PD
20343 * sysdeps/riscv/__longjmp.S: New file.
20344 * sysdeps/riscv/backtrace.c: Likewise.
20345 * sysdeps/riscv/bits/endian.h: Likewise.
20346 * sysdeps/riscv/bits/setjmp.h: Likewise.
20347 * sysdeps/riscv/bits/wordsize.h: Likewise.
20348 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20349 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20350 * sysdeps/riscv/dl-trampoline.S: Likewise.
20351 * sysdeps/riscv/gccframe.h: Likewise.
20352 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20353 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20354 * sysdeps/riscv/machine-gmon.h: Likewise.
20355 * sysdeps/riscv/memusage.h: Likewise.
20356 * sysdeps/riscv/setjmp.S: Likewise.
20357 * sysdeps/riscv/sys/asm.h: Likewise.
20358 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
20359 * sysdeps/riscv/dl-tls.h: New file.
20360 * sysdeps/riscv/libc-tls.c: Likewise.
20361 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20362 * sysdeps/riscv/nptl/tls.h: Likewise.
20363 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
20364 * sysdeps/riscv/bits/fenv.h: New file.
20365 * sysdeps/riscv/e_sqrtl.c: Likewise.
20366 * sysdeps/riscv/fpu_control.h: Likewise.
20367 * sysdeps/riscv/math-tests.h: Likewise.
20368 * sysdeps/riscv/nofpu/Implies: Likewise.
20369 * sysdeps/riscv/sfp-machine.h: Likewise.
20370 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
20371 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20372 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20373 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20374 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20375 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20376 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20377 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20378 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20379 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20380 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20381 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20382 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20383 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20384 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20385 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20386 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20387 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20388 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20389 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20390 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20391 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20392 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20393 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20394 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20395 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20396 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20397 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20398 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20399 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20400 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20401 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20402 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20403 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20404 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20405 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20406 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20407 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20408 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20409 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20410 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20411 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20412 * sysdeps/riscv/rvf/math_private.h: Likewise.
20413 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20414 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20415 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20416 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20417 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20418 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20419 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20420 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20421 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20422 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20423 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20424 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20425 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20426 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20427 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20428 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
20429 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20430 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20431 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20432 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
20433 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20434 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20435 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20436 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20437 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20438 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20439 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20440 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20441 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
20442 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20443 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20444 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20445 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20446 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20447 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20448 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20449 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20450 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20451 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20452 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20453 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20454 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20455 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20456 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20457 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20458 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20459 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20460 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20461 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20462 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20463 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
20464 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20465 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20466 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
20467 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20468 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20469 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20470 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20471 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20472 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20473 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20474 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20475 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20476 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20477 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20478 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20479 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20480 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
20481 * sysdeps/riscv/Implies: New file.
20482 * sysdeps/riscv/Makefile: Likewise.
20483 * sysdeps/riscv/configure: Likewise.
20484 * sysdeps/riscv/configure.ac: Likewise.
20485 * sysdeps/riscv/nptl/Makefile: Likewise.
20486 * sysdeps/riscv/preconfigure: Likewise.
20487 * sysdeps/riscv/rv64/Implies-after: Likewise.
20488 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20489 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20490 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20491 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20492 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20493 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20494 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20495 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20496 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20497 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20498 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
20499 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20500 (Config): Likewise.
532cf290 20501
cdd14619
FW
205022018-01-29 Florian Weimer <fweimer@redhat.com>
20503
20504 [BZ #22701]
20505 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20506 libnsl_hidden_proto.
20507 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20508 libnsl_hidden_proto.
20509 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20510 * nis/Makefile (libnsl-routines): Add nss-default only for
20511 build-obsolete-nsl.
20512 * nis/nis_defaults.c (__nis_default_ttl): Add
20513 libnsl_hidden_nolink_def.
20514 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20515 declaration.
20516 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20517 * nis/ypclnt.c (yp_maplist): Likewise.
20518
b7ccb5de
RN
205192018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20520
20521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20522 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20523
522623e4
JM
205242018-01-29 Joseph Myers <joseph@codesourcery.com>
20525
e3aa6999
JM
20526 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20527 clean -dxfq for git updates when replacing sources.
20528
088de7d0
JM
20529 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20530 --disable-libcilkrts unconditionally, not just for the final GCC
20531 build for Hurd.
20532
522623e4
JM
20533 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20534 version to 4.15.
20535
8b406f87
RL
205362018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20537
20538 [BZ #10871]
20539 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20540 case).
20541
105e90bd
RL
205422018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20543
20544 [BZ #10871]
20545 * localedata/locales/be_BY (mon): Rename to...
20546 (alt_mon): This, then synchronize with CLDR (nominative case).
20547 (abmon): Rename to...
20548 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20549 (mon): Import from CLDR (genitive case).
20550 (abmon): Likewise.
20551 * localedata/locales/be_BY@latin (mon): Rename to...
20552 (alt_mon): This.
20553 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20554
20555 * localedata/locales/be_BY@latin (lang_name): Reworded to
20556 "biełaruskaja mova".
20557
561cb414
RL
205582018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20559
20560 [BZ #10871]
20561 * localedata/locales/el_CY (mon): Renamed to...
20562 (alt_mon): This.
20563 (mon): Import from CLDR (genitive case).
20564 * localedata/locales/el_GR: Likewise.
20565
f7bdf30d
RL
205662018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20567
20568 [BZ #10871]
20569 * localedata/locales/ru_RU (mon): Rename to...
20570 (alt_mon): This.
20571 (abmon): Rename to...
20572 (ab_alt_mon): This.
20573 (mon): Import from CLDR (genitive case).
20574 (abmon): Copy from the old content except the 5th month which is
20575 now in the genitive case, even when abbreviated.
20576 * localedata/locales/ru_UA: Likewise.
20577 * time/tst-strptime.c (day_tests): Add an actual example of
20578 a difference between %b and %Ob in Russian.
20579
85285a0c
ST
205802018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20581
20582 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
20583 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20584 a `c' variable.
3538a4b6 20585 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
20586 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20587 <sys/wait.h>, <time.h>, <sys/uio.h>.
20588 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 20589 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
20590 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20591 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20592 return 0.
05ebfe87
ST
20593 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20594 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
20595 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20596 instead of void *.
20597 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20598 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
20599 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20600 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
20601 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20602 and make them the default for now.
903d3633
ST
20603 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20604 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
20605 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20606 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20607 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20608 MACH_IPC_COMPAT.
06fac9f5
ST
20609 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20610 __task_terminate would ever return successfully.
f8177753
ST
20611 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20612 to global scope.
41cdb1eb
ST
20613 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20614 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
20615 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20616 critical section to make code simpler and avoid warning.
20617 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20618 critical section to make code simpler and avoid warning.
844bf921
ST
20619 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20620 const char * instead of char *.
f8bee46c
ST
20621 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20622 __hurd_file_name_split, hurd_file_name_split,
20623 __hurd_directory_name_split, hurd_directory_name_split,
20624 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20625 hurd_file_name_path_lookup): Make lookup function parameter take a
20626 const char *name instead of char *name.
20627 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20628 __hurd_directory_name_split): Likewise.
20629 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20630 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
20631 * sysdeps/mach/hurd/check_native.c: New file.
20632 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
20633 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20634 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
20635 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20636 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
20637 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20638 (do_test_bz20181): Rename accordingly.
20639 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
20640 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20641 <sys/mount.h>.
28f6186f
ST
20642 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20643 version only if __USE_EXTERN_INLINES is defined.
20644 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20645 __hurd_sockfail): Likewise.
20646 (_hurd_fd_get): Always declare functions, and provide inline versions
20647 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20648 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20649 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20650 _hurd_port_set): Always declare functions, and provide inline versions
20651 only if __USE_EXTERN_INLINES and _LIBC are defined and
20652 IS_IN(libc).
20653 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20654 _hurd_critical_section_unlock): Likewise.
20655 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20656 * __hurd_threadvar_location): Likewise.
20657 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20658 _hurd_userlink_clear): Likewise.
20659 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20660 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20661 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20662 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20663 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20664 __spin_lock_locked): Likewise.
20665 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20666 __spin_lock_locked): Likewise.
20667 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20668 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20669 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20670 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20671 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
20672 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20673 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
20674 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20675 check size against PTHREAD_STACK_MIN.
625ba81e
ST
20676 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20677 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
20678 * mach/Makefile (user-interfaces): Add mach/gnumach.
20679 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20680 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
20681 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20682 instead of invalid -1.
1f89ac71
ST
20683 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20684 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20685 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20686 <net/ppp_defs.h>.
85285a0c 20687
1fd1e27c 206882018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
20689
20690 * hurd/fcntl-internal.h: New file.
20691
3854c5a8
JC
206922018-01-27 James Clarke <jrtc27@jrtc27.com>
20693
7e23a7dd
JC
20694 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20695
3854c5a8
JC
20696 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20697
5503f413
AS
206982018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20699
20700 [BZ #22701]
20701 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20702 Build only shared objects.
20703
caaf7804
CD
207042018-01-26 Carlos O'Donell <carlos@redhat.com>
20705
20706 * README: Update for hppa.
20707
1cbf818d
PM
207082018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20709
caaf7804
CD
20710 * sysdeps/sparc/fpu/libm-test-ulps: Update
20711 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 20712
caaf7804 207132018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
20714
20715 Revert:
20716
20717 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20718
20719 [BZ #22563]
20720 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20721 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20722 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20723 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20724 to feature_1.
20725
20726 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20727
20728 [BZ #22563]
20729 * bits/types/__cancel_jmp_buf_tag.h: New file.
20730 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20731 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20732 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20733 * nptl/Makefile (headers): Add
20734 bits/types/__cancel_jmp_buf_tag.h.
20735 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20736 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20737 * sysdeps/nptl/pthread.h: Include
20738 <bits/types/__cancel_jmp_buf_tag.h>.
20739 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20740 __cancel_jmp_buf.
20741 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20742
65f6c94e
RL
207432018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20744
20745 [BZ #10871]
20746 * localedata/locales/uk_UA (mon): Renamed to...
20747 (alt_mon): This.
20748 (alt_digits): "0" removed and then renamed to...
20749 (mon): This.
20750 (date_fmt): Definition changed not to use the alternative
20751 digits hack.
20752
fb58aac5
PD
207532018-01-25 Palmer Dabbelt <palmer@sifive.com>
20754
20755 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20756 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20757 * elf/elf.h (EF_RISCV_RVC): New define.
20758 (EF_RISCV_FLOAT_ABI): Likewise.
20759 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20760 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20761 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20762 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20763 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20764 define.
20765 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20766
128c43a2
AS
207672018-01-25 Andreas Schwab <schwab@suse.de>
20768
20769 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20770 single quotes.
20771 * sysdeps/gnu/configure: Regenerate.
20772 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20773 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20775 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20776 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20777 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20778 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20779 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20780
f9015003
ST
207812018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20782
48130690 20783 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 20784 URL, and run autoconf, make it the default for now.
f9015003 20785
91b2cffa
JM
207862018-01-24 Joseph Myers <joseph@codesourcery.com>
20787
3005b705
JM
20788 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20789 soft-float ColdFire configuration.
20790
69231fab
JM
20791 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20792 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20793 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20794
d4c7e1d0
JM
20795 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20796 MicroBlaze file.
20797
0cfe5be5
JM
20798 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20799 ....
20800 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20801 ... here.
20802 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20803 New file.
20804
91b2cffa
JM
20805 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20806 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20807 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20808 file.
20809
c739e191
SN
208102018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20811
20812 [BZ #22742]
20813 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20814 Rename to __reserved and add comment.
20815 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20816 Rename to __reserved.
20817
394b5bac
JM
208182018-01-24 Joseph Myers <joseph@codesourcery.com>
20819
20820 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20821 i686-gnu configurations.
20822 (Context.run_builds): Include mig, gnumach and hurd in components
20823 considered.
20824 (Context.checkout): Add mig, gnumach and hurd to components.
20825 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20826 hurd.
20827 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20828 (Config.build): Install gnumach headers, build mig and install
20829 hurd headers for 'gnu' OS.
20830 (Config.install_gnumach_headers): New function.
20831 (Config.install_hurd_headers): Likewise.
20832 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20833 when building for 'gnu' OS.
20834
28c3f14f
TK
208352018-01-23 Tobias Klauser <tklauser@distanz.ch>
20836
20837 * manual/tunables.texi (Hardware Capability Tunables): Fix
20838 spelling.
20839
0f5e2da1
RJ
208402018-01-22 Rical Jasan <ricaljasan@pacific.net>
20841
20842 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20843 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20844 (ALTMON_11, ALTMON_12): Improve documentation.
20845 * manual/time.texi (strftime): Likewise.
20846
7817b14a
RL
208472018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20848
20849 [BZ #10871]
20850 * localedata/locales/pl_PL: Alternative month names added,
20851 primary month names are genitive now.
20852 * time/tst-strptime.c (day_tests): Actually use a genitive case
20853 of a month name in Polish language.
20854
22390764
RL
208552018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20856
20857 [BZ #10871]
20858 * manual/locale.texi: Document ALTMON_1..12 constants for
20859 nl_langinfo. Specify when to use ALTMON instead of MON.
20860 * manual/time.texi (strftime, strptime): Document GNU extension
20861 permitting O modifier with %B and %b. Specify when to use
20862 %OB instead of %B.
20863
761a585c
RL
208642018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20865
20866 [BZ #10871]
20867 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20868 names, define them as the same as abbreviated month names explicitly.
20869 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20870 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20871 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20872 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20873 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20874 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20875 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20876 _NL_WABALTMON_12): New enum constants.
20877 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20878 wab_alt_mon, and ab_alt_mon_defined members.
20879 (time_output): Output ab_alt_mon and wab_alt_mon members.
20880 (time_read): Read them, initialize them as copies of abmon and wabmon
20881 respectively if they are missing, initialize ab_alt_mon_defined.
20882 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20883 * locale/programs/locfile-kw.h: Regenerate.
20884 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20885 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20886 and ru_RU.UTF-8.
20887 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20888 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20889 (__strftime_internal): Handle %Ob and %Oh formats.
20890 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20891 (__strptime_internal): Handle %Ob and %Oh formats.
20892 * time/tst-strptime.c (day_tests): Add more tests to parse different
20893 forms of month names including the new %Ob format specifier.
20894
95cb863a
RL
208952018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20896
20897 [BZ #10871]
20898 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20899 define them as the same as primary full month names explicitly.
20900 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20901 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20902 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20903 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20904 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20905 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20906 _NL_WALTMON_12): New enum constants.
20907 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20908 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20909 macros.
20910 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20911 walt_mon, and alt_mon_defined members.
20912 (time_output): Output alt_mon and walt_mon members.
20913 (time_read): Read them, initialize them as copies of mon and wmon
20914 respectively if they are missing, initialize alt_mon_defined.
20915 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20916 * locale/programs/locfile-kw.h: Regenerate.
20917 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20918 * localedata/tst-langinfo.c (map): Add tests for the new constants
20919 ALTMON_1 .. ALTMON_12.
20920 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20921 and pl_PL.UTF-8.
20922 * time/strftime_l.c (f_altmonth): New macro.
20923 (__strftime_internal): Handle %OB format.
20924 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20925 (__strptime_internal): Handle %OB format.
20926 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20927 of month names including the new %OB format specifier.
20928
4612268a
TMQMF
209292018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20930
20931 [BZ #22685]
20932 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20933 from ABORT_TRANSACTION.
20934 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20935 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20936 ABORT_TRANSACTION_IMPL): Likewise.
20937 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20938 Linux code, but remove the code that aborts transactions.
20939
64f63cb4
ST
209402018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20941
20942 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20943
32ac6e92
RL
209442018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20945
20946 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20947 in date: "2004-14-09" should be "2004-09-14".
20948 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20949 "2003-15-09" should be "2003-09-15".
20950
8e448310
AS
209512018-01-18 Arjun Shankar <arjun@redhat.com>
20952
20953 [BZ #22343]
71aa429b 20954 [BZ #22774]
4590634f 20955 CVE-2018-6485
71aa429b 20956 CVE-2018-6551
8e448310
AS
20957 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20958 after padding.
20959 (_int_memalign): check for integer overflow before calling
20960 _int_malloc.
20961 * malloc/tst-malloc-too-large.c: New test.
20962 * malloc/Makefile: Add tst-malloc-too-large.
20963
e234d7cb
RL
209642018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20965
20966 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20967 in date: "2017-24-07" should be "2017-07-24".
20968 * localedata/locales/mai_IN: Likewise.
20969 * localedata/locales/mai_NP: Likewise.
20970
48b66019
DL
209712018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20972
20973 * po/ru.po: Update translations.
20974
1eeddc58
JM
209752018-01-17 Joseph Myers <joseph@codesourcery.com>
20976
20977 [BZ #22719]
20978 * sysdeps/hppa/backtrace.c: New file.
20979
207a72e2
L
209802018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20981
20982 [BZ #22715]
20983 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20984 align La_x86_64_retval to VEC_SIZE.
20985
4942c4ea
JM
209862018-01-16 Joseph Myers <joseph@codesourcery.com>
20987
20988 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20989 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20990
10d200db
FW
209912018-01-16 Florian Weimer <fweimer@redhat.com>
20992
20993 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20994 Move tst-thread-exit-clobber ...
20995 [$(CXX)] (tests-unsupported): ... to here.
20996
953c49cc
SN
209972018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20998
20999 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21000 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21001 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21002 (_dl_aarch64_cap_flags): Update.
21003 (_DL_HWCAP_COUNT): Update.
21004
afce1991
SN
210052018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21006
21007 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21008 (_DL_HWCAP_LAST): Remove.
21009 (_DL_HWCAP_COUNT): Move to ...
21010 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21011 (_DL_HWCAP_COUNT): ... here.
21012
b725132d
FW
210132018-01-16 Florian Weimer <fweimer@redhat.com>
21014
21015 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21016 mode with GNU extensions.
21017
c9e613a7
AH
210182018-01-15 Alan Hayward <alan.hayward@arm.com>
21019
21020 * elf/elf.h (NT_ARM_SVE): Define.
21021
860b0240
FW
210222018-01-15 Florian Weimer <fweimer@redhat.com>
21023
21024 [BZ #22636]
21025 * nptl/tst-minstack-throw.cc: New file.
21026 * nptl/Makefile (tests): Add tst-minstack-throw.
21027 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21028 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21029
16d0f6ac
JM
210302018-01-15 Joseph Myers <joseph@codesourcery.com>
21031
21032 * scripts/build-many-glibcs.py (Context.checkout): Default
21033 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21034 version to 1.1.0.
21035
505d3910
CD
210362018-01-13 Carlos O'Donell <carlos@redhat.com>
21037
21038 [BZ #22707]
21039 * elf/elf.h (DF_1_STUB): Define.
21040 (DF_1_PIE): Define.
21041
af1e6be4
TMQMF
210422018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21043
21044 [BZ #22697]
21045 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21046 Do not add 0.5 to integer or out-of-range arguments.
21047
98d13ce0
DL
210482018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21049
21050 * po/bg.po: Update translations.
21051 * po/cs.po: Likewise.
21052 * po/de.po: Likewise.
21053 * po/ko.po: Likewise.
21054 * po/pl.po: Likewise.
21055 * po/sv.po: Likewise.
21056 * po/uk.po: Likewise.
21057 * po/vi.po: Likewise.
21058
3d1d7928
SN
210592018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21060
21061 * aarch64/start.S (_start): Use __wrap_main.
21062 (__wrap_main): New local symbol.
21063
52a713fd
DL
210642018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21065
21066 [BZ #22679]
21067 CVE-2018-1000001
21068 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21069 generic_getcwd if the path returned by getcwd syscall is not absolute.
21070 * io/tst-getcwd-abspath.c: New test.
21071 * io/Makefile (tests): Add tst-getcwd-abspath.
21072
249a5895
IK
210732018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21074
21075 * malloc/malloc.c (malloc_consolidate): Add size check.
21076
1a51e46e
FW
210772018-01-12 Florian Weimer <fweimer@redhat.com>
21078
21079 * support/write_message.c (write_message): Preserve errno.
21080 * support/check.c (print_failure): Likewise.
21081 * support/support_test_verify_impl.c (support_test_verify_impl):
21082 Likewise.
21083 * support/support_test_compare_failure.c
21084 (support_test_compare_failure): Likewise.
21085
9a08a366
FW
210862018-01-12 Florian Weimer <fweimer@redhat.com>
21087
21088 [BZ #22701]
21089 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21090 Prevent installation of libnsl.so.
21091 (libnsl-inhibit-o): Do not build (or install) static libraries.
21092
80647883 210932018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
21094
21095 [BZ #22657]
21096 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21097 before the day number which may produce a double space.
21098 (date_fmt): Likewise.
21099
c8924f1f
JM
211002018-01-12 Joseph Myers <joseph@codesourcery.com>
21101
21102 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21103 instead of fegetenv.
21104
da09e6fa
JM
211052018-01-11 Joseph Myers <joseph@codesourcery.com>
21106
21107 [BZ #22702]
21108 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21109 comment to say exceptions are discarded.
21110 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21111 __fegetenv.
21112 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21113 be enabled.
21114
08c6e952
FW
211152018-01-11 Florian Weimer <fweimer@redhat.com>
21116
21117 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21118 and error message.
21119
d8b77890
FW
211202018-01-11 Florian Weimer <fweimer@redhat.com>
21121
21122 [BZ #22636]
21123 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21124 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21125
b303185d
JM
211262018-01-10 Joseph Myers <joseph@codesourcery.com>
21127
21128 [BZ #22693]
21129 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21130 negative arguments in test for NaN or infinity argument.
21131
ee61d028
DL
211322018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21133
21134 * po/libc.pot: Regenerate.
21135
f993b875
FW
211362018-01-10 Florian Weimer <fweimer@redhat.com>
21137
21138 [BZ #22636]
21139 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21140 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21141
09085ede
ST
211422018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21143
21144 * hurd/hurd/fd.h: Include <fcntl.h>
21145 (__hurd_at_flags): New function.
21146 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21147 with call to __hurd_at_flags.
21148 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21149 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21150 __faccessat
21151 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21152 (__access_noerrno): Use __faccessat_common instead of access_common.
21153 (__access): Likewise.
21154 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21155 with a call to __faccessat.
21156 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21157 (__faccessat_common): ... this. Move implementation of __access into it when
21158 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21159 reauthenticate_cwdir_at helper to implement AT mechanism.
21160 (__faccessat_noerrno): New function, just calls __faccessat_common.
21161 (__faccessat): New function, just calls __faccessat_common.
21162 (faccessat): Define weak alias.
21163
12727488
JM
211642018-01-10 Joseph Myers <joseph@codesourcery.com>
21165
87faac55
JM
21166 [BZ #22691]
21167 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21168 (CFLAGS-s_fmaxmagl.c): New variable.
21169 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21170
12727488
JM
21171 [BZ #22690]
21172 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21173 long int for arguments of possibly overflowing addition or
21174 subtraction.
21175 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21176
e134ca17
JM
211772018-01-09 Joseph Myers <joseph@codesourcery.com>
21178
b2584ac2
JM
21179 [BZ #22688]
21180 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21181 (CFLAGS-e_remainderl.c): New variable.
21182
e134ca17
JM
21183 [BZ #22687]
21184 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21185 variable.
21186 (CFLAGS-s_cacoshl.c): Likewise.
21187 (CFLAGS-s_casinhl.c): Likewise.
21188 (CFLAGS-s_catanl.c): Likewise.
21189 (CFLAGS-s_catanhl.c): Likewise.
21190 (CFLAGS-s_cexpl.c): Likewise.
21191 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21192 (CFLAGS-s_csinhl.c): Likewise.
21193 (CFLAGS-s_clogl.c): Likewise.
21194 (CFLAGS-s_clog10l.c): Likewise.
21195 (CFLAGS-s_csinl.c): Likewise.
21196 (CFLAGS-s_csqrtl.c): Likewise.
21197
d31a4a48
ST
211982017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
211992017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
21200
21201 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21202 (_hurd_exec_paths): New function.
21203 * hurd/hurd.h (_hurd_exec): Deprecate function.
21204 (_hurd_exec_paths): Declare function.
21205 * hurd/Versions: Export _hurd_exec_paths.
21206 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21207 (__execve): Use __getcwd to build absolute path, and use
21208 _hurd_exec_paths instead of _hurd_exec.
21209 * sysdeps/mach/hurd/spawni.c: Likewise.
21210 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21211 _hurd_exec.
21212
d7ff3f11
DL
212132018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21214
21215 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21216 test instead of failing in case of ENOENT returned by posix_openpt.
21217
401311cf
FW
212182018-01-08 Florian Weimer <fweimer@redhat.com>
21219
21220 resolv: Support binary labels in test framework.
21221 * support/resolv_test.c (struct to_be_freed): Remove.
21222 (struct compressed_name): New.
21223 (allocate_compressed_name, ascii_tolower)
21224 (compare_compressed_name): New functions.
21225 (struct resolv_response_builder): Update type of
21226 compression_offsets for use with tsearch. Rempve to_be_freed.
21227 (response_push_pointer_to_free): Remove function.
21228 (resolv_response_add_name): Rewrite using struct compressed_name
21229 and tsearch instead of hsearch_r.
21230 (response_builder_allocate): Remove initialization of
21231 compression_offsets.
21232 (response_builder_free): Update for removal of to_be_freed. Use
21233 tdestroy instead of hdestroy_r.
21234 * resolv/Makefile (tests): Add tst-resolv-binary.
21235 (tst-resolv-binary): Link with -lresolv -lpthread.
21236
2b3aa446
FW
212372018-01-08 Florian Weimer <fweimer@redhat.com>
21238
21239 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21240 time. Pass positive flag instead of negative flag to
21241 support_test_compare_failure.
21242 (support_test_compare_failure): Change negative parameter to
21243 positive.
21244 * support/support_test_compare_failure.c (report)
21245 (support_test_compare_failure): Likewise.
21246 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21247 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21248
630f4cc3
SN
212492018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21250
21251 [BZ #22637]
21252 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21253 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21254 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21255 stacksize.
21256 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21257
c70e4e9c
L
212582018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21259
21260 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21261 Add s_sincosf-sse2 and s_sincosf-fma.
21262 (CFLAGS-s_sincosf-fma.c): New.
21263 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21264 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21265 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21266 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21267 __sincosf is defined.
21268
579396ee
FW
212692018-01-08 Florian Weimer <fweimer@redhat.com>
21270
21271 * nptl/tst-thread-exit-clobber.cc: New file.
21272 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21273 C++11 mode.
21274 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21275 (tests): Add tst-thread-exit-clobber.
21276 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21277
dabd75b6
FW
212782018-01-08 Florian Weimer <fweimer@redhat.com>
21279
21280 * support/check.h (support_static_assert): Define.
21281 (TEST_COMPARE): Use it.
21282
c2e014cc
AJ
212832018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21284
21285 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21286 [!__RLIM_T_MATCHES_RLIM64_T]
21287 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21288 __getrlimit64. Add libc_hidden_weak.
21289
31a98837
PD
212902018-01-06 Palmer Dabbelt <palmer@sifive.com>
21291
21292 * elf/elf.h (R_RISCV_NONE): New define.
21293 (R_RISCV_32): Likewise.
21294 (R_RISCV_64): Likewise.
21295 (R_RISCV_RELATIVE): Likewise.
21296 (R_RISCV_COPY): Likewise.
21297 (R_RISCV_JUMP_SLOT): Likewise.
21298 (R_RISCV_TLS_DTPMOD32): Likewise.
21299 (R_RISCV_TLS_DTPMOD64): Likewise.
21300 (R_RISCV_TLS_DTPREL32): Likewise.
21301 (R_RISCV_TLS_DTPREL64): Likewise.
21302 (R_RISCV_TLS_TPREL32): Likewise.
21303 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
21304 * Makerules (make-link-multidir): Make directories before linking into
21305 them.
150bbac1
PD
21306 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21307 define.
21308 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
21309 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21310 in subdirectories of lib.
8e13c51b
PD
21311 * nptl/Makefile (/librt.so): Always depend on
21312 "$(shared-thread-library)".
31a98837 21313
fad7d57e
ST
213142018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21315
21316 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
21317 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21318 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21319 (___tls_get_addr).
21320 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
21321 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21322 "-O2 -march=i686".
01c7e549 21323 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
21324 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21325 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21326 * sysdeps/gnu/glob-lstat-compat.c: New file.
21327 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 21328 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 21329
3a32b716
TMQMF
213302018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21331
21332 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21333 Reserve 16 chars to reloc_addr before calling _itoa_word.
21334
24731685
AJ
213352018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21336
21337 [BZ #22678]
21338 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21339 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21340
19be56d8
AJ
21341 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21342 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21343
a6d0afb5
AJ
21344 * resource/tst-getrlimit.c: Add copyright header.
21345
8e900969
AJ
213462018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21347 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21348
21349 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21350 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21351 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21352 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21353 instead.
21354 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21355 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21356 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21357 RLIM64_INFINITY): Fix values to match the kernel ones.
21358 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21359 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21360 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21361 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21362 getrlimit64@@GLIBC_2_27.
21363 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21364 and setrlimit64.
21365 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21366 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21367 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21368 setrlimit, getrlimit64 and setrlimit64.
21369
0d0bc784
AJ
213702018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21371
21372 [BZ #22648]
21373 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21374 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21375
ba374b6d
JM
213762018-01-04 Joseph Myers <joseph@codesourcery.com>
21377
21378 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21379 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21380 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21381
4854ddd8
AZ
213822018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21383
b0a4eca2
AZ
21384 [BZ #15479]
21385 [BZ #22666]
21386 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21387 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21388
4854ddd8
AZ
21389 [BZ #15479]
21390 [BZ #22665]
21391 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21392 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21393 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21394 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21395
8a5df95f
FW
213962018-01-04 Florian Weimer <fweimer@redhat.com>
21397
21398 [BZ #22667]
21399 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21400 Align the stack before calling exit.
21401 * stdlib/tst-makecontext-align.c: New file.
21402 * stdlib/Makefile (tests): Add tst-makecontext-align.
21403
82eef55f
FW
214042018-01-04 Florian Weimer <fweimer@redhat.com>
21405
21406 Add support for calling dlvsym from libc.so.
21407 * include/dlfcn.h (__libc_dlvsym): Declare.
21408 * elf/Makefile (tests-static-internal): Add
21409 tst-libc_dlvsym-static.
21410 (tests-internal): Add tst-libc_dlvsym.
21411 (modules-names): Add tst-libc_dlvsym-dso.
21412 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21413 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21414 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21415 object tst-libc_dlvsym-dso.so needs to be built before running
21416 these tests.
21417 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21418 * elf/Versions: Export __libc_dlvsym.
21419 * elf/dl-libc.c (struct do_dlvsym_args): New.
21420 (do_dlvsym, __libc_dlvsym): New functions.
21421 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21422 (_dl_open_hook2): New variable.
21423 (__libc_register_dl_open_hook): Set it.
21424 * elf/tst-libc_dlvsym-dso.c: New file.
21425 * elf/tst-libc_dlvsym-static.c: Likewise.
21426 * elf/tst-libc_dlvsym.c: Likewise.
21427 * elf/tst-libc_dlvsym.h: Likewise.
21428
1714fc06
ST
214292018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21430
21431 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21432 include <sys/mount.h>.
21433
3c7d0312
WD
214342018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21435
21436 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21437 Add __NO_MATH_ERRNO__ check.
21438
7eff0954
JM
214392018-01-02 Joseph Myers <joseph@codesourcery.com>
21440
21441 * sysdeps/mips/mips32/libm-test-ulps: Update.
21442 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21443
77f49956
FW
214442018-01-02 Florian Weimer <fweimer@redhat.com>
21445
21446 * misc/tst-pselect.c: Add copyright header.
21447
363e4519 214482018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
21449
21450 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21451 comment.
21452 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21453 comment.
21454 (settrlimit): Rename into setrlimit.
21455 (__sttrlimit): Rename into __setrlimit.
21456
3e4226ff
AJ
21457 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21458 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21459 never defined in that case.
21460
b9256ab6
JM
214612018-01-02 Joseph Myers <joseph@codesourcery.com>
21462
28fd6a44
JM
21463 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21464
a4933a15
JM
21465 * sysdeps/arm/libm-test-ulps: Update.
21466
b9256ab6
JM
21467 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21468 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21469
4cf82d23
RS
214702018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21471
21472 * NEWS: Add cosf and sincosf to list of optimized functions.
21473
6a9dd7a7
AJ
214742018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21475
21476 [BZ #22660]
21477 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21478 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21479 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21480 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21481
dbba87d5
DL
214822018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21483
b05cb613
DL
21484 [BZ #22433]
21485 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21486
dbba87d5
DL
21487 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21488 making a copy of it.
21489
688903eb
JM
214902018-01-01 Joseph Myers <joseph@codesourcery.com>
21491
66ac23de
JM
21492 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21493 trailing whitespace removed.
21494 * scripts/config.guess: Update to version 2018-01-01.
21495 * scripts/config.sub: Update to version 2018-01-01.
21496 * scripts/move-if-change: Update from gnulib.
21497
09533208
JM
21498 * NEWS: Update copyright dates.
21499 * catgets/gencat.c (print_version): Likewise.
21500 * csu/version.c (banner): Likewise.
21501 * debug/catchsegv.sh: Likewise.
21502 * debug/pcprofiledump.c (print_version): Likewise.
21503 * debug/xtrace.sh (do_version): Likewise.
21504 * elf/ldconfig.c (print_version): Likewise.
21505 * elf/ldd.bash.in: Likewise.
21506 * elf/pldd.c (print_version): Likewise.
21507 * elf/sotruss.sh: Likewise.
21508 * elf/sprof.c (print_version): Likewise.
21509 * iconv/iconv_prog.c (print_version): Likewise.
21510 * iconv/iconvconfig.c (print_version): Likewise.
21511 * locale/programs/locale.c (print_version): Likewise.
21512 * locale/programs/localedef.c (print_version): Likewise.
21513 * login/programs/pt_chown.c (print_version): Likewise.
21514 * malloc/memusage.sh (do_version): Likewise.
21515 * malloc/memusagestat.c (print_version): Likewise.
21516 * malloc/mtrace.pl: Likewise.
21517 * manual/libc.texinfo: Likewise.
21518 * nptl/version.c (banner): Likewise.
21519 * nscd/nscd.c (print_version): Likewise.
21520 * nss/getent.c (print_version): Likewise.
21521 * nss/makedb.c (print_version): Likewise.
21522 * posix/getconf.c (main): Likewise.
21523 * scripts/test-installation.pl: Likewise.
21524 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21525
688903eb
JM
21526 * All files with FSF copyright notices: Update copyright dates
21527 using scripts/update-copyrights.
21528 * locale/programs/charmap-kw.h: Regenerated.
21529 * locale/programs/locfile-kw.h: Likewise.
21530
4f820792
ZW
215312017-12-31 Zack Weinberg <zackw@panix.com>
21532
21533 * libio/bits/libio-ldbl.h: Correct check for improper
21534 inclusion. Add own multiple include guard.
21535
3e3c904d
AJ
215362017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21537 Dmitry V. Levin <ldv@altlinux.org>
21538
21539 [BZ #22625]
31f96325 21540 CVE-2017-16997
3e3c904d
AJ
21541 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21542 string token expansion. Check for NULL pointer or empty string possibly
21543 returned by expand_dynamic_string_token.
21544 (decompose_rpath): Check for empty path after dynamic string
21545 token expansion.
21546
7e21972b
DL
215472017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21548
c48831d0
DL
21549 [BZ #22433]
21550 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21551
ac583f50
DL
21552 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21553 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21554 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21555 and PTRACE_SYSCALL.
21556 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21557 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21561 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21562
7e21972b
DL
21563 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21564 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21565 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21566 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21568 bits/ptrace-shared.h.
21569 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21570 <bits/ptrace-shared.h>.
21571 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21572 __ptrace_peeksiginfo_flags, ptrace): Remove.
21573 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21576 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21577 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21578
72f29e3a
AJ
215792017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21580
21581 [BZ #17804]
21582 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21583 end of the loop. Improve comments.
21584
54e4efc2
AJ
215852017-12-29 Zack Weinberg <zackw@panix.com>
21586
21587 [BZ #22615]
21588 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21589 might be set on success.
21590
f8aa69be
AJ
215912017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21592
21593 [BZ #22611]
21594 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21595 is unchanged on success.
21596
97f13188
DL
215972017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21598
2bd86632
DL
21599 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21600 updated.
21601 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21602 expand_dynamic_string_token): Likewise.
21603 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21604 is_path argument.
21605
1c36e1e6
DL
21606 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21607 contains ':'.
21608
97f13188
DL
21609 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21610 is set and name contains ':', and all code depending on these checks.
21611
48a8f832
ZW
216122017-12-24 Zack Weinberg <zackw@panix.com>
21613
21614 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21615 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21616 respectively.
21617 * libio/libio.h: Rename the original version of this file to
21618 libio/bits/libio.h. Error out if not included by stdio.h or the
21619 stub libio.h.
21620 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21621 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21622 if not included by bits/libio.h or the stub _G_config.h.
21623 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21624 sysdeps/unix/sysv/linux/bits. Error out if not included by
21625 bits/libio.h or the stub _G_config.h.
21626 * libio/stdio.h: Include bits/libio.h, not libio.h.
21627 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21628 well as libio.h and _G_config.h.
21629
21630 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21631 * libio/strfile.h, stdio-common/vfscanf.c
21632 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21633 Include stdio.h, not _G_config.h nor libio.h.
21634 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21635 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21636
21637 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21638
a47ad79a
DL
216392017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21640
21641 [BZ #22347]
21642 * stdlib/getrandom.c (getrandom): Fix comment.
21643 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21644
363e4519 216452017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 21646
f5c558f3
AJ
21647 [BZ #21161]
21648 * manual/arith.texi (strtoul): Fix a typo.
21649
e65a5644
AJ
21650 [BZ #22596]
21651 * manual/arith.texi (finite): Fix the description of the return
21652 value.
21653
ed8ae46b
EB
216542017-12-22 Eric Blake <ebb9@byu.net>
21655
21656 Avoid gcc warnings on cygwin
21657 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21658 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21659 Avoid unused variable.
21660
bad7a0c8
FW
216612017-12-22 Florian Weimer <fweimer@redhat.com>
21662
21663 * io/Makefile (routines): Add copy_file_range.
21664 (tests): Add tst-copy_file_range.
21665 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21666 * io/Versions (GLIBC_2.27): Export copy_file_range.
21667 * io/copy_file_range-compat.c: New file.
21668 * io/copy_file_range.c: Likewise.
21669 * io/tst-copy_file_range-compat.c: Likewise.
21670 * io/tst-copy_file_range.c: Likewise.
21671 * manual/llio.texi (Copying File Data): New section.
21672 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21673 * support/Makefile (libsupport-routines): Add support-xfstat,
21674 xftruncate, xlseek.
21675 * support/support-xfstat.c: New file.
21676 * support/xftruncate.c: Likewise.
21677 * support/xlseek.c: Likewise.
21678 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21679 * sysdeps/unix/sysv/linux/**.abilist: Update.
21680 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21681
6cb86fd2
SN
216822017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21683
21684 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21685 disable-multi-arch variant to aarch64-linux-gnu.
21686
41d11b15
JM
216872017-12-20 Joseph Myers <joseph@codesourcery.com>
21688
21689 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21690 trailing whitespace removed.
21691 * scripts/config.guess: Update to version 2017-12-17.
21692 * scripts/config.sub: Update to version 2017-11-23.
21693 * scripts/install-sh: Update to version 2017-09-23.17.
21694 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21695
4735850f
AZ
216962017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21697
8d2d239c
AZ
21698 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21699 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21700 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21701 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21702 * sysdeps/tile/crtn.S: Likewise.
21703 * sysdeps/tile/dl-start.S (_start): Likewise.
21704 * sysdeps/tile/dl-trampoline.S: Likewise.
21705 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21706 * sysdeps/tile/start.S (_start): Likewise.
21707 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21708 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21709 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21710 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21711 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21712 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21713 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21714
24d1d8ec
AZ
21715 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21716 comment.
21717 * sysdeps/tile/preconfigure: Remove tilegx folder.
21718 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21719 * sysdeps/tile/Implies: ... here.
21720 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21721 * sysdeps/tile/Makefile: ... here.
21722 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21723 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21724 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21725 * sysdeps/tile/bits/wordsize.h: ... here.
21726 * sysdeps/tile/tilegx/*: Move to ...
21727 * sysdeps/tile/*: ... here.
21728 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21729 * sysdeps/tile/tilegx32/Implies: ... here.
21730 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21731 * sysdeps/tile/tilegx64/Implies: ... here.
21732 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21733 to ...
21734 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21735 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21736 * sysdeps/unix/sysv/linux/tile/*: ... here.
21737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21738 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21740 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21741
ed95f611
AZ
21742 * README: Remove tilepro-*-linux-gnu from supported architecture.
21743 * scripts/build-many-glibcs.py: Likewise.
21744 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21745 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21746 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21747 elf_machine_matches_host, elf_machine_dynamic,
21748 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21749 howto, elf_machine_rela): Likewise.
21750 * sysdeps/tile/dl-start.S (_start): Likewise.
21751 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21752 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21753 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21754 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21755 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21756 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21757 Likewise.
21758 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21759 * sysdeps/tile/preconfigure: Likewise.
21760 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21761 POINTER_CHK_GUARD): Likewise.
21762 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21763 * sysdeps/tile/start.S (_start): Likewise.
21764 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21765 Likewise.
21766 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21767 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21768 CMOVNEZ): Remove.
21769 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21770 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21771 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21772 Likewise.
21773 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21774 * sysdeps/tile/tilepro/Implies: Remove file.
21775 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21776 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21777 * sysdeps/tile/tilepro/memchr.c: Likewise.
21778 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21779 * sysdeps/tile/tilepro/memset.c: Likewise.
21780 * sysdeps/tile/tilepro/memusage.h: Likewise.
21781 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21782 * sysdeps/tile/tilepro/strchr.c: Likewise.
21783 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21784 * sysdeps/tile/tilepro/strlen.c: Likewise.
21785 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21786 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21787 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21788 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21789 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21790 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21791 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21792 Likewise.
21793 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21794 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21795 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21796 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21797 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21798 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21799 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21800 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21801 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21802 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21803 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21804 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21805 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21806 tilepro mention in comment.
21807
4735850f
AZ
21808 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21809 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21810 * nptl/pthread_join_common.c: New file: common function used on
21811 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21812 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21813 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21814 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21815 (cleanup): Move definition to pthread_join_common.c.
21816 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21817 Remove superflous checks.
21818 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21819 Likewise.
21820
8bfb461e
SN
218212017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21822
21823 * sysdeps/aarch64/libm-test-ulps: Update.
21824
4e001969
AZ
218252017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21826
21827 * sysdeps/aarch64/memset.S (MEMSET): Define.
21828
8a26ad2a
FW
218292017-12-20 Florian Weimer <fweimer@redhat.com>
21830
21831 [BZ #22635]
21832 nptl: Provide full implementation of pthread_self in libc.so.
21833 * nptl/Makefile (routines): Add pthread_self.
21834 (libpthread-routines): Replace pthread_self with
21835 compat-pthread_self.
21836 * nptl/forward.c (pthread_self): Remove.
21837 * nptl/nptl-init.c (pthread_functions): Do not initialize
21838 ptr_pthread_self.
21839 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21840 * nptl/compat-pthread_self.c: New file.
21841 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21842 Remove ptr_pthread_self.
21843
5069ff32
AR
218442017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21845
21846 * posix/regcomp.c: Fix spelling in comments.
21847 * posix/regex.h: Likewise.
21848 * posix/regex_internal.c: Likewise.
21849 * posix/regexec.c: Likewise.
21850
c85e54ac
GG
218512017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21852
21853 [BZ #22377]
21854 * math/Makefile [C++] (tests): Add test for iseqsig.
21855 * math/math.h [C++] (iseqsig): New implementation, which does
21856 not rely on __MATH_TG/__builtin_types_compatible_p.
21857 * math/test-math-iseqsig.cc: New file.
21858 * sysdeps/powerpc/powerpc64le/Makefile
21859 (CFLAGS-test-math-iseqsig.cc): New variable.
21860
10e93d96
DL
218612017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21862
21863 * elf/dl-load.c (is_trusted_path): Remove.
21864 (fillin_rpath): Remove check_trusted argument and its use,
21865 all callers changed.
21866
ce16eb52
L
218672017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21868
21869 [BZ #22630]
21870 * Makeconfig (link-pie-before-libc): Replace -pie with
21871 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21872 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21873 (tst-dlopen-aout-no-pie): New.
21874 (LDFLAGS-tst-prelink): Removed.
21875 (tst-prelink-no-pie): New.
21876 (LDFLAGS-tst-main1): Removed.
21877 (tst-main1-no-pie): New.
21878 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21879 (tst-gmon-no-pie): New.
21880
126adc89
L
218812017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21882
21883 * manual/install.texi: Document that --enable-static-pie
21884 implies PIE.
21885 * INSTALL: Regenerated.
21886
648615e1
BE
218872017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21888
21889 [BZ #21309]
21890 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21891 unsigned.
21892
f1e00502
JM
218932017-12-19 Joseph Myers <joseph@codesourcery.com>
21894
21895 Revert:
21896
21897 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21898
21899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21900
21901 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21902
21903 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21904 <errno.h>. Include "eexp.tbl".
21905 (half): New constant.
21906 (one): Likewise.
21907 (__ieee754_exp): Rewrite.
21908 (__slowexp): Remove prototype.
21909 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21910 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21911 * sysdeps/i386/fpu/slowexp.c: Likewise.
21912 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21913 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21914 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21917 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21918 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21919 comment.
21920 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21921 (CPPFLAGS-slowexp.c): Remove variable.
21922 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21923 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21924 (CFLAGS-slowexp-fma.c): Remove variable.
21925 (CFLAGS-slowexp-fma4.c): Likewise.
21926 (CFLAGS-slowexp-avx.c): Likewise.
21927 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21928 define as macro.
21929 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21930 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21931 * math/Makefile (type-double-routines): Remove slowexp.
21932 * manual/probes.texi (slowexp_p6): Remove.
21933 (slowexp_p32): Likewise.
21934
d711a00f
AZ
219352017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21936
e184ac3a
AZ
21937 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21938 arithmetic.
21939
d711a00f
AZ
21940 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21941
6f58c10d
JM
219422017-12-19 Joseph Myers <joseph@codesourcery.com>
21943
21944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21945
6fd0a3c6
PM
219462017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21947
21948 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21949 <errno.h>. Include "eexp.tbl".
21950 (half): New constant.
21951 (one): Likewise.
21952 (__ieee754_exp): Rewrite.
21953 (__slowexp): Remove prototype.
21954 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21955 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21956 * sysdeps/i386/fpu/slowexp.c: Likewise.
21957 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21958 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21959 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21960 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21961 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21962 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21963 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21964 comment.
21965 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21966 (CPPFLAGS-slowexp.c): Remove variable.
21967 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21968 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21969 (CFLAGS-slowexp-fma.c): Remove variable.
21970 (CFLAGS-slowexp-fma4.c): Likewise.
21971 (CFLAGS-slowexp-avx.c): Likewise.
21972 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21973 define as macro.
21974 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21975 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21976 * math/Makefile (type-double-routines): Remove slowexp.
21977 * manual/probes.texi (slowexp_p6): Remove.
21978 (slowexp_p32): Likewise.
21979
3bb1ef58 219802017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 21981 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
21982
21983 [BZ #22603]
21984 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21985 addition.
21986
554e3d51
AZ
219872017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21988
21989 [BZ #22605]
21990 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21991 code.
21992
cba595c3
L
219932017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 [BZ #22563]
21996 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21997 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21998 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21999 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22000 to feature_1.
22001
f81ddabf
L
220022017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 [BZ #22563]
22005 * bits/types/__cancel_jmp_buf_tag.h: New file.
22006 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22007 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22008 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22009 * nptl/Makefile (headers): Add
22010 bits/types/__cancel_jmp_buf_tag.h.
22011 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22012 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22013 * sysdeps/nptl/pthread.h: Include
22014 <bits/types/__cancel_jmp_buf_tag.h>.
22015 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22016 __cancel_jmp_buf.
22017 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22018
1a49fc59
L
220192017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22020
22021 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22022 --enable-static-pie variants to x86_64, x32 and i686.
22023
8e52f573
JM
220242017-12-19 Joseph Myers <joseph@codesourcery.com>
22025
66425185
JM
22026 [BZ #22631]
22027 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22028 argument for attrubutes. All callers changed.
22029 (__inline_mathop1): Likewise. All callers changed.
22030 (__inline_mathop): Likewise. All callers changed.
22031 [__USE_MISC] (scalbn): Use __inline_forward instead of
22032 __inline_forward_c.
22033 [__USE_ISOC99] (scalbln): Likewise.
22034 [__USE_ISOC99] (nearbyint): Likewise.
22035 [__USE_ISOC99] (lrint): Likewise.
22036 [__USE_MISC] (scalbnf): Likewise.
22037 [__USE_ISOC99] (scalblnf): Likewise.
22038 [__USE_ISOC99] (nearbyintf): Likewise.
22039 [__USE_ISOC99] (lrintf): Likewise.
22040 [__USE_MISC] (scalbnl): Likewise.
22041 [__USE_ISOC99] (scalblnl): Likewise.
22042 [__USE_ISOC99] (nearbyintl): Likewise.
22043 [__USE_ISOC99] (lrintl): Likewise.
22044 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22045 __inline_mathop and __m81_defun changed.
22046
8e52f573
JM
22047 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22048 CPU or FPU for ARM hard-float configurations.
22049
1421f39b
JM
220502017-12-18 Joseph Myers <joseph@codesourcery.com>
22051
40c4162d
JM
22052 * nptl/tst-attr3.c: Include <libc-diag.h>.
22053 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22054
5983df32
JM
22055 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22056
1421f39b
JM
22057 * string/tester.c (test_strncat): Also disable -Warray-bounds
22058 warnings for two tests.
22059
00c714df
L
220602017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22061
22062 [BZ #22614]
22063 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22064 $(cc-pie-default) == yes.
22065 * config.make.in (cc-pie-default): New.
22066 * configure.ac (libc_cv_pie_default): Renamed to ...
22067 (libc_cv_cc_pie_default): This.
22068 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22069 * configure: Regenerated.
22070
8e1472d2
FW
220712017-12-18 Florian Weimer <fweimer@redhat.com>
22072
22073 [BZ #20204]
22074 ld.so: Harden dl-libc/libdl hooks.
22075 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22076 (rtld_active): New function.
22077 * dlfcn/dladdr.c (__dladdr): Call it.
22078 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22079 * dlfcn/dlclose.c (__dlcose): Likewise.
22080 * dlfcn/dlerror.c (__dlerror): Likewise.
22081 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22082 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22083 * dlfcn/dlopen.c (__dlopen): Likewise.
22084 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22085 * dlfcn/dlsym.c (__dlsym): Likewise.
22086 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22087 * libio/vtables.c (_IO_vtable_check): Likewise.
22088 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22089 (__libc_dlclose): Likewise.
22090 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22091 assignment.
22092
49b036bc
JM
220932017-12-18 Joseph Myers <joseph@codesourcery.com>
22094
22095 [BZ #22446]
22096 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22097 buffers for readlink input and output.
22098
368b6c8d
ST
220992017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22100
c85c564d
ST
22101 [BZ #22624]
22102 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22103 inhibit_stack_protector.
22104
368b6c8d
ST
22105 [BZ #22624]
22106 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22107 inhibit_stack_protector.
22108
bb195224
DL
221092017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22110
22111 [BZ #22627]
22112 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22113 code and invocation.
22114
14d886ed
SN
221152017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22116
22117 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22118
7d38eb38
AJ
221192017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22120
22121 [BZ #22505]
22122 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22123
2e77deef
RS
221242017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22125
22126 * sysdeps/s390/fpu/libm-test-ulps: Update.
22127
0b9bef6d
RS
221282017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22129
22130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22131
984ae996
RS
221322017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22133
22134 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22135 constants to s_sincosf.h file.
22136 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22137 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22138 implementation.
22139 * sysdeps/ieee754/flt-32/s_sincosf.h:
22140 New file.
22141
363e4519 221422017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
22143
22144 [BZ #14681]
22145 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22146 before mtrace.
22147
9d7a3741
L
221482017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 [BZ #19574]
22151 * INSTALL: Regenerated.
22152 * Makeconfig (real-static-start-installed-name): New.
22153 (pic-default): Updated for --enable-static-pie.
22154 (pie-default): New for --enable-static-pie.
22155 (default-pie-ldflag): Likewise.
22156 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22157 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22158 Replace $(static-start-installed-name) with
22159 $(real-static-start-installed-name).
22160 (+prectorT): Updated for --enable-static-pie.
22161 (+postctorT): Likewise.
22162 (CFLAGS-.o): Add $(pie-default).
22163 (CFLAGS-.op): Likewise.
22164 * NEWS: Mention --enable-static-pie.
22165 * config.h.in (ENABLE_STATIC_PIE): New.
22166 * configure.ac (--enable-static-pie): New configure option.
22167 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22168 (have-static-pie): Likewise.
22169 Enable static PIE if linker supports --no-dynamic-linker.
22170 (ENABLE_STATIC_PIE): New AC_DEFINE.
22171 (enable-static-pie): New LIBC_CONFIG_VAR.
22172 * configure: Regenerated.
22173 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22174 gr$(start-installed-name) for --enable-static-pie.
22175 (extra-objs): Likewise.
22176 (install-lib): Likewise.
22177 (extra-objs): Add static-reloc.o and static-reloc.os
22178 ($(objpfx)$(start-installed-name)): Also depend on
22179 $(objpfx)static-reloc.o.
22180 ($(objpfx)r$(start-installed-name)): New.
22181 ($(objpfx)g$(start-installed-name)): Also depend on
22182 $(objpfx)static-reloc.os.
22183 ($(objpfx)gr$(start-installed-name)): New.
22184 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22185 in libc.a.
22186 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22187 initimage.
22188 * csu/static-reloc.c: New file.
22189 * elf/Makefile (routines): Add dl-reloc-static-pie.
22190 (elide-routines.os): Likewise.
22191 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22192 (tst-tls1-static-non-pie-no-pie): New.
22193 * elf/dl-reloc-static-pie.c: New file.
22194 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22195 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22196 STATIC_PIE_BOOTSTRAP.
22197 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22198 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22199 (tests-static): Likewise.
22200 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22201 (tst-gmon-static-no-pie): New.
22202 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22203 (CRT-tst-gmon-static-pie): Likewise.
22204 (tst-gmon-static-pie-ENV): Likewise.
22205 (tests-special): Likewise.
22206 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22207 (clean-tst-gmon-static-pie-data): Likewise.
22208 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22209 * gmon/tst-gmon-static-pie.c: New file.
22210 * manual/install.texi: Document --enable-static-pie.
22211 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22212 (_dl_get_dl_main_map): Likewise.
22213 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22214 * sysdeps/x86_64/configure.ac: Likewise.
22215 * sysdeps/i386/configure: Regenerated.
22216 * sysdeps/x86_64/configure: Likewise.
22217 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22218 (ASFLAGS-.op): Likewise.
22219
95511aab
JM
222202017-12-15 Joseph Myers <joseph@codesourcery.com>
22221
22222 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22223 * posix/tst-mmap-offset.c (fname): Use /tmp.
22224 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22225
a7e3edf4
SE
222262017-12-15 Steve Ellcey <sellcey@cavium.com>
22227
22228 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22229
d232f2e1
TS
222302017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22231
22232 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22233 errno.
22234
174edbde
JM
222352017-12-15 Joseph Myers <joseph@codesourcery.com>
22236
5170fa49
JM
22237 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22238 --with-float=hard for arm-linux-gnueabihf configurations.
22239
f2da2fd8
JM
22240 [BZ #14121]
22241 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22242 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22243 ($(mo-installed)): Use $(objpfx)%.mo.
22244 (realclean): Remove rule.
22245
0c4fe28d
JM
22246 * po/Makefile (linguas): Remove rule and dependencies.
22247 (linguas.mo): Likewise.
22248 (.PHONY): Do not depend on linguas and linguas.mo.
22249 (podir): Remove variable.
22250 (pofiles): Likewise.
22251 [$(pofiles)] (%.po): Remove rule.
22252
174edbde
JM
22253 * sysdeps/sparc/sparc32/Makefile
22254 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22255 start-of-line whitespace in argument of echo.
22256 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22257 with whitespace. Generate __wrap_.udiv alias.
22258 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22259 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22260 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22261 * sysdeps/sparc/sparc32/urem.S: Likewise.
22262
1e36806f
RS
222632017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22264
22265 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22266 for aligned inputs.
22267
aa6932aa
SP
222682017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22269
5f1603c3
SP
22270 * benchtests/bench-strcmp.c: Print output in JSON format.
22271
aa6932aa
SP
22272 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22273
3ff3dfa5
FW
222742017-12-14 Florian Weimer <fweimer@redhat.com>
22275
22276 [BZ #22607]
22277 CVE-2017-1000409
22278 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22279 the expanded path string.
22280
8a0b17e4
FW
222812017-12-14 Florian Weimer <fweimer@redhat.com>
22282
22283 [BZ #22606]
22284 CVE-2017-1000408
22285 * elf/dl-load.c (system_dirs): Update comment.
22286 (nsystem_dirs_len): Use array_length.
22287 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22288
f58bd7f0
FW
222892017-12-14 Florian Weimer <fweimer@redhat.com>
22290
22291 Simplify compiling most of support/ outside of glibc.
22292 * support/check_addrinfo.c: Include <string.h>.
22293 * support/check_dns_packet.c: Likewise.
22294 * support/check_hostent.c: Likewise.
22295 * support/support_can_chroot.c: Include <support/xunistd.h>.
22296 * support/support_format_addrinfo.c: Include <stdlib.h>
22297 * support/support_format_dns_packet.c: Include <stdbool.h>.
22298 * support/support_format_hostent.c: Include <stdlib.h>.
22299 * support/support_format_netent.c: Likewise.
22300 * support/support_write_string.c: Include <support/xunistd.h>.
22301 * support/xdlfcn.c: Include <stddef.h>.
22302
4ca945e9
L
223032017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22304
22305 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22306
1b6e07f8
PM
223072017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22308 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22309
e6a1c5dc
PM
22310 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22311 (sysdeps_routines): Add memset-niagara7.
22312 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22313 Likewise.
22314 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22315 file.
22316 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22317 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22318 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22319 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22320 Add niagara7 option.
22321 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22322 memset.
22323
1b6e07f8
PM
22324 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22325 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22326 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22327 Likewise.
22328 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22329 New file.
22330 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22331 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22332 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22333 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22334 and __memmove_niagara7.
22335 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22336 Add niagara7 option.
22337 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22338 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22339 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22340 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22341 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22342
bfb7bf22
JM
223432017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22344
767a26d6
JM
22345 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22346 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22347 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22348 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22349
bfb7bf22
JM
22350 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22351 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22352 _dl_sparc_cap_flags array.
22353 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22354
2bce01eb
SP
223552017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22356
22357 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22358 time whenever possible.
22359
363e4519 223602017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
22361
22362 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22363 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22364
6f7c0092
JM
223652017-12-12 Joseph Myers <joseph@codesourcery.com>
22366
22367 * soft-fp/fmadf4.c: Move to ....
22368 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22369 * soft-fp/fmasf4.c: Move to ....
22370 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22371 * soft-fp/fmatf4.c: Move to ....
22372 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22373 * sysdeps/ieee754/soft-fp/Makefile: New file.
22374 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22375 * sysdeps/arm/preconfigure: Regenerated.
22376 * sysdeps/arm/nofpu/Implies: New file.
22377 * sysdeps/arm/s_fma.c: Remove file.
22378 * sysdeps/arm/s_fmaf.c: Likewise.
22379 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22380 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22381 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22382 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22383 * sysdeps/microblaze/s_fma.c: Remove file.
22384 * sysdeps/microblaze/s_fmaf.c: Likewise.
22385 * sysdeps/mips/mips32/nofpu/Implies: New file.
22386 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22387 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22388 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22389 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22390 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22391 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22392 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22393 implementation.
22394 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22395 * sysdeps/nios2/s_fma.c: Remove file.
22396 * sysdeps/nios2/s_fmaf.c: Likewise.
22397 * sysdeps/sh/nofpu/Implies: New file.
22398 * sysdeps/sh/s_fma.c: Remove file.
22399 * sysdeps/sh/s_fmaf.c: Likewise.
22400 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22401 * sysdeps/tile/s_fma.c: Remove file.
22402 * sysdeps/tile/s_fmaf.c: Likewise.
22403
ac817e08
L
224042017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22405
22406 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22407 Add s_cosf-sse2 and s_cosf-fma.
22408 (CFLAGS-s_cosf-fma.c): New.
22409 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22410 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22411 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22412
eb428576
SE
224132017-12-12 Steve Ellcey <sellcey@cavium.com>
22414
22415 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22416
c80acdc3
AZ
224172017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22418
cc683f7e
AZ
22419 * libio/Makefile (tests): Add tst-bz22415.
22420 (tst-bz22415-ENV): New rule.
22421 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22422 (tests-special): Add tst-bz22415-mem.out.
22423 ($(objpfx)tst-bz22415-mem.out): New rule.
22424 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22425 in case of a successful seek operation.
22426 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22427 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22428 buffer is required.
22429 * libio/tst-bz22415.c: New test.
22430
c80acdc3
AZ
22431 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22432
363e4519 224332017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
22434
22435 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22436 __IPC_64 to 0 to avoid IPC_64 being set.
22437
4e0dca54
SN
224382017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22439
22440 [BZ #22593]
22441 * math/bits/mathcalls.h (nextafter): Remove const.
22442 (nexttoward): Likewise.
22443
8df5d347
JM
224442017-12-12 Joseph Myers <joseph@codesourcery.com>
22445
22446 * configure.ac (--with-fp): Remove configure option.
22447 (with_fp_cond): New variable.
22448 (libc_cv_with_fp): New configure test. Use this variable instead
22449 of with_fp.
22450 * configure: Regenerated.
22451 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22452 * manual/install.texi (Configuring and compiling): Remove
22453 --without-fp.
22454 * INSTALL: Regenerated.
22455 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22456 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22457 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22458 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22459 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22460 use --without-fp to configure glibc.
22461
0cee1257
RJ
224622017-12-12 Rical Jasan <ricaljasan@pacific.net>
22463
22464 * manual/locale.texi (nl_langinfo): Fix a typo.
22465
363e4519 224662017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
22467
22468 [BZ #22588]
22469 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22470
36975e8e
L
224712017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22472
22473 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22474 (CFLAGS-argp-parse.c): Likewise.
22475 (CFLAGS-argp-fmtstream.c): Likewise.
22476 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22477 (CPPFLAGS-sha512-crypt.c): Likewise.
22478 (CPPFLAGS-md5-crypt.c): Likewise.
22479 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22480 (CFLAGS-stack_chk_fail_local.c): Likewise.
22481 (CFLAGS-backtrace.c): Likewise.
22482 (CFLAGS-sprintf_chk.c): Likewise.
22483 (CFLAGS-snprintf_chk.c): Likewise.
22484 (CFLAGS-vsprintf_chk.c): Likewise.
22485 (CFLAGS-vsnprintf_chk.c): Likewise.
22486 (CFLAGS-asprintf_chk.c): Likewise.
22487 (CFLAGS-vasprintf_chk.c): Likewise.
22488 (CFLAGS-obprintf_chk.c): Likewise.
22489 (CFLAGS-dprintf_chk.c): Likewise.
22490 (CFLAGS-vdprintf_chk.c): Likewise.
22491 (CFLAGS-printf_chk.c): Likewise.
22492 (CFLAGS-fprintf_chk.c): Likewise.
22493 (CFLAGS-vprintf_chk.c): Likewise.
22494 (CFLAGS-vfprintf_chk.c): Likewise.
22495 (CFLAGS-gets_chk.c): Likewise.
22496 (CFLAGS-fgets_chk.c): Likewise.
22497 (CFLAGS-fgets_u_chk.c): Likewise.
22498 (CFLAGS-fread_chk.c): Likewise.
22499 (CFLAGS-fread_u_chk.c): Likewise.
22500 (CFLAGS-swprintf_chk.c): Likewise.
22501 (CFLAGS-vswprintf_chk.c): Likewise.
22502 (CFLAGS-wprintf_chk.c): Likewise.
22503 (CFLAGS-fwprintf_chk.c): Likewise.
22504 (CFLAGS-vwprintf_chk.c): Likewise.
22505 (CFLAGS-vfwprintf_chk.c): Likewise.
22506 (CFLAGS-fgetws_chk.c): Likewise.
22507 (CFLAGS-fgetws_u_chk.c): Likewise.
22508 (CFLAGS-read_chk.c): Likewise.
22509 (CFLAGS-pread_chk.c): Likewise.
22510 (CFLAGS-pread64_chk.c): Likewise.
22511 (CFLAGS-recv_chk.c): Likewise.
22512 (CFLAGS-recvfrom_chk.c): Likewise.
22513 (CFLAGS-tst-longjmp_chk.c): Likewise.
22514 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22515 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22516 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22517 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22518 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22519 (CFLAGS-tst-chk1.c): Likewise.
22520 (CFLAGS-tst-chk2.c): Likewise.
22521 (CFLAGS-tst-chk3.c): Likewise.
22522 (CFLAGS-tst-chk4.cc): Likewise.
22523 (CFLAGS-tst-chk5.cc): Likewise.
22524 (CFLAGS-tst-chk6.cc): Likewise.
22525 (CFLAGS-tst-lfschk1.c): Likewise.
22526 (CFLAGS-tst-lfschk2.c): Likewise.
22527 (CFLAGS-tst-lfschk3.c): Likewise.
22528 (CFLAGS-tst-lfschk4.cc): Likewise.
22529 (CFLAGS-tst-lfschk5.cc): Likewise.
22530 (CFLAGS-tst-lfschk6.cc): Likewise.
22531 (CFLAGS-tst-ssp-1.c): Likewise.
22532 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22533 (CFLAGS-scandir64.c): Likewise.
22534 (CFLAGS-scandir-tail.c): Likewise.
22535 (CFLAGS-scandir64-tail.c): Likewise.
22536 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22537 (CFLAGS-dl-tunables.c): Likewise.
22538 (CFLAGS-dl-runtime.c): Likewise.
22539 (CFLAGS-dl-lookup.c): Likewise.
22540 (CFLAGS-dl-iterate-phdr.c): Likewise.
22541 (CFLAGS-vismain.c): Likewise.
22542 (CFLAGS-tst-linkall-static.c): Likewise.
22543 (CFLAGS-tst-linkall-static.c): Likewise.
22544 (CPPFLAGS-dl-load.c): Likewise.
22545 (CFLAGS-ldconfig.c): Likewise.
22546 (CFLAGS-dl-cache.c): Likewise.
22547 (CFLAGS-cache.c): Likewise.
22548 (CFLAGS-rtld.c): Likewise.
22549 (CFLAGS-multiload.c): Likewise.
22550 (CFLAGS-filtmod1.c): Likewise.
22551 (CFLAGS-tst-align.c): Likewise.
22552 (CFLAGS-tst-align2.c): Likewise.
22553 (CFLAGS-tst-alignmod.c): Likewise.
22554 (CFLAGS-tst-alignmod2.c): Likewise.
22555 (CPPFLAGS-tst-execstack.c): Likewise.
22556 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22557 (CFLAGS-tst-latepthreadmod.c): Likewise.
22558 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22559 (CFLAGS-getgrnam_r.c): Likewise.
22560 (CFLAGS-getgrent_r.c): Likewise.
22561 (CFLAGS-getgrent.c): Likewise.
22562 (CFLAGS-fgetgrent.c): Likewise.
22563 (CFLAGS-fgetgrent_r.c): Likewise.
22564 (CFLAGS-putgrent.c): Likewise.
22565 (CFLAGS-initgroups.c): Likewise.
22566 (CFLAGS-getgrgid.c): Likewise.
22567 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22568 (CFLAGS-getsgent.c): Likewise.
22569 (CFLAGS-fgetsgent.c): Likewise.
22570 (CFLAGS-fgetsgent_r.c): Likewise.
22571 (CFLAGS-putsgent.c): Likewise.
22572 (CFLAGS-getsgnam.c): Likewise.
22573 (CFLAGS-getsgnam_r.c): Likewise.
22574 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22575 (CFLAGS-iconv_charmap.c): Likewise.
22576 (CFLAGS-dummy-repertoire.c): Likewise.
22577 (CFLAGS-charmap.c): Likewise.
22578 (CFLAGS-linereader.c): Likewise.
22579 (CFLAGS-simple-hash.c): Likewise.
22580 (CFLAGS-gconv_conf.c): Likewise.
22581 (CFLAGS-iconvconfig.c): Likewise.
22582 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22583 (CFLAGS-gethstbyad.c): Likewise.
22584 (CFLAGS-gethstbynm_r.c): Likewise.
22585 (CFLAGS-gethstbynm.c): Likewise.
22586 (CFLAGS-gethstbynm2_r.c): Likewise.
22587 (CFLAGS-gethstbynm2.c): Likewise.
22588 (CFLAGS-gethstent_r.c): Likewise.
22589 (CFLAGS-gethstent.c): Likewise.
22590 (CFLAGS-rcmd.c): Likewise.
22591 (CFLAGS-getnetbynm_r.c): Likewise.
22592 (CFLAGS-getnetbynm.c): Likewise.
22593 (CFLAGS-getnetbyad_r.c): Likewise.
22594 (CFLAGS-getnetbyad.c): Likewise.
22595 (CFLAGS-getnetent_r.c): Likewise.
22596 (CFLAGS-getnetent.c): Likewise.
22597 (CFLAGS-getaliasent_r.c): Likewise.
22598 (CFLAGS-getaliasent.c): Likewise.
22599 (CFLAGS-getrpcent_r.c): Likewise.
22600 (CFLAGS-getrpcent.c): Likewise.
22601 (CFLAGS-getservent_r.c): Likewise.
22602 (CFLAGS-getservent.c): Likewise.
22603 (CFLAGS-getprtent_r.c): Likewise.
22604 (CFLAGS-getprtent.c): Likewise.
22605 (CFLAGS-either_ntoh.c): Likewise.
22606 (CFLAGS-either_hton.c): Likewise.
22607 (CFLAGS-getnetgrent.c): Likewise.
22608 (CFLAGS-getnetgrent_r.c): Likewise.
22609 (CFLAGS-tst-checks-posix.c): Likewise.
22610 (CFLAGS-tst-sockaddr.c): Likewise.
22611 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22612 (CFLAGS-tst-translit.c): Likewise.
22613 (CFLAGS-tst-gettext2.c): Likewise.
22614 (CFLAGS-tst-codeset.c): Likewise.
22615 (CFLAGS-tst-gettext3.c): Likewise.
22616 (CFLAGS-tst-gettext4.c): Likewise.
22617 (CFLAGS-tst-gettext5.c): Likewise.
22618 (CFLAGS-tst-gettext6.c): Likewise.
22619 * io/Makefile (CFLAGS-open.c): Likewise.
22620 (CFLAGS-open64.c): Likewise.
22621 (CFLAGS-creat.c): Likewise.
22622 (CFLAGS-creat64.c): Likewise.
22623 (CFLAGS-fcntl.c): Likewise.
22624 (CFLAGS-poll.c): Likewise.
22625 (CFLAGS-ppoll.c): Likewise.
22626 (CFLAGS-lockf.c): Likewise.
22627 (CFLAGS-statfs.c): Likewise.
22628 (CFLAGS-fstatfs.c): Likewise.
22629 (CFLAGS-statvfs.c): Likewise.
22630 (CFLAGS-fstatvfs.c): Likewise.
22631 (CFLAGS-fts.c): Likewise.
22632 (CFLAGS-fts64.c): Likewise.
22633 (CFLAGS-ftw.c): Likewise.
22634 (CFLAGS-ftw64.c): Likewise.
22635 (CFLAGS-lockf.c): Likewise.
22636 (CFLAGS-posix_fallocate.c): Likewise.
22637 (CFLAGS-posix_fallocate64.c): Likewise.
22638 (CFLAGS-fallocate.c): Likewise.
22639 (CFLAGS-fallocate64.c): Likewise.
22640 (CFLAGS-read.c): Likewise.
22641 (CFLAGS-write.c): Likewise.
22642 (CFLAGS-test-stat.c): Likewise.
22643 (CFLAGS-test-lfs.c): Likewise.
22644 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22645 (CFLAGS-fputc.c): Likewise.
22646 (CFLAGS-fputwc.c): Likewise.
22647 (CFLAGS-freopen64.c): Likewise.
22648 (CFLAGS-freopen.c): Likewise.
22649 (CFLAGS-fseek.c): Likewise.
22650 (CFLAGS-fseeko64.c): Likewise.
22651 (CFLAGS-fseeko.c): Likewise.
22652 (CFLAGS-ftello64.c): Likewise.
22653 (CFLAGS-ftello.c): Likewise.
22654 (CFLAGS-fwide.c): Likewise.
22655 (CFLAGS-genops.c): Likewise.
22656 (CFLAGS-getc.c): Likewise.
22657 (CFLAGS-getchar.c): Likewise.
22658 (CFLAGS-getwc.c): Likewise.
22659 (CFLAGS-getwchar.c): Likewise.
22660 (CFLAGS-iofclose.c): Likewise.
22661 (CFLAGS-iofflush.c): Likewise.
22662 (CFLAGS-iofgetpos64.c): Likewise.
22663 (CFLAGS-iofgetpos.c): Likewise.
22664 (CFLAGS-iofgets.c): Likewise.
22665 (CFLAGS-iofgetws.c): Likewise.
22666 (CFLAGS-iofputs.c): Likewise.
22667 (CFLAGS-iofputws.c): Likewise.
22668 (CFLAGS-iofread.c): Likewise.
22669 (CFLAGS-iofsetpos64.c): Likewise.
22670 (CFLAGS-iofsetpos.c): Likewise.
22671 (CFLAGS-ioftell.c): Likewise.
22672 (CFLAGS-iofwrite.c): Likewise.
22673 (CFLAGS-iogetdelim.c): Likewise.
22674 (CFLAGS-iogetline.c): Likewise.
22675 (CFLAGS-iogets.c): Likewise.
22676 (CFLAGS-iogetwline.c): Likewise.
22677 (CFLAGS-ioputs.c): Likewise.
22678 (CFLAGS-ioseekoff.c): Likewise.
22679 (CFLAGS-ioseekpos.c): Likewise.
22680 (CFLAGS-iosetbuffer.c): Likewise.
22681 (CFLAGS-iosetvbuf.c): Likewise.
22682 (CFLAGS-ioungetc.c): Likewise.
22683 (CFLAGS-ioungetwc.c): Likewise.
22684 (CFLAGS-oldfileops.c): Likewise.
22685 (CFLAGS-oldiofclose.c): Likewise.
22686 (CFLAGS-oldiofgetpos64.c): Likewise.
22687 (CFLAGS-oldiofgetpos.c): Likewise.
22688 (CFLAGS-oldiofsetpos64.c): Likewise.
22689 (CFLAGS-oldiofsetpos.c): Likewise.
22690 (CFLAGS-peekc.c): Likewise.
22691 (CFLAGS-putc.c): Likewise.
22692 (CFLAGS-putchar.c): Likewise.
22693 (CFLAGS-putwc.c): Likewise.
22694 (CFLAGS-putwchar.c): Likewise.
22695 (CFLAGS-rewind.c): Likewise.
22696 (CFLAGS-wfileops.c): Likewise.
22697 (CFLAGS-wgenops.c): Likewise.
22698 (CFLAGS-oldiofopen.c): Likewise.
22699 (CFLAGS-iofopen.c): Likewise.
22700 (CFLAGS-iofopen64.c): Likewise.
22701 (CFLAGS-oldtmpfile.c): Likewise.
22702 (CFLAGS-tst_putwc.c): Likewise.
22703 * locale/Makefile (CFLAGS-md5.c): Likewise.
22704 (CFLAGS-charmap.c): Likewise.
22705 (CFLAGS-locfile.c): Likewise.
22706 (CFLAGS-charmap-dir.c): Likewise.
22707 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22708 (CFLAGS-getpt.c): Likewise.
22709 (CFLAGS-pt_chown.c): Likewise.
22710 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22711 (CFLAGS-obstack.c): Likewise.
22712 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22713 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22714 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22715 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22716 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22717 (CFLAGS-test-tgmath.c): Likewise.
22718 (CFLAGS-test-tgmath2.c): Likewise.
22719 (CFLAGS-test-tgmath-ret.c): Likewise.
22720 (CFLAGS-test-powl.c): Likewise.
22721 (CFLAGS-test-snan.c): Likewise.
22722 (CFLAGS-test-signgam-finite.c): Likewise.
22723 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22724 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22725 (CFLAGS-test-signgam-uchar.c): Likewise.
22726 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22727 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22728 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22729 (CFLAGS-test-signgam-uint.c): Likewise.
22730 (CFLAGS-test-signgam-uint-init.c): Likewise.
22731 (CFLAGS-test-signgam-uint-static.c): Likewise.
22732 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22733 (CFLAGS-test-signgam-ullong.c): Likewise.
22734 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22735 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22736 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22737 (CFLAGS-test-math-cxx11.cc): Likewise.
22738 (CFLAGS-test-math-isinff.cc): Likewise.
22739 (CFLAGS-test-math-iszero.cc): Likewise.
22740 (CFLAGS-test-math-issignaling.cc): Likewise.
22741 (CFLAGS-test-math-iscanonical.cc): Likewise.
22742 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22743 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22744 (CFLAGS-test-flt-eval-method.c): Likewise.
22745 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22746 (CFLAGS-test-finite-macros.c): Likewise.
22747 * misc/Makefile (CFLAGS-select.c): Likewise.
22748 (CFLAGS-tsearch.c): Likewise.
22749 (CFLAGS-lsearch.c): Likewise.
22750 (CFLAGS-pselect.c): Likewise.
22751 (CFLAGS-readv.c): Likewise.
22752 (CFLAGS-writev.c): Likewise.
22753 (CFLAGS-preadv.c): Likewise.
22754 (CFLAGS-preadv64.c): Likewise.
22755 (CFLAGS-pwritev.c): Likewise.
22756 (CFLAGS-pwritev64.c): Likewise.
22757 (CFLAGS-preadv2.c): Likewise.
22758 (CFLAGS-preadv64v2.c): Likewise.
22759 (CFLAGS-pwritev2.c): Likewise.
22760 (CFLAGS-pwritev64v2.c): Likewise.
22761 (CFLAGS-usleep.c): Likewise.
22762 (CFLAGS-syslog.c): Likewise.
22763 (CFLAGS-error.c): Likewise.
22764 (CFLAGS-getpass.c): Likewise.
22765 (CFLAGS-mkstemp.c): Likewise.
22766 (CFLAGS-mkstemp64.c): Likewise.
22767 (CFLAGS-getsysstats.c): Likewise.
22768 (CFLAGS-getusershell.c): Likewise.
22769 (CFLAGS-err.c): Likewise.
22770 (CFLAGS-tst-tsearch.c): Likewise.
22771 (CFLAGS-msync.c): Likewise.
22772 (CFLAGS-fdatasync.c): Likewise.
22773 (CFLAGS-fsync.c): Likewise.
22774 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22775 (CFLAGS-unwind.c): Likewise.
22776 (CFLAGS-unwind-forcedunwind.c): Likewise.
22777 (CFLAGS-pthread_cancel.c): Likewise.
22778 (CFLAGS-pthread_setcancelstate.c): Likewise.
22779 (CFLAGS-pthread_setcanceltype.c): Likewise.
22780 (CFLAGS-cancellation.c): Likewise.
22781 (CFLAGS-libc-cancellation.c): Likewise.
22782 (CFLAGS-pthread_exit.c): Likewise.
22783 (CFLAGS-forward.c): Likewise.
22784 (CFLAGS-pthread_testcancel.c): Likewise.
22785 (CFLAGS-pthread_join.c): Likewise.
22786 (CFLAGS-pthread_timedjoin.c): Likewise.
22787 (CFLAGS-pthread_once.c): Likewise.
22788 (CFLAGS-pthread_cond_wait.c): Likewise.
22789 (CFLAGS-sem_wait.c): Likewise.
22790 (CFLAGS-sem_timedwait.c): Likewise.
22791 (CFLAGS-fcntl.c): Likewise.
22792 (CFLAGS-lockf.c): Likewise.
22793 (CFLAGS-pread.c): Likewise.
22794 (CFLAGS-pread64.c): Likewise.
22795 (CFLAGS-pwrite.c): Likewise.
22796 (CFLAGS-pwrite64.c): Likewise.
22797 (CFLAGS-wait.c): Likewise.
22798 (CFLAGS-waitpid.c): Likewise.
22799 (CFLAGS-sigwait.c): Likewise.
22800 (CFLAGS-msgrcv.c): Likewise.
22801 (CFLAGS-msgsnd.c): Likewise.
22802 (CFLAGS-tcdrain.c): Likewise.
22803 (CFLAGS-open.c): Likewise.
22804 (CFLAGS-open64.c): Likewise.
22805 (CFLAGS-pause.c): Likewise.
22806 (CFLAGS-recv.c): Likewise.
22807 (CFLAGS-send.c): Likewise.
22808 (CFLAGS-accept.c): Likewise.
22809 (CFLAGS-sendto.c): Likewise.
22810 (CFLAGS-connect.c): Likewise.
22811 (CFLAGS-recvfrom.c): Likewise.
22812 (CFLAGS-recvmsg.c): Likewise.
22813 (CFLAGS-sendmsg.c): Likewise.
22814 (CFLAGS-close.c): Likewise.
22815 (CFLAGS-read.c): Likewise.
22816 (CFLAGS-write.c): Likewise.
22817 (CFLAGS-nanosleep.c): Likewise.
22818 (CFLAGS-sigsuspend.c): Likewise.
22819 (CFLAGS-msync.c): Likewise.
22820 (CFLAGS-fdatasync.c): Likewise.
22821 (CFLAGS-fsync.c): Likewise.
22822 (CFLAGS-pt-system.c): Likewise.
22823 (CFLAGS-tst-cleanup2.c): Likewise.
22824 (CFLAGS-tst-cleanupx2.c): Likewise.
22825 (CFLAGS-flockfile.c): Likewise.
22826 (CFLAGS-ftrylockfile.c): Likewise.
22827 (CFLAGS-funlockfile.c): Likewise.
22828 (CFLAGS-tst-initializers1.c): Likewise.
22829 (CFLAGS-tst-initializers1-c89.c): Likewise.
22830 (CFLAGS-tst-initializers1-c99.c): Likewise.
22831 (CFLAGS-tst-initializers1-c11.c): Likewise.
22832 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22833 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22834 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22835 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22836 (CFLAGS-nscd_getgr_r.c): Likewise.
22837 (CFLAGS-nscd_gethst_r.c): Likewise.
22838 (CFLAGS-nscd_getai.c): Likewise.
22839 (CFLAGS-nscd_initgroups.c): Likewise.
22840 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22841 (CFLAGS-pause.c): Likewise.
22842 (CFLAGS-pread.c): Likewise.
22843 (CFLAGS-pread64.c): Likewise.
22844 (CFLAGS-pwrite.c): Likewise.
22845 (CFLAGS-pwrite64.c): Likewise.
22846 (CFLAGS-sleep.c): Likewise.
22847 (CFLAGS-wait.c): Likewise.
22848 (CFLAGS-waitid.c): Likewise.
22849 (CFLAGS-waitpid.c): Likewise.
22850 (CFLAGS-getopt.c): Likewise.
22851 (CFLAGS-wordexp.c): Likewise.
22852 (CFLAGS-sysconf.c): Likewise.
22853 (CFLAGS-pathconf.c): Likewise.
22854 (CFLAGS-fpathconf.c): Likewise.
22855 (CFLAGS-spawn.c): Likewise.
22856 (CFLAGS-spawnp.c): Likewise.
22857 (CFLAGS-spawni.c): Likewise.
22858 (CFLAGS-glob.c): Likewise.
22859 (CFLAGS-glob64.c): Likewise.
22860 (CFLAGS-getconf.c): Likewise.
22861 (CFLAGS-nanosleep.c): Likewise.
22862 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22863 (CFLAGS-getpwent.c): Likewise.
22864 (CFLAGS-getpw.c): Likewise.
22865 (CFLAGS-fgetpwent_r.c): Likewise.
22866 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22867 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22868 (CFLAGS-mq_timedreceive.c): Likewise.
22869 (CFLAGS-mq_timedsend.c): Likewise.
22870 (CFLAGS-clock_nanosleep.c): Likewise.
22871 (CFLAGS-librt-cancellation.c): Likewise.
22872 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22873 (CFLAGS-getspent.c): Likewise.
22874 (CFLAGS-fgetspent.c): Likewise.
22875 (CFLAGS-fgetspent_r.c): Likewise.
22876 (CFLAGS-putspent.c): Likewise.
22877 (CFLAGS-getspnam.c): Likewise.
22878 (CFLAGS-getspnam_r.c): Likewise.
22879 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22880 (CFLAGS-sigsuspend.c): Likewise.
22881 (CFLAGS-sigtimedwait.c): Likewise.
22882 (CFLAGS-sigwait.c): Likewise.
22883 (CFLAGS-sigwaitinfo.c): Likewise.
22884 (CFLAGS-sigreturn.c): Likewise.
22885 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22886 (CFLAGS-vfwprintf.c): Likewise.
22887 (CFLAGS-tmpfile.c): Likewise.
22888 (CFLAGS-tmpfile64.c): Likewise.
22889 (CFLAGS-tempname.c): Likewise.
22890 (CFLAGS-psignal.c): Likewise.
22891 (CFLAGS-vprintf.c): Likewise.
22892 (CFLAGS-cuserid.c): Likewise.
22893 (CFLAGS-errlist.c): Likewise.
22894 (CFLAGS-siglist.c): Likewise.
22895 (CFLAGS-scanf15.c): Likewise.
22896 (CFLAGS-scanf17.c): Likewise.
22897 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22898 (CFLAGS-msort.c): Likewise.
22899 (CFLAGS-qsort.c): Likewise.
22900 (CFLAGS-system.c): Likewise.
22901 (CFLAGS-fmtmsg.c): Likewise.
22902 (CFLAGS-strfmon.c): Likewise.
22903 (CFLAGS-strfmon_l.c): Likewise.
22904 (CFLAGS-strfromd.c): Likewise.
22905 (CFLAGS-strfromf.c): Likewise.
22906 (CFLAGS-strfroml.c): Likewise.
22907 (CFLAGS-tst-bsearch.c): Likewise.
22908 (CFLAGS-tst-qsort.c): Likewise.
22909 (CFLAGS-tst-makecontext2.c): Likewise.
22910 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22911 (CFLAGS-xnlm_prot.c): Likewise.
22912 (CFLAGS-xrstat.c): Likewise.
22913 (CFLAGS-xyppasswd.c): Likewise.
22914 (CFLAGS-xklm_prot.c): Likewise.
22915 (CFLAGS-xrex.c): Likewise.
22916 (CFLAGS-xsm_inter.c): Likewise.
22917 (CFLAGS-xmount.c): Likewise.
22918 (CFLAGS-xrusers.c): Likewise.
22919 (CFLAGS-xspray.c): Likewise.
22920 (CFLAGS-xnfs_prot.c): Likewise.
22921 (CFLAGS-xrquota.c): Likewise.
22922 (CFLAGS-xkey_prot.c): Likewise.
22923 (CFLAGS-auth_unix.c): Likewise.
22924 (CFLAGS-key_call.c): Likewise.
22925 (CFLAGS-pmap_rmt.c): Likewise.
22926 (CFLAGS-clnt_perr.c): Likewise.
22927 (CFLAGS-openchild.c): Likewise.
22928 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22929 (CFLAGS-msgsnd.c): Likewise.
22930 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22931 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22932 (CFLAGS-tzset.c): Likewise.
22933 (CFLAGS-getdate.c): Likewise.
22934 (CFLAGS-test_time.c): Likewise.
22935 (CPPFLAGS-tst-tzname.c): Likewise.
22936 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22937 (CFLAGS-zic.c): Likewise.
22938 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22939 (CFLAGS-wcswidth.c): Likewise.
22940 (CFLAGS-wcstol.c): Likewise.
22941 (CFLAGS-wcstoul.c): Likewise.
22942 (CFLAGS-wcstoll.c): Likewise.
22943 (CFLAGS-wcstoull.c): Likewise.
22944 (CFLAGS-wcstod.c): Likewise.
22945 (CFLAGS-wcstold.c): Likewise.
22946 (CFLAGS-wcstof128.c): Likewise.
22947 (CFLAGS-wcstof.c): Likewise.
22948 (CFLAGS-wcstol_l.c): Likewise.
22949 (CFLAGS-wcstoul_l.c): Likewise.
22950 (CFLAGS-wcstoll_l.c): Likewise.
22951 (CFLAGS-wcstoull_l.c): Likewise.
22952 (CFLAGS-wcstod_l.c): Likewise.
22953 (CFLAGS-wcstold_l.c): Likewise.
22954 (CFLAGS-wcstof128_l.c): Likewise.
22955 (CFLAGS-wcstof_l.c): Likewise.
22956 (CPPFLAGS-tst-wchar-h.c): Likewise.
22957 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 22958
f4b2aea6
PC
229592017-12-11 Paul A. Clarke <pc@us.ibm.com>
22960
22961 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22962
c9cd7b0c
AZ
229632017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22964 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22965
22966 * manual/tunables.texi (Hardware Capability Tunables): Document
22967 glibc.tune.cached_memopt.
22968 * sysdeps/powerpc/cpu-features.c: New file.
22969 * sysdeps/powerpc/cpu-features.h: New file.
22970 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22971 _dl_powerpc_cpu_features.
22972 * sysdeps/powerpc/dl-tunables.list: New file.
22973 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22974 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22975 (INIT_ARCH): Initialize use_aligned_memopt.
22976 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22977 IS_IN(rtld))]: Restrict dl_platform_init availability and
22978 initialize CPU features used by tunables.
22979 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22980 Add memcpy-power8-cached.
22981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22982 __memcpy_power8_cached.
22983 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22984 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22985 New file.
22986
e70c6fee
L
229872017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22988
22989 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22990 (CFLAGS-noinl-tester.c): Likewise.
22991 (CFLAGS-tst-strlen.c): Likewise.
22992 (CFLAGS-stratcliff.c): Likewise.
22993 (CFLAGS-test-ffs.c): Likewise.
22994 (CFLAGS-tst-inlcall.c): Likewise.
22995 (CFLAGS-tst-xbzero-opt.c): Likewise.
22996 (CFLAGS-memcpy.c): Likewise.
22997 (CFLAGS-wordcopy.c): Likewise.
22998
dee94366
SL
229992017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23000
23001 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23002 Store r15 on stack and add cfi rule.
23003 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23004 Likewise.
23005
363e4519 230062017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
23007
23008 [BZ #22577]
23009 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23010 call.
23011
9d0ffa60
L
230122017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23013
23014 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23015 Add s_sinf-sse2 and s_sinf-fma.
23016 (CFLAGS-s_sinf-fma.c): New.
23017 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23018 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23019 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23020
9574c7b6
L
230212017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23022
23023 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23024
d15e83c5
JM
230252017-12-07 Joseph Myers <joseph@codesourcery.com>
23026
23027 [BZ #22568]
23028 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23029 part of result to imaginary part of argument if it is zero and the
23030 real part of the argument is not finite.
23031 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23032 of result to real part of argument if it is zero and the imaginary
23033 part of the argument is not finite.
23034
d89756eb
MF
230352017-12-07 Mike FABIAN <mfabian@redhat.com>
23036
23037 [BZ #22524]
23038 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23039 and to the list of locales to be built for testing.
23040 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23041 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23042 and build the collation rules upon that.
23043
1f9055ce
JM
230442017-12-07 Joseph Myers <joseph@codesourcery.com>
23045
23046 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23047 * manual/math.texi (Mathematics): Document support for _Float32.
23048 * math/Makefile (test-types): Add float32.
23049 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23050 * stdlib/Versions (GLIBC_2.27): Likewise.
23051 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23052 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23053 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23054 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23055 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23056 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23057 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23058 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23059 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23060 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23061 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23062 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23063 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23064 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23065 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23066 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23067 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23068 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23069 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23070 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23071 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23072 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23073 Likewise.
23074 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23076 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23077 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23078 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23080 Likewise.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23082 Likewise.
23083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23084 Likewise.
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23086 Likewise.
23087
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23089 Likewise.
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23091 Likewise.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23093 Likewise.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23095 Likewise.
23096 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23097 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23098 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23101 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23102 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23103 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23104 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23105 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23107 Likewise.
23108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23109 Likewise.
23110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23111 Likewise.
23112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23113 Likewise.
23114 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23115 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23116 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23117 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23118 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23120 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23121 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23122
5244527d
JM
231232017-12-06 Joseph Myers <joseph@codesourcery.com>
23124
fb1ca2aa
JM
23125 * stdlib/strtof.c: Include <bits/floatn.h>
23126 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23127 and later undefine as macro. Define as weak alias if
23128 [!USE_WIDE_CHAR].
23129 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23130 and later undefine as macro. Define as weak alias if
23131 [USE_WIDE_CHAR].
23132 * stdlib/strtof_l.c: Include <bits/floatn.h>
23133 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23134 and later undefine as macro. Define as weak alias if
23135 [!USE_WIDE_CHAR].
23136 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23137 and later undefine as macro. Define as weak alias if
23138 [USE_WIDE_CHAR].
23139
fc10cc3f
JM
23140 * stdlib/strfromf.c: Include <bits/floatn.h>.
23141 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23142 and later undefine as macro and define as weak alias.
23143
e420d228
JM
23144 * math/test-float32.h: New file.
23145
26007a2f
JM
23146 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23147 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23148 (libm_alias_float_other_r): Create f32 alias.
23149 (libm_alias_float_r): Use semicolon before call to
23150 libm_alias_float_other_r.
23151
c191f64c
JM
23152 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23153 second argument to libm_alias_float_other.
23154 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23155 second argument to libm_alias_float_other.
23156 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23157 argument to libm_alias_float_other.
23158
5244527d
JM
23159 [BZ #22561]
23160 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23161 real part of result for argument 0 + i * NaN.
23162 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23163 results for tests of 0 + i * NaN.
23164
d73fac82
AZ
231652017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23166
23167 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23168
7ec094e8
DM
231692017-12-06 David S. Miller <davem@davemloft.net>
23170
23171 * sysdeps/sparc/fpu/libm-test-ulps: Update
23172 exp_{downward,towardzero,upward} ulps.
23173
53994f12
JM
231742017-12-06 Joseph Myers <joseph@codesourcery.com>
23175
1dbe6f64
JM
23176 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23177 variables static.
23178
53994f12
JM
23179 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23180 (Y0_2D): Likewise.
23181 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23182 (Y0_2D): Likewise.
23183 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23184 (Y0_2D): Likewise.
23185 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23186 (Y0_2D): Likewise.
23187
62ea2193
MF
231882017-12-06 Mike FABIAN <mfabian@redhat.com>
23189
23190 [BZ #22515]
23191 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23192 and to the list of locales to be built for testing.
23193 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23194 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23195 and build the collation rules upon that.
23196
87235d70
RS
231972017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23198
23199 * NEWS: Add sinf to list of optimized functions.
23200
0d93b7fd
JM
232012017-12-06 Joseph Myers <joseph@codesourcery.com>
23202
23203 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23204 (__HAVE_FLOAT32X): Likewise.
23205 * manual/math.texi (Mathematics): Document support for _Float64
23206 and _Float32x.
23207 * math/Makefile (test-types): Add float64 and float32x.
23208 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23209 functions.
23210 * stdlib/Versions (GLIBC_2.27): Likewise.
23211 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23212 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23213 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23214 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23215 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23216 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23217 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23218 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23219 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23220 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23221 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23222 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23223 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23224 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23225 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23226 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23227 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23228 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23229 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23230 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23231 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23232 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23233 Likewise.
23234 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23235 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23236 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23237 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23238 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23240 Likewise.
23241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23242 Likewise.
23243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23244 Likewise.
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23246 Likewise.
23247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23248 Likewise.
23249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23250 Likewise.
23251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23252 Likewise.
23253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23254 Likewise.
23255 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23256 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23257 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23258 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23259 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23260 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23261 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23262 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23263 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23264 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23266 Likewise.
23267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23268 Likewise.
23269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23270 Likewise.
23271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23272 Likewise.
23273 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23274 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23275 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23276 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23277 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23278 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23279 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23280 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23281
f7787234
JM
232822017-12-05 Joseph Myers <joseph@codesourcery.com>
23283
23284 * bits/floatn-common.h: Include <bits/long-double.h>.
23285 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23286 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23287 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23288 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23289 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23290 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23291 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23292 (__builtin_huge_valf64): Use __builtin_huge_vall.
23293 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23294 (__builtin_inff64): Use __builtin_infl.
23295 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23296 (__builtin_nanf64): Use __builtin_nanl.
23297 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23298 (__builtin_nansf64): Use __builtin_nansl.
23299
363e4519
DL
233002017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23301 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 23302 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
23303
23304 * elf/dl-tunables.list: Add elision parameters.
23305 * manual/tunables.texi: Add entries about elision tunable.
23306 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23307 Add callback functions to dynamically enable/disable elision.
23308 Add multiple callbacks functions to set elision parameters.
23309 Deleted __libc_enable_secure check.
23310 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23311 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23312 * configure: Regenerated.
23313 * configure.ac: Option enable_lock_elision was deleted.
23314 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23315 * config.make.in: Remove references to enable_lock_elision.
23316 * manual/install.texi: Elision configure option was removed.
23317 * INSTALL: Regenerated to remove enable_lock_elision.
23318 * nptl/Makefile:
23319 Disable elision so it can verify error case for destroying a mutex.
23320 * sysdeps/powerpc/nptl/elide.h:
23321 Cleanup ENABLE_LOCK_ELISION check.
23322 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23323 * sysdeps/s390/configure: Regenerated.
23324 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23325 * nptl/tst-mutex8.c:
23326 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23327 * sysdeps/powerpc/powerpc32/sysdep.h:
23328 Deleted all ENABLE_LOCK_ELISION checks.
23329 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23330 * sysdeps/powerpc/sysdep.h: Likewise.
23331 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23332 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23333 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23334 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23335 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23336 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23337 enable-lock-elision.
23338
a5a2a76b
JM
233392017-12-05 Joseph Myers <joseph@codesourcery.com>
23340
23341 * stdlib/strtod.c: Include <bits/floatn.h>.
23342 (BUILD_DOUBLE): New macro.
23343 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23344 (strtof64): Define and later undefine as macro. Define as weak
23345 alias if [!USE_WIDE_CHAR].
23346 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23347 (wcstof64): Define and later undefine as macro. Define as weak
23348 alias if [USE_WIDE_CHAR].
23349 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23350 (strtof32x): Define and later undefine as macro. Define as weak
23351 alias if [!USE_WIDE_CHAR].
23352 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23353 (wcstof32x): Define and later undefine as macro. Define as weak
23354 alias if [USE_WIDE_CHAR].
23355 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23356 (BUILD_DOUBLE): New macro.
23357 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23358 (strtof64_l): Define and later undefine as macro. Define as weak
23359 alias if [!USE_WIDE_CHAR].
23360 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23361 (wcstof64_l): Define and later undefine as macro. Define as weak
23362 alias if [USE_WIDE_CHAR].
23363 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23364 (strtof32x_l): Define and later undefine as macro. Define as weak
23365 alias if [!USE_WIDE_CHAR].
23366 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23367 (wcstof32x_l): Define and later undefine as macro. Define as weak
23368 alias if [USE_WIDE_CHAR].
23369
94d80dfc
AZ
233702017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23371
23372 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23373 (reduced): Use ones as double instead of integer.
23374
00d54af7
SN
233752017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23376
23377 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23378
f2d64d62
JM
233792017-12-05 Joseph Myers <joseph@codesourcery.com>
23380
1f70eae4
JM
23381 * stdlib/strfromd.c: Include <bits/floatn.h>.
23382 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23383 and later undefine as macro and define as weak alias.
23384 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23385 Likewise.
23386
e2c4dce5
JM
23387 * math/test-float32x.h: New file.
23388 * math/test-float64.h: Likewise.
23389
f2d64d62
JM
23390 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23391 (libm_alias_double_other_r_f64): New macro.
23392 (libm_alias_double_other_r_f32x): Likewise.
23393 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23394 libm_alias_double_other_r_f32x.
23395 (libm_alias_double_r): Use semicolon before call to
23396 libm_alias_double_other_r.
23397 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23398 <bits/floatn.h>.
23399 (libm_alias_double_other_r_f64): New macro.
23400 (libm_alias_double_other_r_f32x): Likewise.
23401 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23402 libm_alias_double_other_r_f32x.
23403
91c318e7
L
234042017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23405
23406 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23407 int.
23408 (SINF_FUNC): Likewise. Replace floor with simple casts.
23409
de9661d6
MF
234102017-12-05 Mike FABIAN <mfabian@redhat.com>
23411
23412 [BZ #22517]
23413 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23414 and to the list of locales to be built for testing.
23415 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23416 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23417 and build the collation rules upon that.
23418
f18b8dc7
CM
234192017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23420
23421 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23422 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23423 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23424 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23425 instead of __insn__xxx.
23426 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23427 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23428 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23429 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23430 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23431 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23432
446d22e9
FW
234332017-12-05 Florian Weimer <fweimer@redhat.com>
23434
23435 Linux: Implement interfaces for memory protection keys
23436 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23437 xsignal, xsysconf.
23438 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23439 * support/xunistd.h (xsysconf): Declare.
23440 * support/xraise.c: New file.
23441 * support/xsigaction.c: Likewise.
23442 * support/xsignal.c: Likewise.
23443 * support/xsysconf.c: Likewise.
23444 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23445 pkey_set, pkey_get, pkey_mprotect.
23446 [misc] (tests): Add tst-pkey.
23447 (tst-pkey): Link with -lpthread.
23448 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23449 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23451 (PKEY_DISABLE_WRITE): Define.
23452 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23453 Declare.
23454 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23455 (SEGV_PKUERR): Add.
23456 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23457 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23458 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23459 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23460 Add.
23461 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23462 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23463 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23464 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23465 * sysdeps/unix/sysv/linux/**.abilist: Update.
23466
da616c14
FW
234672017-12-05 Florian Weimer <fweimer@redhat.com>
23468
23469 * support/tst-test_compare.c (subprocess): Use long long instead
23470 of long argument for consistent type width across 32-bit and
23471 64-bit architectures.
23472 (do_test): Adjust expected output.
23473
216933b2
JM
234742017-12-05 Joseph Myers <joseph@codesourcery.com>
23475
23476 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23477 (cosf): Define using libm_alias_float.
23478 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23479 (fabsf): Define using libm_alias_float.
23480 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23481 (fmaf): Define using libm_alias_float.
23482 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23483 (rintf): Define using libm_alias_float.
23484 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23485 (sinf): Define using libm_alias_float.
23486 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23487 <libm-alias-float.h>.
23488 (modff): Define using libm_alias_float.
23489 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23490 <libm-alias-float.h>.
23491 (logbf): Define using libm_alias_float.
23492 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23493 <libm-alias-float.h>.
23494 (ceilf): Define using libm_alias_float.
23495 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23496 <libm-alias-float.h>.
23497 (copysignf): Define using libm_alias_float.
23498 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23499 <libm-alias-float.h>.
23500 (floorf): Define using libm_alias_float.
23501 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23502 <libm-alias-float.h>.
23503 (llrintf): Define using libm_alias_float.
23504 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23505 <libm-alias-float.h>.
23506 (llroundf): Define using libm_alias_float.
23507 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23508 <libm-alias-float.h>.
23509 (lrintf): Define using libm_alias_float.
23510 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23511 <libm-alias-float.h>.
23512 (lroundf): Define using libm_alias_float.
23513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23514 <libm-alias-float.h>.
23515 (nearbyintf): Define using libm_alias_float.
23516 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23517 <libm-alias-float.h>.
23518 (rintf): Define using libm_alias_float.
23519 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23520 <libm-alias-float.h>.
23521 (roundf): Define using libm_alias_float.
23522 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23523 <libm-alias-float.h>.
23524 (truncf): Define using libm_alias_float.
23525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23526 Include <libm-alias-float.h>.
23527 (ceilf): Define using libm_alias_float.
23528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23529 Include <libm-alias-float.h>.
23530 (copysignf): Define using libm_alias_float.
23531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23532 Include <libm-alias-float.h>.
23533 (floorf): Define using libm_alias_float.
23534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23535 Include <libm-alias-float.h>.
23536 (llrintf): Define using libm_alias_float.
23537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23538 Include <libm-alias-float.h>.
23539 (llroundf): Define using libm_alias_float.
23540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23541 Include <libm-alias-float.h>.
23542 (logbf): Define using libm_alias_float.
23543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23544 Include <libm-alias-float.h>.
23545 (lrintf): Define using libm_alias_float.
23546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23547 Include <libm-alias-float.h>.
23548 (lroundf): Define using libm_alias_float.
23549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23550 Include <libm-alias-float.h>.
23551 (modff): Define using libm_alias_float.
23552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23553 Include <libm-alias-float.h>.
23554 (roundf): Define using libm_alias_float.
23555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23556 Include <libm-alias-float.h>.
23557 (truncf): Define using libm_alias_float.
23558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23559 <libm-alias-float.h>.
23560 (llrintf): Define using libm_alias_float.
23561 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23562 <libm-alias-float.h>.
23563 (llroundf): Define using libm_alias_float.
23564 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23565 <libm-alias-float.h>.
23566 (ceilf): Define using libm_alias_float.
23567 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23568 <libm-alias-float.h>.
23569 (floorf): Define using libm_alias_float.
23570 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23571 <libm-alias-float.h>.
23572 (llroundf): Define using libm_alias_float.
23573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23574 <libm-alias-float.h>.
23575 (lroundf): Define using libm_alias_float.
23576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23577 <libm-alias-float.h>.
23578 (roundf): Define using libm_alias_float.
23579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23580 <libm-alias-float.h>.
23581 (truncf): Define using libm_alias_float.
23582 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23583 <libm-alias-float.h>.
23584 (copysignf): Define using libm_alias_float.
23585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23586 <libm-alias-float.h>.
23587 (llrintf): Define using libm_alias_float.
23588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23589 <libm-alias-float.h>.
23590 (llroundf): Define using libm_alias_float.
23591 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23592 <libm-alias-float.h>.
23593 (lrintf): Define using libm_alias_float.
23594 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23595 <libm-alias-float.h>.
23596 (lroundf): Define using libm_alias_float.
23597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23598 <libm-alias-float.h>.
23599 (ceilf): Define using libm_alias_float.
23600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23601 <libm-alias-float.h>.
23602 (copysignf): Define using libm_alias_float.
23603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23604 <libm-alias-float.h>.
23605 (cosf): Define using libm_alias_float.
23606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23607 <libm-alias-float.h>.
23608 (floorf): Define using libm_alias_float.
23609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23610 <libm-alias-float.h>.
23611 (llrintf): Define using libm_alias_float.
23612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23613 <libm-alias-float.h>.
23614 (llroundf): Define using libm_alias_float.
23615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23616 <libm-alias-float.h>.
23617 (logbf): Define using libm_alias_float.
23618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23619 <libm-alias-float.h>.
23620 (modff): Define using libm_alias_float.
23621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23622 <libm-alias-float.h>.
23623 (roundf): Define using libm_alias_float.
23624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23625 <libm-alias-float.h>.
23626 (sinf): Define using libm_alias_float.
23627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23628 <libm-alias-float.h>.
23629 (truncf): Define using libm_alias_float.
23630 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23631 <libm-alias-float.h>.
23632 (ceilf): Define using libm_alias_float.
23633 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23634 <libm-alias-float.h>.
23635 (copysignf): Define using libm_alias_float.
23636 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23637 <libm-alias-float.h>.
23638 (floorf): Define using libm_alias_float.
23639 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23640 <libm-alias-float.h>.
23641 (llrintf): Define using libm_alias_float.
23642 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23643 <libm-alias-float.h>.
23644 (llroundf): Define using libm_alias_float.
23645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23646 <libm-alias-float.h>.
23647 (nearbyintf): Define using libm_alias_float.
23648 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23649 <libm-alias-float.h>.
23650 (rintf): Define using libm_alias_float.
23651 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23652 <libm-alias-float.h>.
23653 (roundf): Define using libm_alias_float.
23654 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23655 <libm-alias-float.h>.
23656 (truncf): Define using libm_alias_float.
23657 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23658 <libm-alias-float.h>.
23659 (ceilf): Define using libm_alias_float.
23660 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23661 <libm-alias-float.h>.
23662 (floorf): Define using libm_alias_float.
23663 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23664 <libm-alias-float.h>.
23665 (llroundf): Define using libm_alias_float.
23666 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23667 <libm-alias-float.h>.
23668 (roundf): Define using libm_alias_float.
23669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23670 <libm-alias-float.h>.
23671 (truncf): Define using libm_alias_float.
23672 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23673 <libm-alias-float.h>.
23674 (copysignf): Define using libm_alias_float.
23675 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23676 <libm-alias-float.h>.
23677 (llrintf): Define using libm_alias_float.
23678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23679 <libm-alias-float.h>.
23680 (llroundf): Define using libm_alias_float.
23681 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23682 <libm-alias-float.h>.
23683 (cosf): Define using libm_alias_float.
23684 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23685 <libm-alias-float.h>.
23686 (llrintf): Define using libm_alias_float.
23687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23688 <libm-alias-float.h>.
23689 (llroundf): Define using libm_alias_float.
23690 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23691 <libm-alias-float.h>.
23692 (sinf): Define using libm_alias_float.
23693
93485524
FW
236942017-12-04 Florian Weimer <fweimer@redhat.com>
23695
23696 * support/check.h (TEST_COMPARE): Define.
23697 (support_test_compare_failure): Declare.
23698 * support/Makefile (libsupport-routines): Add
23699 support_test_compare_failure.
23700 (tests): Add tst-test_compare.
23701 * support /support_test_compare_failure.c: New file.
23702 * support/tst-test_compare.c: Likewise.
23703
96b06a19
MF
237042017-12-04 Mike FABIAN <mfabian@redhat.com>
23705
23706 [BZ #22527]
23707 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23708 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23709 available, this rewrite of the collation rules does reproduce
23710 the test file in the same order.
23711
1f6d91f3
MF
237122017-12-04 Mike FABIAN <mfabian@redhat.com>
23713
23714 [BZ #10580]
23715 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23716 digraphs in the month and day names. Using single code points for
23717 digraphs is deprecated. While there are dedicated Unicode
23718 codepoints, for the digraphs, these are included for backwards
23719 compatibility and modern texts use a sequence of Basic Latin
23720 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23721 This makes the month and day names agree exactly with CLDR now,
23722 CLDR does not use the single code points for the digraphs either.
23723
2e49fed8
CM
237242017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23725
23726 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23727
73895b49
JM
237282017-12-04 Joseph Myers <joseph@codesourcery.com>
23729
23730 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23731 of floor.
23732
4c1d801a
SP
237332017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23734
23735 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23736 Define only for libc.so.
23737
478593e6
SL
237382017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23739
23740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23741 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 23742 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
23743 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23744 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23745
7863a711
RS
237462017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23747
23748 [BZ #5997]
23749 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23750
800a496a
JDA
237512017-12-02 John David Anglin <danglin@gcc.gnu.org>
23752
b3f7fb12
JDA
23753 [BZ libc/19170]
23754 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23755 PREINIT_FUNCTION_WEAK is nonzero.
23756 (gmon_initializer): New function. Put procedure label for it in
23757 .init_array section.
23758 (_init): Don't call PREINIT_FUNCTION.
23759 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23760 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23761 value when map argument is null.
23762
800a496a
JDA
23763 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23764 depi instruction from PIC pc-relative sequence.
23765 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23766 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23767 (elf_machine_load_address): Likewise.
23768 (elf_machine_runtime_setup): Likewise.
23769
d17542d2
JM
237702017-12-02 Joseph Myers <joseph@codesourcery.com>
23771
23772 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23773 <libm-alias-double.h>.
23774 (logb): Define using libm_alias_double.
23775 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23776 <libm-alias-double.h>.
23777 (copysign): Define using libm_alias_double.
23778 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23779 <libm-alias-double.h>.
23780 (llrint): Define using libm_alias_double.
23781 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23782 <libm-alias-double.h>.
23783 (llround): Define using libm_alias_double.
23784 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23785 <libm-alias-double.h>.
23786 (lrint): Define using libm_alias_double.
23787 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23788 <libm-alias-double.h>.
23789 (lround): Define using libm_alias_double.
23790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23791 Include <libm-alias-double.h>.
23792 (copysign): Define using libm_alias_double.
23793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23794 Include <libm-alias-double.h>.
23795 (llrint): Define using libm_alias_double.
23796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23797 Include <libm-alias-double.h>.
23798 (llround): Define using libm_alias_double.
23799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23800 <libm-alias-double.h>.
23801 (logb): Define using libm_alias_double.
23802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23803 Include <libm-alias-double.h>.
23804 (lrint): Define using libm_alias_double.
23805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23806 Include <libm-alias-double.h>.
23807 (lround): Define using libm_alias_double.
23808 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23809 <libm-alias-double.h>.
23810 (llrint): Define using libm_alias_double.
23811 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23812 <libm-alias-double.h>.
23813 (llround): Define using libm_alias_double.
23814 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23815 <libm-alias-double.h>.
23816 (llround): Define using libm_alias_double.
23817 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23818 <libm-alias-double.h>.
23819 (lround): Define using libm_alias_double.
23820 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23821 <libm-alias-double.h>.
23822 (copysign): Define using libm_alias_double.
23823 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23824 <libm-alias-double.h>.
23825 (llrint): Define using libm_alias_double.
23826 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23827 <libm-alias-double.h>.
23828 (llround): Define using libm_alias_double.
23829 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23830 <libm-alias-double.h>.
23831 (lrint): Define using libm_alias_double.
23832 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23833 <libm-alias-double.h>.
23834 (lround): Define using libm_alias_double.
23835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23836 <libm-alias-double.h>.
23837 (copysign): Define using libm_alias_double.
23838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23839 <libm-alias-double.h>.
23840 (llrint): Define using libm_alias_double.
23841 (lrint): Likewise.
23842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23843 <libm-alias-double.h>.
23844 (llround): Define using libm_alias_double.
23845 (lround): Likewise.
23846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23847 <libm-alias-double.h>.
23848 (logb): Define using libm_alias_double.
23849 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23850 <libm-alias-double.h>.
23851 (copysign): Define using libm_alias_double.
23852 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23853 <libm-alias-double.h>.
23854 (llrint): Define using libm_alias_double.
23855 (lrint): Likewise.
23856 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23857 <libm-alias-double.h>.
23858 (llround): Define using libm_alias_double.
23859 (lround): Likewise.
23860 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23861 <libm-alias-double.h>.
23862 (llround): Define using libm_alias_double.
23863 (lround): Likewise.
23864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23865 <libm-alias-double.h>.
23866 (copysign): Define using libm_alias_double.
23867 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23868 <libm-alias-double.h>.
23869 (llrint): Define using libm_alias_double.
23870 (lrint): Likewise.
23871 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23872 <libm-alias-double.h>.
23873 (llround): Define using libm_alias_double.
23874 (lround): Likewise.
23875 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23876 <libm-alias-double.h>.
23877 (llrint): Define using libm_alias_double.
23878 (lrint): Likewise.
23879 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23880 <libm-alias-double.h>.
23881 (llround): Define using libm_alias_double.
23882 (lround): Likewise.
23883
ec2cf3f4
JM
238842017-12-01 Joseph Myers <joseph@codesourcery.com>
23885
0ddde474
JM
23886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23887 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23888 compat symbol based on llround.
23889
0d5ba561
JM
23890 * sysdeps/powerpc/power7/fpu/s_logb.c
23891 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23892 symbol based on __logb, not on logb.
23893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23894 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23896 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23897
51ea3b20
JM
23898 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23899 (rint): Define using libm_alias_double.
23900 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23901 <libm-alias-double.h>.
23902 (modf): Define using libm_alias_double.
23903 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23904 <libm-alias-double.h>.
23905 (ceil): Define using libm_alias_double.
23906 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23907 <libm-alias-double.h>.
23908 (floor): Define using libm_alias_double.
23909 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23910 <libm-alias-double.h>.
23911 (nearbyint): Define using libm_alias_double.
23912 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23913 <libm-alias-double.h>.
23914 (rint): Define using libm_alias_double.
23915 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23916 <libm-alias-double.h>.
23917 (round): Define using libm_alias_double.
23918 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23919 <libm-alias-double.h>.
23920 (trunc): Define using libm_alias_double.
23921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23922 <libm-alias-double.h>.
23923 (ceil): Define using libm_alias_double.
23924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23925 Include <libm-alias-double.h>.
23926 (floor): Define using libm_alias_double.
23927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23928 <libm-alias-double.h>.
23929 (modf): Define using libm_alias_double.
23930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23931 Include <libm-alias-double.h>.
23932 (round): Define using libm_alias_double.
23933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23934 Include <libm-alias-double.h>.
23935 (trunc): Define using libm_alias_double.
23936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23937 <libm-alias-double.h>.
23938 (ceil): Define using libm_alias_double.
23939 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23940 <libm-alias-double.h>.
23941 (floor): Define using libm_alias_double.
23942 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23943 <libm-alias-double.h>.
23944 (round): Define using libm_alias_double.
23945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23946 <libm-alias-double.h>.
23947 (trunc): Define using libm_alias_double.
23948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23949 <libm-alias-double.h>.
23950 (ceil): Define using libm_alias_double.
23951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23952 <libm-alias-double.h>.
23953 (floor): Define using libm_alias_double.
23954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23955 <libm-alias-double.h>.
23956 (modf): Define using libm_alias_double.
23957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23958 <libm-alias-double.h>.
23959 (round): Define using libm_alias_double.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23961 <libm-alias-double.h>.
23962 (trunc): Define using libm_alias_double.
23963 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23964 <libm-alias-double.h>.
23965 (ceil): Define using libm_alias_double.
23966 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23967 <libm-alias-double.h>.
23968 (floor): Define using libm_alias_double.
23969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23970 <libm-alias-double.h>.
23971 (nearbyint): Define using libm_alias_double.
23972 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23973 <libm-alias-double.h>.
23974 (rint): Define using libm_alias_double.
23975 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23976 <libm-alias-double.h>.
23977 (round): Define using libm_alias_double.
23978 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23979 <libm-alias-double.h>.
23980 (trunc): Define using libm_alias_double.
23981 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23982 <libm-alias-double.h>.
23983 (ceil): Define using libm_alias_double.
23984 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23985 <libm-alias-double.h>.
23986 (floor): Define using libm_alias_double.
23987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23988 <libm-alias-double.h>.
23989 (round): Define using libm_alias_double.
23990 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23991 <libm-alias-double.h>.
23992 (trunc): Define using libm_alias_double.
23993
ec2cf3f4
JM
23994 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23995 (fabs): Define using libm_alias_double.
23996 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23997 (fma): Define using libm_alias_double.
23998 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23999 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24000 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24001 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24002
5b7bd975
AZ
240032017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24004
0594b13f
AZ
24005 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24006
dbdfcf3b
AZ
24007 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24008 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24009 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24010
5b7bd975
AZ
24011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24012 due redirect macro.
24013
ef9ecfa6
AS
240142017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24015
24016 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24017
5b4e5e78
AZ
240182017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24019
2a14526b
AZ
24020 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24021 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24022 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24023 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24024
dbeb74ef 24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
24026 (libm-sysdep_routines): Add s_nearbyintf-generic and
24027 s_nearbyint-generic.
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24029 New file.
24030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24032 Likewise.
24033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24034 Likewise.
24035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24036 file.
24037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24038 Likewise.
24039
24040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
24041 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24043 file.
24044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24046 Likewise.
24047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24050
fa7ded96
AZ
24051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24052 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24054 file.
24055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24057 Likewise.
24058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24061
e240cf0e
AZ
24062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24063 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24065 file.
24066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24068 Likewise.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24072
5b4e5e78
AZ
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24074 (sysdep_calls): New rule.
24075 (sysdep_routines): Use sysdep_calls as base.
24076 (libm-sysdep_routines): Add generic rule for symbols shared with
24077 libc. Add s_copysign-generic and s_copysign-generic objects.
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24079 New file.
24080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24082 Likewise.
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24086
d985adae
MF
240872017-12-01 Mike FABIAN <mfabian@redhat.com>
24088
24089 [BZ #22519]
24090 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24091 the list of locales to be built for testing.
24092 * localedata/is_IS.UTF-8.in: New file.
24093 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24094 on iso14651_t1.
24095
ff84a0e0
JM
240962017-12-01 Joseph Myers <joseph@codesourcery.com>
24097
24098 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24099 <libm-alias-float.h>.
24100 (fabsf): Define using libm_alias_float.
24101
ef5d8b43
L
241022017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24103
24104 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24105
c0535adf
JM
241062017-11-30 Joseph Myers <joseph@codesourcery.com>
24107
f938b397
JM
24108 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24109 <libm-alias-float.h>.
24110 (fabsf): Define using libm_alias_float.
24111 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24112 <libm-alias-float.h>.
24113 (lrintf): Define using libm_alias_float.
24114 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24115 <libm-alias-float.h>.
24116 (rintf): Define using libm_alias_float.
24117
2251fad0
JM
24118 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24119 <libm-alias-double.h>.
24120 (fabs): Define using libm_alias_double.
24121 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24122 <libm-alias-double.h>.
24123 (lrint): Define using libm_alias_double.
24124 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24125 <libm-alias-double.h>.
24126 (rint): Define using libm_alias_double.
24127
e53df1de
JM
24128 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24129 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24130 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24131 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24132 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24133 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24134 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24135 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24136 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24137 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24138 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24139 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24140 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24141 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24142 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24143 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24144 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24145 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24146 s_atan_template.c.
24147 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24148 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24149 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24150 s_ceil_template.c.
24151 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24152 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24153 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24154 s_cos_template.c.
24155 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24156 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24157 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24158 s_expm1_template.c.
24159 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24160 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24161 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24162 s_fabs_template.c.
24163 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24164 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24165 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24166 s_floor_template.c.
24167 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24168 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24169 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24170 s_frexp_template.c.
24171 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24172 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24173 s_lrint_template.c.
24174 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24175 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24176 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24177 s_modf_template.c.
24178 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24179 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24180 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24181 s_nearbyint_template.c.
24182 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24183 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24184 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24185 s_remquo_template.c.
24186 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24187 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24188 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24189 s_rint_template.c.
24190 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24191 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24192 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24193 s_sin_template.c.
24194 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24195 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24196 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24197 s_sincos_template.c.
24198 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24199 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24200 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24201 s_tan_template.c.
24202 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24203 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24204 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24205 s_tanh_template.c.
24206 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24207 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24208 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24209 s_trunc_template.c.
24210 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24211 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24212 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24213 s_atan.c instead of including s_atan.c.
24214 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24215 s_atanf.c instead of including s_atanf.c.
24216 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24217 s_atanl.c instead of including s_atanl.c.
24218 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24219 instead of s_atan.c.
24220 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24221 instead of s_atanf.c.
24222 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24223 instead of s_atanl.c.
24224
c0535adf
JM
24225 * scripts/update-copyrights: Do not handle intl/plural.c
24226 specially.
24227
1faaf703
JB
242282017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24229
24230 [BZ #22432]
24231 * configure.ac (BISON): Require to be present.
24232 * configure: Regenerated.
24233 * intl/Makefile (generated): Add plural.c.
24234 [$(BISON) != no]: Make code unconditional.
24235 (plural.c): Change rule to $(objpfx)plural.c.
24236 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24237 * intl/plural.c: Remove.
24238 * manual/install.texi (Tools for Compilation): Document bison as
24239 required.
24240 * INSTALL: Regenerated.
24241
faec6323
JM
242422017-11-30 Joseph Myers <joseph@codesourcery.com>
24243
bd6ea9ed
JM
24244 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24245 <libm-alias-double.h>.
24246 (llrint): Define using libm_alias_double.
24247 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24248 <libm-alias-float.h>.
24249 (llrintf): Define using libm_alias_float.
24250 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24251 <libm-alias-ldouble.h>.
24252 (llrintl): Define using libm_alias_ldouble.
24253
faec6323
JM
24254 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24255 declare_mgen_alias instead of weak_alias.
24256 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24257 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24258 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24259
023cade3
AZ
242602017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24261
9e2279a0
AZ
24262 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24263 Add add_n-generic.
24264 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24265 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24266 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24267
75f37c71
AZ
24268 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24269 Add submul_1-generic.
24270 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24271 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24272 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24273
b70cbbfc 24274 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
24275 Add addmul_1-generic.
24276 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24277 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24278 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24279
24280 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
24281 Add sub_n-generic.
24282 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24283 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24284 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24285
023cade3
AZ
24286 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24287 Add mul_1-generic.
24288 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24289 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24290 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24291
fbb5fd03
MF
242922017-11-30 Mike FABIAN <mfabian@redhat.com>
24293
24294 According to CLDR, collation rules for Serbian and Bosnian
24295 should be the same as for Croatian.
24296
24297 [BZ #22534]
24298 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24299 and to the list of locales to be built for testing.
24300 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24301 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24302 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24303 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24304
5e56e937
MF
243052017-11-30 Mike FABIAN <mfabian@redhat.com>
24306
24307 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24308 to make test case pass.
24309 * localedata/hr_HR.UTF-8.in: Add more test strings.
24310
cf4341ca
MF
243112017-11-30 Mike FABIAN <mfabian@redhat.com>
24312
24313 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24314
363e4519 243152017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
24316
24317 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24318 the list of locales to built for testing.
24319 * localedata/hr_HR.UTF-8.in: New file.
24320
363e4519 243212017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
24322
24323 [BZ #10580]
24324 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24325 iso14651_t1.
24326 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24327 CLDR (except use ligatures for the digraphs, CLDR does not use
24328 the ligatures), add first_workday, some fixes in the date and time
24329 formats.
24330 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24331 for Đ and đ.
24332 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24333 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24334 Add int_p_cs_precedes and int_n_cs_precedes.
24335 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24336 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24337 LC_MONETARY now).
24338 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24339 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24340 name_miss.
24341 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24342 and lang_lib. Change postal_fmt.
24343
f33632cc
L
243442017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24345
24346 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24347 <setjmp.h>.
24348 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24349 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24350 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24351 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24352 * sysdeps/generic/setjmpP.h: New file.
24353 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24354 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24355 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24356 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24357 Add jmp_buf-ssp.sym.
24358 (tests): Add tst-saved_mask-1.
24359
34697694
AS
243602017-11-30 Arjun Shankar <arjun@redhat.com>
24361
24362 [BZ #22375]
37ac8e63 24363 CVE-2017-17426
34697694
AS
24364 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24365 instead of request2size.
24366
3e5efdbd
JM
243672017-11-30 Joseph Myers <joseph@codesourcery.com>
24368
18305fba
JM
24369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24370 (__lllrint): Remove alias.
24371 (lllrint): Likewise.
24372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24373 (__lllrintf): Likewise.
24374 (lllrintf): Likewise.
24375
3e5efdbd
JM
24376 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24377 <libm-alias-float.h>.
24378 (copysignf): Define using libm_alias_float.
24379 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24380 <libm-alias-float.h>.
24381 (fabsf): Define using libm_alias_float.
24382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24383 Include <libm-alias-float.h>.
24384 (copysignf): Define using libm_alias_float.
24385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24386 <libm-alias-float.h>.
24387 (fabsf): Define using libm_alias_float.
24388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24389 <libm-alias-float.h>.
24390 (fdimf): Define using libm_alias_float.
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24392 <libm-alias-float.h>.
24393 (fmaf): Define using libm_alias_float.
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24395 <libm-alias-float.h>.
24396 (llrintf): Define using libm_alias_float.
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24398 Include <libm-alias-float.h>.
24399 (nearbyintf): Define using libm_alias_float.
24400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24401 <libm-alias-float.h>.
24402 (rintf): Define using libm_alias_float.
24403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24404 <libm-alias-float.h>.
24405 (llrintf): Define using libm_alias_float.
24406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24407 <libm-alias-float.h>.
24408 (lrintf): Define using libm_alias_float.
24409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24410 <libm-alias-float.h>.
24411 (nearbyintf): Define using libm_alias_float.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24413 <libm-alias-float.h>.
24414 (rintf): Define using libm_alias_float.
24415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24416 <libm-alias-float.h>.
24417 (ceilf): Define using libm_alias_float.
24418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24419 <libm-alias-float.h>.
24420 (floorf): Define using libm_alias_float.
24421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24422 <libm-alias-float.h>.
24423 (fmaf): Define using libm_alias_float.
24424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24425 <libm-alias-float.h>.
24426 (lrintf): Define using libm_alias_float.
24427 (llrintf): Likewise.
24428 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24429 <libm-alias-float.h>.
24430 (nearbyintf): Define using libm_alias_float.
24431 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24432 <libm-alias-float.h>.
24433 (rintf): Define using libm_alias_float.
24434 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24435 <libm-alias-float.h>.
24436 (truncf): Define using libm_alias_float.
24437 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24438 <libm-alias-float.h>.
24439 (copysignf): Define using libm_alias_float.
24440 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24441 <libm-alias-float.h>.
24442 (fabsf): Define using libm_alias_float.
24443 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24444 <libm-alias-float.h>.
24445 (lrintf): Define using libm_alias_float.
24446 (llrintf): Likewise.
24447 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24448 <libm-alias-float.h>.
24449 (nearbyintf): Define using libm_alias_float.
24450 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24451 <libm-alias-float.h>.
24452 (rintf): Define using libm_alias_float.
24453
011fba7e
JM
244542017-11-29 Joseph Myers <joseph@codesourcery.com>
24455
875cd548
JM
24456 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24457 <libm-alias-double.h>.
24458 (copysign): Define using libm_alias_double.
24459 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24460 <libm-alias-double.h>.
24461 (fabs): Define using libm_alias_double.
24462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24463 Include <libm-alias-double.h>.
24464 (copysign): Define using libm_alias_double.
24465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24466 <libm-alias-double.h>.
24467 (fabs): Define using libm_alias_double.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24469 <libm-alias-double.h>.
24470 (fdim): Define using libm_alias_double.
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24472 <libm-alias-double.h>.
24473 (fma): Define using libm_alias_double.
24474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24475 <libm-alias-double.h>.
24476 (llrint): Define using libm_alias_double.
24477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24478 Include <libm-alias-double.h>.
24479 (nearbyint): Define using libm_alias_double.
24480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24481 <libm-alias-double.h>.
24482 (rint): Define using libm_alias_double.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24484 <libm-alias-double.h>.
24485 (fabs): Define using libm_alias_double.
24486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24487 <libm-alias-double.h>.
24488 (llrint): Define using libm_alias_double.
24489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24490 <libm-alias-double.h>.
24491 (nearbyint): Define using libm_alias_double.
24492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24493 <libm-alias-double.h>.
24494 (rint): Define using libm_alias_double.
24495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24496 <libm-alias-double.h>.
24497 (ceil): Define using libm_alias_double.
24498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24499 <libm-alias-double.h>.
24500 (floor): Define using libm_alias_double.
24501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24502 <libm-alias-double.h>.
24503 (fma): Define using libm_alias_double.
24504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24505 <libm-alias-double.h>.
24506 (lrint): Define using libm_alias_double.
24507 (llrint): Likewise.
24508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24509 <libm-alias-double.h>.
24510 (nearbyint): Define using libm_alias_double.
24511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24512 <libm-alias-double.h>.
24513 (rint): Define using libm_alias_double.
24514 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24515 <libm-alias-double.h>.
24516 (trunc): Define using libm_alias_double.
24517 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24518 <libm-alias-double.h>.
24519 (copysign): Define using libm_alias_double.
24520 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24521 <libm-alias-double.h>.
24522 (fabs): Define using libm_alias_double.
24523 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24524 <libm-alias-double.h>.
24525 (lrint): Define using libm_alias_double.
24526 (llrint): Likewise.
24527 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24528 <libm-alias-double.h>.
24529 (nearbyint): Define using libm_alias_double.
24530 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24531 <libm-alias-double.h>.
24532 (rint): Define using libm_alias_double.
24533
cf4ebc27
JM
24534 [BZ #22229]
24535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24536 <math_ldbl_opt.h>.
24537 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24538
0c097378
JM
24539 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24540 SPARC --disable-multi-arch glibc variants.
24541
34bb10aa
JM
24542 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24543 <libm-alias-float.h>.
24544 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24545 if [SHARED].
24546 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24547 <libm-alias-float.h>.
24548 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24549 if [SHARED].
24550 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24551 <libm-alias-float.h>.
24552 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24553 if [SHARED].
24554 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24555 <libm-alias-float.h>.
24556 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24557 if [SHARED].
24558 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24559 <libm-alias-float.h>.
24560 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24561 if [SHARED].
24562 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24563 <libm-alias-float.h>.
24564 (ceilf): Define using libm_alias_float.
24565 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24566 <libm-alias-float.h>.
24567 (floorf): Define using libm_alias_float.
24568 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24569 <libm-alias-float.h>.
24570 (fmaf): Define using libm_alias_float.
24571 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24572 <libm-alias-float.h>.
24573 (nearbyintf): Define using libm_alias_float.
24574 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24575 <libm-alias-float.h>.
24576 (rintf): Define using libm_alias_float.
24577 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24578 <libm-alias-float.h>.
24579 (truncf): Define using libm_alias_float.
24580 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24581 (copysignf): Define using libm_alias_float.
24582 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24583 (cosf): Define using libm_alias_float.
24584 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24585 (fabsf): Define using libm_alias_float.
24586 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24587 (fmaxf): Define using libm_alias_float.
24588 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24589 (fminf): Define using libm_alias_float.
24590 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24591 (llrintf): Define using libm_alias_float.
24592 [!__ILP32__] (lrintf): Likewise.
24593 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24594 (sincosf): Define using libm_alias_float.
24595 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24596 (sinf): Define using libm_alias_float.
24597 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24598 (lrintf): Define using libm_alias_float.
24599
011fba7e
JM
24600 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24601 <libm-alias-double.h>.
24602 (atan): Define using libm_alias_double.
24603 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24604 <libm-alias-double.h>.
24605 (ceil): Define using libm_alias_double.
24606 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24607 <libm-alias-double.h>.
24608 (floor): Define using libm_alias_double.
24609 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24610 <libm-alias-double.h>.
24611 (fma): Define using libm_alias_double.
24612 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24613 <libm-alias-double.h>.
24614 (nearbyint): Define using libm_alias_double.
24615 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24616 <libm-alias-double.h>.
24617 (rint): Define using libm_alias_double.
24618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24619 <libm-alias-double.h>.
24620 (sin): Define using libm_alias_double.
24621 (cos): Likewise.
24622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24623 <libm-alias-double.h>.
24624 (tan): Define using libm_alias_double.
24625 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24626 <libm-alias-double.h>.
24627 (trunc): Define using libm_alias_double.
24628 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24629 (copysign): Define using libm_alias_double.
24630 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24631 (fabs): Define using libm_alias_double.
24632 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24633 (fmax): Define using libm_alias_double.
24634 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24635 (fmin): Define using libm_alias_double.
24636 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24637 (llrint): Define using libm_alias_double.
24638 [!__ILP32__] (lrint): Likewise.
24639 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24640 (lrint): Define using libm_alias_double.
24641
1cbd7bfe
AZ
246422017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24643
21bfcc3d
AZ
24644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24645 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24646 objects.
24647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24653
522228dd
AZ
24654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24655 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24656 objects.
24657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24663
2a6f4fab
AZ
24664 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24665 (libm-sysdep_routines): Add s_nearbyint-generic and
24666 s_nearbyintf-generic objects.
24667 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24668 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24669 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24670 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24671 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24672 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24673
712b5b83
AZ
24674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24675 Add s_finitef-generic and s_finite-generic objects.
24676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24682
c96d3335
AZ
24683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24684 Add s_isinff-generic and s_isinf-generic objects.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24691
c6862a23
AZ
24692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24693 Add s_isnanf-generic and s_isnan-generic objects.
24694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24700
1cbd7bfe
AZ
24701 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24702 macro.
24703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24704 rule.
24705 (sysdep_routines): Use sysdep_calls as base.
24706 (libm-sysdep_routines): Add generic rule for symbols shared with
24707 libc. Add s_signbit-generic and s_signbitf-generic objects.
24708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24714
aa1142c5
JM
247152017-11-29 Joseph Myers <joseph@codesourcery.com>
24716
24717 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24718 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24719 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24720 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24721 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24722 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24723 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24724 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24725 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24726 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24727 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24728 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24729 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24730 libm_alias_float_r.
24731 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24732 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24733 (logf): Likewise.
24734 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24735 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24736 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24737 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24738 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24739 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24740 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24741 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24742 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24743 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24744 libm_alias_float.
24745 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24746 (cosf): Likewise.
24747 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24748 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24749 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24750 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24751 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24752 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24753 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24754 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24755 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24756 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24757 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24758 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24759 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24760 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24761 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24762 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24763 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24764 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24765 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24766 libm_alias_float.
24767 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24768 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24769 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24770 * sysdeps/ia64/fpu/w_lgammaf_main.c
24771 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24772 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24773
363e4519
DL
247742017-11-28 Mike FABIAN <mfabian@redhat.com>
24775 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
24776
24777 [BZ #17750]
24778 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24779 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24780 accents sorting.
24781 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24782 sorting.
24783 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24784 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24785 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24786 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24787 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24788 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24789 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24790 instead of “ifdef DIACRIT_BACKWARD”.
24791
a55430cb
AZ
247922017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24793
24794 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24795 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24796 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24797 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24798 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24799 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24806 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24807 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24808 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24809 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24810 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24811 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24813 ($(have-as-vis3) == yes): Remove conditional.
24814 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24815 Likewise.
24816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24817 file.
24818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24819 file.
24820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24821 file.
24822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24823 file.
24824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24830 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24831 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24832
0609ec0a
JM
248332017-11-29 Joseph Myers <joseph@codesourcery.com>
24834
24835 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24836 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24837 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24838 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24839 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24840 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24841 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24842 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24843 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24844 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24845 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24846 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24847 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24848 libm_alias_double_r.
24849 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24850 (log): Likewise.
24851 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24852 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24853 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24854 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24855 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24856 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24857 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24858 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24859 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24860 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24861 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24862 libm_alias_double.
24863 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24864 (cos): Likewise.
24865 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24866 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24867 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24868 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24869 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24870 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24871 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24872 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24873 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24874 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24875 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24876 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24877 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24878 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24879 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24880 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24881 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24882 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24883 libm_alias_double.
24884 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24885 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24886 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24887 * sysdeps/ia64/fpu/w_lgamma_main.c
24888 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24889 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24890
d5bfa34a
JDA
248912017-11-28 John David Anglin <danglin@gcc.gnu.org>
24892
24893 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24894 address of $global$ into %dp register earlier. Use pc-relative
24895 instruction sequence for PIC case.
24896
bc4e8f9b
JM
248972017-11-28 Joseph Myers <joseph@codesourcery.com>
24898
e4602cba
JM
24899 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24900 (asinhf): Define using libm_alias_float.
24901 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24902 (atanf): Define using libm_alias_float.
24903 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24904 (cbrtf): Define using libm_alias_float.
24905 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24906 (ceilf): Define using libm_alias_float.
24907 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24908 (copysignf): Define using libm_alias_float.
24909 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24910 (expm1f): Define using libm_alias_float.
24911 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24912 (fabsf): Define using libm_alias_float.
24913 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24914 (floorf): Define using libm_alias_float.
24915 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24916 (fmaxf): Define using libm_alias_float.
24917 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24918 (fminf): Define using libm_alias_float.
24919 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24920 (frexpf): Define using libm_alias_float.
24921 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24922 (llrintf): Define using libm_alias_float.
24923 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24924 (logbf): Define using libm_alias_float.
24925 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24926 (lrintf): Define using libm_alias_float.
24927 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24928 (nearbyintf): Define using libm_alias_float.
24929 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24930 (remquof): Define using libm_alias_float.
24931 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24932 (rintf): Define using libm_alias_float.
24933 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24934 (truncf): Define using libm_alias_float.
24935 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24936 <libm-alias-float.h>.
24937 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24938 if [SHARED].
24939 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24940 <libm-alias-float.h>.
24941 (expf): Define using libm_alias_float, or libm_alias_float_other
24942 if [SHARED].
24943 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24944 <libm-alias-float.h>.
24945 (log2f): Define using libm_alias_float, or libm_alias_float_other
24946 if [SHARED].
24947 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24948 <libm-alias-float.h>.
24949 (logf): Define using libm_alias_float, or libm_alias_float_other
24950 if [SHARED].
24951 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24952 <libm-alias-float.h>.
24953 (powf): Define using libm_alias_float, or libm_alias_float_other
24954 if [SHARED].
24955 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24956 <libm-alias-float.h>.
24957 (cosf): Define using libm_alias_float.
24958 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24959 <libm-alias-float.h>.
24960 (sincosf): Define using libm_alias_float.
24961 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24962 <libm-alias-float.h>.
24963 (sinf): Define using libm_alias_float.
24964 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24965 (fmaxf): Define using libm_alias_float.
24966 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24967 (fminf): Define using libm_alias_float.
24968 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24969 <libm-alias-float.h>.
24970 (fmaf): Define using libm_alias_float.
24971
bc4e8f9b
JM
24972 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24973 (asinh): Define using libm_alias_double.
24974 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24975 (atan): Define using libm_alias_double.
24976 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24977 (cbrt): Define using libm_alias_double.
24978 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24979 (ceil): Define using libm_alias_double.
24980 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24981 (copysign): Define using libm_alias_double.
24982 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24983 (expm1): Define using libm_alias_double.
24984 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24985 (fabs): Define using libm_alias_double.
24986 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24987 (fdim): Define using libm_alias_double.
24988 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24989 (floor): Define using libm_alias_double.
24990 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24991 (fmax): Define using libm_alias_double.
24992 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24993 (fmin): Define using libm_alias_double.
24994 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24995 (frexp): Define using libm_alias_double.
24996 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24997 (llrint): Define using libm_alias_double.
24998 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24999 (logb): Define using libm_alias_double.
25000 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25001 (lrint): Define using libm_alias_double.
25002 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25003 (nearbyint): Define using libm_alias_double.
25004 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25005 (remquo): Define using libm_alias_double.
25006 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25007 (rint): Define using libm_alias_double.
25008 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25009 (trunc): Define using libm_alias_double.
25010 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25011 (fmax): Define using libm_alias_double.
25012 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25013 (fmin): Define using libm_alias_double.
25014 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25015 (fma): Define using libm_alias_double.
25016
8d81ce0c
L
250172017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25018
25019 [BZ #22370]
25020 * elf/dl-hwcaps.c (ROUND): Removed.
25021 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25022 and ELF_NOTE_NEXT_OFFSET.
25023 * elf/dl-load.c (ROUND): Removed.
25024 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25025 * elf/readelflib.c (ROUND): Removed.
25026 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25027 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25028 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25029 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25030
6940bd96
JM
250312017-11-28 Joseph Myers <joseph@codesourcery.com>
25032
313ba463
JM
25033 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25034 [!__fmaf] (fmaf): Define using libm_alias_float.
25035
6940bd96
JM
25036 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25037 [!__fma] (fma): Define using libm_alias_double.
25038 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25039
22c69b6a
MF
250402017-11-28 Mike FABIAN <mfabian@redhat.com>
25041
25042 [BZ #22336]
25043 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25044 and implement the collation rules for cs from CLDR on top of that.
25045 * Makefile: Add cs_CZ.UTF-8 to test-input.
25046 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25047
8d7d3ba8
SP
250482017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25049
25050 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25051
0422ed1e
VR
250522017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25053 Icarus Sparry <icarus.w.sparry@intel.com>
25054
25055 * benchtests/Makefile:Add BENCHSET to allow subsets of
25056 benchmarks to be run.
25057 * benchtests/README: Add documentation for: Running subsets of
25058 benchmarks.
25059
0595e360
VR
250602017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25061
d5090db3
VR
25062 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25063 range of tests names.
25064
0595e360
VR
25065 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25066 result from property and remove "max", min" and "mean" from
25067 required properties based on benchtests/bench-skeleton.c.
25068
b4c645c2
FW
250692017-11-28 Florian Weimer <fweimer@redhat.com>
25070
25071 [BZ #20826]
25072 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25073 due to Internet requirement.
25074 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25075 tst-getaddrinfo5.
25076 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25077
88684de7
AZ
250782017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25079
69056564
AZ
25080 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25081 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25082 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25083 (sysdep_routines): Add memset-ultra1.
25084 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25085 file.
25086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25087 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25088 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25089 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25090 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25091 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25092 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25093 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25094
88684de7
AZ
25095 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25096 file.
25097 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25098 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25099 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25100 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25101 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25102 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25103 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25104 macro.
25105 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25106 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25107 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25108 (sysdep_routines): Add memcpy-ultra1.
25109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25110 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25111
d8124864
JM
251122017-11-28 Joseph Myers <joseph@codesourcery.com>
25113
f433d0b3
JM
25114 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25115 (cfloat_versions): Take function argument without trailing 'f'.
25116 Call libm_alias_float_other.
25117 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25118 * sysdeps/alpha/fpu/cargf.c: Likewise.
25119 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25120 * sysdeps/alpha/fpu/conjf.c: Likewise.
25121 * sysdeps/alpha/fpu/crealf.c: Likewise.
25122 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25123 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25124 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25125 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25126 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25127 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25128 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25129 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25130 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25131 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25132 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25133 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25134 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25135 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25136 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25137 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25138 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25139 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25140 (clog10f): Use libm_alias_float_other.
25141 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25142 (ceilf): Define using libm_alias_float.
25143 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25144 (copysignf): Define using libm_alias_float.
25145 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25146 (fabsf): Define using libm_alias_float.
25147 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25148 (floorf): Define using libm_alias_float.
25149 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25150 (fmaxf): Define using libm_alias_float.
25151 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25152 (fminf): Define using libm_alias_float.
25153 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25154 (lrintf): Define using libm_alias_float.
25155 (llrintf): Likewise.
25156 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25157 (lroundf): Define using libm_alias_float.
25158 (llroundf): Likewise.
25159 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25160 (rintf): Define using libm_alias_float.
25161 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25162 (truncf): Define using libm_alias_float.
25163
15ff4900
JM
25164 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25165 (ceilf): Define using libm_alias_float.
25166 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25167 (floorf): Define using libm_alias_float.
25168 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25169 (fmaf): Define using libm_alias_float.
25170 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25171 (fmaxf): Define using libm_alias_float.
25172 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25173 (fminf): Define using libm_alias_float.
25174 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25175 (llrintf): Define using libm_alias_float.
25176 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25177 (llroundf): Define using libm_alias_float.
25178 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25179 (lrintf): Define using libm_alias_float.
25180 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25181 (lroundf): Define using libm_alias_float.
25182 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25183 <libm-alias-float.h>.
25184 (nearbyintf): Define using libm_alias_float.
25185 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25186 (rintf): Define using libm_alias_float.
25187 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25188 (roundf): Define using libm_alias_float.
25189 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25190 (truncf): Define using libm_alias_float.
25191
5de60638
JM
25192 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25193 (ceil): Define using libm_alias_double.
25194 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25195 (copysign): Define using libm_alias_double.
25196 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25197 (fabs): Define using libm_alias_double.
25198 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25199 (floor): Define using libm_alias_double.
25200 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25201 (fmax): Define using libm_alias_double.
25202 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25203 (fmin): Define using libm_alias_double.
25204 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25205 (lrint): Define using libm_alias_double.
25206 (llrint): Likewise.
25207 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25208 (lround): Define using libm_alias_double.
25209 (llround): Likewise.
25210 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25211 (rint): Define using libm_alias_double.
25212 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25213 (trunc): Define using libm_alias_double.
25214
d8124864
JM
25215 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25216 (libm_alias_double_r): Add semicolon after weak_alias call.
25217
f07d2ec8
JM
252182017-11-27 Joseph Myers <joseph@codesourcery.com>
25219
25220 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25221 (ceil): Define using libm_alias_double.
25222 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25223 (floor): Define using libm_alias_double.
25224 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25225 (fma): Define using libm_alias_double.
25226 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25227 (fmax): Define using libm_alias_double.
25228 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25229 (fmin): Define using libm_alias_double.
25230 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25231 (llrint): Define using libm_alias_double.
25232 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25233 (llround): Define using libm_alias_double.
25234 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25235 (lrint): Define using libm_alias_double.
25236 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25237 (lround): Define using libm_alias_double.
25238 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25239 (nearbyint): Define using libm_alias_double.
25240 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25241 (rint): Define using libm_alias_double.
25242 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25243 (round): Define using libm_alias_double.
25244 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25245 (trunc): Define using libm_alias_double.
25246
4bab0224
FW
252472017-11-27 Florian Weimer <fweimer@redhat.com>
25248
25249 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25250 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25251 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25252 (tests): Add tst-mlock2.
25253 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25254 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25255 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25256 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25257 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25258 for mlock. Document mlock2.
25259
a23aa5b7
JM
252602017-11-27 Joseph Myers <joseph@codesourcery.com>
25261
25262 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25263 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25264 Likewise.
25265 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25266 Likewise.
25267 * sysdeps/x86/Makeconfig: New file.
25268 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25269 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25270 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25271 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25272 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25273 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25274 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25275 Likewise.
25276 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25277 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25278 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25279 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25280 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25281 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25282 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25283 * manual/math.texi (Mathematics): Document support for _Float64x.
25284 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25285 * stdlib/Versions (GLIBC_2.27): Likewise.
25286 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25287 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25288 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25289 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25290 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25291 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25292 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25293 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25294 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25295 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25296 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25297 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25299 Likewise.
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25301 Likewise.
25302 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25311 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25314 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25315 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25316
c2c299fd
AS
253172017-11-27 Andreas Schwab <schwab@suse.de>
25318
25319 * elf/Makefile (dl-routines): Add dl-sort-maps.
25320 * elf/dl-sort-maps.c: New file.
25321 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25322 (_dl_sort_maps): Declare.
25323 * elf/dl-fini.c (_dl_sort_fini): Remove.
25324 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25325 * elf/dl-close.c (_dl_close_worker): Likewise.
25326 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25327 open-coding it.
25328 * elf/dl-open.c (dl_open_worker): Likewise.
25329
9d4b0117
JM
253302017-11-24 Joseph Myers <joseph@codesourcery.com>
25331
de61465c
JM
25332 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25333 using libm_alias_float128.
25334 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25335 Likewise.
25336 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25337 Likewise.
25338 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25339 (setpayloadsigf128): Likewise.
25340 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25341 Likewise.
25342 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25343 Likewise.
25344
9ae6d171
JM
25345 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25346 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25347 -mfloat128 to CFLAGS.
25348 ($(foreach
25349 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25350 Likewise.
25351 (CFLAGS-libm-test-support-float64x.c): New variable.
25352 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25353 $(f128-loader-link) to gnulib-tests.
25354
6e70d156
JM
25355 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25356 (libm_alias_float128_other_r): If
25357 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25358 alias.
25359 (libm_alias_float128_r): Add semicolon after weak_alias call.
25360 * sysdeps/generic/libm-alias-ldouble.h
25361 (libm_alias_ldouble_other_r_f128): New macro.
25362 (libm_alias_ldouble_other_r_f64x): Likewise.
25363 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25364 and libm_alias_ldouble_other_r_f64x.
25365 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25366 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25367 (libm_alias_ldouble_other_r_f128): New macro.
25368 (libm_alias_ldouble_other_r_f64x): Likewise.
25369 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25370 and libm_alias_ldouble_other_r_f64x.
25371
df2806cd
JM
25372 * stdlib/strfroml.c: Always include <stdlib.h>.
25373 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25374 undefine as macro and define as weak alias.
25375 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25376 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25377 <stdlib.h>.
25378 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25379 Define and later undefine as macro and define as weak alias.
25380
0df4fe35
JM
25381 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25382 Define and later undefine as macro. Define as weak alias if
25383 [!USE_WIDE_CHAR].
25384 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25385 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25386 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25387 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25388 Define and later undefine as macro. Define as weak alias if
25389 [!USE_WIDE_CHAR].
25390 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25391 Define and later undefine as macro. Define as weak alias if
25392 [USE_WIDE_CHAR].
25393 * sysdeps/ieee754/float128/strtof128_l.c
25394 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25395 Define and later undefine as macro. Define as weak alias if
25396 [!USE_WIDE_CHAR].
25397 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25398 Define and later undefine as macro. Define as weak alias if
25399 [USE_WIDE_CHAR].
25400 * sysdeps/ieee754/ldbl-128/strtold_l.c
25401 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25402 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25403 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25404 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25405 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25406 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25407 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25408 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25409 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25410 * sysdeps/ieee754/ldbl-96/strtold_l.c
25411 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25412 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25413 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25414 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25415
ae7207d0
JM
25416 * math/test-float64x.h: New file.
25417 * math/Makefile (type-float64x-yes): New variable.
25418 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25419
9596fc69
JM
25420 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25421 function-like macro.
25422 (min_of_type_): Likewise.
25423 (min_of_type_l): Likewise.
25424 (min_of_type_f128): Likewise.
25425 (min_of_type): Pass () as last argument of __MATH_TG.
25426
46453c3c
JM
25427 * stdlib/tst-strtod-round-skeleton.c
25428 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25429 headers.
25430
01e659e7
JM
25431 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25432 for combinations of long double with _Float64 and _Float64x.
25433
5c60afdd
JM
25434 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25435 (__DECL_SIMD_cosf32): Likewise.
25436 (__DECL_SIMD_cosf64): Likewise.
25437 (__DECL_SIMD_cosf32x): Likewise.
25438 (__DECL_SIMD_cosf64x): Likewise.
25439 (__DECL_SIMD_cosf128x): Likewise.
25440 (__DECL_SIMD_sinf16): Likewise.
25441 (__DECL_SIMD_sinf32): Likewise.
25442 (__DECL_SIMD_sinf64): Likewise.
25443 (__DECL_SIMD_sinf32x): Likewise.
25444 (__DECL_SIMD_sinf64x): Likewise.
25445 (__DECL_SIMD_sinf128x): Likewise.
25446 (__DECL_SIMD_sincosf16): Likewise.
25447 (__DECL_SIMD_sincosf32): Likewise.
25448 (__DECL_SIMD_sincosf64): Likewise.
25449 (__DECL_SIMD_sincosf32x): Likewise.
25450 (__DECL_SIMD_sincosf64x): Likewise.
25451 (__DECL_SIMD_sincosf128x): Likewise.
25452 (__DECL_SIMD_logf16): Likewise.
25453 (__DECL_SIMD_logf32): Likewise.
25454 (__DECL_SIMD_logf64): Likewise.
25455 (__DECL_SIMD_logf32x): Likewise.
25456 (__DECL_SIMD_logf64x): Likewise.
25457 (__DECL_SIMD_logf128x): Likewise.
25458 (__DECL_SIMD_expf16): Likewise.
25459 (__DECL_SIMD_expf32): Likewise.
25460 (__DECL_SIMD_expf64): Likewise.
25461 (__DECL_SIMD_expf32x): Likewise.
25462 (__DECL_SIMD_expf64x): Likewise.
25463 (__DECL_SIMD_expf128x): Likewise.
25464 (__DECL_SIMD_powf16): Likewise.
25465 (__DECL_SIMD_powf32): Likewise.
25466 (__DECL_SIMD_powf64): Likewise.
25467 (__DECL_SIMD_powf32x): Likewise.
25468 (__DECL_SIMD_powf64x): Likewise.
25469 (__DECL_SIMD_powf128x): Likewise.
25470
9d4b0117
JM
25471 * stdlib/Versions (libc): Move entries for wcstof128 and
25472 wcstof128_l to ....
25473 * wcsmbs/Versions (libc): ... here.
25474 Include <float128-abi.h>.
25475
7911dd47
FW
254762017-11-24 Florian Weimer <fweimer@redhat.com>
25477
25478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25479 bits/mman-shared.h.
25480 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25481 <bits/mman-shared.h>.
25482 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25483 to ...
25484 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25485 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25486 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25487 <bits/mman-shared.h>.
25488
c45d78aa
AZ
254892017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25490
25491 [BZ #22457]
25492 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25493 posix_memalign/free.
25494 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25495
3ffc4cc1
MF
254962017-11-22 Mike FABIAN <mfabian@redhat.com>
25497
25498 [BZ #22469]
25499 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25500 and implement the collation rules for pl from CLDR on top of that.
25501 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25502 of locales to be built for testing.
25503 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25504
3a327316
JM
255052017-11-23 Joseph Myers <joseph@codesourcery.com>
25506
25507 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25508 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25509 libm_alias_ldouble_other.
25510 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25511 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25512 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25513 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25514 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25515 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25516 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25517 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25518 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25519 libm_alias_ldouble_r.
25520 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25521 libm_alias_ldouble_other.
25522 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25523 (log10l): Likewise.
25524 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25525 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25526 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25527 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25528 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25529 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25530 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25531 (atan2l): Likewise.
25532 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25533 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25534 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25535 libm_alias_ldouble.
25536 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25537 (cosl): Likewise.
25538 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25539 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25540 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25541 (expl): Likewise.
25542 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25543 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25544 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25545 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25546 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25547 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25548 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25549 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25550 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25551 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25552 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25553 libm_alias_ldouble.
25554 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25555 libm_alias_ldouble_other.
25556 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25557 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25558 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25559 libm_alias_ldouble.
25560 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25561 libm_alias_ldouble_other.
25562 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25563 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25564 * sysdeps/ia64/fpu/w_lgammal_main.c
25565 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25566 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25567
0a947e06
FW
255682017-11-23 Florian Weimer <fweimer@redhat.com>
25569
25570 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25571 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25572 alike. Remove freeres marker.
25573 * malloc/arena.c (arena_thread_freeres): Call
25574 tcache_thread_shutdown.
25575
67f36c79
FW
255762017-11-23 Florian Weimer <fweimer@redhat.com>
25577
25578 [BZ #22459]
25579 Export nscd hash function as __nss_hash.
25580 * include/nss.h (__nss_hash): Declare.
25581 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25582 symbol.
25583 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25584 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25585 of __nscd_hash.
25586 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25587 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25588 * nss/Makefiles (routines): Add nss_hash.
25589 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25590 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25591 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25592 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25593
cccb6d4e
FW
255942017-11-23 Florian Weimer <fweimer@redhat.com>
25595
25596 [BZ #22478]
25597 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25598 Return error code, not -1.
25599 * signal/tst-sigwait-eintr.c: New file.
25600 * signal/Makefile (tests): Add tst-sigwait-eintr.
25601
59d2cbb1
FW
256022017-11-23 Florian Weimer <fweimer@redhat.com>
25603
25604 Linux: Add memfd_create system call wrapper
25605 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25606 tst-memfd_create.
25607 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25608 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25609 [__USE_GNU] (memfd_create): Declare.
25610 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25611 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25612 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25613 * sysdeps/unix/sysv/linux/**.abilist: Update.
25614 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25615
a90d1ac2
JM
256162017-11-22 Joseph Myers <joseph@codesourcery.com>
25617
0a9d1d62
JM
25618 * localedata/gen-locale.sh: Fix typo in variable name.
25619
754034c4
JM
25620 * resolv/res_debug.c (p_secstodate): Condition definition on
25621 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25622 directly as __p_secstodate, and as a compat symbol. Do not use
25623 libresolv_hidden_def.
25624 * resolv/resolv.h (p_secstodate): Remove macro and function
25625 declaration.
25626 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25627 using p_secstodate.
25628 * include/resolv.h (__p_secstodate): Do not use
25629 libresolv_hidden_proto.
25630 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25631 (tests-internal): ... here.
25632 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25633 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25634 and declare and use __p_secstodate and use compat_symbol_reference
25635 in that case.
25636 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25637 implementation returning 77.
25638
f120cda6
JM
25639 [BZ #22463]
25640 * resolv/res_debug.c: Include <libc-diag.h>.
25641 (p_secstodate): Assert time_t at least as wide as u_long. On
25642 overflow, use integer seconds since the epoch as output, or use
25643 "<overflow>" as output and set errno to EOVERFLOW if integer
25644 seconds since the epoch would be 14 or more characters.
25645 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25646 for sprintf call.
25647 * resolv/tst-p_secstodate.c: New file.
25648 * resolv/Makefile (tests): Add tst-p_secstodate.
25649 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25650
a90d1ac2
JM
25651 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25652 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25653 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25654
0285e6bd
PE
256552017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25656
25657 * posix/regcomp.c (init_word_char): Add comments.
25658
4bae6150
JM
256592017-11-22 Joseph Myers <joseph@codesourcery.com>
25660
25661 [BZ #22447]
25662 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25663 strlen to compute length of ut_user and set trailing NUL byte of
25664 result explicitly.
25665
4b7af5fc
MF
256662017-11-21 Mike FABIAN <mfabian@redhat.com>
25667
25668 [BZ #15537]
25669 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25670 using “copy "iso14651_t1"” and then implementing the
25671 collation rules for lv from CLDR on top of that.
25672 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25673 of locales to be built for testing.
25674 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25675 sorting.
25676
922bb78c
JM
256772017-11-21 Joseph Myers <joseph@codesourcery.com>
25678
25679 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25680 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25681 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25682 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25683 [__USE_MISC] (MADV_HWPOISON): New macro.
25684 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25685
a3aaa598
AZ
256862017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25687
25688 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25689 -Wmissing-braces on GCC 4.9.
25690
8beba15d
SL
256912017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25692
25693 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25694 * sysdeps/s390/s390-32/start.S (_start): Likewise
25695 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25696 (thread_start): Likewise.
25697 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25698 (thread_start): Likewise.
25699 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25700 (__makecontext_ret): Likewise.
25701 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25702 (__makecontext_ret): Likewise.
25703
80eb52e3
SL
257042017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25705
25706 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25707 __wcschrnul): Remove attribute_hidden.
25708
567d8c1f
PE
257092017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25710
25711 regex: don't assume uint64_t or uint32_t
25712 This avoids -Werror=overflow errors for 32-bit systems in
25713 the 64-bit case. Problem reported by Joseph Myers in:
25714 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25715 Also, when this code is used in Gnulib it ports to platforms
25716 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25717 them, and on some 32-bit compilers there is no uint64_t.
25718 Problem reported by Gianluigi Tiesi in:
25719 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25720 * posix/regcomp.c (init_word_char): Don't assume that the types
25721 uint64_t and uint32_t exist. Adapted from Gnulib patch
25722 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25723 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25724
4d7632ff
SP
257252017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25726
5a67c4fa
SP
25727 * sysdeps/aarch64/memset-reg.h: New file.
25728 * sysdeps/aarch64/memset.S: Use it.
25729 (__memset): Rename to MEMSET macro.
25730 [ZVA_MACRO]: Use zva_macro.
25731 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25732 Add memset_generic and memset_falkor.
25733 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25734 (__libc_ifunc_impl_list): Add memset ifuncs.
25735 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25736 local variable zva_size.
25737 * sysdeps/aarch64/multiarch/memset.c: New file.
25738 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25739 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25740 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25741 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25742 (DCZID_DZP_MASK): New macro.
25743 (DCZID_BS_MASK): Likewise.
25744 (init_cpu_features): Read and set zva_size.
25745 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25746 (struct cpu_features): New member zva_size.
25747
eb332f9f
SP
25748 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25749 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25750 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25751
4d7632ff
SP
25752 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25753 backwards. Fix timing computation.
25754 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25755 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25756 on memset by N at a time. Fix timing computation.
25757
a465b89e
FW
257582017-11-20 Florian Weimer <fweimer@redhat.com>
25759
25760 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25761 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25762
0f74bbf5
FW
257632017-11-19 Florian Weimer <fweimer@redhat.com>
25764
25765 manual: Document mprotect
25766 * manual/memory.texi (Memory Protection): New section.
25767 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25768 documentation of PROT_* flags and reference the Memory Protection
25769 section instead.
25770
f6e965ee
FW
257712017-11-19 Florian Weimer <fweimer@redhat.com>
25772
25773 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25774 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25775 (Scatter-Gather): ... to here. Remove misleading comment.
25776
363e4519 257772017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 25778
5f9d1949
CB
25779 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25780 style.
25781
ea69a5c8
CB
25782 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25783 when /proc/<pid>/setgroups does not exist.
25784
8db7f48c
FW
257852017-11-18 Florian Weimer <fweimer@redhat.com>
25786
25787 * sysdeps/unix/sysv/linux/tst-ttyname.c
25788 (become_root_in_mount_ns): Remove.
25789 (do_in_chroot_1): Call support_enter_mount_namespace.
25790 (do_in_chroot_2): Likewise.
25791 (do_test): Call support_become_root early.
25792
273a0c49
FW
257932017-11-18 Florian Weimer <fweimer@redhat.com>
25794
25795 * support/namespace.h (support_enter_mount_namespace): Declare.
25796 * support/support_enter_mount_namespace.c: New file.
25797 * support/Makefile (libsupport-routines): Add
25798 support_enter_mount_namespace.
25799
8adfb0ee
FW
258002017-11-18 Florian Weimer <fweimer@redhat.com>
25801
25802 * support/temp_file.c (support_create_temp_directory): Use
25803 test_dir and do not rely on the presence of the XXXXXX suffix.
25804 * support/temp_file.h (support_create_temp_directory): Update
25805 comment.
25806 * support/tst-xreadlink.c (do_test): Adjust.
25807 * support/support_chroot.c (support_chroot_create): Likewise.
25808
df0c40ee
TMQMF
258092017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25810
25811 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25812 macro.
25813 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25814 htm-no-suspend.
25815
015c6dc2
JM
258162017-11-17 Joseph Myers <joseph@codesourcery.com>
25817
f58e5f48
JM
25818 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25819 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25820 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25821 (ceill): Define using libm_alias_ldouble.
25822 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25823 <libm-alias-ldouble.h>.
25824 (copysignl): Define using libm_alias_ldouble.
25825 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25826 (fabsl): Define using libm_alias_ldouble.
25827 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25828 (floorl): Define using libm_alias_ldouble.
25829 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25830 (fmaxl): Define using libm_alias_ldouble.
25831 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25832 (fminl): Define using libm_alias_ldouble.
25833 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25834 (llrintl): Define using libm_alias_ldouble.
25835 (lrintl): Likewise.
25836 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25837 <libm-alias-ldouble.h>.
25838 (nearbyintl): Define using libm_alias_ldouble.
25839 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25840 (truncl): Define using libm_alias_ldouble.
25841 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25842 <libm-alias-ldouble.h>.
25843 (lrintl): Define using libm_alias_ldouble.
25844
2ce30701
JM
25845 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25846 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25847 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25848 (asinhl): Define using libm_alias_ldouble.
25849 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25850 (atanl): Define using libm_alias_ldouble.
25851 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25852 (cbrtl): Define using libm_alias_ldouble.
25853 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25854 (ceill): Define using libm_alias_ldouble.
25855 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25856 (copysignl): Define using libm_alias_ldouble.
25857 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25858 (fabsl): Define using libm_alias_ldouble.
25859 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25860 (floorl): Define using libm_alias_ldouble.
25861 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25862 (fmaxl): Define using libm_alias_ldouble.
25863 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25864 (fminl): Define using libm_alias_ldouble.
25865 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25866 (frexpl): Define using libm_alias_ldouble.
25867 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25868 (llrintl): Define using libm_alias_ldouble.
25869 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25870 (logbl): Define using libm_alias_ldouble.
25871 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25872 (lrintl): Define using libm_alias_ldouble.
25873 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25874 (nearbyintl): Define using libm_alias_ldouble.
25875 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25876 (nextafterl): Define using libm_alias_ldouble.
25877 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25878 (remquol): Define using libm_alias_ldouble.
25879 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25880 (rintl): Define using libm_alias_ldouble.
25881 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25882 (truncl): Define using libm_alias_ldouble.
25883 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25884 (fmaxl): Define using libm_alias_ldouble.
25885 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25886 (fminl): Define using libm_alias_ldouble.
25887
015c6dc2
JM
25888 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25889 to C syntax instead of availability and properties of types.
25890 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25891 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25892 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25893 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25894 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25895 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25896
ce003e5d
FW
258972017-11-17 Florian Weimer <fweimer@redhat.com>
25898
25899 support_become_root: Enable file creation in namespaces.
25900 * support/support_become_root.c (setup_mapping): New function.
25901 (support_become_root): Call it.
25902
e7df6c5c
JM
259032017-11-17 Joseph Myers <joseph@codesourcery.com>
25904
25905 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25906 macro.
25907
58a813bf
AZ
259082017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25909
25910 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25911 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25912
f97773d1
JM
259132017-11-16 Joseph Myers <joseph@codesourcery.com>
25914
6a6aa1f3
JM
25915 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25916
f97773d1
JM
25917 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25918 version to 4.14.
25919
a306c790
SP
259202017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25921
7b0fb870
SP
25922 * INSTALL: Fix botched up regeneration.
25923
25924 * NEWS: Update sourceare link to https.
a306c790
SP
25925 * configure.ac: Likewise.
25926 * crypt/md5test-giant.c: Likewise.
25927 * dlfcn/bug-atexit1.c: Likewise.
25928 * dlfcn/bug-atexit2.c: Likewise.
25929 * localedata/README: Likewise.
25930 * malloc/tst-mallocfork.c: Likewise.
25931 * manual/install.texi: Likewise.
25932 * nptl/tst-pthread-getattr.c: Likewise.
25933 * stdio-common/tst-fgets.c: Likewise.
25934 * stdio-common/tst-fwrite.c: Likewise.
25935 * sunrpc/Makefile: Likewise.
25936 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25937 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
25938 * configure: Regenerate.
25939 * INSTALL: Regenerate.
a306c790 25940
7532837d
MS
259412017-11-15 Martin Sebor <msebor@redhat.com>
25942
25943 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25944 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25945 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25946
495a56fd
LS
259472017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25948
d9611e30
LS
25949 [BZ #22145]
25950 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25951 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25952
a09dfc19
LS
25953 [BZ #22145]
25954 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25955 Defer is_pty check until end of the function.
25956 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25957
2fbce9c2
LS
25958 [BZ #22145]
25959 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25960 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25961 (ttyname): Likewise.
25962 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25963 (__ttyname_r): Likewise.
25964
d10d6cab
LS
25965 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25966 int to bool.
25967
9b5a8750
LS
25968 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25969
495a56fd
LS
25970 * manual/terminal.texi (Is It a Terminal):
25971 Mention ENODEV for ttyname and ttyname_r.
25972
fa680dc6
JM
259732017-11-15 Joseph Myers <joseph@codesourcery.com>
25974
78cde19f
JM
25975 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25976 constant and macro.
25977
fa680dc6
JM
25978 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25979 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25980 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25981 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25982 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25983 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25984
ad4f43a2
AZ
259852017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25986
1ba1d8a4
AZ
25987 * signal/sigrelse.c (sigrelse): Optimize implementation.
25988
ad4f43a2
AZ
25989 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25990 (__sigpause): Rely on __sigsuspend to implement single thread
25991 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25992
d0212d42
JM
259932017-11-15 Joseph Myers <joseph@codesourcery.com>
25994
25995 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25996 kernel version to 4.14.
25997
2180fee1
SE
259982017-11-15 Steve Ellcey <sellcey@cavium.com>
25999
26000 [BZ #22442]
26001 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26002 Check if ifname is too long.
26003
cad7ca39
LS
260042017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26005
26006 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26007
58c9f659
MF
260082017-11-15 Mike FABIAN <mfabian@redhat.com>
26009
26010 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26011 was accidentally lost.
26012
0fa87c01
MF
260132017-11-15 Mike FABIAN <mfabian@redhat.com>
26014
26015 * localedata/locales/az_IR: Add standard copyright header.
26016
34eb4157
FW
260172017-11-15 Florian Weimer <fweimer@redhat.com>
26018
26019 [BZ #22439]
26020 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26021 not just the top one. Output a new "subheaps" statistic.
26022
7a9368a1
FW
260232017-11-15 Florian Weimer <fweimer@redhat.com>
26024
26025 [BZ #22408]
26026 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26027 under the per-arena lock.
26028 * malloc/Makefile (tests): Add tst-malloc_info.
26029 (tst-malloc_info): Link with libpthread.
26030 * malloc/tst-malloc_info.c: New file.
26031
be3a79a3
JM
260322017-11-15 Joseph Myers <joseph@codesourcery.com>
26033
26034 [BZ #21660]
26035 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26036 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26037 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26038 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26039 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26040 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26041 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26042 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26043 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26044 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26045 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26046 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26047 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26048 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26049 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26050 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26051 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26052 (__floating_type): Likewise.
26053 (__real_integer_type): Likewise.
26054 (__complex_integer_type): Likewise.
26055 (__expr_is_real): Likewise.
26056 (__tgmath_real_type_sub): Likewise.
26057 (__tgmath_real_type): Likewise.
26058 (__tgmath_complex_type_sub): Likewise.
26059 (__tgmath_complex_type): Likewise.
26060 (__TGMATH_F128): Likewise.
26061 (__TGMATH_CF128): Likewise.
26062 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26063 new macros.
26064 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26065 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26066 Likewise.
26067 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26068 Likewise.
26069 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26070 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26071 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26072 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26073 Likewise.
26074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26076 Likewise.
26077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26080 Likewise.
26081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26082 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26083 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26084 (cimag): Likewise.
26085 (creal): Likewise.
26086
ec72135e
JM
260872017-11-14 Joseph Myers <joseph@codesourcery.com>
26088
2e64ec9c
JM
26089 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26090 for stpncpy calls for GCC 8.
26091 (test_strncat): Disable -Wstringop-truncation warning for strncat
26092 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26093 strncat call for GCC 7.
26094 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26095 calls for GCC 8.
26096 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26097 trailing NUL.
26098
ec72135e
JM
26099 * string/bug-strncat1.c: Include <libc-diag.h>.
26100 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26101
363e4519 261022017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
26103
26104 [BZ #22387]
26105 * localedata/locales/aa_DJ: Improved readibility by replacing
26106 <Uxxxx> sequences in the ASCII printable range by their ASCII
26107 character equivalents.
26108 * localedata/locales/aa_ER: Likewise.
26109 * localedata/locales/aa_ER@saaho: Likewise.
26110 * localedata/locales/aa_ET: Likewise.
26111 * localedata/locales/af_ZA: Likewise.
26112 * localedata/locales/agr_PE: Likewise.
26113 * localedata/locales/ak_GH: Likewise.
26114 * localedata/locales/am_ET: Likewise.
26115 * localedata/locales/anp_IN: Likewise.
26116 * localedata/locales/ar_AE: Likewise.
26117 * localedata/locales/ar_BH: Likewise.
26118 * localedata/locales/ar_DZ: Likewise.
26119 * localedata/locales/ar_EG: Likewise.
26120 * localedata/locales/ar_IN: Likewise.
26121 * localedata/locales/ar_IQ: Likewise.
26122 * localedata/locales/ar_JO: Likewise.
26123 * localedata/locales/ar_KW: Likewise.
26124 * localedata/locales/ar_LB: Likewise.
26125 * localedata/locales/ar_LY: Likewise.
26126 * localedata/locales/ar_MA: Likewise.
26127 * localedata/locales/ar_OM: Likewise.
26128 * localedata/locales/ar_QA: Likewise.
26129 * localedata/locales/ar_SA: Likewise.
26130 * localedata/locales/ar_SD: Likewise.
26131 * localedata/locales/ar_SS: Likewise.
26132 * localedata/locales/ar_SY: Likewise.
26133 * localedata/locales/ar_TN: Likewise.
26134 * localedata/locales/ar_YE: Likewise.
26135 * localedata/locales/as_IN: Likewise.
26136 * localedata/locales/ast_ES: Likewise.
26137 * localedata/locales/ayc_PE: Likewise.
26138 * localedata/locales/az_AZ: Likewise.
26139 * localedata/locales/az_IR: Likewise.
26140 * localedata/locales/be_BY: Likewise.
26141 * localedata/locales/be_BY@latin: Likewise.
26142 * localedata/locales/bem_ZM: Likewise.
26143 * localedata/locales/ber_DZ: Likewise.
26144 * localedata/locales/ber_MA: Likewise.
26145 * localedata/locales/bg_BG: Likewise.
26146 * localedata/locales/bhb_IN: Likewise.
26147 * localedata/locales/bho_IN: Likewise.
26148 * localedata/locales/bi_VU: Likewise.
26149 * localedata/locales/bn_BD: Likewise.
26150 * localedata/locales/bn_IN: Likewise.
26151 * localedata/locales/bo_CN: Likewise.
26152 * localedata/locales/bo_IN: Likewise.
26153 * localedata/locales/br_FR: Likewise.
26154 * localedata/locales/brx_IN: Likewise.
26155 * localedata/locales/bs_BA: Likewise.
26156 * localedata/locales/byn_ER: Likewise.
26157 * localedata/locales/ca_AD: Likewise.
26158 * localedata/locales/ca_ES: Likewise.
26159 * localedata/locales/ca_FR: Likewise.
26160 * localedata/locales/ca_IT: Likewise.
26161 * localedata/locales/ce_RU: Likewise.
26162 * localedata/locales/chr_US: Likewise.
26163 * localedata/locales/cmn_TW: Likewise.
26164 * localedata/locales/crh_UA: Likewise.
26165 * localedata/locales/cs_CZ: Likewise.
26166 * localedata/locales/csb_PL: Likewise.
26167 * localedata/locales/cv_RU: Likewise.
26168 * localedata/locales/cy_GB: Likewise.
26169 * localedata/locales/da_DK: Likewise.
26170 * localedata/locales/de_AT: Likewise.
26171 * localedata/locales/de_BE: Likewise.
26172 * localedata/locales/de_CH: Likewise.
26173 * localedata/locales/de_DE: Likewise.
26174 * localedata/locales/de_IT: Likewise.
26175 * localedata/locales/de_LI: Likewise.
26176 * localedata/locales/de_LU: Likewise.
26177 * localedata/locales/doi_IN: Likewise.
26178 * localedata/locales/dv_MV: Likewise.
26179 * localedata/locales/dz_BT: Likewise.
26180 * localedata/locales/el_CY: Likewise.
26181 * localedata/locales/el_GR: Likewise.
26182 * localedata/locales/en_AG: Likewise.
26183 * localedata/locales/en_AU: Likewise.
26184 * localedata/locales/en_BW: Likewise.
26185 * localedata/locales/en_CA: Likewise.
26186 * localedata/locales/en_DK: Likewise.
26187 * localedata/locales/en_GB: Likewise.
26188 * localedata/locales/en_HK: Likewise.
26189 * localedata/locales/en_IE: Likewise.
26190 * localedata/locales/en_IL: Likewise.
26191 * localedata/locales/en_IN: Likewise.
26192 * localedata/locales/en_NG: Likewise.
26193 * localedata/locales/en_NZ: Likewise.
26194 * localedata/locales/en_PH: Likewise.
26195 * localedata/locales/en_SG: Likewise.
26196 * localedata/locales/en_US: Likewise.
26197 * localedata/locales/en_ZA: Likewise.
26198 * localedata/locales/en_ZM: Likewise.
26199 * localedata/locales/en_ZW: Likewise.
26200 * localedata/locales/eo: Likewise.
26201 * localedata/locales/es_AR: Likewise.
26202 * localedata/locales/es_BO: Likewise.
26203 * localedata/locales/es_CL: Likewise.
26204 * localedata/locales/es_CO: Likewise.
26205 * localedata/locales/es_CR: Likewise.
26206 * localedata/locales/es_CU: Likewise.
26207 * localedata/locales/es_DO: Likewise.
26208 * localedata/locales/es_EC: Likewise.
26209 * localedata/locales/es_ES: Likewise.
26210 * localedata/locales/es_GT: Likewise.
26211 * localedata/locales/es_HN: Likewise.
26212 * localedata/locales/es_MX: Likewise.
26213 * localedata/locales/es_NI: Likewise.
26214 * localedata/locales/es_PA: Likewise.
26215 * localedata/locales/es_PE: Likewise.
26216 * localedata/locales/es_PR: Likewise.
26217 * localedata/locales/es_PY: Likewise.
26218 * localedata/locales/es_SV: Likewise.
26219 * localedata/locales/es_US: Likewise.
26220 * localedata/locales/es_UY: Likewise.
26221 * localedata/locales/es_VE: Likewise.
26222 * localedata/locales/et_EE: Likewise.
26223 * localedata/locales/eu_ES: Likewise.
26224 * localedata/locales/eu_ES@euro: Likewise.
26225 * localedata/locales/fa_IR: Likewise.
26226 * localedata/locales/ff_SN: Likewise.
26227 * localedata/locales/fi_FI: Likewise.
26228 * localedata/locales/fil_PH: Likewise.
26229 * localedata/locales/fo_FO: Likewise.
26230 * localedata/locales/fr_BE: Likewise.
26231 * localedata/locales/fr_CA: Likewise.
26232 * localedata/locales/fr_CH: Likewise.
26233 * localedata/locales/fr_FR: Likewise.
26234 * localedata/locales/fr_LU: Likewise.
26235 * localedata/locales/fur_IT: Likewise.
26236 * localedata/locales/fy_DE: Likewise.
26237 * localedata/locales/fy_NL: Likewise.
26238 * localedata/locales/ga_IE: Likewise.
26239 * localedata/locales/gd_GB: Likewise.
26240 * localedata/locales/gez_ER: Likewise.
26241 * localedata/locales/gez_ET: Likewise.
26242 * localedata/locales/gl_ES: Likewise.
26243 * localedata/locales/gu_IN: Likewise.
26244 * localedata/locales/gv_GB: Likewise.
26245 * localedata/locales/ha_NG: Likewise.
26246 * localedata/locales/hak_TW: Likewise.
26247 * localedata/locales/he_IL: Likewise.
26248 * localedata/locales/hi_IN: Likewise.
26249 * localedata/locales/hif_FJ: Likewise.
26250 * localedata/locales/hne_IN: Likewise.
26251 * localedata/locales/hr_HR: Likewise.
26252 * localedata/locales/hsb_DE: Likewise.
26253 * localedata/locales/ht_HT: Likewise.
26254 * localedata/locales/hu_HU: Likewise.
26255 * localedata/locales/hy_AM: Likewise.
26256 * localedata/locales/i18n: Likewise.
26257 * localedata/locales/ia_FR: Likewise.
26258 * localedata/locales/id_ID: Likewise.
26259 * localedata/locales/ig_NG: Likewise.
26260 * localedata/locales/ik_CA: Likewise.
26261 * localedata/locales/is_IS: Likewise.
26262 * localedata/locales/it_CH: Likewise.
26263 * localedata/locales/it_IT: Likewise.
26264 * localedata/locales/iu_CA: Likewise.
26265 * localedata/locales/ja_JP: Likewise.
26266 * localedata/locales/ka_GE: Likewise.
26267 * localedata/locales/kk_KZ: Likewise.
26268 * localedata/locales/kl_GL: Likewise.
26269 * localedata/locales/kn_IN: Likewise.
26270 * localedata/locales/ko_KR: Likewise.
26271 * localedata/locales/kok_IN: Likewise.
26272 * localedata/locales/ks_IN: Likewise.
26273 * localedata/locales/ks_IN@devanagari: Likewise.
26274 * localedata/locales/ku_TR: Likewise.
26275 * localedata/locales/kw_GB: Likewise.
26276 * localedata/locales/ky_KG: Likewise.
26277 * localedata/locales/lb_LU: Likewise.
26278 * localedata/locales/lg_UG: Likewise.
26279 * localedata/locales/li_BE: Likewise.
26280 * localedata/locales/li_NL: Likewise.
26281 * localedata/locales/lij_IT: Likewise.
26282 * localedata/locales/ln_CD: Likewise.
26283 * localedata/locales/lo_LA: Likewise.
26284 * localedata/locales/lt_LT: Likewise.
26285 * localedata/locales/lv_LV: Likewise.
26286 * localedata/locales/lzh_TW: Likewise.
26287 * localedata/locales/mag_IN: Likewise.
26288 * localedata/locales/mai_IN: Likewise.
26289 * localedata/locales/mg_MG: Likewise.
26290 * localedata/locales/mhr_RU: Likewise.
26291 * localedata/locales/mi_NZ: Likewise.
26292 * localedata/locales/mk_MK: Likewise.
26293 * localedata/locales/ml_IN: Likewise.
26294 * localedata/locales/mn_MN: Likewise.
26295 * localedata/locales/mni_IN: Likewise.
26296 * localedata/locales/mr_IN: Likewise.
26297 * localedata/locales/ms_MY: Likewise.
26298 * localedata/locales/mt_MT: Likewise.
26299 * localedata/locales/my_MM: Likewise.
26300 * localedata/locales/nan_TW: Likewise.
26301 * localedata/locales/nan_TW@latin: Likewise.
26302 * localedata/locales/nb_NO: Likewise.
26303 * localedata/locales/nds_DE: Likewise.
26304 * localedata/locales/nds_NL: Likewise.
26305 * localedata/locales/ne_NP: Likewise.
26306 * localedata/locales/nhn_MX: Likewise.
26307 * localedata/locales/niu_NU: Likewise.
26308 * localedata/locales/niu_NZ: Likewise.
26309 * localedata/locales/nl_AW: Likewise.
26310 * localedata/locales/nl_BE: Likewise.
26311 * localedata/locales/nl_NL: Likewise.
26312 * localedata/locales/nn_NO: Likewise.
26313 * localedata/locales/nr_ZA: Likewise.
26314 * localedata/locales/nso_ZA: Likewise.
26315 * localedata/locales/oc_FR: Likewise.
26316 * localedata/locales/om_ET: Likewise.
26317 * localedata/locales/om_KE: Likewise.
26318 * localedata/locales/or_IN: Likewise.
26319 * localedata/locales/os_RU: Likewise.
26320 * localedata/locales/pa_IN: Likewise.
26321 * localedata/locales/pa_PK: Likewise.
26322 * localedata/locales/pap_AW: Likewise.
26323 * localedata/locales/pap_CW: Likewise.
26324 * localedata/locales/pl_PL: Likewise.
26325 * localedata/locales/ps_AF: Likewise.
26326 * localedata/locales/pt_BR: Likewise.
26327 * localedata/locales/pt_PT: Likewise.
26328 * localedata/locales/quz_PE: Likewise.
26329 * localedata/locales/raj_IN: Likewise.
26330 * localedata/locales/ro_RO: Likewise.
26331 * localedata/locales/ru_RU: Likewise.
26332 * localedata/locales/ru_UA: Likewise.
26333 * localedata/locales/rw_RW: Likewise.
26334 * localedata/locales/sa_IN: Likewise.
26335 * localedata/locales/sat_IN: Likewise.
26336 * localedata/locales/sc_IT: Likewise.
26337 * localedata/locales/sd_IN: Likewise.
26338 * localedata/locales/sd_IN@devanagari: Likewise.
26339 * localedata/locales/se_NO: Likewise.
26340 * localedata/locales/sgs_LT: Likewise.
26341 * localedata/locales/shs_CA: Likewise.
26342 * localedata/locales/si_LK: Likewise.
26343 * localedata/locales/sid_ET: Likewise.
26344 * localedata/locales/sk_SK: Likewise.
26345 * localedata/locales/sl_SI: Likewise.
26346 * localedata/locales/sm_WS: Likewise.
26347 * localedata/locales/so_DJ: Likewise.
26348 * localedata/locales/so_ET: Likewise.
26349 * localedata/locales/so_KE: Likewise.
26350 * localedata/locales/so_SO: Likewise.
26351 * localedata/locales/sq_AL: Likewise.
26352 * localedata/locales/sq_MK: Likewise.
26353 * localedata/locales/sr_ME: Likewise.
26354 * localedata/locales/sr_RS: Likewise.
26355 * localedata/locales/sr_RS@latin: Likewise.
26356 * localedata/locales/ss_ZA: Likewise.
26357 * localedata/locales/st_ZA: Likewise.
26358 * localedata/locales/sv_FI: Likewise.
26359 * localedata/locales/sv_SE: Likewise.
26360 * localedata/locales/sw_KE: Likewise.
26361 * localedata/locales/sw_TZ: Likewise.
26362 * localedata/locales/szl_PL: Likewise.
26363 * localedata/locales/ta_IN: Likewise.
26364 * localedata/locales/ta_LK: Likewise.
26365 * localedata/locales/tcy_IN: Likewise.
26366 * localedata/locales/te_IN: Likewise.
26367 * localedata/locales/tg_TJ: Likewise.
26368 * localedata/locales/th_TH: Likewise.
26369 * localedata/locales/the_NP: Likewise.
26370 * localedata/locales/ti_ER: Likewise.
26371 * localedata/locales/ti_ET: Likewise.
26372 * localedata/locales/tig_ER: Likewise.
26373 * localedata/locales/tk_TM: Likewise.
26374 * localedata/locales/tl_PH: Likewise.
26375 * localedata/locales/tn_ZA: Likewise.
26376 * localedata/locales/to_TO: Likewise.
26377 * localedata/locales/tpi_PG: Likewise.
26378 * localedata/locales/tr_CY: Likewise.
26379 * localedata/locales/tr_TR: Likewise.
26380 * localedata/locales/ts_ZA: Likewise.
26381 * localedata/locales/tt_RU: Likewise.
26382 * localedata/locales/tt_RU@iqtelif: Likewise.
26383 * localedata/locales/ug_CN: Likewise.
26384 * localedata/locales/uk_UA: Likewise.
26385 * localedata/locales/unm_US: Likewise.
26386 * localedata/locales/ur_IN: Likewise.
26387 * localedata/locales/ur_PK: Likewise.
26388 * localedata/locales/uz_UZ: Likewise.
26389 * localedata/locales/uz_UZ@cyrillic: Likewise.
26390 * localedata/locales/ve_ZA: Likewise.
26391 * localedata/locales/vi_VN: Likewise.
26392 * localedata/locales/wa_BE: Likewise.
26393 * localedata/locales/wae_CH: Likewise.
26394 * localedata/locales/wal_ET: Likewise.
26395 * localedata/locales/wo_SN: Likewise.
26396 * localedata/locales/xh_ZA: Likewise.
26397 * localedata/locales/yi_US: Likewise.
26398 * localedata/locales/yo_NG: Likewise.
26399 * localedata/locales/yue_HK: Likewise.
26400 * localedata/locales/yuw_PG: Likewise.
26401 * localedata/locales/zh_CN: Likewise.
26402 * localedata/locales/zh_HK: Likewise.
26403 * localedata/locales/zh_SG: Likewise.
26404 * localedata/locales/zh_TW: Likewise.
26405 * localedata/locales/zu_ZA: Likewise.
26406
cae87e64
FW
264072017-11-13 Florian Weimer <fweimer@redhat.com>
26408
26409 * support/next_to_fault.h, support/next_to_fault.c: New files.
26410 * support/Makefile (libsupport-routines): Add next_to_fault.
26411 * resolv/tst-inet_pton.c (struct next_to_fault)
26412 (next_to_fault_allocate, next_to_fault_free): Remove.
26413 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26414
4a306ef1
L
264152017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26416
26417 * elf/dl-support.c: Include <dl-procruntime.c>.
26418 * include/link.h: Include <link_map.h>.
26419 * sysdeps/generic/dl-procruntime.c: New file.
26420 * sysdeps/generic/link_map.h: Likewise.
26421 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26422 the writable ld.so namespace.
26423
e69897bf
PE
264242017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26425
26426 timezone: pacify GCC -Wstringop-truncation
26427 Problem reported by Martin Sebor in:
26428 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26429 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26430
1ffe1ccb
FW
264312017-11-12 Florian Weimer <fweimer@redhat.com>
26432
eceed671
FW
26433 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26434 tst-xreadlink.
26435 (tests): Add tst-xreadlink.
1ffe1ccb
FW
26436 * support/support.h (xstrndup): Declare.
26437 * support/xunistd.h (xunlink, xreadlink): Declare.
26438 * support/temp_file.h (support_create_temp_directory): Declare.
26439 * support/temp_file.c (support_create_temp_directory): New function.
26440 * support/support_chroot.c (support_chroot_create): Use it.
26441 * support/xreadlink.c: New file.
26442 * support/xstrndup.c: Likewise.
26443 * support/xunlink.c: Likewise.
26444 * support/tst-xreadlink.c: Likewise.
26445
456b40a9
JDA
264462017-11-11 John David Anglin <danglin@gcc.gnu.org>
26447
26448 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26449
c0a25aa9
FW
264502017-11-11 Florian Weimer <fweimer@redhat.com>
26451
26452 [BZ #22409]
26453 [BZ #22412]
26454 * resolv/res_comp.c (printable_string, binary_hnok)
26455 (binary_leading_dash): New functions.
26456 (res_hnok): Reimplement using these functions and ns_name_pton.
26457 (res_ownok): Likewise.
26458 (res_mailok): Reimplement using printable_string, ns_name_pton and
26459 binary_hnok.
26460 (res_dnok): Reimplement using printable_string and ns_name_pton.
26461 * resolv/tst-res_hnok.c (tests): Add additional tests.
26462 (LETTERDIGITS, PRINTABLE): Define.
26463 (do_test): Adjust one_char results.
26464
9e0ad304
FW
264652017-11-11 Florian Weimer <fweimer@redhat.com>
26466
26467 [BZ #22413]
26468 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26469 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26470
e2a9fca8
FW
264712017-11-11 Florian Weimer <fweimer@redhat.com>
26472
26473 * resolv/tst-ns_name_pton.c: New file.
26474 * resolv/Makefile (tests): Add tst-ns_name_pton.
26475 (tst-ns_name_pton): Link against libresolv.
26476
5c1a6923
FW
264772017-11-11 Florian Weimer <fweimer@redhat.com>
26478
26479 * resolv/tst-res_hnok.c: New file.
26480 * resolv/Makefile (tests): Add tst-res_hnok.
26481 (tst-res_hnok): Link against libresolv.
26482
a19c0a1d
FW
264832017-11-11 Florian Weimer <fweimer@redhat.com>
26484
26485 * resolv/tst-resolv-network.c: Use test framework instead explicit
26486 main function.
26487
8cb5295d
L
264882017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26489
26490 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26491 <jmp_buf-macros.h>.
26492 [!_ISOMAC] (STR_HELPER): New.
26493 [!_ISOMAC] (STR): Likewise.
26494 [!_ISOMAC] (TEST_SIZE): Likewise.
26495 [!_ISOMAC] (TEST_ALIGN): Likewise.
26496 [!_ISOMAC] (TEST_OFFSET): Likewise.
26497 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26498 field offsets of jmp_buf as well as sigjmp_buf.
26499 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26500 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26501 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26502 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26503 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26504 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26505 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26506 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26507 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26508 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26509 Likewise.
26510 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26511 Likewise.
26512 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26514 Likewise.
26515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26516 Likewise.
26517 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26518 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26519 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26520 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26521 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26523 Likewise.
26524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26525 Likewise.
26526 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26527 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26528 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26529
58c4a161
JM
265302017-11-07 Joseph Myers <joseph@codesourcery.com>
26531
3683b423
JM
26532 * include/float.h
26533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26534 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26536 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26538 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26540 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26542 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26544 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26546 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26548 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26550 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26552 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26554 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26556 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26558 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26560 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26562 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26564 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26566 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26568 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26570 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26572 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26574 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26576 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26578 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26580 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26582 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26584 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26586 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26588 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26590 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26592 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26594 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26596 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26598 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26600 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26602 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26604 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26606 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26608 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26610 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26612 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26614 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26616 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26618 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26620 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26621
58c4a161
JM
26622 * stdlib/tst-strtod.h (F16): New macro.
26623 (F32): Likewise.
26624 (F64): Likewise.
26625 (F32X): Likewise.
26626 (F64X): Likewise.
26627 (F128X): Likewise.
26628 (IF_FLOAT16): Likewise.
26629 (IF_FLOAT32): Likewise.
26630 (IF_FLOAT64): Likewise.
26631 (IF_FLOAT32X): Likewise.
26632 (IF_FLOAT64X): Likewise.
26633 (IF_FLOAT128X): Likewise.
26634 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26635 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26636 (STRTOD_TEST_FOREACH): Likewise.
26637 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26638 (CHOOSE_f64): Likewise.
26639 (CHOOSE_f32x): Likewise.
26640 (CHOOSE_f64x): Likewise.
26641
feda96a1
AS
266422017-11-07 Andreas Schwab <schwab@suse.de>
26643
26644 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26645
1bd0cbb8
MF
266462017-11-07 Mike FABIAN <mfabian@redhat.com>
26647
26648 [BZ #22403]
26649 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26650 to be escaped.
26651 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26652 to be escaped.
26653
363e4519 266542017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
26655
26656 [BZ #22403]
26657 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26658 to be escaped.
26659 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26660 to be escaped.
26661 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26662 to be escaped.
26663
dff91cd4
AZ
266642017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26665
06be6368
AZ
26666 [BZ #22298]
26667 * nptl/allocatestack.c (allocate_stack): Check if
26668 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26669 __PTHREAD_MUTEX_HAVE_PREV is defined.
26670 * nptl/descr.h (pthread): Likewise.
26671 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26672 Likewise.
26673 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26674 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26675 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26676 * sysdeps/nptl/bits/thread-shared-types.h
26677 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26678 defines.
26679 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26680 of __WORDSIZE for internal layout.
26681 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26682 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26683 instead of __WORDSIZE whether to use an union for __spins and __list
26684 fields.
26685 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26686 case.
26687 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26688 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26689 defines.
26690 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26691 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26692 Likewise.
26693 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26694 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26695 Likewise.
26696 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26697 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26698 Likewise.
26699 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26700 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26701 Likewise.
26702 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26703 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26704 Likewise.
26705 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26706 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26707 Likewise.
26708 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26709 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26710 Likewise.
26711 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26712 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26713 Likewise.
26714 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26715 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26716 Likewise.
26717 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26718 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26719 Likewise.
26720 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26721 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26722 Likewise.
26723 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26724 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26725 Likewise.
26726 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26727 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26728 Likewise.
26729 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26730 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26731 Likewise.
26732
72b3c6ee
AZ
26733 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26734 New macros.
26735 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26736 checks for expected input type size.
26737 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26738 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26739 Likewise.
26740 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26741 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26742 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26743 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26744 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26745 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26746 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26747 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26748 superflous runtime assert check.
26749 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26750 Likewise.
26751 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26752 Likewise.
26753 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26754 Likewise.
26755 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26756 Likewise.
26757 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26758 Likewise.
26759 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26760 Likewise.
26761 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26762 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26763 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26764 Likewise.
26765 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26766 Likewise.
26767 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26768 Likewise.
26769 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26770 Likewise.
26771 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26772 Likewise.
26773 * nptl/pthread_attr_setinheritsched.c
26774 (__pthread_attr_setinheritsched): Likewise.
26775 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26776 Likewise.
26777 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26778 Likewise.
26779 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26780 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26781 __old_pthread_attr_setstack): Likewise.
26782 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26783 Likewise.
26784 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26785 Likewise.
26786 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26787 Likewise.
26788 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26789 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26790 Likewise.
26791 * nptl/tst-typesizes.c: Remove file.
26792
dff91cd4
AZ
26793 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26794 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26795 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26796 checks for internal pthread_mutex_t offsets.
26797 * sysdeps/aarch64/nptl/pthread-offsets.h
26798 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26799 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26800 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26801 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26802 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26803 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26804 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26805 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26806 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26807 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26808 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26809 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26810 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26811 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26812 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26813 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26814 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26815 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26816
b7fc95f8
FW
268172017-11-07 Florian Weimer <fweimer@redhat.com>
26818
26819 * bits/mman-linux.h: Move ...
26820 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26821 comment.
26822 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26823 outdated comment.
26824
6b860364
RS
268252017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26826
26827 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26828 Redefine STRNLEN as __strnlen_power8.
26829
802c1f16
AZ
268302017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26831
d83da3a4
AZ
26832 * signal/sighold.c (sighold): Optimize implementation.
26833
6a4235f1
AZ
26834 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26835 __NR_rt_sigqueueinfo.
26836
8b0e795a
AZ
26837 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26838 __sigtimedwait.
26839 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26840 assume __NR_rt_sigtimedwait.
26841 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26842 and add LIBC_CANCEL_HANDLED for cancellation marking.
26843 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26844
a1a638dd
AZ
26845 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26846 (sysdeps_routines): Add memchr_noneon.
26847 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26848 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26849 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26850 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26851 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26852 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26853 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26854
802c1f16
AZ
26855 * sysdeps/arm/arm-ifunc.h: New file.
26856 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26857 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26858 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26859 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26860 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26861 (__memcpy_neon): Avoid create hidden alias.
26862 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26863 (__memcpy_vfp): Likewise.
26864 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26865 (sysdep_routines): Add memcpy_arm.
26866 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26867
abcb584d
L
268682017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26869
26870 [BZ #22362]
26871 * Makerules (make-link-multidir): New.
26872 * config.make.in (multidir): New.
26873 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26874 * configure: Regenerated.
26875 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26876 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26877 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26878 New target.
26879
4e2dff67
JM
268802017-11-06 Joseph Myers <joseph@codesourcery.com>
26881
26882 [BZ #22402]
26883 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26884 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26885
a1c7cd3c
MF
268862017-11-04 Mike FABIAN <mfabian@redhat.com>
26887
26888 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26889 to be escaped.
26890
b9af29c0
FW
268912017-11-04 Florian Weimer <fweimer@redhat.com>
26892
26893 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26894
4ca70e1a
JM
268952017-11-03 Joseph Myers <joseph@codesourcery.com>
26896
26897 * math/math.h [__HAVE_DISTINCT_FLOAT16
26898 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26899 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26900 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26901 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26902 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26903 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26904 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26905 (__MATH_TG_F32): New macro.
26906 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26907 (__MATH_TG_F64X): Likewise.
26908 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26909 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26910
ba0e6668
DL
269112017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26912
26913 * po/de.po: Update translations.
26914 * po/ru.po: Likewise.
26915
bc18a6d3
FW
269162017-11-03 Florian Weimer <fweimer@redhat.com>
26917
26918 * manual/filesys.texi (Hard Links): Document linkat.
26919
97255170
JM
269202017-11-03 Joseph Myers <joseph@codesourcery.com>
26921
86ec4865
JM
26922 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26923 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26924 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26925 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26926 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26927 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26928 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26929 the same as _Float128.
26930 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26931 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26932 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26933
97255170
JM
26934 * stdlib/stdlib.h
26935 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26936 Declare.
26937 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26938 Likewise.
26939 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26940 Likewise.
26941 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26942 (strtof32x): Likewise.
26943 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26944 (strtof64x): Likewise.
26945 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26946 (strtof128x): Likewise.
26947 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26948 (strfromf16): Likewise.
26949 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26950 (strfromf32): Likewise.
26951 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26952 (strfromf64): Likewise.
26953 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26954 (strfromf32x): Likewise.
26955 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26956 (strfromf64x): Likewise.
26957 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26958 (strfromf128x): Likewise.
26959 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26960 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26961 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26962 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26963 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26964 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26965
6d58ce5e
RH
269662017-11-03 Richard Henderson <rth@twiddle.net>
26967
26968 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26969
659ca267
SN
269702017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26971
26972 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26973
94d2f0af
SN
269742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26975
26976 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26977 DT_TLSDESC_GOT initialization.
26978 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26979 (_dl_tlsdesc_resolve_hold): Likewise.
26980 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26981 (_dl_tlsdesc_resolve_hold): Likewise.
26982 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26983 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26984
28e1ddf3
SN
269852017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26986
26987 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26988
0ca3d1d6
SN
269892017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26990
26991 [BZ #18572]
26992 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26993 non-lazily for R_ARM_TLS_DESC.
26994
2c1d4e5f
SN
269952017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26996
26997 [BZ #17078]
26998 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26999 R_ARM_TLS_DESC case.
27000 (elf_machine_lazy_rel): Remove the prelink check.
27001
91c5a366
SN
270022017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27003
27004 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27005 DT_TLSDESC_GOT initialization.
27006 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27007 (_dl_tlsdesc_resolve_rela): Likewise.
27008 (_dl_tlsdesc_resolve_hold): Likewise.
27009 (_dl_tlsdesc_undefweak): Remove ldar.
27010 (_dl_tlsdesc_dynamic): Likewise.
27011 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27012 (_dl_tlsdesc_resolve_rela): Likewise.
27013 (_dl_tlsdesc_resolve_hold): Likewise.
27014 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27015 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27016 (_dl_tlsdesc_resolve_rela): Likewise.
27017 (_dl_tlsdesc_resolve_hold): Likewise.
27018
b7cf203b
SN
270192017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27020
27021 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27022 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27023
0cc5b022
SN
270242017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27025
27026 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27027 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27028
43ddff2e
JM
270292017-11-02 Joseph Myers <joseph@codesourcery.com>
27030
27031 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27032 Declare.
27033 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27034 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27035 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27036 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27037 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27038 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27039 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27040 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27041 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27042 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27043 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27044
5baac970
MF
270452017-11-02 Mike FABIAN <mfabian@redhat.com>
27046
27047 [BZ #22382]
27048 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27049 * localedata/locales/tpi_PG: Add standard header.
27050
ef11081f
FW
270512017-11-02 Florian Weimer <fweimer@redhat.com>
27052
27053 test-errno-linux: quotactl can fail with EPERM in containers.
27054 * sysdeps/unix/sysv/linux/test-errno-linux.c
27055 (LIST, LIST_FORWARD): New macros.
27056 (check_error_in_list): New function.
27057 (test_wrp_rv): Accept list of permitted error codes.
27058 (test_wrp_rv2): Remove.
27059 (test_wrp): Call test_wrp_rv with list of error codes.
27060 (test_wrp2): Accept list of error codes.
27061 (do_test): Adjust. Allow EPERM for quotactl.
27062
d10b132b
FW
270632017-11-02 Florian Weimer <fweimer@redhat.com>
27064
27065 * stdio-common/bug16.c (do_test): Use array_length.
27066 * stdio-common/errlist.c (_sys_nerr): Likewise.
27067 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27068 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27069 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27070 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27071 (do_test): Use array_length.
27072 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27073 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27074 * stdio-common/tst-printf-round.c (do_test): Likewise.
27075 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27076 (CHECK): Use array_length.
27077 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27078 * stdio-common/tstscanf.c (main): Likewise.
27079 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27080
c94a5688
FW
270812017-11-02 Florian Weimer <fweimer@redhat.com>
27082
27083 Add array_length and array_end macros.
27084 * include/array_length.h: New file.
27085
2fac6a6c
FW
270862017-11-02 Florian Weimer <fweimer@redhat.com>
27087
27088 [BZ #22332]
27089 * posix/tst-glob-tilde.c (do_noescape): New variable.
27090 (one_test): Process it.
27091 (do_test): Set do_noescape. Add unescaping test case.
27092
2f1b212e
JM
270932017-11-01 Joseph Myers <joseph@codesourcery.com>
27094
260fbd0a
JM
27095 * math/complex.h
27096 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27097 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27098 with appropriate macros defined and undefined.
27099 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27100 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27101 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27102 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27103 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27104 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27105 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27106 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27107 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27108 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27109
2f1b212e
JM
27110 * math/complex.h
27111 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27112 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27113 that for long double. Do not condition define and undefine of
27114 _Mdouble_complex_ on [__CFLOAT128].
27115
95b93c6e
L
271162017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27117
27118 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27119 of <sysdeps/generic/sysdep.h>.
27120 (ALIGNARG): Removed.
27121 (ASM_SIZE_DIRECTIVE): Likewise.
27122 (ENTRY): Likewise.
27123 (END): Likewise.
27124 (ENTRY_CHK): Likewise.
27125 (END_CHK): Likewise.
27126 (syscall_error): Likewise.
27127 (mcount): Likewise.
27128 (PSEUDO_END): Likewise.
27129 (L): Likewise.
27130 (atom_text_section): Likewise.
27131 * sysdeps/x86/sysdep.h: New file.
27132 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27133 of <sysdeps/generic/sysdep.h>.
27134 (ALIGNARG): Removed.
27135 (ASM_SIZE_DIRECTIVE): Likewise.
27136 (ENTRY): Likewise.
27137 (END): Likewise.
27138 (ENTRY_CHK): Likewise.
27139 (END_CHK): Likewise.
27140 (syscall_error): Likewise.
27141 (mcount): Likewise.
27142 (PSEUDO_END): Likewise.
27143 (L): Likewise.
27144 (atom_text_section): Likewise.
27145
1bb36539
RL
271462017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27147
27148 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27149 category of LC_CTYPE set to "i18n:2012".
27150 * localedata/locales/i18n_ctype: Regenerate.
27151
067f5d97 271522017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 27153
87bbc4cf
YN
27154 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27155 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27156 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27157 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27158
e8681faa
YN
27159 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27160 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27162 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27163
540af6e2
JM
271642017-10-31 Joseph Myers <joseph@codesourcery.com>
27165
43e66283
JM
27166 * math/complex.h
27167 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27168 New macro.
27169 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27170 Likewise.
27171 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27172 Likewise.
27173 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27174 (CMPLXF32X): Likewise.
27175 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27176 (CMPLXF64X): Likewise.
27177 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27178 (CMPLXF128X): Likewise.
27179
540af6e2
JM
27180 * math/math.h
27181 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27182 (__MATH_EVAL_FMT2): Define to add 0.0f.
27183
58af72b4
AM
271842017-10-31 Alan Modra <amodra@gmail.com>
27185
27186 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27187 include sysdep.h.
27188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27202 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27203 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27204 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27205 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27206 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27207 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27208 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27213 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27214 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27215 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27216 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27217 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27218 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27219 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27220 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27221 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27222 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27223 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27224 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27225 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27226 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27227 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27228 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27229 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27230 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27231 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27232 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27233 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27234 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27235 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27236 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27237 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27238 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27239 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27240 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27241 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27242 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27243 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27244 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27245 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27247 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27248 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27249 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27250 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27251 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27252 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27253 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27254 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27255 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27256 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27257
27258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27259 include sysdep.h and math_ldbl_opt.h.
27260
27261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27262 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27287
112f30b3
AM
272882017-10-31 Alan Modra <amodra@gmail.com>
27289
27290 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27291 string/strncase_l.c, not string/strncase.c.
27292 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27293 (libc_hidden_def): Redefine.
27294
e9e7eced
AM
272952017-10-31 Alan Modra <amodra@gmail.com>
27296
27297 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27298 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27299 (__strcasecmp): Don't define.
27300
f7b465cf
AM
273012017-10-31 Alan Modra <amodra@gmail.com>
27302
27303 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27304 IS_IN (libc).
27305 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27307 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27308
d46b09f9
AM
273092017-10-31 Alan Modra <amodra@gmail.com>
27310
27311 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27312 USE_AS_STPNCPY.
27313
e9b8e194
AM
273142017-10-31 Alan Modra <amodra@gmail.com>
27315
27316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27317 Redefine only when SHARED.
27318
eda162dd
JM
273192017-10-30 Joseph Myers <joseph@codesourcery.com>
27320
b61afe8c
JM
27321 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27322 Include <bits/math-finite.h> with appropriate macros defined and
27323 undefined.
27324 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27325 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27326 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27327 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27328 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27329
eda162dd
JM
27330 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27331 [!_Mlong_double_] (_Mlong_double_): Likewise.
27332 [!_Mfloat16_] (_Mfloat16_): Likewise.
27333 [!_Mfloat32_] (_Mfloat32_): Likewise.
27334 [!_Mfloat64_] (_Mfloat64_): Likewise.
27335 [!_Mfloat128_] (_Mfloat128_): Likewise.
27336 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27337 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27338 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27339 (_Mdouble_): Define without indirection through those macros.
27340 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27341 [!_Mfloat128_] (_Mfloat128_): Likewise.
27342 [_Mlong_double_] (_Mlong_double_): Likewise.
27343 (_Mdouble_): Define without indirection through those macros.
27344 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27345 not add -D_Mlong_double_=double.
27346 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27347 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27348
4ad5106e
L
273492017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27350
27351 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27352
fe326df7
L
273532017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27354
27355 * sysdeps/x86/libc-start.c: Reformat.
27356
c5cc4514
L
273572017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27358
27359 [BZ #22353]
27360 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27361 (1): Renamed to ...
27362 (L(Src0)): This.
27363 (L(Src1)): New.
27364 (L(Src2)): Likewise.
27365 (L(1)): Renamed to ...
27366 (L(Src3)): This.
27367
ce12269f
JM
273682017-10-30 Joseph Myers <joseph@codesourcery.com>
27369
27370 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27371 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27372 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27373 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27374 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27375 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27376 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27377 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27378 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27379 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27380 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27381 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27382 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27383 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27384 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27385 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27386 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27387 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27388 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27389 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27390 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27391 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27392 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27393 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27394 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27395 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27396 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27397 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27398 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27399 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27400 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27401 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27402 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27403 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27404 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27405 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27406 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27407 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27408 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27409 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27410 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27411 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27412 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27413 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27414 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27415 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27416 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27417 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27418 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27419 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27420 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27421 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27422 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27423 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27424 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27425 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27426 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27427 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27428 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27429 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27430 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27431 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27432 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27433 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27434 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27435 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27436
4484b9e2
FW
274372017-10-30 Florian Weimer <fweimer@redhat.com>
27438
27439 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27440 always defined.
27441 * io/tst-mkdirat.c (do_test): Likewise.
27442 * io/tst-mkfifoat.c (do_test): Likewise.
27443 * io/tst-mknodat.c (do_test): Likewise.
27444 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27445 * locale/programs/locale.c (select_dirs): Likewise.
27446 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27447 * posix/bug-glob2.c (my_readdir): Likewise.
27448 * posix/tst-dir.c (main): Likewise.
27449 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27450 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27451
68fe16dd
FW
274522017-10-30 Florian Weimer <fweimer@redhat.com>
27453
27454 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27455 just __USE_GNU.
27456
dadf23f0
FW
274572017-10-30 Florian Weimer <fweimer@redhat.com>
27458
27459 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27460 Convert to support/test-driver.c.
27461 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27462 New macro parameters.
27463 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27464 * posix/tst-gnuglob.c: New file.
27465 * posix/tst-gnuglob64.c: Likewise.
27466 * posix/Makefile (tests): Add tst-gnuglob64.
27467
363e4519 274682017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
27469
27470 [BZ #19485]
27471 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27472 and use a better translation for March in “mon”.
27473 * localedata/locales/csb_PL: Use more ASCII to improve the
27474 readability of the source.
27475
b110af82
MF
274762017-10-30 Mike FABIAN <mfabian@redhat.com>
27477
27478 [BZ #13953]
27479 * localedata/locales/km_KH: Use ASCII as much
27480 as possible for better readability of the source and
27481 remove useless comments.
27482 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27483 was commented out and apparently wrong anyway because it was
27484 using Lao characters. If Buddhist era should be used
27485 for km_KH, a native speaker should write the correct formaat
27486 for Khmer.
27487 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27488 (According to CLDR, the first weekday for Cambodia is Sunday).
27489 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27490 (These were using Lao characters which must be wrong. If we get
27491 the correct data from a native speaker, we could add it back, until
27492 then it is better not to have name_mr and name_mrs at all than
27493 having it wrong).
27494
f301e533
RL
274952017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27496
27497 * locale/loadlocale.c: Correct size of
27498 _nl_value_type_LC_<category> arrays.
27499
7e9d7073
JM
275002017-10-27 Joseph Myers <joseph@codesourcery.com>
27501
27502 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27503 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27504 with appropriate macros defined and undefined.
27505 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27506 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27507 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27508 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27509 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27510
63d3b468
L
275112017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27512
27513 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27514 "-O2 -march=i586".
27515
a4cc02c7
MF
275162017-10-27 Mike FABIAN <mfabian@redhat.com>
27517
27518 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27519 with lowercase letters to make it agree with CLDR.
27520
1e5971ec
MF
275212017-10-27 Mike FABIAN <mfabian@redhat.com>
27522
27523 [BZ #15260]
27524 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27525 first letters of yesstr and nostr in yesexpr and noexpr,
27526 not for the full words.
27527 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27528 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27529 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27530 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27531 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27532 first letters of yesstr and nostr in yesexpr and noexpr,
27533 until now only English was matched in yesexpr and noexpr.
27534 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27535 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27536 fil but not for tl. As tl and fil are very similar, using fil
27537 is probably better than using English.
27538
363e4519 275392017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
27540
27541 [BZ #21706]
27542 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27543 in yesstr and nostr.
27544
5d220788
JM
275452017-10-26 Joseph Myers <joseph@codesourcery.com>
27546
ecc7da5b
JM
27547 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27548 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27549 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27550 Likewise.
27551 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27552 Likewise.
27553 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27554 Likewise.
27555 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27556 Likewise.
27557 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27558 (SNANF128X): Likewise.
27559
5d220788
JM
27560 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27561 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27562 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27563 (HUGE_VAL_F32): Likewise.
27564 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27565 (HUGE_VAL_F64): Likewise.
27566 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27567 (HUGE_VAL_F32X): Likewise.
27568 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27569 (HUGE_VAL_F64X): Likewise.
27570 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27571 (HUGE_VAL_F128X): Likewise.
27572
363e4519 275732017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
27574
27575 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27576 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27577 for the br_FR locale.
27578
363e4519 275792017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
27580
27581 [BZ #21706]
27582 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27583
337ff3c5
CD
275842017-10-25 Carlos O'Donell <carlos@redhat.com>
27585
02eec681
CD
27586 * locale/programs/record-status.h: Define globals, and function
27587 prototypes. Move function bodies...
27588 * locale/programs/record-status.c: ... to here. New file.
27589 * iconv/Makefile (iconv_prog-modules): Add record-status.
27590 * locale/Makefile (lib-modules): Likewise.
27591 * iconv/iconv_prog.c: Remove verbose.
27592 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27593 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27594 record a warning about ASCII compatibility.
27595 * locale/programs/ld-monetary.c (monetary_finish): If
27596 warn_int_curr_symbol is true then record a warning about the symbol
27597 not being in our ISO 4217 list.
27598 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27599 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27600 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27601 (OPT_NO_WARN): Define.
27602 (OPT_WARN): Define.
27603 (options): Add entry for --no-warnings, and --warnings.
27604 (set_warnings): New function to enable/disable warnings.
27605 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27606 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27607 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27608 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27609 Pass flags to generate_locale.
27610 (generate_locale): Accept new flag argument and pass it to localedef
27611 invocation.
27612 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27613 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27614
56fa555a
CD
27615 * localedata/Makefile (test-input-data): Use full file name.
27616 * localedata/da_DK.in: Rename to...
27617 * localedata/da_DK.ISO-8859-1.in: ...this.
27618 * localedata/de_DE.in: Rename to...
27619 * localedata/de_DE.ISO-8859-1.in: ...this.
27620 * localedata/en_US.in: Rename to...
27621 * localedata/en_US.ISO-8859-1.in: ...this.
27622 * localedata/fr_FR.in: Rename to...
27623 * localedata/fr_FR.UTF-8.in: ... this.
27624 * localedata/hr_HR.in: Rename to...
27625 * localedata/hr_HR.ISO-8859-2.in: ...this.
27626 * localedata/hu_HU.in: Rename to...
27627 * localedata/hu_HU.UTF-8.in: ...this.
27628 * localedata/si_LK.in: Rename to...
27629 * localedata/si_LK.UTF-8.in: ...this.
27630 * localedata/sv_SE.in: Rename to...
27631 * localedata/sv_SE.ISO-8859-1.in: ...this.
27632 * localedata/tr_TR.in: Rename to...
27633 * localedata/tr_TR.UTF-8.in: ...this.
27634 * localedata/uk_UA.in: Rename to...
27635 * localedata/uk_UA.UTF-8.in: ...this.
27636 * localedata/sort-test.sh: Test file is locale name with the
27637 suffix.
27638
337ff3c5
CD
27639 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27640 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27641 file.
27642 * localedata/locales/i18n_ctype: Regenerate.
27643 * localedata/locales/tr_TR: Likewise.
27644 * localedata/locales/translit_circle: Likewise.
27645 * localedata/locales/translit_cjk_compat: Likewise.
27646 * localedata/locales/translit_combining: Likewise.
27647 * localedata/locales/translit_compat: Likewise.
27648 * localedata/locales/translit_font: Likewise.
27649 * localedata/locales/translit_fraction: Likewise.
27650
63da5cd4
RS
276512017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27652
27653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27654 lxvd2x/stxvd2x with lvx/stvx.
27655 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27656
a122dbfb
L
276572017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27658
27659 * include/alloc_buffer.h: Replace "if if " with "if " in
27660 comments.
27661 * sysdeps/mips/memcpy.S: Likkewise.
27662 * sysdeps/mips/memset.S: Likewise.
27663 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27664 Likewise.
27665 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27666 Likewise.
27667 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27668 Likewise.
27669
9be7530c
MF
276702017-10-25 Mike FABIAN <mfabian@redhat.com>
27671
27672 [BZ #15261]
27673 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27674 yesexpr and noexpr.
27675 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27676 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27677 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27678 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27679 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27680 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27681 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27682
6ccbf6ff
MF
276832017-10-25 Mike FABIAN <mfabian@redhat.com>
27684
27685 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27686 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27687 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27688 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27689 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27690 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27691 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27692 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27693 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27694 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27695 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27696 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27697
58b1a7ea
MF
276982017-10-25 Mike FABIAN <mfabian@redhat.com>
27699
27700 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27701 as possible for better readability of the source.
27702 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27703 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27704 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27705 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27706 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27707 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27708 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27709 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27710 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27711 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27712 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27713 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27714 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27715 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27716 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27717 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27718 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27719 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27720 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27721 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27722 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27723 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27724 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27725 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27726 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27727 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27728 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27729 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27730 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27731 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27732 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27733 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27734 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27735 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27736 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27737 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27738 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27739 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27740 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27741 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27742 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27743 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27744 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27745 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27746 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27747 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27748 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27749 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27750 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27751 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27752 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27753 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27754 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27755 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27756 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27757 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27758 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27759 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27760 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27761 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27762 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27763 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27764 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27765 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27766 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27767 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27768 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27769 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27770 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27771 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27772 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27773 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27774 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27775 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27776 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27777 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27778 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27779 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27780 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27781 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27782 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27783 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27784 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27785 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27786 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27787 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27788 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27789 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27790 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27791 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27792 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27793 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27794 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27795 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27796 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27797 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27798 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27799 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27800 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27801 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27802 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27803 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27804 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27805 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27806 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27807 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27808 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27809 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27810 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27811 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27812 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27813 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27814 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27815 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27816 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27817 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27818 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27819 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27820 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27821 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27822 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27823 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27824 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27825 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27826 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27827 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27828 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27829 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27830 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27831 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27832 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27833 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27834 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27835 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27836 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27837 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27838 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27839 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27840 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27841 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27842 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27843 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27844 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27845 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27846 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27847 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27848 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27849 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27850 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27851 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27852 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27853 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27854 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27855 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27856 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27857 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27858 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27859 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27860 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27861 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27862 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27863 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27864 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27865 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27866 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27867 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27868 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27869 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27870 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27871 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27872 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27873 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27874 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27875 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27876
17e78edb
MF
278772017-10-25 Mike FABIAN <mfabian@redhat.com>
27878
27879 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27880 (Use first letters of yesstr and nostr correctly instead of using
27881 full words).
27882
74e7284f
MF
278832017-10-25 Mike FABIAN <mfabian@redhat.com>
27884
27885 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27886 (Use first letters of yesstr and nostr correctly).
27887
b41a0ff1
MF
278882017-10-25 Mike FABIAN <mfabian@redhat.com>
27889
27890 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27891 also check for the first characters of yesstr and nostr.
27892 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27893 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27894
d971f380
MF
278952017-10-25 Mike FABIAN <mfabian@redhat.com>
27896
27897 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27898 also check for Chinese characters.
27899
effc9e1d
MF
279002017-10-25 Mike FABIAN <mfabian@redhat.com>
27901
27902 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27903 match also for the contents of yesstr and nostr. As the first letter
27904 of yesstr and nostr is equal, checking only for the first letter
27905 is not enough.
27906
10320881
MF
279072017-10-25 Mike FABIAN <mfabian@redhat.com>
27908
27909 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27910 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27911
d8682a15
MF
279122017-10-25 Mike FABIAN <mfabian@redhat.com>
27913
27914 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27915 of main contributor.
27916
1bfb86ae
MF
279172017-10-25 Mike FABIAN <mfabian@redhat.com>
27918
27919 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27920 instead of using English.
27921
da33d60b
MF
279222017-10-25 Mike FABIAN <mfabian@redhat.com>
27923
27924 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27925 by including the first letters of nostr and yesexpr in the regexp.
27926 Also make it more readable by using ASCII where possible.
27927
725bbb3e
MF
279282017-10-25 Mike FABIAN <mfabian@redhat.com>
27929
27930 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27931 the first letter of nostr in the regexp. It agrees with CLDR now.
27932 Also make it more readable by using ASCII where possible.
27933
fe043d8a
MF
279342017-10-24 Mike FABIAN <mfabian@redhat.com>
27935
27936 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27937 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27938 these strings contain a U+17D6 (which somewhat looks like a colon)
27939 instead of a real colon to separate the full words for “yes”
27940 and “no” from the single letter responses.
27941
360a8df3
MF
279422017-10-24 Mike FABIAN <mfabian@redhat.com>
27943
27944 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27945 it agree with CLDR (include the first letter of yesstr).
27946 Also make it more readable by using ASCII where possible.
27947
bab7b6b0
MF
279482017-10-24 Mike FABIAN <mfabian@redhat.com>
27949
27950 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27951 and improve yesexpr and noexpr. The yesstr and nostr apparently
27952 came from CLDR. And CLDR has a bug there: these strings contain
27953 a U+0903 (which looks like a colon) instead of a real colon
27954 to separate the full words for “yes” and “no” from the single
27955 letter responses.
27956
3e79f758
MF
279572017-10-24 Mike FABIAN <mfabian@redhat.com>
27958
27959 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27960 letters of the full yesstr and nostr in yesexpr and noexpr.
27961
4960c879
MF
279622017-10-24 Mike FABIAN <mfabian@redhat.com>
27963
27964 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27965 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27966 * localedata/locales/an_ES: Make source more readable by using ASCII
27967 where possible.
27968
b06a054f
MF
279692017-10-24 Mike FABIAN <mfabian@redhat.com>
27970
27971 [BZ #20952]
27972 * localedata/locales/yuw_PG: New file.
27973 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27974 * locale/iso-639.def: Add Yau (Uruwa).
27975
905a7725
WD
279762017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27977
27978 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27979
3f6bb8a3
WD
279802017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27981
27982 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27983 (__libc_realloc): Likewise.
27984 (_mid_memalign): Likewise.
27985 (__libc_calloc): Likewise.
27986
1d479c8c
MF
279872017-10-23 Mike FABIAN <mfabian@redhat.com>
27988
27989 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27990 by adding the generic +1 and -0 as in all other locales.
27991 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27992 day names and make it more readable by using ASCII where possible.
27993
91c3985c
JM
279942017-10-24 Joseph Myers <joseph@codesourcery.com>
27995
27996 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27997 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27998
aa95a241
AZ
279992017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28000
28001 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28002 WNOHANG in waitpid call.
28003
db9bab09
SP
280042017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28005
a2e0a7f1
SP
28006 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28007 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28008
db9bab09
SP
28009 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28010 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28011 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28012 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28013 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28014 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28015 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28016 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28017 variables.
28018
5062680c
MC
280192017-10-23 Michael Collison <michael.collison@arm.com>
28020
28021 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28022 with __builtin_sqrt.
28023 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28024 with __builtin_sqrtf.
28025 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28026 with __builtin_ceil.
28027 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28028 with __builtin_ceilf.
28029 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28030 with __builtin_floor.
28031 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28032 with __builtin_floorf.
28033 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28034 with __builtin_fma.
28035 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28036 with __builtin_fmaf.
28037 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28038 with __builtin_fmax.
28039 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28040 with __builtin_fmaxf.
28041 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28042 with __builtin_fmin.
28043 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28044 with __builtin_fminf.
28045 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28046 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28047 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28048 with builtin_rint and conversion to int.
28049 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28050 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28051 with builtin_llround.
28052 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28053 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28054 with builtin_rint and conversion to long int.
28055 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28056 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28057 with builtin_lround.
28058 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28059 with builtin_lroundf.
28060 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28061 statements with __builtin_nearbyint.
28062 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28063 statements with __builtin_nearbyintf.
28064 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28065 with __builtin_rint.
28066 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28067 with __builtin_rintf.
28068 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28069 with __builtin_round.
28070 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28071 with __builtin_roundf.
28072 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28073 with __builtin_trunc.
28074 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28075 with __builtin_truncf.
be080b6c
SN
28076 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28077 and s_l[l]round[f].c too.
5062680c 28078
174935af
AM
280792017-10-23 Alan Modra <amodra@gmail.com>
28080
28081 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28082 Adjust stack after restoring regs. Add missing LR cfi_restore.
28083
750a0e49
AM
280842017-10-23 Alan Modra <amodra@gmail.com>
28085
28086 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28087 Move LR save and frame setup/teardown and LR restore to
28088 immediately around memset call. Provide cfi.
28089
5313581c
L
280902017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28091
28092 * sysdeps/i386/fpu/e_powf.S: Removed.
28093 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28094 * sysdeps/i386/fpu/w_powf.c: Likewise.
28095 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28096 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28097 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28098 Add e_powf-sse2.
28099 (CFLAGS-e_powf-sse2.c): New.
28100 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28101 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28102
6089a3ee
L
281032017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28104
28105 * sysdeps/i386/fpu/e_log2f.S: Removed.
28106 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28107 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28108 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28109 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28110 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28111 Add e_log2f-sse2.
28112 (CFLAGS-e_log2f-sse2.c): New.
28113 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28114 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28115
80bb5935
L
281162017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28117
28118 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28119 Add e_powf-fma.
28120 (CFLAGS-e_powf-fma.c): New.
28121 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28122 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28123
5c7adbd8
L
281242017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28125
28126 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28127 Add e_log2f-fma.
28128 (CFLAGS-e_log2f-fma.c): New.
28129 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28130 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28131
0ccc7153
L
281322017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28133
28134 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28135 Add e_logf-fma.
28136 (CFLAGS-e_logf-fma.c): New.
28137 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28138 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28139
fe596486
L
281402017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28141
28142 * sysdeps/i386/fpu/e_logf.S: Removed.
28143 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28144 * sysdeps/i386/fpu/w_logf.c: Likewise.
28145 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28146 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28147 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28148 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28149 Add e_logf-sse2.
28150 (CFLAGS-e_logf-sse2.c): New.
28151 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28152 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28153
7eda65f6
L
281542017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28155
28156 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28157 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28158 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28159 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28160 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28161 Add e_exp2f-sse2.
28162 (CFLAGS-e_exp2f-sse2.c): New.
28163 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28164 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28165
5d15c969
L
281662017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28167
28168 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28169 Add e_exp2f-fma.
28170 (CFLAGS-e_exp2f-fma.c): New.
28171 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28172 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28173
b2f6137e
L
281742017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28175
28176 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28177 * sysdeps/i386/fpu/e_expf.S: Likewise.
28178 * sysdeps/i386/fpu/math_errf.c: Likewise.
28179 * sysdeps/i386/fpu/w_expf.c: Likewise.
28180 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28181 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28182 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28183 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28184 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28185 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28186 Remove e_expf-ia32.
28187 (CFLAGS-e_expf-sse2.c): New.
28188 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28189 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28190
e1f59beb
L
281912017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28192
28193 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28194 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28195 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28196 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28197 e_expf.c.
28198 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28199 New.
28200 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28201 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28202 Renamed to ...
28203 (__redirect_expf): This.
28204 (SYMBOL_NAME): Changed to expf.
28205 (__ieee754_expf): Renamed to ...
28206 (__expf): This.
28207 (__GI___expf): This.
28208 (__ieee754_expf): Add strong_alias.
28209 (__expf_finite): Likewise.
28210 (__expf): New.
28211 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28212
363e4519 282132017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
28214
28215 [BZ #22332]
28216 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28217 unescaping.
28218
e80fc1fc
FW
282192017-10-21 Florian Weimer <fweimer@redhat.com>
28220
28221 * posix/Makefile (tests): Add tst-glob-tilde.
28222 (tests-special): Add tst-glob-tilde-mem.out
28223 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28224 (tst-glob-tilde-mem.out): Add mtrace check.
28225 * posix/tst-glob-tilde.c: New file.
28226
797ba44b
JM
282272017-10-20 Joseph Myers <joseph@codesourcery.com>
28228
28229 * bits/floatn-common.h: New file.
28230 * math/Makefile (headers): Add bits/floatn-common.h.
28231 * bits/floatn.h: Include <bits/floatn-common.h>.
28232 * sysdeps/ia64/bits/floatn.h: Likewise.
28233 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28234 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28235 * sysdeps/powerpc/bits/floatn.h: Likewise.
28236 * sysdeps/x86/bits/floatn.h: Likewise.
28237
fe05e1cb
AZ
282382017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28239
8f6f5362
AZ
28240 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28241 indicates whether compiler emits an warning for alias for
28242 functions with incompatible types.
28243
fe05e1cb
AZ
28244 [BZ #22273]
28245 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28246 the auxiliary process is terminated by a signal before calling _exit
28247 or execve.
28248
b52b0d79
L
282492017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28250
28251 [BZ #21265]
28252 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28253 New.
28254 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28255 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28256 and bit_arch_XSAVEC_Usable if needed.
28257 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28258 and bit_arch_Use_dl_runtime_resolve_opt.
28259 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28260 Removed.
28261 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28262 (bit_arch_Prefer_No_AVX512): Updated.
28263 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28264 (bit_arch_XSAVEC_Usable): New.
28265 (STATE_SAVE_OFFSET): Likewise.
28266 (STATE_SAVE_MASK): Likewise.
28267 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28268 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28269 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28270 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28271 (index_arch_XSAVEC_Usable): New.
28272 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28273 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28274 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28275 is enabled.
28276 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28277 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28278 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28279 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28280 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28281 _dl_runtime_resolve_xsavec.
28282 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28283 Removed.
28284 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28285 instead of VEC_SIZE.
28286 (REGISTER_SAVE_BND0): Removed.
28287 (REGISTER_SAVE_BND1): Likewise.
28288 (REGISTER_SAVE_BND3): Likewise.
28289 (REGISTER_SAVE_RAX): Always defined to 0.
28290 (VMOV): Removed.
28291 (_dl_runtime_resolve_avx): Likewise.
28292 (_dl_runtime_resolve_avx_slow): Likewise.
28293 (_dl_runtime_resolve_avx_opt): Likewise.
28294 (_dl_runtime_resolve_avx512): Likewise.
28295 (_dl_runtime_resolve_avx512_opt): Likewise.
28296 (_dl_runtime_resolve_sse): Likewise.
28297 (_dl_runtime_resolve_sse_vex): Likewise.
28298 (USE_FXSAVE): New.
28299 (_dl_runtime_resolve_fxsave): Likewise.
28300 (USE_XSAVE): Likewise.
28301 (_dl_runtime_resolve_xsave): Likewise.
28302 (USE_XSAVEC): Likewise.
28303 (_dl_runtime_resolve_xsavec): Likewise.
28304 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28305 Removed.
28306 (_dl_runtime_resolve_avx512_opt): Likewise.
28307 (_dl_runtime_resolve_avx): Likewise.
28308 (_dl_runtime_resolve_avx_opt): Likewise.
28309 (_dl_runtime_resolve_sse): Likewise.
28310 (_dl_runtime_resolve_sse_vex): Likewise.
28311 (_dl_runtime_resolve_fxsave): New.
28312 (_dl_runtime_resolve_xsave): Likewise.
28313 (_dl_runtime_resolve_xsavec): Likewise.
28314
363e4519 283152017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
28316
28317 [BZ #22320]
28318 CVE-2017-15670
28319 * posix/glob.c (__glob): Fix one-byte overflow.
28320
6d43de4b
WD
283212017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28322
28323 * malloc/malloc.c (sysdep-cancel.h): Add include.
28324
a15d53e2
WD
283252017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28326
28327 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28328
b9a558e7
WH
283292017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28330
28331 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28332 (tests): Remove $(objpfx)ga_test depdendency.
28333 * resolv/ga_test.c: Remove file.
28334
b6b08b8e
MF
283352017-10-20 Mike FABIAN <mfabian@redhat.com>
28336
28337 [BZ #18812]
28338 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28339 * localedata/locales/kab_DZ: New file.
28340
9ba7e810
L
283412017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28342
28343 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28344 _dl_relocate_static_pie instead of _dl_start to compute load
28345 address in static PIE.
28346
4027a4fd
L
283472017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28348
28349 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28350
2f9314b4
MF
283512017-10-20 Mike FABIAN <mfabian@redhat.com>
28352
28353 [BZ #13605]
28354 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28355 * localedata/locales/shn_MM: New file.
28356
63b4baa4
FW
283572017-10-20 Florian Weimer <fweimer@redhat.com>
28358
28359 [BZ #22321]
28360 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28361 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28362 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28363 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28364 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28365 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28366
95ccb619
L
283672017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28368
28369 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28370
37bb78cb
JM
283712017-10-19 Joseph Myers <joseph@codesourcery.com>
28372
76f2ed92
JM
28373 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28374
37bb78cb
JM
28375 [BZ #22322]
28376 * sysdeps/mips/bits/long-double.h: Move to ....
28377 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28378
d74e6f6c
WD
283792017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28380
28381 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28382
363e4519 283832017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
28384 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 [BZ #22299]
28387 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28388 GLRO(dl_platform) to NULL.
28389 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28390 (modules-names): Add tst-platformmod-1 and
28391 x86_64/tst-platformmod-2.
28392 (CFLAGS-tst-platform-1.c): New.
28393 (CFLAGS-tst-platformmod-1.c): Likewise.
28394 (CFLAGS-tst-platformmod-2.c): Likewise.
28395 (LDFLAGS-tst-platformmod-2.so): Likewise.
28396 ($(objpfx)tst-platform-1): Likewise.
28397 ($(objpfx)tst-platform-1.out): Likewise.
28398 (tst-platform-1-ENV): Likewise.
28399 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28400 * sysdeps/x86_64/tst-platform-1.c: New file.
28401 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28402 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28403
4b0fa403
MF
284042017-10-19 Mike FABIAN <mfabian@redhat.com>
28405
28406 [BZ #13994]
28407 * locale/iso-639.def: Add Karbi.
28408 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28409 * localedata/locales/mjw_IN: New file.
28410
81325b12
JM
284112017-10-18 Joseph Myers <joseph@codesourcery.com>
28412
28413 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28414 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28415 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28416 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28417 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28418 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28419 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28420 <bits/floatn.h>.
28421 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28422 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28423 * manual/math.texi (Mathematics): Document additional architecture
28424 support for _Float128.
28425 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28426 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28427 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28428 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28429 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28430 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28431 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28432 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28433 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28434 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28437 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28438 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28439 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28440
a68ba2f3
SN
284412017-10-18 Renlin Li <renlin.li@arm.com>
28442
28443 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28444 _DYNAMIC symbol to calculate load address.
28445
346729f6
PC
284462017-10-18 Paul A. Clarke <pc@us.ibm.com>
28447
28448 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28449 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28450 summary bits.
28451 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28452 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28453
508b1e71
MF
284542017-10-18 Mike FABIAN <mfabian@redhat.com>
28455
28456 [BZ #16777]
28457 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28458 and improve readability by using more ASCII.
28459 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28460 and improve readability by using more ASCII.
28461
2c2245b9
WD
284622017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28463
28464 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28465 not all targets support atomics on bool.
28466
13c92696
JM
284672017-10-17 Joseph Myers <joseph@codesourcery.com>
28468
28469 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28470 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28471 __f128.
28472 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28473 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28474 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28475 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28476 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28477 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28478
71d85045
AZ
284792017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28480
28481 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28482 defines.
28483
3381be5c
WD
284842017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28485
28486 [BZ #22159]
28487 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28488 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28489 (do_check_remalloced_chunk): Fix build bug.
28490 (do_check_malloc_state): Add assert that checks arena->top.
28491 (malloc_consolidate): Remove initialization.
28492 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 28493 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 28494
e956075a
WD
284952017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28496
28497 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28498 (have_fastchunks): Remove.
28499 (clear_fastchunks): Remove.
28500 (set_fastchunks): Remove.
28501 (malloc_state): Add have_fastchunks.
28502 (malloc_init_state): Use have_fastchunks.
28503 (do_check_malloc_state): Remove incorrect invariant checks.
28504 (_int_malloc): Use have_fastchunks.
28505 (_int_free): Likewise.
28506 (malloc_consolidate): Likewise.
28507
e4dd4ace
WD
285082017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28509
28510 * malloc/malloc.c (tcache_put): Inline.
28511 (tcache_get): Inline.
28512
5bf58bc7
AJ
285132017-10-17 Jordi Mallach <jordi@gnu.org>
28514
28515 Aurelien Jarno <aurelien@aurel32.net>
28516 [BZ #2522]
28517 * localedata/locales/ca_ES@valencia: New file.
28518 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28519
386e1c26
RN
285202017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28521
28522 [BZ #22296]
28523 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28524 < 6.x
28525
4e17c78e
AZ
285262017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28527
3d265601
AZ
28528 * scripts/build-many-glibcs.py (Context.add_all_configs):
28529 Add arm-linux-gnueabihf multiarch extra_glibcs.
28530
4e17c78e
AZ
28531 * sysdeps/generic/ifunc-init.h: New file.
28532 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28533
56a752ab
MF
285342017-10-17 Mike FABIAN <mfabian@redhat.com>
28535
28536 [BZ #22019]
28537 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28538 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28539 * stdlib/tst-strfmon_l.c: adapt test case.
28540
c38a4bfd
JM
285412017-10-16 Joseph Myers <joseph@codesourcery.com>
28542
28543 * sysdeps/generic/float128-abi.h: New file.
28544 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28545 non-__prefixed symbols to ....
28546 * math/Versions: ... here. Include <float128-abi.h>.
28547 * stdlib/Versions ... and here. Include <float128-abi.h>
28548
76009b26
FW
285492017-10-16 Florian Weimer <fweimer@redhat.com>
28550
28551 * version.h (VERSION): Switch to ".9000" as the development
28552 version suffix.
28553
7ece6cd5
FW
285542017-10-16 Florian Weimer <fweimer@redhat.com>
28555
28556 [BZ #22050]
28557 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28558 compat_symbol_reference to access non-default version.
28559
d8287b36
FW
285602017-10-16 Florian Weimer <fweimer@redhat.com>
28561
28562 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28563
3480ddc4
CD
285642017-10-16 Carlos O'Donell <carlos@redhat.com>
28565
28566 * include/shlib-compat.h (compat_symbol_reference): Update
28567 comment.
28568
02010e79
JM
285692017-10-16 Joseph Myers <joseph@codesourcery.com>
28570
596f7013
JM
28571 * math/Makefile (test-types): Add
28572 $(type-float128-$(float128-alias-fcts)).
28573 * math/test-float128.h (TYPE_STR): Define conditional on
28574 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28575 (ULP_IDX): Likewise.
28576 (ULP_I_IDX): Likewise.
28577
02010e79
JM
28578 * stdlib/strtold.c: Include <bits/floatn.h>
28579 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28580 and later undefine as macro. Define as weak alias if
28581 [!USE_WIDE_CHAR].
28582 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28583 and later undefine as macro. Define as weak alias if
28584 [USE_WIDE_CHAR].
28585 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28586 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28587 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28588 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28589 Define and later undefine as macro. Define as weak alias if
28590 [USE_WIDE_CHAR].
28591 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28592 <bits/floatn.h>.
28593 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28594 Define and later undefine as macro. Define as weak alias if
28595 [!USE_WIDE_CHAR].
28596 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28597 Define and later undefine as macro. Define as weak alias if
28598 [USE_WIDE_CHAR].
28599
ea91c315
CD
286002017-10-15 Carlos O'Donell <carlos@redhat.com>
28601
28602 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28603 record_verbose messages.
28604
8e57c943
L
286052017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28606
28607 [BZ #22052]
28608 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28609 to silence -O3 -Wall warning with GCC 7.
28610
a4777c46
L
286112017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28612
28613 * Makeconfig (+link-static-before-libc): Use the first of
28614 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28615 * gmon/Makefile (tests): Add tst-gmon-static.
28616 (tests-static): Likewise.
28617 (CFLAGS-tst-gmon-static.c): New.
28618 (CRT-tst-gmon-static): Likewise.
28619 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28620 (tst-gmon-static-ENV): Likewise.
28621 (tests-special): Likewise.
28622 ($(objpfx)tst-gmon-static.out): Likewise.
28623 (clean-tst-gmon-static-data): Likewise.
28624 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28625 * gmon/tst-gmon-static-gprof.sh: New file.
28626 * gmon/tst-gmon-static.c: Likewise.
28627
bc3821bb
CD
286282017-10-13 Carlos O'Donell <carlos@redhat.com>
28629
28630 [BZ #22295]
28631 * locale/programs/linereader.c (get_string): Don't warn on
28632 non-symbolic character.
28633
a3e23a2c
CD
28634 [BZ #22294]
28635 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28636 int_curr_symbol.
28637
f16491eb
CD
28638 [BZ #22292]
28639 * locale/programs/record-status.h: New file
28640 * locale/programs/locale.c: Add comment.
28641 * locale/programs/charmap-dir.c: Don't include error.h.
28642 (charmap_opendir): Use record_error.
28643 * locale/programs/charmap.c: Don't include error.h.
28644 (charmap_read): Use record_error, and record_warning.
28645 (parse_charmap): Likewise.
28646 * locale/programs/ld-address.c: Don't include error.h.
28647 (address_finish): Use record_error, and record_warning.
28648 * locale/programs/ld-collate.c: Don't include error.h.
28649 (collate_finish): Use record_error, and record_error_at_line.
28650 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28651 (ctype_class_new): Likewise.
28652 (ctype_map_new): Likewise.
28653 (set_one_default): Likewise.
28654 (set_class_defaults): Likewise.
28655 (translit_flatten): Likewise.
28656 (allocate_arrays): Use record_error, and record_verbose.
28657 * locale/programs/ld-identification.c: Don't include error.h.
28658 (indentation_finish): Use record_error and record_warning.
28659 * locale/programs/ld-measurement.c: Don't include error.h.
28660 (measurement_finish): Use record_error.
28661 * locale/programs/ld-messages.c
28662 (message_finish): Likewise.
28663 * locale/programs/ld-monetary.c
28664 (monetary_finish): Likewise.
28665 * locale/programs/ld-name.c (name_finish): Use record_error
28666 and record_warning.
28667 * locale/programs/ld-numeric.c
28668 (numeric_finish): Use record_error.
28669 * locale/programs/ld-paper.c: Don't include error.h.
28670 (paper_finish): Use record_error.
28671 * locale/programs/ld-telephone.c: Don't include error.h.
28672 (telephone_finish): Use record_error.
28673 * locale/programs/ld-time.c (time_finish): Likewise.
28674 * locale/programs/linereader.h (lr_error): Make inline func.
28675 * locale/programs/localedef.c: Define recorded_warning_count,
28676 and recorded_error_count.
28677 (main): Use record_error. Use recorded_error_count and
28678 recorded_warning_count to issue correct error returns.
28679 (add_to_readlist): Use record_error.
28680 (find_locale): Likewise.
28681 (load_locale): Likewise.
28682 * locale/programs/localedef.h: Remove be_quiet
28683 and WITH_CUR_LOCALE.
28684 * locale/programs/locarchive.c (compare_from_file): Use
28685 record_error.
28686 * locale/programs/locfile.c (write_locale_data): Use
28687 record_error.
28688 * locale/programs/repertoire.c: Dont include error.h.
28689 (repertoire_complain): Use record_error.
28690 * localedata/tst-fmon.sh: Expect failures from localedef.
28691 * localedata/tst-locale.sh: Likewise.
28692 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28693
8dc8be75
CD
28694 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28695 (REPORTS): Likewise.
28696 (check): Likewise.
28697 (i18n): Rename to...
28698 (i18n_ctype): ...this.
28699 (i18n-report): Rename to...
28700 (i18n_ctype-report): ...this.
28701 * localedata/locales/i18n_ctype: Regenerate.
28702 * localedata/locales/i18n: copy i18n_ctype.
28703
f8718a9e
JM
287042017-10-13 Joseph Myers <joseph@codesourcery.com>
28705
18c08b96
JM
28706 * stdlib/strfroml.c: Include <bits/floatn.h>.
28707 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28708 Define before include of <stdlib.h> and undefine afterwards, then
28709 define as weak alias.
28710
f8718a9e
JM
28711 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28712 Undefine and restore default definition. Use
28713 libm_alias_ldouble_other.
28714
e4f530da
PZ
287152017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28716
28717 [BZ #22153]
28718 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28719 in coredumps.
28720
86445888
JC
287212017-10-13 James Clarke <jrtc27@jrtc27.com>
28722
28723 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28724 Assign sym_map to be map for local symbols, as TLS relocations
28725 use sym_map to determine whether the symbol is defined and to
28726 extract the TLS information.
28727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28729
179dcdb7
TMQMF
287302017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28731
e8dbd6a3
TMQMF
28732 [BZ #22189]
28733 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28734 (math_force_eval): Add powerpc version.
28735
179dcdb7
TMQMF
28736 [BZ #22142]
28737 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28738 -DBL_MAX.
28739 (do_test): Likewise.
28740 * stdio-common/tst-printf.sh: Likewise.
28741 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28742 ifdef clause in order to set the carry bit right. Replace r0 by
28743 0 without changing the behavior.
28744
7d25d410
JM
287452017-10-13 Joseph Myers <joseph@codesourcery.com>
28746
006e7664
JM
28747 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28748 <libm-alias-ldouble.h>.
28749 (fabsl): Define using libm_alias_ldouble.
28750 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28751 <libm-alias-ldouble.h>.
28752 (fabsl): Define using libm_alias_ldouble.
28753
1def91b3
JM
28754 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28755 Remove conditional code.
28756
7d25d410
JM
28757 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28758 Rename to __clog10_internal_l.
28759 (__clog10_internal_l): Define aliases using
28760 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28761 with __clog10.
28762
077ee129
RS
287632017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28764
28765 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28766 * benchtests/sincosf-inputs: New file.
28767 * benchtests/cosf-inputs: New file.
28768 * benchtests/sinf-inputs: New file.
28769
5ba41de9
SN
287702017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28771
28772 * posix/tst-spawn.c (do_test): Wait for both children.
28773
d165ca64
L
287742017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28775
28776 [BZ #22284]
28777 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28778 tests-pie): Add tst-gmon-pie.
28779 (CFLAGS-tst-gmon-pie.c): New.
28780 (CRT-tst-gmon-pie): Likewise.
28781 (tst-gmon-pie-ENV): Likewise.
28782 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28783 ($(objpfx)tst-gmon-pie.out): Likewise.
28784 (clean-tst-gmon-pie-data): Likewise.
28785 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28786 * gmon/gmon.c [PIC]: Include <link.h>.
28787 [PIC] (callback): New function.
28788 (write_hist): Add an argument for load address. Subtract load
28789 address from PCs.
28790 (write_call_graph): Likewise.
28791 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28792 it to write_hist and write_call_graph.
7bacdcfc 28793 * gmon/tst-gmon-pie.c: New file.
d165ca64 28794
bc9620d0
JM
287952017-10-11 Joseph Myers <joseph@codesourcery.com>
28796
28797 * math/Makefile (test-types-basic): New variable.
28798 (test-types): Likewise.
28799 (libm-test-support): Use $(test-types) instead of $(types).
28800 (libm-tests-base-normal): Likewise.
28801 (libm-tests-base-finite): Likewise.
28802 (libm-tests-base-inline): Likewise.
28803 (generated): Likewise.
28804 ($(objpfx)libm-test-support-$(t).c): Likewise.
28805 (libm-tests-for-type iterator): Likewise.
28806 (libm-test-support iterator): Likewise.
28807 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28808 (ulp_idx): Use ULP_IDX.
28809 * math/test-ldouble.h: Include <float.h>.
28810 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28811 (ULP_IDX): New macro.
28812 (ULP_I_IDX): Likewise.
28813 * math/test-double.h (ULP_IDX): Likewise.
28814 (ULP_I_IDX): Likewise.
28815 * math/test-float.h (ULP_IDX): Likewise.
28816 (ULP_I_IDX): Likewise.
28817 * math/test-float128.h (ULP_IDX): Likewise.
28818 (ULP_I_IDX): Likewise.
28819
09c76a74
AZ
288202017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28821
28822 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28823 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28824 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28825 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28826 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28827 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28828 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28831 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28832 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28833 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28834 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28836 (SINGLE_THREAD_BY_GLOBAL): Define.
28837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28838 Likewise.
28839 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28840 Likewise.
28841 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28842 Likewise.
28843 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28844 Likewise.
28845 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28846 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28848 Likewise.
28849
2faa42da
AS
288502017-10-11 Andreas Schwab <schwab@suse.de>
28851
28852 * nis/Makefile (aux): Remove.
28853 * nscd/Makefile (aux): Add nscd_hash.
28854 (nscd-modules): Likewise.
28855 ($(objpfx)nscd): Don't depend on libnsl.
28856 * nscd/nscd_hash.c: New file.
28857 * nscd/nscd_hash.h: Likewise.
28858 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28859 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28860 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28861 instead of <nis/rpcsvc/nis.h>.
28862 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28863
d8425e11
FW
288642017-10-11 Florian Weimer <fweimer@redhat.com>
28865
28866 [BZ #22078]
28867 Avoid large NSS buffers with many addresses, aliases.
28868 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28869 using dynarrays and struct alloc_buffer.
28870 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28871 (tst-nss-files-hosts-multi): Link with -ldl.
28872 * nss/tst-nss-files-hosts-multi.c: New file.
28873
78e806fd
FW
288742017-10-11 Florian Weimer <fweimer@redhat.com>
28875
28876 [BZ #18023]
28877 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28878 scratch_buffer. Eliminate gotos.
28879
541f19ba
JM
288802017-10-11 Joseph Myers <joseph@codesourcery.com>
28881
0ff64d3a
JM
28882 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28883 libm_alias_ldouble_other.
28884 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28885 undefine and redefine.
28886 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28887 (exp10l): Do not define here.
28888 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28889 (weak_alias): Undefine and redefine.
28890 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28891 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28892 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28893 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28894
541f19ba
JM
28895 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28896 [!__fma] (fma): Define using libm_alias_double.
28897 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28898 [!__fmaf] (fmaf): Define using libm_alias_float.
28899 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28900 (fmal): Define using libm_alias_ldouble.
28901
24b6515d
JM
289022017-10-10 Joseph Myers <joseph@codesourcery.com>
28903
28904 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28905 New macro.
28906 (libm_alias_double_other): Likewise.
28907 (libm_alias_double_r): Use libm_alias_double_other_r.
28908 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28909 New macro.
28910 (libm_alias_float_other): Likewise.
28911 (libm_alias_float_r): Use libm_alias_float_other_r.
28912 * sysdeps/generic/libm-alias-float128.h
28913 (libm_alias_float128_other_r): New macro.
28914 (libm_alias_float128_other): Likewise.
28915 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28916 * sysdeps/generic/libm-alias-ldouble.h
28917 (libm_alias_ldouble_other_r): New macro.
28918 (libm_alias_ldouble_other): Likewise.
28919 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28920 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28921 (libm_alias_double_other_r): New macro.
28922 (libm_alias_double_other): Likewise.
28923 (libm_alias_double_r): Use libm_alias_double_other_r.
28924 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28925 (libm_alias_ldouble_other_r): New macro.
28926 (libm_alias_ldouble_other): Likewise.
28927 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28928 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28929 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28930 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28931 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28932 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28933 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28934 * math/w_exp2f.c: Use libm_alias_float_other.
28935 * math/w_expf.c: Likewise.
28936 * math/w_log2f.c: Likewise.
28937 * math/w_logf.c: Likewise.
28938 * math/w_powf.c: Likewise.
28939 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28940 [!__exp2f]: Use libm_alias_float_other.
28941 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28942 [!__expf]: Use libm_alias_float_other.
28943 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28944 [!__log2f]: Use libm_alias_float_other.
28945 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28946 [!__logf]: Use libm_alias_float_other.
28947 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28948 [!__powf]: Use libm_alias_float_other.
28949
8ed70de2
FW
289502017-10-10 Florian Weimer <fweimer@redhat.com>
28951
28952 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28953 function.
28954 (_nss_files_gethostbyname3_r): Call it.
28955
a8dce619
JM
289562017-10-09 Joseph Myers <joseph@codesourcery.com>
28957
28958 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28959 error. Remove default definition of declare_mgen_alias.
28960 [!declare_mgen_alias_r]: Likewise.
28961 * sysdeps/generic/math-type-macros-double.h
28962 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28963 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28964 (declare_mgen_alias_r): Likewise.
28965 * sysdeps/generic/math-type-macros-float128.h
28966 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28967 * sysdeps/generic/math-type-macros-ldouble.h
28968 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28969 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28970 macro.
28971 (declare_mgen_alias_r_s): Likewise.
28972 (declare_mgen_alias_r): Likewise.
28973 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28974 (lgamma_r): Define using libm_alias_double_r.
28975 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28976 (lgammaf_r): Define using libm_alias_float_r.
28977 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28978 (lgammal_r): Define using libm_alias_ldouble_r.
28979 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28980 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28981
bedac136
AZ
289822017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28983
28984 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28985 extern declaration.
28986
c7509db2
JM
289872017-10-09 Joseph Myers <joseph@codesourcery.com>
28988
28989 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28990
d6c064e9
JW
289912017-10-09 Jonathan Wakely <jwakely@redhat.com>
28992
28993 [BZ #21326]
28994 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28995 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28996 * math/Makefile (test-math-cxx11): New test.
28997 * math/test-math-cxx11.cc: New file.
28998
98e07420
CB
289992017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29000
29001 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29002
645ac9aa
CB
29003 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29004 call to allocate the slave pty file descriptor.
29005
fd3b4e7c
JM
290062017-10-06 Joseph Myers <joseph@codesourcery.com>
29007
f85a176f
JM
29008 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29009 [!__fma] (fma): Define using libm_alias_double.
29010 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29011 [!__fma] (fma): Define using libm_alias_double.
29012
fd3b4e7c
JM
29013 * sysdeps/ieee754/float128/float128_private.h: Include
29014 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29015 (libm_alias_ldouble_r): Undefine and redefine.
29016 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29017 <libm-alias-ldouble.h>.
29018 (asinhl): Define using libm_alias_ldouble.
29019 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29020 <libm-alias-ldouble.h>.
29021 (atanl): Define using libm_alias_ldouble.
29022 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29023 <libm-alias-ldouble.h>.
29024 (cbrtl): Define using libm_alias_ldouble.
29025 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29026 <libm-alias-ldouble.h>.
29027 (ceill): Define using libm_alias_ldouble.
29028 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29029 <libm-alias-ldouble.h>.
29030 (copysignl): Define using libm_alias_ldouble.
29031 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29032 <libm-alias-ldouble.h>.
29033 (cosl): Define using libm_alias_ldouble.
29034 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29035 <libm-alias-ldouble.h>.
29036 (erfl): Define using libm_alias_ldouble.
29037 (erfcl): Likewise.
29038 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29039 <libm-alias-ldouble.h>.
29040 (expm1l): Define using libm_alias_ldouble.
29041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29042 <libm-alias-ldouble.h>.
29043 (fabsl): Define using libm_alias_ldouble.
29044 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29045 <libm-alias-ldouble.h>.
29046 (floorl): Define using libm_alias_ldouble.
29047 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29048 <libm-alias-ldouble.h>.
29049 (fmal): Define using libm_alias_ldouble.
29050 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29051 <libm-alias-ldouble.h>.
29052 (frexpl): Define using libm_alias_ldouble.
29053 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29054 libm_alias_ldouble.
29055 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29056 <libm-alias-ldouble.h>.
29057 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29058 libm_alias_ldouble.
29059 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29060 <libm-alias-ldouble.h>.
29061 (getpayloadl): Define using libm_alias_ldouble.
29062 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29063 <libm-alias-ldouble.h>.
29064 (llrintl): Define using libm_alias_ldouble.
29065 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29066 <libm-alias-ldouble.h>.
29067 (llroundl): Define using libm_alias_ldouble.
29068 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29069 <libm-alias-ldouble.h>.
29070 (logbl): Define using libm_alias_ldouble.
29071 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29072 <libm-alias-ldouble.h>.
29073 (lrintl): Define using libm_alias_ldouble.
29074 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29075 <libm-alias-ldouble.h>.
29076 (lroundl): Define using libm_alias_ldouble.
29077 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29078 <libm-alias-ldouble.h>.
29079 (modfl): Define using libm_alias_ldouble.
29080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29081 <libm-alias-ldouble.h>.
29082 (nearbyintl): Define using libm_alias_ldouble.
29083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29084 <libm-alias-ldouble.h>.
29085 (nextafterl): Define using libm_alias_ldouble.
29086 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29087 <libm-alias-ldouble.h>.
29088 (nextupl): Define using libm_alias_ldouble.
29089 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29090 <libm-alias-ldouble.h>.
29091 (remquol): Define using libm_alias_ldouble.
29092 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29093 <libm-alias-ldouble.h>.
29094 (rintl): Define using libm_alias_ldouble.
29095 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29096 <libm-alias-ldouble.h>.
29097 (roundevenl): Define using libm_alias_ldouble.
29098 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29099 <libm-alias-ldouble.h>.
29100 (roundl): Define using libm_alias_ldouble.
29101 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29102 using libm_alias_ldouble.
29103 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29104 <libm-alias-ldouble.h>.
29105 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29106 Define using libm_alias_ldouble.
29107 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29108 <libm-alias-ldouble.h>.
29109 (sincosl): Define using libm_alias_ldouble.
29110 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29111 <libm-alias-ldouble.h>.
29112 (sinl): Define using libm_alias_ldouble.
29113 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29114 <libm-alias-ldouble.h>.
29115 (tanhl): Define using libm_alias_ldouble.
29116 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29117 <libm-alias-ldouble.h>.
29118 (tanl): Define using libm_alias_ldouble.
29119 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29120 <libm-alias-ldouble.h>.
29121 (totalorderl): Define using libm_alias_ldouble.
29122 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29123 <libm-alias-ldouble.h>.
29124 (totalordermagl): Define using libm_alias_ldouble.
29125 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29126 <libm-alias-ldouble.h>.
29127 (truncl): Define using libm_alias_ldouble.
29128 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29129 libm_alias_ldouble.
29130 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29131 libm_alias_ldouble.
29132 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29133 <libm-alias-ldouble.h>.
29134 (weak_alias): Do not undefine and redefine.
29135 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29136 (copysignl): Define with long_double_symbol only if [IS_IN
29137 (libc)].
29138 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29139 <libm-alias-ldouble.h>.
29140 (weak_alias): Do not undefine and redefine.
29141 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29142 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29143 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29144 <libm-alias-ldouble.h>.
29145 (weak_alias): Do not undefine and redefine.
29146 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29147 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29148 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29149 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29152 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29153 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29155 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29157 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29158 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29165 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29172
1e26d351
CD
291732017-10-06 Carlos O'Donell <carlos@redhat.com>
29174
29175 [BZ #22111]
29176 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29177 (tcache_thread_freeres): Set tcache_shutting_down before
29178 freeing the tcache.
29179 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29180 * malloc/tst-malloc-tcache-leak.c: New file.
29181
d1386762
RS
291822017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29183
29184 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29185 back to powerpc32 file.
29186 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29187 (memrchr): Add __memrchr_power8 to ifunc list.
29188 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29189 extra bytes for unaligned inputs.
29190
6dff1983
JM
291912017-10-06 Joseph Myers <joseph@codesourcery.com>
29192
29193 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29194 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29198
86f9568a
JM
291992017-10-05 Joseph Myers <joseph@codesourcery.com>
29200
0db0b931
JM
29201 * sysdeps/arm/libm-test-ulps: Update.
29202
86f9568a
JM
29203 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29204 <libm-alias-ldouble.h>.
29205 (asinhl): Define using libm_alias_ldouble.
29206 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29207 <libm-alias-ldouble.h>.
29208 (cbrtl): Define using libm_alias_ldouble.
29209 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29210 <libm-alias-ldouble.h>.
29211 (copysignl): Define using libm_alias_ldouble.
29212 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29213 <libm-alias-ldouble.h>.
29214 (cosl): Define using libm_alias_ldouble.
29215 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29216 <libm-alias-ldouble.h>.
29217 (erfl): Define using libm_alias_ldouble.
29218 (erfcl): Likewise.
29219 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29220 <libm-alias-ldouble.h>.
29221 (fmal): Define using libm_alias_ldouble.
29222 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29223 <libm-alias-ldouble.h>.
29224 (frexpl): Define using libm_alias_ldouble.
29225 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29226 libm_alias_ldouble.
29227 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29228 <libm-alias-ldouble.h>.
29229 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29230 libm_alias_ldouble.
29231 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29232 <libm-alias-ldouble.h>.
29233 (getpayloadl): Define using libm_alias_ldouble.
29234 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29235 <libm-alias-ldouble.h>.
29236 (llrintl): Define using libm_alias_ldouble.
29237 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29238 <libm-alias-ldouble.h>.
29239 (llroundl): Define using libm_alias_ldouble.
29240 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29241 <libm-alias-ldouble.h>.
29242 (lrintl): Define using libm_alias_ldouble.
29243 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29244 <libm-alias-ldouble.h>.
29245 (lroundl): Define using libm_alias_ldouble.
29246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29247 <libm-alias-ldouble.h>.
29248 (modfl): Define using libm_alias_ldouble.
29249 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29250 <libm-alias-ldouble.h>.
29251 (nextupl): Define using libm_alias_ldouble.
29252 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29253 <libm-alias-ldouble.h>.
29254 (remquol): Define using libm_alias_ldouble.
29255 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29256 <libm-alias-ldouble.h>.
29257 (roundevenl): Define using libm_alias_ldouble.
29258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29259 <libm-alias-ldouble.h>.
29260 (roundl): Define using libm_alias_ldouble.
29261 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29262 using libm_alias_ldouble.
29263 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29264 <libm-alias-ldouble.h>.
29265 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29266 <libm-alias-ldouble.h>.
29267 (setpayloadsigl): Define using libm_alias_ldouble.
29268 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29269 <libm-alias-ldouble.h>.
29270 (sincosl): Define using libm_alias_ldouble.
29271 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29272 <libm-alias-ldouble.h>.
29273 (sinl): Define using libm_alias_ldouble.
29274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29275 <libm-alias-ldouble.h>.
29276 (tanhl): Define using libm_alias_ldouble.
29277 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29278 <libm-alias-ldouble.h>.
29279 (tanl): Define using libm_alias_ldouble.
29280 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29281 <libm-alias-ldouble.h>.
29282 (totalorderl): Define using libm_alias_ldouble.
29283 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29284 <libm-alias-ldouble.h>.
29285 (totalordermagl): Define using libm_alias_ldouble.
29286 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29287 libm_alias_ldouble.
29288 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29289 libm_alias_ldouble.
29290
9ec87fd2
SP
292912017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29292
dd5bc7f1
SP
29293 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29294 memmove_falkor.
29295 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29296 (__libc_ifunc_impl_list): Likewise.
29297 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29298 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29299
5bfb0404
SP
29300 * benchtests/bench-memmove-walk.c: New file.
29301 * benchtests/Makefile (string-benchset): Add it.
29302
36bb8edf
SP
29303 * benchtests/bench-memset-walk.c: New file.
29304 * benchtests/Makefile (string-benchset): Add it.
29305
9ec87fd2
SP
29306 * benchtests/bench-memcpy-walk.c: New file.
29307 * benchtests/Makefile (string-benchset): Add it.
29308
1e9522c6
FW
293092017-10-05 Florian Weimer <fweimer@redhat.com>
29310
29311 nscd: Eliminate compilation time dependency in the build output.
29312 * nscd/nscd_stat.c (STATDATA_VERSION)
29313 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29314 (STATDATA_VERSION_FULL): New macro definitions.
29315 (compilation): Remove.
29316 (struct statdata): Adjust version member.
29317 (send_stats): Set version from STATDATA_VERSION_FULL.
29318 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29319
644d3857
JM
293202017-10-05 Joseph Myers <joseph@codesourcery.com>
29321
29322 * configure.ac (--enable-add-ons): Remove option.
29323 (machine): Do not mention add-ons in comment.
29324 (LIBC_PRECONFIGURE): Likewise.
29325 (add_ons): Remove variable and sanity checks and logic to locate
29326 add-ons.
29327 (add_ons_automatic): Remove variable.
29328 (configured_add_ons): Likewise.
29329 (add_ons_sfx): Likewise.
29330 (add_ons_pfx): Likewise.
29331 (add_on_subdirs): Likewise.
29332 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29333 consideration of add-ons in Implies handling.
29334 (sysdeps_add_ons): Likewise.
29335 * configure: Regenerated.
29336 * libidn/configure.ac: Remove.
29337 * libidn/configure: Likewise.
29338 * sysdeps/unix/inet/configure.ac: New file.
29339 * sysdeps/unix/inet/configure: New generated file.
29340 * sysdeps/unix/inet/Subdirs: Add libidn.
29341 * Makeconfig (sysdeps-srcdirs): Remove variable.
29342 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29343 ($(common-objpfx)config.status): Do not depend on add-on files.
29344 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29345 comment.
29346 (all-subdirs): Do not include $(add-on-subdirs).
29347 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29348 * config.make.in (add-ons): Remove variable.
29349 (add-on-subdirs): Likewise.
29350 (sysdeps-add-ons): Likewise.
29351 * manual/Makefile (add-chapters): Remove.
29352 ($(objpfx)texis): Do not depend on $(add-chapters).
29353 (nonexamples): Do not handle $(add-chapters).
29354 (examples): Do not handle $(add-ons).
29355 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29356 libc-texinfo.sh.
29357 * manual/install.texi (Installation): Do not mention add-ons.
29358 (--enable-add-ons): Do not document configure option.
29359 * INSTALL: Regenerated.
29360 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29361 * manual/maint.texi (Hierarchy Conventions): Do not mention
29362 add-ons.
29363 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29364 --enable-add-ons.
29365 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29366 add-ons.
29367 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29368 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29369
19f82f35
AS
293702017-10-05 Andreas Schwab <schwab@suse.de>
29371
29372 [BZ #15142]
29373 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29374 (_IO_flush_all_lockp): Always lock list_all_lock.
29375 (_IO_flush_all_linebuffered): Likewise.
29376 (_IO_unbuffer_all): Likewise.
29377
91e7cf98
FW
293782017-10-05 Florian Weimer <fweimer@redhat.com>
29379
29380 [BZ #15436]
29381 Do not flush stdio streams on abort.
29382 * stdlib/abort.c (fflush): Remove macro definition.
29383 (abort): Remove stages related to stdio flushing.
29384
0c251257
FW
293852017-10-05 Florian Weimer <fweimer@redhat.com>
29386
29387 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29388
7ea59e3e
SL
293892017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29390
29391 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29392
84d0e6f0
FW
293932017-10-05 Florian Weimer <fweimer@redhat.com>
29394
29395 * support/support_format_hostent.c (support_format_hostent): Add
29396 more error information for NETDB_INTERNAL.
29397
ee417882
L
293982017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29399
29400 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29401 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29402 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29403 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29404 AC_DEFINE if multi-arch is enabled.
29405 * sysdeps/i386/configure: Regenerated.
29406
a67029ff
L
294072017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29408
29409 * Makeconfig (+link-static-before-libc): Use
29410 $(DEFAULT-LDFLAGS-$(@F)).
29411 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29412 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29413 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29414
5dba84b3
L
294152017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29416
29417 * elf/Makefile (tests): Add tst-main1.
29418 (modules-names): Add tst-main1mod.
29419 ($(objpfx)tst-main1): New.
29420 (CRT-tst-main1): Likewise.
29421 (LDFLAGS-tst-main1): Likewise.
29422 (LDLIBS-tst-main1): Likewise.
29423 (tst-main1mod.so-no-z-defs): Likewise.
29424 * elf/tst-main1.c: New file.
29425 * elf/tst-main1mod.c: Likewise.
29426
758f1bfa
L
294272017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29428
29429 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29430
7e16a5d1
JM
294312017-10-04 Joseph Myers <joseph@codesourcery.com>
29432
29433 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29434 (fma): Define using libm_alias_double.
29435 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29436 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29437 <math_ldbl_opt.h>.
29438 (fmal): Do not define as compat symbol here.
29439 * sysdeps/alpha/fpu/s_fma.c: New file.
29440
db4f87ba
SN
294412017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29442
29443 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29444
72d13ed1
JM
294452017-10-04 Joseph Myers <joseph@codesourcery.com>
29446
32d372d5
JM
29447 [BZ #22229]
29448 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29449 <math_ldbl_opt.h>
29450 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29451 and libc.
29452 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29453 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29454 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29455 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29457 Include <math_ldbl_opt.h>
29458 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29459 and libc.
29460 (compat_symbol): Undefine and redefine.
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29462 <math_ldbl_opt.h>
29463 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29464 (compat_symbol): Undefine and redefine.
29465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29466 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29467 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29468 GLIBC_2_1 for libm.
29469 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29470 GLIBC_2.0 copysignl symbol.
29471 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29472 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29473
72d13ed1
JM
29474 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29475
11c4f501
FW
294762017-10-04 Florian Weimer <fweimer@redhat.com>
29477
29478 * scripts/check-local-headers.sh: Ignore nspr4 header file
29479 directory in addition to nspr.
29480
57b4af19
GT
294812017-10-04 Guido Trentalancia <guido@trentalancia.net>
29482
29483 [BZ #17956]
29484 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29485 * configure: Regenerate.
29486 * crypt/Makefile (nss-cpp-flags): New variable.
29487 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29488 (CPPFLAGS-md5-crypt.c): Use it.
29489 * scripts/check-local-headers.sh: Ignore nspr header file
29490 directory.
29491
64d1e08e
AS
294922017-10-04 Andreas Schwab <schwab@suse.de>
29493
29494 * nis/Makefile (services): Remove compat.
29495 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29496 ($(objpfx)libnss_compat.so): Remove rule.
29497 * nis/Versions (libnss_compat): Remove.
29498 * nss/Makefile (services): Add compat.
29499 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29500 * nss/Versions (libnss_compat): Define.
29501 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29502 Don't include <rpc/types.h>. Replace bool_t by bool.
29503 * nss/nss_compat/compat-initgroups.c: Likewise.
29504 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29505 instead of <rpcsrv/ypclnt.h>.
29506 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29507 yp_get_default_domain.
29508 * nss/nss_compat/compat-pwd.c: Likewise.
29509 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29510 yp_get_default_domain.
29511 * nss/nss_compat/nisdomain.c: New file.
29512 * nss/nss_compat/nisdomain.h: Likewise.
29513
86c27ade
SN
295142017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29515
29516 [BZ #22244]
29517 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29518 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29519
8f8f8ef7
SN
295202017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29521
29522 [BZ #22243]
29523 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29524 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29525
95577475
L
295262017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29527
29528 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29529 "movl main@GOTOFF(%ebx), %eax".
29530
02d2d892
L
295312017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29532
29533 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29534 allow undefined _DYNAMIC in PIE libc.a.
29535 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29536 Likewse.
29537
0c609d19
L
295382017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29539
29540 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29541 check _DYNAMIC.
29542
c34a19ed
L
295432017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29544
29545 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29546 check _DYNAMIC.
29547
cdd4155d
L
295482017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29549
29550 * math/test-math-iscanonical.cc (error): Replace bool with int.
29551
4699cb8b
JM
295522017-10-03 Joseph Myers <joseph@codesourcery.com>
29553
d8f619b3
JM
29554 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29555 (modf): Define using libm_alias_double, only if [!__modf].
29556 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29557 <libm-alias-double.h>.
29558 (modf): Define using libm_alias_double, only if [!__modf].
29559 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29560 compat symbol here.
29561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29562 (weak_alias): Do not undefine and redefine.
29563 (strong_alias): Likewise.
29564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29565 (weak_alias): Likewise.
29566 (strong_alias): Likewise.
29567
4699cb8b
JM
29568 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29569 (logb): Define using libm_alias_double, only if [!__logb].
29570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29571 <libm-alias-double.h>.
29572 (logb): Define using libm_alias_double, only if [!__logb].
29573 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29575 (weak_alias): Do not undefine and redefine.
29576 (strong_alias): Likewise.
29577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29578 (weak_alias): Likewise.
29579 (strong_alias): Likewise.
29580
bcc4e4bb
L
295812017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29582
29583 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29584 Check SHARED instead PIC.
29585
39793865
JM
295862017-10-03 Joseph Myers <joseph@codesourcery.com>
29587
7f1cbdf8
JM
29588 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29589 [!__fmaf] (fmaf): Define using libm_alias_float.
29590
39793865
JM
29591 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29592 (frexp): Define using libm_alias_double.
29593 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29594 <libm-alias-double.h>.
29595 (frexp): Define using libm_alias_double.
29596 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29597 compat symbol here.
29598
aa0235df
GG
295992017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29600
29601 [BZ #22235]
29602 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29603 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29604 (CFLAGS-test-math-iscanonical.cc): New variable.
29605 * math/test-math-iscanonical.cc: New file.
29606 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29607 Provide a C++ implementation based on function overloading,
29608 rather than using __MATH_TG, which uses C-only builtins.
29609 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29610 Likewise.
29611 * sysdeps/powerpc/powerpc64le/Makefile
29612 (CFLAGS-test-math-iscanonical.cc): New variable.
29613
a1132b5e
JM
296142017-10-03 Joseph Myers <joseph@codesourcery.com>
29615
29616 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29617 (ceil): Define using libm_alias_double.
29618 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29619 (floor): Define using libm_alias_double.
29620 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29621 <libm-alias-double.h>.
29622 (llround): Define using libm_alias_double.
29623 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29624 <libm-alias-double.h>.
29625 (lround): Define using libm_alias_double.
29626 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29627 <libm-alias-double.h>.
29628 (nearbyint): Define using libm_alias_double.
29629 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29630 <libm-alias-double.h>.
29631 (remquo): Define using libm_alias_double.
29632 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29633 (rint): Define using libm_alias_double.
29634 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29635 (round): Define using libm_alias_double.
29636 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29637 (trunc): Define using libm_alias_double.
29638 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29639 <libm-alias-double.h>.
29640 (ceil): Define using libm_alias_double.
29641 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29642 <libm-alias-double.h>.
29643 (floor): Define using libm_alias_double.
29644 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29645 <libm-alias-double.h>.
29646 (llround): Define using libm_alias_double.
29647 [_LP64] (lround): Likewise.
29648 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29649 <libm-alias-double.h>.
29650 [!_LP64] (lround): Define using libm_alias_double.
29651 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29652 <libm-alias-double.h>.
29653 (nearbyint): Define using libm_alias_double.
29654 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29655 <libm-alias-double.h>.
29656 (remquo): Define using libm_alias_double.
29657 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29658 <libm-alias-double.h>.
29659 (rint): Define using libm_alias_double.
29660 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29661 <libm-alias-double.h>.
29662 (round): Define using libm_alias_double.
29663 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29664 <libm-alias-double.h>.
29665 (trunc): Define using libm_alias_double.
29666 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29667 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29668 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29669 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29670 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29671 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29672 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29673 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29674 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29675
f275f64e
SN
296762017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29677
29678 * math/w_remainder.c: New file.
29679 * math/w_remainderf.c: New file.
29680 * math/w_remainderl.c: New file.
29681
b8818ab5
L
296822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29683
29684 * elf/rtld.c (BOOTSTRAP_MAP): New.
29685 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29686 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29687 Likewise.
29688 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29689 Likewise.
29690 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29691 Likewise.
29692
3d1870fa
ST
296932017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29694
29695 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29696 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29697 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29698 rtld_hidden_data_ver): Define to empty.
29699 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29700 __assert_perror_fail): Likewise.
29701 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29702 (__rewinddir): Likewise.
29703 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29704 (__profile_frequency): Likewise.
29705 * include/setjmp.h (__sigsetjmp): Likewise.
29706 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29707 __libc_sigaction): Likewise.
29708 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29709 not set hidden attribute.
29710 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29711 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29712 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29713 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29714 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29715 __fxstatat64): Likewise.
29716 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29717 (__uname): Likewise.
29718 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29719 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29720 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29721 (NO_RTLD_HIDDEN): Set.
29722 * sysdeps/mach/hurd/configure: Refresh.
29723 * config.h.in: Refresh.
29724
527cd19c
JM
297252017-10-02 Joseph Myers <joseph@codesourcery.com>
29726
38722448
JM
29727 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29728 (atan): Define using libm_alias_double.
29729 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29730 (tan): Define using libm_alias_double.
29731 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29732 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29733
527cd19c
JM
29734 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29735 define as weak alias of __atan. Do not define any aliases if
29736 [__atan].
29737 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29738 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29739 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29740 as weak alias of __tan. Do not define any aliases if [__tan].
29741 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29742 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29743 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29744 __atan.
29745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29746 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29747 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29748 and define as weak alias of __atan.
29749 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29750 __atan.
29751 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29752 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29753 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29754 define as weak alias of __tan.
29755
bdc5c592
SN
297562017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29757
29758 * math/w_lgamma.c: New file.
29759 * math/w_lgammaf.c: New file.
29760 * math/w_lgammal.c: New file.
29761
bd4430c2
SN
297622017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29763
29764 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29765 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29766 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29767 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29768 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29769 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29770 * sysdeps/i386/fpu/w_log2f.c: New file.
29771 * sysdeps/i386/fpu/w_logf.c: New file.
29772 * sysdeps/i386/fpu/w_powf.c: New file.
29773 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29774 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29775 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29776
f7a0b063
SN
297772017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29778 H.J. Lu <hongjiu.lu@intel.com>
29779
29780 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29781 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29782 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29783 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29784 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29785 the new expf code.
29786 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29787 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29788 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29789 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29790 * sysdeps/i386/fpu/w_exp2f.c: New file.
29791 * sysdeps/i386/fpu/w_expf.c: New file.
29792 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29793 * sysdeps/x86_64/fpu/w_expf.c: New file.
29794
72d3d281
SN
297952017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29796
29797 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29798 (log2f): Likewise.
29799 (powf): Likewise.
29800 * math/w_log2f.c: New file.
29801 * math/w_logf.c: New file.
29802 * math/w_powf.c: New file.
29803 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29804 * math/w_logf_compat.c (__logf_compat): Likewise.
29805 * math/w_powf_compat.c (__powf_compat): Likewise.
29806 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29807 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29808 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29811 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29812 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29813 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29815 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29816 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29817 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29819 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29822 Likewise.
29823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29824 Likewise.
29825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29826 Likewise.
29827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29828 Likewise.
29829 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29830 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29831 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29832 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29833 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29835 Likewise.
29836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29837 Likewise.
29838 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29840 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29841
59ba2d2b
RS
298422017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29843
29844 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29845 (sysdep_routines): Add memrchr_power8.
29846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29847 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29848 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29849 New file.
29850 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29851 (memrchr): Add __memrchr_power8 to ifunc list.
29852 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29853
397286ea
L
298542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29855
29856 [BZ #18822]
29857 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29858 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29859 libc_hidden_def.
29860 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29861 (__posix_fallocate64_l64): Likewise.
29862
d0a4512b
L
298632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 [BZ #18822]
29866 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29867 (__sched_setaffinity_new): Add libc_hidden_proto and
29868 libc_hidden_def.
29869
c0769f70
L
298702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29871
29872 [BZ #18822]
29873 * include/glob.h (__glob64): Add libc_hidden_proto.
29874 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29875 libc_hidden_def.
29876
0e7d5b6e
L
298772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29878
29879 [BZ #18822]
29880 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29881 attribute_hidden.
29882
bde06c87
L
298832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29884
29885 [BZ #18822]
29886 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29887
fa426590
L
298882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29889
29890 [BZ #18822]
29891 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29892 libc_hidden_def.
29893
2f8a05d8
L
298942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29895
29896 [BZ #18822]
29897 * csu/version.c (__libc_print_version): Add attribute_hidden.
29898
7bfd08ac
L
298992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29900
29901 [BZ #18822]
29902 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29903
0e1fd06c
L
299042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29905
29906 [BZ #18822]
29907 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29908
36e7ae1e
L
299092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29910
29911 [BZ #18822]
29912 * nscd/nscd_helper.c (__nis_hash): New prototype.
29913
87078544
L
299142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29915
29916 [BZ #18822]
29917 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29918 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29919 libc_hidden_def.
29920 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29921 * termios/tcgetattr.c (__tcgetattr): Likewise.
29922
dd3121df
L
299232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29924
29925 [BZ #18822]
29926 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29927 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29928 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29929 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29930 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29931
047d1a81
L
299322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29933
29934 [BZ #18822]
29935 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29936
fd331b11
L
299372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29938
29939 [BZ #18822]
29940 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29941 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29942
57f859bd
L
299432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29944
29945 [BZ #18822]
29946 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29947
d1903329
L
299482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29949
29950 [BZ #18822]
29951 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29952 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29953
b4744101
L
299542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29955
29956 [BZ #18822]
29957 * include/ifreq.h: New file.
29958 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29959 (__ifreq): Likewise.
29960 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29961 (__ifreq): Likewise.
29962
43b7dfd1
L
299632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29964
29965 [BZ #18822]
29966 * include/idna.h: New file.
29967 * inet/getnameinfo.c: Include <idna.h> instead of
29968 <libidn/idna.h>.
29969 (__idna_to_unicode_lzlz): Removed.
29970 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29971 <libidn/idna.h>.
29972 (__idna_to_ascii_lz): Removed.
29973 (__idna_to_unicode_lzlz): Likewise.
29974
2c0cd8f8
L
299752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29976
29977 [BZ #18822]
29978 * include/plural-exp.h: New file.
29979 * intl/plural-exp.c: Include <plural-exp.h> instead of
29980 "plural-exp.h".
29981
8369d216
L
299822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29983
29984 [BZ #18822]
29985 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29986 "getsourcefilter.h".
29987 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29988 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29989 "getsourcefilter.h".
29990 (__get_sol): Removed.
29991
a0aef783
L
299922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29993
29994 [BZ #18822]
29995 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29996 to ...
29997 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29998
3ee8209b
L
299992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30000
30001 [BZ #18822]
30002 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30003 attribute_hidden.
30004
6036fc38
L
300052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30006
30007 [BZ #18822]
30008 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30009
fe84fed0
L
300102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30011
30012 [BZ #18822]
30013 * include/search.h (__tdestroy): Add libc_hidden_proto.
30014 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30015
048dd681
L
300162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30017
30018 [BZ #18822]
30019 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30020
6e342af6
L
300212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30022
30023 [BZ #18822]
30024 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30025 attribute_hidden.
30026
6a088436
L
300272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30028
30029 [BZ #18822]
30030 * include/signal.h (__kill): Add libc_hidden_proto.
30031 (__sigblock): Likewise.
30032 (__sigprocmask): Likewise.
30033 (__sigaltstack): Likewise.
30034 * signal/kill.c (__kill): Add libc_hidden_def.
30035 * signal/sigblock.c (__sigblock): Likewise.
30036 * signal/sigprocmask.c (__sigprocmask): Likewise.
30037 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30038 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30039 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30040 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30041 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30042 Likewise.
30043 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30044 Likewise.
30045 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30046 (__sigprocmask): Likewise.
30047 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30048 Likewise.
30049 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30050 (__sigprocmask): Likewise.
30051 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30052 Likewise.
30053
78cf1d74
L
300542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30055
30056 [BZ #18822]
30057 * include/string.h (__strsep): Add libc_hidden_proto.
30058 * string/strsep.c (__strsep): Add libc_hidden_def.
30059
85b35894
L
300602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30061
30062 [BZ #18822]
30063 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30064 attribute_hidden.
30065 (__spawni): Likewise.
30066
225f7eec
L
300672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30068
30069 [BZ #18822]
30070 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30071 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30072 libc_hidden_def.
30073
372fe247
L
300742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30075
30076 [BZ #18822]
30077 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30078
9e5ee8b8
L
300792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30080
30081 [BZ #18822]
30082 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30083 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30084 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30085 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30086 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30087 Likewise.
30088 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30089 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30090
2ff16592
L
300912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30092
30093 [BZ #18822]
30094 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30095 (__dcigettext): Likewise.
30096
b5648377
L
300972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30098
30099 [BZ #18822]
30100 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30101 libc_hidden_proto.
30102 (__get_nprocs): Likewise.
30103 (__get_phys_pages): Likewise.
30104 (__get_avphys_pages): Likewise.
30105 (__get_child_max): Add attribute_hidden.
30106 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30107 (__get_nprocs): Likewise.
30108 (__get_phys_pages): Likewise.
30109 (__get_avphys_pages): Likewise.
30110 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30111 libc_hidden_def.
30112 (__get_nprocs): Likewise.
30113 (__get_phys_pages): Likewise.
30114 (__get_avphys_pages): Likewise.
30115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30116 libc_hidden_def.
30117 (__get_nprocs_conf): Likewise.
30118 (__get_phys_pages): Likewise.
30119 (__get_avphys_pages): Likewise.
30120
0389a6aa
L
301212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30122
30123 [BZ #18822]
30124 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30125 attribute_hidden.
30126 (__netlink_close): Likewise.
30127 (__netlink_free_handle): Likewise.
30128 (__netlink_request): Likewise.
30129
d48354d8
L
301302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30131
30132 [BZ #18822]
30133 * include/rpc/rpc.h (__rpc_thread_variables): Add
30134 attribute_hidden.
30135 (__rpc_thread_svc_cleanup): Likewise.
30136 (__rpc_thread_clnt_cleanup): Likewise.
30137 (__rpc_thread_key_cleanup): Likewise.
30138
d6daff12
L
301392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30140
30141 [BZ #18822]
30142 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30143 (__writev): Likewise.
30144 * misc/readv.c (__readv): Add libc_hidden_def.
30145 * misc/writev.c (__writev): Likewise.
30146 * sysdeps/posix/readv.c (__readv): Likewise.
30147 * sysdeps/posix/writev.c (__writev): Likewise.
30148 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30149 (__readv): Likewise.
30150 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30151 (__writev): Likewise.
30152
b68f8620
L
301532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30154
30155 [BZ #18822]
30156 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30157 (__regcomp): Add libc_hidden_proto.
30158 (__regexec): Likewise.
30159 (__regfree): Likewise.
30160 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30161 (__regfree): Likewise.
30162 * posix/regexec.c (__regexec): Likewise.
30163
59c04e67
L
301642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30165
30166 [BZ #18822]
30167 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30168 (__getutent): Likewise.
30169 (__getutid): Likewise.
30170 (__getutline): Likewise.
30171 (__pututline): Likewise.
30172 (__getutent_r): Likewise.
30173 (__getutid_r): Likewise.
30174 (__getutline_r): Likewise.
30175 (__utmpname): Add attribute_hidden.
30176 (__setutent): Likewise.
30177 (__endutent): Likewise.
30178 * login/getutent.c (__getutent): Add libc_hidden_def.
30179 * login/getutent_r.c (__getutent_r): Likewise.
30180 (__pututline): Likewise.
30181 * login/getutid.c (__getutid): Likewise.
30182 * login/getutid_r.c (__getutid_r): Likewise.
30183 * login/getutline.c (__getutline): Likewise.
30184 * login/getutline_r.c (__getutline_r): Likewise.
30185 * login/updwtmp.c (__updwtmp): Likewise.
30186
4587a421
L
301872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30188
30189 [BZ #18822]
30190 * include/dirent.h (__opendir): Always add attribute_hidden.
30191 (__fdopendir): Likewise.
30192 (__closedir): Likewise.
30193 (__readdir): Likewise.
30194 (__readdir64): Add libc_hidden_proto.
30195 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30196 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30197 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30198 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30199 New alias.
30200
9635ce69
L
302012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30202
30203 [BZ #18822]
30204 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30205 * include/netdb.h (__gethostbyaddr_r): Likewise.
30206 (__gethostbyname_r): Likewise.
30207 (__gethostbyname2_r): Likewise.
30208 (__getnetbyaddr_r): Likewise.
30209 (__getnetbyname_r): Likewise.
30210 (__getservbyname_r): Likewise.
30211 (__getservbyport_r): Likewise.
30212 (__getprotobyname_r): Likewise.
30213 (__getprotobynumber_r): Likewise.
30214 (__getnetgrent_r): Likewise.
30215 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30216 (__getrpcbynumber_r): Likewise.
30217 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30218
2e0a6909
L
302192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30220
30221 [BZ #18822]
30222 * include/stdio.h (__fcloseall): Add attribute_hidden.
30223 (__getline): Likewise.
30224 (__path_search): Likewise.
30225 (__gen_tempname): Likewise.
30226 (__libc_message): Likewise.
30227 (__flockfile): Likewise.
30228 (__funlockfile): Likewise.
30229 (__fxprintf): Likewise.
30230 (__fxprintf_nocancel): Likewise.
30231
94fd682c
L
302322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30233
30234 [BZ #18822]
30235 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30236 (__sgetsgent_r): Likewise.
30237
e1b33bba
L
302382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30239
30240 [BZ #18822]
30241 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30242 (__statfs64): Likewise.
30243 (__fstatfs64): Likewise.
30244 * include/sys/statvfs.h (__statvfs64): Likewise.
30245 (__fstatvfs64): Likewise.
30246 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30247 (__statfs_filesize_max): Likewise.
30248 (__statfs_symlinks): Likewise.
30249 (__statfs_chown_restricted): Likewise.
30250
b0f56784
L
302512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30252
30253 [BZ #18822]
30254 * include/time.h (__tzstring): Add attribute_hidden.
30255 (__tzfile_read): Likewise.
30256 (__tzfile_compute): Likewise.
30257 (__tzfile_default): Likewise.
30258 (__tzset_parse_tz): Likewise.
30259 (__offtime): Likewise.
30260 (__asctime_r): Likewise.
30261 (__tzset): Likewise.
30262 (__tz_convert): Likewise.
30263 (__getdate_r): Likewise.
30264 (__getclktck): Likewise.
30265
a4338d99
L
302662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30267
30268 [BZ #18822]
30269 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30270 (__nscd_unmap): Likewise.
30271 (__nscd_cache_search): Likewise.
30272 (__nscd_get_nl_timestamp): Likewise.
30273 (__nscd_getpwnam_r): Likewise.
30274 (__nscd_getpwuid_r): Likewise.
30275 (__nscd_getgrnam_r): Likewise.
30276 (__nscd_getgrgid_r): Likewise.
30277 (__nscd_gethostbyname_r): Likewise.
30278 (__nscd_gethostbyname2_r): Likewise.
30279 (__nscd_gethostbyaddr_r): Likewise.
30280 (__nscd_getai): Likewise.
30281 (__nscd_getgrouplist): Likewise.
30282 (__nscd_getservbyname_r): Likewise.
30283 (__nscd_getservbyport_r): Likewise.
30284 (__nscd_innetgr): Likewise.
30285 (__nscd_setnetgrent): Likewise.
30286
a2ca1652
L
302872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30288
30289 [BZ #18822]
30290 * include/gmp.h: Declare internal functions only if _ISOMAC is
30291 undefined.
30292 (__mpn_extract_double): Add attribute_hidden.
30293 (__mpn_extract_long_double): Likewise.
30294 (__mpn_extract_float128): Likewise.
30295 (__mpn_construct_float): Likewise.
30296 (__mpn_construct_double): Likewise.
30297 (__mpn_construct_long_double): Likewise.
30298 (__mpn_construct_float128): Likewise.
30299 (mpn_add_1): Likewise.
30300 (mpn_addmul_1): Likewise.
30301 (mpn_add_n): Likewise.
30302 (mpn_cmp): Likewise.
30303 (mpn_divrem): Likewise.
30304 (mpn_lshift): Likewise.
30305 (mpn_mul): Likewise.
30306 (mpn_mul_1): Likewise.
30307 (mpn_rshift): Likewise.
30308 (mpn_sub_1): Likewise.
30309 (mpn_submul_1): Likewise.
30310 (mpn_sub_n): Likewise.
30311
44af8a32
L
303122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30313
30314 [BZ #18822]
30315 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30316 (__wcscat): Likewise.
30317 (__btowc): Likewise.
30318 (__wcrtomb): Likewise.
30319 (__mbsrtowcs): Likewise.
30320 (__wcsrtombs): Likewise.
30321 (__mbsnrtowcs): Likewise.
30322 (__wcsnrtombs): Likewise.
30323 (__wcsncpy): Likewise.
30324 (__wcpncpy): Likewise.
30325 (__wmemcpy): Likewise.
30326 (__wmempcpy): Likewise.
30327 (__wmemmove): Likewise.
30328 (__wcschrnul): Likewise.
30329 (__vfwscanf): Likewise.
30330 (__vswprintf): Likewise.
30331 (__fwprintf): Likewise.
30332 (__vfwprintf): Likewise.
30333
783cd767
L
303342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30335
30336 [BZ #18822]
30337 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30338 (__getgrgid_r): Likewise.
30339 (__getgrnam_r): Likewise.
30340 * include/pwd.h (__getpwuid_r): Likewise.
30341 (__getpwnam_r): Likewise.
30342 (__fgetpwent_r): Likewise.
30343 * include/shadow.h (__getspnam_r): Likewise.
30344 (__sgetspent_r): Likewise.
30345 (__fgetspent_r): Likewise.
30346
7ec4b39a
L
303472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30348
30349 [BZ #18822]
30350 * include/unistd.h (__access): Add attribute_hidden.
30351 (__lseek64): Likewise.
30352 (__libc_pread64): Likewise.
30353 (__pipe2): Likewise.
30354 (__sleep): Likewise.
30355 (__chdir): Likewise.
30356 (__fchdir): Likewise.
30357 (__getcwd): Likewise.
30358 (__rmdir): Likewise.
30359 (__execvpe): Likewise.
30360 (__execve): Likewise.
30361 (__setsid): Likewise.
30362 (__getuid): Likewise.
30363 (__geteuid): Likewise.
30364 (__getgid): Likewise.
30365 (__getegid): Likewise.
30366 (__getgroups): Likewise.
30367 (__group_member): Likewise.
30368 (__ttyname_r): Likewise.
30369 (__isatty): Likewise.
30370 (__readlink): Likewise.
30371 (__unlink): Likewise.
30372 (__gethostname): Likewise.
30373 (__profil): Likewise.
30374 (__getdtablesize): Likewise.
30375 (__brk): Likewise.
30376 (__ftruncate): Likewise.
30377 (__ftruncate64): Likewise.
30378
8345a760
L
303792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30380
30381 [BZ #18822]
30382 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30383 * argp/argp-fs-xinl.c: Likewise.
30384 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30385 * argp/argp-parse.c: Include <argp.h>.
30386 * argp/argp-xinl.c: Likewise.
30387 * include/argp-fmtstream.h: New file.
30388 * include/argp.h (__argp_error): Add attribute_hidden.
30389 (__argp_failure): Likewise.
30390 (__argp_input): Likewise.
30391 (__argp_state_help): Likewise.
30392
c26dd7c6
L
303932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30394
30395 [BZ #18822]
30396 * include/wchar.h (____wcstof_l_internal): New prototype.
30397 (____wcstod_l_internal): Likewise.
30398 (____wcstold_l_internal): Likewise.
30399 (____wcstol_l_internal): Likewise.
30400 (____wcstoul_l_internal): Likewise.
30401 (____wcstoll_l_internal): Likewise.
30402 (____wcstoull_l_internal): Likewise.
30403 (____wcstof128_l_internal): Likewise.
30404 * sysdeps/ieee754/float128/wcstof128.c
30405 (____wcstof128_l_internal): Removed.
30406 * sysdeps/ieee754/float128/wcstof128_l.c
30407 (____wcstof128_l_internal): Likewise.
30408 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30409 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30410 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30411 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30412 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30413 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30414 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30415 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30416 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30417 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30418
3aff5644
L
304192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30420
30421 [BZ #18822]
30422 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30423 instead of <sys/statvfs.h>.
30424 (__internal_statvfs): Removed.
30425 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30426 instead of <sys/statvfs.h>.
30427 (__internal_statvfs64): Removed.
30428 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30429 "internal_statvfs.h" instead of <sys/statvfs.h>.
30430 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30431 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30432 instead of <sys/statvfs.h>.
30433 (__internal_statvfs): Removed.
30434 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30435 instead of <sys/statvfs.h>.
30436 (__internal_statvfs64): Removed.
30437
8bcdb7e0
L
304382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30439
30440 [BZ #18822]
30441 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30442 (__gconv_close): Likewise.
30443 (__gconv): Likewise.
30444 (__gconv_find_transform): Likewise.
30445 (__gconv_lookup_cache): Likewise.
30446 (__gconv_compare_alias_cache): Likewise.
30447 (__gconv_load_cache): Likewise.
30448 (__gconv_get_path): Likewise.
30449 (__gconv_close_transform): Likewise.
30450 (__gconv_release_cache): Likewise.
30451 (__gconv_find_shlib): Likewise.
30452 (__gconv_release_shlib): Likewise.
30453 (__gconv_get_builtin_trans): Likewise.
30454 (__gconv_compare_alias): Likewise.
30455 * include/dlfcn.h (_dlerror_run): Likewise.
30456 * include/stdio.h (__fortify_fail_abort): Likewise.
30457 * include/time.h (__tz_compute): Likewise.
30458 (__strptime_internal): Likewise.
30459 * intl/gettextP.h (_nl_find_domain): Likewise.
30460 (_nl_load_domain): Likewise.
30461 (_nl_find_msg): Likewise.
30462 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30463 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30464 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30465 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30466 (__gai_find_request): Likewise.
30467 (__gai_remove_request): Likewise.
30468 (__gai_notify): Likewise.
30469 (__gai_notify_only): Likewise.
30470 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30471 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30472 (_dl_non_dynamic_init): Likewise.
30473 (_dl_aux_init): Likewise.
30474 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30475 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30476 Likewise.
30477 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30478 (__wcsmbs_clone_conv): Likewise.
30479 (__wcsmbs_named_conv): Likewise.
30480
8ed3b643
L
304812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30482
30483 [BZ #18822]
30484 * include/stdlib.h (__random): Add attribute_hidden.
30485 (__random_r): Likewise.
30486 (__srandom_r): Likewise.
30487 (__initstate_r): Likewise.
30488 (__setstate_r): Likewise.
30489 (__erand48_r): Likewise.
30490 (__nrand48_r): Likewise.
30491 (__jrand48_r): Likewise.
30492 (__srand48_r): Likewise.
30493 (__seed48_r): Likewise.
30494 (__lcong48_r): Likewise.
30495 (__drand48_iterate): Likewise.
30496 (__setenv): Likewise.
30497 (__unsetenv): Likewise.
30498 (__clearenv): Likewise.
30499 (__ptsname_r): Likewise.
30500 (__posix_openpt): Likewise.
30501 (__add_to_environ): Likewise.
30502 (__realpath): Add libc_hidden_proto.
30503 (__ecvt_r): Likewise.
30504 (__fcvt_r): Likewise.
30505 (__qecvt_r): Likewise.
30506 (__qfcvt_r): Likewise.
30507 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30508 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30509
ef9b6f73
L
305102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30511
30512 [BZ #18822]
30513 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30514 * include/time.h (__mktime_internal): Likewise.
30515 * libio/iolibio.h (__fopen_internal): Likewise.
30516
8da92e72
JDA
305172017-10-01 John David Anglin <danglin@gcc.gnu.org>
30518
30519 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30520 pointer in frame.
30521 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30522 Correct offset used to restore PIC register.
30523
388784cf
JDA
305242017-09-30 John David Anglin <danglin@gcc.gnu.org>
30525
30526 [BZ libc/22165]
30527 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30528 code to load address of __getcontext_ret when generating PIC code.
30529
2000067a
L
305302017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30531
30532 * elf/Makefile (tests-static-internal): Add
30533 tst-tls1-static-non-pie.
30534 (LDFLAGS-tst-tls1-static-non-pie): New.
30535 * elf/tst-tls1-static-non-pie.c: New file.
30536
1e2bffd0
JM
305372017-09-29 Joseph Myers <joseph@codesourcery.com>
30538
30539 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30540 (asinh): Define using libm_alias_double.
30541 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30542 (cbrt): Define using libm_alias_double.
30543 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30544 <libm-alias-double.h>.
30545 (copysign): Define using libm_alias_double.
30546 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30547 (erf): Define using libm_alias_double.
30548 (erfc): Likewise.
30549 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30550 (expm1): Define using libm_alias_double.
30551 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30552 (fabs): Define using libm_alias_double.
30553 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30554 libm_alias_double.
30555 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30556 <libm-alias-double.h>.
30557 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30558 libm_alias_double.
30559 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30560 <libm-alias-double.h>.
30561 (getpayload): Define using libm_alias_double.
30562 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30563 <libm-alias-double.h>.
30564 (llrint): Define using libm_alias_double.
30565 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30566 (lrint): Define using libm_alias_double.
30567 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30568 <libm-alias-double.h>.
30569 (nextup): Define using libm_alias_double.
30570 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30571 <libm-alias-double.h>.
30572 (roundeven): Define using libm_alias_double.
30573 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30574 libm_alias_double.
30575 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30576 <libm-alias-double.h>.
30577 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30578 using libm_alias_double.
30579 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30580 (cos): Define using libm_alias_double.
30581 (sin): Likewise.
30582 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30583 <libm-alias-double.h>.
30584 (sincos): Define using libm_alias_double.
30585 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30586 (tanh): Define using libm_alias_double.
30587 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30588 <libm-alias-double.h>.
30589 (totalorder): Define using libm_alias_double.
30590 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30591 <libm-alias-double.h>.
30592 (totalordermag): Define using libm_alias_double.
30593 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30594 libm_alias_double.
30595 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30596 libm_alias_double.
30597 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30598 <libm-alias-double.h>.
30599 (getpayload): Define using libm_alias_double.
30600 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30601 <libm-alias-double.h>.
30602 (roundeven): Define using libm_alias_double.
30603 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30604 <libm-alias-double.h>.
30605 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30606 <libm-alias-double.h>.
30607 (totalorder): Define using libm_alias_double.
30608 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30609 <libm-alias-double.h>.
30610 (totalordermag): Define using libm_alias_double.
30611 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30612 libc compat symbol here.
30613 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30614 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30615 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30616 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30617 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30618 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30619 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30620 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30621 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30622 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30623
8172aad9
L
306242017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30625
30626 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30627 _dl_relocate_static_pie instead of _dl_start to compute load
30628 address in static PIE. Return 0 if _DYNAMIC is undefined for
30629 static executable.
30630
54464e74
L
306312017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30632
30633 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30634 _DYNAMIC is undefined for static executable.
30635
f6c5e5bc
L
306362017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30639
2f92505d
JM
306402017-09-29 Joseph Myers <joseph@codesourcery.com>
30641
30642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30643
bd8d53bb
WD
306442017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30645
30646 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30647 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30648 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30649 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30651 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30652 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30653 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30654 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30655 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30656 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30657 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30659 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30662 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30663
fffb1507
WD
306642017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30665
30666 * math/bits/cmathcalls.h (cimag): Remove inline.
30667 (creal): Remove inline.
30668 (conj): Remove inline.
30669
4ea49f4c
SN
306702017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30671
30672 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30673 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30674 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30675 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30676 (issignalingf_inline): Likewise.
30677 (POWF_LOG2_TABLE_BITS): Likewise.
30678 (POWF_LOG2_POLY_ORDER): Likewise.
30679 (POWF_SCALE_BITS): Likewise.
30680 (POWF_SCALE): Likewise.
30681 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30682 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30683 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30684
875c76c7
SN
306852017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30686
30687 * math/Makefile (type-float-routines): Add e_log2f_data.
30688 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30689 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30690 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30691 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30692 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30693 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30694 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30695
90c42e40
SN
306962017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30697
30698 * math/Makefile (type-float-routines): Add e_logf_data.
30699 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30700 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30701 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30702 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30703 * sysdeps/i386/fpu/e_logf_data.c: New file.
30704 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30705 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30706
4088d8dd
L
307072017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30708
30709 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30710 undefined _DYNAMIC in PIE libc.a.
30711 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30712 Likewse.
30713
4d3693ec
WD
307142017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30715
30716 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30717 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30718 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30719 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30720 (__signbit): Remove.
30721 (__signbitl): Remove.
30722 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30723 (__signbit): Remove.
30724 (__signbitl): Remove.
30725 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30726 (__signbit): Remove.
30727 (__signbitl): Remove.
30728 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30729 (__signbit): Remove.
30730 (__signbitl): Remove.
30731 * sysdeps/tile/bits/mathinline.h: Delete file.
30732 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30733 (__signbit): Remove.
30734 (__signbitl): Remove.
30735
1e6d0723
WD
307362017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30737
30738 * math/math.h: Improve handling of C99 isgreater macros.
30739 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30740 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30741 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30742 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30743 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30744
b2f03cf3
SN
307452017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30746
30747 * sysdeps/aarch64/libm-test-ulps: Update.
30748
f124cb38
JM
307492017-09-28 Joseph Myers <joseph@codesourcery.com>
30750
30751 [BZ #22225]
30752 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30753 math_opt_barrier on argument when doing arithmetic on it.
30754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30755 Likewise. Use math_force_eval not math_opt_barrier after
30756 arithmetic.
30757 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30758 math_opt_barrier on argument when doing arithmetic on it.
30759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30760 Likewise.
30761
7edd0691
L
307622017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30763
30764 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30765 libc_hidden_def.
30766 (__freeifaddrs): Likewise.
30767
2c7bbfaf
ST
307682017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30769
30770 * include/dirent.h (__dirfd): New declaration.
30771 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30772 alias.
30773 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30774 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30775 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
30776 * include/unistd.h (__revoke): New declaration.
30777 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30778 alias.
30779 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30780 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30781 revoke.
64a4af28
ST
30782 * include/dirent.h (__seekdir): New declaration.
30783 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30784 redefine as weak alias.
30785 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30786 of seekdir.
4009ddc6
ST
30787 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30788 and use libc_hidden_def on them.
30789 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30790 them.
30791 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30792 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30793 instead of getifaddrs and freeifaddrs.
2c7bbfaf 30794
825adeee
L
307952017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30796
30797 [BZ #18822]
30798 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30799 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30800 (__dso_handle): Remove declaration.
30801 * dlfcn/tstatexit.c (__dso_handle): Removed.
30802 (main): Don't check __dso_handle.
30803 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30804 (main): Don't check __dso_handle.
30805 * include/dso_handle.h: New file.
30806 * malloc/mtrace.c: Include <dso_handle.h>.
30807 (mtrace): Pass __dso_handle directly.
30808 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30809 (__dso_handle): Remove declaration.
30810 (__pthread_atfork): Pass __dso_handle directly.
30811 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30812 (__dso_handle): Removed.
30813 * posix/wordexp-test.c: Include <dso_handle.h>.
30814 (__dso_handle): Remove declaration.
30815 (__app_register_atfork): Pass __dso_handle directly.
30816 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30817 (__dso_handle): Remove declaration.
30818 (at_quick_exit): Pass __dso_handle directly.
30819 * stdlib/atexit.c: Include <dso_handle.h>.
30820 (__dso_handle): Remove declaration.
30821 (atexit): Pass __dso_handle directly.
30822 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30823 (__dso_handle): Removed.
30824
bfb0deb3
JM
308252017-09-26 Joseph Myers <joseph@codesourcery.com>
30826
30827 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30828 using VDSO.
30829
cebcb9f8
AM
308302017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30831
30832 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30833 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30834 values to correct default value for given type.
30835
592d5c75
L
308362017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30837
30838 [BZ #22101]
30839 * elf/Makefile (tests): Add tst-debug1.
30840 ($(objpfx)tst-debug1): New.
30841 ($(objpfx)tst-debug1.out): Likewise.
30842 ($(objpfx)tst-debug1mod1.so): Likewise.
30843 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30844 with p_filesz == 0.
30845 * elf/tst-debug1.c: New file.
30846
2d9193f2
JM
308472017-09-26 Joseph Myers <joseph@codesourcery.com>
30848
30849 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30850 Define using __ifunc.
30851
4c5a7a02
TMQMF
308522017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30853
30854 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30855 exp2f() values.
30856
12ef66c4
JM
308572017-09-26 Joseph Myers <joseph@codesourcery.com>
30858
30859 [BZ #22156]
30860 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30861
44dade71
FW
308622017-09-26 Florian Weimer <fweimer@redhat.com>
30863
30864 * resolv/Makefile (tests-internal): Fix typo in comment.
30865
eaca16f1
FW
308662017-09-26 Florian Weimer <fweimer@redhat.com>
30867
30868 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30869
ccf970c7
AZ
308702017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30871
5f9f31ad
AZ
30872 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30873 Use an union instead of a max_align_t array for __space,
30874 so that __space is the same size on all platforms.
30875 * malloc/scratch_buffer_grow_preserve.c
30876 (__libc_scratch_buffer_grow_preserve): Likewise.
30877
ccf970c7
AZ
30878 [BZ #22183]
30879 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30880 version to 2.
30881 * posix/Makefile (routines): Add glob-lstat-compat and
30882 glob64-lstat-compat.
30883 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30884 * posix/glob-lstat-compat.c: New file.
30885 * posix/glob64-lstat-compat.c: Likewise.
30886 * posix/tst-glob_lstat_compat.c: Likewise.
30887 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30888 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30889 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30890 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30891 Likewise.
30892 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30893 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30894 * posix/glob.c (glob_lstat): New function.
30895 (glob): Rename to __glob and add versioned symbol to 2.27.
30896 (glob_in_dir): Use glob_lstat.
30897 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30898 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30899 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30900 2.27.
30901 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30902 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30903 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30904 gl_lstat on glob call.
30905 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30906 and glob64 symbols.
30907 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30908 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30909 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30910 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30911 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30912 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30913 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30914 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30915 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30916 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30918 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30920 Likewise.
30921 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30923 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30924 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30925 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30926 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30927 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30930 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30931 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30932 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30933
b4396163
L
309342017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30935
30936 * configure.ac (AS): Require binutils 2.25 or later.
30937 * configure: Regenerated.
30938
8f834987
PP
309392017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30940
30941 [BZ #22207]
30942 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30943 VM size.
30944
3de93d19
DD
309452017-09-25 DJ Delorie <dj@redhat.com>
30946
30947 [BZ #22161]
30948 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30949 resetting timeout.
30950
9947638d
SL
309512017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30952
30953 * sysdeps/ieee754/dbl-64/sincos32.h
30954 [SINCCOS32_H]: Remove define.
30955 [SINCOS32_H]: Define.
30956
f5f0f526
SN
309572017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30958
30959 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30960 (exp2f): Likewise.
30961 * math/w_exp2f.c: New file.
30962 * math/w_expf.c: New file.
30963 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30964 * math/w_expf_compat.c (__expf_compat): Likewise.
30965 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30966 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30967 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30968 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30969 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30970 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30971 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30972 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30973 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30974 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30975 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30976 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30977 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30978 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30980 Likewise.
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30982 Likewise.
30983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30984 Likewise.
30985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30986 Likewise.
30987 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30989 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30990 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30991 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30993 Likewise.
30994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30995 Likewise.
30996 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30997 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30998 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30999
72aa6233
SN
310002017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31001
31002 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31003 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31004 (roundtoint, converttoint): Likewise.
31005 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31006 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31007 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31008 * sysdeps/ieee754/flt-32/math_config.h: New file.
31009 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31010 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31011 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31012 * sysdeps/i386/fpu/math_errf.c: New file.
31013 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31014 * sysdeps/ia64/fpu/math_errf.c: New file.
31015 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31016 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31017
5e6f3253
ST
310182017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31019
31020 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31021 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31022 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31023 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31024 to make sure that these symbols are defined.
b38a42a0
ST
31025 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31026 of <limits.h>
31027 (__need_NULL): Do not define.
31028 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31029 alignment.
31030 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31031 CMGROUP_MAX, cmsgcred): Do not define.
31032 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31033 NULL.
31034 * bits/socket.h: Likewise.
fcafcd16
ST
31035 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31036 __gettimeofday instead of gettimeofday.
31037 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31038 instead of settimeofday.
5e6f3253 31039
2f49ce7d
JM
310402017-09-22 Joseph Myers <joseph@codesourcery.com>
31041
31042 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31043 (asinhf): Define using libm_alias_float.
31044 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31045 (atanf): Define using libm_alias_float.
31046 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31047 (cbrtf): Define using libm_alias_float.
31048 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31049 (ceilf): Define using libm_alias_float.
31050 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31051 <libm-alias-float.h>.
31052 (copysignf): Define using libm_alias_float.
31053 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31054 (cosf): Define using libm_alias_float.
31055 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31056 (erff): Define using libm_alias_float.
31057 (erfcf): Likewise.
31058 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31059 (expm1f): Define using libm_alias_float.
31060 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31061 (fabsf): Define using libm_alias_float.
31062 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31063 (floorf): Define using libm_alias_float.
31064 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31065 (frexpf): Define using libm_alias_float.
31066 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31067 libm_alias_float.
31068 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31069 <libm-alias-float.h>.
31070 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31071 libm_alias_float.
31072 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31073 <libm-alias-float.h>.
31074 (getpayloadf): Define using libm_alias_float.
31075 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31076 <libm-alias-float.h>.
31077 (llrintf): Define using libm_alias_float.
31078 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31079 <libm-alias-float.h>.
31080 (llroundf): Define using libm_alias_float.
31081 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31082 (logbf): Define using libm_alias_float.
31083 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31084 (lrintf): Define using libm_alias_float.
31085 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31086 (lroundf): Define using libm_alias_float.
31087 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31088 (modff): Define using libm_alias_float.
31089 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31090 <libm-alias-float.h>.
31091 (nearbyintf): Define using libm_alias_float.
31092 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31093 <libm-alias-float.h>.
31094 (nextafterf): Define using libm_alias_float.
31095 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31096 <libm-alias-float.h>.
31097 (nextupf): Define using libm_alias_float.
31098 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31099 <libm-alias-float.h>.
31100 (remquof): Define using libm_alias_float.
31101 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31102 (rintf): Define using libm_alias_float.
31103 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31104 <libm-alias-float.h>.
31105 (roundevenf): Define using libm_alias_float.
31106 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31107 (roundf): Define using libm_alias_float.
31108 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31109 using libm_alias_float.
31110 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31111 <libm-alias-float.h>.
31112 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31113 Define using libm_alias_float.
31114 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31115 <libm-alias-float.h>.
31116 (sincosf): Define using libm_alias_float.
31117 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31118 (sinf): Define using libm_alias_float.
31119 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31120 (tanf): Define using libm_alias_float.
31121 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31122 (tanhf): Define using libm_alias_float.
31123 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31124 <libm-alias-float.h>.
31125 (totalorderf): Define using libm_alias_float.
31126 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31127 <libm-alias-float.h>.
31128 (totalordermagf): Define using libm_alias_float.
31129 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31130 (truncf): Define using libm_alias_float.
31131 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31132 libm_alias_float.
31133 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31134 libm_alias_float.
31135
c5c4a626
GG
311362017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31137
31138 [BZ #22146]
31139 math/math.h: Let fpclassify use the builtin in C++ mode, even
31140 when optimazing for size.
31141
23947846
JM
311422017-09-22 Joseph Myers <joseph@codesourcery.com>
31143
31144 * csu/Makefile (generated): Do not add version-info.h.
31145 (before-compile): Likewise.
31146 (all-Banner-files): Remove variable.
31147 ($(objpfx)version-info.h): Remove rule.
31148 * csu/version.c (banner): Do not include "version-info.h".
31149 * libidn/Banner: Remove.
31150 * manual/contrib.texi (Simon Josefsson): New entry.
31151
9ac3c682
GG
311522017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31153
31154 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31155 Remove conditionals on LDBL_MANT_DIG.
31156 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31157 (__ieee754_lgammal_r): Likewise.
31158
d2f0ed09
GG
311592017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31160
31161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31162 _Float128 and L().
31163 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31164 _Float128 and L(). Replace _Float128 with long double and L(x)
31165 with xL, throughout the file.
31166 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31167 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31168 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31169 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31170
c5c2e667
GG
311712017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31172
31173 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31174 sysdeps/ieee754/ldbl-128ibm.
31175 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31176 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31177 of including it. Keep _Float128 and L() intact. These will be
31178 reviewed by a separate patch.
31179 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31180 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31181 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31183
e010deb2
GG
311842017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31185
31186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31187 (__finitef128): Define to __redirect___finitef128.
31188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31189 (__isinff128): Define to __redirect___isinff128.
31190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31191 (__isnanf128): Define to __redirect___isnanf128.
31192
ffa44804
GG
311932017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31194
31195 * sysdeps/powerpc/powerpc64le/Makefile
31196 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31197 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31198
e5e4d7cc
PP
311992017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31200 Carlos O'Donell <carlos@redhat.com>
31201
31202 [BZ #22180]
31203 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31204 * stdlib/test-dlclose-exit-race.c: New file.
31205 * stdlib/test-dlclose-exit-race-helper.c: New file.
31206 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31207
c10c5267
JM
312082017-09-21 Joseph Myers <joseph@codesourcery.com>
31209
31210 * crypt/Banner: Remove file.
31211 * nptl/Banner: Likewise.
31212 * resolv/Banner: Likewise.
31213 * soft-fp/Banner: Likewise.
31214 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31215 ($(objpfx)version.d): Remove dependency on banner.h.
31216 ($(objpfx)version.os): Likewise.
31217 * nptl/version.c (banner): Do not include banner.h.
31218 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31219 Jelinek and BIND code.
31220
1cc9e59a
PP
312212017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31222 Carlos O'Donell <carlos@redhat.com>
31223
31224 * support/xdlfcn.h: New file.
31225 * support/xdlfcn.c: New file.
31226 * support/Makefile (libsupport-routines): Add xdlfcn.
31227 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31228
ae8372d7
JM
312292017-09-20 Joseph Myers <joseph@codesourcery.com>
31230
31231 [BZ #20142]
31232 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31233 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31234 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31235 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31237 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31238 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31239 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31240
26e70aec 312412017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
31242 Ricky Zhou <rickyz@google.com>
31243 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
31244
31245 [BZ #14333]
31246 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31247 Remove atomics.
31248 (__new_exitfn): Fail registration when we finished at_exit processing.
31249 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31250 * stdlib/on_exit.c (__on_exit): Likewise.
31251 * stdlib/exit.c (__exit_funcs_done): New variable.
31252 (__run_exit_handlers): Use __exit_funcs_lock.
31253 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31254 declarations.
31255 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31256 (test-cxa_atexit-race, test-on_exit-race): New tests.
31257 * stdlib/test-atexit-race-common.c: New file.
31258 * stdlib/test-atexit-race.c: New file.
31259 * stdlib/test-at_quick_exit-race.c: New file.
31260 * stdlib/test-cxa_atexit-race.c: New file.
31261 * stdlib/test-on_exit-race.c: New file.
31262
0525ce48
SN
312632017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31264
31265 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31266 * benchtests/exp2f-inputs: Copy of expf-inputs.
31267 * benchtests/log2f-inputs: Copy of logf-inputs.
31268
d82468d1
JM
312692017-09-19 Joseph Myers <joseph@codesourcery.com>
31270
31271 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31272 Explicitly take address of first element of array arguments in
31273 call to INLINE_SYSCALL.
31274
43ffc53a
AS
312752017-09-19 Andreas Schwab <schwab@suse.de>
31276
31277 [BZ #22134]
31278 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31279 execveat first.
31280 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31281 unimplemented.
31282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31283 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31284 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31285 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31286 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31287 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31288 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31289 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31290 * posix/Makefile (tests): Add tst-fexecve.
31291 * posix/tst-fexecve.c: New file.
31292
a5dcc87e
WD
312932017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31294
31295 * benchtests/Makefile: Add logf benchmark.
31296 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31297
7024d544
WD
312982017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31299
31300 * benchtests/Makefile: Add expf benchmark.
31301 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31302
ca3a382e
WD
313032017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31304
31305 * csu/Makefile: Add -funwind-tables to libc-start.c.
31306 * debug/Makefile: Add -funwind-tables to backtrace.c.
31307 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31308 * sysdeps/arm/Makefile: Likewise.
31309 * sysdeps/i386/Makefile: Likewise.
31310 * sysdeps/m68k/Makefile: Likewise.
31311 * sysdeps/mips/Makefile: Likewise.
31312 * sysdeps/nios2/Makefile: Likewise.
31313 * sysdeps/sh/Makefile: Likewise.
31314 * sysdeps/sparc/Makefile: Likewise.
31315
eb375def
JM
313162017-09-19 Joseph Myers <joseph@codesourcery.com>
31317
31318 * benchtests/Makefile (bench-math): Add trunc and truncf.
31319 (CFLAGS-bench-trunc.c): New variable.
31320 (CFLAGS-bench-truncf.c): Likewise.
31321 * benchtests/trunc-inputs: New file.
31322 * benchtests/truncf-inputs: Likewise.
31323
bd17ba29
RS
313242017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31325
31326 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31327
92892fdb
JM
313282017-09-18 Joseph Myers <joseph@codesourcery.com>
31329
6d9b0b5a
JM
31330 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31331 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31332 redefine.
31333 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31334 (exp10l): Define as weak alias.
31335 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31336 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31337 and redefine.
31338 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31339 (remainderl): Define as weak alias.
31340
92892fdb
JM
31341 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31342 (fmal): Define using libm_alias_ldouble.
31343 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31344 (acoshl): Define using libm_alias_ldouble.
31345 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31346 (acosl): Define using libm_alias_ldouble.
31347 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31348 (asinl): Define using libm_alias_ldouble.
31349 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31350 (atan2l): Define using libm_alias_ldouble.
31351 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31352 (atanhl): Define using libm_alias_ldouble.
31353 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31354 (coshl): Define using libm_alias_ldouble.
31355 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31356 (exp10l): Define using libm_alias_ldouble.
31357 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31358 (exp2l): Define using libm_alias_ldouble.
31359 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31360 (expl): Define using libm_alias_ldouble.
31361 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31362 (fmodl): Define using libm_alias_ldouble.
31363 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31364 (hypotl): Define using libm_alias_ldouble.
31365 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31366 (j0l): Define using libm_alias_ldouble.
31367 (y0l): Likewise.
31368 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31369 (j1l): Define using libm_alias_ldouble.
31370 (y1l): Likewise.
31371 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31372 (jnl): Define using libm_alias_ldouble.
31373 (ynl): Likewise.
31374 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31375 (log10l): Define using libm_alias_ldouble.
31376 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31377 (log2l): Define using libm_alias_ldouble.
31378 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31379 (logl): Define using libm_alias_ldouble.
31380 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31381 (powl): Define using libm_alias_ldouble.
31382 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31383 (remainderl): Define using libm_alias_ldouble.
31384 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31385 (sinhl): Define using libm_alias_ldouble.
31386 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31387 (sqrtl): Define using libm_alias_ldouble.
31388 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31389 (tgammal): Define using libm_alias_ldouble.
31390 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31391 (exp10l): Do not use long_double_symbol here.
31392 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31393 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31394 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31395 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31396 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31397 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31398 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31399 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31400 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31401 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31402 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31403 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31404 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31405 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31406 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31407 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31408 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31409 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31410 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31411 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31412 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31413 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31414
6cd380dd
WB
314152017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31416
31417 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31418 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31419
1c6d89e9
ST
314202017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31421
31422 * io/read.c (read): Add libc_hidden_weak.
31423 * sysdeps/mach/hurd/read.c (read): Likewise.
31424 * io/write.c (write): Likewise.
31425 * sysdeps/mach/hurd/write.c (write): Likewise.
31426 * io/pread64.c (__pread64): Likewise.
31427 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31428 * posix/pread64.c (__pread64): Add libc_hidden_def.
31429
06b1de23
SP
314302017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31431
140647ea
SP
31432 * benchtests/scripts/compare_strings.py: New option -g.
31433 (draw_graph): Print a message that a graph is being generated.
31434 (process_results): Generate graph only if -g is passed.
31435 (main): Process option -g.
31436
5a6547b7
SP
31437 * benchtests/scripts/compare_strings.py (process_results):
31438 Better spacing for output.
31439
06b1de23
SP
31440 * benchtests/scripts/compare_strings.py: Use argparse.
31441 * benchtests/README: Document existence of compare_strings.py.
31442
c67a2328
JM
314432017-09-15 Joseph Myers <joseph@codesourcery.com>
31444
9ac44708
JM
31445 * math/s_fma.c: Include <libm-alias-double.h>.
31446 (fma): Define using libm_alias_double.
31447 * math/s_nextafter.c: Include <libm-alias-double.h>.
31448 (nextafter): Define using libm_alias_double.
31449 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31450 (acos): Define using libm_alias_double.
31451 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31452 (aocsh): Define using libm_alias_double.
31453 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31454 (asin): Define using libm_alias_double.
31455 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31456 (atan2): Define using libm_alias_double.
31457 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31458 (atanh): Define using libm_alias_double.
31459 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31460 (cosh): Define using libm_alias_double.
31461 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31462 (exp10): Define using libm_alias_double.
31463 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31464 (exp2): Define using libm_alias_double.
31465 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31466 (exp): Define using libm_alias_double.
31467 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31468 (fmod): Define using libm_alias_double.
31469 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31470 (hypot): Define using libm_alias_double.
31471 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31472 (j0): Define using libm_alias_double.
31473 (y0): Likewise.
31474 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31475 (j1): Define using libm_alias_double.
31476 (y1): Likewise.
31477 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31478 (jn): Define using libm_alias_double.
31479 (yn): Likewise.
31480 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31481 (log10): Define using libm_alias_double.
31482 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31483 (log2): Define using libm_alias_double.
31484 * math/w_log_compat.c: Include <libm-alias-double.h>.
31485 (log): Define using libm_alias_double.
31486 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31487 (pow): Define using libm_alias_double.
31488 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31489 (remainder): Define using libm_alias_double.
31490 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31491 (sinh): Define using libm_alias_double.
31492 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31493 (sqrt): Define using libm_alias_double.
31494 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31495 (tgamma): Define using libm_alias_double.
31496 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31497 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31498 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31499 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31500 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31501 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31502 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31503 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31504 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31505 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31506 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31507 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31508 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31509 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31510 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31511 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31512 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31513 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31514 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31515 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31516 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31517 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31518 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31519 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31520 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31521
c67a2328
JM
31522 * math/e_acoshl.c: Remove.
31523 * math/e_acosl.c: Likewise.
31524 * math/e_asinl.c: Likewise.
31525 * math/e_atan2l.c: Likewise.
31526 * math/e_atanhl.c: Likewise.
31527 * math/e_coshl.c: Likewise.
31528 * math/e_expl.c: Likewise.
31529 * math/e_fmodl.c: Likewise.
31530 * math/e_gammal_r.c: Likewise.
31531 * math/e_hypotl.c: Likewise.
31532 * math/e_j0l.c: Likewise.
31533 * math/e_j1l.c: Likewise.
31534 * math/e_jnl.c: Likewise.
31535 * math/e_lgammal_r.c: Likewise.
31536 * math/e_log10l.c: Likewise.
31537 * math/e_log2l.c: Likewise.
31538 * math/e_logl.c: Likewise.
31539 * math/e_powl.c: Likewise.
31540 * math/e_rem_pio2l.c: Likewise.
31541 * math/e_sinhl.c: Likewise.
31542 * math/e_sqrtf128.c: Likewise.
31543 * math/e_sqrtl.c: Likewise.
31544 * math/k_cosl.c: Likewise.
31545 * math/k_sinl.c: Likewise.
31546 * math/k_tanl.c: Likewise.
31547 * math/s_asinhl.c: Likewise.
31548 * math/s_atanl.c: Likewise.
31549 * math/s_cbrtl.c: Likewise.
31550 * math/s_erfl.c: Likewise.
31551 * math/s_expm1l.c: Likewise.
31552 * math/s_log1pl.c: Likewise.
31553 * math/s_tanhl.c: Likewise.
31554
61c45f25
TMQMF
315552017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31556
31557 [BZ #21745]
31558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31559 [$(subdir) = math] (sysdep_calls): New variable. Has the
31560 previous contents of sysdep_routines, but re-sorted..
31561 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31562 sysdep_calls.
31563 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31564 defined in sysdep_calls and replace by the respective m_* names.
31565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31566 (compat_symbol): Undefine to avoid duplicated compat symbols in
31567 libc.
31568
5bcdb315
JM
315692017-09-15 Joseph Myers <joseph@codesourcery.com>
31570
31571 * math/s_fmaf.c: Include <libm-alias-float.h>.
31572 (fmaf): Define using libm_alias_float.
31573 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31574 (acosf): Define using libm_alias_float.
31575 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31576 (acoshf): Define using libm_alias_float.
31577 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31578 (asinf): Define using libm_alias_float.
31579 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31580 (atan2f): Define using libm_alias_float.
31581 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31582 (atanhf): Define using libm_alias_float.
31583 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31584 (coshf): Define using libm_alias_float.
31585 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31586 (exp10f): Define using libm_alias_float.
31587 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31588 (fmodf): Define using libm_alias_float.
31589 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31590 (hypotf): Define using libm_alias_float.
31591 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31592 (j0f): Define using libm_alias_float.
31593 (y0f): Likewise.
31594 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31595 (j1f): Define using libm_alias_float.
31596 (y1f): Likewise.
31597 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31598 (jnf): Define using libm_alias_float.
31599 (ynf): Likewise.
31600 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31601 (log10f): Define using libm_alias_float.
31602 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31603 (log2f): Define using libm_alias_float.
31604 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31605 (logf): Define using libm_alias_float.
31606 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31607 (powf): Define using libm_alias_float.
31608 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31609 (remainderf): Define using libm_alias_float.
31610 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31611 (sinhf): Define using libm_alias_float.
31612 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31613 (sqrtf): Define using libm_alias_float.
31614 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31615 (tgammaf): Define using libm_alias_float.
31616
01f28812
JM
316172017-09-14 Joseph Myers <joseph@codesourcery.com>
31618
31619 * include/math.h (roundeven): Change hidden_proto call to
31620 __roundeven.
31621 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31622 alias.
31623 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31624 (y0): Rename to __y0 and define as weak alias.
31625 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31626 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31627 alias.
31628 (y0f): Rename to __y0f and define as weak alias.
31629 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31630 alias.
31631 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31632 (y1): Rename to __y1 and define as weak alias.
31633 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31634 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31635 alias.
31636 (y1f): Rename to __y1f and define as weak alias.
31637 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31638 alias.
31639 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31640 (yn): Rename to __yn and define as weak alias.
31641 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31642 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31643 alias.
31644 (ynf): Rename to __ynf and define as weak alias.
31645 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31646 (fromfp): Define as weak alias.
31647 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31648 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31649 (fromfpx): Define as weak alias.
31650 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31651 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31652 __getpayload and define as weak alias.
31653 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31654 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31655 __roundeven and define as weak alias.
31656 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31657 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31658 __setpayload.
31659 (setpayload): Define as weak alias.
31660 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31661 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31662 __setpayloadsig.
31663 (setpayloadsig): Define as weak alias.
31664 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31665 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31666 __totalorder and define as weak alias.
31667 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31668 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31669 to __totalordermag and define as weak alias.
31670 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31671 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31672 (ufromfp): Define as weak alias.
31673 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31674 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31675 __ufromfpx.
31676 (ufromfpx): Define as weak alias.
31677 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31678 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31679 Rename to __getpayload and define as weak alias.
31680 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31681 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31682 Rename to __roundeven and define as weak alias.
31683 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31684 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31685 Rename to __totalorder and define as weak alias.
31686 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31687 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31688 (totalordermag): Rename to __totalordermag and define as weak
31689 alias.
31690 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31691 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31692 macro.
31693 (__roundevenl): Likewise.
31694 (__totalorderl): Likewise.
31695 (__totalordermagl): Likewise
31696 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31697 __fromfpf128.
31698 (fromfpf128): Define as weak alias.
31699 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31700 __fromfpxf128.
31701 (fromfpxf128): Define as weak alias.
31702 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31703 __setpayloadf128.
31704 (setpayloadf128): Define as weak alias.
31705 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31706 __setpayloadsigf128.
31707 (setpayloadsigf128): Define as weak alias.
31708 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31709 __ufromfpf128.
31710 (ufromfpf128): Define as weak alias.
31711 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31712 __ufromfpxf128.
31713 (ufromfpxf128): Define as weak alias.
31714 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31715 (fromfpf): Define as weak alias.
31716 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31717 __fromfpxf.
31718 (fromfpxf): Define as weak alias.
31719 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31720 __getpayloadf and define as weak alias.
31721 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31722 __roundevenf and define as weak alias.
31723 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31724 __setpayloadf.
31725 (setpayloadf): Define as weak alias.
31726 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31727 __setpayloadsigf.
31728 (setpayloadsigf): Define as weak alias.
31729 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31730 __totalorderf and define as weak alias.
31731 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31732 Rename to __totalordermagf and define as weak alias.
31733 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31734 __ufromfpf.
31735 (ufromfpf): Define as weak alias.
31736 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31737 __ufromfpxf.
31738 (ufromfpxf): Define as weak alias.
31739 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31740 __fromfpl.
31741 (fromfpl): Define as weak alias.
31742 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31743 __fromfpxl.
31744 (fromfpxl): Define as weak alias.
31745 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31746 to __getpayloadl and define as weak alias.
31747 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31748 __roundevenl and define as weak alias.
31749 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31750 __setpayloadl.
31751 (setpayloadl): Define as weak alias.
31752 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31753 __setpayloadsigl.
31754 (setpayloadsigl): Define as weak alias.
31755 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31756 to __totalorderl and define as weak alias.
31757 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31758 Rename to __totalordermagl and define as weak alias.
31759 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31760 __ufromfpl.
31761 (ufromfpl): Define as weak alias.
31762 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31763 __ufromfpxl.
31764 (ufromfpxl): Define as weak alias.
31765 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31766 __fromfpl.
31767 (fromfpl): Define as weak alias.
31768 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31769 __fromfpxl.
31770 (fromfpxl): Define as weak alias.
31771 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31772 Rename to __getpayloadl and define as weak alias.
31773 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31774 to __roundevenl and define as weak alias. Call __roundeven
31775 instead of roundeven.
31776 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31777 __setpayloadl.
31778 (setpayloadl): Define as weak alias.
31779 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31780 __setpayloadsigl.
31781 (setpayloadsigl): Define as weak alias.
31782 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31783 Rename to __totalorderl and define as weak alias.
31784 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31785 Rename to __totalordermagl and define as weak alias.
31786 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31787 __ufromfpl.
31788 (ufromfpl): Define as weak alias.
31789 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31790 __ufromfpxl.
31791 (ufromfpxl): Define as weak alias.
31792 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31793 __fromfpl.
31794 (fromfpl): Define as weak alias.
31795 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31796 __fromfpxl.
31797 (fromfpxl): Define as weak alias.
31798 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31799 __getpayloadl and define as weak alias.
31800 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31801 __roundevenl and define as weak alias.
31802 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31803 __setpayloadl.
31804 (setpayloadl): Define as weak alias.
31805 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31806 __setpayloadsigl.
31807 (setpayloadsigl): Define as weak alias.
31808 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31809 __totalorderl and define as weak alias.
31810 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31811 Rename to __totalordermagl and define as weak alias.
31812 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31813 __ufromfpl.
31814 (ufromfpl): Define as weak alias.
31815 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31816 __ufromfpxl.
31817 (ufromfpxl): Define as weak alias.
31818
29c933fb
SP
318192017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31820
503c92c3
SP
31821 * benchtests/bench-string.h (realloc_bufs): New function.
31822 (test_init): Call it.
31823 * benchtests/bench-memset-large.c (do_test): Likewise.
31824 * benchtests/bench-memset.c (do_test): Likewise.
31825
29c933fb
SP
31826 * benchtests/bench-memset-large.c: Print output in JSON
31827 format.
31828 * benchtests/bench-memset.c: Likewise.
31829
799c8d69
MF
318302017-09-14 Mike FABIAN <mfabian@redhat.com>
31831
31832 [BZ #21084]
31833 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31834 * iconvdata/Makefile: Add IBM858.
31835 * iconvdata/gconv-modules: Likewise.
31836 * iconvdata/tst-tables.sh: Likewise.
31837 * iconvdata/ibm858.c: New file.
31838 * localedata/charmaps/IBM858: Likewise.
31839
c207f7ce 318402017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
31841
31842 [BZ #22023]
31843 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31844 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31845
f28a0926
AK
318462017-09-14 Mike FABIAN <mfabian@redhat.com>
31847
31848 [BZ #22112]
31849 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31850 and add tel_int_fmt.
31851
02093e62
JM
318522017-09-14 Joseph Myers <joseph@codesourcery.com>
31853
31854 * sysdeps/generic/libm-alias-float128.h: New file.
31855 * sysdeps/generic/math-type-macros-float128.h: Include
31856 <libm-alias-float128.h>.
31857 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31858
1aae75ef
JM
318592017-09-13 Joseph Myers <joseph@codesourcery.com>
31860
31861 * sysdeps/generic/libm-alias-ldouble.h: New file.
31862 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31863 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31864 * sysdeps/generic/math-type-macros-ldouble.h: Include
31865 <libm-alias-ldouble.h>.
31866 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31867 libm_alias_ldouble.
31868
bcea7ad6
SN
318692017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31870
31871 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31872 * math/w_exp_compat.c: ... here.
31873 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31874 * math/w_expf_compat.c: ... here.
31875 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31876 * math/w_expl_compat.c: ... here.
31877 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31878 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31879 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31880 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31881
0fc56478
JM
318822017-09-13 Joseph Myers <joseph@codesourcery.com>
31883
31884 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31885 redefine.
31886 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31887 macro.
31888 (ldexpl): Only define as compat symbol for libc, not libm.
31889 (scalbnl): Define as compat symbol for libc here.
31890 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31891 define for [IS_IN (libc)].
31892 (__ldexpl_2): Remove alias.
31893 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31894 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31895 name in long_double_symbol call.
31896 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31897 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31898 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31899 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31900 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31901 Remove macro.
31902 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31903 Define as compat symbol.
31904
3ca622e4
AZ
319052017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31906
31907 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31908 * sysdeps/unix/sysv/linux/alpha/Makefile
31909 [$(subdir) = csu] (sysdep_routines): Remove rule.
31910
620ff9ee
JM
319112017-09-13 Joseph Myers <joseph@codesourcery.com>
31912
31913 * sysdeps/generic/libm-alias-double.h: New file.
31914 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31915 * sysdeps/generic/math-type-macros-double.h: Include
31916 <libm-alias-double.h>.
31917 [declare_mgen_alias] (declare_mgen_alias): Define to use
31918 libm_alias_double.
31919 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31920 (M_LIBM_NEED_COMPAT): Remove macro.
31921 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31922 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31923 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31924 code.
31925 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31926 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31927 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31928 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31929 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31930 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31931 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31932 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31933 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31934 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31935 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31936 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31937 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31938 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31939 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31940 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31941 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31942 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31943 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31944 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31945 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31946 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31947 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31948 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31949 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31950 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31951 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31952 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31953 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31954 macro.
31955 (declare_mgen_alias): New macro.
31956 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31957 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31959 (M_LIBM_NEED_COMPAT): Remove macro.
31960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31961 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31962 <first-versions.h>.
31963 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31964 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31965
a891caff
JM
319662017-09-12 Joseph Myers <joseph@codesourcery.com>
31967
31968 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31969 (declare_mgen_alias_2): Remove.
31970 * sysdeps/generic/math-type-macros-double.h
31971 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31972 Likewise.
31973 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31974 alias.
31975 (ldexp): Define with declare_mgen_alias.
31976 (scalbn): Likewise.
31977
a1a78204
SE
319782017-09-12 Steve Ellcey <sellcey@cavium.com>
31979
31980 * grp/initgroups.c: Include config.h.
31981 (DEFAULT_CONFIG): New macro.
31982 (internal_getgrouplist): Use DEFAULT_CONFIG.
31983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31984 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31985 (DEFAULT_DEFCONFIG): New macro.
31986 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31987 * nss/grp-lookup.c: Include config.h
31988 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31989 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31990 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31991 * manual/nss.texi: Update default values section.
31992
ef8adeb0
L
319932017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31994
31995 [BZ #21967]
31996 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31997 New.
31998 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31999 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32000 Handle MathVec_Prefer_No_AVX512.
32001 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32002 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32003 is set.
32004
a166531f
ST
320052017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32006
32007 * posix/sched_primax.c (__sched_get_priority_max): Add
32008 libc_hidden_def.
32009 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32010 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32011 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32012 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32013 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32014 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32015 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32016 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32017 Add aliases.
32018
4b7d1efb
JM
320192017-09-11 Joseph Myers <joseph@codesourcery.com>
32020
32021 * sysdeps/generic/libm-alias-float.h: New file.
32022 * sysdeps/generic/math-type-macros-float.h: Include
32023 <libm-alias-float.h>.
32024 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32025
45ff3463
L
320262017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 [BZ #22093]
32029 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32030 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32031 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32032 (HWCAP_IMPORTANT): Likewise.
32033 (HWCAP_X86_64): New enum.
32034 (HWCAP_X86_AVX512_1): Updated.
32035 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32036 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32037 (modules-names): Add x86_64/tst-x86_64mod-1.
32038 (LDFLAGS-tst-x86_64mod-1.so): New.
32039 ($(objpfx)tst-x86_64-1): Likewise.
32040 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32041 (tst-x86_64-1-clean): Likewise.
32042 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32043 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32044
891abfd3
SP
320452017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32046
32047 * po/sv.po: Update translations.
32048 * po/fr.po: Likewise.
32049
00c3da43
ST
320502017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32051
32052 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32053 seconds.
3bdfd9fb
ST
32054 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32055 seconds.
65b22ebc 32056 * elf/rtld-Rules: Fix $(error) use.
00c3da43 32057
96480903
MF
320582017-09-09 Mike FABIAN <mfabian@redhat.com>
32059
32060 [BZ #14925]
32061 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32062 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32063 * localedata/locales/bn_BD: “Bengali” was still used in some
32064 comments. Change it to “Bangla”.
32065
4c03a696
MT
320662017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32067
32068 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32069
9c9ec581
SE
320702017-09-08 Steve Ellcey <sellcey@cavium.com>
32071
32072 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32073 thunderx2t99p1 to list of cpu names.
32074 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32075 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32076
f00bce74
SE
320772017-09-08 Steve Ellcey <sellcey@cavium.com>
32078
32079 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32080 Use strcmp instead of tunable_is_name.
32081
27342d17
JM
320822017-09-08 Joseph Myers <joseph@codesourcery.com>
32083
af1b7c8c
JM
32084 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32085 (F_GET_RW_HINT): New macro.
32086 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32087 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32088 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32089 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32090 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32091 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32092 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32093 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32094 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32095
27342d17
JM
32096 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32097 (F_ADD_SEALS): New macro.
32098 [__USE_GNU] (F_GET_SEALS): Likewise.
32099 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32100 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32101 [__USE_GNU] (F_SEAL_GROW): Likewise.
32102 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32103
c66c9082
AZ
321042017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32105
07b4f49d
AZ
32106 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32107 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32108 * posix/glob_internal.h (__glob_pattern_type):
32109 * posix/glob.c (glob):
32110 * posix/glob_pattern_p.c (__glob_pattern_p):
32111 Use them.
32112
116f1c64
AZ
32113 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32114 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32115 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32116 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32117 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32119 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32120 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32121 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32122 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32123 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32124 * sysdeps/wordsize-64/glob.c: Likewise.
32125 * sysdeps/wordsize-64/glob64.c: Likewise.
32126 * sysdeps/wordsize-64/globfree.c: Likewise.
32127 * sysdeps/wordsize-64/globfree64.c: Likewise.
32128 * sysdeps/unix/sysv/linux/glob.c: New file.
32129 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32130 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32131 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32132 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32133 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32134 adds !GLOB_NO_OLD_VERSION as an extra condition.
32135 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32136 using relative path instead of absolute one.
32137 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32138 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32139 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32140 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32141 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32142 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32143
ffca8901
AZ
32144 [BZ #1062]
32145 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32146 (glob): Use the same scratch buffer for both getlogin_r and
32147 getpwnam_r. Don’t require preallocation of the login name. This
32148 simplifies storage allocation, and corrects the handling of
32149 long login names.
32150
5a79f975
AZ
32151 [BZ #1062]
32152 * posix/glob.c (glob): Port recent patches to platforms
32153 lacking getpwnam_r.
32154 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32155 returns an error number rather than setting errno.
32156
e00f2425
AZ
32157 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32158 instead of GCC extension.
32159 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32160 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32161 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32162
5554304f
AZ
32163 [BZ #866]
32164 [BZ #1062]
32165 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32166 * posix/bug-glob1.c: Remove file.
32167 * posix/tst-glob_symlinks.c: New file.
32168 * posix/glob.c (__lstat64): New macro.
32169 (is_dir): New function.
32170 (glob, glob_in_dir): Match symlinks even if they are dangling.
32171 (link_stat, link_exists_p): Remove. All uses removed.
32172
686f2ea1
AZ
32173 [BZ #1062]
32174 [BZ #19971]
32175 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32176 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32177 All uses removed.
32178
c66c9082 32179 [BZ #1062]
914c9994 32180 CVE-2017-15671
c66c9082
AZ
32181 * posix/Makefile (routines): Add globfree, globfree64, and
32182 glob_pattern_p.
32183 * posix/flexmember.h: New file.
32184 * posix/glob_internal.h: Likewise.
32185 * posix/glob_pattern_p.c: Likewise.
32186 * posix/globfree.c: Likewise.
32187 * posix/globfree64.c: Likewise.
32188 * sysdeps/gnu/globfree64.c: Likewise.
32189 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32190 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32191 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32192 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32193 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32194 * sysdeps/wordsize-64/globfree.c: Likewise.
32195 * sysdeps/wordsize-64/globfree64.c: Likewise.
32196 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32197 [NDEBUG): Remove comments.
32198 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32199 (dirent_type): New type. Use uint_fast8_t not
32200 uint8_t, as C99 does not require uint8_t.
32201 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32202 (struct readdir_result): Use dirent_type. Do not define skip_entry
32203 unless it is needed; this saves a byte on platforms lacking d_ino.
32204 (readdir_result_type, readdir_result_skip_entry):
32205 New functions, replacing ...
32206 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 32207 these functions, which were removed. This makes the callers
c66c9082
AZ
32208 easier to read. All callers changed.
32209 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32210 (size_add_wrapv, glob_use_alloca): New static functions.
32211 (glob, glob_in_dir): Check for size_t overflow in several places,
32212 and fix some size_t checks that were not quite right.
32213 Remove old code using SHELL since Bash no longer
32214 uses this.
32215 (glob, prefix_array): Separate MS code better.
32216 (glob_in_dir): Remove old Amiga and VMS code.
32217 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32218 separate files.
32219 (glob_in_dir): Do not rely on undefined behavior in accessing
32220 struct members beyond their bounds. Use a flexible array member
32221 instead
32222 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32223 0/1. Caller changed.
32224 (glob): Fix memory leaks.
32225 * posix/glob64 (globfree64): Move to separate file.
32226 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32227 (globfree64): Remove hidden alias.
32228 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32229 oldglob.
32230 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32231 separate file.
32232 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32233 define.
32234 Move compat code to separate file.
32235 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32236 separate file.
32237
78bfa877
L
322382017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32239
32240 * resolv/tst-resolv-qtypes.c (domain): Changed to
32241 "const char domain[] =".
32242
05f0011f
JM
322432017-09-07 Joseph Myers <joseph@codesourcery.com>
32244
85bec0f2
JM
32245 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32246 version to 3.1.6.
32247
5c23ee6e
JM
32248 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32249 (TCP_MD5SIG_EXT): Likewise.
32250 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32251 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32252 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32253
05f0011f
JM
32254 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32255
7c9c5be9
MF
322562017-09-07 Mike FABIAN <mfabian@redhat.com>
32257
32258 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32259
c207f7ce 322602017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
32261
32262 [BZ #22100]
32263 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32264
507fe027
ST
322652017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32266
32267 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32268 before assuming that the file is empty. Avoid testing buffer content
32269 when nread == 0.
32270
65687ac7
AZ
322712017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32272
7bbbb4b9 32273 [BZ #18858]
65687ac7
AZ
32274 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32275 Remove define.
32276 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32277 Likewise.
32278 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32279 Likewise.
32280 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32281 Likewise.
32282 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32283 Likewise.
32284 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32285 Likewise.
32286 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32287 Likewise.
32288
ab5ac271
FW
322892017-09-06 Florian Weimer <fweimer@redhat.com>
32290
32291 * malloc/dynarray_emplace_enlarge.c
32292 (__libc_dynarray_emplace_enlarge): Add missing else.
32293
a8304730
FW
322942017-09-06 Florian Weimer <fweimer@redhat.com>
32295
32296 [BZ #22096]
32297 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32298 case of failure to obtain the global conf object.
32299
5670c4ab
FW
323002017-09-06 Florian Weimer <fweimer@redhat.com>
32301
32302 [BZ #22095]
32303 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32304 dynarray allocation failure.
32305
c77eb969
FW
323062017-09-06 Florian Weimer <fweimer@redhat.com>
32307
32308 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32309 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32310 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32311 New functions.
32312 (response): Call them. Add 'p', '6' flag processing.
32313 (test_reverse): New function.
32314 (test_get2_any): Call it.
32315 (test_no_inet6): Add 'p' test.
32316 (test_inet6): Likewise.
32317
5e9c4d17
FW
323182017-09-06 Florian Weimer <fweimer@redhat.com>
32319
32320 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32321 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32322 the QNAME.
32323 (test_gai): Adjust query names. Add additional tests.
32324 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32325 test_get2. Adjust query names. Add additional tests.
32326 (test_no_inet6): New function, extracted from threadfunc.
32327 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32328 Add additional tests.
32329
2ae5be04
MF
323302017-09-06 Mike FABIAN <mfabian@redhat.com>
32331
32332 [BZ #22070]
32333 * localedata/unicode-gen/utf8_gen.py: Set the width for
32334 characters with Prepended_Concatenation_Mark property to 1
32335 * localedata/charmaps/UTF-8: Updated using the improved script.
32336
af83ed5c
MF
323372017-09-06 Mike FABIAN <mfabian@redhat.com>
32338
32339 [BZ #21750]
32340 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32341 use the range notation for all ranges of neighbouring characters
32342 with the same width.
32343
4f3647e4
JM
323442017-09-05 Joseph Myers <joseph@codesourcery.com>
32345
32346 * sysdeps/generic/math-type-macros-double.h: Include
32347 <math-svid-compat.h>.
32348 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32349 * sysdeps/generic/math-type-macros-float.h: Include
32350 <math-svid-compat.h>.
32351 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32352 * sysdeps/generic/math-type-macros-ldouble.h: Include
32353 <math-svid-compat.h>.
32354 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32355 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32356 condition.
32357 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32358 * math/w_acosf_compat.c: Likewise.
32359 * math/w_acosh_compat.c: Likewise.
32360 * math/w_acoshf_compat.c: Likewise.
32361 * math/w_acoshl_compat.c: Likewise.
32362 * math/w_acosl_compat.c: Likewise.
32363 * math/w_asin_compat.c: Likewise.
32364 * math/w_asinf_compat.c: Likewise.
32365 * math/w_asinl_compat.c: Likewise.
32366 * math/w_atan2_compat.c: Likewise.
32367 * math/w_atan2f_compat.c: Likewise.
32368 * math/w_atan2l_compat.c: Likewise.
32369 * math/w_atanh_compat.c: Likewise.
32370 * math/w_atanhf_compat.c: Likewise.
32371 * math/w_atanhl_compat.c: Likewise.
32372 * math/w_cosh_compat.c: Likewise.
32373 * math/w_coshf_compat.c: Likewise.
32374 * math/w_coshl_compat.c: Likewise.
32375 * math/w_exp10_compat.c: Likewise.
32376 * math/w_exp10f_compat.c: Likewise.
32377 * math/w_exp10l_compat.c: Likewise.
32378 * math/w_exp2_compat.c: Likewise.
32379 * math/w_exp2f_compat.c: Likewise.
32380 * math/w_exp2l_compat.c: Likewise.
32381 * math/w_fmod_compat.c: Likewise.
32382 * math/w_fmodf_compat.c: Likewise.
32383 * math/w_fmodl_compat.c: Likewise.
32384 * math/w_hypot_compat.c: Likewise.
32385 * math/w_hypotf_compat.c: Likewise.
32386 * math/w_hypotl_compat.c: Likewise.
32387 * math/w_j0_compat.c: Likewise.
32388 * math/w_j0f_compat.c: Likewise.
32389 * math/w_j0l_compat.c: Likewise.
32390 * math/w_j1_compat.c: Likewise.
32391 * math/w_j1f_compat.c: Likewise.
32392 * math/w_j1l_compat.c: Likewise.
32393 * math/w_jn_compat.c: Likewise.
32394 * math/w_jnf_compat.c: Likewise.
32395 * math/w_jnl_compat.c: Likewise.
32396 * math/w_lgamma_r_compat.c: Likewise.
32397 * math/w_lgammaf_r_compat.c: Likewise.
32398 * math/w_lgammal_r_compat.c: Likewise.
32399 * math/w_log10_compat.c: Likewise.
32400 * math/w_log10f_compat.c: Likewise.
32401 * math/w_log10l_compat.c: Likewise.
32402 * math/w_log2_compat.c: Likewise.
32403 * math/w_log2f_compat.c: Likewise.
32404 * math/w_log2l_compat.c: Likewise.
32405 * math/w_log_compat.c: Likewise.
32406 * math/w_logf_compat.c: Likewise.
32407 * math/w_logl_compat.c: Likewise.
32408 * math/w_pow_compat.c: Likewise.
32409 * math/w_powf_compat.c: Likewise.
32410 * math/w_powl_compat.c: Likewise.
32411 * math/w_remainder_compat.c: Likewise.
32412 * math/w_remainderf_compat.c: Likewise.
32413 * math/w_remainderl_compat.c: Likewise.
32414 * math/w_sinh_compat.c: Likewise.
32415 * math/w_sinhf_compat.c: Likewise.
32416 * math/w_sinhl_compat.c: Likewise.
32417 * math/w_sqrt_compat.c: Likewise.
32418 * math/w_sqrtf_compat.c: Likewise.
32419 * math/w_sqrtl_compat.c: Likewise.
32420 * math/w_tgamma_compat.c: Likewise.
32421 * math/w_tgammaf_compat.c: Likewise.
32422 * math/w_tgammal_compat.c: Likewise.
32423 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32424 [LIBM_SVID_COMPAT].
32425 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32426 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32427 [LIBM_SVID_COMPAT].
32428 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32429 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32430 [LIBM_SVID_COMPAT].
32431 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32432 * sysdeps/i386/fpu/w_sqrt.c: New file.
32433 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32434 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32435 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32436 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32437 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32438 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32439 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32440 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32441 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32442 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32443 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32444 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32445 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32446 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32447 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32448 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32449 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32450 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32451 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32452 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32453 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32454 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32455 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32456 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32457 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32458 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32459 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32460 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32461 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32462 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32463 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32464 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32465 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32466 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32467 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32468 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32469 * sysdeps/ia64/fpu/w_log.c: Likewise.
32470 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32471 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32472 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32473 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32474 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32475 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32476 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32477 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32478 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32479 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32480 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32481 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32482 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32483 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32484 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32485 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32486 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32487 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32488 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32489 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32490 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32491 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32492 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32494 [LIBM_SVID_COMPAT].
32495 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32496 * sysdeps/ieee754/k_standard.c: Likewise.
32497 * sysdeps/ieee754/k_standardf.c: Likewise.
32498 * sysdeps/ieee754/k_standardl.c: Likewise.
32499 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32500 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32501 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32502 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32503 long_double_symbol call on [LIBM_SVID_COMPAT].
32504 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32505 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32506 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32507 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32508 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32509 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32510 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32511 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32512 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32513 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32514 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32515 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32516 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32517 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32518 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32519 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32520 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32521 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32522 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32523 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32524 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32525 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32526
05b38d64
SE
325272017-09-05 Steve Ellcey <sellcey@cavium.com>
32528
32529 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32530 * malloc/tst-mallocstate.c: Convert from test-skeleton
32531 to test-driver. Ifdef code using TEST_COMPAT macro.
32532 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32533 * math/test-matherr.c: Likewise.
32534
99d67918
JM
325352017-09-05 Joseph Myers <joseph@codesourcery.com>
32536
32537 [BZ #22086]
32538 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32539 comparing word with byte-swapped constant.
32540
c207f7ce 325412017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
32542
32543 [BZ #20498]
32544 * locale/iso-639.def: add Miskito.
32545 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32546 * localedata/locales/miq_NI: New file.
32547
0a587a8a
L
325482017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32549
32550 [BZ #18822]
32551 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32552 (__mkdir): Likewise.
32553 * io/chmod.c (__chmod): Add libc_hidden_def.
32554 * io/mkdir.c (__mkdir): Likewise.
32555 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32556 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32557 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32558 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32559
f3a129b8
JM
325602017-09-04 Joseph Myers <joseph@codesourcery.com>
32561
1650e192
JM
32562 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32563 version to 4.13.
32564
f3a129b8
JM
32565 [BZ #22082]
32566 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32567 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32568
b38042f5
FW
325692017-09-04 Florian Weimer <fweimer@redhat.com>
32570
32571 * math/math.h: Issue warning if log is defined.
32572
059b6404
JM
325732017-09-04 Joseph Myers <joseph@codesourcery.com>
32574
32575 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32576 kernel version to 4.13.
32577
b794e16b
ST
325782017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32579
32580 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
32581 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32582 parameter.
01969395
ST
32583 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32584 just <bits/types.h>.
dd2b31de 32585 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 32586 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 32587 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 32588 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
32589 * misc/preadv2.c: Include <errno.h>.
32590 * misc/preadv64v2.c: Include <errno.h>.
32591 * misc/pwritev2.c: Include <errno.h>.
32592 * misc/pwritev64v2.c: Include <errno.h>.
32593 * sysdeps/posix/preadv2.c: Include <errno.h>.
32594 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32595 Fix <unistd.h> inclusion.
32596 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32597 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
32598 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32599 __strtoul_internal): New functions.
127e7773
ST
32600 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32601 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
32602 * sysdeps/mach/hurd/i386/Makefile
32603 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32604 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32605 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
32606 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32607 __feraiseexcept_renamed to feraiseexcept instead of
32608 __GI_feraiseexcept.
56bf5497 32609 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 32610 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
32611 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32612 RWF_NOWAIT): Define to 0 if undefined already.
32613 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32614 boils down to 0.
6547ec0a
ST
32615 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32616 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 32617
5a80d39d
JM
326182017-09-01 Joseph Myers <joseph@codesourcery.com>
32619
32620 * manual/math.texi (pow10): Do not document.
32621 (pow10f): Likewise.
32622 (pow10l): Likewise.
32623 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32624 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32625 * math/libm-test-exp10.inc (pow10_test): Remove.
32626 (do_test): Do not call pow10.
32627 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32628 [NO_LONG_DOUBLE] (pow10l): Likewise.
32629 * math/w_exp10f_compat.c (pow10f): Likewise.
32630 * math/w_exp10l_compat.c (pow10l): Likewise.
32631 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32632 (pow10): Make into compat symbol.
32633 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32634 (pow10f): Make into compat symbol.
32635 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32636 (pow10l): Make into compat symbol.
32637 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32638 pow10.
32639 (CFLAGS-nldbl-pow10.c): Remove variable..
32640 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32641 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32642 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32643 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32644 Undefine and redefine.
32645 (pow10l): Make into compat symbol.
32646 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32647 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32648 * sysdeps/arm/libm-test-ulps: Likewise.
32649 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32650 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32651 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32652 * sysdeps/microblaze/libm-test-ulps: Likewise.
32653 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32654 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32655 * sysdeps/nios2/libm-test-ulps: Likewise.
32656 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32657 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32658 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32659 * sysdeps/sh/libm-test-ulps: Likewise.
32660 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32661 * sysdeps/tile/libm-test-ulps: Likewise.
32662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32663
3824fc38
PP
326642017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32665
32666 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32667
b3008279
L
326682017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32669
32670 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32671 "../ChangeLog.old/ChangeLog.8".
32672 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32673 "../ChangeLog.old/ChangeLog.14".
32674
136fa185
L
326752017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32676
32677 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32678 Threads Library.
32679
c18d50a2
JM
326802017-09-01 Joseph Myers <joseph@codesourcery.com>
32681
32682 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32683
bedbd859
L
326842017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32685
32686 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32687 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32688
50c66c7a
PP
326892017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32690
32691 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32692 32 atexit handlers.
32693
a617bd11
ZW
326942017-09-01 Zack Weinberg <zackw@panix.com>
32695
32696 * math/math.h (HUGE_VAL): Improve commentary.
32697
e0d2eb5a
AZ
326982017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32699 Andreas Schwab <schwab@suse.de>
32700
32701 [BZ #21530]
32702 * include/stdio.h (__gen_tempfd): New function.
32703 * stdio-common/Makefile (routines): Add gentempfd.
32704 * stdio-common/gentempfd.c: New file.
32705 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32706 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32707 unnamed file first.
32708
f4a6be25
FW
327092017-09-01 Florian Weimer <fweimer@redhat.com>
32710
32711 [BZ #21915]
32712 [BZ #21922]
32713 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32714 result to determine success or failure, not the errno value.
32715 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32716 (tst-nss-files-hosts-erange): Link with -ldl.
32717 * nss/tst-nss-files-hosts-erange.c: New file.
32718 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32719 (do_test): Add NO_DATA tests.
32720 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32721 (do_test): Call it.
32722
5f8340f5
FW
327232017-09-01 Florian Weimer <fweimer@redhat.com>
32724
32725 [BZ #21922]
32726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32727 coming from gethostbyname2_r.
32728
65329bd2
FW
327292017-09-01 Florian Weimer <fweimer@redhat.com>
32730
32731 * support/namespace.h (struct support_chroot_configuration): Add
32732 hosts, host_conf.
32733 (struct support_chroot): Add path_hosts, path_host_conf.
32734 * support/support_chroot.c (write_file): New function.
32735 (support_chroot_create): Call it to process /etc/resolv.conf,
32736 /etc/hosts, /etc/host.conf.
32737 (support_chroot_free): Update.
32738
a2881ef0
FW
327392017-09-01 Florian Weimer <fweimer@redhat.com>
32740
32741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32742 status indicates it is set.
32743
ad816a5e
FW
327442017-09-01 Florian Weimer <fweimer@redhat.com>
32745
63b52889 32746 [BZ #20532]
ad816a5e
FW
32747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32748 function lookup failures more reliable.
32749
53250a21
FW
327502017-09-01 Florian Weimer <fweimer@redhat.com>
32751
32752 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32753 (getcanonname): Likewise.
32754 (gaih_inet): Likewise.
32755
924b121c
FW
327562017-09-01 Florian Weimer <fweimer@redhat.com>
32757
32758 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32759 (getcanonname): Likewise.
32760 (gaih_inet): Likewise.
32761
d9ff799a 327622017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 32763 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
32764
32765 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32766 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32767 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32768 (IREG_SIZE, OREG_SIZE): New macros.
32769 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32770 (IREG_SIZE, OREG_SIZE): New macros.
32771 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32772 (IREG_SIZE): New macro.
32773 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32774 (IREG_SIZE): New macro.
32775 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32776 New includes.
32777 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32778 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32779 (__CONCATX): Handle exceptions correctly on large values that may
32780 set FE_INVALID.
32781 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32782 Initialize if not already set.
b39d961c 32783 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 32784
102dde84
AZ
327852017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32786
32787 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32788 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32789 Likewise.
32790 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32791 Likewise.
32792 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32793 Likewise.
32794 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32795 Likewise.
32796 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32797 Likewise.
32798 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32799 Likewise.
32800 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32801 Likewise.
32802 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32803 (NO_CANCELLATION): Likewise.
32804 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32805 Likewise.
32806 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32807 Likewise.
32808 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32809 Likewise.
32810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32811 (NO_CANCELLATION): Likewise.
32812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32813 (NO_CANCELLATION): Likewise.
32814 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32815 Likewise
32816 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32817 Likewise.
32818 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32819 Likewise.
32820 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32821 Likewise.
32822 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32823 hidden prototype.
32824 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32825 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32826
9eee633b
SE
328272017-08-31 Steve Ellcey <sellcey@cavium.com>
32828
32829 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32830 in resolver call.
32831
65284eb7
FW
328322017-08-31 Florian Weimer <fweimer@redhat.com>
32833
32834 * include/libc-symbols.h (internal_function): Remove.
32835
41ad5ca6
FW
328362017-08-31 Florian Weimer <fweimer@redhat.com>
32837
32838 * stdlib/fmtmsg.c (internal_addseverity): Remove
32839 internal_function.
32840
2fa6d086
FW
328412017-08-31 Florian Weimer <fweimer@redhat.com>
32842
32843 * stdio-common/printf_fp.c (group_number): Remove
32844 internal_function.
32845 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32846
b41bd5bc
FW
328472017-08-31 Florian Weimer <fweimer@redhat.com>
32848
32849 * posix/fnmatch.c (internal_function): Remove definition.
32850 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32851 * posix/regcomp.c (peek_token, init_word_char)
32852 (duplicate_node_closure, fetch_token, peek_token)
32853 (peek_token_bracket, build_range_exp, build_collating_symbol):
32854 Likewise.
32855 * posix/regex_internal.c (re_string_construct_common)
32856 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32857 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32858 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32859 (re_string_translate_buffer, re_string_reconstruct)
32860 (re_string_peek_byte_case, re_string_fetch_byte_case)
32861 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32862 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32863 (re_node_set_add_intersect, re_node_set_init_union)
32864 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32865 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32866 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32867 (re_acquire_state_context): Likewise.
32868 * posix/regex_internal.h (internal_function): Remove definition.
32869 (re_string_realloc_buffers, build_wcs_buffer)
32870 (build_wcs_upper_buffer, build_upper_buffer)
32871 (re_string_translate_buffer, re_string_context_at)
32872 (re_string_char_size_at, re_string_wchar_at)
32873 (re_string_elem_size_at): Likewise.
32874 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32875 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32876 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32877 (re_search_internal, re_search_2_stub, re_search_stub)
32878 (re_copy_regs, prune_impossible_nodes, check_matching)
32879 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32880 (free_fail_stack_return, sift_states_iter_mb)
32881 (sift_states_backward, build_sifted_states)
32882 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32883 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32884 (check_subexp_limits, sift_states_bkref, merge_state_array)
32885 (find_recover_state, transit_state, merge_state_with_log)
32886 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32887 (transit_state_mb, transit_state_bkref, get_subexp)
32888 (get_subexp_sub, find_subexp_node, check_arrival)
32889 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32890 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32891 (check_node_accept_bytes, find_collation_sequence_value)
32892 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32893 (acquire_init_state_context, check_halt_node_context)
32894 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32895 (sub_epsilon_src_nodes): Likewise.
32896 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32897 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32898 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32899 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32900 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32901 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32902 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32903 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32904 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32905 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32906 (PREADV): Likewise.
32907 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32908 (PREADV): Likewise.
32909 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32910 (PWRITEV): Likewise.
32911 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32912 (PWRITEV): Likewise.
32913 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32914 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32915
83b09837
FW
329162017-08-31 Florian Weimer <fweimer@redhat.com>
32917
32918 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32919 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32920 Remove internal_function.
32921 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32922 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32923 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32924 (__deallocate_stack, __libc_pthread_init)
32925 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32926 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32927 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32928 Likewise.
32929 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32930 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32931 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32932 Likewise.
32933 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32934 (__pthread_mutex_unlock_usercnt): Likewise.
32935
116ac301
FW
329362017-08-31 Florian Weimer <fweimer@redhat.com>
32937
32938 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32939 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32940 (fts_safe_changedir): Remove internal_function.
32941 * io/ftw.c (internal_function): Remove definition.
32942 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32943
9da93bd7
FW
329442017-08-31 Florian Weimer <fweimer@redhat.com>
32945
32946 * inet/deadline.c (__deadline_current_time)
32947 (__deadline_from_timeval, __deadline_to_ms): Remove
32948 internal_function.
32949 * inet/getnameinfo.c (nrl_domainname): Likewise.
32950 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32951 * inet/inet6_option.c (add_pad): Likewise.
32952 * inet/net-internal.h (__deadline_current_time)
32953 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32954 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32955 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32956 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32957
a60eca2e
JM
329582017-08-31 Joseph Myers <joseph@codesourcery.com>
32959
c0c49d60
JM
32960 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32961 include <bits/nan.h>.
32962 * math/Makefile (headers): Remove bits/nan.h.
32963 * bits/nan.h: Remove.
32964 * sysdeps/ieee754/bits/nan.h: Likewise.
32965 * sysdeps/mips/bits/nan.h: Likewise.
32966
5ef1b213
JM
32967 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32968 not include <bits/inf.h>.
32969 * math/Makefile (headers): Remove bits/inf.h.
32970 * bits/inf.h: Remove.
32971 * sysdeps/ieee754/bits/inf.h: Likewise.
32972
a60eca2e
JM
32973 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32974 bits/huge_vall.h or bits/huge_val_flt128.h.
32975 (HUGE_VAL): Define directly here.
32976 [__USE_ISOC99] (HUGE_VALF): Likewise.
32977 [__USE_ISOC99] (HUGE_VALL): Likewise.
32978 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32979 (HUGE_VAL_F128): Likewise.
32980 * math/Makefile (headers): Remove bits/huge_val.h,
32981 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32982 * bits/huge_val.h: Remove.
32983 * bits/huge_val_flt128.h: Likewise.
32984 * bits/huge_valf.h: Likewise.
32985 * bits/huge_vall.h: Likewise.
32986 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32987 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32988 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32989 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32990 * sysdeps/sh/bits/huge_val.h: Likewise.
32991 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32992 * sysdeps/x86/bits/huge_vall.h: Likewise.
32993
17e00cc6
FW
329942017-08-31 Florian Weimer <fweimer@redhat.com>
32995
32996 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32997 internal_function.
32998 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32999 Likewise.
33000 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33001 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33002 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33003 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33005 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33006 * elf/dl-libc.c (dlerror_run): Likewise.
33007 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33008 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33009 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33010 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33011 Likewise.
33012 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33013 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33014 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33015 * elf/dl-profile.c (_dl_start_profile): Likewise.
33016 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33017 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33018 Likewise.
33019 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33020 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33021 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33022 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33023 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33024 (_dl_allocate_tls_storage): Likewise.
33025 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33026 (_dl_check_all_versions): Likewise.
33027 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33028 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33029 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33030 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33031 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33032 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33033 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33034 internal_function from __dl_start.
33035 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33036 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33037 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33038 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33039 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33040 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33041 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33042 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33043 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33044 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33045 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33046 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33047 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33048 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33049 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33050 Likewise.
33051 (struct rtld_global_ro): Remove internal_function from the
33052 _dl_lookup_symbol_x member.
33053 (_dl_symbol_value): Remove. No longer defined anywhere.
33054 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33055 internal_function.
33056 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33057 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33058 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33059 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33060 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33061 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33062 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33063 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33064 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33065 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33066 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33067 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33068
8d2f9410
FW
330692017-08-31 Florian Weimer <fweimer@redhat.com>
33070
33071 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33072 Remove internal_function.
33073 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33074 Likewise.
33075 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33076 Likewise.
33077
86e4919f
FW
330782017-08-31 Florian Weimer <fweimer@redhat.com>
33079
33080 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33081 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33082 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33083
59bd52b0
FW
330842017-08-31 Florian Weimer <fweimer@redhat.com>
33085
33086 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33087 (__gai_enqueue_request): Remove internal_function.
33088 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33089 (__gai_remove_request, __gai_notify, __gai_notify_only)
33090 (__gai_sigqueue): Likewise.
33091 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33092 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33093 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33094 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33095 Likewise.
33096
fc3d9497
FW
330972017-08-31 Florian Weimer <fweimer@redhat.com>
33098
33099 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33100 * include/dirent.h (__opendirat, __getdents, __getdents64)
33101 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33102 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33103 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33104 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33105 Likewise.
33106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33107
18c54fac
FW
331082017-08-31 Florian Weimer <fweimer@redhat.com>
33109
33110 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33111 internal_function.
33112 (GETCWD_RETURN_TYPE): Likewise.
33113
7e01f080
FW
331142017-08-31 Florian Weimer <fweimer@redhat.com>
33115
33116 * include/time.h (__tz_compute, __strptime_internal): Remove
33117 internal_function.
33118 * time/strptime_l.c (__strptime_internal): Likewise.
33119 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33120
d7ccc6c9
FW
331212017-08-31 Florian Weimer <fweimer@redhat.com>
33122
33123 * iconv/gconv.c (__gconv): Remove internal_function.
33124 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33125 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33126 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33127 (__gconv_release_cache): Likewise.
33128 * iconv/gconv_close.c (__gconv_close): Likewise.
33129 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33130 (read_conf_file, __gconv_get_path): Likewise.
33131 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33132 (__gconv_release_step, gen_steps, increment_counter)
33133 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33134 (__gconv_close_transform, free_modules_db): Likewise.
33135 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33136 Likewise.
33137 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33138 (__gconv_find_transform, __gconv_lookup_cache)
33139 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33140 (__gconv_close_transform, __gconv_release_cache)
33141 (__gconv_loaded_object, __gconv_release_shlib)
33142 (__gconv_compare_alias): Likewise.
33143 * iconv/gconv_open.c (__gconv_open): Likewise.
33144 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33145 * iconv/iconvconfig.c (add_module): Likewise.
33146 * intl/dcigettext.c (plural_lookup, guess_category_value)
33147 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33148 * intl/eval-plural.h (plural_eval): Likewise.
33149 * intl/finddomain.c (_nl_find_domain): Likewise.
33150 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33151 (_nl_load_domain, _nl_find_msg): Likewise.
33152 (internal_function): Remove definition.
33153 * intl/loadinfo.h (internal_function): Likewise.
33154 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33155 internal_function.
33156 * intl/localealias.c (internal_function): Remove definition.
33157 (read_alias_file): Remove internal_function.
33158 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33159 * intl/plural-exp.h (internal_function): Remove definition.
33160 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33161 internal_function.
33162 * intl/plural.c: Regenerate.
33163 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33164 * locale/coll-lookup.c (__collidx_table_lookup)
33165 (__collseq_table_lookup): Likewise.
33166 * locale/coll-lookup.h (__collidx_table_lookup)
33167 (__collseq_table_lookup): Likewise.
33168 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33169 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33170 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33171 (_nl_unload_locale): Likewise.
33172 * locale/localeinfo.h (struct __locale_data): Remove
33173 internal_function from cleanup member.
33174 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33175 (_nl_remove_locale, _nl_load_locale_from_archive)
33176 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33177 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33178 (_nl_cleanup_time): Remove internal_function.
33179 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33180 (_nl_parse_alt_digit): Likewise.
33181 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33182 (_nl_select_era_entry): Likewise.
33183 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33184 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33185 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
33186 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33187 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 33188
dab0eece
FW
331892017-08-31 Florian Weimer <fweimer@redhat.com>
33190
33191 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33192 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33193 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33194 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33195 Likewise.
33196 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33197 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33198 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33199 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33200 Likewise.
33201 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33202
ab5bf7cf
FW
332032017-08-31 Florian Weimer <fweimer@redhat.com>
33204
33205 * misc/getttyent.c (skip, value): Remove internal_function.
33206 * misc/syslog.c (openlog_internal): Likewise.
33207 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33208
75b3047e
FW
332092017-08-31 Florian Weimer <fweimer@redhat.com>
33210
33211 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33212 (__nss_rewrite_field): Remove internal_function.
33213 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33214 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33215 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33216 * nss/nsswitch.c (nss_parse_file, nss_getline)
33217 (nss_parse_service_list, nss_new_service): Likewise.
33218 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33219 * nss/valid_field.c (__nss_valid_field): Likewise.
33220 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33221
0c71122c
FW
332222017-08-31 Florian Weimer <fweimer@redhat.com>
33223
33224 * malloc/arena.c (__malloc_fork_lock_parent)
33225 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33226 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33227 internal_function from defintions.
33228 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33229 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33230 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33231 internal_function from declarations.
33232 * malloc/malloc.c (internal_function): Do not define.
33233 (mem2mem_check): Remove internal_function from declaration.
33234 (munmap_chunk, mremap_chunk): Remove internal_function.
33235 * malloc/mtrace.c (tr_where): Likewise.
33236
ca4ec803
FW
332372017-08-31 Florian Weimer <fweimer@redhat.com>
33238
33239 * include/rpc/pmap_clnt.h (__get_socket): Remove
33240 internal_function.
33241 * sunrpc/auth_des.c (synchronize): Likewise.
33242 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33243 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33244 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33245 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33246 (key_call): Likewise.
33247 * sunrpc/pm_getport.c (__get_socket): Likewise.
33248 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33249 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33250 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33251 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33252 (invalidate): Likewise.
33253 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33254 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33255 (set_input_fragment, get_input_bytes): Likewise.
33256
24cffce7
FW
332572017-08-31 Florian Weimer <fweimer@redhat.com>
33258
33259 * malloc/malloc.c (_int_free): Remove locked variable and related
33260 asserts.
33261
ecd0747d
L
332622017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33263
33264 [BZ #22051]
33265 * Makerules (build-module-helper-objlist): Filter out
33266 $(elf-objpfx)sofini.os.
33267 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33268 needed.
33269
5f0704b6
FW
332702017-08-31 Florian Weimer <fweimer@redhat.com>
33271
33272 * libio/fcloseall.c: Assume weak_alias is defined.
33273 * libio/feof.c: Likewise.
33274 * libio/fileno.c: Likewise.
33275 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33276 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33277 definitions.
33278 (_IO_file_open): Call __open directly.
33279 (_IO_new_file_sync): Assume ESPIPE is defined.
33280 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33281 (_IO_new_file_write): Call __write directly.
33282 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33283 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33284 * libio/genops.c: Assume _LIBC is defined.
33285 (save_for_backup): Remove internal_function.
33286 * libio/getc.c: Assume weak_alias is defined.
33287 * libio/getwc.c: Likewise.
33288 * libio/iofclose.c: Assume _LIBC is defined.
33289 * libio/iofdopen.c: Likewise.
33290 (_IO_fcntl): Remove macro definition.
33291 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33292 Call __fcntl directly.
33293 * libio/iofflush.c: Assume weak_alias is defined.
33294 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33295 defined.
33296 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33297 * libio/iofgets.c: Likewise.
33298 * libio/iofopen.c: Assume _LIBC is defined.
33299 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33300 * libio/iofputs.c: Assume weak_alias is defined.
33301 * libio/iofread.c: Likewise.
33302 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33303 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33304 * libio/ioftell.c: Assume weak_alias is defined.
33305 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33306 * libio/iofwide.c: Assume _LIBC is defined.
33307 (_IO_fwide): Drop SHARED conditional because it is implied by
33308 SHLIB_COMPAT.
33309 * libio/iofwrite.c: Assume weak_alias is defined.
33310 * libio/iogetdelim.c: Likewise.
33311 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33312 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33313 (_IO_getwline): Call __wmemcpy directly.
33314 * libio/iopopen.c: Assume _LIBC is defined.
33315 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33316 (_IO_close): Remove macro definitions.
33317 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33318 _exit directly.
33319 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33320 directly.
33321 * libio/ioputs.c: Assume weak_alias is defined.
33322 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33323 * libio/iosetbuffer.c: Assume weak_alias is defined.
33324 * libio/iosetvbuf.c: Likewise.
33325 * libio/ioungetc.c: Likewise.
33326 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33327 libc_hidden_def, libc_hidden_weak, NULL are defined.
33328 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33329 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33330 defined.
33331 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33332 definitions.
33333 (_IO_old_file_init_internal): Drop SHARED conditional because it
33334 is implied by SHLIB_COMPAT.
33335 (_IO_old_file_fopen): Call __open directly.
33336 (_IO_old_file_sync): Assume ESPIPE is defined.
33337 (_IO_old_file_write): Call __write directly.
33338 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33339 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33340 Call __fcntl directly.
33341 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33342 (_IO_old_fgetpos): Assume EIO is defined.
33343 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33344 (_IO_old_fgetpos64): Assume EIO is defined.
33345 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33346 (_IO_old_fsetpos): Assume EIO is defined.
33347 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33348 (_IO_old_fsetpos64): Assume EIO is defined.
33349 * libio/oldiopopen.c: Assume _LIBC is defined.
33350 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33351 (_IO_close): Remove macro definitions.
33352 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33353 directly.
33354 (_IO_old_proc_close): Call __close, __waitpid directly.
33355 * libio/put.c: Assume weak_alias is defined.
33356 * libio/stdfiles.c: Assume _LIBC is defined.
33357 * libio/stdio.c: Likewise.
33358 * libio/wfileops.c: Likewise.
33359 (_IO_wfile_sync): Assume ESPIPE is defined.
33360 * libio/wgenops.c: Assume _LIBC is defined.
33361 (save_for_wbackup): Remove internal_function.
33362
5129873a
FW
333632017-08-31 Florian Weimer <fweimer@redhat.com>
33364
33365 * malloc/malloc.c (top_check): Change return type to void. Remove
33366 internal_function.
33367 * malloc/hooks.c (top_check): Likewise.
33368 (malloc_check, realloc_check, memalign_check): Adjust.
33369
4fa9b3bf
JM
333702017-08-30 Joseph Myers <joseph@codesourcery.com>
33371
33372 [BZ #21457]
33373 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33374 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33375 sigcontext and namespace requirements.
33376 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33377 * sysdeps/m68k/sys/ucontext.h: Likewise.
33378 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33379 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33380 <bits/sigcontext.h>.
33381 (__ctx): Define earlier.
33382 (mcontext_t): Define structure contents rather than using struct
33383 sigcontext.
33384 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33385 __glibc_reserved1 instead of __reserved.
33386 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33387 <bits/sigcontext.h>.
33388 (__ctx): Define earlier.
33389 (mcontext_t): Define structure contents rather than using struct
33390 sigcontext.
33391 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33392 mcontext_t instead of struct sigcontext.
33393 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33394 <bits/sigcontext.h>.
33395 (__ctx): Define earlier.
33396 (mcontext_t): Define structure contents rather than using struct
33397 sigcontext.
33398 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33399 <bits/sigcontext.h>.
33400 (__ctx): Define earlier.
33401 (mcontext_t): Define structure contents rather than using struct
33402 sigcontext.
33403 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33404 mcontext_t instead of struct sigcontext.
33405 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33406 mcontext_t instead of struct sigcontext.
33407 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33408 <bits/sigcontext.h>.
33409 (__ctx): New macro.
33410 (struct __ia64_fpreg_mcontext): New type.
33411 (mcontext_t): Define structure contents rather than using struct
33412 sigcontext.
33413 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33414 (uc_sigmask): Define using __ctx.
33415 (uc_stack): Likewise.
33416 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33417 <bits/sigcontext.h>.
33418 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33419 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33420 <bits/sigcontext.h>.
33421 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33422 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33423 <bits/sigcontext.h>.
33424 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33425 <bits/sigcontext.h>.
33426 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33427 <bits/sigcontext.h>.
33428 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33429 <bits/sigcontext.h>.
33430 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33431 <bits/sigcontext.h>.
33432 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33433 <bits/sigcontext.h>.
33434 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33435 <bits/sigcontext.h>.
33436 (__ctx): Define earlier.
33437 (mcontext_t): Define structure contents rather than using struct
33438 sigcontext.
33439 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33440 <bits/sigcontext.h>. Include <bits/types.h>.
33441 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33442 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33443 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33444 (test-xfail-UNIX98/signal.h/conform): Likewise.
33445 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33446 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33447 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33448 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33449 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33450 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33451 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33452 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33453 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33454
5898f454
FW
334552017-08-30 Florian Weimer <fweimer@redhat.com>
33456
33457 * malloc/dynarray_emplace_enlarge.c
33458 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33459 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33460 * malloc/tst-dynarray.c (test_long_overflow): New function.
33461 (do_test): Call it.
33462
a9da0bb2
FW
334632017-08-30 Florian Weimer <fweimer@redhat.com>
33464
33465 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33466 (set_arena_corrupt): Remove definitions.
33467 (mtrim): Do not check for corrupt arena.
33468 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33469 Likewise.
33470
ac3ed168
FW
334712017-08-30 Florian Weimer <fweimer@redhat.com>
33472
33473 [BZ #21754]
33474 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33475 check_action.
33476 (ptmalloc_init): Do not set or use check_action.
33477 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33478 call to malloc_printerr. Remove return statement.
33479 (free_check): Likewise. Remove arena unlock.
33480 (top_check): Update comment. Adjust call to malloc_printerr.
33481 Remove heap repair code.
33482 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33483 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33484 (sysmalloc): Adjust call to malloc_printerr.
33485 (munmap_chunk, __libc_realloc): Likewise. Remove return
33486 statement.
33487 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33488 Remove errout label and corresponding gotos.
33489 (_int_free): Likewise. Remove arena unlock.
33490 (do_set_mallopt_check): Do not set check_action.
33491 (malloc_printerr): Adjust parameter list. Do not mark arena as
33492 corrupt.
33493 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33494 comment.
33495 * manual/probes.texi (Memory Allocation Probes): Remove
33496 memory_mallopt_check_action.
33497
44bcba80
SE
334982017-08-30 Steve Ellcey <sellcey@cavium.com>
33499
33500 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33501 Use pointer to uint64_t instead of long int for sp.
33502
ec2c1fce
FW
335032017-08-30 Florian Weimer <fweimer@redhat.com>
33504
33505 [BZ #21754]
33506 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33507 without printing a backtrace. Do not leak any information in the
33508 error message.
33509 * manual/memory.texi (Heap Consistency Checking): Update.
33510 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33511
9ce673b6
FW
335122017-08-30 Florian Weimer <fweimer@redhat.com>
33513
33514 Do not scale NPTL tests with available number of CPUs.
33515 * nptl/tst-cond16.c (count): Set to constant value of 8.
33516 * nptl/tst-cond18.c (count): Likewise.
33517
2f1aef19
JM
335182017-08-29 Joseph Myers <joseph@codesourcery.com>
33519
33520 [BZ #22035]
33521 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33522 Define to take a second argument that is a macro that
33523 concatentates a suffix, not the suffix itself.
33524 (__CONCAT_d): New macro.
33525 (__CONCAT_f): Likewise.
33526 (__CONCAT_l): Likewise.
33527
8325b477
PP
335282017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33529
33530 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33531 by child.
33532
319cbbf6
AZ
335332017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33534 Aurelien Jarno <aurelien@aurel32.net>
33535 Maciej W. Rozycki <macro@imgtec.com>
33536
33537 [BZ #21956]
33538 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33539 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33540 `mips16-syscall6' and `mips16-syscall7'.
33541 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33542 (CFLAGS-mips16-syscall7.c): Remove.
33543 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33544 Remove `__mips16_syscall5', `__mips16_syscall6' and
33545 `__mips16_syscall7'.
33546 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33547 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33548 `__mips_syscall_return'.
33549 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33550 (__mips16_syscall1): Likewise.
33551 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33552 (__mips16_syscall2): Likewise.
33553 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33554 (__mips16_syscall3): Likewise.
33555 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33556 (__mips16_syscall4): Likewise.
33557 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33558 Remove.
33559 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33560 Remove.
33561 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33562 Remove.
33563 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33564 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33565 `__mips16_syscall5'. Remove prototype.
33566 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33567 `__mips16_syscall6'. Remove prototype.
33568 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33569 `__mips16_syscall7'. Remove prototype.
33570 (__nomips16, __mips16_syscall_return): Move to...
33571 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33572 (__nomips16, __mips_syscall_return): ... here.
33573 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33574 `__mips16_syscall_return' to `__mips_syscall_return'.
33575 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33576 `internal_syscall##nr'.
33577 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33578 `internal_syscall##nr'.
33579 (FORCE_FRAME_POINTER): Remove.
33580 (__mips_syscall5): New prototype.
33581 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33582 (__mips_syscall6): New prototype.
33583 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33584 (__mips_syscall7): New prototype.
33585 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33586 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33587 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33588 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33589 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33590 (sysdep_routines): Add libc-do-syscall.
33591 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33592 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33593
01b87c65
AZ
335942017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33595
33596 [BZ #21672]
33597 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33598 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33599 (advise_stack_range): New function.
33600 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33601 stack non required to advise_stack_range at allocatestack.c
33602
16f138a4
SN
336032017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33604
33605 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33606
251bccfa
FW
336072017-08-29 Florian Weimer <fweimer@redhat.com>
33608
33609 [BZ #22026]
33610 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33611 __end_fct. Mangle __end_fct after setting it to NULL.
33612 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33613 (modules-names, modules-names-tests): Add
33614 tst-gconv-init-failure-mod.
33615 (gconv-modules): New target.
33616 (tst-gconv-init-failure-mod.so): Link against libsupport.
33617 (tst-gconv-init-failure): Depend on gconv-modules,
33618 tst-gconv-init-failure-mod.so.
33619 * iconv/tst-gconv-init-failure-mod.c: New file.
33620 * iconv/tst-gconv-init-failure.c: Likewise.
33621 * iconv/test-gconv-modules: Likewise.
33622
e7c18b9d
FW
336232017-08-29 Florian Weimer <fweimer@redhat.com>
33624
33625 [BZ #22025]
33626 * iconv/gconv_db.c (free_derivation): Remove redundant
33627 parentheses.
33628 (gen_steps): Unconditionally mangle __btowc_fct after
33629 initialization.
33630 (increment_counter): Likewise. Do not call init_fct for internal
33631 modules.
33632
7daada03
JM
336332017-08-29 Joseph Myers <joseph@codesourcery.com>
33634
33635 [BZ #22028]
33636 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33637 (_MSUF_): Remove macro.
33638 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33639 Likewise.
33640 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33641 (__REDIRFROM_X): New macro.
33642 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33643 Likewise.
33644 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33645 (__REDIRTO_X): Likewise.
33646 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33647 arguments.
33648 (__MATH_REDIRCALL_2): Likewise.
33649 (__MATH_REDIRCALL_INTERNAL): Likewise.
33650 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33651 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33652 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33653 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33654 * math/test-finite-macros.c: New file.
33655 * math/Makefile (tests): Add test-finite-macros.
33656 (CFLAGS-test-finite-macros.c): New variable.
33657
1cf1232c
PF
336582017-08-29 Patsy Franklin <pfrankli@redhat.com>
33659 Jeff Law <law@redhat.com>
33660
33661 [BZ #22025]
33662 Mangle NULL pointers in iconv/gconv.
33663 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33664 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33665 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33666 is non-NULL before demangling the end_fct. Check for NULL
33667 end_fct after demangling.
33668 (__gconv_release_step): Demangle the end_fct before checking
33669 it for NULL. Remove assert on __shlibc_handle != NULL.
33670 (gen_steps): Don't check btowc_fct for NULL before mangling.
33671 Demangle init_fct before checking for NULL.
33672 (increment_counter): Likewise.
33673 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33674 end_fct for NULL before mangling.
33675 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33676 for NULL.
33677
c207f7ce 336782017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
33679
33680 [BZ #21971]
33681 * locale/iso-639.def: add Morisyen.
33682
42496114
GG
336832017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33684
33685 [BZ #21930]
33686 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33687 (iszero): New C++ implementation that does not use
33688 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33689 signaling nans are enabled, since __builtin_types_compatible_p
33690 is a C-only feature.
33691 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33692 defined, include ieee754_float128.h for access to the union and
33693 member ieee854_float128.ieee.
33694 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33695 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33696 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33697 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33698 options of test-math-zero on powerpc64le.
33699
5e2bc4ff
L
337002017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33701
33702 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33703 Change double to float.
33704
a48c0fb4
JM
337052017-08-28 Joseph Myers <joseph@codesourcery.com>
33706
33707 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33708 unconditional.
33709 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33710 conditional code; define contents only for [LIBM_SVID_COMPAT].
33711
ee17d4e9
FW
337122017-08-28 Florian Weimer <fweimer@redhat.com>
33713
33714 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33715 (abi-lp64_be-options): Remove.
33716 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33717 (abi-hard-options): Likewise.
33718 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33719 (abi-o32_hard-options, abi-o32_soft_2008-options)
33720 (abi-o32_hard_2008-options, abi-n32_soft-options)
33721 (abi-n32_hard-options, abi-n32_soft_2008-options)
33722 (abi-n32_hard_2008-options, abi-n64_soft-options)
33723 (abi-n64_hard-options, abi-n64_soft_2008-options)
33724 (abi-n64_hard_2008-options): Likewise.
33725 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33726 (abi-64-v1-options, abi-64-v2-options): Likewise.
33727 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33728 (abi-64-options): Likewise.
33729 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33730 (abi-64-options): Likewise.
33731 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33732 (abi-64-options): Likewise.
33733 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33734 (abi-64-options, abi-x32-options): Likewise.
33735
2dba5ce7
FW
337362017-08-28 Florian Weimer <fweimer@redhat.com>
33737
33738 Store supported list of SYS_* system calls in the source tree.
33739 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33740 (bits/syscall.h): Generate from list file.
33741 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33742 [$(subdir) = misc] (tests): Add tst-syscall-list.
33743 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33744 [$(subdir) = misc] (tst-syscall-list-macros.list)
33745 [$(subdir) = misc] (tst-syscall-list-nr.list)
33746 (tst-syscall-list-sys.list): Helper targets for new
33747 tst-syscall-list test.
33748 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33749 tst-syscall-list.sh.
33750 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33751 target. Do not include bits/syscall.d.
33752 [$(subdir) = misc] (generated): Do not update.
33753 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33754 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33755 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33756 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33757
5f3b183d
PP
337582017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33759
33760 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33761 (tst-cxa_atexit, tst-on_exit): Likewise.
33762 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33763 tst-cxa_atexit, and tst-on_exit.
33764 * stdlib/tst-atexit-common.c: New file.
33765 * stdlib/tst-atexit.c: New file.
33766 * stdlib/tst-at_quick_exit.c: New file.
33767 * stdlib/tst-cxa_atexit.c: New file.
33768 * stdlib/tst-on_exit.c: New file.
33769
2ef8d469
ST
337702017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33771
33772 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
33773 * mach/stack_chk_fail_local.c: New file.
33774 * hurd/stack_chk_fail_local.c: New file.
33775 * mach/Machrules ($(interface-library)-routines): Add
33776 stack_chk_fail_local.
99ee4d26
ST
33777 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33778 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33779 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33780 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33781 * hurd/Makefile (CFLAGS-hurdstartup.o,
33782 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 33783
7ab70c98
L
337842017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33785
33786 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33787 (index_cpu_*, index_arch_*): Removed.
33788
39e7a5a6
SN
337892017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33790
33791 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33792 Use uint64_t instead of unsigned long.
33793
bba5c930
JM
337942017-08-25 Joseph Myers <joseph@codesourcery.com>
33795
a6ccdb08
JM
33796 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33797 [__HAVE_DISTINCT_FLOAT128].
33798
23761119
JM
33799 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33800 of <bits/math-finite.h>.
33801 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33802 inclusion of <bits/math-finite.h>.
33803 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33804 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33805 __NO_LONG_DOUBLE_MATH].
33806 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33807 (__MATH_REDIRCALL_2): Likewise.
33808 (__MATH_REDIRCALL_INTERNAL): Likewise.
33809 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33810 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33811 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33812
bba5c930
JM
33813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33814 Remove file.
33815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33816 Likewise.
33817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33818 Likewise.
33819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33820 Likewise.
33821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33822 Likewise.
33823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33824 Likewise.
33825 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33826 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33827 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33828 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33830 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33831 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33832 w_sqrtf_compat-ppc32.
33833
3d7b66f6
GG
338342017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33835
33836 * math/math.h [defined __cplusplus] (issignaling): In the long
33837 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33838 is not defined. Call __issignaling, otherwise.
33839
ebd6f007
AZ
338402017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33841
33842 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33843 syscall definitions and replace __builtin_expect with __glibc_likely.
33844 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33845 syscall.
6b5c8607 33846 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
33847 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33848 definition.
33849 (PSEUDO_END): Likewise.
33850 [IS_IN (libpthread)] (CENABLE): Likewise.
33851 [IS_IN (libpthread)] (CDISABLE): Likewise.
33852 [IS_IN (libc)] (CENABLE): Likewise.
33853 [IS_IN (libc)] (CENABLE): Likewise.
33854 [IS_IN (librt)] (CDISABLE): Likewise.
33855 [IS_IN (librt)] (CDISABLE): Likewise.
33856 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33857 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33858 definition.
33859 (PSEUDO_END): Likewise.
33860 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33861 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33862 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33863 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33864 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33865 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33866 (CENABLE): Likewise.
33867 (CDISABLE): Likewise.
33868 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33869 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33870 defintion.
33871 (PSEUDO_END): Likewise.
33872 [IS_IN (libpthread)] (CENABLE): Likewise.
33873 [IS_IN (libpthread)] (CDISABLE): Likewise.
33874 [IS_IN (libc)] (CENABLE): Likewise.
33875 [IS_IN (libc)] (CENABLE): Likewise.
33876 [IS_IN (librt)] (CDISABLE): Likewise.
33877 [IS_IN (librt)] (CDISABLE): Likewise.
33878 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33879 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33880 definition.
33881 (PSEUDO_END): Likewise.
33882 [IS_IN (libpthread)] (CENABLE): Likewise.
33883 [IS_IN (libpthread)] (CDISABLE): Likewise.
33884 [IS_IN (libc)] (CENABLE): Likewise.
33885 [IS_IN (libc)] (CENABLE): Likewise.
33886 [IS_IN (librt)] (CDISABLE): Likewise.
33887 [IS_IN (librt)] (CDISABLE): Likewise.
33888 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33889 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33890 definition.
33891 (PSEUDO_END): Likewise.
33892 [IS_IN (libpthread)] (CENABLE): Likewise.
33893 [IS_IN (libpthread)] (CDISABLE): Likewise.
33894 [IS_IN (libc)] (CENABLE): Likewise.
33895 [IS_IN (libc)] (CENABLE): Likewise.
33896 [IS_IN (librt)] (CDISABLE): Likewise.
33897 [IS_IN (librt)] (CDISABLE): Likewise.
33898 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33899 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33900 definition.
33901 (PSEUDO_END): Likewise.
33902 [IS_IN (libpthread)] (CENABLE): Likewise.
33903 [IS_IN (libpthread)] (CDISABLE): Likewise.
33904 [IS_IN (libc)] (CENABLE): Likewise.
33905 [IS_IN (libc)] (CENABLE): Likewise.
33906 [IS_IN (librt)] (CDISABLE): Likewise.
33907 [IS_IN (librt)] (CDISABLE): Likewise.
33908 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33909 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33910 definition.
33911 (PSEUDO_END): Likewise.
33912 [IS_IN (libpthread)] (CENABLE): Likewise.
33913 [IS_IN (libpthread)] (CDISABLE): Likewise.
33914 [IS_IN (libc)] (CENABLE): Likewise.
33915 [IS_IN (libc)] (CENABLE): Likewise.
33916 [IS_IN (librt)] (CDISABLE): Likewise.
33917 [IS_IN (librt)] (CDISABLE): Likewise.
33918 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33919 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33920 definition.
33921 (PSEUDO_END): Likewise.
33922 [IS_IN (libpthread)] (CENABLE): Likewise.
33923 [IS_IN (libpthread)] (CDISABLE): Likewise.
33924 [IS_IN (libc)] (CENABLE): Likewise.
33925 [IS_IN (libc)] (CENABLE): Likewise.
33926 [IS_IN (librt)] (CDISABLE): Likewise.
33927 [IS_IN (librt)] (CDISABLE): Likewise.
33928 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33929 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33930 Remove definition.
33931 (PSEUDO_END): Likewise.
33932 [IS_IN (libpthread)] (CENABLE): Likewise.
33933 [IS_IN (libpthread)] (CDISABLE): Likewise.
33934 [IS_IN (libc)] (CENABLE): Likewise.
33935 [IS_IN (libc)] (CENABLE): Likewise.
33936 [IS_IN (librt)] (CDISABLE): Likewise.
33937 [IS_IN (librt)] (CDISABLE): Likewise.
33938 (SINGLE_THREAD_P): Likewise.
33939 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33940 definition.
33941 (PSEUDO_END): Likewise.
33942 [IS_IN (libpthread)] (CENABLE): Likewise.
33943 [IS_IN (libpthread)] (CDISABLE): Likewise.
33944 [IS_IN (libc)] (CENABLE): Likewise.
33945 [IS_IN (libc)] (CENABLE): Likewise.
33946 [IS_IN (librt)] (CDISABLE): Likewise.
33947 [IS_IN (librt)] (CDISABLE): Likewise.
33948 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33949 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33950 definition.
33951 (PSEUDO_END): Likewise.
33952 [IS_IN (libpthread)] (CENABLE): Likewise.
33953 [IS_IN (libpthread)] (CDISABLE): Likewise.
33954 [IS_IN (libc)] (CENABLE): Likewise.
33955 [IS_IN (libc)] (CENABLE): Likewise.
33956 [IS_IN (librt)] (CDISABLE): Likewise.
33957 [IS_IN (librt)] (CDISABLE): Likewise.
33958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33959 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33960 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33961 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33963 definition.
33964 (PSEUDO_END): Likewise.
33965 [IS_IN (libpthread)] (CENABLE): Likewise.
33966 [IS_IN (libpthread)] (CDISABLE): Likewise.
33967 [IS_IN (libc)] (CENABLE): Likewise.
33968 [IS_IN (libc)] (CENABLE): Likewise.
33969 [IS_IN (librt)] (CDISABLE): Likewise.
33970 [IS_IN (librt)] (CDISABLE): Likewise.
33971 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33973 definition.
33974 (PSEUDO_END): Likewise.
33975 [IS_IN (libpthread)] (CENABLE): Likewise.
33976 [IS_IN (libpthread)] (CDISABLE): Likewise.
33977 [IS_IN (libc)] (CENABLE): Likewise.
33978 [IS_IN (libc)] (CENABLE): Likewise.
33979 [IS_IN (librt)] (CDISABLE): Likewise.
33980 [IS_IN (librt)] (CDISABLE): Likewise.
33981 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33982 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33983 definition.
33984 (PSEUDO_END): Likewise.
33985 [IS_IN (libpthread)] (CENABLE): Likewise.
33986 [IS_IN (libpthread)] (CDISABLE): Likewise.
33987 [IS_IN (libc)] (CENABLE): Likewise.
33988 [IS_IN (libc)] (CENABLE): Likewise.
33989 [IS_IN (librt)] (CDISABLE): Likewise.
33990 [IS_IN (librt)] (CDISABLE): Likewise.
33991 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33992 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33994 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33995 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33996 definition.
33997 (PSEUDO_END): Likewise.
33998 [IS_IN (libpthread)] (CENABLE): Likewise.
33999 [IS_IN (libpthread)] (CDISABLE): Likewise.
34000 [IS_IN (libc)] (CENABLE): Likewise.
34001 [IS_IN (libc)] (CENABLE): Likewise.
34002 [IS_IN (librt)] (CDISABLE): Likewise.
34003 [IS_IN (librt)] (CDISABLE): Likewise.
34004 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34005 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34006 definition.
34007 (PSEUDO_END): Likewise.
34008 [IS_IN (libpthread)] (CENABLE): Likewise.
34009 [IS_IN (libpthread)] (CDISABLE): Likewise.
34010 [IS_IN (libc)] (CENABLE): Likewise.
34011 [IS_IN (libc)] (CENABLE): Likewise.
34012 [IS_IN (librt)] (CDISABLE): Likewise.
34013 [IS_IN (librt)] (CDISABLE): Likewise.
34014 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34015
8aa48656
SN
340162017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34017
34018 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34019
fcaaca41
L
340202017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34021
34022 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34023
376b40a2
L
340242017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34025
34026 [BZ #21982]
34027 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34028 middle and outer with size_t instead of int. Repleace %d and
34029 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34030 "MAX (outer, nchars - 64)" to support unsigned outer and
34031 nchars. Also exit loop when outer == 0.
34032
2b0b9a1c
AZ
340332017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34034
34035 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34036 * include/signal.h (__sigsuspend_nocancel): Likewise.
34037 * include/time.h (__nanosleep_nocancel): Likewise.
34038 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34039 * login/utmp_file.c: Include non cancellable syscall header.
34040 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34041 prototype.
34042
b9eaca8f
L
340432017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34044
34045 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34046 .byte sequences with AVX512F instructions.
34047 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34048 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34049 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34051 Likewise.
34052 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34053 Likewise.
34054
5a706f64
SE
340552017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34056 Steve Ellcey <sellcey@cavium.com>
34057
34058 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34059 Use PTR_REG macro in cmp instruction.
34060
b513da7e
GG
340612017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34062
34063 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34064 Change the return type of the ifunc resolver to match the return
34065 type of the target function.
34066
78ca091c
AZ
340672017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34068
b70b6026
AZ
34069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34070 (preadv64): Likewise.
34071 (pwrite64(: Likewise.
34072 (pwritev64): Likewise.
34073
78ca091c
AZ
34074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34075 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34076 (LOAD_ARGS_0): Likewise.
34077 (LOAD_ARGS_1): Likewise.
34078 (LOAD_ARGS_2): Likewise.
34079 (LOAD_ARGS_3): Likewise.
34080 (LOAD_ARGS_4): Likewise.
34081 (LOAD_ARGS_5): Likewise.
34082 (LOAD_ARGS_6): Likewise.
34083 (LOAD_REGS_0): Likewise.
34084 (LOAD_REGS_1): Likewise.
34085 (LOAD_REGS_2): Likewise.
34086 (LOAD_REGS_3): Likewise.
34087 (LOAD_REGS_4): Likewise.
34088 (LOAD_REGS_5): Likewise.
34089 (LOAD_REGS_6): Likewise.
34090 (ASM_ARGS_0): Likewise.
34091 (ASM_ARGS_1): Likewise.
34092 (ASM_ARGS_2): Likewise.
34093 (ASM_ARGS_3): Likewise.
34094 (ASM_ARGS_4): Likewise.
34095 (ASM_ARGS_5): Likewise.
34096 (ASM_ARGS_6): Likewise.
34097 (LOAD_ARGS_TYPES_1): Likewise.
34098 (LOAD_ARGS_TYPES_2): Likewise.
34099 (LOAD_ARGS_TYPES_3): Likewise.
34100 (LOAD_ARGS_TYPES_4): Likewise.
34101 (LOAD_ARGS_TYPES_5): Likewise.
34102 (LOAD_ARGS_TYPES_6): Likewise.
34103 (LOAD_REGS_TYPES_1): Likewise.
34104 (LOAD_REGS_TYPES_2): Likewise.
34105 (LOAD_REGS_TYPES_3): Likewise.
34106 (LOAD_REGS_TYPES_4): Likewise.
34107 (LOAD_REGS_TYPES_5): Likewise.
34108 (LOAD_REGS_TYPES_6): Likewise.
34109 (TYPEFY): New define.
34110 (ARGIFY): Likewise.
34111 (internal_syscall0): Likewise.
34112 (internal_syscall1): Likewise.
34113 (internal_syscall2): Likewise.
34114 (internal_syscall3): Likewise.
34115 (internal_syscall4): Likewise.
34116 (internal_syscall5): Likewise.
34117 (internal_syscall6): Likewise.
34118 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34119 (INTERNAL_SYSCALL_NCS): Remove define.
34120 (internal_syscall1): Add define.
34121
453a493d
GG
341222017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34123
34124 * math/w_remainder_compat.c: Remove duplicate inclusion of
34125 math-svid-compat.h.
34126 * math/w_remainderf_compat.c: Likewise.
34127 * math/w_remainderl_compat.c: Likewise.
34128
f2f048a5
GG
341292017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34130
34131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34132
d9bef9c0
JM
341332017-08-22 Joseph Myers <joseph@codesourcery.com>
34134
34135 [BZ #21684]
34136 * math/tgmath.h (__floating_type): Simplify definitions.
34137 (__real_integer_type): New macro.
34138 (__complex_integer_type): Likewise.
34139 (__expr_is_real): Likewise.
34140 (__tgmath_real_type_sub): Update comment to describe handling of
34141 complex types.
34142 (__tgmath_complex_type_sub): New macro.
34143 (__tgmath_complex_type): Likewise.
34144 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34145 (__TGMATH_CF128): Use __expr_is_real.
34146 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34147 __expr_is_real.
34148 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34149 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34150 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34151 integer types.
34152
08d6eb46
AZ
341532017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34154
988f991b
AZ
34155 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34156 macro.
34157 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34158 alias.
34159 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34160 Likewise.
34161
6f33fd04
AZ
34162 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34163 nanosleep_not_cancel with __nanosleep_nocancel.
34164 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34165 (__nanosleep_nocancel): New macro.
34166 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34167 function.
34168 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34169 macro.
34170 (__nanosleep_nocancel): New prototype.
34171
08d6eb46
AZ
34172 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34173 pause_not_cancel with __pause_nocancel.
34174 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34175 (__pause_nocancel): New macro.
34176 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34177 macro.
34178 (__pause_nocancel): New prototype.
34179 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34180
ee4e992e
MS
341812017-08-22 Martin Sebor <msebor@redhat.com>
34182
34183 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34184 to return a pointer to the same type as the target function.
34185
20962acb
L
341862017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34187
34188 [BZ #18822]
34189 [BZ #21986]
34190 * include/printf.h (__printf_fphex): Add attribute_hidden.
34191 (__guess_grouping): New prototype.
34192 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34193 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34194 libc_hidden_proto and libc_hidden_def.
34195 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34196 (__vstrfmon_l): Remove the third argument passed to
34197 __guess_grouping.
34198
a16e8bc0
GG
341992017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34200
34201 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34202 definition for issignaling that does not rely on __MATH_TG,
34203 since __MATH_TG uses __builtin_types_compatible_p, which is only
34204 available in C mode.
34205 (CFLAGS-test-math-issignaling.cc): New variable.
34206 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34207 * math/test-math-issignaling.cc: New test for C++ implementation
34208 of type-generic issignaling.
34209 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34210 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34211 options of test-math-issignaling on powerpc64le.
34212
8d2ec553
L
342132017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34214
34215 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34216 building libc.a.
34217 (hidden_proto): Likewise.
34218 (hidden_tls_proto): Likewise.
34219 (__hidden_proto): Likewise.
34220
a4d57b79
FW
342212017-08-22 Florian Weimer <fweimer@redhat.com>
34222
34223 math: Statically link tests of internal functionality.
34224 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34225 atest-exp2.
34226 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34227 (gmp-objs): Remove assignment.
34228 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34229
75dfe623
JM
342302017-08-22 Joseph Myers <joseph@codesourcery.com>
34231
80f91666
JM
34232 [BZ #21987]
34233 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34234 and copy to ...
34235 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34236 ... here.
34237 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34238 ... and here.
34239
75dfe623
JM
34240 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34241 variable definitions above inclusion of ../Rules.
34242
ea99fcd0
JM
342432017-08-21 Joseph Myers <joseph@codesourcery.com>
34244
34245 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34246 case calling __builtin_unreachable.
34247
19926de9
AZ
342482017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34249
a8410a5f
AZ
34250 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34251 __waitpid_nocancel.
34252 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34253 (__waitpid_nocancel): New macro.
34254 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34255 macro.
34256 (__waitpid_nocancel): Replace macro with a function.
34257 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34258 function.
34259
7369800c
AZ
34260 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34261 __fcntl_nocancel.
34262 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34263 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34264
19926de9
AZ
34265 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34266 __writev_nocancel_nostatus.
34267 (write_call_graph): Likewise.
34268 (write_bb_counts): Likewise.
34269 * resolv/herror.c (herror): Likewise.
34270 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34271 macro.
34272 (__writev_nocancel_nostatus): New macro.
34273 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34274 Remove macro.
34275 (__writev_nocancel_nostatus): New function.
34276
813378e9
JM
342772017-08-21 Joseph Myers <joseph@codesourcery.com>
34278
df1deda6
JM
34279 Revert:
34280 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34281
34282 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34283 building libc.a.
34284 (hidden_proto): Likewise.
34285 (hidden_tls_proto): Likewise.
34286 (__hidden_proto): Likewise.
34287
831bbd55
JM
34288 [BZ #21973]
34289 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34290 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34292 Likewise.
34293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34294 Likewise.
34295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34296 Likewise.
34297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34298 Likewise.
34299 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34301 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34302 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34303 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34304 GLIBC_2.0 sqrtl symbol.
34305
813378e9
JM
34306 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34307 [__USE_MISC] (_LIB_VERSION): Likewise.
34308 [__USE_MISC] (struct exception): Likewise.
34309 [__USE_MISC] (matherr): Likewise.
34310 [__USE_MISC] (DOMAIN): Likewise.
34311 [__USE_MISC] (SING): Likewise.
34312 [__USE_MISC] (OVERFLOW): Likewise.
34313 [__USE_MISC] (UNDERFLOW): Likewise.
34314 [__USE_MISC] (TLOSS): Likewise.
34315 [__USE_MISC] (PLOSS): Likewise.
34316 [__USE_MISC] (HUGE): Likewise.
34317 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34318 * math/math-svid-compat.h: New file.
34319 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34320 and matherrl.
34321 * include/math.h [!_ISOMAC] (__matherr): Remove.
34322 * manual/arith.texi (FP Exceptions): Do not document matherr.
34323 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34324 (tests-internal): New variable.
34325 (install-lib): Do not add libieee.a.
34326 (non-lib.a): Likewise.
34327 (extra-objs): Do not add libieee.a and ieee-math.o.
34328 (CPPFLAGS-s_lib_version.c): Remove variable.
34329 ($(objpfx)libieee.a): Remove rule.
34330 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34331 * math/ieee-math.c: Remove.
34332 * math/libm-test-support.c (matherr): Remove.
34333 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34334 and license notices. Include <math-svid-compat.h> and
34335 <shlib-compat.h>.
34336 (matherr): Undefine as macro. Use compat_symbol_reference.
34337 (_LIB_VERSION): Likewise.
34338 * math/test-matherr-2.c: New file.
34339 * math/test-matherr-3.c: Likewise.
34340 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34341 declaration.
34342 (__kernel_standard_f): Likewise.
34343 (__kernel_standard_l): Likewise.
34344 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34345 <math_private.h>. Include <math-svid-compat.h>.
34346 (_LIB_VERSION): Undefine as macro.
34347 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34348 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34349 [LIBM_SVID_COMPAT], use compat_symbol.
34350 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34351 <math_private.h>. Include <math-svid-compat.h>.
34352 (matherr): Undefine as macro.
34353 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34354 compat_symbol.
34355 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34356 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34357 compat_symbol_reference.
34358 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34359 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34360 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34361 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34362 (MATHERR_D): Remove declaration.
34363 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34364 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34365 [LIBM_BUILD] (pmatherrf): Likewise.
34366 [LIBM_BUILD] (pmatherr): Likewise.
34367 [LIBM_BUILD] (pmatherrl): Likewise.
34368 (DOMAIN): Likewise.
34369 (SING): Likewise.
34370 (OVERFLOW): Likewise.
34371 (UNDERFLOW): Likewise.
34372 (TLOSS): Likewise.
34373 (PLOSS): Likewise.
34374 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34375 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34376 compat_symbol.
34377 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34378 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34379 compat_symbol.
34380 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34381 * math/w_acos_compat.c: Likewise.
34382 * math/w_acosf_compat.c: Likewise.
34383 * math/w_acosh_compat.c: Likewise.
34384 * math/w_acoshf_compat.c: Likewise.
34385 * math/w_acoshl_compat.c: Likewise.
34386 * math/w_acosl_compat.c: Likewise.
34387 * math/w_asin_compat.c: Likewise.
34388 * math/w_asinf_compat.c: Likewise.
34389 * math/w_asinl_compat.c: Likewise.
34390 * math/w_atan2_compat.c: Likewise.
34391 * math/w_atan2f_compat.c: Likewise.
34392 * math/w_atan2l_compat.c: Likewise.
34393 * math/w_atanh_compat.c: Likewise.
34394 * math/w_atanhf_compat.c: Likewise.
34395 * math/w_atanhl_compat.c: Likewise.
34396 * math/w_cosh_compat.c: Likewise.
34397 * math/w_coshf_compat.c: Likewise.
34398 * math/w_coshl_compat.c: Likewise.
34399 * math/w_exp10_compat.c: Likewise.
34400 * math/w_exp10f_compat.c: Likewise.
34401 * math/w_exp10l_compat.c: Likewise.
34402 * math/w_exp2_compat.c: Likewise.
34403 * math/w_exp2f_compat.c: Likewise.
34404 * math/w_exp2l_compat.c: Likewise.
34405 * math/w_fmod_compat.c: Likewise.
34406 * math/w_fmodf_compat.c: Likewise.
34407 * math/w_fmodl_compat.c: Likewise.
34408 * math/w_hypot_compat.c: Likewise.
34409 * math/w_hypotf_compat.c: Likewise.
34410 * math/w_hypotl_compat.c: Likewise.
34411 * math/w_j0_compat.c: Likewise.
34412 * math/w_j0f_compat.c: Likewise.
34413 * math/w_j0l_compat.c: Likewise.
34414 * math/w_j1_compat.c: Likewise.
34415 * math/w_j1f_compat.c: Likewise.
34416 * math/w_j1l_compat.c: Likewise.
34417 * math/w_jn_compat.c: Likewise.
34418 * math/w_jnf_compat.c: Likewise.
34419 * math/w_jnl_compat.c: Likewise.
34420 * math/w_lgamma_main.c: Likewise.
34421 * math/w_lgamma_r_compat.c: Likewise.
34422 * math/w_lgammaf_main.c: Likewise.
34423 * math/w_lgammaf_r_compat.c: Likewise.
34424 * math/w_lgammal_main.c: Likewise.
34425 * math/w_lgammal_r_compat.c: Likewise.
34426 * math/w_log10_compat.c: Likewise.
34427 * math/w_log10f_compat.c: Likewise.
34428 * math/w_log10l_compat.c: Likewise.
34429 * math/w_log2_compat.c: Likewise.
34430 * math/w_log2f_compat.c: Likewise.
34431 * math/w_log2l_compat.c: Likewise.
34432 * math/w_log_compat.c: Likewise.
34433 * math/w_logf_compat.c: Likewise.
34434 * math/w_logl_compat.c: Likewise.
34435 * math/w_pow_compat.c: Likewise.
34436 * math/w_powf_compat.c: Likewise.
34437 * math/w_powl_compat.c: Likewise.
34438 * math/w_remainder_compat.c: Likewise.
34439 * math/w_remainderf_compat.c: Likewise.
34440 * math/w_remainderl_compat.c: Likewise.
34441 * math/w_scalb_compat.c: Likewise.
34442 * math/w_scalbf_compat.c: Likewise.
34443 * math/w_scalbl_compat.c: Likewise.
34444 * math/w_sinh_compat.c: Likewise.
34445 * math/w_sinhf_compat.c: Likewise.
34446 * math/w_sinhl_compat.c: Likewise.
34447 * math/w_sqrt_compat.c: Likewise.
34448 * math/w_sqrtf_compat.c: Likewise.
34449 * math/w_sqrtl_compat.c: Likewise.
34450 * math/w_tgamma_compat.c: Likewise.
34451 * math/w_tgammaf_compat.c: Likewise.
34452 * math/w_tgammal_compat.c: Likewise.
34453 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34454 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34455 * sysdeps/ieee754/k_standard.c: Likewise.
34456 * sysdeps/ieee754/k_standardf.c: Likewise.
34457 * sysdeps/ieee754/k_standardl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34460 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34461 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34462 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34463 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34464 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34465 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34466 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34468 Likewise.
34469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34470 Likewise.
34471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34473 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34474 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34475
4504783c
FW
344762017-08-21 Florian Weimer <fweimer@redhat.com>
34477
34478 [BZ #21864]
34479 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34480 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34481 Move before inclusion of ../Rules.
34482
b5889d25
FW
344832017-08-21 Florian Weimer <fweimer@redhat.com>
34484
34485 [BZ #21972]
34486 * assert/assert.h (assert): Use static_cast (bool) for C++.
34487 Use the ternary operator in the warning branch for GNU C.
34488 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34489 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34490 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34491 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34492 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34493
41e673c1
L
344942017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34495
34496 [BZ #18822]
34497 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34498 (__syscall_clock_gettime): Add attribute_hidden.
34499 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34500 (__start_context): Likewise.
34501
568ff429
L
345022017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34503
34504 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34505 building libc.a.
34506 (hidden_proto): Likewise.
34507 (hidden_tls_proto): Likewise.
34508 (__hidden_proto): Likewise.
34509
7c41b4a1
L
345102017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34511
34512 * include/libc-symbols.h (attribute_hidden): Enable hidden
34513 visibility in libc.a compiled with PIE.
34514
483d7068
L
345152017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34516
34517 [BZ #18822]
34518 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34519 Add attribute_hidden.
34520
345212017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34522
34523 [BZ #21864]
34524 * Makerules (all-nonlib): Add $(others-extras).
34525 * catgets/Makefile (others-extras): New.
34526 * elf/Makefile (others-extras): Likewise.
34527 * nss/Makefile (others-extras): Likewise.
34528
54e4b8f2
L
345292017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34530
34531 [BZ #18822]
34532 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34533 * elf/dl-open.c: Include <libc-internal.h>.
34534 (__libc_multiple_libcs): Removed.
34535 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34536 <hp-timing.h>.
34537 * include/libc-internal.h (__libc_multiple_libcs): New.
34538 * misc/sbrk.c: Include <libc-internal.h>.
34539 (__libc_multiple_libcs): Removed.
34540
1dbbb1ec
L
345412017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34542
34543 [BZ #18822]
34544 * grp/initgroups.c (__nss_group_database): Removed.
34545 (__nss_initgroups_database): Likewise.
34546 * nscd/gai.c (__nss_hosts_database): Likewise.
34547 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34548 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34549 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34550 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34551 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34552 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34553 attribute_hidden.
34554 * nss/nsswitch.c (__nss_database_custom): Define only if
34555 USE_NSCD is defined.
34556 (__nss_configure_lookup): Use __nss_database_custom only if
34557 USE_NSCD is defined.
34558 * nss/nsswitch.h (__nss_database_custom): Declare only if
34559 USE_NSCD is defined. Add attribute_hidden.
34560 (__nss_setent): Add attribute_hidden.
34561 (__nss_endent): Likewise.
34562 (__nss_getent_r): Likewise.
34563 (__nss_getent): Likewise.
34564 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34565
2585d7b8
L
345662017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34567
34568 [BZ #18822]
34569 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34570 libc_hidden_proto and libc_hidden_def.
34571
c8dfa99c
L
345722017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34573
34574 [BZ #18822]
34575 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34576 Add libc_hidden_proto.
34577 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34578 Add libc_hidden_def.
34579
7ed87317
L
345802017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34581
34582 [BZ #21974]
34583 * gmon/Makefile (routines): Remove bb_init_func and
34584 bb_exit_func.
34585 (elide-routines.os): Removed.
9476b904
L
34586 * gmon/bb_exit_func.c: Likewise.
34587 * gmon/bb_init_func.c: Likewise.
7ed87317
L
34588 * include/sys/gmon.h (__bb): Likewise.
34589 (__bb_init_func): Likewise.
34590 (__bb_exit_func): Likewise.
91695eb1 34591 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 34592
94e6ba15
L
345932017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34594
34595 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34596 * include/setjmp.h (____longjmp_chk): Here. Add
34597 attribute_hidden.
34598
7550717e
L
345992017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34600
34601 [BZ #18822]
34602 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34603 attribute_hidden.
34604 (__strspn_sse2): Likewise.
34605
0bb2fabc
AZ
346062017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34607
c181840c
AZ
34608 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34609 (close_not_cancel_no_status): Likewise.
34610 (__close_nocancel): New macro.
34611 (__close_nocancel_nostatus): Likewise.
34612 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34613 macro.
34614 (close_not_cancel): Likewise.
34615 (close_not_cancel_no_status): Likewise.
34616 (__close_nocancel): New prototype.
34617 (__close_nocancel_nostatus): New function.
34618 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34619 * catgets/open_catalog.c (__open_catalog): Replace
34620 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34621 * gmon/gmon.c (write_gmon): Likewise.
34622 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34623 * intl/loadmsgcat.c (close): Likewise.
34624 * io/ftw.c (open_dir_stream): Likewise.
34625 (ftw_startup): Likewise.
34626 * libio/fileops.c (_IO_file_open): Likewise.
34627 (_IO_file_close_mmap): Likewise.
34628 (_IO_file_close): Likewise.
34629 * libio/iopopen.c (_IO_dup2): Likewise.
34630 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34631 * locale/loadlocale.c (_nl_load_locale): Likewise.
34632 * login/utmp_file.c (pututline_file): Likewise.
34633 (endutent_file): Likewise.
34634 * misc/daemon.c (daemon): Likewise.
34635 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34636 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34637 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34638 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34639 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34640 * nscd/nscd_helper.c (open_socket): Likewise.
34641 (__nscd_open_socket): Likewise.
34642 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34643 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34644 (__nscd_innetgr): Likewise.
34645 * nss/nss_db/db-open.c (internal_setent): Likewise.
34646 * resolv/res-close.c (__res_iclose): Likewise.
34647 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34648 * sysdeps/posix/closedir.c (__closedir): Likewise.
34649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34650 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34651 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34652 (opendir_tail): Likewise.
34653 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34654 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34655 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34656 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34657 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34658 (gethostid): Likewise.
34659 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34661 Likewise.
34662 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34663 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34664 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34665 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34666 Likewise.
34667 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34668 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34669 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34670 Likewise.
34671 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34672 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34673 Likewise.
34674 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34675 Likewise.
34676 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34677 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34678 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34679 __close_nocancel.
34680
0bb2fabc
AZ
34681 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34682 (openat_not_cancel_3): Likewise.
34683 (openat64_not_cancel_3): Likewise).
34684 (openat_not_cancel_3): Likewise).
34685 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34686 macro.
34687 (openat_not_cancel_3): Likewise.
34688 (openat64_not_cancel): Likewise.
34689 (openat64_not_cancel_3): Likewise.
34690 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34691 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34692 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34693 __open{64}_nocancel.
34694 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34695 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34696 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34697
65a086db
L
346982017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34699
34700 [BZ #18822]
34701 * include/argz.h (__argz_create_sep): New function prototype.
34702 (__argz_append): Likewise.
34703 (__argz_add): Likewise.
34704 (__argz_add_sep): Likewise.
34705 (__argz_delete): Likewise.
34706 (__argz_insert): Likewise.
34707 (__argz_replace): Likewise.
34708 * string/argz.h (__argz_create_sep): Removed.
34709 (__argz_append): Likewise.
34710 (__argz_add): Likewise.
34711 (__argz_add_sep): Likewise.
34712 (__argz_delete): Likewise.
34713 (__argz_insert): Likewise.
34714 (__argz_replace): Likewise.
34715
62753d2c
L
347162017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34717
34718 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34719 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34720 (GNU_PROPERTY_STACK_SIZE): Likewie.
34721 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34722 (GNU_PROPERTY_LOPROC): Likewise.
34723 (GNU_PROPERTY_HIPROC): Likewise.
34724 (GNU_PROPERTY_LOUSER): Likewise.
34725 (GNU_PROPERTY_HIUSER): Likewise.
34726 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34727 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34728 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34729 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34730 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34731 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34732 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34733 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34734 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34735 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34736 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34737 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34738 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34739 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34740 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34741 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34742 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34743 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34744 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34745 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34746 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34747 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34748 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34749
6913ad65
GG
347502017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34751
34752 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34753 in C++ mode.
34754
47a67213
GG
347552017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34756
34757 [BZ #21930]
34758 * math/math.h (isinf): Check if in C or C++ mode before using
34759 __builtin_types_compatible_p, since this is a C mode feature.
34760
a748eb31
AZ
347612017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34762
c647fb88
AZ
34763 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34764 (__write_nocancel): New macro.
34765 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34766 Rewrite as a function prototype.
34767 (write_not_cancel): Remove macro.
34768 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34769 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34770 (write_gmon): Likewise.
34771 * libio/fileops.c (_IO_new_file_write): Likewise.
34772 * login/utmp_file.c (pututline_file): Likewise.
34773 (updwtmp_file): Likewise.
34774 * stdio-common/psiginfo.c (psiginfo): Likewise.
34775 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34776 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34777 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34778 Likewise.
34779 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34780 Likewise.
34781
a748eb31
AZ
34782 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34783 (__read_nocancel): New macro.
34784 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34785 __read_nocancel.
34786 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34787 macro.
34788 (__read_nocancel): New prototype.
34789 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34790 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34791 with __read_nocancel.
34792 * intl/loadmsgcat.c (read): Likewise.
34793 * libio/fileops.c (_IO_file_read): Likewise.
34794 * locale/loadlocale.c (_nl_load_locale): Likewise.
34795 * login/utmp_file.c (getutent_r_file): Likewise.
34796 (internal_getut_r): Likewise.
34797 (getutline_r_file): Likewise.
34798 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34799 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34800 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34801 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34802 Likewise.
34803 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34804 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34805 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34806 Likewise.
34807 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34808 Likewise.
34809 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34810 Likewise.
34811 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34812 Likewise.
34813 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34814
098b9dd4
L
348152017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34816
34817 [BZ #21966]
34818 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34819 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34820 usable.
34821
a3fe6a20
DD
348222017-08-17 DJ Delorie <dj@redhat.com>
34823
34824 * bug17079.c: Update to new test harness.
34825 * test-digits-dots.c: Likewise.
34826 * test-netdb.c: Likewise.
34827 * tst-field.c: Likewise.
34828 * tst-nss-getpwent.c: Likewise.
34829 * tst-nss-static.c: Likewise.
34830 * tst-nss-test1.c: Likewise.
34831 * tst-nss-test2.c: Likewise.
34832 * tst-nss-test3.c: Likewise.
34833 * tst-nss-test4.c: Likewise.
34834 * tst-nss-test5.c: Likewise.
34835
c2284574
AZ
348362017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34837
34838 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34839 (open_not_cancel_2): Likewise.
34840 (open_nocancel): New macro.
34841 (open64_nocancel): Likewise.
34842 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34843 (open_not_cancel_2): Likewise.
34844 (__open_nocancel): New prototype.
34845 (__open64_nocancel): Likewise.
34846 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34847 __open_nocancel.
34848 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34849 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34850 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34851 with __open_nocancel.
34852 * csu/check_fds.c (check_one_fd): Likewise.
34853 * gmon/gmon.c (write_gmon): Likewise.
34854 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34855 * intl/loadmsgcat.c (open): Likewise.
34856 * libio/fileops.c (_IO_file_open): Likewise.
34857 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34858 * locale/loadlocale.c (_nl_load_locale): Likewise.
34859 * login/utmp_file.c (setutent_file): Likewise.
34860 * misc/daemon.c (daemon): Likewise.
34861 * nss/nss_db/db-open.c (internal_setent): Likewise.
34862 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34863 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34864 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34865 (__opendir): Likewise.
34866 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34867 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34868 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34869 (gethostid): Likewise.
34870 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34872 Likewise.
34873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34874 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34875 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34876 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34877 Likewise.
34878 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34879 Likewise.
34880 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34881 Likewise.
34882 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34883 Likewise.
34884 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34885 Likewise.
34886 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34887 Likewise.
34888 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34890
d4505b89
WD
348912017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34892
34893 * benchtests/bench-skeleton.c (main): Add support for
34894 latency benchmarking.
34895 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34896
34d6a3cb
L
348972017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34898
34899 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34900 the startup object.
34901
038d1caf
FW
349022017-08-17 Florian Weimer <fweimer@redhat.com>
34903
34904 * include/sys/socket.h (__opensock): Remove internal_function.
34905 * socket/opensock.c (__opensock): Likewise.
34906 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34907
67f0aff0
JM
349082017-08-16 Joseph Myers <joseph@codesourcery.com>
34909
34910 [BZ #21944]
34911 * signal/bits/types/__sigval_t.h: New file.
34912 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34913 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34914 and define sigval_t using __sigval_t.
34915 * include/bits/types/__sigval_t.h: New file.
34916 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34917 instead of <bits/types/__sigval_t.h>.
34918 (struct sigevent): Use __sigval_t instead of sigval_t.
34919 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34920 instead of <bits/types/__sigval_t.h>.
34921 (siginfo_t): Use __sigval_t instead of sigval_t.
34922 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34923 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34924 (struct sigevent): Use __sigval_t instead of sigval_t.
34925 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34926 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34927 (siginfo_t): Use __sigval_t instead of sigval_t.
34928 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34929
87e7bf4d
L
349302017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34931
34932 * NEWS: Remove "[Add new features here]" for 2.27.
34933
5047057f
JM
349342017-08-16 Joseph Myers <joseph@codesourcery.com>
34935
34936 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34937 libc.so.
34938
20c7b195
L
349392017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34940
34941 * NEWS: Mention x86-64 FMA optimization.
34942
24a2e658
L
349432017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34944
34945 [BZ #21912]
34946 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34947 Add e_expf-fma.
34948 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34949 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34950 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34951
eedca977
AS
349522017-08-16 Andreas Schwab <schwab@suse.de>
34953
403143e1
FW
34954 [BZ #16750]
34955 CVE-2009-5064
eedca977
AS
34956 * elf/ldd.bash.in: Never run file directly.
34957
f59f7adb
L
349582017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34959
34960 [BZ #21955]
34961 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34962 (L(SP_INF_0)): Likewise.
34963
6b11a6ad
FW
349642017-08-15 Florian Weimer <fweimer@redhat.com>
34965
34966 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34967 run-built-tests.
34968
bbf5c438
FW
349692017-08-15 Florian Weimer <fweimer@redhat.com>
34970
34971 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34972 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34973 BROKEN_THREAD_SIGNALS code.
34974 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34975 request_list): Remove caller_pid member used for
34976 BROKEN_THREAD_SIGNALS.
34977 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34978 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34979 Remove BROKEN_THREAD_SIGNALS support.
34980 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34981 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34982
6014c65d
FW
349832017-08-15 Florian Weimer <fweimer@redhat.com>
34984
34985 * gmon/Makefile (tests): Add tst-gmon.
34986 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34987 Set.
34988 (tests-special): Add tst-gmon-prof.out.
34989 (tst-gmon.out): Depend on clean-tst-gmon-data.
34990 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34991 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34992 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34993 startup object.
34994 * aclocal.m4 (GPROF): Set and substitute.
34995 * config.amke.in (GPROF): Set.
34996 * configure: Regenerate.
34997
ee72219a
GR
349982017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34999
35000 * elf/elf.h A (NT_PPC_TAR): New macro.
35001 (NT_PPC_PPR): Likewise.
35002 (NT_PPC_DSCR): Likewise.
35003 (NT_PPC_EBB): Likewise.
35004 (NT_PPC_PMU): Likewise.
35005 (NT_PPC_TM_CGPR): Likewise.
35006 (NT_PPC_TM_CFPR): Likewise.
35007 (NT_PPC_TM_CVMX): Likewise.
35008 (NT_PPC_TM_CVSX): Likewise.
35009 (NT_PPC_TM_SPR): Likewise.
35010 (NT_PPC_TM_CTAR): Likewise.
35011 (NT_PPC_TM_CPPR): Likewise.
35012 (NT_PPC_TM_CDSCR): Likewise.
35013
4ebf934e
FW
350142017-08-15 Florian Weimer <fweimer@redhat.com>
35015
35016 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35017 regparm (2) instead of internal_function.
35018 (_MCOUNT_DECL): Adjust.
35019
e9f57484
SL
350202017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35021
35022 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35023 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35024
88ff4d55
JM
350252017-08-14 Joseph Myers <joseph@codesourcery.com>
35026
35027 * conform/data/sys/wait.h-data (si_value): Do not expect for
35028 XPG42.
35029
c88ffc23
FW
350302017-08-14 Florian Weimer <fweimer@redhat.com>
35031
35032 [BZ #21962]
35033 NSS: Create stubs for accidentally exported lookup functions.
35034 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35035 Remove declaration.
35036 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35037 (ether_hostton): Call __nss_ethers_lookup2 instead.
35038 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35039 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35040 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35041 (setup): Call __nss_netgroup_lookup2 instead.
35042 * nss/Makefile (routines): Add compat-lookup.
35043 * nss/Versions (GLIBC_2.27): Add symbol version.
35044 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35045 (DB_COMPAT_FCT): Remove.
35046 * nss/compat-lookup.c: New file.
35047 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35048 from databases.def.
35049 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35050 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35051 (netname2user): Call __nss_publickey_lookup2 instead.
35052 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35053 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35054 instead.
35055
35a29136 350562017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
35057 Sergei Trofimovich <slyfox@inbox.ru>
35058
35059 [BZ #21908]
35060 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35061 Rename to MMAP2_PAGE_UNIT.
35062 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35063 __OFF_T_MATCHES_OFF64_T is not defined.
35064 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35065 uint64_t.
35066 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35067 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35068
fbdc1e3e
FW
350692017-08-14 Florian Weimer <fweimer@redhat.com>
35070
35071 i386: Do not set internal_function.
35072 * config.h.in (USE_REGPARMS, internal_function): Remove.
35073 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35074 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35075
b3f85fd2
FW
350762017-08-14 Florian Weimer <fweimer@redhat.com>
35077
35078 * elf/dl-init.c (_dl_init): Remove internal_function.
35079 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35080 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35081
630bf491
FW
350822017-08-14 Florian Weimer <fweimer@redhat.com>
35083
35084 * elf/rtld.c (_dl_start): Remove internal_function.
35085 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35086 _dl_start.
35087
9fa7449b
FW
350882017-08-14 Florian Weimer <fweimer@redhat.com>
35089
35090 * elf/dl-fini.c (_dl_fini): Remove internal_function
35091 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35092
73322d5f
L
350932017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35094
d863cd71 35095 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
35096 (bit_cpu_SHSTK): Likewise.
35097 (index_cpu_IBT): Likewise.
35098 (index_cpu_SHSTK): Likewise.
35099 (reg_IBT): Likewise.
35100 (reg_SHSTK): Likewise.
35101 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35102 Handle index_cpu_IBT and index_cpu_SHSTK.
35103
dbc303ef
MF
351042017-08-14 Mike FABIAN <mfabian@redhat.com>
35105
35106 [BZ #19982]
35107 * po/fr.po: Fix spelling mistake.
35108
3012cfb0
FW
351092017-08-13 Florian Weimer <fweimer@redhat.com>
35110
35111 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35112 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35113 (_dl_catch_error, _dl_receive_error): Likewise.
35114 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35115 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35116 (_dl_deallocate_tls): Likewise.
35117 * include/dlfcn.h (_dl_addr): Likewise.
35118 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35119 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35120 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35121 Likewise.
35122
52bcdf26
FW
351232017-08-13 Florian Weimer <fweimer@redhat.com>
35124
35125 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35126 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35127 internal_function.
35128 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35129
e1d2ae8d
FW
351302017-08-13 Florian Weimer <fweimer@redhat.com>
35131
35132 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35133 internal_function.
35134 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35135 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35136 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35137 internal_function from _dl_make_stack_executable_hook member.
35138 (_dl_make_stack_executable): Remove internal_function.
35139 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35140 Likewise.
35141 * sysdeps/unix/sysv/linux/dl-execstack.c
35142 (_dl_make_stack_executable): Likewise.
35143
c4ce0382
FW
351442017-08-13 Florian Weimer <fweimer@redhat.com>
35145
35146 * sysdeps/unix/sysv/linux/netlinkaccess.h
35147 (__netlink_assert_response): Remove internal_function.
35148 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35149 (__netlink_assert_response): Likewise.
35150
c4d767f7
FW
351512017-08-13 Florian Weimer <fweimer@redhat.com>
35152
35153 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35154 internal_function.
35155 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35156
b2297409
FW
351572017-08-13 Florian Weimer <fweimer@redhat.com>
35158
35159 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35160 internal_function.
35161 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35162 * inet/netgroup.h (__internal_setnetgrent)
35163 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35164 * inet/getnetgrent_r.c (__internal_setnetgrent)
35165 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35166 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35167 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35168 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35169 * nss/nsswitch.h (db_lookup_function): Likewise.
35170
1b0bfc69
FW
351712017-08-13 Florian Weimer <fweimer@redhat.com>
35172
35173 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35174 Remove internal_function.
35175 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35176 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35177 message argument on the stack.
35178 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35179 Likeweise.
35180
a6bd8722
MF
351812017-08-12 Mike FABIAN <mfabian@redhat.com>
35182
35183 Adapt test case data to the changes in the thousands
35184 separators.
35185
35186 [BZ #20756]
35187 * localedata/tst-langinfo.sh: Adapt test case data.
35188 * stdlib/tst-strfmon_l.c: Likewise.
35189 * stdlib/tst-strtod4.c: Likewise.
35190 * stdlib/tst-strtod5i.c: Likewise.
35191
8b2c63e4
FW
351922017-08-11 Florian Weimer <fweimer@redhat.com>
35193
35194 [BZ #21242]
35195 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35196 Suppress pedantic warning resulting from statement expression.
35197 (__ASSERT_FUNCTION): Add missing __extension__.
35198
61c98291
SP
351992017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35200
86c6519e
SP
35201 * benchtests/bench-memmove-large.c: Print output in JSON
35202 format.
35203 * benchtests/bench-memmove.c: Likewise.
35204
61c98291
SP
35205 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35206 * benchtests/bench-memchr.c (do_one_test): Likewise.
35207 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35208 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35209 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35210 * benchtests/bench-memmove.c (do_one_test): Likewise.
35211 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35212 * benchtests/bench-memset.c (do_one_test): Likewise.
35213 * benchtests/bench-string.h (test_init): Remove memsets.
35214
925733a9
RJ
352152017-08-10 Rical Jasan <ricaljasan@pacific.net>
35216
35217 * manual/lang.texi
35218 (Computing the Width of an Integer Data Type): Rename section to
35219 "Width of an Integer Type". Remove inaccurate statement regarding
35220 lack of C language facilities for determining width of integer
35221 types, and reorder content to improve flow and context of
35222 discussion.
35223
4fcdfbfc
RJ
352242017-08-10 Rical Jasan <ricaljasan@pacific.net>
35225
35226 * lang.texi (va_copy): Change standard from ISO to C99.
35227 (__va_copy): Add standard and header annotation.
35228 Update description for clarity of origins and current use.
35229
4d98ace9
GG
352302017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35231
35232 [BZ #21941]
35233 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35234 xssqrtqp requires operands to be in Vector Registers
35235 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35236 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35237 (__ieee754_sqrtf128): Likewise.
35238
92236903
WD
352392017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35240
35241 * sysdeps/aarch64/memcmp.S (memcmp):
35242 Rewrite of optimized memcmp.
35243
2449ae7b
FW
352442017-08-10 Florian Weimer <fweimer@redhat.com>
35245
35246 Introduce ld.so exceptions.
35247 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35248 (_dl_exception_create, _dl_exception_create_format)
35249 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35250 (_dl_catch_exception): Declare.
35251 (_dl_catch_error): Update comment.
35252 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35253 errstring, malloced members with exception member.
35254 (_dl_out_of_memory): Remove.
35255 (fatal_error): New function, extracted from _dl_signal_error.
35256 (_dl_signal_exception, _dl_signal_cexception): New functions.
35257 (_dl_signal_error): Call _dl_exception_create to allocate an
35258 exception object.
35259 (_dl_catch_exception): New function, based on _dl_catch_error.
35260 (_dl_catch_error): Implement using _dl_catch_exception.
35261 * elf/dl-exception.c: New file.
35262 * elf/Makefile (dl-routines): Add dl-exception.
35263 (elide-routines.os): Likewise.
35264 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35265 _dl_exception_create_format, _dl_exception_free.
35266 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35267 _dl_signal_exception.
35268 * elf/dl-lookup.c (make_string): Remove.
35269 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35270 _dl_signal_cexception, _dl_exception_free.
35271 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35272 _dl_signal_exception.
35273 * elf/dl-sym.c (do_sym): Likewise.
35274 * elf/dl-version.c (make_string): Remove.
35275 (match_symbol): Use _dl_exception_create_format,
35276 _dl_signal_cexception, _dl_exception_free.
35277 (_dl_check_map_versions): Likewise.
35278 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35279 _dl_catch_exception.
35280 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35281 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35282 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35283 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35284 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35285 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35286 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35287 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35288 Likewise.
35289 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35291 (ld.so): Likewise.
35292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35293 (ld.so): Likewise.
35294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35295 Likewise.
35296 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35297 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35298 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35299 Likewise.
35300 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35301 Likewise.
35302 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35303
f87cc2bf
FW
353042017-08-10 Florian Weimer <fweimer@redhat.com>
35305
35306 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35307 attribute_hidden, internal_function.
35308 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35309 internal_function.
35310
eac43cbb
FW
353112017-08-10 Florian Weimer <fweimer@redhat.com>
35312
35313 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35314 function which calls __builtin_unreachable.
35315
bd80111e
MF
353162017-08-10 Mike FABIAN <mfabian@redhat.com>
35317
35318 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35319 Indian monetary formatting
35320 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35321 test cases.
35322
60e2846e
DL
353232017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35324
68dc02d1
DL
35325 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35326 Fix typo in comment.
35327
60e2846e
DL
35328 [BZ #21928]
35329 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35330 PTRACE_SEIZE_DEVEL): Remove.
35331 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35332 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35335 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35336
3d452dab
JM
353372017-08-09 Joseph Myers <joseph@codesourcery.com>
35338
24d9f53a
JM
35339 * posix/bits/types.h (__qaddr_t): Remove.
35340
3d452dab
JM
35341 [BZ #21457]
35342 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35343 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35344 __glibc_reserved1.
35345 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35346 (ucontext_t): Use __ctx with uc_flags.
35347 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35348 (__ctxt): Likewise.
35349 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35350 __glibc_reserved1.
35351 * sysdeps/m68k/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/mips/sys/ucontext.h (__ctx): Move undefine further down.
35355 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35356 __glibc_reserved1.
35357 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35358 macro.
35359 (ucontext_t): Use __ctx with uc_flags.
35360 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35361 (ucontext_t): Use __ctx with uc_flags.
35362 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35363 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35364 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35365 (ucontext_t): Use __ctx with uc_flags.
35366 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35367 undefine further down.
35368 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35369 __glibc_reserved1.
35370 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35371 undefine further down.
35372 (ucontext_t): Use __ctx with uc_flags.
35373 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35374 undefine further down.
35375 (ucontext_t): Use __ctx with uc_flags.
35376 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35377 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35378 Rename uc_pad to __glibc_reserved1.
35379 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35380 undefine further down.
35381 (ucontext_t): Use __ctx with uc_flags.
35382 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35383 further down.
35384 (ucontext_t): Use __ctx with uc_flags.
35385 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35386 __ctx with uc_flags.
35387 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35388 (ucontext_t): Use __ctx with uc_flags.
35389 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35390 __ctx with uc_flags.
35391
30161498
FW
353922017-08-09 Florian Weimer <fweimer@redhat.com>
35393
35394 [BZ #21932]
35395 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35396 before early return.
35397
5797b410
AS
353982017-08-09 Andreas Schwab <schwab@suse.de>
35399
139237a4 35400 [BZ #21041]
5797b410
AS
35401 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35402 renamed alias.
35403
139237a4 35404 [BZ #21041]
40c06a3d
AS
35405 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35406 tst-compat-forwarder.
35407 (modules-names): Add tst-compat-forwarder-mod.
35408 ($(objpfx)tst-compat-forwarder): Depend on
35409 $(objpfx)tst-compat-forwarder-mod.so.
35410 * nptl/tst-compat-forwarder.c: New file.
35411 * nptl/tst-compat-forwarder-mod.c: New file.
35412
36ada5f6
SP
354132017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35414
0e02b510
SP
35415 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35416 comments.
35417
36ada5f6
SP
35418 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35419 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35420 memcpy_falkor.
35421 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35422 Bump.
35423 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35424 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35425 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35426 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35427 Add falkor.
35428 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35429 New macro.
35430
9995c839
AZ
354312017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35432
35433 [BZ #759]
35434 * manual/setjmp.texi (getcontex): Document uc_stack value
35435 compatibility differences.
35436
f17a4233
JM
354372017-08-08 Joseph Myers <joseph@codesourcery.com>
35438
35439 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35440 (old_malloc_hook): Likewise.
35441 (old_memalign_hook): Likewise.
35442 (old_realloc_hook): Likewise.
35443 (struct hdr): Likewise.
35444 (flood): Likewise.
35445 (freehook): Likewise.
35446 (mallochook): Likewise.
35447 (memalignhook): Likewise.
35448 (reallochook): Likewise.
35449 (mprobe): Likewise.
35450 * malloc/mtrace.c (mallwatch): Likewise.
35451 (tr_old_free_hook): Likewise.
35452 (tr_old_malloc_hook): Likewise.
35453 (tr_old_realloc_hook): Likewise.
35454 (tr_old_memalign_hook): Likewise.
35455 (tr_where): Likewise.
35456 (lock_and_info): Likewise.
35457 (tr_freehook): Likewise.
35458 (tr_mallochook): Likewise.
35459 (tr_reallochook): Likewise.
35460 (tr_memalignhook): Likewise.
35461 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35462 * misc/mmap.c (__mmap): Likewise.
35463 * misc/mmap64.c (__mmap64): Likewise.
35464 * misc/mprotect.c (__mprotect): Likewise.
35465 * misc/msync.c (msync): Likewise.
35466 * misc/munmap.c (__munmap): Likewise.
35467 * posix/posix_madvise.c (posix_madvise): Likewise.
35468 * socket/send.c (__send): Likewise.
35469 * socket/sendto.c (__sendto): Likewise.
35470 * socket/setsockopt.c (__setsockopt): Likewise.
35471 * string/memcmp.c (__ptr_t): Remove macro.
35472 (MEMCMP): Use void * instead of ptr_t.
35473 * string/memrchr.c (__ptr_t): Remove macro.
35474 (__memrchr): Use void * instead of ptr_t.
35475 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35476 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35477 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35478 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35479 * sysdeps/mach/msync.c (msync): Likewise.
35480 * sysdeps/mach/munmap.c (__munmap): Likewise.
35481 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35482 Likewise.
35483 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35484 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35485 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35486 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35487 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35488 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35489 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35491 Likewise.
35492 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35493 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35494 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35495 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35496 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35497 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35498 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35499 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35500 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35501 Likewise.
35502 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35503 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35504 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35505 (MEMCMP): Use void * instead of ptr_t.
35506 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35507 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35508
0df595b2
FW
355092017-08-08 Florian Weimer <fweimer@redhat.com>
35510
35511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35512 return statement.
35513
086df229
L
355142017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35515
35516 [BZ #21913]
35517 * csu/libc-tls.c: Include <startup.h> first.
35518 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35519 * elf/dl-tunables.c: Include <startup.h> first.
35520 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35521 * sysdeps/generic/startup.h: New file.
35522 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35523 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35524 (I386_USE_SYSENTER): New. Defined to 0.
35525
fc5ad702
AS
355262017-08-08 Andreas Schwab <schwab@suse.de>
35527
35528 [BZ #21041]
35529 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35530 * nptl/pt-system.c (system): Likewise.
35531
852d6312
AZ
355322017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35533
35534 [BZ #21780]
35535 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35536 EOPNOTSUPP.
35537 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35538 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35539 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35540 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35541 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35542 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35543 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35544
8b164787
JM
355452017-08-07 Joseph Myers <joseph@codesourcery.com>
35546
cd65836b
JM
35547 [BZ #21899]
35548 * bits/sigaction.h (struct sigaction): Define sa_handler and
35549 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35550 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35551 [__USE_XOPEN_EXTENDED].
35552 (SA_RESTART): Likewise.
35553 (SA_NODEFER): Likewise.
35554 (SA_RESETHAND): Likewise.
35555 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35556 (struct sigaction): Define sa_handler and sa_sigaction using union
35557 also for [__USE_XOPEN_EXTENDED].
35558 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35559 [__USE_XOPEN_EXTENDED].
35560 (SA_RESTART): Likewise.
35561 (SA_NODEFER): Likewise.
35562 (SA_RESETHAND): Likewise.
35563 * sysdeps/unix/sysv/linux/bits/sigaction.h
35564 (struct sigaction): Define sa_handler and sa_sigaction using union
35565 also for [__USE_XOPEN_EXTENDED].
35566 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35567 [__USE_XOPEN_EXTENDED].
35568 (SA_RESTART): Likewise.
35569 (SA_NODEFER): Likewise.
35570 (SA_RESETHAND): Likewise.
35571 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35572 (struct sigaction): Define sa_handler and sa_sigaction using union
35573 also for [__USE_XOPEN_EXTENDED].
35574 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35575 [__USE_XOPEN_EXTENDED].
35576 (SA_RESTART): Likewise.
35577 (SA_NODEFER): Likewise.
35578 (SA_RESETHAND): Likewise.
35579 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35580 (struct sigaction): Define sa_handler and sa_sigaction using union
35581 also for [__USE_XOPEN_EXTENDED].
35582 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35583 [__USE_XOPEN_EXTENDED].
35584 (SA_RESTART): Likewise.
35585 (SA_NODEFER): Likewise.
35586 (SA_RESETHAND): Likewise.
35587 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35588 (struct sigaction): Define sa_handler and sa_sigaction using union
35589 also for [__USE_XOPEN_EXTENDED].
35590 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35591 [__USE_XOPEN_EXTENDED].
35592 (SA_RESTART): Likewise.
35593 (SA_NODEFER): Likewise.
35594 (SA_RESETHAND): Likewise.
35595 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35596 (struct sigaction): Define sa_handler and sa_sigaction using union
35597 also for [__USE_XOPEN_EXTENDED].
35598 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35599 [__USE_XOPEN_EXTENDED].
35600 (SA_RESTART): Likewise.
35601 (SA_NODEFER): Likewise.
35602 (SA_RESETHAND): Likewise.
35603 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35604 (struct sigaction): Define sa_handler and sa_sigaction using union
35605 also for [__USE_XOPEN_EXTENDED].
35606 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35607 [__USE_XOPEN_EXTENDED].
35608 (SA_RESTART): Likewise.
35609 (SA_NODEFER): Likewise. Define directly rather than as alias.
35610 (SA_RESETHAND): Likewise.
35611 (SA_INTERRUPT): Define only for [__USE_MISC].
35612 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35613 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35614 [__USE_MISC].
35615 (SA_STACK): Define only for [__USE_MISC].
35616 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35617 (struct sigaction): Define sa_handler and sa_sigaction using union
35618 also for [__USE_XOPEN_EXTENDED].
35619 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35620 [__USE_XOPEN_EXTENDED].
35621 (SA_RESTART): Likewise.
35622 (SA_NODEFER): Likewise.
35623 (SA_RESETHAND): Likewise.
35624 (SA_NOPTRACE): Define only for [__USE_MISC].
35625
d9fee042
JM
35626 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35627 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35628 (struct catalog_info): Likewise.
35629 * inet/htontest.c (lo): Likewise.
35630 (foo): Likewise.
35631 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35632 * inet/inet_net.c (inet_network): Likewise.
35633 * inet/inet_netof.c (inet_netof): Likewise.
35634 * inet/rcmd.c (__ivaliduser): Likewise.
35635 (iruserok): Likewise.
35636 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35637 * locale/programs/locale-spec.c (locale_special): Likewise.
35638 * nis/nis_findserv.c (struct findserv_req): Likewise.
35639 (__nis_findfastest_with_timeout): Likewise.
35640 * nss/test-netdb.c (test_network): Likewise.
35641 * resolv/inet_neta.c (inet_neta): Likewise.
35642 * resolv/ns_date.c (ns_datetosecs): Likewise.
35643 (SECS_PER_DAY): Likewise.
35644 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35645 Likewise.
35646 * resolv/res_comp.c (__putlong): Likewise.
35647 (__putshort): Likewise.
35648 (_getlong): Likewise.
35649 (_getshort): Likewise.
35650 * resolv/res_debug.c (p_time): Likewise.
35651 (precsize_ntoa): Likewise.
35652 (precsize_aton): Likewise.
35653 (latlon2ul): Likewise.
35654 (loc_aton): Likewise.
35655 (loc_ntoa): Likewise.
35656 * resolv/res_hconf.c (struct netaddr): Likewise.
35657 (_res_hconf_reorder_addrs): Likewise.
35658 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35659 (clnttcp_control): Likewise.
35660 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35661 (clntudp_control): Likewise.
35662 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35663 (clntunix_control): Likewise.
35664 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35665 * sunrpc/rpc/auth.h (union des_block): Likewise.
35666 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35667 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35668 (xdrrec_create): Likewise.
35669 (xdrrec_endofrecord): Likewise.
35670 (flush_out): Likewise.
35671 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35672 (xdrstdio_putlong): Likewise.
35673 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35674 Likewise.
35675
8b164787
JM
35676 * misc/sys/cdefs.h (__long_double_t): Remove.
35677 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35678 instead of __long_double_t,
35679 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35680
7ee38e60
SP
356812017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35682
dd3e86ad
SP
35683 * benchtests/scripts/compare_strings.py: Avoid display error when
35684 running on a text terminal.
35685
b115e819
SP
35686 * benchtests/scripts/compare_strings.py (main): Add an
35687 optional -base option.
35688 (process_results): New argument base_func.
35689
7ee38e60
SP
35690 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35691 hardcoding memcpy.
35692 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35693 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35694
d5afb385
AS
356952017-08-07 Andreas Schwab <schwab@suse.de>
35696
35697 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35698 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35699 * intl/Makefile ($(objpfx)tst-gettext.out)
35700 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35701 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35702 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35703 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35704 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35705 * posix/Makefile ($(objpfx)globtest.out)
35706 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35707 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35708 ($(objpfx)tst-printf.out): Likewise.
35709 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35710 ($(objpfx)tst-setcontext3.out): Likewise.
35711
57a72fa3
L
357122017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35713
35714 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35715 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35716 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35717 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35718 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35719 and mptan-fma.
35720 (CFLAGS-doasin-fma.c): New.
35721 (CFLAGS-dosincos-fma.c): Likewise.
35722 (CFLAGS-e_asin-fma.c): Likewise.
35723 (CFLAGS-e_atan2-fma.c): Likewise.
35724 (CFLAGS-e_exp-fma.c): Likewise.
35725 (CFLAGS-e_log-fma.c): Likewise.
35726 (CFLAGS-e_pow-fma.c): Likewise.
35727 (CFLAGS-halfulp-fma.c): Likewise.
35728 (CFLAGS-mpa-fma.c): Likewise.
35729 (CFLAGS-mpatan-fma.c): Likewise.
35730 (CFLAGS-mpatan2-fma.c): Likewise.
35731 (CFLAGS-mpexp-fma.c): Likewise.
35732 (CFLAGS-mplog-fma.c): Likewise.
35733 (CFLAGS-mpsqrt-fma.c): Likewise.
35734 (CFLAGS-mptan-fma.c): Likewise.
35735 (CFLAGS-s_atan-fma.c): Likewise.
35736 (CFLAGS-sincos32-fma.c): Likewise.
35737 (CFLAGS-slowexp-fma.c): Likewise.
35738 (CFLAGS-slowpow-fma.c): Likewise.
35739 (CFLAGS-s_sin-fma.c): Likewise.
35740 (CFLAGS-s_tan-fma.c): Likewise.
35741 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35744 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35745 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35746 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35747 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35748 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35749 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35750 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35751 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35752 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35753 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35754 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35755 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35756 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35757 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35758 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35759 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35761 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35762 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35763 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35764 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35765 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35768 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35772
219dd320
JM
357732017-08-04 Joseph Myers <joseph@codesourcery.com>
35774
35775 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35776 (min_of_type_f): New macro.
35777 (min_of_type_): Likewise.
35778 (min_of_type_l): Likewise.
35779 (min_of_type_f128): Likewise.
35780 (min_of_type): Define using __MATH_TG and taking an expression
35781 argument.
35782 (math_check_force_underflow): Pass expression instead of type to
35783 min_of_type.
35784 (math_check_force_underflow_nonneg): Likewise.
35785
64d4dea6
L
357862017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35787
35788 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35789 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35790 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35791
973da22a
L
357922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35793
35794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35795 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35796 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35797 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35798 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35799 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35800 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35801 memmove_chk-nonshared and memset_chk-nonshared
35802 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35803 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35804 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35805 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35806 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35807 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35808 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35809 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35810 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35811 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35812 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35813 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35814 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35815 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35816 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35817 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35818 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35819 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35820 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35821 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35822 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35823 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35824 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35825 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35826 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35827 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35828 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35829 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35830 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35832 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35834 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35835 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35836 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35838 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35840 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35841 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35842 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35844 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35846 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35847 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35848 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35849 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35850 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35851 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35852 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35853 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35854 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35855 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35856 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35857 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35858 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35859 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35860 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35861 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35862 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35863 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35864 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35865 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35866 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35867 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35868 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35869 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35870 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35871 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35872 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35873 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35874 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35875 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35876 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35877 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35878 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35879 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35880 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35881 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35882 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35883 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35884 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35885 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35886 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35887 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35889 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35890 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35891 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35892 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35910
8537e0f6
L
359112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35912
35913 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35914 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35915 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35916 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35917 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35918 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35919 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35920 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35921 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35922 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35923 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35924 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35925 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35926 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35927 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35928 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35929 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35930 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35931 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35932 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35933 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35934 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35935 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35936 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35937 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35938 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35939 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35940 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35941 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35942 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35943 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35944 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35945 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35946 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35947 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35948 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35949 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35950 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35951 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35953 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35954 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35955 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35956 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35957 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35958 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35959 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35960 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35961 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35962 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35963 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35964 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35966 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35967 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35968 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35969 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35970 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35971 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35972 ...
35973 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35974 Don't include <sysdep.h> nor <init-arch.h>.
35975 (_ZGVbN2v_cos): Removed.
35976 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35977 ...
35978 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35979 Don't include <sysdep.h> nor <init-arch.h>.
35980 (_ZGVdN4v_cos): Removed.
35981 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35982 ...
35983 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35984 Don't include <sysdep.h> nor <init-arch.h>.
35985 (_ZGVeN8v_cos): Removed.
35986 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35987 ...
35988 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35989 Don't include <sysdep.h> nor <init-arch.h>.
35990 (_ZGVbN2v_exp): Removed.
35991 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35992 ...
35993 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35994 Don't include <sysdep.h> nor <init-arch.h>.
35995 (_ZGVdN4v_exp): Removed.
35996 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35997 ...
35998 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35999 Don't include <sysdep.h> nor <init-arch.h>.
36000 (_ZGVeN8v_exp): Removed.
36001 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36002 ...
36003 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36004 Don't include <sysdep.h> nor <init-arch.h>.
36005 (_ZGVbN2v_log): Removed.
36006 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36007 ...
36008 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36009 Don't include <sysdep.h> nor <init-arch.h>.
36010 (_ZGVdN4v_log): Removed.
36011 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36012 ...
36013 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36014 Don't include <sysdep.h> nor <init-arch.h>.
36015 (_ZGVeN8v_log): Removed.
36016 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36017 ...
36018 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36019 Don't include <sysdep.h> nor <init-arch.h>.
36020 (_ZGVbN2vv_pow): Removed.
36021 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36022 ...
36023 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36024 Don't include <sysdep.h> nor <init-arch.h>.
36025 (_ZGVdN4vv_pow): Removed.
36026 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36027 ...
36028 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36029 Don't include <sysdep.h> nor <init-arch.h>.
36030 (_ZGVeN8vv_pow): Removed.
36031 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36032 ...
36033 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36034 Don't include <sysdep.h> nor <init-arch.h>.
36035 (_ZGVbN2v_sin): Removed.
36036 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36037 ...
36038 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36039 Don't include <sysdep.h> nor <init-arch.h>.
36040 (_ZGVbN4v_sin): Removed.
36041 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36042 ...
36043 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36044 Don't include <sysdep.h> nor <init-arch.h>.
36045 (_ZGVbN8v_sin): Removed.
36046 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36047 ...
36048 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36049 Don't include <sysdep.h> nor <init-arch.h>.
36050 (_ZGVbN2vvv_sincos): Removed.
36051 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36052 ...
36053 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36054 Don't include <sysdep.h> nor <init-arch.h>.
36055 (_ZGVdN4vvv_sincos): Removed.
36056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36057 ...
36058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36059 Don't include <sysdep.h> nor <init-arch.h>.
36060 (_ZGVeN8vvv_sincos): Removed.
36061 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36062 ...
36063 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36064 Don't include <sysdep.h> nor <init-arch.h>.
36065 (_ZGVeN16v_cosf): Removed.
36066 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36067 ...
36068 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36069 Don't include <sysdep.h> nor <init-arch.h>.
36070 (_ZGVbN4v_cosf): Removed.
36071 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36072 ...
36073 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36074 Don't include <sysdep.h> nor <init-arch.h>.
36075 (_ZGVdN8v_cosf): Removed.
36076 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36077 ...
36078 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36079 Don't include <sysdep.h> nor <init-arch.h>.
36080 (_ZGVeN16v_expf): Removed.
36081 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36082 ...
36083 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36084 Don't include <sysdep.h> nor <init-arch.h>.
36085 (_ZGVbN4v_expf): Removed.
36086 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36087 ...
36088 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36089 Don't include <sysdep.h> nor <init-arch.h>.
36090 (_ZGVdN8v_expf): Removed.
36091 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36092 ...
36093 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36094 Don't include <sysdep.h> nor <init-arch.h>.
36095 (_ZGVeN16v_logf): Removed.
36096 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36097 ...
36098 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36099 Don't include <sysdep.h> nor <init-arch.h>.
36100 (_ZGVbN4v_logf): Removed.
36101 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36102 ...
36103 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36104 Don't include <sysdep.h> nor <init-arch.h>.
36105 (_ZGVdN8v_logf): Removed.
36106 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36107 ...
36108 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36109 Don't include <sysdep.h> nor <init-arch.h>.
36110 (_ZGVeN16vv_powf): Removed.
36111 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36112 ...
36113 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36114 Don't include <sysdep.h> nor <init-arch.h>.
36115 (_ZGVbN4vv_powf): Removed.
36116 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36117 ...
36118 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36119 Don't include <sysdep.h> nor <init-arch.h>.
36120 (_ZGVdN8vv_powf): Removed.
36121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36122 ...
36123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36124 Don't include <sysdep.h> nor <init-arch.h>.
36125 (_ZGVeN16vvv_sincosf): Removed.
36126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36127 ...
36128 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36129 Don't include <sysdep.h> nor <init-arch.h>.
36130 (_ZGVbN4vvv_sincosf): Removed.
36131 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36132 ...
36133 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36134 Don't include <sysdep.h> nor <init-arch.h>.
36135 (_ZGVdN8vvv_sincosf): Removed.
36136 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36137 ...
36138 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36139 Don't include <sysdep.h> nor <init-arch.h>.
36140 (_ZGVeN16v_sinf): Removed.
36141 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36142 ...
36143 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36144 Don't include <sysdep.h> nor <init-arch.h>.
36145 (_ZGVbN4v_sinf): Removed.
36146 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36147 ...
36148 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36149 Don't include <sysdep.h> nor <init-arch.h>.
36150 (_ZGVdN8v_sinf): Removed.
36151
10a87ca4
L
361522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36153
36154 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36155 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36156 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36157 s_rint-sse4_1 and s_rintf-sse4_1.
36158 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36159 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36160 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36161 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36162 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36164 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36165 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36166 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36167 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36168 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36169 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36170 (__ceil): Removed.
36171 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36172 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36173 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36174 (__ceilf): Removed.
36175 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36176 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36177 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36178 (__floor): Removed.
36179 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36180 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36181 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36182 (__floorf): Removed.
36183 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36184 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36185 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36186 (__nearbyint): Removed.
36187 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36188 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36189 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36190 (__nearbyintf): Removed.
36191 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36192 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36193 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36194 (__rint): Removed.
36195 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36196 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36197 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36198 (__rintf): Removed.
36199
1e8e527d
L
362002017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36201
36202 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36203 SHARED. Avoid dynamic relocation against main in static PIE.
36204
e13daad7
L
362052017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36206
36207 [BZ #21815]
36208 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36209 (LDFLAGS-tst-prelink): Likewise.
36210
627c69c8
L
362112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36212
36213 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36214 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36215 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36216 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36217 (INTERNAL_SYSCALL_NCS): Likewise.
36218 (LOADARGS_1): Likewise.
36219 (LOADARGS_5): Likewise.
36220 (RESTOREARGS_1): Likewise.
36221 (RESTOREARGS_5): Likewise.
36222
fc11ff8d
L
362232017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36224
36225 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36226 (MEMPCPY_SYMBOL): Likewise.
36227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36228 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36230 in libc.a.
36231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36232 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36233 Likewise.
36234 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36235 (__hidden_ver1): Don't use in libc.a.
36236 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36237 (__mempcpy): Don't create a weak alias in libc.a.
36238 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36239 libc.a.
36240 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36241 (__hidden_ver1): Don't use in libc.a.
36242
19f1a11e
L
362432017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36244
36245 * config.make.in (have-insert): New.
36246 * configure.ac (libc_cv_insert): New. Set to yes if linker
36247 supports INSERT in linker script.
36248 (AC_SUBST(libc_cv_insert): New.
36249 * configure: Regenerated.
36250 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36251 if $(have-insert) == yes.
36252
3093fd5e
L
362532017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36254
36255 * elf/Makefile (tests): Add vismain only if
36256 $(have-protected-data) == yes.
36257 (tests-pie): Likewise.
36258
d2cf37c0
L
362592017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36260
36261 [BZ #21871]
36262 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36263 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36264
c8a0e6ec
L
362652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36266
36267 [BZ #21790]
36268 * sysdeps/i386/i586/memset.S
36269 (__memset_zero_constant_len_parameter): Removed.
36270 * sysdeps/i386/i686/memset.S
36271 (__memset_zero_constant_len_parameter): Likewise.
36272 * sysdeps/i386/i686/multiarch/memset_chk.S
36273 (__memset_zero_constant_len_parameter): Likewise.
36274 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36275 Likewise.
36276
2b34e271
AJ
362772017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36278
36279 * stdlib/getentropy.c (getentropy): Change return type to int.
36280
144bdab0
AJ
362812017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36282
36283 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36284
24ab7723
JM
362852017-08-03 Joseph Myers <joseph@codesourcery.com>
36286
36287 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36288 u_intN_t.
36289 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36290 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36291 Likewise.
36292 (ieee_float_shape_type): Likewise.
36293 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36294 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36295 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36296 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36297 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36298 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36299 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36300 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36301 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36302 Likewise.
36303 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36304 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36305 (__ieee754_yn): Likewise.
36306 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36307 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36308 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36309 Likewise.
36310 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36311 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36312 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36313 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36314 (__erfc): Likewise.
36315 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36316 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36317 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36318 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36319 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36320 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36321 Likewise.
36322 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36323 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36324 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36325 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36326 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36327 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36328 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36329 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36330 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36331 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36332 (__issignaling): Likewise.
36333 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36334 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36335 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36336 Likewise.
36337 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36338 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36339 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36340 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36341 Likewise.
36342 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36343 Likewise.
36344 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36345 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36346 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36347 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36348 (__erfcf): Likewise.
36349 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36350 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36351 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36352 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36353 Likewise.
36354 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36355 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36356 Likewise.
36357 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36358 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36359 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36360 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36361 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36362 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36363 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36364 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36365 Likewise.
36366 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36367 Likewise.
36368 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36369 Likewise.
36370 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36371 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36372 Likewise.
36373 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36374 Likewise.
36375 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36376 (__ieee754_ynl): Likewise.
36377 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36378 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36379 Likewise.
36380 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36381 Likewise.
36382 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36383 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36384 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36385 Likewise.
36386 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36387 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36388 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36389 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36390 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36391 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36392 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36393 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36394 Likewise.
36395 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36396 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36397 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36398 Likewise.
36399 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36400 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36401 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36402 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36403 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36404 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36405 Likewise.
36406 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36407 Likewise.
36408 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36409 Likewise.
36410 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36411 Likewise.
36412 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36413 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36414 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36415 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36416 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36417 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36419 Likewise.
36420 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36421 Likewise.
36422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36423 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36424 Likewise.
36425 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36426 (__ieee754_remainderl): Likewise.
36427 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36428 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36429 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36430 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36431 Likewise.
36432 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36433 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36434 Likewise.
36435 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36436 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36437 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36438 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36439 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36440 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36441 Likewise.
36442 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36443 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36444 (__ieee754_y0l): Likewise.
36445 (pzero): Likewise.
36446 (qzero): Likewise.
36447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36448 (__ieee754_y1l): Likewise.
36449 (pone): Likewise.
36450 (qone): Likewise.
36451 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36452 (__ieee754_ynl): Likewise.
36453 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36454 (__ieee754_lgammal_r): Likewise.
36455 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36456 Likewise.
36457 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36458 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36459 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36460 (__erfcl): Likewise.
36461 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36462 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36463 Likewise.
36464 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36465 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36466 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36467 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36468 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36469 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36470 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36471 Likewise.
36472 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36473 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36474 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36475 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36476 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36477 Likewise.
36478 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36479 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36480 Likewise.
36481 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36482 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36483 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36484 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36485 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36486
964263bb
FW
364872017-08-03 Florian Weimer <fweimer@redhat.com>
36488
36489 [BZ #21885]
36490 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36491 on memory allocation failure.
36492
e98c925f
AM
364932017-08-03 Alan Modra <amodra@gmail.com>
36494
36495 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36496 tst-tlsopt-powerpc.c with function name change and no test harness.
36497 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36498 Call tls_get_addr_opt_test.
36499 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36500 (modules-names): Add mod-tlsopt-powerpc.
36501 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36502 (tst-tlsopt-powerpc): Depend on .so.
36503 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36504 define. Expand use in TLS_GD and TLS_LD.
36505
8ee1abdb
ST
365062017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36507
36508 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36509 function.
3da5756e 36510 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 36511
42df8d59
JM
365122017-08-02 Joseph Myers <joseph@codesourcery.com>
36513
36514 [BZ #21686]
36515 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36516 comparing size with that of double.
36517 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36518 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36519 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36520 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36521 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36522 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36523 unsigned __int128 types.
36524
b7f95f49
SE
365252017-08-02 Steve Ellcey <sellcey@cavium.com>
36526
36527 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36528 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36529 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36530 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36531 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36532
5b736bc9
L
365332017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36534
36535 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36536
dfc93c41
L
365372017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36538
36539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36540 of SHARED.
36541 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36542 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36543 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36544 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36545 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36548
2fee621d
JM
365492017-08-02 Joseph Myers <joseph@codesourcery.com>
36550
36551 [BZ #21685]
36552 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36553 bit-field expressions passed to sizeof or typeof.
36554 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36555 (__TGMATH_F128): Likewise.
36556 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36557 (__TGMATH_CF128): Likewise.
36558 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36559 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36560 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36561 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36562 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36563 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36564 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36565 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36566 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36567 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36568 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36569 (__TGMATH_UNARY_IMAG): Likewise.
36570 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36571 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36572 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36573 type.
36574 (define_vars_for_type): Handle bit_field type specially.
36575 (Tests.__init__): Declare structure with bit-field element.
36576
b358255f
L
365772017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36578
36579 [BZ #21791]
36580 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36581 (MEMCPY_CHK): Define only if SHARED is defined.
36582 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36583 Likewise.
36584 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36585 Likewise.
edf66db1
SP
36586
36587See ChangeLog.18 for earlier changes.